1 2020-10-17 Tom de Vries <tdevries@suse.de>
3 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
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
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
72 * gdb.dwarf2/dw2-ranges-main.c: Remove.
74 2020-10-16 Tom de Vries <tdevries@suse.de>
76 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
78 2020-10-16 Tom de Vries <tdevries@suse.de>
80 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
82 2020-10-14 Tom de Vries <tdevries@suse.de>
85 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
87 * gdb.ada/mi_catch_ex_hand.exp: Same.
89 2020-10-13 Pedro Alves <pedro@palves.net>
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.
95 2020-10-13 Pedro Alves <pedro@palves.net>
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
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".
144 2020-10-13 Pedro Alves <pedro@palves.net>
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,
153 (mi_runto_main): Pass 1 as qualified argument.
155 2020-10-13 Pedro Alves <pedro@palves.net>
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.
170 2020-10-13 Pedro Alves <pedro@palves.net>
172 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
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.
230 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
233 * gdb.base/maint-target-async-off.c: New test.
234 * gdb.base/maint-target-async-off.exp: New test.
236 2020-10-13 Alan Modra <amodra@gmail.com>
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.
252 2020-10-13 Alan Modra <amodra@gmail.com>
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.
261 2020-10-12 Pedro Alves <pedro@palves.net>
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"
275 2020-10-12 Gary Benson <gbenson@redhat.com>
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.
292 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
294 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
297 2020-10-09 Tom Tromey <tromey@adacore.com>
299 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
300 (Rec): Add field. Fix range.
301 * gdb.ada/scalar_storage.exp: Update.
303 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
306 * gdb.base/printcmds.exp: Add tests for void results.
308 2020-10-09 Jan Vrany <jan.vrany@labware.com>
310 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
311 is emmited for both 'set directories' and 'directory' commands.
313 2020-10-08 Tom Tromey <tom@tromey.com>
315 * gdb.base/style.exp: Check that "main"'s name is styled.
317 2020-10-07 Tom Tromey <tromey@adacore.com>
319 * gdb.base/find.exp: Rename some tests.
321 2020-10-06 Gary Benson <gbenson@redhat.com>
323 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
324 * gdb.base/list1.c (unused): Likewise.
326 2020-10-06 Gary Benson <gbenson@redhat.com>
328 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
329 __attribute__ ((used)).
330 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
332 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
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 "..",
338 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
340 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
342 * gdb.base/call-sc.c: Fix return struct on stack test case.
343 * gdb.base/call-sc.exp: Likewise.
345 2020-10-02 Gary Benson <gbenson@redhat.com>
347 * README: Fix "paralell".
349 2020-09-30 Gary Benson <gbenson@redhat.com>
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.
357 2020-09-27 Tom Tromey <tom@tromey.com>
359 * gdb.tui/new-layout.exp: Use with_test_prefix.
361 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
364 * gdb.python/python.exp: add test cases for the from_tty
365 argument to gdb.execute.
367 2020-09-25 Gary Benson <gbenson@redhat.com>
369 * gdb.base/infcall-nested-structs.exp.tcl: Add
370 additional_flags=-Wno-tautological-compare for C++
371 tests when compiling using Clang.
373 2020-09-25 Gary Benson <gbenson@redhat.com>
375 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
378 2020-09-24 Tom Tromey <tromey@adacore.com>
381 * gdb.tui/list.exp: Check output of "focus next".
383 2020-09-23 Tom Tromey <tom@tromey.com>
385 * gdb.dwarf2/intbits.exp: New file.
386 * gdb.dwarf2/intbits.c: New file.
388 2020-09-20 Pedro Alves <pedro@palves.net>
390 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
391 spawn_id before calling remote_close. Close secondary MI channel.
393 2020-09-20 Pedro Alves <pedro@palves.net>
395 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
398 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
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.
406 2020-09-18 Victor Collod <vcollod@nvidia.com>
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.
415 2020-09-18 Pedro Alves <pedro@palves.net>
418 * gdb.multi/multi-target-thread-find.exp: New file.
420 2020-09-18 Pedro Alves <pedro@palves.net>
422 * gdb.multi/multi-target-continue.exp: New file, factored out from
424 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
426 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
428 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
430 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
432 * gdb.multi/multi-target.exp.tcl: New file, factored out from
434 * gdb.multi/multi-target.exp: Delete.
436 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
438 * gdb.fortran/array-slices.exp: Add missing message data.
440 2020-09-17 Pedro Alves <pedro@palves.net>
442 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
444 2020-09-17 Pedro Alves <pedro@palves.net>
446 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
449 2020-09-17 Pedro Alves <pedro@palves.net>
451 * gdb.python/py-as-string.c: Add cast.
453 2020-09-17 Pedro Alves <pedro@palves.net>
455 * gdb.base/sizeof.c (fill): Add cast.
457 2020-09-17 Pedro Alves <pedro@palves.net>
459 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
461 2020-09-17 Pedro Alves <pedro@palves.net>
463 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
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.
470 2020-09-17 Pedro Alves <pedro@palves.net>
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.
479 2020-09-17 Pedro Alves <pedro@palves.net>
481 * gdb.python/py-framefilter-mi.c (funca): Add casts.
482 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
484 2020-09-17 Pedro Alves <pedro@palves.net>
486 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
488 2020-09-17 Pedro Alves <pedro@palves.net>
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.
497 2020-09-17 Pedro Alves <pedro@palves.net>
499 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
501 (utf_32_string): Compile for both C and C++.
502 * gdb.base/charset.exp: Use "print /d".
504 2020-09-17 Pedro Alves <pedro@palves.net>
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.
511 2020-09-17 Pedro Alves <pedro@palves.net>
513 * gdb.base/printcmds.c (three, flag_enum_without_zero)
514 (three_not_flag): Add casts.
516 2020-09-17 Pedro Alves <pedro@palves.net>
518 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
520 (main): Add references to Barrier, TestStrings, TestStringsH and
522 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
523 and expect a full prototype in C++.
525 2020-09-17 Pedro Alves <pedro@palves.net>
527 * gdb.base/nested-addr.c (main): Add cast.
528 * gdb.base/nested-addr.exp: Use "print /d".
530 2020-09-17 Pedro Alves <pedro@palves.net>
532 * gdb.base/break.exp (func): New. Use it throughout when
533 expecting a function name.
535 2020-09-17 Pedro Alves <pedro@palves.net>
537 * gdb.base/display.exp: Issue "set print asm-demangle on".
539 2020-09-17 Pedro Alves <pedro@palves.net>
541 * gdb.base/find.c: Include <string.h>.
542 (init_bufs): Add cast.
543 * gdb.base/find.exp: Issue "set print asm-demangle on".
545 2020-09-16 Tom Tromey <tromey@adacore.com>
548 * gdb.base/skipcxx.exp: New file.
549 * gdb.base/skipcxx.cc: New file.
551 2020-09-16 Tom de Vries <tdevries@suse.de>
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.
562 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
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.
568 2020-09-16 Tom de Vries <tdevries@suse.de>
570 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
571 get the gdb prompt after issuing "monitor exit".
573 2020-09-16 Tom de Vries <tdevries@suse.de>
576 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
578 2020-09-16 Tom de Vries <tdevries@suse.de>
581 * gdb.tui/new-layout.exp: Escape unbalanced braces.
583 2020-09-15 Tom Tromey <tromey@adacore.com>
586 * lib/rust-support.exp (rust_llvm_version): New proc.
587 * gdb.rust/simple.exp: Check rust_llvm_version.
589 2020-09-14 Tom de Vries <tdevries@suse.de>
591 * gdb.rust/traits.exp: Fix PATH warning.
593 2020-09-13 Pedro Alves <pedro@palves.net>
595 * gdb.base/catch-follow-exec.c (main): Add explicit return
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
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.
652 2020-09-13 Pedro Alves <pedro@palves.net>
654 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
657 2020-09-13 Pedro Alves <pedro@palves.net>
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.
664 2020-09-13 Pedro Alves <pedro@palves.net>
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
671 2020-09-13 Pedro Alves <pedro@palves.net>
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
678 (mi_create_breakpoint_1): New, factored out from
679 mi_create_breakpoint.
681 2020-09-13 Pedro Alves <pedro@palves.net>
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.
689 2020-09-13 Pedro Alves <pedro@palves.net>
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
698 * gdb.cp/call-method-register.cc: New file, based on bits removed
701 2020-09-13 Pedro Alves <pedro@palves.net>
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.
711 2020-09-13 Joel Brobecker <brobecker@adacore.com>
713 * gdb.base/default.exp: Change $_gdb_major to 11.
715 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
716 Felix Willgerodt <Felix.Willgerodt@intel.com>
718 * x86-avx512bf16.c: New file.
719 * x86-avx512bf16.exp: Likewise.
720 * lib/gdb.exp (skip_avx512bf16_tests): New function.
722 2020-09-11 Tom de Vries <tdevries@suse.de>
725 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
727 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
729 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
731 2020-09-10 Alan Modra <amodra@gmail.com>
734 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
736 2020-09-08 Tom de Vries <tdevries@suse.de>
738 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
739 after gdb_starti_cmd.
741 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
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.
749 2020-09-03 Tom de Vries <tdevries@suse.de>
752 * gdb.base/label-without-address.exp: Runto main first.
754 2020-09-02 Tom Tromey <tromey@adacore.com>
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.
760 2020-08-31 Kevin Buettner <kevinb@redhat.com>
762 * gdb.base/corefile.exp (warning-free): XFAIL test when running
763 on docker w/ AUFS storage driver.
765 2020-08-31 Kevin Buettner <kevinb@redhat.com>
767 * gdb.base/corefile2.exp (renamed binfile): New tests.
769 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
771 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
773 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
775 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
776 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
778 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
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.
784 2020-08-31 Tom de Vries <tdevries@suse.de>
786 * gdb.base/eh_return.exp: Use nopie.
788 2020-08-28 Pedro Alves <pedro@palves.net>
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.
794 2020-08-28 Tom de Vries <tdevries@suse.de>
796 * gdb.base/label-without-address.c: New test.
797 * gdb.base/label-without-address.exp: New file.
799 2020-08-27 Pedro Alves <pedro@palves.net>
803 * gdb.base/advance-until-multiple-locations.cc: New.
804 * gdb.base/advance-until-multiple-locations.exp: New.
806 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
808 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
810 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
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
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
823 * gdb.arch/i386-word.exp: Likewise.
825 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
827 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
829 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
832 * gdb.threads/stepi-random-signal.exp: Update pattern.
834 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
837 * gdb.base/ui-redirect.exp: Update pattern.
839 2020-08-25 Gary Benson <gbenson@redhat.com>
841 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
842 when compiling with clang.
843 * gdb.dwarf2/dw2-restore.exp: Likewise.
845 2020-08-25 Gary Benson <gbenson@redhat.com>
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.
852 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
855 * gdb.modula2/multidim.c: New file.
856 * gdb.modula2/multidim.exp: New file.
858 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
860 * lib/gdb.exp (runto): Always emit fail on internal error.
862 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
864 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
865 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
867 * gdb.threads/stepi-random-signal.exp: Likewise.
869 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
871 * gdb.base/print-file-var.exp: Fix typo "breapoint".
872 * gdb.trace/strace.exp: Ditto.
874 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
876 * gdb.fortran/vla-type.exp: Skip commands not required for
877 the Flang compiled binaries after prologue fix.
879 2020-08-17 Tom de Vries <tdevries@suse.de>
880 Tom Tromey <tromey@adacore.com>
883 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
885 2020-08-17 Tom Tromey <tromey@adacore.com>
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.
892 2020-08-16 Tom de Vries <tdevries@suse.de>
895 * gdb.base/eh_return.c: New test.
896 * gdb.base/eh_return.exp: New file.
898 2020-08-15 Tom de Vries <tdevries@suse.de>
900 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
901 (mixed_func_1d_): Use fortran_charlen_t in decl.
903 2020-08-15 Tom de Vries <tdevries@suse.de>
906 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
907 Update expected pattern.
909 2020-08-13 Pedro Alves <pedro@palves.net>
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.
929 2020-08-13 Pedro Alves <pedro@palves.net>
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.
1076 2020-08-12 Gary Benson <gbenson@redhat.com>
1078 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1080 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1082 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1083 unset the array variable.
1085 2020-08-03 Tom de Vries <tdevries@suse.de>
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.
1092 2020-07-31 Kevin Buettner <kevinb@redhat.com>
1094 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1096 (inttypes.h): Include.
1098 2020-07-31 Kevin Buettner <kevinb@redhat.com>
1100 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1102 (C5_8k, C5_64k, C5_256k): New macros.
1103 (buf_ro): Allocate 256 KiB of initialized data.
1105 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
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.
1112 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1114 * gdb.base/condbreak-bad.c: New test.
1115 * gdb.base/condbreak-bad.exp: New file.
1117 2020-07-30 Tom de Vries <tdevries@suse.de>
1119 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
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.
1126 2020-07-30 Tom de Vries <tdevries@suse.de>
1128 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1129 "__class_some_module_Number_t" optional.
1131 2020-07-29 Tom de Vries <tdevries@suse.de>
1133 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1136 2020-07-29 Tom de Vries <tdevries@suse.de>
1138 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1139 rather than function name.
1141 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1144 * gdb.cp/disasm-func-name.cc: New file.
1145 * gdb.cp/disasm-func-name.exp: New file.
1147 2020-07-28 Tom Tromey <tromey@adacore.com>
1149 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1152 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1154 * gdb.python/py-unwind.py: Update to make use of a register
1157 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1159 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1161 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
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.
1170 2020-07-25 Tom de Vries <tdevries@suse.de>
1173 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1174 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1176 2020-07-24 Tom de Vries <tdevries@suse.de>
1179 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1181 2020-07-23 Pedro Alves <pedro@palves.net>
1183 * gdb.server/server-kill.exp (prepare): New, factored out from the
1186 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1187 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1189 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1191 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1193 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
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.
1204 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1206 * gdb.base/corefile2.exp: New file.
1207 * gdb.base/coremaker2.exp: New file.
1209 2020-07-22 Kevin Buettner <kevinb@redhat.com>
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
1216 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1218 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1220 * gdb.base/coremaker.c (buf2ro): New global.
1221 (mmapdata): Add a read-only mmap mapping.
1223 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1226 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1228 * gdb.base/coremaker.c (buf3): New global.
1229 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1232 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1234 * gdb.base/coremaker.c (filler_ro): New global constant.
1236 2020-07-22 Tom Tromey <tromey@adacore.com>
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.
1243 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1245 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1248 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1250 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1252 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1254 * gdb.python/py-arch-reg-names.exp: Additional tests.
1256 2020-07-21 Tom de Vries <tdevries@suse.de>
1258 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1259 breakpoint locations".
1260 * gdb.reverse/solib-reverse.exp: Same.
1262 2020-07-21 Tom de Vries <tdevries@suse.de>
1264 * gdb.reverse/step-reverse.c (callee): Merge statements.
1266 2020-07-21 Tom de Vries <tdevries@suse.de>
1268 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1269 line numbers for some variables.
1271 2020-07-21 Tom de Vries <tdevries@suse.de>
1273 * gdb.opt/inline-locals.c (init_array): New func.
1274 (func1): Use init_array.
1275 * gdb.opt/inline-locals.exp: Update pattern.
1277 2020-07-21 Tom de Vries <tdevries@suse.de>
1279 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1280 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1282 2020-07-20 Ludovic Courtès <ludo@gnu.org>
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.
1288 2020-07-20 Ludovic Courtès <ludo@gnu.org>
1290 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1291 error regexp to match on Guile 2.2.
1293 2020-07-20 Gary Benson <gbenson@redhat.com>
1295 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1298 2020-07-20 Tom de Vries <tdevries@suse.de>
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.
1306 2020-07-20 Tom de Vries <tdevries@suse.de>
1308 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1310 2020-07-20 Tom de Vries <tdevries@suse.de>
1312 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1314 2020-07-17 Tom de Vries <tdevries@suse.de>
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.
1320 2020-07-17 Tom de Vries <tdevries@suse.de>
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.
1345 2020-07-17 Tom de Vries <tdevries@suse.de>
1347 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
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.
1365 2020-07-17 Tom de Vries <tdevries@suse.de>
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.
1379 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1381 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1382 Use double quotes instead of single quotes.
1384 2020-07-16 Caroline Tice <cmtice@google.com>
1386 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1387 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1389 2020-07-16 Tom de Vries <tdevries@suse.de>
1391 * lib/dwarf.exp (program): Initialize _line.
1392 (DW_LNE_end_sequence): Reinitialize _line.
1393 (DW_LNS_advance_line): Update _line.
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.
1402 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1404 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1407 2020-07-15 Tom de Vries <tdevries@suse.de>
1409 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1410 is_amd64_regs_target.
1412 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1414 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1415 * gdb.fortran/ptype-on-functions.f90: Likewise.
1417 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1419 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1420 values in documentation for addr_size to 4 and 8.
1422 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
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.
1434 2020-07-14 Tom de Vries <tdevries@suse.de>
1436 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1437 (local_gettid): ... this.
1440 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1442 * gdb.base/info_sources.exp: Skip directory match tests on
1445 2020-07-13 Gary Benson <gbenson@redhat.com>
1447 * gdb.base/savedregs.exp (caller): Use parentheses to
1448 make expected expression evaluation ordering explicit.
1450 2020-07-13 Gary Benson <gbenson@redhat.com>
1452 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1454 2020-07-13 Gary Benson <gbenson@redhat.com>
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.
1463 2020-07-13 Gary Benson <gbenson@redhat.com>
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
1470 * gdb.base/vla-struct-fields.exp: New file.
1472 2020-07-13 Tom de Vries <tdevries@suse.de>
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.
1479 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1482 * gdb.rust/modules.rs: Prevent linker from discarding test
1485 2020-07-10 Pedro Alves <pedro@palves.net>
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.
1493 2020-07-08 Tom Tromey <tromey@adacore.com>
1495 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1496 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1498 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
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.
1507 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1509 * gdb.python/py-arch-reg-groups.exp: New file.
1511 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1513 * gdb.python/py-arch-reg-names.exp: New file.
1515 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1517 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1518 gdb.PendingFrame.architecture method.
1520 2020-07-06 Tom de Vries <tdevries@suse.de>
1522 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1524 2020-07-03 Pedro Alves <palves@redhat.com>
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.
1530 2020-07-03 Pedro Alves <palves@redhat.com>
1532 * gdb.base/charset.c (init_string): Change all char parameters to
1533 unsigned char parameters.
1535 2020-07-03 Pedro Alves <palves@redhat.com>
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
1548 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1550 2020-07-03 Pedro Alves <palves@redhat.com>
1552 * gdb.base/m32rovly.c: Delete.
1553 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1555 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
1568 2020-06-30 Tom de Vries <tdevries@suse.de>
1571 * lib/future.exp (gdb_default_target_compile): Detect and handle
1574 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
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.
1580 2020-06-29 Tom de Vries <tdevries@suse.de>
1582 * lib/gdb.exp (unknown): Make test-case unresolved.
1584 2020-06-29 Tom de Vries <tdevries@suse.de>
1587 * gdb.server/solib-list.exp: Verify that the symbol reload
1588 confirmation question is asked.
1590 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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,
1599 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1601 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
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.
1611 2020-06-26 Gary Benson <gbenson@redhat.com>
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.
1620 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1622 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1624 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1626 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1628 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
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.
1636 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1638 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1640 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
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.
1647 2020-06-24 Pedro Alves <palves@redhat.com>
1649 * gdb.arch/amd64-entry-value-paramref.exp: Use
1650 prepare_for_testing_full and don't pass "c++" for the .S file
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.
1657 2020-06-24 Pedro Alves <palves@redhat.com>
1659 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1660 Clang, add "-Wno-unknown-warning-option" to the options.
1662 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
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.
1670 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1672 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1673 Adjust for omitted commands when TUI is disabled.
1675 2020-06-23 Gary Benson <gbenson@redhat.com>
1676 Pedro Alves <palves@redhat.com>
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.
1687 2020-06-23 Gary Benson <gbenson@redhat.com>
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.
1698 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
1710 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1712 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1713 remote host. Fix search path syntax on Windows host.
1715 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
1724 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1726 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1729 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1731 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1734 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1735 Hafiz Abid Qadeer <abidh@codesourcery.com>
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.
1741 2020-06-19 Tom de Vries <tdevries@suse.de>
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.
1752 2020-06-18 Tom de Vries <tdevries@suse.de>
1754 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1755 (default_gdb_init): ... here.
1757 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1759 Fix TUI support checks in gdb.tui tests.
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.
1776 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1778 Fix TCL error in gdb.python/py-format-string.exp.
1780 * gdb.python/py-format-string.exp: Move test for python support
1781 earlier, out of function body.
1783 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
1785 * gdb.base/index-cache-load-twice.c: New.
1786 * gdb.base/index-cache-load-twice.exp: New.
1788 2020-06-17 Keith Seitz <keiths@redhat.com>
1790 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
1791 when executing "gdb --configuration".
1793 2020-06-17 Tom de Vries <tdevries@suse.de>
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
1801 2020-06-16 Tom Tromey <tom@tromey.com>
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.
1807 2020-06-16 Gary Benson <gbenson@redhat.com>
1809 * gdb.python/py-nested-maps.c (create_map): Add missing return
1811 (create_map_map): Likewise.
1813 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1815 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1817 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1818 and use the already-defined 'options' variable.
1820 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1821 Tom de Vries <tdevries@suse.de>
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.
1833 2020-06-12 Tom de Vries <tdevries@suse.de>
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
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.
1859 2020-06-12 Tom de Vries <tdevries@suse.de>
1862 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1863 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1865 2020-06-11 Tom Tromey <tom@tromey.com>
1868 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1869 floating point tests.
1871 2020-06-11 Keith Seitz <keiths@redhat.com>
1874 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for 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.
1883 2020-06-11 Tom de Vries <tdevries@suse.de>
1885 * lib/gdb.exp (with_override): New proc, factored out of ...
1886 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1888 2020-06-10 Tom de Vries <tdevries@suse.de>
1890 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1892 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1894 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1895 parameter, update callers.
1897 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
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.
1903 2020-06-04 Tom de Vries <tdevries@suse.de>
1905 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1907 2020-06-04 Tom de Vries <tdevries@suse.de>
1909 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1912 2020-06-04 Tom de Vries <tdevries@suse.de>
1914 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1916 2020-06-03 Tom de Vries <tdevries@suse.de>
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.
1924 2020-06-03 Tom de Vries <tdevries@suse.de>
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.
1932 2020-06-02 Tom de Vries <tdevries@suse.de>
1934 * gdb.dwarf2/multidictionary.exp: Don't use
1935 gdb_spawn_with_cmdline_opts.
1937 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1939 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
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.
1948 2020-05-30 Pedro Alves <palves@redhat.com>
1950 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1951 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1953 2020-05-29 Gary Benson <gbenson@redhat.com>
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.
1960 2020-05-29 Gary Benson <gbenson@redhat.com>
1962 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1963 building with clang.
1964 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1966 2020-05-29 Gary Benson <gbenson@redhat.com>
1968 * gdb.cp/koenig.exp (prepare_for_testing): Add
1969 additional_flags=-Wno-unused-comparison.
1970 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1972 2020-05-28 Gary Benson <gbenson@redhat.com>
1974 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1977 2020-05-28 Gary Benson <gbenson@redhat.com>
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.
1984 2020-05-28 Gary Benson <gbenson@redhat.com>
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.
1990 2020-05-27 Pedro Alves <palves@redhat.com>
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.
1998 2020-05-27 Luis Machado <luis.machado@linaro.org>
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.
2023 2020-05-26 Tom Tromey <tromey@adacore.com>
2025 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2027 2020-05-26 Tom Tromey <tromey@adacore.com>
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
2032 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2035 2020-05-26 Christian Biesinger <cbiesinger@google.com>
2037 * Makefile.in: Use = instead of == for the test command
2040 2020-05-26 Tom de Vries <tdevries@suse.de>
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.
2047 2020-05-25 Tom de Vries <tdevries@suse.de>
2049 * boards/gold-gdb-index.exp: New file.
2051 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
2053 * boards/simavr.exp: New file.
2055 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
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.
2061 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
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
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.
2077 2020-05-25 Tom de Vries <tdevries@suse.de>
2079 * lib/gdb.exp (exec_is_pie): Add comment.
2081 2020-05-25 Tom de Vries <tdevries@suse.de>
2083 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2084 instead of $binfile in the untested message.
2086 2020-05-25 Tom de Vries <tdevries@suse.de>
2089 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2091 2020-05-25 Tom de Vries <tdevries@suse.de>
2093 * boards/gold.exp: New file.
2095 2020-05-23 Tom Tromey <tom@tromey.com>
2097 * gdb.base/style.exp: Remove completion styling test.
2098 * lib/gdb-utils.exp (style): Remove completion styles.
2100 2020-05-23 Tom Tromey <tom@tromey.com>
2102 * gdb.base/style.exp: Add completion styling test.
2103 * lib/gdb-utils.exp (style): Add completion styles.
2105 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2107 * gdb.base/annota1.exp: Update expected results.
2108 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2110 * gdb.cp/annota3.exp: Update expected results.
2112 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
2115 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
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.
2122 2020-05-20 Tom Tromey <tromey@adacore.com>
2124 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2126 2020-05-20 Tom de Vries <tdevries@suse.de>
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.
2133 2020-05-19 Tom Tromey <tromey@adacore.com>
2135 * gdb.rust/simple.exp: Restore missing test result.
2137 2020-05-19 Tom de Vries <tdevries@suse.de>
2139 * gdb.base/gdb-caching-proc.exp: Fix typo.
2141 2020-05-19 Tom Tromey <tromey@adacore.com>
2143 * gdb.rust/simple.exp: Add some test descriptions.
2144 (test_one_slice): Use with_test_prefix.
2146 2020-05-18 Tom de Vries <tdevries@suse.de>
2148 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2150 2020-05-17 Pedro Alves <palves@redhat.com>
2153 * gdb.base/hw-sw-break-same-address.exp: New file.
2155 2020-05-16 Pedro Alves <palves@redhat.com>
2157 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2158 LAST_LOADED_FILE accordingly.
2160 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2162 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2164 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
2170 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2172 * gdb.base/alias.exp: Update help output check.
2174 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2176 * gdb.base/default.exp: Update output following fixes.
2178 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2180 * gdb.base/alias.exp: Test aliases starting with a prefix of
2183 2020-05-15 Gary Benson <gbenson@redhat.com>
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):
2198 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2199 * gdb.threads/interrupt-while-step-over.c (child_function):
2201 * gdb.trace/actions-changed.c (end): Likewise.
2203 2020-05-15 Gary Benson <gbenson@redhat.com>
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.
2211 2020-05-15 Tom de Vries <tdevries@suse.de>
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.
2254 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2256 * lib/check-test-names.exp: Remove code that prevents this file
2257 loading when tests are run in parallel.
2259 2020-05-15 Pedro Alves <palves@redhat.com>
2261 * gdb.multi/multi-kill.exp (start_inferior): Remove
2262 'testpid' parameter. Refer to namespace variable directly.
2263 (testpid): Declare as namespace variable.
2265 2020-05-15 Pedro Alves <palves@redhat.com>
2267 * gdb.multi/multi-kill.exp: Wrap in namespace.
2268 (start_inferior): Add TESTPID parameter. Use it instead of the
2270 (top level): Define empty TESTPID array, and pass it down to
2273 2020-05-14 Tom de Vries <tdevries@suse.de>
2275 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2278 2020-05-14 Tom de Vries <tdevries@suse.de>
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.
2303 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2304 Pedro Alves <palves@redhat.com>
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.
2311 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2313 * gdb.base/annota1.exp: Update the expected output.
2314 * gdb.cp/annota2.exp: Ditto.
2316 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2318 * lib/check-test-names.exp: Disable when testing is being run in
2321 2020-05-12 Tom de Vries <tdevries@suse.de>
2323 * gdb.base/jit-elf.exp: Fix string concat.
2325 2020-05-12 Tom de Vries <tdevries@suse.de>
2327 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2330 2020-05-12 Tom de Vries <tdevries@suse.de>
2332 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2334 2020-05-12 Tom de Vries <tdevries@suse.de>
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.
2340 2020-05-12 Tom de Vries <tdevries@suse.de>
2342 * gdb.fortran/complex.exp: Use with_test_prefix.
2344 2020-05-12 Tom de Vries <tdevries@suse.de>
2346 * gdb.trace/passcount.exp: Fix test-names.
2348 2020-05-12 Tom de Vries <tdevries@suse.de>
2350 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2352 2020-05-12 Tom de Vries <tdevries@suse.de>
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.
2358 2020-05-12 Tom de Vries <tdevries@suse.de>
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.
2366 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2368 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2370 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
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.
2380 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2382 * lib/gdb.exp: Include check-test-names.exp library.
2383 * lib/check-test-names.exp: New file.
2385 2020-05-11 Tom de Vries <tdevries@suse.de>
2387 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2389 2020-05-11 Keith Seitz <keiths@redhat.com>
2391 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2393 2020-05-11 Tom de Vries <tdevries@suse.de>
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
2400 2020-05-11 Keith Seitz <keiths@redhat.com>
2402 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
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.
2419 2020-05-11 Tom de Vries <tdevries@suse.de>
2422 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
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.
2430 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
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.
2473 2020-05-09 Tom de Vries <tdevries@suse.de>
2475 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2477 2020-05-08 Tom de Vries <tdevries@suse.de>
2479 * gdb.dwarf2/clang-debug-names.c: New test.
2480 * gdb.dwarf2/clang-debug-names.exp: New file.
2482 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
2484 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2485 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2487 2020-05-06 Tom de Vries <tdevries@suse.de>
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.
2493 2020-05-06 Tom de Vries <tdevries@suse.de>
2495 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2498 2020-05-06 Tom de Vries <tdevries@suse.de>
2500 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2502 2020-05-06 Tom de Vries <tdevries@suse.de>
2504 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2507 2020-05-06 Tom de Vries <tdevries@suse.de>
2509 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2512 2020-05-06 Tom de Vries <tdevries@suse.de>
2514 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2517 2020-05-06 Tom de Vries <tdevries@suse.de>
2519 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2521 * gdb.base/async.exp: ... here.
2522 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2523 "recommended breakpoint location".
2525 2020-05-06 Tom de Vries <tdevries@suse.de>
2527 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2529 2020-05-04 Tom de Vries <tdevries@suse.de>
2531 * gdb.base/async.exp: Check whether instruction addresses are a
2532 "recommended breakpoint location".
2534 2020-05-03 Tom Tromey <tom@tromey.com>
2536 * gdb.base/sepdebug.exp: Remove "catch" test.
2537 * gdb.base/break.exp: Remove "catch" test.
2538 * gdb.base/default.exp: Update expected output.
2540 2020-05-02 Tom de Vries <tdevries@suse.de>
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.
2549 2020-05-02 Tom de Vries <tdevries@suse.de>
2551 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2553 2020-05-01 Tom de Vries <tdevries@suse.de>
2555 * gdb.ada/operator_bp.exp: Allow more than required amount of
2558 2020-05-01 Tom de Vries <tdevries@suse.de>
2560 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2562 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
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.
2570 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
2572 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2573 output to the new format.
2575 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
2577 * gdb.base/break.exp: Use with_test_prefix.
2579 2020-04-29 Tom de Vries <tdevries@suse.de>
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.
2585 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
2588 * gdb.base/pretty-array.c: New test.
2589 * gdb.base/pretty-array.exp: New file.
2591 2020-04-29 Tom de Vries <tdevries@suse.de>
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.
2598 2020-04-28 Mark Williams <mark@myosotissp.com>
2601 * dw4-toplevel-types.exp: Test for top level types.
2602 * dw4-toplevel-types.cc: Test for top level types.
2604 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2606 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2607 (theads -> threads).
2609 2020-04-28 Tom de Vries <tdevries@suse.de>
2611 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2613 2020-04-28 Tom de Vries <tdevries@suse.de>
2615 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2617 2020-04-28 Tom de Vries <tdevries@suse.de>
2619 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2621 2020-04-28 Tom de Vries <tdevries@suse.de>
2623 * gdb.dwarf2/main-foo.c: New test.
2624 * gdb.dwarf2/struct-with-sig.exp: New file.
2626 2020-04-25 Tom de Vries <tdevries@suse.de>
2628 * boards/debug-types.exp: New file.
2630 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2632 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2634 2020-04-24 Tom Tromey <tom@tromey.com>
2637 * gdb.python/py-symbol.exp: Update expected results for
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
2644 2020-04-24 Tom Tromey <tom@tromey.com>
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
2651 2020-04-24 Tom de Vries <tdevries@suse.de>
2653 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2656 2020-04-24 Tom Tromey <tromey@adacore.com>
2658 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
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.
2666 2020-04-24 Tom Tromey <tromey@adacore.com>
2669 * gdb.ada/variant.exp: Add Python checks.
2670 * gdb.rust/simple.exp: Add dynamic type checks.
2672 2020-04-24 Tom Tromey <tromey@adacore.com>
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.
2683 2020-04-24 Tom Tromey <tromey@adacore.com>
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.
2689 2020-04-24 Tom Tromey <tromey@adacore.com>
2691 * gdb.ada/variant.exp: New file
2692 * gdb.ada/variant/pkg.adb: New file
2693 * gdb.ada/variant/pck.adb: New file
2695 2020-04-24 Tom de Vries <tdevries@suse.de>
2697 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2699 2020-04-24 Tom de Vries <tdevries@suse.de>
2701 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2704 2020-04-24 Tom de Vries <tdevries@suse.de>
2706 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2708 2020-04-24 Tom de Vries <tdevries@suse.de>
2710 * lib/gdb.exp (default_gdb_start): Handle eof.
2711 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2713 * gdb.base/readnever.exp: Handle clean_restart failure.
2715 2020-04-23 Tom de Vries <tdevries@suse.de>
2717 * gdb.base/decl-before-def.exp: Run to main and print a again.
2719 2020-04-23 Tom de Vries <tdevries@suse.de>
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.
2725 2020-04-23 Tom de Vries <tdevries@suse.de>
2727 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2729 2020-04-22 Tom de Vries <tdevries@suse.de>
2731 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2733 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2734 before $objsfile in the line line.
2736 2020-04-22 Tom de Vries <tdevries@suse.de>
2738 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2740 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
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
2749 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2751 * gdb.base: Rename all jit related test and source files.
2753 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2755 * gdb.base/jit-reader.exp: Relax register output check.
2757 2020-04-22 Tom de Vries <tdevries@suse.de>
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.
2765 2020-04-22 Tom de Vries <tdevries@suse.de>
2768 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2769 in "info source" output.
2771 2020-04-22 Tom de Vries <tdevries@suse.de>
2774 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2775 symtab for imported_unit.c.
2777 2020-04-21 Gary Benson <gbenson@redhat.com>
2779 * gdb.base/advance.c (func): New argument, to match call site.
2780 (func2, func3): Add return statements.
2782 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2784 * gdb.multi/run-only-second-inf.c: New file.
2785 * gdb.multi/run-only-second-inf.exp: New file.
2787 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2789 * gdb.btrace/multi-inferior.c: New test.
2790 * gdb.btrace/multi-inferior.exp: New file.
2792 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2794 * gdb.btrace/enable-new-thread.c: New test.
2795 * gdb.btrace/enable-new-thread.exp: New file.
2797 2020-04-21 Tom de Vries <tdevries@suse.de>
2800 * gdb.threads/killed-outside.c: New test.
2801 * gdb.threads/killed-outside.exp: New file.
2803 2020-04-20 Gary Benson <gbenson@redhat.com>
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.
2809 2020-04-20 Gary Benson <gbenson@redhat.com>
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.
2815 2020-04-20 Gary Benson <gbenson@redhat.com>
2817 * gdb.cp/exception.cc: Fix compilation error with clang.
2819 2020-04-20 Gary Benson <gbenson@redhat.com>
2821 * gdb.trace/tspeed.c: Fix compilation error with clang.
2823 2020-04-20 Gary Benson <gbenson@redhat.com>
2825 * gdb.base/jit-main.c: Fix compilation error with clang.
2827 2020-04-17 Kamil Rytarowski <n54@gmx.com>
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'.
2833 2020-04-17 Kamil Rytarowski <n54@gmx.com>
2835 * gdb.base/fork-running-state.c: Include "signal.h".
2837 2020-04-17 Tom Tromey <tromey@adacore.com>
2839 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
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.
2846 2020-04-16 Tom de Vries <tdevries@suse.de>
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.
2854 2020-04-16 Tom de Vries <tdevries@suse.de>
2856 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2859 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2861 * gdb.base/many-completions.exp: New file.
2863 2020-04-14 Tom de Vries <tdevries@suse.de>
2866 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2868 2020-04-14 Tom de Vries <tdevries@suse.de>
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.
2875 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2877 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2878 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
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.
2885 2020-04-13 Tom de Vries <tdevries@suse.de>
2887 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2888 to what find_gnatmake does.
2890 2020-04-10 Tom de Vries <tdevries@suse.de>
2892 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2895 2020-04-10 Tom de Vries <tdevries@suse.de>
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.
2902 2020-04-08 Tom de Vries <tdevries@suse.de>
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.
2908 2020-04-08 Tom de Vries <tdevries@suse.de>
2911 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2913 2020-04-07 Tom de Vries <tdevries@suse.de>
2916 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2918 2020-04-07 Tom de Vries <tdevries@suse.de>
2920 * gdb.base/check-psymtab.c: New test.
2921 * gdb.base/check-psymtab.exp: New file.
2923 2020-04-06 Tom Tromey <tromey@adacore.com>
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.
2930 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
2933 * gdb.cp/typed-enum.cc: New test.
2934 * gdb.cp/typed-enum.exp: New file.
2936 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
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.
2946 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2948 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2951 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2953 * lib/dwarf.exp (function_range): Allow compiler options to be
2956 2020-04-02 Tom de Vries <tdevries@suse.de>
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.
2962 2020-04-02 Tom de Vries <tdevries@suse.de>
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
2969 (cleanup): New proc.
2970 (setup, <toplevel>): Call cleanup.
2972 2020-04-02 Tom de Vries <tdevries@suse.de>
2974 * gdb.base/main-psymtab.exp: New file.
2976 2020-04-02 Tom de Vries <tdevries@suse.de>
2978 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2980 2020-04-01 Tom Tromey <tom@tromey.com>
2982 * gdb.base/complex-parts.exp: Add type tests.
2984 2020-04-01 Tom Tromey <tom@tromey.com>
2986 * gdb.base/complex-parts.exp: Add arithmetic tests.
2988 2020-04-01 Tom Tromey <tom@tromey.com>
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.
3001 2020-04-01 Tom Tromey <tromey@adacore.com>
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.
3007 * gdb.rust/simple.exp: Move union tests to union.exp.
3009 2020-04-01 Tom Tromey <tromey@adacore.com>
3011 * gdb.rust/simple.rs (main): Remove "y0".
3013 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3015 * gdb.multi/stop-all-on-exit.c: New test.
3016 * gdb.multi/stop-all-on-exit.exp: New file.
3018 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
3021 * gdb.cp/misc.cc: Add integer reference variable.
3022 * gdb.cp/misc.exp: Add test.
3024 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3026 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3027 scenario to cover execution until the end and also the case
3029 2020-03-31 Tom de Vries <tdevries@suse.de>
3031 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3032 c. Use "maint info symtabs" to check symtab expansion.
3034 2020-03-30 Tom de Vries <tdevries@suse.de>
3036 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3038 (verify_psymtab_expanded): Move ...
3039 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3041 (readnow): New proc.
3043 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3045 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3048 2020-03-20 Tom Tromey <tromey@adacore.com>
3050 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3052 2020-03-20 Tom Tromey <tromey@adacore.com>
3054 * gdb.ada/sub_variant/subv.adb: New file.
3055 * gdb.ada/sub_variant.exp: New file.
3057 2020-03-20 Tom de Vries <tdevries@suse.de>
3059 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3061 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3063 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3065 * gdb.server/exit-multiple-threads.c: New file.
3066 * gdb.server/exit-multiple-threads.exp: New file.
3068 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
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.
3075 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3077 * gdb.linespec/cp-completion-aliases.cc: New file.
3078 * gdb.linespec/cp-completion-aliases.exp: New file.
3080 2020-03-19 Tom de Vries <tdevries@suse.de>
3082 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3085 2020-03-18 Tom de Vries <tdevries@suse.de>
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.
3091 2020-03-16 Tom de Vries <tdevries@suse.de>
3093 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3094 cache_verify and cache_verify_proc.
3096 2020-03-15 Tom de Vries <tdevries@suse.de>
3098 * gdb.server/solib-list.exp: Handle
3099 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3101 2020-03-15 Tom de Vries <tdevries@suse.de>
3103 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3106 2020-03-14 Tom Tromey <tom@tromey.com>
3108 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3110 2020-03-14 Tom de Vries <tdevries@suse.de>
3112 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3114 2020-03-14 Tom de Vries <tdevries@suse.de>
3116 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3117 result in line-by-line fashion.
3119 2020-03-14 Tom de Vries <tdevries@suse.de>
3121 * lib/gdb.exp (supports_statement_frontiers): New proc.
3122 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3124 2020-03-14 Tom de Vries <tdevries@suse.de>
3126 * gdb.base/printcmds.exp: Add missing quoting for "print
3129 2020-03-13 Tom Tromey <tom@tromey.com>
3131 * gdb.base/printcmds.exp (test_print_strings): Add regression
3133 * gdb.base/printcmds.c (charptr): New typedef.
3134 (teststring2): New global.
3136 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
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
3143 2020-03-13 Tom de Vries <tdevries@suse.de>
3145 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3147 2020-03-13 Tom de Vries <tdevries@suse.de>
3149 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3151 2020-03-13 Tom de Vries <tdevries@suse.de>
3154 * gdb.dwarf2/imported-unit.exp: Add test.
3156 2020-03-13 Tom de Vries <tdevries@suse.de>
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
3163 2020-03-13 Tom de Vries <tdevries@suse.de>
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.
3172 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
3174 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3176 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
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
3183 2020-03-12 Tom de Vries <tdevries@suse.de>
3185 * gdb.base/info-types.exp: Use exp_continue during matching of output
3188 2020-03-12 Tom de Vries <tdevries@suse.de>
3190 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3192 2020-03-12 Tom de Vries <tdevries@suse.de>
3194 * gdb.fortran/module.exp: Use exp_continue during matching of output
3195 of "info variable -n".
3197 2020-03-12 Tom de Vries <tdevries@suse.de>
3199 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3200 gdb.dwarf2/dw2-ranges-base.c.
3202 2020-03-12 Tom de Vries <tdevries@suse.de>
3204 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3205 in presence of GLIBC debuginfo.
3207 2020-03-12 Tom de Vries <tdevries@suse.de>
3209 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3212 2020-03-12 Tom de Vries <tdevries@suse.de>
3214 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3217 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
3219 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3220 from Unix to Windows path.
3222 2020-03-11 Tom de Vries <tdevries@suse.de>
3224 * gdb.ada/minsyms.exp: Set language to ada.
3226 2020-03-11 Tom de Vries <tdevries@suse.de>
3228 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3230 2020-03-11 Tom de Vries <tdevries@suse.de>
3232 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3234 2020-03-11 Tom Tromey <tromey@adacore.com>
3236 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3238 2020-03-11 Tom de Vries <tdevries@suse.de>
3240 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3242 2020-03-11 Tom de Vries <tdevries@suse.de>
3244 * gdb.base/break-interp.exp: Limit verbose scope.
3246 2020-03-11 Tom de Vries <tdevries@suse.de>
3248 * gdb.fortran/logical.f90: Define variable with character type.
3249 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3251 2020-03-11 Tom de Vries <tdevries@suse.de>
3253 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3255 2020-03-11 Tom de Vries <tdevries@suse.de>
3257 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3260 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3261 Bernd Edlinger <bernd.edlinger@hotmail.de>
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.
3272 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3274 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3275 is-stmt flag in the line table.
3277 2020-03-09 Tom de Vries <tdevries@suse.de>
3279 * lib/gdb.exp (cached_file): Create cache dir.
3281 2020-03-07 Tom de Vries <tdevries@suse.de>
3283 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3284 * gdb.cp/rvalue-ref-params.exp: Same.
3286 2020-03-06 Tom de Vries <tdevries@suse.de>
3288 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3289 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3291 2020-03-06 Tom de Vries <tdevries@suse.de>
3293 * README: Fix "the the".
3294 * gdb.base/dprintf.exp: Same.
3296 2020-03-05 Tom de Vries <tdevries@suse.de>
3298 * gdb.base/maint.exp: Update "main print statistics" expected output.
3300 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
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.
3310 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3312 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3315 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3317 * gdb.base/printcmds.exp: Add test to verify printf of a
3318 variable holding an address.
3320 2020-03-03 Tom de Vries <tdevries@suse.de>
3322 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3324 2020-03-03 Tom de Vries <tdevries@suse.de>
3326 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3327 gdb_test_multiple call.
3329 2020-03-03 Tom de Vries <tdevries@suse.de>
3331 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3332 gdb_test_multiple calls.
3334 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
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
3342 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3344 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3347 2020-03-02 Pedro Alves <palves@redhat.com>
3348 Tom de Vries <tdevries@suse.de>
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
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.
3358 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
3360 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3363 2020-02-28 Luis Machado <luis.machado@linaro.org>
3365 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3368 2020-02-28 Luis Machado <luis.machado@linaro.org>
3370 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3371 asm/ptrace.h and error.h.
3373 2020-02-28 Tom de Vries <tdevries@suse.de>
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.
3382 2020-02-28 Luis Machado <luis.machado@linaro.org>
3384 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3386 2020-02-27 Tom de Vries <tdevries@suse.de>
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.
3396 2020-02-27 Tom de Vries <tdevries@suse.de>
3398 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3401 2020-02-26 Aaron Merey <amerey@redhat.com>
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.
3407 2020-02-26 Tom de Vries <tdevries@suse.de>
3410 * gdb.base/persistent-lang.cc: New test.
3411 * gdb.base/persistent-lang.exp: New file.
3413 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3415 * gdb.fortran/derived-type-striding.exp: Add a new test.
3416 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3419 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3421 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3424 2020-02-25 Tom de Vries <tdevries@suse.de>
3427 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3429 2020-02-24 Tom de Vries <tdevries@suse.de>
3432 * gdb.base/info-locals-unused-static-var.c: New test.
3433 * gdb.base/info-locals-unused-static-var.exp: New file.
3435 2020-02-22 Tom Tromey <tom@tromey.com>
3437 * gdb.python/tui-window.exp: New file.
3438 * gdb.python/tui-window.py: New file.
3440 2020-02-22 Tom Tromey <tom@tromey.com>
3443 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3446 2020-02-22 Tom Tromey <tom@tromey.com>
3448 * gdb.tui/new-layout.exp: Add sub-layout tests.
3450 2020-02-22 Tom Tromey <tom@tromey.com>
3452 * gdb.tui/new-layout.exp: New file.
3454 2020-02-22 Tom Tromey <tom@tromey.com>
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.
3463 2020-02-21 Tom de Vries <tdevries@suse.de>
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.
3472 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3474 * gdb.dwarf2/cpp-linkage-name.c: New file.
3475 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3477 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
3479 * lib/gdb.exp (gdb_wrapper_init): Reset
3480 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3483 2020-02-20 Tom de Vries <tdevries@suse.de>
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
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
3494 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3496 2020-02-20 Tom de Vries <tdevries@suse.de>
3498 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3499 (gdb_simple_compile): Handle compile_flags go by using .go extension
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.
3512 2020-02-19 Tom de Vries <tdevries@suse.de>
3514 * gdb.python/lib-types.exp: Make xfail more strict.
3516 2020-02-19 Tom de Vries <tdevries@suse.de>
3518 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3520 2020-02-19 Doug Evans <dje@google.com>
3523 * gdb.rust/simple.exp: Add test.
3524 * gdb.rust/simple.rs: Add test.
3526 2020-02-19 Tom de Vries <tdevries@suse.de>
3528 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3529 output line-by-line.
3531 2020-02-19 Tom de Vries <tdevries@suse.de>
3533 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3535 2020-02-19 Tom de Vries <tdevries@suse.de>
3537 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3540 2020-02-19 Tom de Vries <tdevries@suse.de>
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.
3546 2020-02-19 Tom de Vries <tdevries@suse.de>
3548 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3551 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3553 * gdb.base/printcmds.exp (test_print_enums): Update expected
3556 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3558 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3561 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3563 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3566 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3568 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
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.
3578 2020-02-18 Tom de Vries <tdevries@suse.de>
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.
3585 2020-02-14 Tom Tromey <tom@tromey.com>
3587 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3589 * boards/gdbserver-base.exp: Update path to gdbserver.
3591 2020-02-13 Tom de Vries <tdevries@suse.de>
3593 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3595 2020-02-13 Tom de Vries <tdevries@suse.de>
3597 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3600 2020-02-13 Tom de Vries <tdevries@suse.de>
3602 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3605 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
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.
3612 2020-02-11 Tom de Vries <tdevries@suse.de>
3615 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3617 2020-02-10 Tom de Vries <tdevries@suse.de>
3619 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3621 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
3623 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3624 and $after_addr are both integers before making a comparison.
3626 2020-02-09 Tom de Vries <tdevries@suse.de>
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
3632 2020-02-07 Tom Tromey <tromey@adacore.com>
3634 PR breakpoints/24915:
3635 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3637 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
3639 * gdb.tui/tui-missing-src.exp: Add the "missing source
3640 file" test for the TUI.
3642 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3644 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3645 including a port number in the output.
3647 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
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.
3657 2020-02-04 Tom de Vries <tdevries@suse.de>
3659 * README (Race detection): Add note.
3661 2020-02-04 Tom de Vries <tdevries@suse.de>
3663 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3665 2020-02-04 Tom de Vries <tdevries@suse.de>
3667 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3669 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
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,
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.
3681 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3683 * gdb.fortran/array-bounds-high.exp: New file.
3684 * gdb.fortran/array-bounds-high.f90: New file.
3686 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3688 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3689 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3691 2020-02-01 Tom de Vries <tdevries@suse.de>
3693 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3695 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3698 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3699 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3701 2020-01-29 Luis Machado <luis.machado@linaro.org>
3703 * gdb.arch/aarch64-brk-patterns.c: New source file.
3704 * gdb.arch/aarch64-brk-patterns.exp: New test.
3706 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3708 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3710 * gdb.cp/pass-by-ref.exp: Ditto.
3712 2020-01-29 Tom de Vries <tdevries@suse.de>
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.
3720 2020-01-27 Luis Machado <luis.machado@linaro.org>
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
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.
3730 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3732 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3734 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3736 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3737 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3739 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3741 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3742 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3744 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3746 * gdb.base/maint.exp: Update line table parsing test.
3747 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3749 2020-01-24 Pedro Alves <palves@redhat.com>
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.
3756 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3759 * gdb.server/server-kill-python.exp: New file.
3761 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3763 * gdb.server/multi-ui-errors.c: New file.
3764 * gdb.server/multi-ui-errors.exp: New file.
3766 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3769 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3771 2020-01-19 Tom Tromey <tom@tromey.com>
3773 * gdb.tui/main.exp: Add check for plain "file".
3775 2020-01-16 Christian Biesinger <cbiesinger@google.com>
3777 * lib/gdb.exp: Fix spelling error (seperatelly).
3779 2020-01-14 Tom Tromey <tom@tromey.com>
3782 * gdb.python/python.exp: Test decode_line with empty string
3785 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3787 * gdb.base/skip-inline.exp: Extend test.
3789 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
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.
3795 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3797 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3800 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3802 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3805 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
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.
3812 2020-01-10 Pedro Alves <palves@redhat.com>
3814 * gdb.server/bkpt-other-inferior.exp: New file.
3816 2020-01-10 Pedro Alves <palves@redhat.com>
3818 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
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
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
3835 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3836 * gdb.trace/report.exp: Likewise.
3838 2020-01-10 Pedro Alves <palves@redhat.com>
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".
3845 2020-01-10 Pedro Alves <palves@redhat.com>
3847 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3848 disconnect before reconnecting.
3850 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3851 Pedro Alves <palves@redhat.com>
3853 * gdb.server/connect-without-multi-process.exp: Also test
3856 2020-01-10 Pedro Alves <palves@redhat.com>
3858 * gdb.base/remote-exec-file.exp: New file.
3860 2020-01-10 Pedro Alves <palves@redhat.com>
3862 * gdb.base/fork-running-state.exp (do_test): Adjust expected
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.
3869 2020-01-10 George Barrett <bob@bob131.so>
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
3878 (stap_test): Add null semaphore relocation test.
3880 2020-01-10 George Barrett <bob@bob131.so>
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.
3889 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3891 * gdb.tui/basic.exp: Add more scrolling tests.
3893 2020-01-09 Tom Tromey <tom@tromey.com>
3896 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3898 (Term::command, Term::resize): Update.
3899 * gdb.tui/basic.exp: Add scrolling test.
3901 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3903 * gdb.tui/tui-layout-asm.exp: New file.
3905 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3907 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3909 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3911 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3912 (Term::enter_tui): Use Term::prepare_for_tui.
3914 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3916 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3919 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3921 * gdb.base/skip.exp: Fix race condition in test.
3923 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3925 * gdb.base/backtrace.c: New file.
3926 * gdb.base/backtrace.exp: New file.
3928 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3930 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3932 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3934 * gdb.base/style.exp: Test that warnings are styled.
3936 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3938 * gdb.base/line65535.exp: New file.
3939 * gdb.base/line65535.c: New file.
3941 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
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.
3949 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
3951 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3952 (another) quote in test name.
3954 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
3956 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3957 Add quote in test name.
3959 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3961 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
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.
3967 2019-12-20 Tom Tromey <tom@tromey.com>
3969 * gdb.tui/list-before.exp: New file.
3971 2019-12-20 Tom Tromey <tom@tromey.com>
3973 * gdb.tui/list.exp: Check for source on initial listing.
3975 2019-12-11 Tom Tromey <tromey@adacore.com>
3977 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3980 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
3982 * gdb.base/default.exp: Update value of $_gdb_major.
3984 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3986 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3988 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3990 * gdb.base/skip.exp: Whitespace fix.
3992 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3994 * gdb.base/skip-inline.c: New file.
3995 * gdb.base/skip-inline.exp: New file.
3997 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
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
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"
4017 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4019 2019-12-11 Tom Tromey <tom@tromey.com>
4021 * gdb.tui/resize.exp: Fix regexp.
4022 * gdb.tui/regs.exp: Fix regexps.
4023 * gdb.tui/main.exp: Fix regexp.
4025 2019-12-11 Tom Tromey <tom@tromey.com>
4027 * gdb.tui/resize.exp: Update.
4028 * gdb.tui/empty.exp (layouts): Update.
4030 2019-12-11 Tom Tromey <tom@tromey.com>
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.
4037 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4039 * gdb.base/options.exp: Add -raw-values in the print completion list.
4040 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4042 2019-12-10 Kevin Buettner <kevinb@redhat.com>
4044 * gdb.threads/omp-par-scope.c: New file.
4045 * gdb/threads/omp-par-scope.exp: New file.
4047 2019-12-10 Kevin Buettner <kevinb@redhat.com>
4049 * lib/gdb.exp (support_nested_function_tests): New proc.
4051 2019-12-10 Kevin Buettner <kevinb@redhat.com>
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.
4057 2019-12-10 Tom Tromey <tromey@adacore.com>
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 "?".
4065 2019-12-10 George Barrett <bob@bob131.so>
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
4072 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4074 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
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
4081 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4083 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4086 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4088 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4089 broken version of GCC.
4091 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4098 2019-12-08 Tom de Vries <tdevries@suse.de>
4100 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4102 2019-12-07 Keith Seitz <keiths@redhat.com>
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.
4109 2019-12-06 Tom de Vries <tdevries@suse.de>
4111 * gdb.dwarf2/varval.exp: Add decl before def test.
4113 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4115 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4117 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
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.
4123 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4125 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4126 * gdb.base/frameapply.exp: Test faas without command.
4128 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4130 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4132 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4135 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4143 2019-12-04 Tom Tromey <tromey@adacore.com>
4145 * gdb.base/endianity.c (struct other) <x>: New field.
4146 (main): Initialize it.
4147 * gdb.base/endianity.exp: Update.
4149 2019-12-04 Tom Tromey <tromey@adacore.com>
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.
4156 2019-12-04 Tom Tromey <tromey@adacore.com>
4158 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4159 (main): Initialize it.
4160 * gdb.base/endianity.exp: Update.
4162 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4164 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4166 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4168 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4169 -symbol-info-module-functions and -symbol-info-module-variables.
4171 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4173 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4175 2019-12-01 Richard Bunt <richard.bunt@arm.com>
4176 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4183 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4185 * gdb.base/define.exp: Test . in command names.
4186 * gdb.base/setshow.exp: Update test, as . is now part of
4189 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4191 * gdb.base/define-prefix.exp: New file.
4193 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4195 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4197 (skip_btrace_pt_tests): Likewise.
4199 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4201 * gdb.fortran/info-modules.exp: Compile source files in correct
4204 2019-11-27 Kevin Buettner <kevinb@redhat.com>
4206 * gdb.dwarf2/imported-unit.exp: New file.
4207 * gdb.dwarf2/imported-unit.c: New file.
4209 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4215 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4221 2019-11-22 Tom Tromey <tromey@adacore.com>
4223 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4224 * gdb.ada/tasks/foo.adb: Add another stopping location.
4226 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4228 * gdb.base/endianity.c: New test.
4229 * gdb.base/endianity.exp: New file.
4231 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4233 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4235 2019-11-21 Tom de Vries <tdevries@suse.de>
4238 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4240 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4242 * gdb.python/py-progspace.exp: Add missing parentheses on some
4245 2019-11-19 Tom Tromey <tom@tromey.com>
4247 * gdb.tui/winheight.exp: New file.
4249 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4255 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4257 * gdb.base/ctf-cvexpr.exp: Delete.
4258 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4260 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4268 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4270 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4271 * gdb.tui/corefile-run.exp: New file.
4273 2019-11-14 Tom Tromey <tromey@adacore.com>
4275 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4278 2019-11-12 Tom Tromey <tom@tromey.com>
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.
4292 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4294 * gdb.python/py-symbol.exp: Add test for
4295 gdb.lookup_static_symbols.
4297 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4299 * gdb.python/py-symbol.c: Declare and call function from new
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.
4305 2019-11-02 Tom de Vries <tdevries@suse.de>
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.
4350 2019-11-02 Tom de Vries <tdevries@suse.de>
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.
4369 2019-11-01 Luis Machado <luis.machado@linaro.org>
4373 * gdb.arch/pr25124.S: New file.
4374 * gdb.arch/pr25124.exp: New file.
4376 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4378 * gdb.fortran/info-modules.exp: Update expected results, and add
4379 additional tests for 'info module functinos', and 'info module
4381 * gdb.fortran/info-types.exp: Update expected results.
4382 * gdb.fortran/info-types.f90: Extend testcase with additional
4383 module variables and functions.
4385 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4392 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
4402 2019-10-31 Tom de Vries <tdevries@suse.de>
4404 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
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.
4438 2019-10-31 Tom de Vries <tdevries@suse.de>
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.
4469 2019-10-30 Tom de Vries <tdevries@suse.de>
4471 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4473 2019-10-26 Tom de Vries <tdevries@suse.de>
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.
4485 2019-10-25 Tom de Vries <tdevries@suse.de>
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.
4495 2019-10-24 Tom de Vries <tdevries@suse.de>
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
4502 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4504 * gdb.python/py-progspace.exp: Add tests for the
4505 Progspace.block_for_pc method.
4507 2019-10-23 Tom Tromey <tom@tromey.com>
4509 * configure: Rebuild.
4510 * aclocal.m4: Use m4_include, not sinclude.
4512 2019-10-21 Tom de Vries <tdevries@suse.de>
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
4519 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4521 2019-10-17 Tom de Vries <tdevries@suse.de>
4523 * gdb.fortran/module.exp: Allow info variables to print info for files
4524 other than module.f90.
4526 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4528 * gdb.fortran/module.exp: Extend with 'info variables' test.
4530 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4532 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4535 2019-10-16 Tom de Vries <tdevries@suse.de>
4538 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4540 2019-10-16 Tom de Vries <tdevries@suse.de>
4543 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4544 Add KFAIL for PR tdep/25096.
4546 2019-10-16 Tom de Vries <tdevries@suse.de>
4549 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4551 2019-10-16 Tom de Vries <tdevries@suse.de>
4553 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4556 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4558 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4559 one instead of increasing timeout.
4561 2019-10-13 Tom de Vries <tdevries@suse.de>
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.
4573 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
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
4581 2019-10-10 Tom de Vries <tdevries@suse.de>
4584 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4587 2019-10-09 Tom de Vries <tdevries@suse.de>
4590 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4592 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4594 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4595 exceptions due to missing debug information.
4597 2019-10-07 Tom de Vries <tdevries@suse.de>
4599 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4601 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4603 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4604 * gdb.base/annota1.exp: Update to use gdb_test_name.
4606 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
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.
4616 2019-10-04 Tom de Vries <tdevries@suse.de>
4618 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4621 2019-10-03 Tom Tromey <tom@tromey.com>
4624 * gdb.rust/simple.rs (Union2): New type.
4626 * gdb.rust/simple.exp: Add test.
4628 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4630 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4631 nested function prefix.
4633 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4634 Richard Bunt <richard.bunt@arm.com>
4635 Andrew Burgess <andrew.burgess@embecosm.com>
4637 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
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.
4643 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4645 * gdb.python/py-parameter.exp: Make test names unique.
4646 * gdb.python/py-template.exp: Likewise.
4647 * gdb.python/py-value.exp: Likewise.
4649 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4661 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4663 * gdb.linespec/explicit.exp: Make test names unique.
4664 * gdb.linespec/ls-errs.exp: Likewise.
4666 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4682 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4684 * gdb.threads/stop-with-handle.c: New file.
4685 * gdb.threads/stop-with-handle.exp: New file.
4687 2019-10-03 Tom de Vries <tdevries@suse.de>
4690 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4691 directory" line to be missing.
4693 2019-10-03 Tom de Vries <tdevries@suse.de>
4696 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4699 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
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.
4708 2019-10-02 Tom Tromey <tromey@adacore.com>
4710 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4712 2019-10-02 Pedro Alves <palves@redhat.com>
4713 Andrew Burgess <andrew.burgess@embecosm.com>
4715 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
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
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
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.
4738 2019-10-01 Tom Tromey <tom@tromey.com>
4740 * gdb.base/style.exp: Test "show logging filename".
4742 2019-10-01 Tom Tromey <tom@tromey.com>
4744 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4745 * gdb.base/style.exp: Add metadata style test.
4747 2019-10-01 Tom Tromey <tom@tromey.com>
4749 * gdb.base/style.exp: Test "pwd".
4751 2019-10-01 Tom Tromey <tom@tromey.com>
4753 * gdb.base/style.exp: Update tests.
4755 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4757 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
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.
4764 2019-09-30 Tom Tromey <tromey@adacore.com>
4766 * gdb.rust/traits.rs: Disable all warnings.
4768 2019-09-29 Tom de Vries <tdevries@suse.de>
4770 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
4772 2019-09-29 Tom de Vries <tdevries@suse.de>
4774 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4776 2019-09-27 Tom de Vries <tdevries@suse.de>
4778 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4780 2019-09-27 Tom de Vries <tdevries@suse.de>
4783 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4785 2019-09-26 Tom Tromey <tromey@adacore.com>
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.
4792 2019-09-24 Tom de Vries <tdevries@suse.de>
4795 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4797 2019-09-22 Tom de Vries <tdevries@suse.de>
4799 * gdb.base/restore.exp: Allow register variables to be optimized out at
4802 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
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.
4809 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4810 * gdb.asm/spu.inc: Remove file.
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.
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.
4826 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4828 * gdb.cell: Remove directory.
4829 * lib/cell.exp: Remove file.
4831 2019-09-19 Tom de Vries <tdevries@suse.de>
4833 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4835 2019-09-19 Tom de Vries <tdevries@suse.de>
4837 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4839 2019-09-19 Tom de Vries <tdevries@suse.de>
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
4847 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4849 * gdb.base/source-dir.exp: Avoid having directory names in test
4852 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4854 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4857 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4859 * gdb.base/list-missing-source.exp: New file.
4861 2019-09-14 Tom de Vries <tdevries@suse.de>
4864 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4865 * lib/ada.exp (gnatmake_version_at_least): New proc.
4867 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4869 * gdb.base/maint.exp: Use exec_has_index_section.
4871 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4873 * gdb.base/maint.exp: Add test for 'maint info sections'.
4875 2019-09-12 Tom de Vries <tdevries@suse.de>
4877 * gdb.base/store.exp: Allow register variables to be optimized out at
4880 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
4886 2019-09-10 Tom Tromey <tromey@adacore.com>
4888 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4890 2019-09-10 Tom Tromey <tromey@adacore.com>
4892 * gdb.ada/dgopt.exp: New file.
4893 * gdb.ada/dgopt/x.adb: New file.
4895 2019-09-08 Tom Tromey <tom@tromey.com>
4897 * gdb.tui/resize.exp: Remove setup_xfail.
4898 * gdb.tui/regs.exp: Remove setup_xfail.
4899 * gdb.tui/basic.exp: Remove setup_xfail.
4901 2019-09-06 David Blaikie <dblaikie@gmail.com>
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.
4907 2019-09-05 Tom de Vries <tdevries@suse.de>
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.
4913 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4915 * gdb.base/info-var.exp: Test info variables without running
4916 to main, to avoid expect's buffer overflow.
4918 2019-09-03 Tom Tromey <tromey@adacore.com>
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.
4926 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4928 * gdb.base/argv0-symlink.exp: Run only on native target
4931 2019-08-29 Tom de Vries <tdevries@suse.de>
4933 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4935 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4937 2019-08-28 Tom de Vries <tdevries@suse.de>
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.
4942 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4944 * gdb.fortran/info-types.exp: Add module.
4945 * gdb.fortran/info-types.f90: Update expected results.
4947 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4949 * gdb.fortran/info-types.exp: New file.
4950 * gdb.fortran/info-types.f90: New file.
4951 * lib/fortran.exp (fortran_character1): New proc.
4953 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
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.
4962 2019-08-26 Tom de Vries <tdevries@suse.de>
4965 * gdb.cp/no-libstdcxx-probe.exp: New test.
4967 2019-08-26 Tom de Vries <tdevries@suse.de>
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.
4975 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4977 * gdb.python/py-xmethods.exp: Use raw strings when passing
4978 arguments to SimpleXMethodMatcher.
4980 2019-08-22 Tom de Vries <tdevries@suse.de>
4982 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4985 2019-08-21 Pedro Alves <palves@redhat.com>
4987 * gdb.base/with.exp: Test "with" with no arguments.
4989 2019-08-21 Tom de Vries <tdevries@suse.de>
4991 * gdb.base/gdb-caching-proc.exp: Sort files.
4993 2019-08-20 Tom de Vries <tdevries@suse.de>
4995 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4998 2019-08-16 Tom de Vries <tdevries@suse.de>
5000 * gdb.base/compare-sections.exp ("after run to main"): Allow
5001 mismatched read-only sections for PIE executables.
5003 2019-08-16 Tom Tromey <tom@tromey.com>
5005 * lib/tuiterm.exp (_csi_Z): New proc.
5006 * gdb.tui/basic.exp: Update window positions.
5007 * gdb.tui/empty.exp: Update window positions.
5009 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5011 * gdb.base/examine-backward.exp: Correct regexp for
5012 "examine 3 bytes backward from ${address_zero}".
5014 2019-08-15 Tom Tromey <tom@tromey.com>
5016 * gdb.tui/empty.exp: Enable resizing tests.
5018 2019-08-15 Tom Tromey <tromey@adacore.com>
5020 * gdb.ada/char_enum.exp: Add regression tests.
5021 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5023 (Char, Gchar): Update.
5024 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5026 2019-08-15 Christian Biesinger <cbiesinger@google.com>
5028 * gdb.python/python.exp: Expect a leading underscore on
5029 GdbOutput{,Error}File.
5031 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5033 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5036 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5038 * gdb.base/batch-preserve-term-settings.exp
5039 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5041 2019-08-15 Christian Biesinger <cbiesinger@google.com>
5043 * lib/gdb.exp: When running on a mingw target, replace
5046 2019-08-14 Alan Hayward <alan.hayward@arm.com>
5048 * gdb.arch/aarch64-prologue.c: New test.
5049 * gdb.arch/aarch64-prologue.exp: New file.
5051 2019-08-13 Tom de Vries <tdevries@suse.de>
5053 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5056 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
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
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.
5084 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
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".
5090 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5092 * gdb.linespec/break-ask.exp: Generalize regexps to match
5093 Windows pathnames too.
5095 2019-08-08 Tom de Vries <tdevries@suse.de>
5098 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5100 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5102 * gdb.base/style.exp: Update tests for help doc new invariants.
5103 * gdb.base/help.exp: Likewise.
5105 2019-08-06 Tom Tromey <tom@tromey.com>
5107 * gdb.base/style.exp: Add disassemble test.
5108 * gdb.base/style.c (some_called_function): New function.
5111 2019-08-05 Christian Biesinger <cbiesinger@google.com>
5113 * gdb.python/py-block.exp: Test dictionary access on blocks.
5115 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
5118 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5119 -list-thread-groups --available test when running under
5122 2019-08-05 Tom de Vries <tdevries@suse.de>
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.
5130 2019-08-05 Tom de Vries <tdevries@suse.de>
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.
5138 2019-08-05 Tom de Vries <tdevries@suse.de>
5140 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5142 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5144 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5146 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
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.
5153 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
5159 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5161 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5163 (test_exit_status): Add prefix argument.
5165 2019-08-01 Tom de Vries <tdevries@suse.de>
5168 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5169 calling exp_continue for new thread and thread exited messages.
5171 2019-08-01 Tom de Vries <tdevries@suse.de>
5174 * gdb.base/structs.exp: Fix check-read1 timeout using
5176 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5178 2019-08-01 Tom de Vries <tdevries@suse.de>
5181 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5184 2019-08-01 Tom de Vries <tdevries@suse.de>
5187 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5189 2019-07-30 Tom Tromey <tromey@adacore.com>
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.
5196 2019-07-30 Christian Biesinger <cbiesinger@google.com>
5198 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5200 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5202 2019-07-30 Tom de Vries <tdevries@suse.de>
5204 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5207 2019-07-30 Tom de Vries <tdevries@suse.de>
5210 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5211 (exec_is_pie): New proc.
5213 2019-07-29 Christian Biesinger <cbiesinger@google.com>
5215 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5217 2019-07-29 Christian Biesinger <cbiesinger@google.com>
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.
5223 2019-07-29 Tom Tromey <tom@tromey.com>
5225 * lib/tuiterm.exp (Term::_csi_@): New proc.
5226 (Term::_csi_X): Don't move cursor.
5228 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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
5242 2019-07-29 Tom de Vries <tdevries@suse.de>
5244 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5247 2019-07-29 Tom de Vries <tdevries@suse.de>
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".
5252 2019-07-29 Tom de Vries <tdevries@suse.de>
5254 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5257 2019-07-29 Tom de Vries <tdevries@suse.de>
5259 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5260 Pass prompt_regexp parameter to gdb_test_multiple calls.
5262 2019-07-29 Tom de Vries <tdevries@suse.de>
5264 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
5265 print registers" regexps.
5267 2019-07-29 Tom de Vries <tdevries@suse.de>
5269 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5271 2019-07-29 Tom de Vries <tdevries@suse.de>
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.
5278 2019-07-27 Tom Tromey <tom@tromey.com>
5280 * gdb.tui/main.exp: New file.
5282 2019-07-27 Tom Tromey <tom@tromey.com>
5284 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5286 * gdb.tui/empty.exp: New file.
5288 2019-07-27 Tom Tromey <tom@tromey.com>
5290 * lib/tuiterm.exp (spawn): New proc.
5291 (Term::resize): New proc.
5292 * gdb.tui/resize.exp: New file.
5294 2019-07-27 Tom Tromey <tom@tromey.com>
5296 * gdb.tui/list.exp: New file.
5298 2019-07-27 Tom Tromey <tom@tromey.com>
5300 * gdb.tui/regs.exp: New file.
5302 2019-07-27 Tom Tromey <tom@tromey.com>
5304 * gdb.tui/basic.exp: Add "layout split" test.
5306 2019-07-27 Tom Tromey <tom@tromey.com>
5308 * gdb.tui/basic.exp: Add "layout asm" test.
5310 2019-07-27 Tom Tromey <tom@tromey.com>
5312 * lib/tuiterm.exp: New file.
5313 * gdb.tui/basic.exp: New file.
5315 2019-07-27 Kevin Buettner <kevinb@redhat.com>
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.
5321 2019-07-27 Kevin Buettner <kevinb@redhat.com>
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
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.
5336 2019-07-26 Tom de Vries <tdevries@suse.de>
5338 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5340 2019-07-25 Tom de Vries <tdevries@suse.de>
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.
5349 2019-07-24 Tom de Vries <tdevries@suse.de>
5352 * gdb.objc/basicclass.m: Include stdio.h.
5353 * gdb.objc/nondebug.m: Same.
5354 * gdb.objc/objcdecode.m: Same.
5356 2019-07-24 Tom de Vries <tdevries@suse.de>
5359 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5362 2019-07-24 Tom de Vries <tdevries@suse.de>
5365 * gdb.multi/tids.exp: Update error messages for info threads.
5367 2019-07-24 Tom de Vries <tdevries@suse.de>
5369 * gdb.base/info-types.exp: Allow info types to print info for more than
5372 2019-07-23 Tom de Vries <tdevries@suse.de>
5375 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5376 gdb_spawn_with_cmdline_opts.
5378 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5380 * gdb.arch/arm-cmse-sgstubs.c: New test.
5381 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5383 2019-07-23 Tom de Vries <tdevries@suse.de>
5386 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5387 issuing next command.
5389 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
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.
5395 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5397 * gdb.base/info-types.c: New file.
5398 * gdb.base/info-types.exp: New file.
5400 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5402 * gdb.arch/riscv-bp-infcall.c: New file.
5403 * gdb.arch/riscv-bp-infcall.exp: New file.
5405 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5407 PR breakpoints/24541
5408 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5410 2019-07-14 Tom de Vries <tdevries@suse.de>
5413 * gdb.objc/basicclass.exp: Fix unterminated string.
5415 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5416 Andrew Burgess <andrew.burgess@embecosm.com>
5418 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5419 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5421 * gdb.fortran/vla-value.exp: Print elements of an array with
5423 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5426 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5428 * gdb.base/options.exp (expect_string): Dequote strings in
5430 (test-string): Test strings with different quoting and reindent.
5432 2019-07-10 Tom Tromey <tromey@adacore.com>
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.
5443 2019-07-10 Richard Bunt <richard.bunt@arm.com>
5444 Stephen Roberts <stephen.roberts@arm.com>
5446 * gdb.base/define.exp: Restore original prompt.
5448 2019-07-09 Pedro Alves <palves@redhat.com>
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"'.
5458 2019-07-09 Pedro Alves <palves@redhat.com>
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.
5465 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
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.
5471 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5473 * gdb.arch/amd64-break-on-asm-line.S: New file.
5474 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5476 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
5482 2019-07-08 Alan Hayward <alan.hayward@arm.com>
5484 PR breakpoints/25011
5485 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5487 2019-07-04 Pedro Alves <palves@redhat.com>
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.
5493 2019-07-04 Alan Hayward <alan.hayward@arm.com>
5495 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5497 2019-07-03 Pedro Alves <palves@redhat.com>
5499 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5502 2019-07-03 Pedro Alves <palves@redhat.com>
5505 * gdb.base/shell.exp: Load completion-support.exp.
5506 Adjust expected error output. Add completion tests.
5508 2019-07-03 Pedro Alves <palves@redhat.com>
5510 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5513 2019-07-03 Pedro Alves <palves@redhat.com>
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.
5523 2019-07-03 Pedro Alves <palves@redhat.com>
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.
5529 2019-07-03 Pedro Alves <palves@redhat.com>
5531 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5532 Split one gdb_test_multiple call in two to avoid a race.
5534 2019-07-03 Pedro Alves <palves@redhat.com>
5536 * gdb.base/with.c: New file.
5537 * gdb.base/with.exp: New file.
5539 2019-07-03 Pedro Alves <palves@redhat.com>
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".
5546 2019-07-03 Pedro Alves <palves@redhat.com>
5548 * gdb.base/settings.exp (test-string): Adjust expected out when
5549 testing "maint test-settings show filename"
5551 2019-07-02 Pedro Alves <palves@redhat.com>
5553 * gdb.base/options.exp (test-info-threads): New procedure.
5554 (top level): Call it.
5556 2019-06-28 Tom Tromey <tromey@adacore.com>
5558 * gdb.dwarf2/ada-linkage-name.c: New file.
5559 * gdb.dwarf2/ada-linkage-name.exp: New file.
5561 2019-06-27 Tom Tromey <tromey@adacore.com>
5564 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5566 2019-06-26 Tom de Vries <tdevries@suse.de>
5568 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5570 2019-06-26 Tom de Vries <tdevries@suse.de>
5572 * gdb.base/index-cache.exp: Add back missing debug option.
5574 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5576 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5578 2019-06-25 Tom de Vries <tdevries@suse.de>
5581 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5583 2019-06-24 Tom de Vries <tdevries@suse.de>
5585 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5587 2019-06-24 Tom de Vries <tdevries@suse.de>
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.
5593 2019-06-24 Tom de Vries <tdevries@suse.de>
5595 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5597 2019-06-21 Tom de Vries <tdevries@suse.de>
5599 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5601 2019-06-21 Tom de Vries <tdevries@suse.de>
5605 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5608 2019-06-19 Tom Tromey <tromey@adacore.com>
5610 * gdb.ada/length_cond.exp: Add intro comment.
5612 2019-06-19 Tom Tromey <tromey@adacore.com>
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.
5619 2019-06-18 Tom de Vries <tdevries@suse.de>
5621 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5623 2019-06-18 Tom Tromey <tromey@adacore.com>
5625 * gdb.base/list0.h: Add comment explaining control character.
5627 2019-06-18 Tom de Vries <tdevries@suse.de>
5629 * boards/fission.exp: Break up long debug_flags line.
5631 2019-06-16 Tom de Vries <tdevries@suse.de>
5634 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5637 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5640 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5641 improve detection of bug gdb/24541.
5643 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
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.
5651 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5652 Andrew Burgess <andrew.burgess@embecosm.com>
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.
5661 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
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'
5668 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5670 * gdb.base/annota1.exp: Update expected results.
5671 * gdb.cp/annota2.exp: Likewise.
5672 * gdb.cp/annota3.exp: Likewise.
5674 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5676 * gdb.base/style-logging.exp: Remove path from test name.
5678 2019-06-14 Tom Tromey <tromey@adacore.com>
5681 * gdb.base/style-logging.exp: New file.
5683 2019-06-14 Tom Tromey <tromey@adacore.com>
5685 * gdb.base/symfile-warn.exp: New file.
5686 * gdb.base/symfile-warn.c: New file.
5688 2019-06-14 Tom Tromey <tromey@adacore.com>
5690 * gdb.base/annotate-symlink.exp: New file.
5692 2019-06-14 Tom Tromey <tromey@adacore.com>
5694 * gdb.ada/set_wstr.exp: Add reassignment test.
5696 2019-06-14 Tom Tromey <tromey@adacore.com>
5698 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5699 'unchecked_access and 'unrestricted_access as well.
5701 2019-06-14 Tom Tromey <tromey@adacore.com>
5704 * gdb.ada/vla.exp: Update tests.
5705 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5708 2019-06-13 Pedro Alves <palves@redhat.com>
5710 * gdb.base/settings.exp (test-integer): Test junk after
5713 2019-06-13 Pedro Alves <palves@redhat.com>
5715 * gdb.base/options.exp (test-thread-apply): New.
5716 (top level): Call it.
5718 2019-06-13 Pedro Alves <palves@redhat.com>
5720 * gdb.base/options.exp (test-frame-apply): New.
5721 (top level): Test print commands with different "frame apply"
5724 2019-06-13 Pedro Alves <palves@redhat.com>
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.
5731 2019-06-13 Pedro Alves <palves@redhat.com>
5733 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5735 2019-06-13 Pedro Alves <palves@redhat.com>
5737 * gdb.base/options.exp (test-backtrace): New.
5738 (top level): Call it.
5740 2019-06-13 Pedro Alves <palves@redhat.com>
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.
5746 2019-06-13 Pedro Alves <palves@redhat.com>
5748 * gdb.compile/compile.exp: Adjust expected output to option
5751 2019-06-13 Pedro Alves <palves@redhat.com>
5753 * gdb.base/options.exp: Build executable.
5754 (test-print): New procedure.
5755 (top level): Call it, once for "print" and another for "compile
5758 2019-06-13 Pedro Alves <palves@redhat.com>
5760 * gdb.base/options.c: New file.
5761 * gdb.base/options.exp: New file.
5763 2019-06-13 Pedro Alves <palves@redhat.com>
5765 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5766 that "o" is ambiguous.
5768 2019-06-13 Pedro Alves <palves@redhat.com>
5770 * gdb.base/settings.c: New file.
5771 * gdb.base/settings.exp: New file.
5773 2019-06-13 Pedro Alves <palves@redhat.com>
5775 * gdb.base/completion.exp: Fix comment typo.
5777 2019-06-13 Pedro Alves <palves@redhat.com>
5779 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5782 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5784 * gdb.fortran/block-data.f: New.
5785 * gdb.fortran/block-data.exp: New.
5787 2019-06-11 Tom de Vries <tdevries@suse.de>
5790 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5793 2019-06-11 Tom de Vries <tdevries@suse.de>
5796 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5798 2019-06-11 Tom de Vries <tdevries@suse.de>
5800 * boards/readnow.exp: New file.
5802 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5804 * gdb.fortran/vla-sizeof.exp: Update expected results.
5806 2019-06-06 Amos Bird <amosbird@gmail.com>
5808 * gdb.base/annota1.exp (thread_switch): Add test for
5809 thread-exited annotation.
5811 2019-06-06 Tom Tromey <tromey@adacore.com>
5813 * gdb.base/maint.exp: Expect command started/finished output.
5815 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5817 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5819 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5821 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
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.
5828 2019-06-04 Christian Biesinger <cbiesinger@google.com>
5830 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
5832 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
5847 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5849 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5851 * gdb.base/default.exp: Update for new convenience variables.
5853 2019-05-29 Tom Tromey <tromey@adacore.com>
5855 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5856 to "break complete ada" test case's regexp.
5858 2019-05-29 Tom Tromey <tromey@adacore.com>
5861 * gdb.cp/constexpr-field.exp: New file.
5862 * gdb.cp/constexpr-field.cc: New file.
5864 2019-05-29 Tom Tromey <tromey@adacore.com>
5866 * gdb.base/finish.exp (finish_no_print): New proc.
5867 (finish_tests): Call it.
5869 2019-05-24 Tom de Vries <tdevries@suse.de>
5871 * gdb.dwarf2/gdb-add-index.exp: New file.
5873 2019-05-22 Tom Tromey <tromey@adacore.com>
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.
5879 2019-05-22 Tom de Vries <tdevries@suse.de>
5881 * gdb.base/align.exp: Require c++11.
5883 2019-05-22 Tom de Vries <tdevries@suse.de>
5886 * gdb.python/py-mi-var-info-path-expression.exp: Call
5887 mi_skip_python_tests to check if python is supported.
5889 2019-05-22 Alan Hayward <alan.hayward@arm.com>
5891 * gdb.arch/aarch64-pauth.c: New test.
5892 * gdb.arch/aarch64-pauth.exp: New file.
5894 2019-05-22 Alan Hayward <alan.hayward@arm.com>
5896 * README (Re-running Tests Outside The Testsuite): New section.
5898 2019-05-21 Tom de Vries <tdevries@suse.de>
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.
5907 2019-05-21 Alan Hayward <alan.hayward@arm.com>
5909 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5911 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
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
5918 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5921 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5923 * README (Running the Testsuite): Change example.
5924 (Testsuite Parameters): Remove TRANSCRIPT.
5925 * lib/gdb.exp: Remove TRANSCRIPT check.
5927 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5929 * README (Testsuite Parameters): Add replay logging to
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.
5936 2019-05-17 Alan Hayward <alan.hayward@arm.com>
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.
5944 2019-05-17 Alan Hayward <alan.hayward@arm.com>
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.
5962 2019-05-17 Alan Hayward <alan.hayward@arm.com>
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:
5983 * gdb.threads/stepi-random-signal.exp: Likewise.
5985 2019-05-17 Alan Hayward <alan.hayward@arm.com>
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.
5994 2019-05-17 Alan Hayward <alan.hayward@arm.com>
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.
6003 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6005 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6007 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6009 * gdb.base/ui-redirect.exp: Test redirection.
6011 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6013 * gdb.mi/mi-complete.exp: New file.
6014 * gdb.mi/mi-complete.cc: Likewise.
6016 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6018 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6019 indexed and sliced arrays, and pointers to arrays.
6021 2019-05-14 Tom Tromey <tromey@adacore.com>
6023 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6026 2019-05-14 Tom de Vries <tdevries@suse.de>
6028 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6029 selection entry encoding.
6031 2019-05-10 Tom Tromey <tromey@adacore.com>
6033 * gdb.ada/info_exc.exp: Add "complete" test.
6035 2019-05-09 Tom de Vries <tdevries@suse.de>
6037 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6040 2019-05-09 Tom de Vries <tdevries@suse.de>
6042 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6045 2019-05-08 Joel Brobecker <brobecker@adacore.com>
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.
6053 2019-05-08 Tom Tromey <tromey@adacore.com>
6055 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6057 2019-05-08 Tom Tromey <tromey@adacore.com>
6059 * gdb.base/ptype-offsets.exp: Update tests.
6061 2019-05-08 Tom Tromey <tromey@adacore.com>
6063 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6065 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6068 2019-05-08 Tom Tromey <tromey@adacore.com>
6070 * gdb.ada/vla.exp: New file.
6071 * gdb.ada/vla/vla.adb: New file.
6073 2019-05-07 Tom de Vries <tdevries@suse.de>
6075 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6077 2019-05-07 Tom de Vries <tdevries@suse.de>
6080 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6083 2019-05-07 Tom de Vries <tdevries@suse.de>
6086 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6087 .debug_aranges section.
6089 2019-05-07 Tom de Vries <tdevries@suse.de>
6092 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6094 2019-05-06 Tom de Vries <tdevries@suse.de>
6096 * lib/gdb.exp (exec_has_index_section): New proc.
6097 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6100 2019-05-04 Tom de Vries <tdevries@suse.de>
6102 * boards/cc-with-debug-names.exp: New file.
6104 2019-05-03 Tom Tromey <tromey@adacore.com>
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.
6110 2019-05-03 Tom de Vries <tdevries@suse.de>
6112 * boards/cc-with-gdb-index.exp: New file.
6114 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
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.
6120 2019-05-01 Tom Tromey <tromey@adacore.com>
6122 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6124 (NPR): New variable.
6125 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6128 2019-05-01 Tom Tromey <tromey@adacore.com>
6130 * gdb.ada/packed_array_assign.exp: Add packed assignment
6133 2019-05-01 Tom de Vries <tdevries@suse.de>
6135 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6137 2019-05-01 Tom de Vries <tdevries@suse.de>
6139 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6141 2019-04-30 Ali Tamur <tamur@google.com>
6143 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6145 2019-04-30 Tom Tromey <tromey@adacore.com>
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.
6154 2019-04-30 Tom Tromey <tromey@adacore.com>
6157 * gdb.cp/temargs.cc: Add test code from PR.
6159 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
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.
6166 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
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.
6173 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6175 * gdb.fortran/ptype-on-functions.exp: New file.
6176 * gdb.fortran/ptype-on-functions.f90: New file.
6178 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6180 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6183 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6185 * gdb.fortran/complex.exp: Expand.
6186 * gdb.fortran/complex.f: Renamed to...
6187 * gdb.fortran/complex.f90: ...this, and extended to add more
6190 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6192 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6195 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6196 Richard Bunt <richard.bunt@arm.com>
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.
6213 2019-04-29 Tom de Vries <tdevries@suse.de>
6215 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6217 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6219 * gdb.base/callexit.exp: Test may-call-functions off.
6221 2019-04-25 Keith Seitz <keiths@redhat.com>
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'
6230 2019-04-25 Ali Tamur <tamur@google.com>
6232 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6234 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6238 * gdb.base/coredump-filter-build-id.exp: New file.
6240 2019-04-25 Alan Hayward <alan.hayward@arm.com>
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
6249 2019-04-24 Tom Tromey <tromey@adacore.com>
6251 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6254 2019-04-24 Tom Tromey <tromey@adacore.com>
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.
6261 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6263 * gdb.cp/many-args.cc: New file.
6264 * gdb.cp/many-args.exp: New file.
6266 2019-04-23 Tom de Vries <tdevries@suse.de>
6269 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6271 2019-04-23 Alan Hayward <alan.hayward@arm.com>
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.
6286 2019-04-22 Pedro Alves <palves@redhat.com>
6288 * gdb.base/solib-probes-nosharedlibrary.c,
6289 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6291 2019-04-19 Tom Tromey <tromey@adacore.com>
6293 * gdb.ada/ptype_union.c: New file.
6294 * gdb.ada/ptype_union.exp: New file.
6296 2019-04-19 Tom Tromey <tromey@adacore.com>
6299 * gdb.base/list0.h (foo): Add a control-l character.
6301 2019-04-18 Tom de Vries <tdevries@suse.de>
6304 * boards/local-board.exp: Set sysroot to "".
6306 2019-04-18 Tom de Vries <tdevries@suse.de>
6307 Pedro Alves <palves@redhat.com>
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.
6315 2019-04-15 Leszek Swirski <leszeks@google.com>
6317 * gdb.arch/amd64-eval.cc: New file.
6318 * gdb.arch/amd64-eval.exp: New file.
6320 2019-04-11 Alan Hayward <alan.hayward@arm.com>
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
6327 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6329 * gdb.base/align.exp: Extend test to cover structures containing
6332 2019-04-11 Tom de Vries <tdevries@suse.de>
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.
6338 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
6340 * gdb.base/start-cpp.exp: New file.
6341 * gdb.base/start-cpp.cc: New file.
6343 2019-04-08 Kevin Buettner <kevinb@redhat.com>
6345 * gdb.python/py-thrhandle.exp: Adjust tests to call
6346 thread_from_handle instead of thread_from_thread_handle.
6348 2019-04-08 Kevin Buettner <kevinb@redhat.com>
6350 * gdb.python/py-thrhandle.exp: Add tests for
6351 gdb.InferiorThread.handle.
6353 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6355 * gdb.python/py-function.exp: Check calling helper function from
6357 * lib/gdb.exp (gdb_supported_languages): New proc.
6359 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6361 * gdb.base/complex-parts.c: New file.
6362 * gdb.base/complex-parts.exp: New file.
6364 2019-04-01 Tom Tromey <tromey@adacore.com>
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.
6371 2019-03-30 Simon Marchi <simark@simark.ca>
6373 * gdb.base/default.exp: Add values for $_gdb_major and
6376 2019-03-29 Tom Tromey <tromey@adacore.com>
6378 * gdb.base/help.exp: Tighten apropos regexp.
6380 2019-03-29 Keith Seitz <keiths@redhat.com>
6382 * gdb.fortran/array-bounds.exp: New file.
6383 * gdb.fortran/array-bounds.f90: New file.
6385 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6387 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6389 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6391 * gdb.multi/hello.c (main): Increase alarm timer.
6393 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6395 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6396 factor when no hardware watchpoint support.
6398 2019-03-28 Alan Hayward <alan.hayward@arm.com>
6399 Pedro Alves <palves@redhat.com>
6401 * boards/local-board.exp: set sysroot to /.
6403 2019-03-27 Alan Hayward <alan.hayward@arm.com>
6405 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6408 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6410 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
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.
6417 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
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
6424 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
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.
6430 2019-03-25 Pedro Alves <palves@redhat.com>
6432 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6433 move comments outside list. Append '-i "" eof' section.
6435 2019-03-22 Alan Hayward <alan.hayward@arm.com>
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.
6443 2019-03-19 Tom Tromey <tromey@adacore.com>
6445 * gdb.mi/mi2-cli-display.c: New file.
6446 * gdb.mi/mi2-cli-display.exp: New file.
6448 2019-03-18 Joel Brobecker <brobecker@adacore.com>
6449 Tom Tromey <tromey@adacore.com>
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.
6456 2019-03-14 Tom Tromey <tromey@adacore.com>
6458 * gdb.base/style.exp: Add "set style sources" test.
6460 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
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.
6468 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
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.
6478 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6480 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6482 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6484 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6486 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6488 * gdb.fortran/type-kinds.exp: Update expected results.
6490 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6492 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6494 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6496 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6498 (test_basic_parsing_of_type_kinds): Expand types tested.
6499 (test_parsing_invalid_type_kinds): New function.
6501 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6503 * gdb.fortran/intrinsics.exp: New file.
6504 * gdb.fortran/intrinsics.f90: New file.
6505 * gdb.fortran/type-kinds.exp: New file.
6507 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6509 * gdb.fortran/dot-ops.exp: New file.
6511 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6513 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6514 Check upper and lower case logical literals.
6516 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6518 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6519 Remove duplicate tests.
6521 2019-03-06 Alan Hayward <alan.hayward@arm.com>
6523 * lib/gdb.exp (builtin_cd): rename of cd.
6524 (cd): Override builtin.
6526 2019-03-06 Richard Bunt <richard.bunt@arm.com>
6528 * gdb.fortran/function-calls.exp: New file.
6529 * gdb.fortran/function-calls.f90: New test.
6531 2019-03-04 Richard Bunt <richard.bunt@arm.com>
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
6538 2019-02-28 Alan Hayward <alan.hayward@arm.com>
6540 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6543 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6546 * gdb.base/interrupt-daemon-attach.c,
6547 gdb.base/interrupt-daemon-attach.exp: New test.
6549 2019-02-27 Pedro Alves <palves@redhat.com>
6551 * gdb.base/page.exp: Add tests for "set width/height -1".
6553 2019-02-27 Pedro Alves <palves@redhat.com>
6555 * gdb.base/page.exp: Add tests for "set/show width/height" with
6558 2019-02-27 Tom Tromey <tromey@adacore.com>
6560 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6562 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6565 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6567 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6568 tests for structs with static members.
6570 2019-02-26 Tom Tromey <tromey@adacore.com>
6572 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6573 ValueError, not TypeError.
6575 2019-02-26 Kevin Buettner <kevinb@redhat.com>
6577 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6578 call from main program.
6580 2019-02-23 Joel Brobecker <brobecker@adacore.com>
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.
6588 2019-02-22 Keith Seitz <keiths@redhat.com>
6591 * gdb.base/symlink-sourcefile.c: New file.
6592 * gdb.base/symlink-sourcefile.exp: New file.
6594 2019-02-20 Tom Tromey <tom@tromey.com>
6596 * gdb.base/info_qt.exp: Update.
6598 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6600 * gdb.base/source.exp: Move "error in sourced script" code to
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
6607 2019-02-17 Tom Tromey <tom@tromey.com>
6609 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6611 * gdb.base/style.c (SOME_MACRO): New macro.
6613 2019-02-17 Tom Tromey <tom@tromey.com>
6615 * gdb.base/style.exp: Add line-wrapping tests.
6616 * gdb.base/page.exp: Add test for quitting during pagination.
6618 2019-02-17 Joel Brobecker <brobecker@adacore.com>
6620 * gdb.ada/big_packed_array: New testcase.
6621 * gdb.ada/homonym.exp: Fix incorrect expected output for
6622 "break <homonym__get_value>" test.
6624 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
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.
6632 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
6634 PR breakpoints/21870
6635 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6636 * gdb.arch/aarch64-dbreg-contents.c: New file.
6638 2019-02-10 Joel Brobecker <brobecker@adacore.com>
6640 * gdb.ada/mi_ref_changeable: New testcase.
6642 2019-02-07 Alan Hayward <alan.hayward@arm.com>
6644 * gdb.base/attach.exp: Add double attach test.
6646 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6648 * lib/gdb.exp (default_gdb_start): Don't match pagination
6650 (gdb_init): Set stty_init.
6652 2019-01-27 Tom Tromey <tom@tromey.com>
6654 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6657 2019-01-24 Alan Hayward <alan.hayward@arm.com>
6659 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
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.
6687 2019-01-21 Alan Hayward <alan.hayward@arm.com>
6688 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
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
6696 (gdb_compile): Remove stack protector for GCC and prevent
6699 2019-01-16 Keith Seitz <keiths@redhat.com>
6702 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6704 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6706 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6708 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6710 * gdb.arch/powerpc-vector-regs.c: New file.
6711 * gdb.arch/powerpc-vector-regs.exp: New file.
6713 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6715 * gdb.arch/altivec-regs.exp: Fix the list passed to
6716 gdb_expect_list when testing "info vector".
6718 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6720 * gdb.base/style.exp: Don't include path in testname.
6722 2019-01-10 Keith Seitz <keiths@redhat.com>
6726 * gdb.dwarf2/multidictionary.exp: New file.
6728 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
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.
6737 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6739 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6742 2019-01-06 Tom Tromey <tom@tromey.com>
6745 * gdb.dwarf2/typedef-void-finish.exp: New file.
6747 2018-12-28 Tom Tromey <tom@tromey.com>
6748 Simon Marchi <simark@simark.ca>
6750 * gdb.base/jit-exec.exp: New file.
6751 * gdb.base/jit-exec.c: New file.
6752 * gdb.base/jit-execd.c: New file.
6754 2018-12-28 Tom Tromey <tom@tromey.com>
6756 * gdb.base/style.exp: Update test to check for address styling.
6758 2018-12-28 Tom Tromey <tom@tromey.com>
6760 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6763 2018-12-28 Tom Tromey <tom@tromey.com>
6765 * gdb.base/style.exp: Add test for version number styling.
6767 2018-12-28 Tom Tromey <tom@tromey.com>
6769 * gdb.base/style.exp: Add test for print_address_symbolic.
6771 2018-12-28 Tom Tromey <tom@tromey.com>
6773 * gdb.base/style.exp: Add test for breakpoint setting.
6775 2018-12-28 Tom Tromey <tom@tromey.com>
6777 * gdb.base/style.exp: Add test for variable names.
6779 2018-12-28 Tom Tromey <tom@tromey.com>
6781 * gdb.base/style.exp: New file.
6782 * gdb.base/style.c: New file.
6784 2018-12-28 Tom Tromey <tom@tromey.com>
6786 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6788 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6789 the TERM environment variable.
6791 2018-12-27 Tom Tromey <tom@tromey.com>
6793 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6796 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6798 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6799 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6801 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
6807 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
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
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.
6820 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6823 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6825 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6827 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6828 Update order of results accordingly.
6830 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6832 * gdb.base/annota1.exp: Update a test regexp.
6834 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6836 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6838 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
6847 2018-12-08 Pedro Alves <palves@redhat.com>
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.
6853 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6855 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6856 local timeout variable before return, and remove all local timeout
6858 (gdb_load): Likewise.
6860 2018-12-01 Tom de Vries <tdevries@suse.de>
6862 * gdb.base/gdb-caching-proc.exp: New file.
6864 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6866 * Makefile.in (TIMESTAMP): New variable.
6867 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
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.
6878 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6881 * gdb.python/python.exp: Test command repetition after
6884 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6886 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6887 is correctly aligned.
6889 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
6896 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6898 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6899 FUNC_lang language syntax.
6901 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6903 * gdb.base/info_minsym.c: New file.
6904 * gdb.base/info_minsym.exp: New file.
6906 2018-11-19 Tom Tromey <tom@tromey.com>
6909 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6910 * gdb.rust/expr.exp: Update expected output. Change one test.
6912 2018-11-19 Tom Tromey <tom@tromey.com>
6914 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6916 2018-11-19 Pedro Alves <palves@redhat.com>
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.
6922 2018-11-16 Alan Hayward <alan.hayward@arm.com>
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.
6929 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6931 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6934 2018-11-09 Tom de Vries <tdevries@suse.de>
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.
6940 2018-11-08 Tom Tromey <tom@tromey.com>
6944 * gdb.base/warning.exp: New file.
6946 2018-11-08 Jan Beulich <jbeulich@suse.com>
6948 * testsuite/gdb.arch/i386-avx512.c,
6949 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6951 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6953 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6956 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6958 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6959 * gdb.dwarf2/missing-type-name.exp: New file.
6961 2018-11-06 Tom de Vries <tdevries@suse.de>
6963 * gdb.base/many-headers.c: New test.
6964 * gdb.base/many-headers.exp: New file.
6966 2018-11-06 Jim Wilson <jimw@sifive.com>
6968 * gdb.base/code_elim.exp: For riscv, set additional_flags
6969 to include -msmall-data-limit=0.
6971 2018-11-01 Joel Brobecker <brobecker@adacore.com>
6973 * gdb.ada/watch_minus_l: New testcase.
6975 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6977 * gdb.arch/aix-sighandle.c: New file.
6978 * gdb.arch/aix-sighandle.exp: New file.
6980 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6982 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6983 registers being unions.
6985 2018-10-31 Tom de Vries <tdevries@suse.de>
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.
6993 2018-10-31 Tom de Vries <tdevries@suse.de>
6995 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6997 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6999 * gdb.dwarf2/void-type.c: New file.
7000 * gdb.dwarf2/void-type.exp: New file.
7002 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7004 * gdb.base/info_qt.c: New file.
7005 * gdb.base/info_qt.exp: New file.
7007 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7009 * gdb.arch/powerpc-htm-regs.c: New file.
7010 * gdb.arch/powerpc-htm-regs.exp: New file.
7012 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7014 * gdb.arch/powerpc-tar.c: New file.
7015 * gdb.arch/powerpc-tar.exp: New file.
7017 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7019 * gdb.arch/powerpc-ppr-dscr.c: New file.
7020 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7022 2018-10-25 Tom de Vries <tdevries@suse.de>
7024 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7026 2018-10-24 Tom de Vries <tdevries@suse.de>
7028 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7029 longer exists error.
7031 2018-10-24 Tom de Vries <tdevries@suse.de>
7033 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7035 2018-10-24 Tom de Vries <tdevries@suse.de>
7037 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7038 --db-attach in valgrind.
7040 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7042 * gdb.arch/riscv-reg-aliases.c: New file.
7043 * gdb.arch/riscv-reg-aliases.exp: New file.
7045 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7047 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7049 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7051 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7053 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7055 * gdb.cp/ovldbreak.exp: Fix regexps.
7057 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7059 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7061 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7064 * gdb.base/restore.exp: New test to check if "restore" with an
7065 invalid file doesn't segfault.
7067 2018-10-18 Tom de Vries <tdevries@suse.de>
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.
7079 2018-10-16 Tom de Vries <tdevries@suse.de>
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.
7086 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
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.
7122 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
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.
7129 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7131 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7132 directory prefix on the filename.
7134 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7136 * gdb.gdb/unittest.exp: Update expected message informing that
7137 selftests have been disabled.
7138 * gdb.server/unittest.exp: Likewise.
7140 2018-10-09 Tom de Vries <tdevries@suse.de>
7142 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7145 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
7148 * gdb.cp/virtbase2.cc: New file.
7149 * gdb.cp/virtbase2.exp: New file.
7151 2018-10-06 Tom Tromey <tom@tromey.com>
7154 * gdb.python/py-inferior.exp: Add architecture test.
7156 2018-10-06 Tom Tromey <tom@tromey.com>
7158 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7159 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7161 2018-10-06 Tom Tromey <tom@tromey.com>
7163 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7164 of a "throw" catchpoint.
7166 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7168 * gdb.base/info-proc.exp: Update string expected from "help info
7171 2018-10-04 Tom Tromey <tom@tromey.com>
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.
7178 2018-10-04 Tom Tromey <tom@tromey.com>
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):
7202 * gdb.base/attach.exp (do_attach_tests): Update.
7203 * gdb.base/sepdebug.exp: Update.
7204 * gdb.python/py-section-script.exp: Update.
7206 2018-10-04 Tom Tromey <tom@tromey.com>
7209 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7210 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7213 2018-10-04 Tom Tromey <tom@tromey.com>
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.
7219 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
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.
7226 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7228 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7229 is_amd64_regs_target.
7231 2018-10-01 Alan Hayward <alan.hayward@arm.com>
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.
7237 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7239 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7242 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7244 * gdb.base/frame-selection.exp: New file.
7245 * gdb.base/frame-selection.c: New file.
7247 2018-09-27 Alan Hayward <alan.hayward@arm.com>
7249 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7253 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
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.
7260 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7263 * gdb.base/write_mem.exp: New test.
7264 * gdb.base/write_mem.c: Likewise.
7266 2018-09-23 Tom Tromey <tom@tromey.com>
7269 * gdb.python/py-parameter.exp: Add test for parameter that throws
7272 2018-09-23 Tom Tromey <tom@tromey.com>
7275 * gdb.python/py-template.exp (test_template_arg): Add test for
7276 negative template argument number.
7278 2018-09-23 Tom Tromey <tom@tromey.com>
7281 * gdb.python/python.exp: Add test for post_event error.
7283 2018-09-23 Tom Tromey <tom@tromey.com>
7286 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7287 convert pointers to int and long.
7289 2018-09-23 Tom Tromey <tom@tromey.com>
7292 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7293 signed-ness conversion tests.
7295 2018-09-23 Tom Tromey <tom@tromey.com>
7298 * gdb.python/py-value.exp (test_float_conversion): New proc.
7301 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7303 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7305 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7307 * gdb.base/complete-empty.exp: Skip tab-completion tests if
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.
7315 2018-09-19 Richard Bunt <richard.bunt@arm.com>
7316 Chris January <chris.january@arm.com>
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.
7322 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7324 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7325 "arch=" keyword when executing "-stack-list-frames".
7327 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7329 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7330 "arch=" keyword when executing "-stack-list-frames".
7332 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7334 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7337 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7340 * gdb.python/python.exp: Test gdb.execute("show commands").
7342 2018-09-16 Tom Tromey <tom@tromey.com>
7344 * gdb.base/new-ui.exp (do_execution_tests): Update.
7345 * gdb.base/dbx.exp (test_breakpoints): Update.
7347 2018-09-14 Alan Hayward <alan.hayward@arm.com>
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.
7361 2018-09-13 Tom Tromey <tom@tromey.com>
7363 * Makefile.in (TAGS): Recognize proc_with_prefix and
7366 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7368 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7371 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7373 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7374 and a few other Inferior properties when the Inferior is no
7377 2018-09-13 Tom Tromey <tom@tromey.com>
7380 * gdb.rust/simple.exp: Add test for enum field access error.
7382 2018-09-13 Tom Tromey <tom@tromey.com>
7385 * gdb.rust/simple.rs (EmptyEnum): New type.
7387 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7389 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
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.
7395 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7397 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7400 2018-09-12 Alan Hayward <alan.hayward@arm.com>
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.
7411 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7413 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7415 2018-09-10 Jerome Guitton <guitton@adacore.com>
7417 * gdb.ada/same_component_name: Add test for case of tagged record
7418 with variable-length fields.
7420 2018-09-10 Xavier Roirand <roirand@adacore.com>
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.
7427 2018-09-10 Xavier Roirand <roirand@adacore.com>
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.
7434 2018-09-10 Xavier Roirand <roirand@adacore.com>
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.
7441 2018-09-08 Tom Tromey <tom@tromey.com>
7443 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7445 2018-09-08 Tom Tromey <tom@tromey.com>
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
7452 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7453 (an_int_type3): New global.
7455 2018-09-08 Joel Brobecker <brobecker@adacore.com>
7457 * gdb.ada/expr_with_funcall: New testcase.
7459 2018-09-08 Joel Brobecker <brobecker@adacore.com>
7461 * gdb.ada/packed_array_assign: New testcase.
7463 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7465 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7466 names, and add test prefixes to make test names unique.
7468 2018-09-05 Tom de Vries <tdevries@suse.de>
7470 * gdb.dwarf2/varval.exp: Add test.
7472 2018-09-04 Gary Benson <gbenson@redhat.com>
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.
7477 2018-08-31 Tom Tromey <tom@tromey.com>
7479 * gdb.rust/simple.rs: Rename second variable "v".
7481 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7483 * gdb.base/funcargs.c (use_a): New function.
7484 (recurse): Call use_a.
7486 2018-08-29 Keith Seitz <keiths@redhat.com>
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.
7511 2018-08-16 Gary Benson <gbenson@redhat.com>
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.
7518 2018-08-29 Alan Hayward <alan.hayward@arm.com>
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.
7563 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7565 * gdb.python/py-framefilter-mi.exp: Update regexp to
7566 check for "arch" field in frame output.
7568 2018-08-23 Kevin Buettner <kevinb@redhat.com>
7570 * gdb.dwarf2/dw2-ranges-func.c: New file.
7571 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7573 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7575 * gdb.base/term.exp: Compare terminal settings with values from
7577 * gdb.base/term.c: Get and set terminal settings.
7579 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
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.
7588 2018-08-19 Michael Spang <spang@google.com>
7591 * gdb.base/gcore-tls-pie.c: New file.
7592 * gdb.base/gcore-tls-pie.exp: New file.
7594 2018-08-18 Kevin Buettner <kevinb@redhat.com>
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.
7600 2018-08-17 Alan Hayward <alan.hayward@arm.com>
7603 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7605 2018-08-16 Keith Seitz <keiths@redhat.com>
7607 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7608 tests expected to pass.
7610 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7612 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7613 -data-disassemble -a.
7614 (test_disassembly_bogus_args): Likewise.
7616 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7618 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7620 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7622 * gdb.base/vla-optimized-out.exp: Add new test.
7624 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
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
7631 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7634 * gdb.server/extended-remote-restart.c: New file.
7635 * gdb.server/extended-remote-restart.exp: New file.
7637 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7639 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7640 "set variable index = 42".
7642 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
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.
7649 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7651 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7654 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
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.
7660 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
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.
7666 2018-08-04 Tom de Vries <tdevries@suse.de>
7668 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7670 2018-08-02 Tom Tromey <tom@tromey.com>
7673 * gdb.cp/temargs.exp: Test "info address" of a template
7676 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
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.
7682 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7684 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7685 error after "cannot resolve name" string.
7687 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7689 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7691 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7693 2018-07-28 Tom de Vries <tdevries@suse.de>
7695 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7697 2018-07-26 Tom de Vries <tdevries@suse.de>
7699 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7701 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7703 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7706 2018-07-26 Tom de Vries <tdevries@suse.de>
7708 PR breakpoints/23366
7709 * gdb.base/catch-follow-exec.c: New test.
7710 * gdb.base/catch-follow-exec.exp: New file.
7712 2018-07-25 Tom de Vries <tdevries@suse.de>
7714 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7715 vla-optimized-out.c.
7717 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7719 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7720 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7722 2018-07-20 Tom de Vries <tdevries@suse.de>
7724 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7726 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7728 2018-07-19 Tom de Vries <tdevries@suse.de>
7730 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7733 2018-07-18 Tom de Vries <tdevries@suse.de>
7735 * gdb.base/vla-optimized-out.c: New test.
7736 * gdb.base/vla-optimized-out.exp: New file.
7738 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7740 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7741 message "No address associated with hostname" when gdbserver
7742 cannot resolve the hostname.
7744 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7746 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7747 Add some test prefixes to make tests unique.
7749 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7751 * gdb.base/frameapply.c: New file.
7752 * gdb.base/frameapply.exp: New file.
7754 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7756 * gdb.base/skip.exp: Update expected error message.
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>
7763 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7765 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
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.
7778 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7781 * gdb.base/ptype-offsets.cc (struct static_member): New
7783 (main) <stmember>: New variable.
7784 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7785 with a static member in it.
7787 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7789 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7790 watchpoints enabled and disabled.
7792 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
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.
7798 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7800 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7803 2018-07-04 Tom de Vries <tdevries@suse.de>
7805 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7807 2018-07-02 Maciej W. Rozycki <macro@mips.com>
7810 * gdb.arch/mips-disassembler-options.exp: New test.
7811 * gdb.arch/mips-disassembler-options.s: New test source.
7813 2018-06-29 Pedro Alves <palves@redhat.com>
7815 * gdb.threads/names.exp: Adjust expected "info threads" output.
7817 2018-06-29 Pedro Alves <palves@redhat.com>
7819 * gdb.opt/inline-break.exp (line number, address): Add "info
7822 2018-06-29 Pedro Alves <palves@redhat.com>
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.
7828 2018-06-29 Richard Bunt <richard.bunt@arm.com>
7830 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7832 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7834 * lib/compiler.c: Remove executable permission flag.
7836 2018-06-28 Richard Bunt <richard.bunt@arm.com>
7838 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7840 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7842 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7844 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7846 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7848 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7849 address argument is omitted.
7851 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7853 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7855 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
7858 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7859 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7861 2018-06-26 Tom Tromey <tom@tromey.com>
7864 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7865 * gdb.rust/simple.rs (struct SimpleLayout): New.
7867 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7869 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7870 "info registers" output.
7872 2018-06-21 Richard Bunt <richard.bunt@arm.com>
7874 * gdb.base/watchpoint-hw-attach.c: New test.
7875 * gdb.base/watchpoint-hw-attach.exp: New file.
7877 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7879 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7881 * boards/dwarf4-gdb-index.exp: Likewise.
7882 * boards/fission-dwp.exp: Likewise.
7884 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7886 * gdb.base/float128.exp: Add comment and improved fail message
7887 to the failure case of "print large128" test.
7889 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7891 * configure.ac: Remove AC_PREREQ.
7892 * configure: Re-generate.
7894 2018-06-19 Pedro Alves <palves@redhat.com>
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
7902 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
7905 * gdb.cp/typedef-base.cc: New file.
7906 * gdb.cp/typedef-base.exp: New file.
7908 2018-06-18 Tom de Vries <tdevries@suse.de>
7910 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7912 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7913 Richard Bunt <Richard.Bunt@arm.com>
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.
7919 2018-06-14 Pedro Alves <palves@redhat.com>
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
7925 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7928 2018-06-14 Tom de Vries <tdevries@suse.de>
7931 * gdb.base/finish-pretty.c: New test.
7932 * gdb.base/finish-pretty.exp: New file.
7934 2018-06-14 Pedro Alves <palves@redhat.com>
7936 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7937 gdb's expected startup output.
7939 2018-06-14 Pedro Alves <palves@redhat.com>
7941 * lib/selftest-support.exp (selftest_setup): Remove inlined
7944 2018-06-14 Tom de Vries <tdevries@suse.de>
7946 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7947 matching of breakpoint printing.
7949 2018-06-13 Tom de Vries <tdevries@suse.de>
7952 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7953 (fork_child): ... here, and ...
7954 (fork_parent): ... here.
7956 2018-06-12 Tom de Vries <tdevries@suse.de>
7958 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7960 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7961 Stephen Roberts <stephen.roberts@arm.com>
7963 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7964 rewrite test to describe action performed, rather than possible
7967 2018-06-08 Gary Benson <gbenson@redhat.com>
7969 * gdb.threads/check-libthread-db.exp: New file.
7970 * gdb.threads/check-libthread-db.c: Likewise.
7972 2018-06-05 Tom Tromey <tom@tromey.com>
7974 * gdb.base/default.exp: Update expected "show version" output.
7976 2018-06-05 Tom Tromey <tom@tromey.com>
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.
7984 2018-06-04 Joel Brobecker <brobecker@adacore.com>
7986 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7988 2018-06-01 Joel Brobecker <brobecker@adacore.com>
7990 * gdb.ada/bp_fun_addr: New testcase.
7992 2018-06-01 Tom Tromey <tom@tromey.com>
7994 * gdb.xml/tdesc-regs.exp (load_description): Update expected
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.
8001 2018-05-31 Maciej W. Rozycki <macro@mips.com>
8003 * gdb.base/endian.exp: New test.
8004 * gdb.base/endian.c: New test source.
8006 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
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.
8013 2018-05-24 Maciej W. Rozycki <macro@mips.com>
8014 Pedro Alves <palves@redhat.com>
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.
8022 2018-05-23 Tom Tromey <tom@tromey.com>
8024 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8026 2018-05-23 Tom Tromey <tom@tromey.com>
8028 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8030 (test_short_complaints): Likewise.
8031 (test_empty_complaints): Likewise.
8032 (test_initial_complaints): Update.
8034 2018-05-23 Tom Tromey <tom@tromey.com>
8036 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8038 2018-05-23 Tom Tromey <tom@tromey.com>
8040 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8041 (test_short_complaints): Update.
8043 2018-05-22 Pedro Alves <palves@redhat.com>
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.
8049 2018-05-22 Pedro Alves <palves@redhat.com>
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".
8056 2018-05-22 Pedro Alves <palves@redhat.com>
8059 * gdb.base/utf8-identifiers.c: New file.
8060 * gdb.base/utf8-identifiers.exp: New file.
8062 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8064 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8066 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8068 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8070 2018-05-18 Tom Tromey <tom@tromey.com>
8072 * gdb.base/ptype-offsets.exp: Update.
8074 2018-05-17 Keith Seitz <keiths@redhat.com>
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):
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.
8089 2018-05-15 Maciej W. Rozycki <macro@mips.com>
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.
8095 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8097 * gdb.arch/amd64-init-x87-values.S: New file.
8098 * gdb.arch/amd64-init-x87-values.exp: New file.
8100 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8102 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8104 2018-05-04 Tom Tromey <tom@tromey.com>
8107 * gdb.python/python.exp: Test multi-line execute.
8109 2018-05-04 Tom Tromey <tom@tromey.com>
8112 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8114 2018-05-04 Tom Tromey <tom@tromey.com>
8117 * gdb.base/define.exp: Test defining a user command inside a user
8119 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8121 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8122 Pedro Alves <palves@redhat.com>
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.
8128 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
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'.
8134 2018-05-04 Tom Tromey <tom@tromey.com>
8137 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8140 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8142 * gdb.base/maint.exp: Process output from 'maint print registers'
8145 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8147 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8150 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8152 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8155 2018-05-02 Pedro Alves <palves@redhat.com>
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.
8161 2018-05-02 Tom Tromey <tom@tromey.com>
8163 * gdb.python/py-parameter.exp: Set test message.
8165 2018-05-02 Tom Tromey <tom@tromey.com>
8168 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8169 PARAM_ZUINTEGER_UNLIMITED tests.
8171 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8174 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8177 2018-04-30 Tom Tromey <tom@tromey.com>
8179 * gdb.python/py-type.exp: Check align attribute.
8180 * gdb.python/py-type.c: New "aligncheck" global.
8182 2018-04-30 Tom Tromey <tom@tromey.com>
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.
8191 2018-04-27 Tom Tromey <tom@tromey.com>
8194 * gdb.rust/simple.exp: Add inclusive range tests.
8196 2018-04-26 Pedro Alves <palves@redhat.com>
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.
8202 2018-04-26 Pedro Alves <palves@redhat.com>
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.
8215 2018-04-26 Pedro Alves <palves@redhat.com>
8217 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8218 return type" warnings.
8220 2018-04-25 Pedro Alves <palves@redhat.com>
8222 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8224 * gdb.base/kill-after-signal.exp: Likewise.
8225 * gdb.threads/kill.exp: Likewise.
8227 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8228 Sergio Durigan Junior <sergiodj@redhat.com>
8229 Pedro Alves <palves@redhat.com>
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
8247 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
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.
8253 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8256 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8258 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8261 * gdb.base/break-probes.exp: Pass shlib_load to
8262 prepare_for_testing. Set normal_bp to r_debug_state if target is
8265 2018-04-19 Richard Bunt <richard.bunt@arm.com>
8267 * gdb.threads/multiple-successive-infcall.c: New test.
8268 * gdb.threads/multiple-successive-infcall.exp: New file.
8270 2018-04-17 Tom Tromey <tom@tromey.com>
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.
8276 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
8282 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
8293 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8295 * gdb.btrace/cpu.exp: New.
8297 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
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.
8304 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8306 * gdb.base/pie-fork.c: New file.
8307 * gdb.base/pie-fork.exp: New file.
8309 2018-04-11 Tom Tromey <tom@tromey.com>
8311 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8313 2018-04-10 Pedro Alves <palves@redhat.com>
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.
8319 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
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.
8325 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8327 * gdb.mi/mi-stack.exp: Fix indentation.
8329 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8332 * gdb.arch/amd64-osabi.exp: New file.
8334 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8337 * gdb.base/osabi.exp: New file.
8339 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
8341 * gdb.cp/static-typedef-print.exp: New file.
8342 * gdb.cp/static-typedef-print.cc: New file.
8344 2018-03-27 Joel Brobecker <brobecker@adacore.com>
8346 * gdb.ada/varsize_limit: New testcase.
8348 2018-03-27 Joel Brobecker <brobecker@adacore.com>
8350 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8352 * gdb.ada/notcplusplus: New testcase.
8354 * gdb.base/c-linkage-name.c: New file.
8355 * gdb.base/c-linkage-name.exp: New testcase.
8357 2018-03-26 Tom Tromey <tom@tromey.com>
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.
8363 2018-03-26 Tom Tromey <tom@tromey.com>
8366 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8368 2018-03-23 Keith Seitz <keiths@redhat.com>
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.
8376 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
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.
8384 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
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.
8395 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
8423 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8425 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8427 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8429 * gdb.perf/template-breakpoints.cc: New file.
8430 * gdb.perf/template-breakpoints.exp: New file.
8431 * gdb.perf/template-breakpoints.py: New file.
8433 2018-03-19 Tom Tromey <tom@tromey.com>
8435 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8437 * gdb.rust/simple.exp: Test bare identifier form of struct
8440 2018-03-19 Tom Tromey <tom@tromey.com>
8442 * gdb.gdb/observer.exp: Remove.
8444 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
8473 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8475 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8476 that libinproctrace is copied to the target.
8478 2018-03-14 Tom Tromey <tom@tromey.com>
8481 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8483 * gdb.base/wchar.exp: Likewise.
8485 2018-03-14 Tom Tromey <tom@tromey.com>
8488 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8491 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8494 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8495 "target" to remote_exec.
8497 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8500 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8501 ${board}_upload): Remove.
8503 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8505 * gdb.cp/watch-cp.cc: New test.
8506 * gdb.cp/watch-cp.exp: New file.
8508 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
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.
8514 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8516 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8517 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8519 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8521 * gdb.server/abspath.exp: New file.
8522 * lib/gdb.exp (with_cwd): New procedure.
8524 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8526 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
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
8533 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
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
8540 (gdb_is_target_remote): Use gdb_is_target_1.
8541 (gdb_is_target_native): use gdb_is_target_1.
8543 2018-02-26 Tom Tromey <tom@tromey.com>
8546 * gdb.python/py-framefilter.exp: Update test.
8548 2018-02-26 Tom Tromey <tom@tromey.com>
8550 * gdb.dwarf2/variant.c: New file.
8551 * gdb.dwarf2/variant.exp: New file.
8553 2018-02-26 Tom Tromey <tom@tromey.com>
8555 * gdb.rust/simple.exp: Accept more possible results in enum test.
8557 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8559 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8562 2018-02-23 Maciej W. Rozycki <macro@mips.com>
8564 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8565 name of a variable: $actual_linejj -> $actual_line.
8567 2018-02-21 John Baldwin <jhb@FreeBSD.org>
8569 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8571 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8573 * gdb.btrace/buffer-size.exp: Do not force BTS.
8575 2018-02-14 Pedro Alves <palves@redhat.com>
8577 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8580 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8582 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8585 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8587 * gdb.cp/m-static.exp: Check type of optimized out static
8590 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8592 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8593 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8595 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8596 Leszek Swirski <leszeks@google.com>
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.
8609 2018-02-01 Leszek Swirski <leszeks@google.com>
8611 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8612 functions with the same name as an include file are parsed
8615 2018-02-01 Yao Qi <yao.qi@linaro.org>
8617 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8620 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
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.
8626 2018-01-31 Joel Brobecker <brobecker@adacore.com>
8628 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8630 2018-01-30 Pedro Alves <palves@redhat.com>
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.
8638 2018-01-30 Joel Brobecker <brobecker@adacore.com>
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.
8645 2018-01-22 Pedro Alves <palves@redhat.com>
8646 Sergio Durigan Junior <sergiodj@redhat.com>
8648 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8649 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8651 2018-01-22 Joel Brobecker <brobecker@adacore.com>
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
8658 * gdb.mi/mi-break.exp: Likewise.
8659 * gdb.mi/mi-reverse.exp: Likewise.
8660 * gdb.mi/mi-simplerun.exp: Ditto.
8662 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8664 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8666 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8668 2018-01-21 Don Breazeal <donb@codesourcery.com>
8669 Andrew Burgess <andrew.burgess@embecosm.com>
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
8676 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8678 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8679 non-parameter, and on an unknown symbol.
8681 2018-01-19 Tom Tromey <tom@tromey.com>
8683 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8684 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8686 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8688 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8689 setrlimit and chdir to int.
8691 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8693 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8695 (my_tend): Likewise.
8696 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8697 rationale of avoiding FP- and vector instructions.
8699 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
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
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.
8712 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8714 * lib/gdb.exp (gdb_compile): Re-enable use of
8715 universal_compile_options for languages other than Rust.
8717 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8719 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8721 2018-01-17 Mike Gulick <mgulick@mathworks.com>
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.
8729 2018-01-17 Yao Qi <yao.qi@linaro.org>
8731 * gdb.compile/compile.exp: Match the address printed for
8732 frame in the output of command "bt".
8734 2018-01-15 Tom Tromey <tom@tromey.com>
8736 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8739 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8741 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8743 (prepare): Return 0 on error, 1 on success.
8745 2018-01-12 Pedro Alves <palves@redhat.com>
8747 * gdb.base/continue-after-aborted-step-over.c: New.
8748 * gdb.base/continue-after-aborted-step-over.exp: New.
8750 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8752 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8753 options when not creating an executable.
8755 2018-01-11 Pedro Alves <palves@redhat.com>
8758 * gdb.server/stop-reply-no-thread.c: New file.
8759 * gdb.server/stop-reply-no-thread.exp: New file.
8761 2018-01-10 Pedro Alves <palves@redhat.com>
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.
8769 2018-01-10 Pedro Alves <palves@redhat.com>
8772 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8775 2018-01-10 Pedro Alves <palves@redhat.com>
8778 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8780 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8782 * gdb.server/unittest.exp: Match the output in non-development
8785 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8787 * gdb.gdb/unittest.exp: Match output in non-development mode.
8789 2018-01-08 Joel Brobecker <brobecker@adacore.com>
8791 * gdb.ada/access_tagged_param.exp: Relax expected output
8792 for value of "ObjL" in "continue" to pck.inspect breakpoint
8795 2018-01-08 Joel Brobecker <brobecker@adacore.com>
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.
8800 2018-01-05 Pedro Alves <palves@redhat.com>
8803 * gdb.base/libsegfault.exp: New.
8805 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8808 * gdb.ada/access_tagged_param.exp: New file.
8809 * gdb.ada/access_tagged_param/foo.adb: New file.
8811 2018-01-05 Pedro Alves <palves@redhat.com>
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
8818 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8820 * gdb.ada/rename_subscript_param: New testcase.
8822 2018-01-05 Jerome Guitton <guitton@adacore.com>
8824 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8826 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8828 * gdb.ada/convvar_comp: New testcase.
8830 2018-01-05 Xavier Roirand <roirand@adacore.com>
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.
8836 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8839 * gdb.ada/maint_with_ada: New testcase.
8841 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8844 * gdb.ada/bp_c_mixed_case: New testcase.
8846 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8849 * gdb.ada/complete.exp: Add "complete break ada" test.
8851 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8854 * gdb.ada/info_addr_mixed_case: New testcase.
8856 2018-01-03 Xavier Roirand <roirand@adacore.com>
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.
8862 2018-01-03 Joel Brobecker <brobecker@adacore.com>
8864 * gdb.base/step-line.c: Add extra empty line in copyright header.
8865 * gdb.base/step-line.inp: Likewise.
8867 2018-01-02 Joel Brobecker <brobecker@adacore.com>
8869 * gdb.ada/dyn_stride.exp: Add slice test.
8871 2018-01-02 Joel Brobecker <brobecker@adacore.com>
8873 * gdb.ada/dyn_stride: New testcase.
8875 2017-12-27 Stafford Horne <shorne@gmail.com>
8877 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8878 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8880 2017-12-27 Stafford Horne <shorne@gmail.com>
8882 * gdb.base/reggroups.c: New file.
8883 * gdb.base/reggroups.exp: New file.
8885 2017-12-18 Joel Brobecker <brobecker@adacore.com>
8887 * gdb.dwarf2/ada-valprint-error.c: New file.
8888 * gdb.dwarf2/ada-valprint-error.exp: New file.
8890 2017-12-18 Joel Brobecker <brobecker@adacore.com>
8892 * gdb.ada/assign_arr: New testcase.
8894 2017-12-18 Xavier Roirand <roirand@adacore.com>
8896 * gdb.ada/funcall_ptr: New testcase.
8898 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8901 * gdb.base/ptype-offsets.cc: New file.
8902 * gdb.base/ptype-offsets.exp: New file.
8904 2017-12-15 Yao Qi <yao.qi@linaro.org>
8906 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8909 2017-12-15 Xavier Roirand <roirand@adacore.com>
8911 * gdb.ada/same_component_name: New testcase.
8913 2017-12-14 Joel Brobecker <brobecker@adacore.com>
8915 * gdb.ada/str_binop_equal: New testcase.
8917 2017-12-14 Joel Brobecker <brobecker@adacore.com>
8919 * gdb.ada/task_switch_in_core: New testcase.
8921 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
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.
8928 2017-12-13 Pedro Alves <palves@redhat.com>
8930 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8931 Tighten regexp by matching with an anchor.
8933 2017-12-13 Pedro Alves <palves@redhat.com>
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.
8942 2017-12-13 Joel Brobecker <brobecker@adacore.com>
8944 * gdb.base/server-del-break.c: New file.
8945 * gdb.base/server-del-break.exp: New file.
8947 2017-12-12 Stafford Horne <shorne@gmail.com>
8949 * gdb.xml/tdesc-regs.exp: Add or1k support.
8951 2017-12-12 Stafford Horne <shorne@gmail.com>
8953 * gdb.base/bp-permanent.c: Define nop of or1k.
8955 2017-12-11 Joel Brobecker <brobecker@adacore.com>
8957 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8958 output with components being reordered.
8960 2017-12-11 Joel Brobecker <brobecker@adacore.com>
8962 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8963 output with components being reordered.
8965 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8966 Pedro Alves <palves@redhat.com>
8968 * gdb.base/maint.exp (check for .gdb_index): Check also for
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.
8976 2017-12-08 Yao Qi <yao.qi@linaro.org>
8978 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8979 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8981 2017-12-08 Yao Qi <yao.qi@linaro.org>
8983 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8984 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8986 2017-12-08 Yao Qi <yao.qi@linaro.org>
8988 * gdb.arch/aarch64-tagged-pointer.c: New file.
8989 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8991 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8993 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8996 2017-12-07 Keith Seitz <keiths@redhat.com>
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.
9004 2017-12-07 Keith Seitz <keiths@redhat.com>
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.
9018 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9020 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9021 with proc_with_prefix, don't use with_test_prefix.
9023 2017-12-07 Tom Tromey <tom@tromey.com>
9025 * gdb.base/break.exp: Add test for empty "commands".
9027 2017-12-07 Yao Qi <yao.qi@linaro.org>
9029 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9030 malloc and catch syscall.
9032 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9034 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
9035 tests for explicit locations.
9037 2017-12-06 Pedro Alves <palves@redhat.com>
9039 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9040 force-disabling XML descriptions.
9042 2017-12-04 Pedro Alves <palves@redhat.com>
9045 * gdb.arch/amd64-disp-step-avx.S: New file.
9046 * gdb.arch/amd64-disp-step-avx.exp: New file.
9048 2017-12-03 Pedro Alves <palves@redhat.com>
9050 * gdb.threads/process-dies-while-detaching.c: Include <errno.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
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.
9064 2017-12-01 Joel Brobecker <brobecker@adacore.com>
9065 Sergio Durigan Junior <sergiodj@redhat.com>
9066 Pedro Alves <palves@redhat.com>
9068 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9070 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9072 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9073 to 'symbol-file' and 'add-symbol-file' can be
9074 position-independent.
9076 2017-12-01 Yao Qi <yao.qi@linaro.org>
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.
9091 2017-11-30 Joel Brobecker <brobecker@adacore.com>
9093 * gdb.ada/repeat_dyn: New testcase.
9095 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
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.
9101 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
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.
9109 2017-11-30 Pedro Alves <palves@redhat.com>
9111 * gdb.linespec/cpls-ops.exp
9112 (check_explicit_skips_function_argument): Extract the underlying
9113 type of size_t instead of hardcoding it.
9115 2017-11-29 Pedro Alves <palves@redhat.com>
9118 * gdb.linespec/cpls-abi-tag.cc: New file.
9119 * gdb.linespec/cpls-abi-tag.exp: New file.
9121 2017-11-29 Pedro Alves <palves@redhat.com>
9123 * gdb.base/langs.exp: Use -qualified.
9124 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
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
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
9137 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9139 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9141 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9143 2017-11-29 Tom Tromey <tom@tromey.com>
9145 * gdb.base/relocate.exp: Update invalid argument test.
9146 Add new tests for invalid arguments.
9148 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9150 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9152 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9154 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
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
9160 * gdb.cp/shadow.cc (B.func): Return 0.
9162 2017-11-27 Joel Brobecker <brobecker@adacore.com>
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.
9169 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
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.
9194 2017-11-25 Pedro Alves <palves@redhat.com>
9196 * gdb.base/complete-empty.exp: New file.
9197 * gdb.base/completion.exp: Adjust.
9199 2017-11-25 Pedro Alves <palves@redhat.com>
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.
9207 2017-11-24 Pedro Alves <palves@redhat.com>
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.
9218 2017-11-24 Joel Brobecker <brobecker@adacore.com>
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.
9224 2017-11-22 Yao Qi <yao.qi@linaro.org>
9226 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9228 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
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.
9234 2017-11-22 Yao Qi <yao.qi@linaro.org>
9236 * gdb.base/info-os.exp: Pass pthreads.
9237 * gdb.multi/multi-attach.exp: Likewise.
9239 2017-11-22 Yao Qi <yao.qi@linaro.org>
9241 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9244 2017-11-22 Yao Qi <yao.qi@linaro.org>
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.
9250 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9252 * gdb.base/float128.c (large128): New variable.
9253 * gdb.base/float128.exp: Add test to print largest __float128 value.
9255 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9257 * gdb.arch/vsx-regs.exp: Update register content checks.
9259 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9261 * gdb.arch/ppc-longdouble.exp: New file.
9262 * gdb.arch/ppc-longdouble.c: Likewise.
9264 2017-11-21 Pedro Alves <palves@redhat.com>
9266 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9268 2017-11-20 Pedro Alves <palves@redhat.com>
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
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.
9279 2017-11-17 Tom Tromey <tom@tromey.com>
9281 * gdb.rust/traits.rs: New file.
9282 * gdb.rust/traits.exp: New file.
9284 2017-11-17 Joel Brobecker <brobecker@adacore.com>
9286 * gdb.ada/minsyms: New testcase.
9288 2017-11-16 Pedro Alves <palves@redhat.com>
9290 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9291 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9293 2017-11-16 Pedro Alves <palves@redhat.com>
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.
9298 2017-11-16 Pedro Alves <palves@redhat.com>
9300 * gdb.server/reconnect-ctrl-c.c: New file.
9301 * gdb.server/reconnect-ctrl-c.exp: New file.
9303 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
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.
9309 2017-11-16 Pedro Alves <palves@redhat.com>
9311 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9313 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9316 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9318 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9321 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9323 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9326 2017-11-09 Pedro Alves <palves@redhat.com>
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.
9333 2017-11-09 Pedro Alves <palves@redhat.com>
9335 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
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.
9342 2017-11-09 Pedro Alves <palves@redhat.com>
9344 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9345 match till end of line.
9347 2017-11-09 Pedro Alves <palves@redhat.com>
9349 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9351 2017-11-09 Pedro Alves <palves@redhat.com>
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
9358 2017-11-09 Pedro Alves <palves@redhat.com>
9360 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9361 output. Fix '?' match.
9363 2017-11-08 Joel Brobecker <brobecker@adacore.com>
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.
9371 2017-11-08 Pedro Alves <palves@redhat.com>
9373 * gdb.gdb/complaints.exp (test_initial_complaints)
9374 (test_serial_complaints, test_short_complaints): Call
9375 complaint_internal instead of complaint.
9377 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9379 * gdb.threads/tls-core.c: New file.
9380 * gdb.threads/tls-core.exp: Likewise.
9382 2017-11-08 Pedro Alves <palves@redhat.com>
9384 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9385 (p Exported_Capitalized): New test.
9386 (p exported_capitalized): New test.
9388 2017-11-07 Pedro Alves <palves@redhat.com>
9390 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9392 2017-11-07 Pedro Alves <palves@redhat.com>
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
9398 ("bad numbers"): New set of tests.
9400 2017-11-07 Pedro Alves <palves@redhat.com>
9402 * gdb.cp/ena-dis-br-range.exp: Add tests.
9404 2017-11-07 Pedro Alves <palves@redhat.com>
9406 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9408 2017-11-07 Xavier Roirand <roirand@adacore.com>
9409 Pedro Alves <palves@redhat.com>
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.
9416 2017-11-06 Pedro Alves <palves@redhat.com>
9418 * gdb.base/attach-non-pgrp-leader.c: New.
9419 * gdb.base/attach-non-pgrp-leader.exp: New.
9421 2017-11-06 Pedro Alves <palves@redhat.com>
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.
9429 2017-11-03 Yao Qi <yao.qi@linaro.org>
9431 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9434 2017-11-03 Yao Qi <yao.qi@linaro.org>
9436 * gdb.python/py-thrhandle.exp: Skip it if python is not
9439 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9441 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9442 as a breakpoint command.
9444 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9447 * gdb.python/py-infthread.exp: Test calling
9448 InferiorThread.inferior () multiple times in a row.
9450 2017-10-27 Keith Seitz <keiths@redhat.com>
9452 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9453 Test "info break" for every inlined function breakpoint.
9455 2017-10-27 Yao Qi <yao.qi@linaro.org>
9457 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9459 2017-10-26 Patrick Frants <osscontribute@gmail.com>
9461 * gdb.cp/classes.exp (test_static_members): Test printing
9463 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9464 (Inner::instance, Outer::instance): New.
9466 2017-10-24 Pedro Alves <palves@redhat.com>
9468 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9469 extra console" test in two stages.
9471 2017-10-24 Pedro Alves <palves@redhat.com>
9473 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9475 2017-10-24 Pedro Alves <palves@redhat.com>
9477 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9480 2017-10-24 Pedro Alves <palves@redhat.com>
9482 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9483 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9485 2017-10-24 Pedro Alves <palves@redhat.com>
9487 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9488 parameter and handle it. Don't output read value in test name.
9490 2017-10-24 Pedro Alves <palves@redhat.com>
9492 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9495 2017-10-24 Pedro Alves <palves@redhat.com>
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.
9501 2017-10-24 Pedro Alves <palves@redhat.com>
9503 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9504 with explicit test name.
9506 2017-10-20 Pedro Alves <palves@redhat.com>
9508 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9509 'wait -i'. Use gdb_assert and remote_close.
9511 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9513 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9514 number from variable rather than hard-coded.
9516 2017-10-19 Pedro Alves <palves@redhat.com>
9518 * gdb.base/long-inferior-output.c: New file.
9519 * gdb.base/long-inferior-output.exp: New file.
9521 2017-11-18 Keith Seitz <keiths@redhat.com>
9523 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9526 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9527 Add additional user-defined conversion operator tests.
9529 2017-10-17 Pedro Alves <palves@redhat.com>
9531 * boards/native-stdio-gdbserver.exp: Load "local-board".
9533 2017-10-17 Pedro Alves <palves@redhat.com>
9535 * gdb.base/quit-live.c: New file.
9536 * gdb.base/quit-live.exp: New file.
9538 2017-10-16 Keith Seitz <keiths@redhat.com>
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.
9547 2017-10-16 Pedro Alves <palves@redhat.com>
9548 Simon Marchi <simon.marchi@polymtl.ca>
9550 * README (Local vs Remote vs Native): New section.
9551 * boards/local-board.exp: New file, with bits factored out from
9553 * boards/native-extended-gdbserver.exp: ... here. Load
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
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
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.
9570 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
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.
9579 2017-10-13 Pedro Alves <palves@redhat.com>
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.
9588 2017-10-13 Pedro Alves <palves@redhat.com>
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.
9595 2017-10-13 Pedro Alves <palves@redhat.com>
9597 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9598 also skip on stub-like targets.
9600 2017-10-13 Pedro Alves <palves@redhat.com>
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.
9608 2017-10-13 Pedro Alves <palves@redhat.com>
9610 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9611 expect different "info terminal" output if testing with a
9614 2017-10-13 Pedro Alves <palves@redhat.com>
9615 Simon Marchi <simon.marchi@polymtl.ca>
9618 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9620 2017-10-13 Pedro Alves <palves@redhat.com>
9622 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9625 2017-10-13 Pedro Alves <palves@redhat.com>
9627 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9630 2017-10-13 Pedro Alves <palves@redhat.com>
9632 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9635 2017-10-13 Pedro Alves <palves@redhat.com>
9637 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9639 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9640 instead of is_remote.
9642 2017-10-13 Pedro Alves <palves@redhat.com>
9644 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9645 (top level): Add comment.
9647 2017-10-13 Pedro Alves <palves@redhat.com>
9649 * gdb.base/remote.exp (top level): Fix comment typo and add
9652 2017-10-13 Pedro Alves <palves@redhat.com>
9653 Simon Marchi <simon.marchi@polymtl.ca>
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.
9659 2017-10-13 Pedro Alves <palves@redhat.com>
9661 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9662 is_remote target check.
9664 2017-10-13 Pedro Alves <palves@redhat.com>
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.
9674 2017-10-12 Pedro Alves <palves@redhat.com>
9676 * gdb.base/attach.exp: Remove references to gdb64.
9677 * gdb.base/dbx.exp: Remove references to gdb64.
9679 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9680 Pedro Alves <palves@redhat.com>
9682 * gdb.base/label.exp: Remove is_remote target check.
9684 2017-10-12 Pedro Alves <palves@redhat.com>
9686 * gdb.base/auvx.exp (coredir): Update comment.
9687 (top level) <core_works>: Use "set cwd" command instead of "cd"
9690 2017-10-12 Pedro Alves <palves@redhat.com>
9691 Simon Marchi <simon.marchi@polymtl.ca>
9693 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9696 2017-10-12 Pedro Alves <palves@redhat.com>
9697 Simon Marchi <simon.marchi@polymtl.ca>
9699 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9700 Instead skip if there's any gdb_protocol set.
9702 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9703 Pedro Alves <palves@redhat.com>
9705 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9707 2017-10-12 Pedro Alves <palves@redhat.com>
9708 Simon Marchi <simon.marchi@polymtl.ca>
9710 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9711 instead of on dejagnu remote boards.
9713 2017-10-12 Pedro Alves <palves@redhat.com>
9714 Simon Marchi <simon.marchi@polymtl.ca>
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.
9721 2017-10-12 Pedro Alves <palves@redhat.com>
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.
9728 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9730 * gdb.arch/arc-tdesc-cpu.exp: New file.
9731 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9733 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9735 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9737 2017-10-10 Pedro Alves <palves@redhat.com>
9739 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9742 2017-10-10 Pedro Alves <palves@redhat.com>
9744 * lib/selftest-support.exp (selftest_setup): Update for
9745 captured_command_loop's prototype change.
9747 2017-10-09 Pedro Alves <palves@redhat.com>
9749 Test both arch1=>arch2 and arch2=>arch1.
9751 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9752 (srcfile2, binfile2, march1, march2): Remove globals. Largely
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'
9758 (top level): Add new 'first_arch' testing axis.
9760 2017-10-09 Pedro Alves <palves@redhat.com>
9762 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
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
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.
9774 2017-10-09 Pedro Alves <palves@redhat.com>
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
9781 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9783 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9785 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
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.
9791 2017-10-04 Pedro Alves <palves@redhat.com>
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.
9802 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9804 * gdb.mi/list-thread-groups-available.exp: New file.
9805 * gdb.mi/list-thread-groups-available.c: New file.
9807 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9809 * gdb.base/set-cwd.exp: Make it available on
9810 native-extended-gdbserver.
9812 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9814 * gdb.base/set-cwd.c: New file.
9815 * gdb.base/set-cwd.exp: Likewise.
9817 2017-10-02 Tom Tromey <tom@tromey.com>
9820 * gdb.rust/simple.rs (main): New variable "fslice".
9821 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9823 2017-10-02 Tom Tromey <tom@tromey.com>
9825 * gdb.rust/simple.exp: Test ptype of a slice.
9827 2017-10-02 Tom Tromey <tom@tromey.com>
9829 * gdb.rust/simple.exp: Test index of slice.
9831 2017-09-27 Tom Tromey <tom@tromey.com>
9833 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9835 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9836 Pedro Alves <palves@redhat.com>
9838 * gdb.base/compare-sections.exp (get value of read-only section): Read
9840 (corrupt read-only section): Likewise and don't set written if patching
9843 2017-09-21 Kevin Buettner <kevinb@redhat.com>
9845 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9848 2017-09-20 Pedro Alves <palves@redhat.com>
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.
9854 2017-09-20 Pedro Alves <palves@redhat.com>
9856 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9858 (test_list_ambiguous_symbol): ... this and add a symbol name
9860 (test_list_ambiguous_function): Reimplement on top of
9861 test_list_ambiguous_symbol and also test listing ambiguous
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.
9870 2017-09-19 John Baldwin <jhb@FreeBSD.org>
9872 * gdb.base/starti.c: New file.
9873 * gdb.base/starti.exp: New file.
9874 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9876 2017-09-14 Pedro Alves <palves@redhat.com>
9878 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9879 (top level): Use it instead of runto.
9881 2017-09-11 Tom Tromey <tom@tromey.com>
9883 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9885 2017-09-11 Tom Tromey <tom@tromey.com>
9887 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9888 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9890 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9892 * gdb.fortran/printing-types.exp: New file.
9893 * gdb.fortran/printing-types.exp: New file.
9895 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9897 * gdb.fortran/vla-ptype.exp: Fix typos.
9898 * gdb.fortran/vla-value.exp: Same.
9900 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
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.
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>
9910 * gdb.fortran/ptr-indentation.f90: New file.
9911 * gdb.fortran/ptr-indentation.exp: New file.
9913 2017-09-05 Tom Tromey <tom@tromey.com>
9916 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9918 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9920 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9922 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9924 * gdb.threads/tls-nodebug-pie.c: New file.
9925 * gdb.threads/tls-nodebug-pie.exp: New file.
9927 2017-09-05 Tom Tromey <tom@tromey.com>
9929 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9932 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9934 * gdb.multi/multi-arch-exec.exp: Test with different
9935 "follow-exec-mode" settings.
9936 (do_test): New procedure.
9938 2017-09-04 Pedro Alves <palves@redhat.com>
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.
9950 2017-09-04 Pedro Alves <palves@redhat.com>
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.
9956 2017-09-04 Pedro Alves <palves@redhat.com>
9958 * gdb.base/local-static.c: New.
9959 * gdb.base/local-static.cc: New.
9960 * gdb.base/local-static.exp: New.
9962 2017-09-04 Pedro Alves <palves@redhat.com>
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
9976 * gdb.trace/entry-values.exp: Add casts.
9978 2017-09-04 Pedro Alves <palves@redhat.com>
9980 * gdb.base/nodebug.exp: Test that ptype's error about functions
9981 with unknown return type includes the function name too.
9983 2017-09-04 Pedro Alves <palves@redhat.com>
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
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):
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
10005 * gdb.threads/siginfo-threads.exp: Likewise.
10007 2017-09-04 Pedro Alves <palves@redhat.com>
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
10016 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10018 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10019 Test with nested loops.
10021 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10023 * gdb.base/commands.exp: Call the new procedures.
10024 (loop_break_test, loop_continue_test): New procedures.
10026 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10028 * gdb.base/commands.exp: Call new procedure.
10029 (define_if_without_arg_test): New procedure.
10031 2017-09-04 Pedro Alves <palves@redhat.com>
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.
10038 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10040 * gdb.base/share-env-with-gdbserver.c: New file.
10041 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10043 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
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".
10056 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10058 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10059 New proc, call it from toplevel.
10061 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10064 * gdb.server/normal.c: New file, copied from gdb.base.
10065 * gdb.server/run-without-local-binary.exp: New file.
10067 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
10069 * gdb.arch/sparc64-adi.exp: New file.
10070 * gdb.arch/sparc64-adi.c: New file.
10072 2017-08-22 Pedro Alves <palves@redhat.com>
10074 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10075 (top level): Add "list all overloads" tests.
10077 2017-08-22 Tom Tromey <tom@tromey.com>
10079 * gdb.gdb/xfullpath.exp: Remove.
10081 2017-08-21 Pedro Alves <palves@redhat.com>
10084 * gdb.base/symbol-alias.c: New.
10085 * gdb.base/symbol-alias2.c: New.
10086 * gdb.base/symbol-alias.exp: New.
10088 2017-08-21 Pedro Alves <palves@redhat.com>
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.
10107 2017-08-18 Yao Qi <yao.qi@linaro.org>
10109 * gdb.server/unittest.exp: New.
10111 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10114 * gdb.base/environ.exp: Add test to check if 'unset environment'
10117 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10119 * lib/gdb.exp (universal_compile_options): New caching proc.
10120 (gdb_compile): Suppress GCC's coloring of messages.
10122 2017-08-14 Tom Tromey <tom@tromey.com>
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.
10130 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10132 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10135 2017-08-05 Tom Tromey <tom@tromey.com>
10137 * gdb.rust/simple.exp: Allow String to appear in a different
10140 2017-07-26 Yao Qi <yao.qi@linaro.org>
10142 * gdb.gdb/unittest.exp: Invoke command
10143 "maintenance check xml-descriptions".
10145 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10147 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10149 (hex128): Drop erroneous calculation of parameters.
10151 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10153 * gdb.python/py-unwind.exp: Disable stack protection when
10154 building test file.
10156 2017-07-20 Pedro Alves <palves@redhat.com>
10158 * gdb.base/default.exp (set language): Adjust expected output.
10160 2017-07-20 Pedro Alves <palves@redhat.com>
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.
10174 2017-07-17 Pedro Alves <palves@redhat.com>
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.
10180 2017-07-17 Pedro Alves <palves@redhat.com>
10182 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10184 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10186 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10188 2017-07-14 Tom Tromey <tom@tromey.com>
10191 * gdb.rust/simple.exp: Add tests.
10193 2017-07-14 Tom Tromey <tom@tromey.com>
10195 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10197 2017-07-14 Pedro Alves <palves@redhat.com>
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.
10203 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10205 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10206 to mi_create_breakpoint.
10208 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10210 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10211 mi_create_breakpoint.
10213 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10215 * gdb.dlang/demangle.exp: Update for demangling changes.
10217 2017-07-09 Tom Tromey <tom@tromey.com>
10219 * gdb.dwarf2/shortpiece.exp: New file.
10221 2017-07-06 David Blaikie <dblaikie@gmail.com>
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
10229 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10232 2017-07-06 Pedro Alves <palves@redhat.com>
10234 * gdb.python/py-unwind.exp: Test flushregs.
10236 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10239 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10240 tests for alias commands and trailing whitespace.
10242 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10245 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10246 procedure. Call it.
10248 2017-06-29 Pedro Alves <palves@redhat.com>
10250 * gdb.base/printcmds.exp: Add tests.
10252 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10255 * gdb.base/reread-readsym.exp: New file.
10256 * gdb.base/reread-readsym.c: New file.
10258 2017-06-21 Kevin Buettner <kevinb@redhat.com>
10260 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10263 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10265 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10267 * gdb.arch/powerpc-power9.s: Likewise.
10269 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10271 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10272 on 32-bit x86 targets. Exploit is_*_target macros where
10275 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10277 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10280 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10282 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10283 located in one or more DWARF pieces.
10285 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
10301 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10304 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10305 stack value pieces are taken from the LSB end.
10307 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10309 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10310 variable at nonzero offset.
10312 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
10318 2017-06-12 Tom Tromey <tom@tromey.com>
10320 * gdb.dwarf2/formdata16.exp: Add tests.
10322 2017-06-12 Tom Tromey <tom@tromey.com>
10324 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10326 2017-06-12 Tom Tromey <tom@tromey.com>
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.
10333 * gdb.arch/altivec-regs.exp: Update tests.
10335 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10337 * gdb.base/startup-with-shell.c: New file.
10338 * gdb.base/startup-with-shell.exp: Likewise.
10340 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
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.
10346 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10348 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10349 support function calls from GDB.
10351 2017-05-21 Tom Tromey <tom@tromey.com>
10354 * gdb.rust/unsized.exp: New file.
10355 * gdb.rust/unsized.rs: New file.
10357 2017-05-19 Tom Tromey <tom@tromey.com>
10360 * gdb.rust/watch.exp: New file.
10361 * gdb.rust/watch.rs: New file.
10363 2017-05-18 Tom Tromey <tom@tromey.com>
10365 * gdb.rust/simple.exp: Allow Box to be qualified.
10367 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10369 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10371 2017-05-18 Pedro Alves <palves@redhat.com>
10373 * gdb.base/fileio.c (test_write, test_read, test_close)
10374 (test_fstat): Don't print 'ret' in the fail path.
10376 2017-05-18 Pedro Alves <palves@redhat.com>
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
10382 * gdb.base/fileio.exp (stop_msg): Adjust.
10384 2017-05-18 Pedro Alves <palves@redhat.com>
10386 * gdb.base/fileio.c (null_str): New global.
10387 (test_stat): Use it.
10388 * gdb.base/fileio.exp: Remove nowarnings.
10390 2017-05-17 Yao Qi <yao.qi@linaro.org>
10392 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10394 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10396 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10398 (top-level): Invoke test_set_inferior_tty.
10400 2017-05-04 Pedro Alves <palves@redhat.com>
10402 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10403 Add parens to print call for Python 3.
10405 2017-05-03 Keith Seitz <keiths@redhat.com>
10407 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10410 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10412 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10415 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10417 * gdb.python/py-record-btrace.exp: Remove test for
10418 gdb.BtraceInstruction.error.
10420 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10422 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10424 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10426 * gdb.python/py-record-btrace-threads.c: New file.
10427 * gdb.python/py-record-btrace-threads.exp: New file.
10429 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
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.
10440 2017-04-27 Keith Seitz <keiths@redhat.com>
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.
10452 2017-04-19 Pedro Alves <palves@redhat.com>
10454 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10456 (top level): Call it.
10457 * lib/gdb.exp (gdb_define_cmd): New procedure.
10459 2017-04-12 Pedro Alves <palves@redhat.com>
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
10468 2017-04-12 Pedro Alves <palves@redhat.com>
10471 * gdb.cp/wide_char_types.c: New file.
10472 * gdb.cp/wide_char_types.exp: New file.
10474 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10477 * gdb.trace/tsv.exp: Add test for "tsave -r".
10479 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10481 * gdb.dlang/watch-loc.c: New file.
10482 * gdb.dlang/watch-loc.exp: New file.
10484 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10486 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10488 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10490 * gdb.arch/arc-analyze-prologue.S: New file.
10491 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10493 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10495 * gdb.arch/arc-decode-insn.S: New file.
10496 * gdb.arch/arc-decode-insn.exp: Likewise.
10498 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10501 * gdb.arch/sparc64-regs.exp: New file.
10502 * gdb.arch/sparc64-regs.S: Likewise.
10504 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10506 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10507 and memory view on Python 3.
10509 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
10510 Keith Seitz <keiths@redhat.com>
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.
10527 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10529 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10532 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10534 * lib/mi-support.exp (mi_gdb_test): Add additional message
10535 for unexpected output.
10537 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10539 * gdb.base/examine-backward.c (Barrier): New character array
10540 constant, to ensure that TestStrings is preceded by a string
10543 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
10549 2017-03-16 Doug Evans <dje@google.com>
10551 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10553 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10555 * gdb.cp/m-static.exp: Fix expectation for prototype of
10556 test5.single_constructor and single_constructor::single_constructor.
10558 2017-03-16 Doug Evans <dje@google.com>
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.
10566 2017-03-16 Doug Evans <dje@google.com>
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.
10576 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10578 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10579 Add optional 'test' parameter.
10581 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10583 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10584 Skip for versions of DejaGnu < 1.5.
10586 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10588 * lib/gdb.exp (dejagnu_version): New proc.
10589 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10590 Use dejagnu_version.
10592 2017-03-10 Keith Seitz <keiths@redhat.com>
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.
10600 2017-03-08 Pedro Alves <palves@redhat.com>
10602 * gdb.base/step-over-exit.exp: Add explicit test message.
10604 2017-03-08 Pedro Alves <palves@redhat.com>
10607 * gdb.threads/interrupt-while-step-over.c: New file.
10608 * gdb.threads/interrupt-while-step-over.exp: New file.
10610 2017-03-08 Pedro Alves <palves@redhat.com>
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.
10615 2017-03-08 Pedro Alves <palves@redhat.com>
10617 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10618 PKRU as not supported as a PASS.
10620 2017-03-08 Pedro Alves <palves@redhat.com>
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
10626 * gdb.python/py-completion.exp: Use "load python file" as test
10627 messages instead of unstable path names.
10629 2017-03-08 Pedro Alves <palves@redhat.com>
10630 Jan Kratochvil <jan.kratochvil@redhat.com>
10633 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10635 (top level): Call it.
10637 2017-03-08 Pedro Alves <palves@redhat.com>
10640 * gdb.tui/tui-nl-filtered-output.exp: New file.
10642 2017-03-08 Pedro Alves <palves@redhat.com>
10644 * gdb.base/completion.exp: Move TUI completion tests to ...
10645 * gdb.tui/completion.exp: ... this new file.
10647 2017-03-08 Pedro Alves <palves@redhat.com>
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.
10654 2017-03-07 Pedro Alves <palves@redhat.com>
10656 * gdb.base/tui-layout.c: New file.
10657 * gdb.base/tui-layout.exp: New file.
10659 2017-03-07 Pedro Alves <palves@redhat.com>
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.
10666 2017-03-07 Pedro Alves <palves@redhat.com>
10668 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10670 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10672 * i386-mpx-call.c: New file.
10673 * i386-mpx-call.exp: New file.
10675 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
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.
10702 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
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.
10710 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
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
10715 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10716 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10718 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10720 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10723 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10725 * gdb.dwarf2/formdata16.c: New file.
10726 * gdb.dwarf2/formdata16.exp: New file.
10727 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10729 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
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
10737 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10739 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10741 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10744 * gdb.base/maint.exp: Add testcases for when the commands do
10745 not have arguments.
10747 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10749 * gdb.cp/chained-calls.exp: Use p instead of P.
10751 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
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.
10756 2017-02-14 Tom Tromey <tom@tromey.com>
10759 * gdb.python/py-events.exp: Add before_prompt event tests.
10761 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10763 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10765 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
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.
10773 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
10775 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10776 return if core file is not recognized.
10778 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10780 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10783 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10785 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10788 2017-02-10 Tom Tromey <tom@tromey.com>
10790 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10792 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
10795 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10797 2017-02-08 Jerome Guitton <guitton@adacore.com>
10799 * gdb.base/define.exp: Add test for command abbreviations
10802 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
10804 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10805 * gdb.reverse/insn-reverse-x86.c: New file.
10807 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10810 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10812 2017-02-03 Tom Tromey <tom@tromey.com>
10815 * gdb.rust/simple.exp: Add new tests.
10817 2017-02-02 Pedro Alves <palves@redhat.com>
10819 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10822 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
10830 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10832 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10834 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10836 * gdb.btrace/enable.exp: Call gdb_exit before
10837 skip_gdbserver_tests.
10839 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10841 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10844 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
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.
10873 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10875 * gdb.btrace/enable-running.c: New.
10876 * gdb.btrace/enable-running.exp: New.
10878 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10880 * gdb.arch/amd64-gs_base.c: New file.
10881 * gdb.arch/amd64-gs_base.exp: New file.
10883 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
10885 * lib/memory.exp: Remove spurious empty newlines.
10887 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
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.
10904 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
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
10915 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
10917 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
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.
10927 2017-01-26 Yao Qi <yao.qi@linaro.org>
10929 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10930 disassemble on address 0.
10932 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10933 Yao Qi <yao.qi@linaro.org>
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.
10940 2017-01-25 Yao Qi <yao.qi@linaro.org>
10942 * lib/dwarf.exp (Dwarf::_location): Handle
10943 DW_OP_GNU_implicit_pointer with proper size.
10945 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
10947 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10948 and add untested calls.
10950 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
10952 * gdb.python/python.exp: Check line number against what GDB thinks
10953 the line number is for func1.
10955 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10957 * gdb.dlang/debug-expr.exp: New file.
10959 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
10961 Fix test names for the following files:
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
11076 * gdb.base/debug-expr.exp
11077 * gdb.base/define.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
11266 * gdb.cp/breakpoint.exp
11267 * gdb.cp/bs15503.exp
11268 * gdb.cp/call-c.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
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
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
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
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
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
11495 * gdb.go/handcall.exp
11497 * gdb.go/integers.exp
11498 * gdb.go/methods.exp
11499 * gdb.go/package.exp
11500 * gdb.go/strings.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
11709 2016-12-22 Doug Evans <xdje42@gmail.com>
11711 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11714 2016-12-19 Yao Qi <yao.qi@linaro.org>
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.
11720 2016-12-09 Yao Qi <yao.qi@linaro.org>
11722 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11724 2016-12-09 Yao Qi <yao.qi@linaro.org>
11726 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11728 2016-12-09 Pedro Alves <palves@redhat.com>
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.
11740 2016-12-09 Yao Qi <yao.qi@linaro.org>
11742 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11744 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
11746 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11748 Remove useless pattern-matching code.
11750 2016-12-02 Pedro Alves <palves@redhat.com>
11752 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11754 (top level): Call it.
11756 2016-12-02 Pedro Alves <palves@redhat.com>
11758 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11760 (top level): Call it.
11762 2016-12-02 Pedro Alves <palves@redhat.com>
11765 * gdb.base/commands.exp (user_defined_command_args_eval): New
11767 (top level): Call it.
11769 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
11771 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11774 2016-12-02 Tom Tromey <tom@tromey.com>
11776 * gdb.dwarf2/main-subprogram.c: New file.
11777 * gdb.dwarf2/main-subprogram.exp: New file.
11779 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
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.
11786 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11788 Fix test names and standardize compilation error messages throughout
11789 the following files:
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
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
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
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
11984 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11986 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11987 with gdb_test_no_output.
11988 Use command as test name.
11990 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11992 Fix test names starting with uppercase throughout the files.
11994 * gdb.ada/assign_1.exp
11995 * gdb.ada/boolean_expr.exp
11996 * gdb.base/arrayidx.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
12004 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12006 Fix test names starting with uppercase throughout the files.
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
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
12060 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12062 Fix test names starting with uppercase throughout the files.
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
12073 * gdb.python/py-evsignal.exp
12074 * gdb.python/python.exp
12075 * gdb.trace/tracecmd.exp
12077 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12079 Fix test names starting with uppercase throughout the files.
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
12126 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12128 Fix test names starting with uppercase throughout the files.
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
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
12214 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12216 Fix test names starting with uppercase throughout all the files below.
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
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
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
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
12568 * lib/mi-support.exp
12571 * lib/prelink-support.exp
12572 * lib/selftest-support.exp
12574 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12576 * Makefile.in: Include disable-implicit-rules.mk.
12578 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12580 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12581 non-byte-aligned bit fields.
12583 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12586 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12587 respects the DW_AT_data_bit_offset attribute.
12589 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12591 * gdb.base/default.exp: Fix output of "set language".
12593 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12595 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12596 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12598 * configure.ac: Remove checks for the make program.
12599 * configure: Re-generate.
12601 2016-11-16 Kevin Buettner <kevinb@redhat.com>
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.
12611 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12613 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12614 the definition of struct S.
12616 2016-11-11 Catherine Moore <clm@codesourcery.com>
12618 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12620 2016-11-09 Pedro Alves <palves@redhat.com>
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.
12637 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12639 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
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.
12654 2016-11-09 Pedro Alves <palves@redhat.com>
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.
12670 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
12676 2016-11-08 Tom Tromey <tom@tromey.com>
12678 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12679 depend on Python 2.
12681 2016-11-08 Tom Tromey <tom@tromey.com>
12683 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12686 2016-10-29 Manish Goregaokar <manish@mozilla.com>
12688 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
12690 2016-10-27 Manish Goregaokar <manish@mozilla.com>
12692 * gdb.rust/simple.rs: Add test for univariant enums without
12693 discriminants and for encoded struct-like enums.
12695 2016-10-28 Pedro Alves <palves@redhat.com>
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.
12701 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
12703 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12706 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
12708 * gdb.base/exec-invalid-sysroot.exp: New file.
12710 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12712 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12714 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12716 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12718 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12720 * gdb.base/killed-outside.exp: Remove $options from a call to
12721 `prepare_for_testing'.
12723 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12725 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12726 Change test message.
12728 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12730 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12733 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12735 * gdb.trace/mi-trace-save.exp: New file.
12737 2016-10-13 Yao Qi <yao.qi@linaro.org>
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.
12744 2016-10-13 Yao Qi <yao.qi@linaro.org>
12746 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12747 floating point tests if $skip_float_test is false.
12749 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
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
12754 Add 1 to argc so we guarantee distinct initial/modified argc values.
12756 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12758 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12760 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
12766 2016-10-07 Yao Qi <yao.qi@linaro.org>
12768 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12770 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12772 * gdb.python/python.exp: Test decode_line("*0").
12774 2016-10-06 Doug Evans <dje@google.com>
12776 * gdb.python/py-value.exp (test_value_creation): Add test for large
12777 unsigned 64-bit value.
12779 2016-10-06 Tom Tromey <tom@tromey.com>
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
12787 * lib/gdb.exp (skip_java_tests): Remove.
12788 * lib/java.exp: Remove.
12789 * gdb.java: Remove.
12791 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12793 * gdb.arch/mips-fcr.exp: New test.
12794 * gdb.arch/mips-fcr.c: Source for the new test.
12796 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12798 * gdb.base/solib-disc.exp: Use `standard_output_file'
12801 2016-10-06 Pedro Alves <palves@redhat.com>
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
12813 (top level): Add "standalone vs shared lib" and "change address"
12814 vs "same address" axes.
12816 2016-10-06 Pedro Alves <palves@redhat.com>
12818 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12821 (jit_test_reread): Use with_test_prefix. Reload the main binary
12822 explicitly. Compare the before/after addresses of the JIT
12825 2016-08-15 Doug Evans <dje@google.com>
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.
12831 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12833 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12835 2016-10-05 Yao Qi <yao.qi@linaro.org>
12837 * lib/gdb.exp (support_complex_tests): Return zero if
12838 gdb_skip_float_test return true.
12840 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
12841 Simon Marchi <simon.marchi@ericsson.com>
12844 * gdb.mi/user-selected-context-sync.exp: New file.
12845 * gdb.mi/user-selected-context-sync.c: New file.
12847 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
12848 Simon Marchi <simon.marchi@ericsson.com>
12851 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12852 =thread-select-event check.
12854 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
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.
12860 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
12866 2016-09-28 Pedro Alves <palves@redhat.com>
12868 * gdb.base/infcall-input.c: New file.
12869 * gdb.base/infcall-input.exp: New file.
12871 2016-09-22 Yao Qi <yao.qi@linaro.org>
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.
12879 2016-09-22 Yao Qi <yao.qi@linaro.org>
12881 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12883 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12884 Remove duplication.
12886 2016-09-22 Yao Qi <yao.qi@linaro.org>
12888 * lib/gdbserver-support.exp: Check the existence of
12889 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12891 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12893 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12895 2016-09-21 Tom Tromey <tom@tromey.com>
12898 * gdb.base/quit.exp: New file.
12900 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12902 * .gitignore: New file.
12904 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12906 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12909 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12911 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12913 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
12920 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12922 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12924 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
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.
12930 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12932 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12934 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12935 Jan Kratochvil <jan.kratochvil@redhat.com>
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'.
12941 2016-09-10 Jon Beniston <jon@beniston.com>
12943 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12946 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
12955 2016-09-06 Pedro Alves <palves@redhat.com>
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
12964 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
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.
12971 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12973 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12975 2016-09-05 Pedro Alves <palves@redhat.com>
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.
12983 2016-09-02 Yao Qi <yao.qi@linaro.org>
12985 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12986 is true and $type is "float" or "double".
12988 2016-09-02 Yao Qi <yao.qi@linaro.org>
12990 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
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.
13007 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13009 * gdb.multi/tids.exp: Test "thread apply all".
13011 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13013 * gdb.base/default.exp (tty): Remove.
13015 2016-08-24 Kevin Buettner <kevinb@redhat.com>
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.
13021 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13023 * gdb.base/set-inferior-tty.exp: New file.
13024 * gdb.base/set-inferior-tty.c: New file.
13026 2016-08-23 Pedro Alves <palves@redhat.com>
13029 * gdb.base/new-ui-echo.c: New file.
13030 * gdb.base/new-ui-echo.exp: New file.
13032 2016-08-23 Yao Qi <yao.qi@linaro.org>
13034 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13036 * gdb.server/connect-without-multi-process.exp (do_test):
13039 2016-08-23 Yao Qi <yao.qi@linaro.org>
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
13046 2016-08-22 Pedro Alves <palves@redhat.com>
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.
13053 2016-08-19 Carl Love <cel@us.ibm.com>
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.
13064 2016-08-19 Pedro Alves <palves@redhat.com>
13066 * gdb.trace/mi-trace-frame-collected.exp
13067 (test_trace_frame_collected): On x32, expect two registers.
13069 2016-08-18 Carl Love <cel@us.ibm.com>
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.
13075 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13077 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13078 expected error message.
13080 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13082 * gdb.multi/remove-inferiors.exp: New file.
13083 * gdb.multi/remove-inferiors.c: New file.
13085 2016-08-12 Yao Qi <yao.qi@linaro.org>
13087 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13090 2016-08-10 Pedro Alves <palves@redhat.com>
13093 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13096 2016-08-09 Pedro Alves <palves@redhat.com>
13097 Simon Marchi <simon.marchi@ericsson.com>
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.
13103 2016-08-09 Pedro Alves <palves@redhat.com>
13106 * gdb.mi/mi-cmd-error.exp: New file.
13108 2016-08-09 Pedro Alves <palves@redhat.com>
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.
13115 2016-08-09 Pedro Alves <palves@redhat.com>
13117 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13119 2016-08-03 Tom Tromey <tom@tromey.com>
13122 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13124 2016-08-01 Yao Qi <yao.qi@linaro.org>
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".
13130 2016-08-01 Yao Qi <yao.qi@linaro.org>
13132 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13133 * gdb.cp/cpexprs.exp: Likewise.
13134 * gdb.cp/m-static.exp: Likewise.
13136 2016-07-26 Tom Tromey <tom@tromey.com>
13139 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13142 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
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.
13153 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13155 * gdb.base/new-ui.exp (do_test_invalid_args): New
13158 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13160 * gdb.btrace/reconnect.c: New file.
13161 * gdb.btrace/reconnect.exp: New file.
13163 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13165 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13166 to test_catch_syscall_group.
13167 (test_catch_syscall_group): New.
13169 2016-07-21 Tom Tromey <tom@tromey.com>
13171 * gdb.rust/simple.rs (main): Use empty struct expression.
13172 * gdb.rust/simple.exp: Add tests for empty struct expression.
13174 2016-07-21 Yao Qi <yao.qi@linaro.org>
13176 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13177 if gdb_skip_xml_test is true on some targets.
13179 2016-07-21 Yao Qi <yao.qi@linaro.org>
13181 * gdb.server/solib-list.exp: Unset last_loaded_file.
13183 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13185 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13186 "step into captured_main (args)".
13188 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13190 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13192 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13194 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13196 2016-07-19 Pedro Alves <palves@redhat.com>
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.
13206 2016-07-19 Yao Qi <yao.qi@linaro.org>
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.
13212 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
13213 Don Breazeal <donb@codesourcery.com>
13215 * gdb.base/maint.exp: Escape paths used in regular expressions.
13216 * gdb.stabs/weird.exp: Likewise.
13218 2016-07-13 Tom Tromey <tom@tromey.com>
13220 PR python/15620, PR python/18620:
13221 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13222 (test_bkpt_events): New procs.
13224 2016-07-13 Tom Tromey <tom@tromey.com>
13227 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13229 (test_watchpoints): Likewise.
13230 (test_bkpt_pending): New proc.
13232 2016-07-13 Tom Tromey <tom@tromey.com>
13235 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13238 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
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
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.
13249 2016-07-12 Tom Tromey <tom@tromey.com>
13252 * gdb.python/py-unwind-maint.exp: Update tests.
13254 2016-07-12 Yao Qi <yao.qi@linaro.org>
13256 * lib/selftest-support.exp (selftest_setup): Match the output
13257 when captured_main is inlined.
13259 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13261 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13263 (print this%a, print this%b, print this): New tests.
13264 * gdb.fortran/derived-types.f90 (this): New object and
13267 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13269 * gdb.ada/arraydim.exp: Remove extra directory level in build
13272 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
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.
13279 2016-07-06 Manish Goregaokar <manish@mozilla.com>
13281 * simple.rs: Add test for raw pointer subscripting.
13282 * simple.exp: Add test expectations.
13284 2016-07-05 Yao Qi <yao.qi@linaro.org>
13286 * gdb.mi/mi-reverse.exp: Match =record-started output.
13288 2016-07-01 Pedro Alves <palves@redhat.com>
13290 * gdb.base/jit-reader.exp (info_registers_current_frame): New
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
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.
13306 2016-07-01 Pedro Alves <palves@redhat.com>
13307 Antoine Tremblay <antoine.tremblay@ericsson.com>
13309 * gdb.threads/process-dies-while-detaching.c: New file.
13310 * gdb.threads/process-dies-while-detaching.exp: New file.
13312 2016-07-01 Pedro Alves <palves@redhat.com>
13314 * gdb.multi/watchpoint-multi-exit.c: New file.
13315 * gdb.multi/watchpoint-multi-exit.exp: New file.
13317 2016-06-30 Pedro Alves <palves@redhat.com>
13319 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13320 unset inferior_spawn_id.
13322 2016-06-30 Pedro Alves <palves@redhat.com>
13324 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13325 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13327 2016-06-29 Yao Qi <yao.qi@linaro.org>
13329 * gdb.base/return.c: Add copyright header.
13331 2016-06-29 Tom Tromey <tom@tromey.com>
13334 * gdb.python/py-framefilter.exp: Add tests for setting priority
13335 and disabling of non-existent frame filter.
13337 2016-06-29 Yao Qi <yao.qi@linaro.org>
13339 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13342 2016-06-28 Yao Qi <yao.qi@linaro.org>
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.
13348 2016-06-27 Manish Goregaokar <manish@mozilla.com>
13350 * gdb.rust/simple.rs: Add test for returning unit in a function.
13351 * gdb.rust/simple.exp: Add expectation for functions returning
13354 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
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.
13360 2016-06-25 Manish Goregaokar <manish@mozilla.com>
13363 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
13364 * gdb.rust/simple.exp: Add test expectations for new NonZero
13367 2016-06-24 David Taylor <dtaylor@emc.com>
13369 * gdb.base/offsets.exp: New file.
13370 * gdb.base/offsets.c: New file.
13372 2016-06-23 Tom Tromey <tom@tromey.com>
13375 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13376 before any filters are loaded.
13378 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
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
13383 * gdb.fortran/derived-type-function.exp: New file.
13384 * gdb.fortran/derived-type-function.f90: New file.
13387 2016-06-21 Pedro Alves <palves@redhat.com>
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.
13394 2016-06-21 Pedro Alves <palves@redhat.com>
13396 * gdb.mi/mi-exec-run.exp: New file.
13398 2016-06-21 Pedro Alves <palves@redhat.com>
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
13404 (top level): Use foreach_with_prefix to test MI as main UI and as
13407 2016-06-21 Pedro Alves <palves@redhat.com>
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
13415 (top level): Use foreach_with_prefix, and add main/separate UI MI
13418 2016-06-21 Pedro Alves <palves@redhat.com>
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
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
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.
13435 2016-06-21 Pedro Alves <palves@redhat.com>
13437 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13438 * gdb.opt/inline-cmds.exp: Add MI tests.
13440 2016-06-21 Pedro Alves <palves@redhat.com>
13442 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13444 2016-06-21 Pedro Alves <palves@redhat.com>
13446 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13447 (top level): Use it instead of mi_execute_to.
13449 2016-06-21 Pedro Alves <palves@redhat.com>
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
13455 (continue_handler): Set cont_handler_str instead of printing to
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
13462 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
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.
13470 2016-06-17 Yao Qi <yao.qi@linaro.org>
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.
13478 2016-06-17 Yao Qi <yao.qi@linaro.org>
13480 * gdb.base/step-over-exit.c: New.
13481 * gdb.base/step-over-exit.exp: New.
13483 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13485 * gdb.base/float.exp: Add target check for nds32*-*-*.
13486 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13488 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
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.
13510 2016-06-10 Tom Tromey <tom@tromey.com>
13513 * gdb.rust/expr.exp: Add test for integer constant larger than
13516 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13518 * gdb.fortran/nested-funcs.exp: New.
13519 * gdb.fortran/nested-funcs.f90: New.
13521 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13523 * gdb.base/examine-backward.c: New file.
13524 * gdb.base/examine-backward.exp: New file.
13526 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13528 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13531 2016-06-02 Tom Tromey <tom@tromey.com>
13534 * gdb.python/py-shared.exp: Add solib_name test.
13536 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13538 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13540 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
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.
13552 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13554 * gdb.trace/trace-condition.exp: Add 64bit tests.
13556 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13558 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13560 (main): Adapt to 8 to 64 bits types.
13561 * gdb.trace/trace-condition.exp: Add new tests.
13563 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13565 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13567 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13569 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13570 Move condition tests...
13571 * gdb.trace/trace-condition.exp: Here.
13573 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13575 * gdb.trace/trace-condition.exp: Add counter-case tests.
13577 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13580 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13581 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13583 2016-05-27 Pedro Alves <palves@redhat.com>
13585 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13587 (top level): Call it, and bail out of DejaGnu is known to be bad.
13589 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13591 * gdb.base/whatis.c: Extend the test case.
13592 * gdb.base/whatis.exp: Add additional tests.
13594 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13596 * gdb.fortran/type.f90: Add pointer variable.
13597 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13599 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13601 * gdb.fortran/vla-type.exp: Fix testcase name.
13603 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13605 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13607 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
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.
13614 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13616 * gdb.fortran/whatis_type.exp: Adapt expected output.
13618 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13620 * gdb.fortran/print_type.exp: Fix expected output.
13621 * gdb.fortran/whatis_type.exp: Fix expected output.
13623 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13625 * gdb.fortran/whatis_type.exp: Use multi_line.
13627 2016-05-24 Tom Tromey <tom@tromey.com>
13630 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13631 use value as an index.
13633 2016-05-23 Tom Tromey <tom@tromey.com>
13636 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13637 no-breakpoint case.
13639 2016-05-24 Pedro Alves <palves@redhat.com>
13642 * gdb.threads/clone-attach-detach.c: New file.
13643 * gdb.threads/clone-attach-detach.exp: New file.
13645 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13647 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13649 2016-05-23 Tom Tromey <tom@tromey.com>
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.
13655 2016-05-23 Yao Qi <yao.qi@linaro.org>
13657 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13658 * gdb.arch/thumb2-it.exp: Likewise.
13660 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13662 * gdb.mi/mi-threads-interrupt.c: New file.
13663 * gdb.mi/mi-threads-interrupt.exp: New file.
13665 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13668 * gdb.mi/mi-async-run.exp: New file.
13669 * gdb.mi/mi-async-run.c: New file.
13671 2016-05-17 Tom Tromey <tom@tromey.com>
13672 Manish Goregaokar <manishsmail@gmail.com>
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.
13689 2016-05-17 Tom Tromey <tom@tromey.com>
13691 * gdb.base/default.exp (set language): Add rust.
13693 2016-05-17 Tom Tromey <tom@tromey.com>
13695 * gdb.gdb/unittest.exp: New file.
13697 2016-05-16 Yao Qi <yao.qi@linaro.org>
13699 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13700 shell_prompt. Update shell_prompt_re.
13702 2016-05-12 Doug Evans <dje@google.com>
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.
13710 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13712 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
13713 of [is_remote target],
13715 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13717 * lib/gdb.exp (use_gdb_stub): New procedure.
13719 2016-05-03 Yunlian Jiang <yunlian@google.com>
13720 Doug Evans <dje@google.com>
13723 * gdb.dwarf2/dwp-sepdebug.c: New file.
13724 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13726 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13728 * gdb.base/detach.exp: Remove is_remote check.
13730 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
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.
13736 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13738 * gdb.trace/trace-enable-disable.exp: New file.
13739 * gdb.trace/trace-enable-disable.c: New file.
13741 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
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.
13752 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
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 ->
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.
13814 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
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.
13828 2016-04-27 Yao Qi <yao.qi@linaro.org>
13830 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13833 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13835 * vla-type.exp: Print structure from toplevel.
13837 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13839 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13841 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13844 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13846 * gdb.fortran/vla-type.f90: New file.
13847 * gdb.fortran/vla-type.exp: New file.
13849 2016-04-25 Yao Qi <yao.qi@linaro.org>
13851 * gdb.base/branch-to-self.c: New file.
13852 * gdb.base/branch-to-self.exp: New file.
13854 2016-04-22 Yao Qi <yao.qi@linaro.org>
13856 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13859 2016-04-22 Yao Qi <yao.qi@linaro.org>
13861 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13862 * gdb.base/annota3.exp: Likewise.
13864 2016-04-22 Yao Qi <yao.qi@linaro.org>
13866 * gdb.reverse/step-precsave.exp: Do one step and test program
13867 stops in "callee" and do multiple steps until program goes out
13869 * gdb.reverse/step-reverse.exp: Likewise.
13871 2016-04-22 Yao Qi <yao.qi@linaro.org>
13873 * gdb.trace/signal.exp: Also pass if
13874 $tracepoint_hits($i) > $iterations.
13876 2016-04-22 Yao Qi <yao.qi@linaro.org>
13878 * gdb.trace/signal.c: New file.
13879 * gdb.trace/signal.exp: New file.
13881 2016-04-19 Doug Evans <xdje42@gmail.com>
13883 * gdb.base/bad-file.exp: New file.
13885 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13887 * gdb.dwarf2/implref.exp: New file.
13889 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
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.
13902 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13904 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13906 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13908 * lib/compiler.c: Add Intel specific preprocessor macros.
13909 * lib/compiler.cc: Likewise.
13911 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
13913 * gdb.server/connect-with-no-symbol-file.c: New file.
13914 * gdb.server/connect-with-no-symbol-file.exp: New file.
13916 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13918 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13920 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13922 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13923 standard output directory.
13925 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13927 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13929 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13931 * gdb.btrace/instruction_history.c (loop): Add declaration.
13933 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13935 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13937 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13939 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13940 parentheses to print.
13941 (continue_handler): Likewise.
13943 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
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.
13950 2016-04-08 Pedro Alves <palves@redhat.com>
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.
13957 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13959 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13960 * gdb.base/jit-main.c: Use exit after usage.
13962 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13964 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13965 GDBHISTSIZE prior to the tests.
13966 * gdb.base/gdbinit-history.exp: Likewise.
13968 2016-04-07 Pedro Alves <palves@redhat.com>
13970 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13971 instead of build_executable. Use gdb_load_shlibs.
13973 2016-04-07 Yao Qi <yao.qi@linaro.org>
13975 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13976 Execute "si" command.
13978 2016-04-07 Yao Qi <yao.qi@linaro.org>
13980 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13981 number instead of the comments on some line.
13983 2016-04-06 Don Breazeal <donb@codesourcery.com>
13985 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13986 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13988 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13990 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13991 standard_output_file. Remove unused binfile variable.
13993 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
13995 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13996 * gdb.python/py-mi-objfile.exp: Match "list main" output
13999 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14001 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14004 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14006 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14008 * gdb.trace/ftrace.exp: Likewise.
14009 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
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.
14016 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
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
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.
14033 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14035 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14036 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14039 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
14042 * gdb.base/printcmds.exp: Add artificial arrays tests.
14044 2016-03-31 Pedro Alves <palves@redhat.com>
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):
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.
14059 2016-03-31 Pedro Alves <palves@redhat.com>
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.
14066 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
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.
14073 2016-03-30 Yao Qi <yao.qi@linaro.org>
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.
14080 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
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.
14089 2016-03-29 Yao Qi <yao.qi@linaro.org>
14091 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14093 2016-03-24 Yao Qi <yao.qi@linaro.org>
14095 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14098 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14100 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14101 maintaining separate logic for constructing the output path.
14103 2016-03-16 Don Breazeal <donb@codesourcery.com>
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.
14110 2016-03-15 Don Breazeal <donb@codesourcery.com>
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.
14121 2016-03-15 Doug Evans <dje@google.com>
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.
14127 2016-03-15 Doug Evans <dje@google.com>
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.
14132 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14134 * gdb.base/default.exp: Add $_as_string to the list of expected
14135 convenience functions.
14137 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14139 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14141 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14143 * gdb.python/py-as-string.exp: New file.
14144 * gdb.python/py-as-string.c: New file.
14146 2016-03-09 Pedro Alves <palves@redhat.com>
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.
14159 2016-03-09 Pedro Alves <palves@redhat.com>
14161 * gdb.base/command-line-input.exp: New file.
14163 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
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.
14171 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
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.
14176 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
14177 Marcin Kościelnicki <koriakin@0x04.net>
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.
14185 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14187 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14190 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
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.
14197 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14199 * analyze-racy-logs.py: Set executable bit.
14201 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
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.
14213 2016-03-03 Doug Evans <dje@google.com>
14215 * gdb.base/skip.exp: Use with_test_prefix.
14217 2016-03-03 Yao Qi <yao.qi@linaro.org>
14219 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14220 Invoke step_over_syscall "clone" and break_cond_on_syscall
14222 * gdb.base/step-over-clone.c: New file.
14224 2016-03-03 Yao Qi <yao.qi@linaro.org>
14226 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14229 2016-03-03 Yao Qi <yao.qi@linaro.org>
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.
14240 2016-03-03 Yao Qi <yao.qi@linaro.org>
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.
14246 2016-03-03 Yao Qi <yao.qi@linaro.org>
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
14253 2016-03-03 Yao Qi <yao.qi@linaro.org>
14255 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14258 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14261 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14263 * gdb.fortran/vla-history.exp: Remove breakpoint.
14265 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14267 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14270 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14272 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14275 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14277 * gdb.mi/vla.f90: Nullify pointer after declaration.
14279 2016-03-01 Pedro Alves <palves@redhat.com>
14281 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14283 2016-03-01 Pedro Alves <palves@redhat.com>
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
14289 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14290 before anything else.
14291 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14293 2016-03-01 Pedro Alves <palves@redhat.com>
14295 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14297 2016-03-01 Yao Qi <yao.qi@linaro.org>
14299 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14300 prepare_for_testing.
14302 2016-03-01 Yao Qi <yao.qi@linaro.org>
14304 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14306 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14308 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14309 manually constructing the output path.
14311 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14313 * gdb.arch/s390-stackless.S: New.
14314 * gdb.arch/s390-stackless.exp: New.
14316 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14318 * gdb.dlang/circular.c: New file.
14319 * gdb.dlang/circular.exp: New file.
14321 2016-02-26 Yao Qi <yao.qi@linaro.org>
14323 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14324 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14325 (testcases): Update.
14327 2016-02-26 Yao Qi <yao.qi@linaro.org>
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.
14334 2016-02-26 Yao Qi <yao.qi@linaro.org>
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.
14345 2016-02-25 Yao Qi <yao.qi@linaro.org>
14347 * gdb.base/branches.c: Remove.
14349 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14352 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14354 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14356 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14358 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14360 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14361 change x86_64 call_insn to 'callq'.
14363 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
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.
14370 2016-02-24 Gary Benson <gbenson@redhat.com>
14372 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14375 2016-02-23 Doug Evans <dje@google.com>
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.
14388 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14390 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14391 info registers pattern.
14393 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14395 * lib/future.exp: Add D support.
14396 (gdb_find_gdc): New proc.
14397 (gdb_default_target_compile): Add D support.
14399 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
14401 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14403 (trace_speed_test): Determine the iteration count for a time
14404 between 15..30 seconds.
14406 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
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.
14413 2016-02-18 Yao Qi <yao.qi@linaro.org>
14415 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14416 Don't call setup_kfail.
14418 2016-02-18 Yao Qi <yao.qi@linaro.org>
14420 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14421 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14423 2016-02-16 Doug Evans <dje@google.com>
14425 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14426 * gdb.base/skip1.c: Ditto.
14427 * gdb.base/skip.exp: Whitespace cleanup.
14429 2016-02-16 Don Breazeal <donb@codesourcery.com>
14432 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14433 Remove kfail for PR remote/19496.
14435 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14437 * lib/gdb.exp (standard_temp_file): Return a path specific to
14438 the runtest invocation.
14440 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14442 * gdb.trace/save-trace.exp: Change relative path to be in the
14443 standard output directory.
14445 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14447 * gdb.arch/i386-prologue.c: Add missing prototypes.
14449 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
14455 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
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
14461 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14462 standard_output_file to define binfile.
14464 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
14477 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14479 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14481 * gdb.fortran/vla-value-sub.exp: Likewise.
14483 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14485 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14487 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14489 * i386-biarch-core.exp: Define corefile using
14490 standard_output_file.
14492 2016-02-12 Yao Qi <yao.qi@linaro.org>
14494 * gdb.arch/arm-single-step-kernel-helper.c: New.
14495 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14497 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
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.
14504 2016-02-11 Pedro Alves <palves@redhat.com>
14506 * README (Parallel testing): Add missing double quotes.
14508 2016-02-11 Pedro Alves <palves@redhat.com>
14510 * README (Parallel testing): New section.
14511 (GDB_PARALLEL): Rewrite.
14512 (FORCE_PARALLEL): Document.
14514 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14516 * gdb.trace/tfile-avx.c: New test.
14517 * gdb.trace/tfile-avx.exp: New test.
14519 2016-02-09 Keith Seitz <keiths@redhat.com>
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.
14526 2016-02-09 Keith Seitz <keiths@redhat.com>
14528 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14529 (toplevel): Call test_bkpt_address.
14531 2016-02-09 Keith Seitz <keiths@redhat.com>
14534 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14535 (toplevel): Call test_bkpt_address.
14537 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14539 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14541 * configure: Regenerate.
14543 2016-02-09 Pedro Alves <palves@redhat.com>
14545 PR breakpoints/19548
14546 * gdb.base/execl-update-breakpoints.c (some_function): New
14549 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14550 Tighten expected GDB output.
14552 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
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
14593 (standard_output_file): Remove check for GDB_PARALLEL, always
14594 return path in outputs/$subdir/$testname.
14596 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14598 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14599 (site.exp): Assign abs_srcdir to tcl's srcdir.
14601 2016-02-04 Yao Qi <yao.qi@linaro.org>
14603 * gdb.base/foll-exec-mode.c: Include limits.h.
14604 (main): Add parameters argc and argv. Get directory from
14606 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
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
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
14623 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14625 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14626 (main): Add parameters argc and argv. Get directory from
14628 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14631 2016-02-01 Doug Evans <dje@google.com>
14633 * gdb.base/skip.exp: Clean up multiple references to same test name.
14635 2016-02-01 Pedro Alves <palves@redhat.com>
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.
14645 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
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.
14651 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
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.
14657 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14659 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14661 2016-01-28 Yao Qi <yao.qi@linaro.org>
14663 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14665 2016-01-25 Pedro Alves <palves@redhat.com>
14668 * gdb.base/fork-running-state.c: New file.
14669 * gdb.base/fork-running-state.exp: New file.
14671 2016-01-25 Pedro Alves <palves@redhat.com>
14674 * gdb.base/catch-fork-kill.c: New file.
14675 * gdb.base/catch-fork-kill.exp: New file.
14677 2016-01-25 Pedro Alves <palves@redhat.com>
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.
14687 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14689 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14690 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14692 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14694 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14697 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14698 Pedro Alves <palves@redhat.com>
14700 Fix testsuite compatibility with Guile.
14701 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14704 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
14710 2016-01-22 Yao Qi <yao.qi@linaro.org>
14713 * gdb.base/multi-forks.c: Include
14714 ../lib/unbuffer_output.c
14715 (main): Call gdb_unbuffer_output.
14717 2016-01-21 Doug Evans <dje@google.com>
14719 * lib/ada.exp (gdb_compile_ada): Fix typo.
14721 2016-01-21 Joel Brobecker <brobecker@adacore.com>
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.
14727 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
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
14733 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
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
14739 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14741 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14744 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14746 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14748 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14750 * Makefile.in (check-single): Pass --status to runtest.
14751 (check/%.exp): Likewise.
14753 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14755 * Makefile.in (check-parallel): Propagate return code from make
14758 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
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.
14764 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14766 * lib/gdb.exp (gdb_test): Remove unused global references.
14768 2016-01-18 Pedro Alves <palves@redhat.com>
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
14784 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14786 * gdb.threads/sigthread.exp: Adjust expected output.
14787 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14789 2016-01-18 Yao Qi <yao.qi@linaro.org>
14791 * gdb.guile/scm-section-script.c: Replace @progbits with
14793 * gdb.python/py-section-script.c: Likewise.
14795 2016-01-15 Pedro Alves <palves@redhat.com>
14797 * gdb.multi/tids.exp: Test star wildcard ranges.
14799 2016-01-15 Pedro Alves <palves@redhat.com>
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
14805 (top level): Add tests that use convenience variables. Add tests
14806 for "thread apply" with a valid TID list, but missing the command.
14808 2016-01-13 Pedro Alves <palves@redhat.com>
14810 * gdb.base/default.exp: Expect $_gthread as well.
14811 * gdb.multi/tids.exp: Test $_gthread.
14812 * gdb.threads/thread-specific.exp: Test $_gthread.
14814 2016-01-13 Pedro Alves <palves@redhat.com>
14816 * gdb.multi/tids.exp: Test "info threads -gid".
14818 2016-01-13 Pedro Alves <palves@redhat.com>
14820 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14822 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14824 2016-01-07 Pedro Alves <palves@redhat.com>
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.
14836 2016-01-13 Pedro Alves <palves@redhat.com>
14838 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14840 2016-01-13 Pedro Alves <palves@redhat.com>
14842 * gdb.base/default.exp: Expect $_inferior as well.
14843 * gdb.multi/base.exp: Test $_inferior.
14845 2016-01-13 Pedro Alves <palves@redhat.com>
14847 PR breakpoints/19388
14848 * gdb.base/catch-signal-siginfo-cond.c: New file.
14849 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14851 2016-01-12 Josh Stone <jistone@redhat.com>
14852 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
14860 2016-01-12 Pedro Alves <palves@redhat.com>
14862 * gdb.base/random-signal.exp (do_test): New procedure, with body
14863 of testcase moved in.
14865 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14866 Pedro Alves <palves@redhat.com>
14868 * gdb.base/funcargs.exp (finish from indirectly called function):
14869 Reintroduce the case for 'First'.
14871 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14872 Pedro Alves <palves@redhat.com>
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
14879 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
14887 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
14894 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14896 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14898 (SingleStatisticTestResult.report): Use dict.keys instead of
14901 2016-01-06 Pedro Alves <palves@redhat.com>
14903 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14905 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14907 * gdb.btrace/dlopen.exp: New.
14908 * gdb.btrace/dlopen.c: New.
14909 * gdb.btrace/dlopen-dso.c: New.
14911 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14913 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14914 PATTERN argument is optional.
14916 2015-12-24 Joel Brobecker <brobecker@adacore.com>
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
14923 * gdb.ada/small_reg_param.exp: Likewise.
14925 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14927 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14929 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14931 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14934 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14936 * gdb.base/break.exp: Remove dead code.
14937 * gdb.base/sepdebug.exp: Likewise.
14939 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
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.
14977 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
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.
15008 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15010 * configure.ac: Remove HP-UX case.
15011 * configure: Regenerate.
15013 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15015 * lib/gdb.exp (gdb_compile): Add function doc.
15017 2015-12-17 Pedro Alves <palves@redhat.com>
15020 * gdb.multi/info-threads.exp: New file.
15022 2015-12-15 Yao Qi <yao.qi@linaro.org>
15024 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15027 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15029 * gdb.base/history-duplicates.exp: Skip if no readline support.
15031 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15033 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15035 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15037 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15039 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
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.
15059 2015-12-11 Don Breazeal <donb@codesourcery.com>
15061 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
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
15076 * gdb.threads/fork-thread-pending.exp (main): Enable for target
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.
15085 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15087 * gdb.base/list.exp (test_list_forward): Add end of file error
15089 (test_repeat_list_command): Add end of file error test.
15090 (test_list_backwards): Add beginning of file error test.
15092 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15094 * gdb.base/list.exp (test_list_invalid_args): New function,
15095 defined, and called.
15097 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15099 * gdb.base/list.exp (test_list): Make test names unique.
15101 2015-12-11 Yao Qi <yao.qi@linaro.org>
15103 * gdb.base/coremaker2.c: Remove.
15105 2015-12-10 Pedro Alves <palves@redhat.com>
15107 * gdb.multi/base.exp: Remove stale "spaces" references.
15109 2015-12-10 Pedro Alves <palves@redhat.com>
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.
15119 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
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.
15129 2015-12-09 Kevin Buettner <kevinb@redhat.com>
15131 * gdb.base/async.exp (proc test_background): Add case for
15132 asynchronous execution not supported.
15134 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
15136 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15137 format and change test names to make them unique.
15139 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15140 Pedro Alves <pedro@redhat.com>
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.
15149 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15151 * gdb.ada/fun_overload_menu.exp: New testcase.
15152 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15154 2015-12-04 Josh Stone <jistone@redhat.com>
15156 * gdb.base/catch-fork-static.exp: New.
15158 2015-12-03 Yao Qi <yao.qi@linaro.org>
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
15166 (check_sizeof): Check the result by printing variable 'size'.
15167 (check_valueof): Check the result by printing variable 'value'.
15169 2015-12-01 Yao Qi <yao.qi@linaro.org>
15171 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15172 for aarch64*-*-linux* target.
15174 2015-11-30 Pedro Alves <palves@redhat.com>
15176 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15178 2015-11-30 Pedro Alves <palves@redhat.com>
15180 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15181 Handle non-stop mode vCont replies.
15183 2015-11-30 Pedro Alves <palves@redhat.com>
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.
15189 2015-11-27 Yao Qi <yao.qi@linaro.org>
15191 * gdb.arch/arm-neon.exp: New.
15192 * gdb.arch/arm-neon.c: New.
15194 2015-11-27 Yao Qi <yao.qi@linaro.org>
15196 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15198 2015-11-27 Yao Qi <yao.qi@linaro.org>
15200 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15201 frames-invalid annotation.
15203 2015-11-27 Yao Qi <yao.qi@linaro.org>
15205 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15207 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15209 * gdb.threads/names.exp: New file.
15210 * gdb.threads/names.c: New file.
15211 * README: Mention gdb,no_thread_names.
15213 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15216 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15219 2015-11-24 Pedro Alves <palves@redhat.com>
15222 * gdb.base/display.exp: Expect displays to be sorted in ascending
15223 order. Use multi_line.
15224 * gdb.base/solib-display.exp: Likewise.
15226 2015-11-24 Pedro Alves <palves@redhat.com>
15229 * gdb.base/display.exp: Expect displays to be sorted in ascending
15230 order. Use multi_line.
15231 * gdb.base/solib-display.exp: Likewise.
15233 2015-11-24 Pedro Alves <palves@redhat.com>
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.
15262 2015-11-24 Pedro Alves <palves@redhat.com>
15264 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15267 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
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.
15275 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
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.
15282 2015-11-23 Kevin Buettner <kevinb@redhat.com>
15284 * gdb.base/asmlabel.exp: New test.
15285 * gdb.base/asmlabel.c: New test case.
15287 2015-11-23 Joel Brobecker <brobecker@adacore.com>
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.
15293 2015-11-23 Joel Brobecker <brobecker@adacore.com>
15295 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15297 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
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.
15303 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15305 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
15307 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
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.
15314 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15316 * lib/dwarf.exp (_note): Fix left shift of negative value.
15317 * gdb.trace/trace-condition.exp: Likewise.
15319 2015-11-13 Yao Qi <yao.qi@linaro.org>
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
15327 * gdb.base/structs.exp (test_struct_returns): Remove the
15328 comments about d10v.
15329 (test_struct_calls): Likewise.
15331 2015-11-13 Yao Qi <yao.qi@linaro.org>
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.
15337 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15339 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15342 (func4): Use FAST_TRACEPOINT_LABEL.
15343 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15346 (thread_function): Use FAST_TRACEPOINT_LABEL.
15347 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
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.
15355 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15356 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
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
15364 (marker): Use FAST_TRACEPOINT_LABEL.
15365 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15367 (thread_function): Use FAST_TRACEPOINT_LABEL.
15369 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15371 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
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 $
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 $
15383 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15384 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15386 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15388 2015-11-09 Joel Brobecker <brobecker@adacore.com>
15390 * gdb.ada/fin_fun_out: New testcase.
15392 2015-11-07 Kevin Buettner <kevinb@redhat.com>
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
15400 2015-11-07 Kevin Buettner <kevinb@redhat.com>
15402 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15403 (gdb_target_symbol_prefix_flags): Define in terms of _asm
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.
15419 2015-11-05 Kevin Buettner <kevinb@redhat.com>
15421 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
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,
15433 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15435 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15436 table_1_ptr and table_2_ptr.
15438 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15439 Joel Brobecker <brobecker@adacore.com>
15441 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15443 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
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.
15449 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15451 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15453 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15455 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
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.
15464 2015-10-30 Yao Qi <yao.qi@linaro.org>
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.
15472 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
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.
15489 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15491 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15493 2015-10-26 Doug Evans <dje@google.com>
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.
15500 2015-10-26 Doug Evans <dje@google.com>
15503 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15506 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15508 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15509 for a change by "Mention language in compile error message".
15511 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15514 * gdb.python/py-type.c (C::a_method): New.
15515 (C::a_const_method): New.
15516 (C::a_static_method): New.
15518 * gdb.python/py-type.exp (test_fields): Test getting fields
15519 from function and method.
15521 2015-10-21 Keven Boell <keven.boell@intel.com>
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.
15539 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15541 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15542 of hardwired timeout value.
15544 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15545 Pedro Alves <palves@redhat.com>
15547 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15548 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15550 2015-10-19 Josh Stone <jistone@redhat.com>
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.
15570 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
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.
15577 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15579 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15582 2015-10-12 Yao Qi <yao.qi@linaro.org>
15584 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15586 2015-10-12 Yao Qi <yao.qi@linaro.org>
15588 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15589 is aarch64*-*-linux*.
15591 2015-10-12 Yao Qi <yao.qi@linaro.org>
15593 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15594 (can_relocate_bcond_true): ... it.
15595 (can_relocate_bcond_false): New function.
15597 (can_relocate_bl): Likewise.
15598 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15601 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15603 * gdb.base/nested-addr.c: New file.
15604 * gdb.base/nested-addr.exp: New testcase.
15606 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
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.
15613 2015-10-09 Pedro Alves <palves@redhat.com>
15615 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15616 (top level): Use it in the run with no args test.
15618 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15620 * gdb.dlang/properties.exp: New file.
15622 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15624 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15625 whether or not address 0x1000 is mapped on the target.
15627 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15629 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15632 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15634 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15635 instruction-history test.
15637 2015-09-28 Doug Evans <dje@google.com>
15639 * gdb.base/gcore.c (array_func): Add reference to static_array.
15641 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15643 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15646 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15648 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15649 short or char as base type.
15651 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15653 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15654 to allow any size enum.
15656 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
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.
15662 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15664 * gdb.trace/ftrace-lock.c: New file.
15665 * gdb.trace/ftrace-lock.exp: New file.
15667 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15669 * gdb.arch/insn-reloc.c: New file.
15670 * gdb.arch/ftrace-insn-reloc.exp: New file.
15672 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15674 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
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
15687 2015-09-18 Doug Evans <xdje42@gmail.com>
15689 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15690 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15692 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15694 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15697 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
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.
15703 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15705 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15708 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15710 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15711 in breakpoint filename pattern.
15713 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15715 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15717 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15719 * gdb.linespec/explicit.exp: Check for readline support for
15720 tab-completion tests. Fix obvious typo.
15722 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15724 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15727 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15729 * gdb.btrace/non-stop.c: New.
15730 * gdb.btrace/non-stop.exp: New.
15732 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15733 Yao Qi <yao.qi@linaro.org>
15735 * gdb.trace/trace-condition.c: New file.
15736 * gdb.trace/trace-condition.exp: New file.
15738 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
15740 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15741 for testing bytecode compilation.
15743 2015-09-16 Pedro Alves <palves@redhat.com>
15744 Sandra Loosemore <sandra@codesourcery.com>
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
15751 (test): If the target can't hardware step and doesn't support
15752 displaced stepping, increase the timeout.
15754 2015-09-16 Pedro Alves <palves@redhat.com>
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.
15761 2015-09-16 Yao Qi <yao.qi@linaro.org>
15763 * gdb.asm/asm-source.exp: Set asm-arch for
15764 aarch64*-*-* target.
15765 * gdb.asm/aarch64.inc: New file.
15767 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
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.
15774 2015-09-15 Doug Evans <dje@google.com>
15776 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15777 of function static local variable.
15779 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
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.
15785 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
15791 2015-09-15 Pedro Alves <palves@redhat.com>
15793 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15794 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15796 2015-09-14 Pedro Alves <palves@redhat.com>
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.
15805 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
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.
15812 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15814 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15817 2015-09-11 Don Breazeal <donb@codesourcery.com>
15819 * gdb.base/foll-exec.c: Add copyright header. Fix
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.
15834 2015-09-09 Doug Evans <dje@google.com>
15836 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15838 2015-09-09 Doug Evans <dje@google.com>
15840 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15842 2015-09-09 Doug Evans <dje@google.com>
15844 * gdb.base/savedregs.exp: Fix typo.
15846 2015-09-09 Pedro Alves <palves@redhat.com>
15848 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15850 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
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.
15856 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15858 * gdb.ada/funcall_char.exp: New testcase.
15859 * gdb.ada/funcall_char/foo.adb: New file.
15861 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15863 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15864 expected outputs. Add two testcases for completing ambiguous
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.
15873 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15875 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15876 failures to run the test program under GDB.
15878 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
15880 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15883 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15885 * gdb.base/run-after-attach.exp: New test file.
15886 * gdb.base/run-after-attach.c: New test file.
15888 2015-08-26 Don Breazeal <donb@codesourcery.com>
15890 * gdb.base/foll-exec-2.c: New test program.
15891 * gdb.base/foll-exec-2.exp: New test.
15893 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
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.
15902 2015-08-24 Pedro Alves <palves@redhat.com>
15904 * gdb.server/connect-without-multi-process.c: New file.
15905 * gdb.server/connect-without-multi-process.exp: New file.
15907 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
15909 * gdb.opt/inline-markers.c: Make z int.
15911 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
15913 * gdb.opt/inline-markers.c: Make z volatile.
15915 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
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.
15922 (inline_fn): Likewise.
15924 2015-08-24 Pedro Alves <palves@redhat.com>
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
15932 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15934 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
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
15941 2015-08-21 Gary Benson <gbenson@redhat.com>
15943 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15945 2015-08-20 Pedro Alves <palves@redhat.com>
15947 * gdb.server/solib-list.exp: No longer expect an interior stop in
15950 2015-08-20 Pedro Alves <palves@redhat.com>
15952 * gdb.server/connect-stopped-target.c: New file.
15953 * gdb.server/connect-stopped-target.exp: New file.
15955 2015-08-20 Pedro Alves <palves@redhat.com>
15957 * gdb.dwarf2/comp-unit-lang.exp: New file.
15958 * gdb.dwarf2/comp-unit-lang.c: New file.
15960 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15962 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15963 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15965 2015-08-19 Kevin Buettner <kevinb@redhat.com>
15967 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15968 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15970 2015-08-18 Doug Evans <dje@google.com>
15971 Adrian Sendroiu <adrian.sendroiu@freescale.com>
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.
15981 2015-08-17 Keith Seitz <keiths@redhat.com>
15983 * gdb.linespec/explicit.exp: Move strace test from here ...
15984 * gdb.trace/strace.exp: ... to here.
15986 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15988 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15989 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15991 2015-08-14 Doug Evans <xdje42@gmail.com>
15993 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15994 inferior before selecting a new file.
15996 2015-08-14 Doug Evans <xdje42@gmail.com>
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.
16004 2015-08-14 Keith Seitz <keiths@redhat.com>
16006 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16009 2015-08-13 Joel Brobecker <brobecker@adacore.com>
16011 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16013 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
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.
16020 2015-08-12 Keith Seitz <keiths@redhat.com>
16022 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16023 gdb_get_line_number.
16025 2015-08-12 Joel Brobecker <brobecker@adacore.com>
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.
16031 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16032 Pedro Alves <palves@redhat.com>
16033 Keith Seitz <keiths@redhat.com>
16035 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16038 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16040 * gdb.base/gdbhistsize-history.exp
16041 (test_histsize_history_setting): Use save_vars.
16042 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16044 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16045 * gdb.base/readline.exp: Use save_vars.
16047 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16049 * lib/gdb.exp (save_vars): New proc.
16051 2015-08-11 Keith Seitz <keiths@redhat.com>
16053 * gdb.base/help.exp: Update help_breakpoint_text.
16055 2015-08-11 Keith Seitz <keiths@redhat.com>
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
16061 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16062 breakpoint conditions, "-cond".
16064 2015-08-11 Keith Seitz <keiths@redhat.com>
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.
16077 2015-08-11 Keith Seitz <keiths@redhat.com>
16079 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16081 Add tests for missing ",FMT" and ",".
16083 2015-08-10 Doug Evans <dje@google.com>
16084 Keith Seitz <keiths@redhat.com>
16087 * gdb.base/completion.exp: Add location completer tests.
16089 2015-08-07 Pedro Alves <palves@redhat.com>
16091 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16093 (top level): Run do_test with and without displaced stepping.
16095 2015-08-07 Pedro Alves <palves@redhat.com>
16097 * gdb.base/valgrind-disp-step.c: New file.
16098 * gdb.base/valgrind-disp-step.exp: New file.
16100 2015-08-07 Pedro Alves <palves@redhat.com>
16102 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16104 (main): Add alarm. Run an infinite loop instead of calling
16106 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16108 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16110 (main): Add alarm. Run an infinite loop instead of calling
16112 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16115 2015-08-07 Pedro Alves <palves@redhat.com>
16117 * gdb.base/checkpoint-ns.exp: New file.
16118 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16121 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
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.
16128 2015-08-06 Pedro Alves <palves@redhat.com>
16130 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16132 * gdb.reverse/until-precsave.exp: Bump timeouts.
16134 2015-08-06 Pedro Alves <palves@redhat.com>
16136 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16138 2015-08-06 Pedro Alves <palves@redhat.com>
16141 * gdb.threads/process-dies-while-handling-bp.c: New file.
16142 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16144 2015-08-06 Pedro Alves <palves@redhat.com>
16146 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16147 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16149 2015-08-05 Pedro Alves <palves@redhat.com>
16151 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16152 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16154 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16156 * gdb.base/bp-permanent.exp: Report test as unsupported if
16157 the target cannot stop at the permanent breakpoint.
16159 2015-08-03 Doug Evans <dje@google.com>
16161 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16164 2015-08-03 Doug Evans <dje@google.com>
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
16175 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16177 2015-08-03 Doug Evans <dje@google.com>
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.
16189 2015-07-31 Pedro Alves <palves@redhat.com>
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
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
16227 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16229 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16230 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16233 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16235 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16237 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16240 2014-05-21 Mark Wielaard <mjw@redhat.com>
16242 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16244 2015-07-30 Pedro Alves <palves@redhat.com>
16246 * linux-low.c (handle_extended_wait): Set the child's last
16247 reported status to TARGET_WAITKIND_STOPPED.
16249 2015-07-30 Pedro Alves <palves@redhat.com>
16252 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16253 only shows inferior 1.
16255 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16256 Pedro Alves <palves@redhat.com>
16259 * gdb.threads/fork-plus-threads.c: New file.
16260 * gdb.threads/fork-plus-threads.exp: New file.
16262 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16264 * gdb.base/batch-preserve-term-settings.exp
16265 (test_terminal_settings_preserved_after_cli_exit): Use
16268 2015-07-29 Pedro Alves <palves@redhat.com>
16269 Don Breazeal <donb@codesourcery.com>
16271 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16272 output from both inferior_spawn_id and gdb_spawn_id.
16274 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16276 * gdb.threads/attach-into-signal.exp (corefunc): Use
16277 with_test_prefix on nested loops, uniquefying the test messages.
16279 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16281 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16284 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16286 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16288 (test_terminal_settings_preserved_after_sigterm): New test.
16290 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16292 * gdb.base/batch-preserve-term-settings.exp
16293 (test_terminal_settings_preserved_after_cli_exit): New test.
16295 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
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
16304 2015-07-29 Pedro Alves <palves@redhat.com>
16306 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16308 2015-07-29 Pedro Alves <palves@redhat.com>
16310 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16313 2015-07-29 Pedro Alves <palves@redhat.com>
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 ...
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.
16346 2015-07-29 Pedro Alves <palves@redhat.com>
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.
16355 2015-07-29 Pedro Alves <palves@redhat.com>
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
16361 (mi_gdb_test): Always expect inferior output from both
16362 $inferior_spawn_id and $gdb_spawn_id.
16364 2015-07-29 Pedro Alves <palves@redhat.com>
16366 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16367 send_inferior and $inferior_spawn_id.
16369 2015-07-29 Pedro Alves <palves@redhat.com>
16371 * gdb.gdb/complaints.exp (test_initial_complaints)
16372 (test_serial_complaints, test_short_complaints): Use
16374 (test_empty_complaint): Handle $inferior_spawn_id !=
16377 2015-07-29 Pedro Alves <palves@redhat.com>
16379 * gdb.base/varargs.exp: Use gdb_test_stdio.
16381 2015-07-29 Pedro Alves <palves@redhat.com>
16383 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16385 2015-07-29 Pedro Alves <palves@redhat.com>
16387 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16389 2015-07-29 Pedro Alves <palves@redhat.com>
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.
16396 2015-07-29 Pedro Alves <palves@redhat.com>
16398 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16399 of gdb_test_sequence.
16401 2015-07-29 Pedro Alves <palves@redhat.com>
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.
16407 2015-07-29 Pedro Alves <palves@redhat.com>
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.
16417 2015-07-29 Pedro Alves <palves@redhat.com>
16419 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16421 2015-07-29 Pedro Alves <palves@redhat.com>
16423 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16425 2015-07-29 Pedro Alves <palves@redhat.com>
16427 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16430 2015-07-29 Pedro Alves <palves@redhat.com>
16432 * lib/gdb.exp (gdb_test_stdio): New procedure.
16434 2015-07-29 Pedro Alves <palves@redhat.com>
16436 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16438 2015-07-29 Pedro Alves <palves@redhat.com>
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.
16446 2015-07-29 Pedro Alves <palves@redhat.com>
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.
16453 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16455 * gdb.python/py-objfile.exp: Make some tests have unique names.
16456 * gdb.python/py-pp-registration.exp: Likewise.
16458 2015-07-28 Pedro Alves <palves@redhat.com>
16460 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16462 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16464 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16466 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16468 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16470 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16472 * gdb.base/gdb-sigterm-2.exp: New test.
16474 2015-07-25 Doug Evans <xdje42@gmail.com>
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
16486 (standard_temp_file): Ditto.
16487 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16490 2015-07-24 Doug Evans <dje@google.com>
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.
16523 2015-07-24 Doug Evans <dje@google.com>
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.
16529 2015-07-24 Doug Evans <dje@google.com>
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.
16541 2015-07-24 Doug Evans <dje@google.com>
16543 * lib/gdb.exp (clean_restart): Make executable optional.
16545 2015-07-24 Doug Evans <dje@google.com>
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.
16555 2015-07-24 Doug Evans <dje@google.com>
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
16566 (standard_temp_file): Ditto.
16567 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16570 2015-07-24 Doug Evans <dje@google.com>
16572 * lib/future.exp (gdb_default_target_compile): New option
16574 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16577 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16579 * gdb.base/catch-syscall.exp: Call gdb_exit before
16582 2015-07-24 Pedro Alves <palves@redhat.com>
16584 * gdb.python/py-events.exp: Accept output between the stop event
16586 * gdb.python/py-evsignal.exp: Likewise.
16587 * gdb.python/py-evthreads.exp: Likewise.
16589 2015-07-24 Pedro Alves <palves@redhat.com>
16592 * gdb.threads/non-ldr-exit.c: New file.
16593 * gdb.threads/non-ldr-exit.exp: New file.
16595 2015-07-24 Yao Qi <yao.qi@linaro.org>
16597 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16598 restarting process.
16600 2015-07-24 Yao Qi <yao.qi@linaro.org>
16602 * gdb.server/ext-restart.exp: New file.
16604 2015-07-24 Yao Qi <yao.qi@linaro.org>
16606 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16608 * gdb.server/ext-wrapper.exp: New file.
16610 2015-07-23 Doug Evans <dje@google.com>
16612 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16613 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16615 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
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.
16622 2015-07-20 Joel Brobecker <brobecker@adacore.com>
16624 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16626 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16628 * gdb.arch/i386-biarch-core.exp: Replace istarget
16629 by "complete set gnutarget". Remove expectation for the "core-file"
16632 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16634 Revert the previous commit:
16635 Tests for validate symbol file using build-id.
16637 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
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.
16645 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16647 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16649 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16650 * gdb.base/siginfo.exp: Likewise.
16651 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16653 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16655 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16657 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16659 * gdb.trace/range-stepping.exp: Check that the target supports
16662 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16664 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16666 2015-07-14 Pedro Alves <palves@redhat.com>
16668 * gdb.base/killed-outside.exp: New file.
16669 * gdb.base/killed-outside.c: New file.
16671 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16673 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16675 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16677 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16679 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16680 infcall tests instead of setting up for KFAIL.
16682 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16684 * gdb.btrace/record_goto-step.exp: New.
16686 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16689 * gdb.compile/compile.c (struct struct_type): Add volatile to
16691 * gdb.compile/compile.exp
16692 (compile code struct_object.selffield = &struct_object): Skip further
16693 struct_object tests if this one xfails.
16695 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
16698 * gdb.trace/ax.exp: Add test.
16700 2015-07-07 Yao Qi <yao.qi@linaro.org>
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.
16709 2015-07-07 Yao Qi <yao.qi@linaro.org>
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.
16721 2015-07-07 Yao Qi <yao.qi@linaro.org>
16723 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16724 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16726 2015-07-07 Yao Qi <yao.qi@linaro.org>
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}
16731 * gdb.multi/multi-arch.exp: Likewise.
16733 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16735 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16738 2015-07-07 Yao Qi <yao.qi@linaro.org>
16740 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16742 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16744 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16745 '[' and ']' characters.
16747 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16749 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16751 2015-06-29 Pedro Alves <palves@redhat.com>
16754 * gdb.threads/hand-call-new-thread.c: New file.
16755 * gdb.threads/hand-call-new-thread.c: New file.
16757 2015-06-26 Keith Seitz <keiths@redhat.com>
16758 Doug Evans <dje@google.com>
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.
16767 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16769 * gdb.base/history-duplicates.exp: New test.
16771 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16773 * gdb.base/completion.exp: Test the completion of the "focus"
16776 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16778 * gdb.arch/amd64-prologue-skip.S: New file.
16779 * gdb.arch/amd64-prologue-skip.exp: New file.
16781 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16783 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16784 is_address_zero_readable check.
16786 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16788 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16789 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16791 2015-06-24 Yao Qi <yao.qi@linaro.org>
16793 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16796 2015-06-24 Yao Qi <yao.qi@linaro.org>
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.
16802 2015-06-22 Yao Qi <yao.qi@linaro.org>
16804 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16806 2015-06-22 Yao Qi <yao.qi@linaro.org>
16808 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16810 (skip_hw_watchpoint_tests): Likewise.
16812 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16814 * gdb.base/gdbinit-history.exp: Test the interaction between
16815 setting GDBHISTSIZE and setting the history size via .gdbinit.
16817 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16820 * gdb.base/gdbhistsize-history.exp: New test.
16822 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16824 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16826 * gdb.base/readline.exp: Likewise.
16828 2015-06-17 Yao Qi <yao.qi@linaro.org>
16830 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16833 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16835 * gdb.base/gdbinit-history.exp: Add test case to check that
16836 an unlimited history file does not get truncated on exit.
16838 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
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".
16854 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16856 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16857 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16859 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16861 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
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.
16868 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16869 Mircea Gherzan <mircea.gherzan@intel.com>
16871 * gdb.arch/i386-mpx-map.c: New file.
16872 * gdb.arch/i386-mpx-map.exp: New File.
16874 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16876 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16877 * gdb.arch/i386-mpx.exp: Indentation fixed.
16879 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
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.
16886 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16888 * gdb.arch/i386-avx512.c: Change path in include file.
16889 * gdb.arch/i386-avx512.exp: Change include dir path
16891 * gdb.arch/i386-mpx.c: Change path in include file.
16892 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16895 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16897 * gdb.compile/compile-print.exp (compile print *vararray@3)
16898 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16900 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
16907 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16910 * gdb.mi/mi-detach.exp: New file.
16912 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
16919 2015-05-28 Don Breazeal <donb@codesourcery.com>
16921 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16922 tests for remote targets by checking is_target_gdbserver.
16924 2015-05-27 Doug Evans <dje@google.com>
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.
16930 2015-05-26 Doug Evans <dje@google.com>
16932 * gdb.cp/iostream.cc: New file.
16933 * gdb.cp/iostream.exp: New file.
16935 2015-05-26 Doug Evans <dje@google.com>
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.
16942 2015-05-26 Doug Evans <dje@google.com>
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.
16951 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
16952 Yao Qi <yao.qi@linaro.org>
16954 * gdb.reverse/aarch64.c: New.
16955 * gdb.reverse/aarch64.exp: New.
16957 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
16959 * lib/gdb.exp (supports_process_record): Return true for
16961 (supports_reverse): Likewise.
16963 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16965 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16966 Use with_test_prefix.
16968 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16970 * gdb.base/completion.exp: Add test for completion of layout
16973 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16975 * lib/gdb.exp (skip_tui_tests): New proc.
16976 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16978 2015-05-19 Pedro Alves <palves@redhat.com>
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
16985 2015-05-16 Doug Evans <xdje42@gmail.com>
16987 * gdb.guile/scm-ports.c: New file.
16988 * gdb.guile/scm-ports.exp: Add memory port tests.
16990 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16992 * gdb.compile/compile-print.c: New file.
16993 * gdb.compile/compile-print.exp: New file.
16995 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
17001 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17003 * gdb.ada/arr_enum_with_gap: New testcase.
17005 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17007 * gdb.ada/byte_packed_arr: New testcase.
17009 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17011 * gdb.ada/pckd_neg: New testcase.
17013 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
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.
17020 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
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
17026 (B_indexoper): Likewise.
17027 (global_dm_list) : Add new xmethod worker functions.
17029 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17031 * gdb.base/coredump-filter.exp: Correctly unset
17032 "coredump_var_addr" array.
17034 2015-05-08 Pedro Alves <palves@redhat.com>
17036 * gdb.server/non-existing-program.exp: Unset spawn_id.
17038 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17041 * gdb.python/py-xmethods.exp: Add tests.
17043 2015-05-08 Yao Qi <yao.qi@linaro.org>
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.
17052 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17054 * gdb.base/watch_thread_num.exp: Skip test on targets without
17055 access watchpoints.
17057 2015-05-06 Pedro Alves <palves@redhat.com>
17060 * gdb.server/non-existing-program.exp: New file.
17062 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17064 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17066 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17068 * gdb.ada/out_of_line_in_inlined: New testcase.
17070 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17072 * gdb.ada/var_rec_arr: New testcase.
17074 2015-04-30 Yao Qi <yao.qi@linaro.org>
17076 * gdb.base/break-idempotent.exp: If
17077 skip_hw_watchpoint_multi_tests returns true, skip the tests
17078 on "rwatch" and "awatch".
17080 2015-04-30 Yao Qi <yao.qi@linaro.org>
17082 * gdb.base/relativedebug.exp: Invoke gdb command
17083 "info sharedlibrary", and if libc.so doesn't have debug info,
17086 2015-04-29 Doug Evans <dje@google.com>
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.
17092 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
17094 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17095 the target does not support hardware watchpoints.
17097 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
17099 * gdb.base/break-always.exp: Abort testing if writing to memory
17102 2015-04-28 Doug Evans <dje@google.com>
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.
17109 2015-04-28 Doug Evans <dje@google.com>
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.
17115 2015-04-28 Sasha Smundak <asmundak@google.com>
17117 * gdb.python/py-type.exp: New test.
17119 2015-04-28 Andy Wingo <wingo@igalia.com>
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.
17126 2015-04-27 Joel Brobecker <brobecker@adacore.com>
17128 * gdb.ada/rec_comp: New testcase.
17130 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17132 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17135 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17137 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17138 new tests for verilog output.
17140 2015-04-24 Yao Qi <yao.qi@linaro.org>
17142 * boards/remote-gdbserver-on-localhost.exp: New file.
17144 2015-04-23 Pedro Alves <palves@redhat.com>
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.
17150 2015-04-23 Pedro Alves <palves@redhat.com>
17152 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17154 2015-04-23 Pedro Alves <palves@redhat.com>
17156 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17157 on $any_spawn_id instead of only on $gdb_spawn_id.
17159 2015-04-21 Pierre Muller <muller@sourceware.org>
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.
17167 2015-04-20 Gary Benson <gbenson@redhat.com>
17169 * gdb.base/attach.exp: Fix three extended remote failures.
17171 2015-04-17 Gary Benson <gbenson@redhat.com>
17173 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17174 the main executable over the remote protocol.
17176 2015-04-16 Pedro Alves <palves@redhat.com>
17178 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17179 a new gdbserver if gdbserver_reconnect_p is set.
17181 2015-04-16 Pedro Alves <palves@redhat.com>
17183 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17184 is set, don't exit gdbserver.
17186 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
17193 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
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
17208 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
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.
17216 2015-04-15 Yao Qi <yao.qi@linaro.org>
17218 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17219 of ":$ptr_size" and set its form explicitly.
17221 2015-04-15 Pedro Alves <palves@redhat.com>
17222 Yao Qi <yao.qi@linaro.org>
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.
17234 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
17236 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17238 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
17240 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17241 to write to the .text section.
17243 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
17245 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17246 Handle the case of targets that do not provide PID information.
17248 2015-04-13 Yao Qi <yao.qi@linaro.org>
17250 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17251 and use expect instead of gdb_expect.
17253 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17255 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17256 "coredump_var_addr" to avoid naming conflict with other testcases.
17258 2015-04-10 Pedro Alves <palves@redhat.com>
17260 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17261 gdb_test_sequence and gdb_assert.
17263 2015-04-10 Pedro Alves <palves@redhat.com>
17265 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17266 test messages that don't include the breakpoint address.
17268 2015-04-10 Yao Qi <yao.qi@linaro.org>
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.
17274 2015-04-10 Pedro Alves <palves@redhat.com>
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
17284 2015-04-10 Pedro Alves <palves@redhat.com>
17286 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
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.
17293 2015-04-10 Pedro Alves <palves@redhat.com>
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.
17303 2015-04-10 Pedro Alves <palves@redhat.com>
17306 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17308 2015-04-10 Yao Qi <yao.qi@linaro.org>
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.
17315 2015-04-10 Pedro Alves <palves@redhat.com>
17318 * gdb.base/step-over-no-symbols.exp: New file.
17320 2015-04-09 Andy Wingo <wingo@igalia.com>
17322 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17323 after the Python tests.
17325 2015-04-08 Keith Seitz <keiths@redhat.com>
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.
17337 2015-04-08 Pedro Alves <palves@redhat.com>
17341 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
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
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.
17352 2015-04-08 Pedro Alves <palves@redhat.com>
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.
17360 2015-04-07 Pedro Alves <palves@redhat.com>
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.
17366 2015-04-07 Pedro Alves <palves@redhat.com>
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
17375 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17377 2015-04-07 Pedro Alves <palves@redhat.com>
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
17384 (close_gdbserver): New procedure.
17385 (gdb_exit): Rename the default version and reimplement.
17387 2015-04-07 Pedro Alves <palves@redhat.com>
17389 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
17390 append the substituted item, not the original item.
17392 2015-04-07 Pedro Alves <palves@redhat.com>
17394 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17397 2015-04-07 Pedro Alves <palves@redhat.com>
17399 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17400 output appearing once only.
17402 2015-04-07 Pedro Alves <palves@redhat.com>
17404 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17405 that doesn't expect anything. Return early if running to main
17408 2015-04-07 Yao Qi <yao.qi@linaro.org>
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.
17416 2015-04-06 Doug Evans <xdje42@gmail.com>
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.
17423 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17425 * gdb.ada/funcall_ref.exp: New file.
17426 * gdb.ada/funcall_ref/foo.adb: New file.
17428 2015-04-02 Yao Qi <yao.qi@linaro.org>
17430 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17433 2015-04-02 Gary Benson <gbenson@redhat.com>
17435 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17437 2015-04-01 Sasha Smundak <asmundak@google.com>
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.
17446 2015-04-01 Pedro Alves <palves@redhat.com>
17448 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17449 to fail instead of non-existent $test.
17451 2015-04-01 Pedro Alves <palves@redhat.com>
17453 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17454 GDBFLAGS if not empty.
17456 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
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
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.
17479 2015-04-01 Pedro Alves <palves@redhat.com>
17481 * gdb.threads/tid-reuse.c: New file.
17482 * gdb.threads/tid-reuse.exp: New file.
17484 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17487 * gdb.base/coredump-filter.c: New file.
17488 * gdb.base/coredump-filter.exp: Likewise.
17490 2015-03-27 Petr Machata <pmachata@redhat.com>
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.
17497 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17499 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17500 SYMBOL_PREFIX for x86_64-*-cygwin.
17502 2015-03-26 Andy Wingo <wingo@igalia.com>
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.
17510 2015-03-26 Yao Qi <yao.qi@linaro.org>
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.
17518 2015-03-26 Yao Qi <yao.qi@linaro.org>
17520 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17522 (func): Likewise. Add .Lfunc_1 label.
17523 Use .Lfunc_1 label.
17524 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17527 Use .Lfunc_1 label.
17529 2015-03-26 Yao Qi <yao.qi@linaro.org>
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
17535 2015-03-26 Yao Qi <yao.qi@linaro.org>
17537 * gdb.base/savedregs.exp (process_saved_regs): Make
17538 "Saved registers:" optional in the pattern.
17540 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
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.
17565 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17567 * gdb.btrace/exception.exp: Increase BTS buffer size.
17569 2015-03-24 Pedro Alves <palves@redhat.com>
17571 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17573 2015-03-24 Pedro Alves <palves@redhat.com>
17575 * gdb.threads/schedlock.exp (test_step): No longer expect that
17576 "set scheduler-locking step" with "next" over a function call runs
17579 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17581 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17583 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
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.
17594 2015-03-23 Keith Seitz <keiths@redhat.com>
17596 * gdb.linespec/keywords.c: New file.
17597 * gdb.linespec/keywords.exp: New file.
17599 2015-03-23 Keith Seitz <keiths@redhat.com>
17602 * gdb.dwarf2/staticvirtual.exp: New test.
17604 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17606 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17607 * README: Remove HP-UX and gdb.hp.
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.
17679 2015-03-19 Pedro Alves <palves@redhat.com>
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
17685 (no thread starvation): New test.
17687 2015-03-19 Pedro Alves <palves@redhat.com>
17689 * gdb.threads/continue-pending-status.c: New file.
17690 * gdb.threads/continue-pending-status.exp: New file.
17692 2015-03-18 Pedro Alves <palves@redhat.com>
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
17701 2015-03-18 Yao Qi <yao.qi@linaro.org>
17704 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
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*
17710 (setup_all_syscalls): New proc.
17712 2015-03-16 Yao Qi <yao.qi@linaro.org>
17714 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17715 (top level): Skip tests if valid_addr_p returns false for
17718 2015-03-11 Andy Wingo <wingo@igalia.com>
17720 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17722 2015-03-11 Yao Qi <yao.qi@linaro.org>
17724 * gdb.base/catch-syscall.exp: Fix typo in comments.
17726 2015-03-11 Yao Qi <yao.qi@linaro.org>
17728 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17730 2015-03-09 Pedro Alves <palves@redhat.com>
17732 * dg-extract-results.py: Delete.
17734 2015-03-09 Pedro Alves <palves@redhat.com>
17736 Merge dg-extract-results.sh from GCC upstream (r218843).
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.
17742 2015-03-05 Pedro Alves <palves@redhat.com>
17744 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17746 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17748 * lib/mi-support.exp (mi_expect_interrupt): Accept
17749 alternative event for when in all-stop mode.
17751 2015-03-04 Pedro Alves <palves@redhat.com>
17753 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17755 2015-03-04 Mark Kettenis <kettenis@gnu.org>
17757 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17759 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
17765 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17767 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17768 the 'arch1' variable for "s390*-linux*" targets.
17770 2015-03-04 Pedro Alves <palves@redhat.com>
17772 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17773 (main): Pass missing retval argument to pthread_join call.
17775 2015-03-02 Pedro Alves <palves@redhat.com>
17777 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17778 (top level): Call do_test with non-stop as well.
17780 2015-03-02 Pedro Alves <palves@redhat.com>
17782 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17785 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17787 * gdb.arch/s390-vregs.exp: New test.
17788 * gdb.arch/s390-vregs.S: New file.
17790 2015-02-27 Pedro Alves <palves@redhat.com>
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.
17797 2015-02-27 Pedro Alves <palves@redhat.com>
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
17804 2015-02-27 Pedro Alves <palves@redhat.com>
17806 * lib/unbuffer_output.c: New file.
17807 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17808 (main): Call gdb_unbuffer_output.
17810 2015-02-27 Yao Qi <yao.qi@linaro.org>
17812 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17815 2015-02-26 Doug Evans <dje@google.com>
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.
17824 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17826 * gdb.compile/compile-ifunc.c: New file.
17827 * gdb.compile/compile-ifunc.exp: New file.
17829 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17831 * gdb.base/structs.exp: Check for correct struct on finish.
17833 2015-02-26 Yao Qi <yao.qi@linaro.org>
17835 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17838 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
17844 2015-02-25 Yao Qi <yao.qi@linaro.org>
17846 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17847 aarch64*-*-* target.
17849 2015-02-23 Pedro Alves <palves@redhat.com>
17851 * lib/gdb.exp (delete_breakpoints): Rewrite using
17854 2015-02-23 Pedro Alves <palves@redhat.com>
17856 * gdb.base/info-os.c: Include stdlib.h.
17858 2015-02-22 Doug Evans <xdje42@gmail.com>
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.
17866 2015-02-21 Doug Evans <dje@google.com>
17868 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17870 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17873 * gdb.arch/i386-biarch-core.core.bz2: New file.
17874 * gdb.arch/i386-biarch-core.exp: New file.
17876 2015-02-21 Pedro Alves <palves@redhat.com>
17878 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17881 2015-02-20 Pedro Alves <palves@redhat.com>
17883 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17886 2015-02-20 Pedro Alves <palves@redhat.com>
17888 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17890 2015-02-20 Pedro Alves <palves@redhat.com>
17892 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17893 clean_restart before gdb_target_supports_trace.
17895 2015-02-20 Pedro Alves <palves@redhat.com>
17898 * gdb.threads/clone-thread_db.c: New file.
17899 * gdb.threads/clone-thread_db.exp: New file.
17901 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17903 PR breakpoints/16812
17904 * gdb.base/catch-gdb-caused-signals.c: New file.
17905 * gdb.base/catch-gdb-caused-signals.exp: New file.
17907 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17909 * configure: Regenerated.
17910 * configure.ac: Use GDB_AC_TRANSFORM.
17911 * aclocal.m4: sinclude ../transform.m4.
17913 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
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.
17924 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
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.
17930 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17932 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17934 2015-02-11 Pedro Alves <pedro@codesourcery.com>
17936 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17937 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17939 2015-02-10 Doug Evans <xdje42@gmail.com>
17941 * lib/gdb.exp (gdb_load): Always return a result.
17943 2015-02-10 Pedro Alves <palves@redhat.com>
17945 * gdb.threads/signal-sigtrap.c: New file.
17946 * gdb.threads/signal-sigtrap.exp: New file.
17948 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17950 * gdb.trace/no-attach-trace.c: New file.
17951 * gdb.trace/no-attach-trace.exp: New file.
17953 2015-02-09 Mark Wielaard <mjw@redhat.com>
17955 * gdb.dwarf2/atomic.c: New file.
17956 * gdb.dwarf2/atomic-type.exp: Likewise.
17958 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
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.
17971 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17973 * gdb.btrace/buffer-size: New.
17975 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
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.
17987 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17990 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17992 2015-02-06 Pedro Alves <palves@redhat.com>
17994 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
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
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.
18005 2015-02-06 Pedro Alves <palves@redhat.com>
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.
18018 2015-02-04 Don Breazeal <donb@codesourcery.com>
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.
18026 2015-02-04 Pedro Alves <palves@redhat.com>
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.
18032 2015-01-31 Doug Evans <xdje42@gmail.com>
18034 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18036 2015-01-31 Gary Benson <gbenson@redhat.com>
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.
18042 2015-01-31 Doug Evans <xdje42@gmail.com>
18044 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18046 2015-01-31 Doug Evans <xdje42@gmail.com>
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.
18057 2015-01-29 Joel Brobecker <brobecker@adacore.com>
18059 * gdb.ada/disc_arr_bound: New testcase.
18061 2015-01-29 Joel Brobecker <brobecker@adacore.com>
18063 * gdb.ada/mi_var_array: New testcase.
18065 2015-01-27 Doug Evans <dje@google.com>
18067 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18068 Add test for objfile.filename, objfile.username after objfile
18071 2015-01-26 Joel Brobecker <brobecker@adacore.com>
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.
18078 2015-01-25 Mark Wielaard <mjw@redhat.com>
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.
18101 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18103 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18104 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18106 2015-01-15 Mark Wielaard <mjw@redhat.com>
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.
18113 2015-01-23 Pedro Alves <palves@redhat.com>
18115 * gdb.threads/continue-pending-after-query.c: New file.
18116 * gdb.threads/continue-pending-after-query.exp: New file.
18118 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18119 Simon Marchi <simon.marchi@ericsson.com>
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.
18130 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18132 * gdb.compile/compile.exp (pointer to jit function): New test.
18134 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
18136 * lib/gdb.exp (supports_process_record): Return true for
18138 (supports_reverse): Likewise.
18140 2015-01-15 Don Breazeal <donb@codesourcery.com>
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.
18147 2015-01-15 Joel Brobecker <brobecker@adacore.com>
18149 * gdb.ada/var_arr_attrs: New testcase.
18151 2015-01-14 Pedro Alves <palves@redhat.com>
18152 Joel Brobecker <brobecker@adacore.com>
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.
18159 2015-01-14 Pedro Alves <palves@redhat.com>
18162 * gdb.base/batch-preserve-term-settings.c: New file.
18163 * gdb.base/batch-preserve-term-settings.exp: New file.
18165 2015-01-13 Doug Evans <dje@google.com>
18167 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18170 2015-01-13 Joel Brobecker <brobecker@adacore.com>
18172 * Makefile.in (clean mostlyclean): Do not delete *.py.
18174 2015-01-13 Joel Brobecker <brobecker@adacore.com>
18176 * gdb.python/py-lookup-type.exp: New file.
18178 2015-01-12 Pedro Alves <palves@redhat.com>
18180 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18181 restore GDBFLAGS before returning.
18183 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18185 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18186 is_amd64_regs_target and is_x86_like_target.
18188 2015-01-11 Doug Evans <xdje42@gmail.com>
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
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.
18199 2015-01-11 Doug Evans <xdje42@gmail.com>
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.
18207 2015-01-09 Pedro Alves <palves@redhat.com>
18209 * gdb.threads/non-stop-fair-events.c: New file.
18210 * gdb.threads/non-stop-fair-events.exp: New file.
18212 2015-01-09 Pedro Alves <palves@redhat.com>
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
18220 (main): Use threads_started_barrier to wait for all threads to
18221 start. Main thread no longer calls thread_function. Exit after
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.
18230 2015-01-09 Pedro Alves <palves@redhat.com>
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
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):
18241 (thread1_func, thread2_func): Wait on barrier.
18242 (main): Wait for all threads to start before stopping GDB.
18244 2015-01-09 Pedro Alves <palves@redhat.com>
18246 * gdb.threads/attach-many-short-lived-threads.c: New file.
18247 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18249 2014-01-09 Pedro Alves <palves@redhat.com>
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
18256 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18257 Set a break on thread_function and have the child threads hit it
18260 2015-01-09 Pedro Alves <palves@redhat.com>
18262 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18263 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
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.
18274 2015-01-08 Yao Qi <yao@codesourcery.com>
18276 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18278 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18280 Fix testcase compilation.
18281 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18283 2015-01-06 Joel Brobecker <brobecker@adacore.com>
18285 * gdb.python/py-type.exp: Add a couple test about empty
18286 array creation, and negative-length array creation.
18288 2015-01-02 Doug Evans <xdje42@gmail.com>
18290 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18292 2015-01-02 Doug Evans <dje@google.com>
18294 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18296 2014-12-29 Yao Qi <yao@codesourcery.com>
18298 * gdb.trace/entry-values.exp: Update comments. Rename variable
18299 bar_call_foo to returned_from_foo.
18301 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
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.
18309 2014-12-18 Nigel Stephens <nigel@mips.com>
18310 Maciej W. Rozycki <macro@codesourcery.com>
18312 * gdb.base/float.exp: Handle the new output from "info float" on
18315 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
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".
18326 2014-12-16 Doug Evans <xdje42@gmail.com>
18328 * boards/stabs.exp: New file.
18330 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18332 * gdb.base/completion.exp: Adjust to format changes of "maint
18333 print user-registers".
18335 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
18338 * gdb.arch/aarch64-fp.c: New file.
18339 * gdb.arch/aarch64-fp.exp: New file.
18341 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18343 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18344 r210637, r210913, r211666, r215400, r215817).
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
18351 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18353 * dg-extract-results.py (parse_run): Handle warnings that
18354 are printed before a test harness is run.
18356 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18358 * dg-extract-results.py (Named): Remove __cmp__ method.
18359 (output_variation): Use a key to sort variation.harnesses.
18361 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
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.
18368 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18370 * dg-extract-results.py (Prog.result_re): Include options
18373 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18375 * dg-extract-results.py (output_variation): Always sort if
18378 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18380 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18381 as long as we get pagination notifications.
18383 2014-12-15 Jason Merrill <jason@redhat.com>
18385 * Makefile.in (check-gdb.%): Restore.
18386 * README: Mention it.
18388 2014-12-13 Joel Brobecker <brobecker@adacore.com>
18390 * gdb.ada/str_uninit: New testcase.
18392 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
18399 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18400 Jan Kratochvil <jan.kratochvil@redhat.com>
18401 Tom Tromey <tromey@redhat.com>
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.
18422 2014-12-12 Tom Tromey <tromey@redhat.com>
18424 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18425 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18427 2014-12-12 Doug Evans <dje@google.com>
18429 * lib/gdb-python.exp (get_python_valueof): New function.
18430 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18432 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18434 * gdb.base/completion.exp: Add test for completion of "info
18437 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18439 * gdb.base/func-ptrs.c: New file.
18440 * gdb.base/func-ptrs.exp: New file.
18442 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18444 PR breakpoints/17012
18445 * gdb.base/dprintf-detach.c: New file.
18446 * gdb.base/dprintf-detach.exp: New file.
18448 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18450 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18451 * lib/gdb.exp (target_is_gdbserver): New procedure.
18453 2014-12-08 Doug Evans <dje@google.com>
18455 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18457 2014-12-05 Yao Qi <yao@codesourcery.com>
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.
18464 2014-12-05 Yao Qi <yao@codesourcery.com>
18466 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18468 2014-12-04 Doug Evans <dje@google.com>
18470 * gdb.python/py-objfile.exp: Add tests for
18471 objfile.add_separate_debug_file.
18473 2014-12-04 Doug Evans <dje@google.com>
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.
18479 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
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.
18491 2014-12-02 Doug Evans <dje@google.com>
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.
18498 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
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.
18506 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18512 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18514 * gdb.python/python.exp: Change expected reply to help().
18516 2014-12-01 Yao Qi <yao@codesourcery.com>
18518 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18519 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18520 * configure: Re-generated.
18522 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
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".
18528 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
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.
18539 2014-11-28 Yao Qi <yao@codesourcery.com>
18541 * gdb.base/break-probes.exp: Match library name prefixed with
18544 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
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.
18550 2014-11-26 Doug Evans <dje@google.com>
18552 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18554 2014-11-22 Yao Qi <yao@codesourcery.com>
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.
18564 2014-11-22 Yao Qi <yao@codesourcery.com>
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.
18570 2014-11-21 Joel Brobecker <brobecker@adacore.com>
18572 * gdb.ada/n_arr_bound: New testcase.
18574 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
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.
18581 2014-11-20 Doug Evans <xdje42@gmail.com>
18583 * gdb.base/maint.exp: Update expected output.
18585 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18587 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18588 4-byte instruction on S390.
18590 2014-11-19 Joel Brobecker <brobecker@adacore.com>
18592 * gdb.ada/arr_arr: New testcase.
18594 2014-11-19 Joel Brobecker <brobecker@adacore.com>
18596 * gdb.ada/pkd_arr_elem: New Testcase.
18598 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
18600 * gdb.reverse/break-precsave: Expect completion message for
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.
18612 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18619 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18621 * gdb.mi/until.c: Add eye-catchers.
18622 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18625 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18635 2014-11-17 Petr Machata <pmachata@redhat.com>
18637 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18638 ${_cu_offset_size} bytes abbrev offset.
18640 2014-11-15 Doug Evans <xdje42@gmail.com>
18643 * gdb.base/line-symtabs.exp: New file.
18644 * gdb.base/line-symtabs.c: New file.
18645 * gdb.base/line-symtabs.h: New file.
18647 2014-11-14 Yao Qi <yao@codesourcery.com>
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.
18655 2014-11-14 Yao Qi <yao@codesourcery.com>
18657 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18658 Replace name, low_pc and high_pc with MACRO_AT_func.
18660 2014-11-14 Yao Qi <yao@codesourcery.com>
18662 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18663 produce debug information.
18664 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18666 2014-11-14 Yao Qi <yao@codesourcery.com>
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.
18676 2014-11-14 Yao Qi <yao@codesourcery.com>
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.
18683 2014-11-14 Yao Qi <yao@codesourcery.com>
18685 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18686 (_handle_attribute): New procedure.
18688 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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
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.
18732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18734 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
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.
18781 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18783 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18785 * gdb.base/sepdebug.exp: Drop references to removed code.
18787 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18789 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18790 variant. Preserve original line numbering.
18791 * gdb.base/list1.c: Likewise.
18793 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18795 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18797 * gdb.base/break1.c: Likewise.
18798 * gdb.base/break.exp: Drop references to removed code.
18800 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18802 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18805 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18807 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18809 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18818 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18834 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18836 * gdb.base/shr2.c: Add eye-catcher.
18837 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18840 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18842 * gdb.base/jump.c: Add eye-catchers.
18843 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18846 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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
18853 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18871 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18878 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
18884 2014-11-12 Pedro Alves <palves@redhat.com>
18886 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18889 2014-11-12 Pedro Alves <palves@redhat.com>
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.
18900 2014-11-10 Doug Evans <xdje42@gmail.com>
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.
18908 2014-11-07 Pedro Alves <palves@redhat.com>
18911 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18914 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18917 * gdb.cp/pr17494.cc: New file.
18918 * gdb.cp/pr17494.exp: New file.
18920 2014-11-02 Yao Qi <yao@codesourcery.com>
18922 * gdb.python/python.exp: Get working directory and match the
18923 output of "set extended-prompt \\w " with it.
18925 2014-10-30 Doug Evans <dje@google.com>
18927 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18929 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18932 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
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.
18938 2014-10-29 Pedro Alves <palves@redhat.com>
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
18953 (list_count): Delete global.
18954 (check_result): New procedure, factored out from duplicate top
18956 (continue tests): Wrap in with_test_prefix.
18957 (test_step): New procedure, factored out from duplicate top level
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
18963 * gdb.threads/next-bp-other-thread.c: New file.
18964 * gdb.threads/next-bp-other-thread.exp: New file.
18966 2014-10-29 Pedro Alves <palves@redhat.com>
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.
18973 2014-10-29 Yao Qi <yao@codesourcery.com>
18975 * gdb.base/fileio.exp: Make directories on host.
18977 2014-10-29 Yao Qi <yao@codesourcery.com>
18979 * gdb.base/fileio.c (test_write): Close the file.
18981 2014-10-28 Pedro Alves <palves@redhat.com>
18984 * gdb.base/sigstep.c (no_handler): New global.
18985 (main): If 'no_handler is true, set the signal handlers to
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.
18995 2014-10-28 Pedro Alves <palves@redhat.com>
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.
19007 2014-10-28 Pedro Alves <palves@redhat.com>
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
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.
19029 2014-10-28 Pedro Alves <palves@redhat.com>
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.
19037 2014-10-27 Pedro Alves <palves@redhat.com>
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
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.
19048 2014-10-27 Yao Qi <yao@codesourcery.com>
19050 * gdb.trace/tfile.c (adjust_function_address)
19051 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19052 function descriptor.
19054 2014-10-24 Don Breazeal <donb@codesourcery.com>
19056 * gdb.base/foll-fork.exp (test_follow_fork,
19057 catch_fork_child_follow): Check for updated fork messages emitted
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.
19064 2014-10-24 Pedro Alves <palves@redhat.com>
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.
19075 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19077 * gdb.cp/non-trivial-retval.cc: Add a test case.
19078 * gdb.cp/non-trivial-retval.exp: Add a test.
19080 2014-10-20 Yao Qi <yao@codesourcery.com>
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.
19088 2014-10-20 Yao Qi <yao@codesourcery.com>
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.
19113 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
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.
19122 2014-10-18 Yao Qi <yao@codesourcery.com>
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]
19129 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19130 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19133 2014-10-17 Doug Evans <dje@google.com>
19135 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19137 * gdb.python/py-events.py: Add clear_objfiles event.
19139 2014-10-17 Doug Evans <dje@google.com>
19141 * gdb.python/py-objfile.exp: Test progspace attribute.
19143 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
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.
19166 2014-10-17 Yao Qi <yao@codesourcery.com>
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.
19171 2014-10-17 Pedro Alves <palves@redhat.com>
19174 * gdb.base/bg-execution-repeat.c: New file.
19175 * gdb.base/bg-execution-repeat.exp: New file.
19177 2014-10-17 Pedro Alves <palves@redhat.com>
19180 * gdb.base/continue-all-already-running.c: New file.
19181 * gdb.base/continue-all-already-running.exp: New file.
19183 2014-10-17 Pedro Alves <palves@redhat.com>
19186 * gdb.base/annota-input-while-running.c: New file.
19187 * gdb.base/annota-input-while-running.exp: New file.
19189 2014-10-17 Pedro Alves <palves@redhat.com>
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.
19202 2014-10-17 Yao Qi <yao@codesourcery.com>
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'.
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.
19218 2014-10-16 Yao Qi <yao@codesourcery.com>
19220 * gdb.base/remotetimeout.exp: Remove noargs checking.
19222 2014-10-15 Pedro Alves <palves@redhat.com>
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
19233 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19235 * gdb.dlang/demangle.exp: Update for demangling changes.
19237 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19239 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19240 * gdb.cp/non-trivial-retval.exp: Add new tests.
19242 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19246 * gdb.cp/non-trivial-retval.cc: New file.
19247 * gdb.cp/non-trivial-retval.exp: New file.
19249 2014-10-15 Yao Qi <yao@codesourcery.com>
19251 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19254 2014-10-15 Yao Qi <yao@codesourcery.com>
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.
19261 2014-10-15 Yao Qi <yao@codesourcery.com>
19263 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19265 * gdb.python/py-symtab.exp: Likewise.
19266 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19269 2014-10-14 Joel Brobecker <brobecker@adacore.com>
19271 * gdb.ada/addr_arith: New testcase.
19273 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
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.
19280 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
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.
19286 2014-10-14 Yao Qi <yao@codesourcery.com>
19288 * gdb.mi/mi-var-child.c (nothing1): New function.
19289 (nothing2): New function.
19290 (do_children_tests): Set function pointers by nothing1 and
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
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.
19302 2014-10-14 Yao Qi <yao@codesourcery.com>
19304 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19306 * gdb.mi/mi2-var-child.exp: Likewise.
19308 2014-10-13 Doug Evans <dje@google.com>
19310 * gdb.python/py-objfile.exp: Change name of file name test.
19312 2014-10-13 Doug Evans <dje@google.com>
19314 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19315 from the start of the CU.
19317 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19318 Yao Qi <yao@codesourcery.com>
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.
19324 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
19330 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19332 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19334 2014-10-11 Yao Qi <yao@codesourcery.com>
19336 * gdb.server/server-kill.exp: Execute command
19337 "set remote trace-status-packet on" before "tstatus".
19339 2014-10-11 Yao Qi <yao@codesourcery.com>
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".
19346 2014-10-11 Yao Qi <yao@codesourcery.com>
19348 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19350 2014-10-11 Yao Qi <yao@codesourcery.com>
19352 * gdb.threads/thread-find.exp: Don't execute command
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.
19358 2014-10-10 Pedro Alves <palves@redhat.com>
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.
19368 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19369 Pedro Alves <palves@redhat.com>
19372 * gdb.base/vdso-warning.c: New file.
19373 * gdb.base/vdso-warning.exp: New file.
19375 2014-10-02 Doug Evans <dje@google.com>
19377 * gdb.base/structs.c (main): Don't run forever.
19379 2014-10-02 Pedro Alves <palves@redhat.com>
19381 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19382 (top level) <stop threads 1, stop threads 2>: Use it.
19384 2014-10-02 Pedro Alves <palves@redhat.com>
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.
19390 2014-10-02 Pedro Alves <palves@redhat.com>
19392 PR breakpoints/17431
19393 * gdb.base/execl-update-breakpoints.c: New file.
19394 * gdb.base/execl-update-breakpoints.exp: New file.
19396 2014-10-01 Pedro Alves <palves@redhat.com>
19398 * gdb.base/breakpoint-in-ro-region.c: New file.
19399 * gdb.base/breakpoint-in-ro-region.exp: New file.
19401 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19403 * gdb.mi/mi-exit-code.exp: New file.
19404 * gdb.mi/mi-exit-code.c: New file.
19406 2014-09-30 Yao Qi <yao@codesourcery.com>
19408 * lib/prelink-support.exp (build_executable_own_libs): Error if
19409 the target isn't native.
19411 2014-09-30 Yao Qi <yao@codesourcery.com>
19413 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19416 2014-09-22 Pedro Alves <palves@redhat.com>
19418 * gdb.threads/break-while-running.exp: New file.
19419 * gdb.threads/break-while-running.c: New file.
19421 2014-09-19 Yao Qi <yao@codesourcery.com>
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.
19426 2014-09-19 Yao Qi <yao@codesourcery.com>
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.
19433 2014-09-18 Doug Evans <dje@google.com>
19435 * gdb.dwarf2/symtab-producer.exp: New file.
19437 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
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.
19444 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19445 Pedro Alves <palves@redhat.com>
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.
19455 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19457 PR breakpoints/12526
19458 * gdb.base/watch-bitfields.exp: New file.
19459 * gdb.base/watch-bitfields.c: New file.
19461 2014-09-16 Pedro Alves <palves@redhat.com>
19463 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19464 software and hardware addresses, not software address against
19467 2014-09-16 Pedro Alves <palves@redhat.com>
19469 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19470 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19472 2014-09-16 Pedro Alves <palves@redhat.com>
19474 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
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
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.
19490 2014-09-16 Yao Qi <yao@codesourcery.com>
19492 * boards/local-remote-host-native.exp: New file.
19494 2014-09-14 Doug Evans <xdje42@gmail.com>
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.
19501 2014-09-13 Doug Evans <xdje42@gmail.com>
19503 * gdb.threads/queue-signal.c: New file.
19504 * gdb.threads/queue-signal.exp: New file.
19506 2014-09-13 Doug Evans <xdje42@gmail.com>
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.
19514 2014-09-12 Pedro Alves <palves@redhat.com>
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.
19538 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19541 * gdb.arch/powerpc-stackless.S: New file.
19542 * gdb.arch/powerpc-stackless.exp: New file.
19544 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
19552 2014-09-11 Pedro Alves <palves@redhat.com>
19555 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19556 * gdb.base/attach.exp (test_command_line_attach_run): New
19558 (top level): Call it.
19560 2014-09-11 Pedro Alves <palves@redhat.com>
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.
19571 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19573 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19574 command in testcase. Simplify testcase.
19576 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19578 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19580 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19582 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19584 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19586 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19588 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19590 * gdb.dwarf2/dynarr-ptr.c: New file.
19591 * gdb.dwarf2/dynarr-ptr.exp: New file.
19593 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
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.
19600 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
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.
19610 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
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.
19616 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
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
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.
19627 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19629 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19630 120 on waiting for the TCP socket to open.
19632 2014-09-09 Doug Evans <xdje42@gmail.com>
19634 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19635 _caller_matches, _any_caller_is, _any_caller_matches.
19637 2014-09-09 Doug Evans <xdje42@gmail.com>
19639 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19641 2014-09-09 Yao Qi <yao@codesourcery.com>
19643 * gdb.mi/mi-var-display.exp: Set print symbol off.
19645 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
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`.
19655 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
19663 2014-09-06 Doug Evans <xdje42@gmail.com>
19666 * gdb.python/py-caller-is.c: New file.
19667 * gdb.python/py-caller-is.exp: New file.
19669 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19672 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19673 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19675 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19678 * gdb.fortran/print-formatted.exp: New file.
19679 * gdb.fortran/print-formatted.f90: Likewise.
19681 2014-09-03 Sasha Smundak <asmundak@google.com>
19683 * gdb.python/py-frame.exp: Test Frame.read_register.
19685 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19688 * gdb.python/py-completion.exp: New file.
19689 * gdb.python/py-completion.py: Likewise.
19691 2014-08-28 Doug Evans <dje@google.com>
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
19696 * gdb.arch/i386-pseudo.c (main): Ditto.
19698 2014-08-27 Doug Evans <dje@google.com>
19700 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19702 2014-08-25 Doug Evans <dje@google.com>
19704 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19707 2014-08-25 Doug Evans <dje@google.com>
19709 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19711 2014-08-24 Yao Qi <yao@codesourcery.com>
19713 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19715 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19717 2014-08-22 Doug Evans <dje@google.com>
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.
19724 2014-08-22 Yao Qi <yao@codesourcery.com>
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.
19731 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19733 * gdb.threads/gcore-stale-thread.c: New file.
19734 * gdb.threads/gcore-stale-thread.exp: New file.
19736 2014-08-21 Pedro Alves <palves@redhat.com>
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".
19746 2014-08-20 Pedro Alves <palves@redhat.com>
19747 Jan Kratochvil <jan.kratochvil@redhat.com>
19749 * Makefile.in (EXTRA_RULES, CC): New variables, get from
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.
19762 2014-08-20 Joel Brobecker <brobecker@adacore.com>
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.
19768 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
19769 Pedro Alves <palves@redhat.com>
19773 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19776 2014-08-19 Pedro Alves <palves@redhat.com>
19778 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19780 2014-08-19 Yao Qi <yao@codesourcery.com>
19782 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19785 2014-08-18 David Blaikie <dblaikie@gmail.com>
19787 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19789 2014-08-18 Joel Brobecker <brobecker@adacore.com>
19791 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19792 attribute in array range.
19794 2014-08-18 Joel Brobecker <brobecker@adacore.com>
19796 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19798 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19801 * gdb.cp/pr17132.cc: New file.
19802 * gdb.cp/pr17132.exp: New file.
19804 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
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.
19811 2014-08-15 Yao Qi <yao@codesourcery.com>
19813 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19816 2014-08-15 Yao Qi <yao@codesourcery.com>
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.
19823 2014-08-11 Doug Evans <dje@google.com>
19825 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19826 (test_load_shlib): Update.
19828 2014-08-09 Yao Qi <yao@codesourcery.com>
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.
19845 2014-08-09 Yao Qi <yao@codesourcery.com>
19848 * gdb.mi/mi-var-display.exp: Make test messages unique.
19850 2014-08-04 Tom Tromey <tromey@redhat.com>
19852 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19855 2014-08-04 Tom Tromey <tromey@redhat.com>
19857 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19860 2014-08-01 Joel Brobecker <brobecker@adacore.com>
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
19867 2014-07-30 Pedro Alves <palves@redhat.com>
19869 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19872 2014-07-29 Yao Qi <yao@codesourcery.com>
19875 * gdb.base/until-nodebug.exp: New.
19877 2014-07-28 Doug Evans <xdje42@gmail.com>
19880 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19881 previously existing parameter, and previously ambiguously spelled
19884 2014-07-28 Will Newton <will.newton@linaro.org>
19886 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19888 2014-07-26 Ludovic Courtès <ludo@gnu.org>
19889 Doug Evans <xdje42@gmail.com>
19892 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19894 2014-07-25 Pedro Alves <palves@redhat.com>
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.
19903 2014-07-25 Pedro Alves <palves@redhat.com>
19905 * gdb.base/double-prompt-target-event-error.exp
19906 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19908 (cancel_pagination_in_target_event): Rework double prompt
19910 * gdb.base/paginate-after-ctrl-c-running.exp
19911 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19913 * gdb.base/paginate-bg-execution.exp
19914 (test_bg_execution_pagination_return)
19915 (test_bg_execution_pagination_cancel): Remove '-notransfer
19917 * gdb.base/paginate-execution-startup.exp
19918 (test_fg_execution_pagination_return)
19919 (test_fg_execution_pagination_cancel): Remove '-notransfer
19921 * gdb.base/paginate-inferior-exit.exp
19922 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19924 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19925 * lib/gdb.exp (pagination_prompt): Run text through
19927 (gdb_test_multiple): Match $pagination_prompt instead of
19929 (string_to_regexp): Move to lib/gdb-utils.exp.
19931 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
19940 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19943 * gdb.base/statistics.exp: New file.
19945 2014-07-17 Doug Evans <dje@google.com>
19948 * gdb.base/maint.exp: Update testing of per-command stats.
19950 2014-07-16 Pedro Alves <palves@redhat.com>
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.
19967 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19969 * gdb.base/debug-expr.exp: Test string evaluation with
19970 "debug expression" on.
19972 2014-07-15 Pedro Alves <palves@redhat.com>
19974 * gdb.base/reread.exp: Use clean_restart.
19976 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19978 * gdb.arch/avr-flash-qualifer.c: New.
19979 * gdb.arch/avr-flash-qualifer.exp: New.
19981 2014-07-14 Pedro Alves <palves@redhat.com>
19983 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19984 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19986 2014-07-14 Pedro Alves <palves@redhat.com>
19988 * gdb.base/double-prompt-target-event-error.c: New file.
19989 * gdb.base/double-prompt-target-event-error.exp: New file.
19991 2014-07-14 Pedro Alves <palves@redhat.com>
19994 * gdb.base/paginate-inferior-exit.c: New file.
19995 * gdb.base/paginate-inferior-exit.exp: New file.
19997 2014-07-14 Pedro Alves <palves@redhat.com>
20000 * gdb.base/paginate-bg-execution.c: New file.
20001 * gdb.base/paginate-bg-execution.exp: New file.
20003 2014-07-14 Pedro Alves <palves@redhat.com>
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
20011 (default_gdb_start): Adjust to call default_gdb_spawn.
20012 (gdb_spawn): New procedure.
20014 2014-07-14 Pedro Alves <palves@redhat.com>
20016 * lib/gdb.exp (gdb_assert): New procedure.
20017 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20019 2014-07-14 Pedro Alves <palves@redhat.com>
20021 * gdb.base/execution-termios.c: New file.
20022 * gdb.base/execution-termios.exp: New file.
20024 2014-07-14 Tom Tromey <tromey@redhat.com>
20026 * gdb.cp/vla-cxx.cc: New file.
20027 * gdb.cp/vla-cxx.exp: New file.
20029 2014-07-14 Tom Tromey <tromey@redhat.com>
20031 * gdb.reverse/rerun-prec.c: New file.
20032 * gdb.reverse/rerun-prec.exp: New file.
20034 2014-07-12 Maciej W. Rozycki <macro@mips.com>
20035 Maciej W. Rozycki <macro@codesourcery.com>
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'.
20044 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
20050 2014-07-11 Yao Qi <yao@codesourcery.com>
20052 * gdb.base/exprs.exp: "set print symbol off".
20054 2014-07-11 Pedro Alves <palves@redhat.com>
20056 * gdb.threads/kill.c: New file.
20057 * gdb.threads/kill.exp: New file.
20059 2014-07-10 Yao Qi <yao@codesourcery.com>
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.
20065 2014-07-09 Pedro Alves <palves@redhat.com>
20067 * gdb.base/attach-wait-input.exp: New file.
20068 * gdb.base/attach-wait-input.c: New file.
20070 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
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
20079 2014-07-02 Yao Qi <yao@codesourcery.com>
20081 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20082 'bar_start' at the beginning of functions 'foo' and 'bar'
20084 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20085 instead of 'foo' and 'bar'.
20087 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20089 * gdb.btrace/segv.exp: New.
20090 * gdb.btrace/segv.c: New.
20092 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
20094 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20097 2014-06-30 Mark Wielaard <mjw@redhat.com>
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
20105 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20107 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20108 target lacks support for awatch, rwatch, or hbreak.
20110 2014-06-27 Yao Qi <yao@codesourcery.com>
20112 * gdb.multi/dummy-frame-restore.exp: New.
20113 * gdb.multi/dummy-frame-restore.c: New.
20115 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20117 * gdb.btrace/gcore.exp: New.
20119 2014-06-23 Pedro Alves <palves@redhat.com>
20121 * gdb.base/watchpoint-reuse-slot.c: New file.
20122 * gdb.base/watchpoint-reuse-slot.exp: New file.
20124 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20126 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20127 progspace's filename in 'info', 'enable' and 'disable' command
20130 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
20136 2014-06-20 Gary Benson <gbenson@redhat.com>
20138 * gdb.arch/i386-avx.exp: Fix include file location.
20139 * gdb.arch/i386-sse.exp: Likewise.
20141 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20143 * gdb.dlang/expression.exp: New file.
20145 2014-06-19 Pedro Alves <palves@redhat.com>
20147 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20149 (top level): ... here. Iterate running tests under different
20150 scheduler-locking settings.
20152 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
20154 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20155 to DW_FORM_addr and use non-zero addresses.
20157 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20160 * gdb.python/py-xmethods.cc: Add global function call counters and
20161 increment them in their respective functions. Remove "cout"
20163 * gdb.python/py-xmethods.exp: Make tests check the global function
20164 call counters instead of depending on inferior IO.
20166 2014-06-18 Don Breazeal <donb@codesourcery.com>
20168 * gdb.base/foll-fork.exp (default_fork_parent_follow):
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
20177 2014-06-17 Yao Qi <yao@codesourcery.com>
20179 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20182 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
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.
20188 2014-06-16 Keith Seitz <keiths@redhat.com>
20191 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20192 the inferior is started.
20194 2014-06-16 Pedro Alves <palves@redhat.com>
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.
20203 2014-06-12 Tom Tromey <tromey@redhat.com>
20205 * gdb.base/completion.exp: Don't use directory name in test.
20207 2014-06-09 Gary Benson <gbenson@redhat.com>
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.
20213 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20217 2014-06-07 Keith Seitz <keiths@redhat.com>
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.
20228 2014-06-06 Doug Evans <xdje42@gmail.com>
20230 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20232 2014-06-06 Pedro Alves <palves@redhat.com>
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.
20239 2014-06-06 Pedro Alves <palves@redhat.com>
20241 * gdb.base/break-unload-file.exp: Fix typo.
20243 2014-06-06 Yao Qi <yao@codesourcery.com>
20245 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20246 from "jit_function" to "^jit_function".
20248 2014-06-06 Yao Qi <yao@codesourcery.com>
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".
20255 2014-06-06 Gary Benson <gbenson@redhat.com>
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.
20264 2014-06-06 Yao Qi <yao@codesourcery.com>
20266 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20267 readable, skip the test.
20269 2014-06-06 Yao Qi <yao@codesourcery.com>
20271 * gdb.threads/staticthreads.c (thread_function): Move the line
20272 setting breakpoint on forward.
20273 * gdb.threads/staticthreads.exp: Update comments.
20275 2014-06-05 Ludovic Courtès <ludo@gnu.org>
20277 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20278 "history-append! type error".
20280 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20282 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20283 erroneous dprintf expected input.
20285 2014-06-04 Doug Evans <xdje42@gmail.com>
20287 * gdb.guile/scm-generics.exp: Delete.
20289 2014-06-04 Doug Evans <xdje42@gmail.com>
20291 * gdb.guile/scm-breakpoint.exp: Update.
20292 Add tests for breakpoint registration.
20294 2014-06-04 Tom Tromey <tromey@redhat.com>
20296 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
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.
20302 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20303 Hui Zhu <hui@codesourcery.com>
20305 * gdb.base/fileio.exp: Add test for shell not available as well as
20307 * gdb.base/fileio.c (test_system): Check for shell twice.
20309 2014-06-04 Yao Qi <yao@codesourcery.com>
20311 * gdb.base/auto-connect-native-target.exp: Remove redundant
20312 space from the regexp pattern.
20314 2014-06-04 Yao Qi <yao@codesourcery.com>
20316 * gdb.base/default.exp: Replace "child" with "native" in
20319 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
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.
20326 2014-06-03 Joel Brobecker <brobecker@adacore.com>
20327 Pedro Alves <palves@redhat.com>
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.
20333 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20335 * gdb.base/subst.exp: Add tests to verify partial path matching
20338 2014-06-03 Pedro Alves <palves@redhat.com>
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.
20343 2014-06-03 Pedro Alves <palves@redhat.com>
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.
20349 2014-06-02 Doug Evans <xdje42@gmail.com>
20351 * gdb.guile/scm-parameter.exp: New file.
20353 2014-06-02 Doug Evans <xdje42@gmail.com>
20355 * gdb.guile/scm-cmd.c: New file.
20356 * gdb.guile/scm-cmd.exp: New file.
20358 2014-06-02 Doug Evans <xdje42@gmail.com>
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.
20374 2014-06-02 Pedro Alves <palves@redhat.com>
20376 * gdb.base/dprintf-bp-same-addr.c: New file.
20377 * gdb.base/dprintf-bp-same-addr.exp: New file.
20379 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20381 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20382 * gdb.arch/powerpc-power.s: Likewise.
20384 2014-06-02 Joel Brobecker <brobecker@adacore.com>
20386 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20388 2014-06-01 Yao Qi <yao@codesourcery.com>
20390 * gdb.base/watchpoint.exp (test_watch_location): Check null
20391 pointer can be dereferenced. If not, do the test, otherwise
20394 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
20396 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20398 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20400 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
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.
20408 2014-05-30 Pedro Alves <palves@redhat.com>
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.
20414 2014-05-30 David Blaikie <dblaikie@gmail.com>
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.
20421 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20423 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20425 2014-05-29 Pedro Alves <palves@redhat.com>
20426 Tom Tromey <tromey@redhat.com>
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'
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.
20454 2014-05-29 Pedro Alves <palves@redhat.com>
20457 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20458 reason, even in sync mode.
20460 2014-05-29 Pedro Alves <palves@redhat.com>
20461 Hui Zhu <hui@codesourcery.com>
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.
20469 2014-05-28 Joel Brobecker <brobecker@adacore.com>
20471 * config/monitor.exp (gdb_target_monitor): Replace use of
20472 "set remotebaud" by "set serial baud".
20474 2014-05-26 Andy Wingo <wingo@igalia.com>
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.
20480 2014-05-26 Yao Qi <yao@codesourcery.com>
20482 * gdb.server/no-thread-db.exp: Specify source file name
20483 explicitly when setting a breakpoint.
20485 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20487 * gdb.btrace/vdso.c: New.
20488 * gdb.btrace/vdso.exp: New.
20490 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20492 * gdb.base/gcore.exp (capture_command_output): Move ...
20493 * lib/gdb.exp (capture_command_output): ... here.
20495 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20497 * gdb.btrace/data.exp: Test memory access during btrace replay.
20499 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20501 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20503 2014-05-21 Pedro Alves <palves@redhat.com>
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
20514 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20516 2014-05-21 Pedro Alves <palves@redhat.com>
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.
20525 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20527 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20528 behavior for $args, pass it directly to "run".
20530 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20532 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20535 2014-05-21 Pedro Alves <palves@redhat.com>
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.
20542 2014-05-21 Pedro Alves <palves@redhat.com>
20544 * gdb.base/default.exp: Test "target native" instead of "target
20547 2014-05-21 Mark Wielaard <mjw@redhat.com>
20549 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20551 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
20558 <$have_tls != "">: Check TLSVAR.
20560 2014-05-21 Pedro Alves <palves@redhat.com>
20562 * gdb.base/dcache-line-read-error.c: New.
20563 * gdb.base/dcache-line-read-error.exp: New.
20565 2014-05-20 Pedro Alves <palves@redhat.com>
20567 * gdb.base/compare-sections.c: New file.
20568 * gdb.base/compare-sections.exp: New file.
20570 2014-05-20 Pedro Alves <palves@redhat.com>
20572 * gdb.base/break-idempotent.c: New file.
20573 * gdb.base/break-idempotent.exp: New file.
20575 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20577 * gdb.btrace/nohist.exp: New.
20579 2014-05-20 Yao Qi <yao@codesourcery.com>
20581 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20582 gdb.reverse directory and gdb_reverse_timeout exists in board
20584 * README: Document gdb_reverse_timeout.
20586 2014-05-20 Yao Qi <yao@codesourcery.com>
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'.
20592 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20594 * gdb.arch/powerpc-power.exp: New file.
20595 * gdb.arch/powerpc-power.s: New file.
20597 2014-05-16 Doug Evans <dje@google.com>
20599 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
20600 * gdb.base/completion.exp: Check that all expected files exist
20601 before doing file completion.
20603 2014-05-16 Doug Evans <dje@google.com>
20605 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20607 (do_syscall_tests_without_xml): Update.
20609 2014-05-16 Pedro Alves <palves@redhat.com>
20611 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20612 instead of "unknown output after running".
20614 2014-05-16 Yao Qi <yao@codesourcery.com>
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.
20620 2014-05-15 Doug Evans <dje@google.com>
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.
20626 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20628 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20629 calling "-exec-arguments" or "set args" before running the
20632 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20634 * lib/mi-support.exp (mi_expect_stop): Expect message for
20635 inferiors that exit with non-zero exit code.
20637 2014-05-14 Yao Qi <yao@codesourcery.com>
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
20644 2014-05-14 Yao Qi <yao@codesourcery.com>
20646 * boards/local-remote-host-notty.exp (${board}_file): New
20649 2014-05-07 Kyle McMartin <kyle@redhat.com>
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.
20655 2014-05-07 Yao Qi <yao@codesourcery.com>
20657 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20658 in current context" too.
20660 2014-05-05 Keith Seitz <keiths@redhat.com>
20662 * gdb.linespec/ls-dollar.exp: Add test for linespec
20663 file:convenience_variable.
20665 2014-05-05 Yao Qi <yao@codesourcery.com>
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
20677 2014-05-05 Yao Qi <yao@codesourcery.com>
20679 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
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.
20689 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
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.
20697 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20699 PR breakpoints/16889
20700 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20701 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20703 2014-05-01 Pedro Alves <palves@redhat.com>
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.
20710 2014-05-01 Pedro Alves <palves@redhat.com>
20712 * boards/local-remote-host.exp: New file.
20714 2014-05-01 Pedro Alves <palves@redhat.com>
20716 * boards/local-remote-host.exp: Rename to ...
20717 * boards/local-remote-host-notty.exp: ... this.
20719 2014-04-28 Joel Brobecker <brobecker@adacore.com>
20721 * gdb.ada/dyn_arrayidx: New testcase.
20723 2014-04-26 Yao Qi <yao@codesourcery.com>
20725 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20726 and compute the length of function main. Save it in
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.
20733 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20734 Pedro Alves <palves@redhat.com>
20737 * gdb.multi/multi-attach.c: New file.
20738 * gdb.multi/multi-attach.exp: New file.
20740 2014-04-25 Pedro Alves <palves@redhat.com>
20742 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
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):
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.
20756 2014-04-24 David Blaikie <dblaikie@gmail.com>
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.
20768 2014-04-24 David Blaikie <dblaikie@gmail.com>
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
20774 2014-04-24 David Blaikie <dblaikie@gmail.com>
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.
20781 2014-04-24 David Blaikie <dblaikie@gmail.com>
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.
20788 2014-04-25 Yao Qi <yao@codesourcery.com>
20790 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20792 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20793 partial_label and double_label.
20795 2014-04-24 David Blaikie <dblaikie@gmail.com>
20797 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20799 2014-04-24 David Blaikie <dblaikie@gmail.com>
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 **).
20806 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
20807 Walfred Tedeschi <walfred.tedeschi@intel.com>
20809 * Makefile.in (EXECUTABLES): Added i386-avx512.
20810 * gdb.arch/i386-avx512.c: New file.
20811 * gdb.arch/i386-avx512.exp: Likewise.
20813 2014-04-23 Keith Seitz <keiths@redhat.com>
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.
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
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.
20846 From Ian Lance Taylor <iant@cygnus.com>:
20847 * lib/gdb.exp (parse_args): New procedure.
20849 2014-04-23 Pedro Alves <palves@redhat.com>
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
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
20865 2014-04-23 Pedro Alves <palves@redhat.com>
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.
20875 2014-04-22 Pedro Alves <palves@redhat.com>
20877 * gdb.base/consecutive-step-over.c: New file.
20878 * gdb.base/consecutive-step-over.exp: New file.
20880 2014-04-22 Pedro Alves <palves@redhat.com>
20882 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20883 instead of send_gdb/gdb_expect.
20885 2014-04-22 Yao Qi <yao@codesourcery.com>
20887 * lib/trace-support.exp (generate_tracefile): New procedure.
20888 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20890 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20891 if generate_tracefile returns 1.
20893 2014-04-18 Tom Tromey <palves@redhat.com>
20894 Pedro alves <tromey@redhat.com>
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.
20903 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20905 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20907 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20909 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20910 Drop prefix from unsupported source file path.
20912 2014-04-17 Yao Qi <yao@codesourcery.com>
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
20922 2014-04-16 Keith Seitz <keiths@redhat.com>
20925 * gdb.dwarf2/corrupt.c: New file.
20926 * gdb.dwarf2/corrupt.exp: New file.
20928 2014-04-16 Keith Seitz <keiths@redhat.com>
20931 * gdb.cp/namelessclass.cc: New file.
20932 * gdb.cp/namelessclass.exp: New file.
20933 * gdb.cp/namelessclass.S: New file.
20935 2014-04-16 Doug Evans <dje@google.com>
20937 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
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):
20952 (${board}_get_remote_address): Update.
20953 (${board}_get_comm_port): New function.
20955 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
20957 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20958 appearing in any order.
20960 2014-04-15 Doug Evans <dje@google.com>
20962 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20963 uninitialized value of "description".
20965 2014-04-15 Keith Seitz <keiths@redhat.com>
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.
20974 2014-04-15 Keith Seitz <keiths@redhat.com>
20976 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20978 (test_rbreak_creation_and_listing): Likewise.
20979 (test_ignore_count): Likewise.
20980 (test_error): Likewise.
20982 2014-04-15 Pedro Alves <palves@redhat.com>
20984 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20985 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
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
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.
21009 2014-04-15 Pedro Alves <palves@redhat.com>
21011 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21013 2014-04-15 Pedro Alves <palves@redhat.com>
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
21022 (shlib_name): Delete.
21023 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21025 2014-04-15 Pedro Alves <palves@redhat.com>
21027 * gdb.base/sym-file.exp: Remove regex characters from test
21028 message. Don't refer to breakpoint numbers in test messages.
21030 2014-04-14 Keith Seitz <keiths@redhat.com>
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.
21040 2014-04-14 Tom Tromey <tromey@redhat.com>
21042 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21043 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21045 * gdb.cp/enum-class.exp: New file.
21046 * gdb.cp/enum-class.cc: New file.
21048 2014-04-14 Tom Tromey <tromey@redhat.com>
21050 * gdb.dwarf2/enum-type.exp: New file.
21052 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21054 * gdb.mi/mi-vla-c99.exp: New file.
21055 * gdb.mi/vla.c: New file.
21057 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21059 * gdb.base/vla-datatypes.c: New file.
21060 * gdb.base/vla-datatypes.exp: New file.
21062 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21064 * gdb.base/vla-ptr.c: New file.
21065 * gdb.base/vla-ptr.exp: New file.
21067 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21069 * gdb.dwarf2/count.exp: New file.
21071 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21073 * gdb.base/vla-sideeffect.c: New file.
21074 * gdb.base/vla-sideeffect.exp: New file.
21076 2014-04-14 David Blaikie <dblaikie@gmail.com>
21078 * gdb.mi/non-stop.c: Add return value for non-void function return
21080 * gdb.threads/staticthreads.c: Ditto.
21082 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21083 Doug Evans <xdje42@gmail.com>
21085 * gdb.guile/scm-value.c: Improve test case.
21086 * gdb.guile/scm-value.exp: Add new test.
21088 2014-04-11 David Blaikie <dblaikie@gmail.com>
21090 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21091 override Clang's default.
21093 2014-04-11 Joel Brobecker <brobecker@adacore.com>
21095 Revert the following changes (regressions):
21097 * gdb.base/vla-sideeffect.c: New file.
21098 * gdb.base/vla-sideeffect.exp: New file.
21100 * gdb.dwarf2/count.exp: New file.
21102 * gdb.base/vla-multi.c: New file.
21103 * gdb.base/vla-multi.exp: New file.
21105 * gdb.base/vla-ptr.c: New file.
21106 * gdb.base/vla-ptr.exp: New file.
21108 * gdb.base/vla-datatypes.c: New file.
21109 * gdb.base/vla-datatypes.exp: New file.
21111 * gdb.mi/mi-vla-c99.exp: New file.
21112 * gdb.mi/vla.c: New file.
21114 2014-04-11 Keith Seitz <keiths@redhat.com>
21117 * gdb.cp/cpsizeof.exp: New file.
21118 * gdb.cp/cpsizeof.cc: New file.
21120 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21122 * gdb.mi/mi-vla-c99.exp: New file.
21123 * gdb.mi/vla.c: New file.
21125 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21127 * gdb.base/vla-datatypes.c: New file.
21128 * gdb.base/vla-datatypes.exp: New file.
21130 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21132 * gdb.base/vla-ptr.c: New file.
21133 * gdb.base/vla-ptr.exp: New file.
21135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21137 * gdb.base/vla-multi.c: New file.
21138 * gdb.base/vla-multi.exp: New file.
21140 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21142 * gdb.dwarf2/count.exp: New file.
21144 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21146 * gdb.base/vla-sideeffect.c: New file.
21147 * gdb.base/vla-sideeffect.exp: New file.
21149 2014-04-11 Yao Qi <yao@codesourcery.com>
21151 * gdb.base/completion.exp: Check file exists before running tests
21152 on file completion.
21154 2014-04-10 Pedro Alves <palves@redhat.com>
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
21160 (test_break, test_watch): New procedures.
21161 (top level): Use them.
21163 2014-04-08 Pierre Muller <muller@sourceware.org>
21165 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21166 Ctrl-V use for mingw hosts.
21168 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21170 * gdb.python/py-value.c: Improve test case.
21171 * gdb.python/py-value.exp: Add new test.
21173 2014-04-07 David Blaikie <dblaikie@gmail.com>
21175 * lib/compiler.c: Identify the clang compiler.
21176 * lib/compiler.cc: Ditto.
21178 2014-04-03 Yao Qi <yao@codesourcery.com>
21180 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21182 2014-04-01 Anton Blanchard <anton@samba.org>
21184 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21187 2014-04-01 Anton Blanchard <anton@samba.org>
21189 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21190 prepare_for_testing.
21192 2014-04-01 Anton Blanchard <anton@samba.org>
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.
21198 2014-03-31 Doug Evans <dje@google.com>
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.
21204 2014-03-31 Yao Qi <yao@codesourcery.com>
21206 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21208 2014-03-28 Joel Brobecker <brobecker@adacore.com>
21210 * gdb.ada/mi_dyn_arr: New testcase.
21212 2014-03-27 Doug Evans <dje@google.com>
21214 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21216 2014-03-27 Yao Qi <yao@codesourcery.com>
21218 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21219 if target is nios2-*-*.
21221 2014-03-26 Yao Qi <yao@codesourcery.com>
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
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.
21235 2014-03-26 Yao Qi <yao@codesourcery.com>
21237 * gdb.base/macscp.exp: Fix code format issues.
21239 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21241 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21242 * gdb.asm/powerpc64le.inc: New file.
21244 2014-03-25 Pedro Alves <palves@redhat.com>
21245 Doug Evans <dje@google.com>
21247 * gdb.base/source-execution.c: New file.
21248 * gdb.base/source-execution.exp: New file.
21249 * gdb.base/source-execution.gdb: New file.
21251 2014-03-24 Doug Evans <dje@google.com>
21253 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21256 2014-03-24 Hui Zhu <hui@codesourcery.com>
21257 Pedro Alves <palves@redhat.com>
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
21268 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21270 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21272 2014-03-22 Doug Evans <xdje42@gmail.com>
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.
21279 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21281 * gdb.threads/thread-specific.exp: Handle the lack of usable
21282 $this_breakpoint and $this_thread.
21284 2014-03-21 Hui Zhu <hui@codesourcery.com>
21286 * gdb.base/attach.exp (do_command_attach_tests): New.
21288 2014-03-20 Tom Tromey <tromey@redhat.com>
21289 Pedro Alves <palves@redhat.com>
21292 * gdb.base/condbreak-call-false.c: New file.
21293 * gdb.base/condbreak-call-false.exp: New file.
21295 2014-03-20 Pedro Alves <palves@redhat.com>
21297 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21299 (block_signals, unblock_signals): Delete.
21300 (child_function_2, main): Remove references to deleted variable
21303 2014-03-20 Pedro Alves <palves@redhat.com>
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.
21311 2014-03-20 Pedro Alves <palves@redhat.com>
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.
21318 2014-03-20 Pedro Alves <palves@redhat.com>
21320 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21321 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21323 2014-03-20 Pedro Alves <palves@redhat.com>
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.
21332 2014-03-20 Pedro Alves <palves@redhat.com>
21334 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21335 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21337 2014-03-19 Pedro Alves <palves@redhat.com>
21339 * gdb.base/async.exp: Remove early return.
21341 2014-03-19 Pedro Alves <palves@redhat.com>
21343 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21345 2014-03-19 Pedro Alves <palves@redhat.com>
21347 * gdb.base/async.exp (test_background): Expect \r\n after
21348 "completed." in the fail pattern.
21350 2014-03-19 Pedro Alves <palves@redhat.com>
21352 * gdb.base/async.exp (test_background): New procedure.
21353 Use it for all background execution command tests.
21355 2014-03-19 Pedro Alves <palves@redhat.com>
21357 * gdb.base/async.exp: Use prepare_for_testing.
21359 2014-03-19 Pedro Alves <palves@redhat.com>
21361 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21364 2014-03-19 Pedro Alves <palves@redhat.com>
21366 * gdb.base/async.c (main): Add "jump here" and "until here" line
21368 * gdb.base/async.exp (jump_here): New global.
21369 (jump& test): Use it.
21370 (until_here): New global.
21371 (until& test): Use it.
21373 2014-03-19 Pedro Alves <palves@redhat.com>
21375 * gdb.base/async.exp: Don't frob gdb_protocol.
21377 2014-03-18 Doug Evans <xdje42@gmail.com>
21379 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21380 Fix spelling of exec-done-display.
21382 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21385 * gdb.base/gdb-sigterm.c: New file.
21386 * gdb.base/gdb-sigterm.exp: New file.
21388 2014-03-18 Pedro Alves <palves@redhat.com>
21391 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21392 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21395 2014-03-17 Joel Brobecker <brobecker@adacore.com>
21397 * gdb.ada/pckd_arr_ren: New testcase.
21399 2014-03-13 Doug Evans <xdje42@gmail.com>
21402 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21403 collect after discarding symbols.
21405 2014-03-13 Ludovic Courtès <ludo@gnu.org>
21406 Doug Evans <xdje42@gmail.com>
21408 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21409 to history survives a gc.
21411 2014-03-13 Pedro Alves <palves@redhat.com>
21413 * gdb.base/default.exp: Don't test "target procfs".
21415 2014-03-13 Pedro Alves <palves@redhat.com>
21417 * gdb.base/default.exp: Update "target child" and "target procfs"
21418 tests to not expect "Unix".
21420 2014-03-12 Tom Tromey <tromey@redhat.com>
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.
21427 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
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'.
21435 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
21441 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
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.
21453 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21455 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21456 directory to absolute path name arguments.
21458 2014-03-10 Joel Brobecker <brobecker@adacore.com>
21460 * gdb.ada/tagged_access: New testcase.
21462 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21464 * gdb.btrace/data.exp: Update expected output.
21466 2014-03-06 Yao Qi <yao@codesourcery.com>
21468 * gdb.trace/pr16508.exp: New file.
21470 2014-03-05 Pedro Alves <palves@redhat.com>
21473 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21475 (top level): Adjust to use it. Add tests that exercise breakpoint
21476 interaction with the code-cache.
21478 2014-02-26 Ludovic Courtès <ludo@gnu.org>
21480 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21481 test for 'history-append!'.
21483 2014-02-26 Joel Brobecker <brobecker@adacore.com>
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.
21492 2014-02-26 Joel Brobecker <brobecker@adacore.com>
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.
21498 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21500 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21502 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21504 * gdb.dwarf2/arr-stride.c: New file.
21505 * gdb.dwarf2/arr-stride.exp: New file.
21507 2014-02-26 Pedro Alves <palves@redhat.com>
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.
21513 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21516 * gdb.base/auto-load-script: New file.
21517 * gdb.base/auto-load.c: New file.
21518 * gdb.base/auto-load.exp: New file.
21521 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21523 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21525 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21526 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21528 2014-02-24 Doug Evans <dje@google.com>
21530 * lib/gdb.exp (run_on_host): Log error output if program fails.
21532 2014-02-21 Pedro Alves <palves@redhat.com>
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:
21540 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
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.
21549 2014-02-20 Joel Brobecker <brobecker@adacore.com>
21551 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21552 in .section pseudo-op.
21554 2014-02-20 lin zuojian <manjian2006@gmail.com>
21555 Joel Brobecker <brobecker@adacore.com>
21556 Doug Evans <xdje42@gmail.com>
21559 * gdb.dwarf2/dw2-icycle.S: New file.
21560 * gdb.dwarf2/dw2-icycle.c: New file.
21561 * gdb.dwarf2/dw2-icycle.exp: New file.
21563 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
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
21570 2014-02-18 Doug Evans <dje@google.com>
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.
21579 2014-02-18 Doug Evans <dje@google.com>
21581 * Makefile.in (check-parallel): rm -rf outputs temp.
21583 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21585 Fix "ERROR: no fileid for" in the testsuite.
21586 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21588 2014-02-12 Doug Evans <dje@google.com>
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.
21597 2014-02-11 Doug Evans <dje@google.com>
21599 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21600 of Tcl file commands.
21602 2014-02-10 Mark Kettenis <kettenis@gnu.org>
21604 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21605 "kill -SIGUSR1 -1".
21607 2014-02-10 Joel Brobecker <brobecker@adacore.com>
21609 * gdb.ada/tick_length_array_enum_idx: New testcase.
21611 2014-02-10 Doug Evans <xdje42@gmail.com>
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.
21672 2014-02-10 Yao Qi <yao@codesourcery.com>
21675 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21676 * configure: Regenerated.
21677 * Makefile.in: New file.
21679 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21681 * gdb.python/py-framefilter.exp: Fix typo.
21683 2014-02-08 Yao Qi <yao@codesourcery.com>
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.
21689 2014-02-07 Pedro Alves <pedro@codesourcery.com>
21690 Pedro Alves <palves@redhat.com>
21692 * gdb.threads/step-after-sr-lock.c: New file.
21693 * gdb.threads/step-after-sr-lock.exp: New file.
21695 2014-02-07 Pedro Alves <palves@redhat.com>
21697 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21699 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21701 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21702 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21704 2014-02-06 Doug Evans <xdje42@gmail.com>
21706 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21709 * gdb.gdb/python-interrupts.exp: New file.
21711 2014-02-05 Yao Qi <yao@codesourcery.com>
21713 * gdb.trace/report.exp (use_collected_data): Test the output
21714 of "info threads" and "info inferiors".
21716 2014-02-05 Yao Qi <yao@codesourcery.com>
21720 2013-05-24 Yao Qi <yao@codesourcery.com>
21722 * gdb.trace/tfile.exp: Test inferior and thread.
21724 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21726 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21728 * gdb.base/step-bt.c: Call hello via function pointer to make
21729 sure its first instruction is executed on powerpc64le-linux.
21731 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21733 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21735 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21737 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21738 of the test patterns for use on little-endian systems.
21740 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21742 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21743 (decimal_vector): Fix for little-endian.
21745 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21747 * gdb.arch/sparc-sysstep.exp: New file.
21748 * gdb.arch/sparc-sysstep.c: Likewise.
21750 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21752 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21754 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21756 2014-01-23 Tom Tromey <tromey@redhat.com>
21758 * gdb.ada/array_char_idx: New testcase.
21760 2014-01-23 Tom Tromey <tromey@redhat.com>
21763 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21764 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21767 2014-01-23 Tom Tromey <tromey@redhat.com>
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.
21774 2014-01-22 Doug Evans <dje@google.com>
21776 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21778 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21780 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21782 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21784 * gdb.trace/entry-values.exp: Remove excess space character from
21785 regex patterns. Handle s390 call instruction.
21787 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
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.
21794 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21796 * gdb.base/info-macros.exp: Remove "debug" from the compile
21799 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21801 * gdb.dlang/demangle.exp: New file.
21803 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21805 * gdb.dlang/primitive-types.exp: New file.
21807 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
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.
21816 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
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.
21834 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
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.
21844 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21846 * gdb.btrace/record_goto.exp: Add backtrace test.
21847 * gdb.btrace/tailcall.exp: Add backtrace test.
21849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
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.
21856 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21858 * gdb.btrace/function_call_history.exp: Update tests.
21859 * gdb.btrace/instruction_history.exp: Update tests.
21861 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
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.
21875 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21877 * gdb.btrace/instruction_history.exp: Update.
21878 * gdb.btrace/function_call_history.exp: Update.
21880 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21882 * gdb.btrace/function_call_history.exp: Fix expected function
21884 * gdb.btrace/instruction_history.exp: Initialize traced.
21885 Remove traced_functions.
21887 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21889 * gdb.btrace/function_call_history.exp: Update
21890 * gdb.btrace/instruction_history.exp: Update.
21892 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21894 * gdb.btrace/enable.exp: Update expected text.
21896 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21898 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21901 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21903 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21905 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
21907 * lib/gdb.exp (supports_process_record): Return true for
21908 arm*-linux*. (supports_reverse): Likewise.
21910 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
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
21919 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21920 Pedro Alves <palves@redhat.com>
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}.
21927 2014-01-10 Joel Brobecker <brobecker@adacore.com>
21929 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21931 2014-01-10 Joel Brobecker <brobecker@adacore.com>
21933 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21935 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21936 Pedro Alves <palves@redhat.com>
21938 * gdb.mi/mi-info-os.exp: Connect to the target with
21939 mi_gdb_target_load.
21941 2014-01-08 Pedro Alves <palves@redhat.com>
21943 * gdb.threads/reconnect-signal.c: New file.
21944 * gdb.threads/reconnect-signal.exp: New file.
21946 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21948 * gdb.base/source-dir.exp: New file.
21950 2014-01-07 Joel Brobecker <brobecker@adacore.com>
21952 * gdb.ada/mi_interface: New testcase.
21954 2014-01-07 Joel Brobecker <brobecker@adacore.com>
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.
21960 2014-01-07 Joel Brobecker <brobecker@adacore.com>
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.
21966 For older changes see ChangeLog-1993-2013.
21968 ;; Local Variables:
21969 ;; mode: change-log
21972 ;; version-control: never
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.