]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR25022 testcase segfault for generic ELF linker targets
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e79eb02f
AB
12020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 PR fortran/23051
4 PR fortran/26139
5 * gdb.fortran/class-allocatable-array.exp: New file.
6 * gdb.fortran/class-allocatable-array.f90: New file.
7 * gdb.fortran/pointer-to-pointer.exp: New file.
8 * gdb.fortran/pointer-to-pointer.f90: New file.
9
876518dd
TV
102020-07-25 Tom de Vries <tdevries@suse.de>
11
12 PR symtab/26243
13 * gdb.dwarf2/dw2-line-number-zero.c: New test.
14 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
15
6dcfb80a
TV
162020-07-24 Tom de Vries <tdevries@suse.de>
17
18 PR testsuite/26293
19 * gdb.ada/mi_prot.exp: Require gnatmake-8.
20
e7bc9db8
PA
212020-07-23 Pedro Alves <pedro@palves.net>
22
23 * gdb.server/server-kill.exp (prepare): New, factored out from the
24 top level.
25 (kill_server): New.
26 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
27 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
28
78344df7
AB
292020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
30
31 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
32
25dfed24
SL
332020-07-22 Sandra Loosemore <sandra@codesourcery.com>
34
35 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
36 Initialize to empty string at top level.
37 (gdb_wrapper_init): Revert check for file existence on build.
38 Build the wrapper in its default place, not a build-specific
39 location. When host == build, make the pathname absolute.
40 (gdb_compile): Delete leftover declaration of
41 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
42 string instead of uninitialized.
43
7da515fd
KB
442020-07-22 Kevin Buettner <kevinb@redhat.com>
45
46 * gdb.base/corefile2.exp: New file.
47 * gdb.base/coremaker2.exp: New file.
48
9c5ec5c2
KB
492020-07-22 Kevin Buettner <kevinb@redhat.com>
50
51 * gdb.base/coredump-filter.exp: Add second
52 non-Private-Shared-Anon-File test.
53 (test_disasm): Rename binfile for test which is expected
54 to fail.
55
f9e233c9
KB
562020-07-22 Kevin Buettner <kevinb@redhat.com>
57
58 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
59 data in core file".
60 * gdb.base/coremaker.c (buf2ro): New global.
61 (mmapdata): Add a read-only mmap mapping.
62
94c265d7
KB
632020-07-22 Kevin Buettner <kevinb@redhat.com>
64
65 PR corefiles/25631
66 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
67 New test.
68 * gdb.base/coremaker.c (buf3): New global.
69 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
70 flags.
71
722020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
73
74 * gdb.base/coremaker.c (filler_ro): New global constant.
75
32fa152e
TT
762020-07-22 Tom Tromey <tromey@adacore.com>
77
78 * gdb.ada/mi_prot.exp: New file.
79 * gdb.ada/mi_prot/pkg.adb: New file.
80 * gdb.ada/mi_prot/pkg.ads: New file.
81 * gdb.ada/mi_prot/prot.adb: New file.
82
c8474dc3
TBA
832020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
84
85 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
86 loads two JITers.
87
baf8791e
AB
882020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
89
90 * gdb.python/py-arch-reg-groups.exp: Additional tests.
91
f7306dac
AB
922020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
93
94 * gdb.python/py-arch-reg-names.exp: Additional tests.
95
6d3d6e4b
TV
962020-07-21 Tom de Vries <tdevries@suse.de>
97
98 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
99 breakpoint locations".
100 * gdb.reverse/solib-reverse.exp: Same.
101
803d0592
TV
1022020-07-21 Tom de Vries <tdevries@suse.de>
103
104 * gdb.reverse/step-reverse.c (callee): Merge statements.
105
e9bdc510
TV
1062020-07-21 Tom de Vries <tdevries@suse.de>
107
108 * gdb.fortran/info-modules.exp (info module variables): Allow missing
109 line numbers for some variables.
110
f0f9e75a
TV
1112020-07-21 Tom de Vries <tdevries@suse.de>
112
113 * gdb.opt/inline-locals.c (init_array): New func.
114 (func1): Use init_array.
115 * gdb.opt/inline-locals.exp: Update pattern.
116
bd460ecb
TV
1172020-07-21 Tom de Vries <tdevries@suse.de>
118
119 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
120 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
121
ae5369e7
LC
1222020-07-20 Ludovic Courtès <ludo@gnu.org>
123
124 * gdb.guile/source2.scm: Add #f first argument to 'format'.
125 * gdb.guile/types-module.exp: Remove "ERROR:" from
126 regexps since Guile 3.0 no longer prints that.
127
68cf161c
LC
1282020-07-20 Ludovic Courtès <ludo@gnu.org>
129
130 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
131 error regexp to match on Guile 2.2.
132
c14b4913
GB
1332020-07-20 Gary Benson <gbenson@redhat.com>
134
135 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
136 with clang.
137
b243ba58
TV
1382020-07-20 Tom de Vries <tdevries@suse.de>
139
140 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
141 (omp_set_lock_in_order): New function.
142 (single_scope, multi_scope, nested_func, nested_parallel): Use
143 omp_set_lock_in_order and omp_unset_lock.
144 (main): Init and destroy lock and lock2.
145
c06ad8b5
TV
1462020-07-20 Tom de Vries <tdevries@suse.de>
147
148 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
149
6e22f117
TV
1502020-07-20 Tom de Vries <tdevries@suse.de>
151
152 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
153
33176ea7
TV
1542020-07-17 Tom de Vries <tdevries@suse.de>
155
156 * gdb.base/valgrind-infcall-2.c: New test.
157 * gdb.base/valgrind-infcall-2.exp: New file.
158 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
159
90c3ec2d
TV
1602020-07-17 Tom de Vries <tdevries@suse.de>
161
162 * gdb.dlang/circular.c (found): Use found_label as label name.
163 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
164 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
165 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
166 * gdb.dwarf2/ada-linkage-name.exp: Same.
167 * gdb.dwarf2/arr-subrange.exp: Same.
168 * gdb.dwarf2/atomic-type.exp: Same.
169 * gdb.dwarf2/comp-unit-lang.exp: Same.
170 * gdb.dwarf2/cpp-linkage-name.exp: Same.
171 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
172 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
173 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
174 * gdb.dwarf2/implptr-64bit.exp: Same.
175 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
176 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
177 * gdb.dwarf2/imported-unit.exp: Same.
178 * gdb.dwarf2/main-subprogram.exp: Same.
179 * gdb.dwarf2/missing-type-name.exp: Same.
180 * gdb.dwarf2/nonvar-access.exp: Same.
181 * gdb.dwarf2/struct-with-sig.exp: Same.
182 * gdb.dwarf2/typedef-void-finish.exp: Same.
183 * gdb.dwarf2/void-type.exp: Same.
184
10da644d
TV
1852020-07-17 Tom de Vries <tdevries@suse.de>
186
187 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
188 src parameter.
189 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
190 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
191 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
192 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
193 * gdb.dwarf2/dwz.exp: Same.
194 * gdb.dwarf2/implptr-optimized-out.exp: Same.
195 * gdb.dwarf2/implref-array.exp: Same.
196 * gdb.dwarf2/implref-const.exp: Same.
197 * gdb.dwarf2/implref-global.exp: Same.
198 * gdb.dwarf2/implref-struct.exp: Same.
199 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
200 * gdb.dwarf2/opaque-type-lookup.exp: Same.
201 * gdb.dwarf2/var-access.exp: Same.
202 * gdb.dwarf2/varval.exp: Same.
203 * gdb.trace/entry-values.exp: Same.
204
315e6afc
TV
2052020-07-17 Tom de Vries <tdevries@suse.de>
206
207 * lib/dwarf.exp (Dwarf::extern): Remove.
208 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
209 * gdb.dlang/circular.exp: Same.
210 * gdb.dwarf2/comp-unit-lang.exp: Same.
211 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
212 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
213 * gdb.dwarf2/dwz.exp: Same.
214 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
215 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
216 * gdb.dwarf2/imported-unit.exp: Same.
217 * gdb.dwarf2/opaque-type-lookup.exp: Same.
218
5597c940
SL
2192020-07-16 Sandra Loosemore <sandra@codesourcery.com>
220
221 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
222 Use double quotes instead of single quotes.
223
d0ce17d8
CT
2242020-07-16 Caroline Tice <cmtice@google.com>
225
226 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
227 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
228
853772cc
TV
2292020-07-16 Tom de Vries <tdevries@suse.de>
230
231 * lib/dwarf.exp (program): Initialize _line.
232 (DW_LNE_end_sequence): Reinitialize _line.
233 (DW_LNS_advance_line): Update _line.
234 (line): New proc.
235 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
236 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
237 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
238 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
239 * gdb.dwarf2/dw2-is-stmt.exp: Same.
240 * gdb.dwarf2/dw2-ranges-func.exp: Same.
241
fe07b572
AB
2422020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
243
244 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
245 generic.
246
52781cce
TV
2472020-07-15 Tom de Vries <tdevries@suse.de>
248
249 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
250 is_amd64_regs_target.
251
3dcc261c
AB
2522020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
253
254 * gdb.fortran/ptype-on-functions.exp: Add more tests.
255 * gdb.fortran/ptype-on-functions.f90: Likewise.
256
054a0959
SM
2572020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
258
259 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
260 values in documentation for addr_size to 4 and 8.
261
ccb9eba6
AB
2622020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
263
264 * gdb.arch/amd64-osabi.exp: Update.
265 * gdb.arch/arm-disassembler-options.exp: Update.
266 * gdb.arch/powerpc-disassembler-options.exp: Update.
267 * gdb.arch/ppc64-symtab-cordic.exp: Update.
268 * gdb.arch/s390-disassembler-options.exp: Update.
269 * gdb.base/all-architectures.exp.tcl: Update.
270 * gdb.base/attach-pie-noexec.exp: Update.
271 * gdb.base/catch-syscall.exp: Update.
272 * gdb.xml/tdesc-arch.exp: Update.
273
025a39a7
TV
2742020-07-14 Tom de Vries <tdevries@suse.de>
275
276 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
277 (local_gettid): ... this.
278 (fn): Update.
279
74e4b667
SL
2802020-07-13 Sandra Loosemore <sandra@codesourcery.com>
281
282 * gdb.base/info_sources.exp: Skip directory match tests on
283 remote hosts.
284
f413dd74
GB
2852020-07-13 Gary Benson <gbenson@redhat.com>
286
287 * gdb.base/savedregs.exp (caller): Use parentheses to
288 make expected expression evaluation ordering explicit.
289
915771bb
GB
2902020-07-13 Gary Benson <gbenson@redhat.com>
291
292 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
293
2a122642
GB
2942020-07-13 Gary Benson <gbenson@redhat.com>
295
296 * gdb.base/bigcore.c (main): Use a volatile pointer when
297 attempting to trigger a SIGSEGV.
298 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
299 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
300 * gdb.base/savedregs.c (thrower): Likewise.
301 * gdb.mi/mi-syn-frame.c (bar): Likewise.
302
3f00c730
GB
3032020-07-13 Gary Benson <gbenson@redhat.com>
304
305 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
306 defining and using VLA structure fields into...
307 * gdb.base/vla-struct-fields.c: New file.
308 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
309 tests into...
310 * gdb.base/vla-struct-fields.exp: New file.
311
963eeee4
TV
3122020-07-13 Tom de Vries <tdevries@suse.de>
313
314 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
315 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
316 * gdb.base/gold-gdb-index.exp: Same.
317 * gdb.base/morestack.exp: Same.
318
0ed35c9a
DX
3192020-07-11 Daniel Xu <dxu@dxuuu.xyz>
320
321 PR rust/26121
322 * gdb.rust/modules.rs: Prevent linker from discarding test
323 symbol.
324
4fdba23d
PA
3252020-07-10 Pedro Alves <pedro@palves.net>
326
327 PR gdb/26199
328 * gdb.multi/multi-target.c (exit_thread): New.
329 (thread_start): Break loop if EXIT_THREAD.
330 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
331 (top level) Call test_no_resumed.
332
15f3b077
TT
3332020-07-08 Tom Tromey <tromey@adacore.com>
334
335 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
336 * gdb.ada/catch_ex.exp: Examine catchpoint text.
337
9fc501fd
AB
3382020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
339
340 PR python/22748
341 * gdb.opt/inline-frame-tailcall.c: New file.
342 * gdb.opt/inline-frame-tailcall.exp: New file.
343 * gdb.python/py-unwind-inline.c: New file.
344 * gdb.python/py-unwind-inline.exp: New file.
345 * gdb.python/py-unwind-inline.py: New file.
346
64cb3757
AB
3472020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
348
349 * gdb.python/py-arch-reg-groups.exp: New file.
350
0f767f94
AB
3512020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
352
353 * gdb.python/py-arch-reg-names.exp: New file.
354
87dbc774
AB
3552020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
356
357 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
358 gdb.PendingFrame.architecture method.
359
d8cc8af6
TV
3602020-07-06 Tom de Vries <tdevries@suse.de>
361
362 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
363
3c8ea5be
PA
3642020-07-03 Pedro Alves <palves@redhat.com>
365
366 * gdb.base/structs2.c (main): Adjust second parem_reg call to
367 explicitly write negative numbers.
368 * gdb.base/structs2.exp: Adjust expected output.
369
bf90c83a
PA
3702020-07-03 Pedro Alves <palves@redhat.com>
371
372 * gdb.base/charset.c (init_string): Change all char parameters to
373 unsigned char parameters.
374
2eb82157
PA
3752020-07-03 Pedro Alves <palves@redhat.com>
376
377 * gdb.base/call-sc.exp (start_scalars_test): Use
378 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
379 * gdb.base/overlays.c: Remove references to PARAMS.
380 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
381 * gdb.base/reread.exp: Don't set 'prototypes' global.
382 * gdb.base/structs.exp (start_structs_test): Use
383 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
384 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
385 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
386 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
387 call.
388 * gdb.base/varargs.exp: Don't set 'prototypes' global.
389
9adda7af
PA
3902020-07-03 Pedro Alves <palves@redhat.com>
391
392 * gdb.base/m32rovly.c: Delete.
393 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
394
2a17c803
PW
3952020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
396
397 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
398 of gdb_py_test_multiple.
399 * gdb.python/py-cmd.exp: Likewise.
400 * gdb.python/py-events.exp: Likewise.
401 * gdb.python/py-function.exp: Likewise.
402 * gdb.python/py-inferior.exp: Likewise.
403 * gdb.python/py-infthread.exp: Likewise.
404 * gdb.python/py-linetable.exp: Likewise.
405 * gdb.python/py-parameter.exp: Likewise.
406 * gdb.python/py-value.exp: Likewise.
407
b011fe1a
TV
4082020-06-30 Tom de Vries <tdevries@suse.de>
409
410 PR testsuite/26175
411 * lib/future.exp (gdb_default_target_compile): Detect and handle
412 early_flags.
413
df5b8876
SM
4142020-06-29 Simon Marchi <simon.marchi@efficios.com>
415
416 * boards/simavr.exp (gdb_load): Catch errors when closing
417 previous connection. Close connection, wait for process and
418 unset simavr_spawn_id on failure.
419
a3ca48cd
TV
4202020-06-29 Tom de Vries <tdevries@suse.de>
421
422 * lib/gdb.exp (unknown): Make test-case unresolved.
423
b0237c0e
TV
4242020-06-29 Tom de Vries <tdevries@suse.de>
425
426 PR gdb/25475
427 * gdb.server/solib-list.exp: Verify that the symbol reload
428 confirmation question is asked.
429
c0b3b3bd
PW
4302020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
431
432 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
433 have a input seq nr in each pass message.
434 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
435 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
436 * gdb.python/python.exp: Make test names unique,
437 use gdb_test_multiline instead of gdb_py_test_multiple,
438 use $gdb_test_name.
439 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
440
1776e3e5
NA
4412020-06-26 Nick Alcock <nick.alcock@oracle.com>
442
443 * configure.ac: Add --enable-libctf.
444 * aclocal.m4: sinclude ../config/enable.m4.
445 * Makefile.in (site.exp): Add enable_libctf to site.exp.
446 * lib/gdb.exp (skip_ctf_tests): Use it.
447 * gdb.base/ctf-constvars.exp: Error message tweak.
448 * gdb.base/ctf-ptype.exp: Likewise.
449 * configure: Regenerate.
450
f53b3eeb
GB
4512020-06-26 Gary Benson <gbenson@redhat.com>
452
453 * gdb.cp/try_catch.cc: Include string.h.
454 (main): Replace comparison against string literal with
455 strcmp, avoiding build failure with -Wstring-compare.
456 Add "marker test-complete".
457 * gdb.cp/try_catch.exp: Run the test to the above marker,
458 then verify that the value of "test" is still true.
459
6d74da72
AB
4602020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
461
462 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
463
2e52d038
AB
4642020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
465
466 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
467
3b9fce96
AB
4682020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
469
470 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
471 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
472 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
473 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
474 * gdb.arch/riscv-tdesc-loading.exp: New file.
475
ed69cbc8
AB
4762020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
477
478 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
479
767a879e
AB
4802020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
481
482 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
483 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
484 * gdb.arch/riscv-tdesc-regs.c: New file.
485 * gdb.arch/riscv-tdesc-regs.exp: New file.
486
221db974
PA
4872020-06-24 Pedro Alves <palves@redhat.com>
488
489 * gdb.arch/amd64-entry-value-paramref.exp: Use
490 prepare_for_testing_full and don't pass "c++" for the .S file
491 build spec.
492 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
493 $options, since it's an assembly file. Remove -Wno-deprecated.
494 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
495 compiling C++ programs.
496
331733cd
PA
4972020-06-24 Pedro Alves <palves@redhat.com>
498
499 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
500 Clang, add "-Wno-unknown-warning-option" to the options.
501
caa7fd04
AB
5022020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
503
504 * gdb.xml/tdesc-reload.c: New file.
505 * gdb.xml/tdesc-reload.exp: New file.
506 * gdb.xml/maint-xml-dump-01.xml: New file.
507 * gdb.xml/maint-xml-dump-02.xml: New file.
508 * gdb.xml/maint-xml-dump.exp: New file.
509
bb8d1260
SL
5102020-06-23 Sandra Loosemore <sandra@codesourcery.com>
511
512 * lib/completion-support.exp (test_gdb_completion_offers_commands):
513 Adjust for omitted commands when TUI is disabled.
514
7e4b9c4c
GB
5152020-06-23 Gary Benson <gbenson@redhat.com>
516 Pedro Alves <palves@redhat.com>
517
518 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
519 * gdb.cp/nsimport.cc: Likewise.
520 * gdb.cp/nsnested.cc: Likewise.
521 * gdb.cp/nsnoimports.cc: Likewise.
522 * gdb.cp/nsusing.cc: Likewise.
523 * gdb.cp/smartp.cc: Likewise.
524 * gdb.python/py-pp-integral.c: Likewise.
525 * gdb.python/py-pp-re-notag.c: Likewise.
526
2e573c0a
GB
5272020-06-23 Gary Benson <gbenson@redhat.com>
528
529 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
530 * gdb.cp/nsimport.cc: Likewise.
531 * gdb.cp/nsnested.cc: Likewise.
532 * gdb.cp/nsnoimports.cc: Likewise.
533 * gdb.cp/nsusing.cc: Likewise.
534 * gdb.cp/smartp.cc: Likewise.
535 * gdb.python/py-pp-integral.c: Likewise.
536 * gdb.python/py-pp-re-notag.c: Likewise.
537
746ebfe8
PW
5382020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
539
540 * gdb.base/default-args.exp: New test.
541 * gdb.base/default-args.c: New file.
542 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
543 * gdb.base/default.exp: Update to new help text.
544 * gdb.base/help.exp: Likewise.
545 * gdb.base/page.exp: Likewise.
546 * gdb.base/style.exp: Likewise.
547 * gdb.guile/guile.exp: Likewise.
548 * gdb.python/python.exp: Likewise.
549
e822f2cd
SL
5502020-06-22 Sandra Loosemore <sandra@codesourcery.com>
551
552 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
553 remote host. Fix search path syntax on Windows host.
554
48e9cc84
PW
5552020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
556
557 * gdb.base/attach.exp: Test priority of 'exec-file' changed
558 over 'exec-file-mismatch'.
559 * gdb.base/attach.c: Mark should_exit volatile.
560 * gdb.base/attach2.c: Likewise. Add a comment explaining
561 why the sleep cannot be big.
562 * gdb.base/attach3.c: New file.
563
160f8a8f
SL
5642020-06-20 Sandra Loosemore <sandra@codesourcery.com>
565
566 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
567 prefix optional.
568
4d91c2a4
SL
5692020-06-20 Sandra Loosemore <sandra@codesourcery.com>
570
571 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
572 for remote host.
573
87f83f20
SL
5742020-06-19 Sandra Loosemore <sandra@codesourcery.com>
575 Hafiz Abid Qadeer <abidh@codesourcery.com>
576
577 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
578 file sent to remote host.
579 (top level): Allow int32_t as type of 32-bit register.
580
37ab8655
TV
5812020-06-19 Tom de Vries <tdevries@suse.de>
582
583 * lib/gdb.exp (gdb_note): New proc.
584 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
585 (gdb_default_target_compile): ... here. Only call
586 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
587 (use_gdb_compile): Change to array.
588 (toplevel): Update sets of use_gdb_compile to specify language.
589 Warn about default_target_compile override. Store dejagnu's version
590 of default_target_compile in dejagnu_default_target_compile.
591
a8a56685
TV
5922020-06-18 Tom de Vries <tdevries@suse.de>
593
594 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
595 (default_gdb_init): ... here.
596
581bea2c
SL
5972020-06-17 Sandra Loosemore <sandra@codesourcery.com>
598
599 Fix TUI support checks in gdb.tui tests.
600
601 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
602 just say UNSUPPORTED.
603 * gdb.tui/corefile-run.exp: Likewise.
604 * gdb.tui/empty.exp: Likewise.
605 * gdb.tui/list-before.exp: Likewise.
606 * gdb.tui/list.exp: Likewise.
607 * gdb.tui/main.exp: Likewise.
608 * gdb.tui/regs.exp: Likewise.
609 * gdb.tui/resize.exp: Likewise.
610 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
611 * gdb.tui/tui-layout-asm.exp: Likewise.
612 * gdb.tui/tui-missing-src.exp: Likewise.
613 * gdb.tui/winheight.exp: Likewise.
614 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
615
05e682e3
SL
6162020-06-17 Sandra Loosemore <sandra@codesourcery.com>
617
618 Fix TCL error in gdb.python/py-format-string.exp.
619
620 * gdb.python/py-format-string.exp: Move test for python support
621 earlier, out of function body.
622
efb763a5
SM
6232020-06-15 Simon Marchi <simon.marchi@efficios.com>
624
625 * gdb.base/index-cache-load-twice.c: New.
626 * gdb.base/index-cache-load-twice.exp: New.
627
43327b20
KS
6282020-06-17 Keith Seitz <keiths@redhat.com>
629
99cf27cf 630 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
631 when executing "gdb --configuration".
632
081e778c
TV
6332020-06-17 Tom de Vries <tdevries@suse.de>
634
635 * lib/gdb.exp (gdb_tcl_unknown): New proc.
636 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
637 conditional on presence of gdb_tcl_unknown.
638 (gdb_finish): Make override undo conditional on presence of
639 gdb_tcl_unknown.
640
d2d1ea20
TT
6412020-06-16 Tom Tromey <tom@tromey.com>
642
643 * gdb.python/tui-window.py (failwin): New function. Register it
644 as a TUI window type.
645 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
646
c802e8a7
GB
6472020-06-16 Gary Benson <gbenson@redhat.com>
648
649 * gdb.python/py-nested-maps.c (create_map): Add missing return
650 value.
651 (create_map_map): Likewise.
652
ff08abb8
TBA
6532020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
654
655 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
656 variable.
657 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
658 and use the already-defined 'options' variable.
659
a29d5112
AB
6602020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
661 Tom de Vries <tdevries@suse.de>
662
663 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
664 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
665 (gdb_setup_known_globals): New proc.
666 (gdb_cleanup_globals): New proc.
667 * lib/gdb.exp (load_lib): New override proc.
668 (gdb_stdin_log_init): Set var in_file as persistent global.
669 * lib/pascal.exp (gdb_stdin_log_init): Set vars
670 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
671 fpc_compiler as persistent global.
672
8c74a764
TV
6732020-06-12 Tom de Vries <tdevries@suse.de>
674
675 * lib/tuiterm.exp (spawn): Rename to ...
676 (tui_spawn): ... this.
677 (toplevel): Move rename of spawn ...
678 (gdb_init_tuiterm): ... here. New proc.
679 (gdb_finish_tuiterm): New proc.
680 * lib/gdb.exp (gdb_finish_hooks): New global var.
681 (gdb_finish): Handle gdb_finish_hooks.
682 (tuiterm_env): New proc.
683 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
684 tuiterm_env.
685 * gdb.tui/basic.exp: Same.
686 * gdb.tui/corefile-run.exp: Same.
687 * gdb.tui/empty.exp: Same.
688 * gdb.tui/list-before.exp: Same.
689 * gdb.tui/list.exp: Same.
690 * gdb.tui/main.exp: Same.
691 * gdb.tui/new-layout.exp: Same.
692 * gdb.tui/regs.exp: Same.
693 * gdb.tui/resize.exp: Same.
694 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
695 * gdb.tui/tui-layout-asm.exp: Same.
696 * gdb.tui/tui-missing-src.exp: Same.
697 * gdb.tui/winheight.exp: Same.
698
26783bce
TV
6992020-06-12 Tom de Vries <tdevries@suse.de>
700
701 PR testsuite/26110
702 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
703 (gdb_finish): Reinstall dejagnu's override of ::unknown.
704
2b4e6a3f
TT
7052020-06-11 Tom Tromey <tom@tromey.com>
706
707 PR gdb/18318:
708 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
709 floating point tests.
710
2f33032a
KS
7112020-06-11 Keith Seitz <keiths@redhat.com>
712
713 PR gdb/21356
714 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
715 vla_struct.
716 Add new struct vla_typedef and union vla_typedef_union and
717 corresponding instantiation objects.
718 Initialize new objects.
719 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
720 and vla_typedef_union_object.
721 Fixup type for vla_struct_object.
722
a8baf0a3
TV
7232020-06-11 Tom de Vries <tdevries@suse.de>
724
725 * lib/gdb.exp (with_override): New proc, factored out of ...
726 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
727
7ab96794
TV
7282020-06-10 Tom de Vries <tdevries@suse.de>
729
730 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
731
cab5c3b7
SM
7322020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
733
734 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
735 parameter, update callers.
736
f8c41851
SM
7372020-06-04 Simon Marchi <simon.marchi@efficios.com>
738
739 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
740 * gdb.dwarf2/share-psymtabs-bt.c: New file.
741 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
742
1c07a73f
TV
7432020-06-04 Tom de Vries <tdevries@suse.de>
744
745 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
746
95146b5d
TV
7472020-06-04 Tom de Vries <tdevries@suse.de>
748
749 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
750 exp_continue.
751
0cfcd4f0
TV
7522020-06-04 Tom de Vries <tdevries@suse.de>
753
754 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
755
f9b5d5ea
TV
7562020-06-03 Tom de Vries <tdevries@suse.de>
757
758 PR symtab/26046
759 * gdb.cp/breakpoint-locs-2.cc: New test.
760 * gdb.cp/breakpoint-locs.cc: New test.
761 * gdb.cp/breakpoint-locs.exp: New file.
762 * gdb.cp/breakpoint-locs.h: New test.
763
5144dfba
TV
7642020-06-03 Tom de Vries <tdevries@suse.de>
765
766 PR testsuite/25609
767 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
768 value of global verbose.
769 * gdb.base/jit-elf.exp: Same.
770 * gdb.base/jit-reader.exp: Same.
771
621eacdf
TV
7722020-06-02 Tom de Vries <tdevries@suse.de>
773
774 * gdb.dwarf2/multidictionary.exp: Don't use
775 gdb_spawn_with_cmdline_opts.
776
1313c56e
AB
7772020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
778
779 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
780 use_header case.
781 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
782 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
783 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
784 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
785 * gdb.dwarf2/dw2-inline-header.c: New file.
786 * gdb.dwarf2/dw2-inline-header.h: New file.
787
f68f85b5
PA
7882020-05-30 Pedro Alves <palves@redhat.com>
789
790 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
791 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
792
678048e8
GB
7932020-05-29 Gary Benson <gbenson@redhat.com>
794
795 * gdb.compile/compile-cplus.exp (additional_flags): Also
796 set when building with clang.
797 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
798 when building with clang.
799
9fcafd23
GB
8002020-05-29 Gary Benson <gbenson@redhat.com>
801
802 * gdb.arch/i386-avx.exp (additional_flags): Also set when
803 building with clang.
804 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
805
735d5a07
GB
8062020-05-29 Gary Benson <gbenson@redhat.com>
807
808 * gdb.cp/koenig.exp (prepare_for_testing): Add
809 additional_flags=-Wno-unused-comparison.
810 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
811
4ad2c6a0
GB
8122020-05-28 Gary Benson <gbenson@redhat.com>
813
814 * gdb.base/sigaltstack.c (catcher): Add default case to switch
815 statement.
816
09fe663e
GB
8172020-05-28 Gary Benson <gbenson@redhat.com>
818
819 * gdb.cp/classes.exp (prepare_for_testing): Add
820 additional_flags=-Wno-deprecated-register.
821 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
822 * gdb.cp/misc.exp: Likewise.
823
cee00f17
GB
8242020-05-28 Gary Benson <gbenson@redhat.com>
825
826 * gdb.linespec/cpls-ops.cc (dummy): New static global.
827 (test_op_new::operator new): Add return statement.
828 (test_op_new_array::operator new[]): Likewise.
829
636edd00
PA
8302020-05-27 Pedro Alves <palves@redhat.com>
831
832 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
833 check. Use test_gdb_complete_unique instead of
834 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
835 test_gdb_complete_multiple instead of
836 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
837
c2b75043
LM
8382020-05-27 Luis Machado <luis.machado@linaro.org>
839
840 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
841 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
842 * gdb.arch/arm-disassembler-options.exp: Likewise.
843 * gdb.arch/arm-disp-step.exp: Likewise.
844 * gdb.arch/thumb-prologue.exp: Likewise.
845 * gdb.base/async.exp: Likewise.
846 * gdb.base/auxv.exp: Likewise.
847 * gdb.base/complex-parts.exp: Likewise.
848 * gdb.base/ena-dis-br.exp: Likewise.
849 * gdb.base/foll-exec.exp: Likewise.
850 * gdb.base/permissions.exp: Likewise.
851 * gdb.base/relocate.exp: Likewise.
852 * gdb.base/return2.exp: Likewise.
853 * gdb.base/sigbpt.exp: Likewise.
854 * gdb.base/siginfo-obj.exp: Likewise.
855 * gdb.cp/converts.exp: Likewise.
856 * gdb.cp/exceptprint.exp: Likewise.
857 * gdb.cp/inherit.exp: Likewise.
858 * gdb.cp/nsnoimports.exp: Likewise.
859 * gdb.cp/virtbase2.exp: Likewise.
860 * gdb.mi/mi-var-cmd.exp: Likewise.
861 * gdb.mi/var-cmd.c: Likewise.
862
53a47a3e
TT
8632020-05-26 Tom Tromey <tromey@adacore.com>
864
865 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
866
0bc2354b
TT
8672020-05-26 Tom Tromey <tromey@adacore.com>
868
869 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
870 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
871 type.
872 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
873 variable.
874
0db49895
CBG
8752020-05-26 Christian Biesinger <cbiesinger@google.com>
876
877 * Makefile.in: Use = instead of == for the test command
878 for portability.
879
40d22035
TV
8802020-05-26 Tom de Vries <tdevries@suse.de>
881
882 * gdb.base/gold-gdb-index-2.c: New test.
883 * gdb.base/gold-gdb-index.c: New test.
884 * gdb.base/gold-gdb-index.exp: New file.
885 * gdb.base/gold-gdb-index.h: New test.
886
043e2e02
TV
8872020-05-25 Tom de Vries <tdevries@suse.de>
888
889 * boards/gold-gdb-index.exp: New file.
890
462f72c5
SM
8912020-05-25 Simon Marchi <simon.marchi@efficios.com>
892
893 * boards/simavr.exp: New file.
894
6cf66e76
SM
8952020-05-25 Simon Marchi <simon.marchi@efficios.com>
896
897 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
898 * gdb.base/inferior-args.exp: New file.
899 * gdb.base/inferior-args.c: New file.
900
75d04512
SM
9012020-05-25 Simon Marchi <simon.marchi@efficios.com>
902
903 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
904 inferior_args. Pass it to gdb_reload.
905 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
906 inferior_args.
907 (gdb_reload): Add inferior_args argument.
908 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
909 pass it to gdbserver_run.
910 * boards/native-gdbserver.exp: Do not set noargs.
911 * boards/native-extended-gdbserver.exp (gdb_reload): Add
912 inferior_args argument.
913 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
914 * gdb.base/a2-run.exp: Check for use_gdb_stub.
915 * gdb.base/args.exp: Likewise.
916
42cf1844
TV
9172020-05-25 Tom de Vries <tdevries@suse.de>
918
919 * lib/gdb.exp (exec_is_pie): Add comment.
920
8f7d38ef
TV
9212020-05-25 Tom de Vries <tdevries@suse.de>
922
923 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
924 instead of $binfile in the untested message.
925
465e1b0f
TV
9262020-05-25 Tom de Vries <tdevries@suse.de>
927
928 PR testsuite/26031
929 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
930
3c5a0e02
TV
9312020-05-25 Tom de Vries <tdevries@suse.de>
932
933 * boards/gold.exp: New file.
934
0a4f5f8c
TT
9352020-05-23 Tom Tromey <tom@tromey.com>
936
937 * gdb.base/style.exp: Remove completion styling test.
938 * lib/gdb-utils.exp (style): Remove completion styles.
939
eca1f90c
TT
9402020-05-23 Tom Tromey <tom@tromey.com>
941
942 * gdb.base/style.exp: Add completion styling test.
943 * lib/gdb-utils.exp (style): Add completion styles.
944
7c13f4e8
AB
9452020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
946
947 * gdb.base/annota1.exp: Update expected results.
948 * gdb.cp/annota2.exp: Update expected results, remove duplicate
949 test name.
950 * gdb.cp/annota3.exp: Update expected results.
951
41977d16
SM
9522020-05-20 Simon Marchi <simon.marchi@efficios.com>
953
954 PR gdb/26016
955 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
956 against MAP_FAILED.
957 * gdb.base/coremaker.c (mmapdata): Likewise.
958 * gdb.base/jit-reader-host.c (main): Likewise.
959 * gdb.base/sym-file-loader.c (load): Likewise.
960 (load_shlib): Likewise.
961
b4757f2e
TT
9622020-05-20 Tom Tromey <tromey@adacore.com>
963
964 * gdb.ada/array_char_idx.exp: Recognize initialized array.
965
9a0bacfb
TV
9662020-05-20 Tom de Vries <tdevries@suse.de>
967
968 PR symtab/25833
969 * gdb.base/with-mf-inc.c: New test.
970 * gdb.base/with-mf-main.c: New test.
971 * gdb.base/with-mf.exp: New file.
972
76571211
TT
9732020-05-19 Tom Tromey <tromey@adacore.com>
974
975 * gdb.rust/simple.exp: Restore missing test result.
976
4cd9f3d5
TV
9772020-05-19 Tom de Vries <tdevries@suse.de>
978
979 * gdb.base/gdb-caching-proc.exp: Fix typo.
980
7d874253
TT
9812020-05-19 Tom Tromey <tromey@adacore.com>
982
983 * gdb.rust/simple.exp: Add some test descriptions.
984 (test_one_slice): Use with_test_prefix.
985
1d727695
TV
9862020-05-18 Tom de Vries <tdevries@suse.de>
987
988 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
989
7f32a4d5
PA
9902020-05-17 Pedro Alves <palves@redhat.com>
991
992 PR gdb/25741
993 * gdb.base/hw-sw-break-same-address.exp: New file.
994
7cfd74cf
PA
9952020-05-16 Pedro Alves <palves@redhat.com>
996
997 * gdb.multi/multi-re-run.exp (test_re_run): Switch
998 LAST_LOADED_FILE accordingly.
999
57b4f16e
PW
10002020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1001
1002 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1003
7c05caf7
PW
10042020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1005
1006 * gdb.base/help.exp: Test apropos and help for commands
1007 having aliases. Fixed comments not starting with an
1008 upper-case letter or not finishing with a dot.
1009
7aa1b46f
PW
10102020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1011
3b3aaacb
PW
1012 * gdb.base/alias.exp: Update help output check.
1013
57b4f16e 10142020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1015
7aa1b46f
PW
1016 * gdb.base/default.exp: Update output following fixes.
1017
0605465f
PW
10182020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1019
1020 * gdb.base/alias.exp: Test aliases starting with a prefix of
1021 another alias.
1022
86e4e63d
GB
10232020-05-15 Gary Benson <gbenson@redhat.com>
1024
1025 * gdb.base/info-os.c (main): Add return statement.
1026 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1027 * gdb.base/large-frame-2.c (func): Likewise.
1028 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1029 * gdb.base/pr10179-b.c (foo2): Likewise.
1030 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1031 * gdb.base/watch-cond.c (func): Likewise.
1032 * gdb.multi/goodbye.c (verylongfun): Likewise.
1033 * gdb.multi/hello.c (commonfun): Likewise.
1034 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1035 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1036 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1037 Likewise.
1038 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1039 * gdb.threads/interrupt-while-step-over.c (child_function):
1040 Likewise.
1041 * gdb.trace/actions-changed.c (end): Likewise.
1042
163df4df
GB
10432020-05-15 Gary Benson <gbenson@redhat.com>
1044
1045 * gdb.opencl/callfuncs.exp: Report when test skipped.
1046 * gdb.opencl/convs_casts.exp: Likewise.
1047 * gdb.opencl/datatypes.exp: Likewise.
1048 * gdb.opencl/operators.exp: Likewise.
1049 * gdb.opencl/vec_comps.exp: Likewise.
1050
6dbc505a
TV
10512020-05-15 Tom de Vries <tdevries@suse.de>
1052
1053 * gdb.base/align.exp.in: Rename to ...
1054 * gdb.base/align.exp.tcl: ... this.
1055 * gdb.base/align-c++.exp: Update.
1056 * gdb.base/align-c.exp: Update.
1057 * gdb.base/all-architectures.exp.in: Rename to ...
1058 * gdb.base/all-architectures.exp: ... this.
1059 * gdb.base/all-architectures-0.exp: Update.
1060 * gdb.base/all-architectures-1.exp: Update.
1061 * gdb.base/all-architectures-2.exp: Update.
1062 * gdb.base/all-architectures-3.exp: Update.
1063 * gdb.base/all-architectures-4.exp: Update.
1064 * gdb.base/all-architectures-5.exp: Update.
1065 * gdb.base/all-architectures-6.exp: Update.
1066 * gdb.base/all-architectures-7.exp: Update.
1067 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1068 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1069 * gdb.base/infcall-nested-structs-c++.exp: Update.
1070 * gdb.base/infcall-nested-structs-c.exp: Update.
1071 * gdb.base/info-types.exp.in: Rename to ...
1072 * gdb.base/info-types.exp.tcl: ... this.
1073 * gdb.base/info-types-c++.exp: Update.
1074 * gdb.base/info-types-c.exp: Update.
1075 * gdb.base/max-depth.exp.in: Rename to ...
1076 * gdb.base/max-depth.exp.tcl: ... this.
1077 * gdb.base/max-depth-c++.exp: Update.
1078 * gdb.base/max-depth-c.exp: Update.
1079 * gdb.cp/cpexprs.exp.in: Rename to ...
1080 * gdb.cp/cpexprs.exp.tcl: ... this.
1081 * gdb.cp/cpexprs-debug-types.exp: Update.
1082 * gdb.cp/cpexprs.exp: Update.
1083 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1084 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1085 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1086 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1087 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1088 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1089 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1090 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1091 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1092 * gdb.dwarf2/clang-debug-names.exp: Update.
1093
d1034d78
AB
10942020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * lib/check-test-names.exp: Remove code that prevents this file
1097 loading when tests are run in parallel.
1098
3c5c3649
PA
10992020-05-15 Pedro Alves <palves@redhat.com>
1100
1101 * gdb.multi/multi-kill.exp (start_inferior): Remove
1102 'testpid' parameter. Refer to namespace variable directly.
1103 (testpid): Declare as namespace variable.
1104
272c36b8
PA
11052020-05-15 Pedro Alves <palves@redhat.com>
1106
1107 * gdb.multi/multi-kill.exp: Wrap in namespace.
1108 (start_inferior): Add TESTPID parameter. Use it instead of the
1109 testpid global.
1110 (top level): Define empty TESTPID array, and pass it down to
1111 start_inferior.
1112
02eba61a
TV
11132020-05-14 Tom de Vries <tdevries@suse.de>
1114
1115 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1116 output.
1117
971a3747
TV
11182020-05-14 Tom de Vries <tdevries@suse.de>
1119
1120 * gdb.base/align.exp: Split into ...
1121 * gdb.base/align.exp.in: ...
1122 * gdb.base/align-c++.exp: ...
1123 * gdb.base/align-c.exp: ... these.
1124 * gdb.base/infcall-nested-structs.exp: Split into ...
1125 * gdb.base/infcall-nested-structs.exp.in: ...
1126 * gdb.base/infcall-nested-structs-c++.exp: ...
1127 * gdb.base/infcall-nested-structs-c.exp: ... these.
1128 * gdb.base/info-types.exp: Split into ...
1129 * gdb.base/info-types.exp.in: ...
1130 * gdb.base/info-types-c++.exp: ...
1131 * gdb.base/info-types-c.exp: ... these.
1132 * gdb.base/max-depth.exp: Split into ...
1133 * gdb.base/max-depth.exp.in: ...
1134 * gdb.base/max-depth-c++.exp: ...
1135 * gdb.base/max-depth-c.exp: ... these.
1136 * gdb.cp/infcall-nodebug.exp: Split into ...
1137 * gdb.cp/infcall-nodebug.exp.in: ...
1138 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1139 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1140 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1141 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1142
a05575d3
TBA
11432020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1144 Pedro Alves <palves@redhat.com>
1145
1146 * gdb.multi/multi-exit.c: New file.
1147 * gdb.multi/multi-exit.exp: New file.
1148 * gdb.multi/multi-kill.c: New file.
1149 * gdb.multi/multi-kill.exp: New file.
1150
6ad82919
TBA
11512020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1152
1153 * gdb.base/annota1.exp: Update the expected output.
1154 * gdb.cp/annota2.exp: Ditto.
1155
843f4d93
AB
11562020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1157
1158 * lib/check-test-names.exp: Disable when testing is being run in
1159 parallel.
1160
c7c66341
TV
11612020-05-12 Tom de Vries <tdevries@suse.de>
1162
1163 * gdb.base/jit-elf.exp: Fix string concat.
1164
1b59ca1c
TV
11652020-05-12 Tom de Vries <tdevries@suse.de>
1166
1167 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1168 messages.
1169
b4991d29
TV
11702020-05-12 Tom de Vries <tdevries@suse.de>
1171
1172 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1173
dbb0ab10
TV
11742020-05-12 Tom de Vries <tdevries@suse.de>
1175
1176 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1177 * gdb.ada/mi_catch_ex.exp: Same.
1178 * gdb.ada/mi_catch_ex_hand.exp: Same.
1179
7549fed8
TV
11802020-05-12 Tom de Vries <tdevries@suse.de>
1181
1182 * gdb.fortran/complex.exp: Use with_test_prefix.
1183
af2d5cd8
TV
11842020-05-12 Tom de Vries <tdevries@suse.de>
1185
1186 * gdb.trace/passcount.exp: Fix test-names.
1187
7c121311
TV
11882020-05-12 Tom de Vries <tdevries@suse.de>
1189
1190 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1191
c9f3b40e
TV
11922020-05-12 Tom de Vries <tdevries@suse.de>
1193
1194 * gdb.gdb/complaints.exp: Use with_test_prefix.
1195 * gdb.xml/tdesc-regs.exp: Same.
1196 * gdb.opt/inline-locals.exp: Fix test name.
1197
111b33f0
TV
11982020-05-12 Tom de Vries <tdevries@suse.de>
1199
1200 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1201 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1202 * gdb.dwarf2/implref-struct.exp: Same.
1203 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1204 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1205
ebf47080
SM
12062020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1207
1208 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1209
d30dcd12
AB
12102020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1211
1212 * lib/check-test-names.exp (all_test_names): New module variable.
1213 (counts): Add 'duplicates' field.
1214 (_check_duplicates): New procedure.
1215 (check): Also check for duplicates.
1216 (do_log_summary): Print duplicates count.
1217 (do_reset_vars): Reset counter for duplicate test names, and
1218 discard all know test names.
1219
34584c09
AB
12202020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1221
1222 * lib/gdb.exp: Include check-test-names.exp library.
1223 * lib/check-test-names.exp: New file.
1224
e0002117
TV
12252020-05-11 Tom de Vries <tdevries@suse.de>
1226
1227 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1228
53f539a3
KS
12292020-05-11 Keith Seitz <keiths@redhat.com>
1230
1231 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1232
113ee09a
TV
12332020-05-11 Tom de Vries <tdevries@suse.de>
1234
1235 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1236 * gdb.cp/cpexprs.exp.in: .. here.
1237 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1238 cpexprs.exp.
1239
ba3e70b0
KS
12402020-05-11 Keith Seitz <keiths@redhat.com>
1241
1242 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1243 test names.
1244 * gdb.ada/arrayptr.exp: Likewise.
1245 * gdb.ada/assign_arr.exp: Likewise.
1246 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1247 * gdb.ada/bp_on_var.exp: Likewise.
1248 * gdb.ada/call_pn.exp: Likewise.
1249 * gdb.ada/complete.exp: Likewise.
1250 * gdb.ada/fun_overload_menu.exp: Likewise.
1251 * gdb.ada/funcall_param.exp: Likewise.
1252 * gdb.ada/funcall_ref.exp: Likewise.
1253 * gdb.ada/packed_array_assign.exp: Likewise.
1254 * gdb.ada/same_component_name.exp: Likewise.
1255 * gdb.ada/type_coercion.exp: Likewise.
1256 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1257 * gdb.ada/variant_record_packed_array.exp: Likewise.
1258
3ee6bb11
TV
12592020-05-11 Tom de Vries <tdevries@suse.de>
1260
1261 PR symtab/25941
1262 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1263 out of ...
1264 * gdb.dwarf2/clang-debug-names.exp: ... here.
1265 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1266 clang-debug-names.exp.in.
1267 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1268 * gdb.dwarf2/clang-debug-names-2.c: New test.
1269
86cd6bc8
AKS
12702020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1271
1272 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1273 (fortran_runto_main): New Proc, fortran version of runto_main.
1274 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1275 * gdb.fortran/array-bounds.exp: Likewise.
1276 * gdb.fortran/array-slices.exp: Likewise.
1277 * gdb.fortran/block-data.exp: Likewise.
1278 * gdb.fortran/charset.exp: Likewise.
1279 * gdb.fortran/common-block.exp: Likewise.
1280 * gdb.fortran/complex.exp: Likewise.
1281 * gdb.fortran/derived-type-function.exp: Likewise.
1282 * gdb.fortran/derived-type.exp: Likewise.
1283 * gdb.fortran/info-modules.exp: Likewise.
1284 * gdb.fortran/info-types.exp: Likewise.
1285 * gdb.fortran/intrinsics.exp: Likewise.
1286 * gdb.fortran/library-module.exp: Likewise.
1287 * gdb.fortran/logical.exp: Likewise.
1288 * gdb.fortran/max-depth.exp: Likewise.
1289 * gdb.fortran/module.exp: Likewise.
1290 * gdb.fortran/multi-dim.exp: Likewise.
1291 * gdb.fortran/nested-funcs.exp: Likewise.
1292 * gdb.fortran/print-formatted.exp: Likewise.
1293 * gdb.fortran/print_type.exp: Likewise.
1294 * gdb.fortran/printing-types.exp: Likewise.
1295 * gdb.fortran/ptr-indentation.exp: Likewise.
1296 * gdb.fortran/ptype-on-functions.exp: Likewise.
1297 * gdb.fortran/subarray.exp: Likewise.
1298 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1299 * gdb.fortran/vla-datatypes.exp: Likewise.
1300 * gdb.fortran/vla-history.exp: Likewise.
1301 * gdb.fortran/vla-ptr-info.exp: Likewise.
1302 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1303 * gdb.fortran/vla-ptype.exp: Likewise.
1304 * gdb.fortran/vla-sizeof.exp: Likewise.
1305 * gdb.fortran/vla-type.exp: Likewise.
1306 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1307 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1308 * gdb.fortran/vla-value-sub.exp: Likewise.
1309 * gdb.fortran/vla-value.exp: Likewise.
1310 * gdb.fortran/whatis_type.exp: Likewise.
1311 * gdb.mi/mi-var-child-f.exp: Likewise.
1312
6dc55ce9 13132020-05-09 Tom de Vries <tdevries@suse.de>
1314
1315 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1316
283cb58c
TV
13172020-05-08 Tom de Vries <tdevries@suse.de>
1318
1319 * gdb.dwarf2/clang-debug-names.c: New test.
1320 * gdb.dwarf2/clang-debug-names.exp: New file.
1321
ac4a4f1c
SM
13222020-05-06 Simon Marchi <simon.marchi@efficios.com>
1323
1324 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1325 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1326
24fe640b
TV
13272020-05-06 Tom de Vries <tdevries@suse.de>
1328
1329 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1330 breakpoint is at a "recommended breakpoint location".
1331 * gdb.reverse/consecutive-reverse.exp: Same.
1332
0d8683a3
TV
13332020-05-06 Tom de Vries <tdevries@suse.de>
1334
1335 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1336 address.
1337
b8983c46
TV
13382020-05-06 Tom de Vries <tdevries@suse.de>
1339
1340 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1341
abf6d805
TV
13422020-05-06 Tom de Vries <tdevries@suse.de>
1343
1344 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1345 info for r.
1346
0fc2a808
TV
13472020-05-06 Tom de Vries <tdevries@suse.de>
1348
1349 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1350 necessary.
1351
873dd427
TV
13522020-05-06 Tom de Vries <tdevries@suse.de>
1353
1354 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1355 void.
1356
7c99e7e2
TV
13572020-05-06 Tom de Vries <tdevries@suse.de>
1358
1359 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1360 of ...
1361 * gdb.base/async.exp: ... here.
1362 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1363 "recommended breakpoint location".
1364
6173d6a6
TV
13652020-05-06 Tom de Vries <tdevries@suse.de>
1366
1367 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1368
6015a067
TV
13692020-05-04 Tom de Vries <tdevries@suse.de>
1370
1371 * gdb.base/async.exp: Check whether instruction addresses are a
1372 "recommended breakpoint location".
1373
3b6acaee
TT
13742020-05-03 Tom Tromey <tom@tromey.com>
1375
1376 * gdb.base/sepdebug.exp: Remove "catch" test.
1377 * gdb.base/break.exp: Remove "catch" test.
1378 * gdb.base/default.exp: Update expected output.
1379
5beb4d17
TV
13802020-05-02 Tom de Vries <tdevries@suse.de>
1381
1382 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1383 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1384 * gdb.arch/i386-mpx-map.exp: Same.
1385 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1386 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1387 * gdb.arch/i386-mpx.exp: Same.
1388
8caf140d
TV
13892020-05-02 Tom de Vries <tdevries@suse.de>
1390
1391 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1392
693196cb
TV
13932020-05-01 Tom de Vries <tdevries@suse.de>
1394
1395 * gdb.ada/operator_bp.exp: Allow more than required amount of
1396 breakpoint.
1397
53ae0aa9
TV
13982020-05-01 Tom de Vries <tdevries@suse.de>
1399
1400 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1401
ee9d1e5f
HD
14022020-04-30 Hannes Domani <ssbssa@yahoo.de>
1403
1404 PR gdb/18706
1405 * gdb.cp/stub-array-size.cc: New test.
1406 * gdb.cp/stub-array-size.exp: New file.
1407 * gdb.cp/stub-array-size.h: New test.
1408 * gdb.cp/stub-array-size2.cc: New test.
1409
d5cf82c0
HD
14102020-04-30 Hannes Domani <ssbssa@yahoo.de>
1411
1412 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1413 output to the new format.
1414
42e165c3
SM
14152020-04-29 Simon Marchi <simon.marchi@efficios.com>
1416
1417 * gdb.base/break.exp: Use with_test_prefix.
1418
6e4e3fe1
TV
14192020-04-29 Tom de Vries <tdevries@suse.de>
1420
1421 * lib/gdb.exp (debug_types): New proc.
1422 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1423 * gdb.python/py-symtab.exp: Same.
1424
d642b692
HD
14252020-04-29 Hannes Domani <ssbssa@yahoo.de>
1426
1427 PR gdb/17320
1428 * gdb.base/pretty-array.c: New test.
1429 * gdb.base/pretty-array.exp: New file.
1430
ea90f227
TV
14312020-04-29 Tom de Vries <tdevries@suse.de>
1432
1433 PR symtab/25889
1434 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1435 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1436 and include cpexprs.exp.
1437
a65189c9
TV
14382020-04-28 Mark Williams <mark@myosotissp.com>
1439
1440 PR gdb/24480
1441 * dw4-toplevel-types.exp: Test for top level types.
1442 * dw4-toplevel-types.cc: Test for top level types.
1443
32d1f47a
TBA
14442020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1445
1446 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1447 (theads -> threads).
1448
56a4f5a1
TV
14492020-04-28 Tom de Vries <tdevries@suse.de>
1450
1451 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1452
0b2f8a3b
TV
14532020-04-28 Tom de Vries <tdevries@suse.de>
1454
1455 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1456
5390c717
TV
14572020-04-28 Tom de Vries <tdevries@suse.de>
1458
1459 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1460
15cd93d0
TV
14612020-04-28 Tom de Vries <tdevries@suse.de>
1462
1463 * gdb.dwarf2/main-foo.c: New test.
1464 * gdb.dwarf2/struct-with-sig.exp: New file.
1465
d472f0fb
TV
14662020-04-25 Tom de Vries <tdevries@suse.de>
1467
1468 * boards/debug-types.exp: New file.
1469
8d840e05
AB
14702020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1471
1472 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1473
bcfe6157
TT
14742020-04-24 Tom Tromey <tom@tromey.com>
1475
1476 PR symtab/12707:
1477 * gdb.python/py-symbol.exp: Update expected results for
1478 linkage_name test.
1479 * gdb.cp/print-demangle.exp: New file.
1480 * gdb.base/c-linkage-name.exp: Fix test.
1481 * gdb.guile/scm-symbol.exp: Update expected results for
1482 linkage_name test.
1483
f049a313
TT
14842020-04-24 Tom Tromey <tom@tromey.com>
1485
1486 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1487 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1488 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1489 assembler.
1490
7cf28874
TV
14912020-04-24 Tom de Vries <tdevries@suse.de>
1492
1493 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1494 C++.
1495
dac2fef7
TT
14962020-04-24 Tom Tromey <tromey@adacore.com>
1497
1498 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1499 values.
1500 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1501 values. Update test for minimal encodings.
1502 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1503 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1504 values. Update test for minimal encodings.
1505
1acda803
TT
15062020-04-24 Tom Tromey <tromey@adacore.com>
1507
1508 PR python/23662:
1509 * gdb.ada/variant.exp: Add Python checks.
1510 * gdb.rust/simple.exp: Add dynamic type checks.
1511
adfb9815
TT
15122020-04-24 Tom Tromey <tromey@adacore.com>
1513
1514 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1515 Make array type matching more lax.
1516 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1517 * gdb.ada/mi_variant.exp: New file.
1518 * gdb.ada/mi_variant/pck.ads: New file.
1519 * gdb.ada/mi_variant/pkg.adb: New file.
1520 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1521 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1522
7d79de9a
TT
15232020-04-24 Tom Tromey <tromey@adacore.com>
1524
1525 * gdb.ada/variant.exp: Add dynamic field offset tests.
1526 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1527 * gdb.ada/variant/pkg.adb: Add new variables.
1528
f8e89861
TT
15292020-04-24 Tom Tromey <tromey@adacore.com>
1530
1531 * gdb.ada/variant.exp: New file
1532 * gdb.ada/variant/pkg.adb: New file
1533 * gdb.ada/variant/pck.adb: New file
1534
86e887ae
TV
15352020-04-24 Tom de Vries <tdevries@suse.de>
1536
1537 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1538
88428775
TV
15392020-04-24 Tom de Vries <tdevries@suse.de>
1540
1541 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1542 flags.
1543
4e86f6e7
TV
15442020-04-24 Tom de Vries <tdevries@suse.de>
1545
1546 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1547
2016d3e6
TV
15482020-04-24 Tom de Vries <tdevries@suse.de>
1549
1550 * lib/gdb.exp (default_gdb_start): Handle eof.
1551 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1552 failure.
1553 * gdb.base/readnever.exp: Handle clean_restart failure.
1554
70bc38f5
TV
15552020-04-23 Tom de Vries <tdevries@suse.de>
1556
1557 * gdb.base/decl-before-def.exp: Run to main and print a again.
1558
de82891c
TV
15592020-04-23 Tom de Vries <tdevries@suse.de>
1560
1561 * gdb.base/decl-before-def-decl.c: New test.
1562 * gdb.base/decl-before-def-def.c: New test.
1563 * gdb.base/decl-before-def.exp: New file.
1564
96038148
TV
15652020-04-23 Tom de Vries <tdevries@suse.de>
1566
1567 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1568
54ac3df1
TV
15692020-04-22 Tom de Vries <tdevries@suse.de>
1570
1571 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1572 debug_info_offset.
1573 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1574 before $objsfile in the line line.
1575
714534e1
TV
15762020-04-22 Tom de Vries <tdevries@suse.de>
1577
1578 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1579
16a7dbf4
MS
15802020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1581
1582 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1583 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1584 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1585 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1586 * gdb.base/jit-protocol.h: Update definitions to match all usage
1587 contexts.
1588
15892020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1590
1591 * gdb.base: Rename all jit related test and source files.
1592
15932020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1594
1595 * gdb.base/jit-reader.exp: Relax register output check.
1596
317d2668
TV
15972020-04-22 Tom de Vries <tdevries@suse.de>
1598
1599 PR symtab/25764
1600 * gdb.base/psym-external-decl-2.c: New test.
1601 * gdb.base/psym-external-decl.c: New test.
1602 * gdb.base/psym-external-decl.exp: New file.
1603 * gdb.threads/tls.exp: Add PR25807 kfail.
1604
eea9e357
TV
16052020-04-22 Tom de Vries <tdevries@suse.de>
1606
1607 PR symtab/25801
1608 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1609 in "info source" output.
1610
3d5afab3
TV
16112020-04-22 Tom de Vries <tdevries@suse.de>
1612
1613 PR symtab/25700
1614 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1615 symtab for imported_unit.c.
1616
b32102f6
GB
16172020-04-21 Gary Benson <gbenson@redhat.com>
1618
1619 * gdb.base/advance.c (func): New argument, to match call site.
1620 (func2, func3): Add return statements.
1621
d43b7a2d
TBA
16222020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1623
1624 * gdb.multi/run-only-second-inf.c: New file.
1625 * gdb.multi/run-only-second-inf.exp: New file.
1626
d89edf9b
MM
16272020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1628
1629 * gdb.btrace/multi-inferior.c: New test.
1630 * gdb.btrace/multi-inferior.exp: New file.
1631
1a476b6d
MM
16322020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1633
1634 * gdb.btrace/enable-new-thread.c: New test.
1635 * gdb.btrace/enable-new-thread.exp: New file.
1636
4778a5f8
TV
16372020-04-21 Tom de Vries <tdevries@suse.de>
1638
1639 PR gdb/25471
1640 * gdb.threads/killed-outside.c: New test.
1641 * gdb.threads/killed-outside.exp: New file.
1642
9b2c992c
GB
16432020-04-20 Gary Benson <gbenson@redhat.com>
1644
1645 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1646 * gdb.base/nested-subp2.exp: Likewise.
1647 * gdb.base/nested-subp3.exp: Likewise.
1648
b5d1d6f7
GB
16492020-04-20 Gary Benson <gbenson@redhat.com>
1650
1651 * gdb.base/nested-subp1.exp: Disable test when using clang.
1652 * gdb.base/nested-subp2.exp: Likewise.
1653 * gdb.base/nested-subp3.exp: Likewise.
1654
25230285
GB
16552020-04-20 Gary Benson <gbenson@redhat.com>
1656
1657 * gdb.cp/exception.cc: Fix compilation error with clang.
1658
fa93cc8f
GB
16592020-04-20 Gary Benson <gbenson@redhat.com>
1660
809730f3 1661 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 1662
e0c45f30
GB
16632020-04-20 Gary Benson <gbenson@redhat.com>
1664
1665 * gdb.base/jit-main.c: Fix compilation error with clang.
1666
4ddfec93
KR
16672020-04-17 Kamil Rytarowski <n54@gmx.com>
1668
1669 * gdb.base/attach-twice.c: Include "sys/types.h".
1670 (PTRACE_ATTACH): Add fallback definition.
1671 (main): Pass `0' to the 4th argument of `ptrace'.
1672
2bed205e
KR
16732020-04-17 Kamil Rytarowski <n54@gmx.com>
1674
1675 * gdb.base/fork-running-state.c: Include "signal.h".
1676
0743fc83
TT
16772020-04-17 Tom Tromey <tromey@adacore.com>
1678
1679 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1680 Update tests.
1681 * gdb.btrace/cpu.exp: Update tests.
1682 * gdb.base/maint.exp: Update tests.
1683 * gdb.base/default.exp: Update tests.
1684 * gdb.base/completion.exp: Update tests.
1685
efba5c23
TV
16862020-04-16 Tom de Vries <tdevries@suse.de>
1687
1688 PR symtab/25791
1689 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1690 (ensure_gdb_index): and factor out and move ...
1691 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1692 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1693
d191d716
TV
16942020-04-16 Tom de Vries <tdevries@suse.de>
1695
1696 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1697 loading exec.
1698
99f1bc6a
AB
16992020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1700
1701 * gdb.base/many-completions.exp: New file.
1702
194d088f
TV
17032020-04-14 Tom de Vries <tdevries@suse.de>
1704
1705 PR symtab/25718
1706 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1707
c1a66c06
TV
17082020-04-14 Tom de Vries <tdevries@suse.de>
1709
1710 PR symtab/25720
1711 * gdb.base/maint-expand-symbols-header-file.c: New test.
1712 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1713 * gdb.base/maint-expand-symbols-header-file.h: New test.
1714
21b0982c
AB
17152020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1716
1717 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1718 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1719 get_func_info.
1720 (get_func_info): Delete.
1721 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1722 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1723 * lib/dwarf.exp (get_func_info): New function.
1724
dd1cab06
TV
17252020-04-13 Tom de Vries <tdevries@suse.de>
1726
1727 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1728 to what find_gnatmake does.
1729
71ea2b6b
TV
17302020-04-10 Tom de Vries <tdevries@suse.de>
1731
1732 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1733 -readnow.
1734
bdfc1e8a
TV
17352020-04-10 Tom de Vries <tdevries@suse.de>
1736
1737 PR cli/25808
1738 * gdb.base/style.c: Add leading newlines.
1739 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1740 Check listing of main's one-line body.
1741
14ca8ecf
TV
17422020-04-08 Tom de Vries <tdevries@suse.de>
1743
1744 * lib/gdb.exp (psymtabs_p): New proc.
1745 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1746 importing unit" unsupported if there are no partial symbols.
1747
e21d048f
TV
17482020-04-08 Tom de Vries <tdevries@suse.de>
1749
1750 PR testsuite/25760
1751 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1752
25c11aca
TV
17532020-04-07 Tom de Vries <tdevries@suse.de>
1754
1755 PR symtab/25796
1756 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1757
5707e24b
TV
17582020-04-07 Tom de Vries <tdevries@suse.de>
1759
1760 * gdb.base/check-psymtab.c: New test.
1761 * gdb.base/check-psymtab.exp: New file.
1762
6ee448cc
TT
17632020-04-06 Tom Tromey <tromey@adacore.com>
1764
1765 * gdb.ada/variant-record/proc.adb: New file.
1766 * gdb.ada/variant-record/value.adb: New file.
1767 * gdb.ada/variant-record/value.s: New file.
1768 * gdb.ada/variant-record.exp: New file.
1769
9e7c9a03
HD
17702020-04-03 Hannes Domani <ssbssa@yahoo.de>
1771
1772 PR gdb/25325
1773 * gdb.cp/typed-enum.cc: New test.
1774 * gdb.cp/typed-enum.exp: New file.
1775
c90d28ac
AB
17762020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1777
1778 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1779 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1780 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1781 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1782 * gdb.opt/inline-small-func.c: New file.
1783 * gdb.opt/inline-small-func.exp: New file.
1784 * gdb.opt/inline-small-func.h: New file.
1785
34e9a9fa
AB
17862020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1787
1788 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1789 function.
1790
6a354911
AB
17912020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1792
1793 * lib/dwarf.exp (function_range): Allow compiler options to be
1794 specified.
1795
880d9777
TV
17962020-04-02 Tom de Vries <tdevries@suse.de>
1797
1798 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1799 __attribute__((always_inline)).
1800 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1801
f32682ea
TV
18022020-04-02 Tom de Vries <tdevries@suse.de>
1803
1804 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1805 (gdbserver_gdb_exit): ... here. Add timeout warning.
1806 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1807 (connect_target_extended_remote): Append new server_spawn_id to
1808 server_spawn_ids.
1809 (cleanup): New proc.
1810 (setup, <toplevel>): Call cleanup.
1811
d3214198
TV
18122020-04-02 Tom de Vries <tdevries@suse.de>
1813
1814 * gdb.base/main-psymtab.exp: New file.
1815
cc77ed24
TV
18162020-04-02 Tom de Vries <tdevries@suse.de>
1817
1818 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1819
3638a098
TT
18202020-04-01 Tom Tromey <tom@tromey.com>
1821
1822 * gdb.base/complex-parts.exp: Add type tests.
1823
c34e8714
TT
18242020-04-01 Tom Tromey <tom@tromey.com>
1825
1826 * gdb.base/complex-parts.exp: Add arithmetic tests.
1827
981c08ce
TT
18282020-04-01 Tom Tromey <tom@tromey.com>
1829
1830 * gdb.compile/compile.exp: Update.
1831 * gdb.compile/compile-cplus.exp: Update.
1832 * gdb.base/varargs.exp: Update.
1833 * gdb.base/floatn.exp: Update.
1834 * gdb.base/endianity.exp: Update.
1835 * gdb.base/callfuncs.exp (do_function_calls): Update.
1836 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1837 (complex_float_integral_args): Update.
1838 * gdb.base/complex.exp: Update.
1839 * gdb.base/complex-parts.exp: Update.
1840
3d1cfd43
TT
18412020-04-01 Tom Tromey <tromey@adacore.com>
1842
1843 * gdb.rust/union.rs: New file.
1844 * gdb.rust/union.exp: New file.
1845 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1846 (main): Update.
1847 * gdb.rust/simple.exp: Move union tests to union.exp.
1848
e033dfa9
TT
18492020-04-01 Tom Tromey <tromey@adacore.com>
1850
1851 * gdb.rust/simple.rs (main): Remove "y0".
1852
53cccef1
TBA
18532020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1854
1855 * gdb.multi/stop-all-on-exit.c: New test.
1856 * gdb.multi/stop-all-on-exit.exp: New file.
1857
60e22c1e
HD
18582020-04-01 Hannes Domani <ssbssa@yahoo.de>
1859
1860 PR gdb/24789
1861 * gdb.cp/misc.cc: Add integer reference variable.
1862 * gdb.cp/misc.exp: Add test.
1863
e139a727
TBA
18642020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1865
1866 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1867 scenario to cover execution until the end and also the case
1868
16b0db75
TV
18692020-03-31 Tom de Vries <tdevries@suse.de>
1870
1871 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1872 c. Use "maint info symtabs" to check symtab expansion.
1873
c0502da6
TV
18742020-03-30 Tom de Vries <tdevries@suse.de>
1875
1876 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1877 unsupported.
1878 (verify_psymtab_expanded): Move ...
1879 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1880 test.
1881 (readnow): New proc.
1882
5935fd15
AB
18832020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1884
1885 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1886 with $hex.
1887
1773be9e
TT
18882020-03-20 Tom Tromey <tromey@adacore.com>
1889
1890 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1891
70304be9
TT
18922020-03-20 Tom Tromey <tromey@adacore.com>
1893
1894 * gdb.ada/sub_variant/subv.adb: New file.
1895 * gdb.ada/sub_variant.exp: New file.
1896
0dd7b8f7
TV
18972020-03-20 Tom de Vries <tdevries@suse.de>
1898
1899 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1900 first break fails.
1901 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1902
cada5fc9
AB
19032020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1904
1905 * gdb.server/exit-multiple-threads.c: New file.
1906 * gdb.server/exit-multiple-threads.exp: New file.
1907
6b8c53f2
AB
19082020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1909
1910 * gdb.fortran/mixed-lang-stack.c: New file.
1911 * gdb.fortran/mixed-lang-stack.cpp: New file.
1912 * gdb.fortran/mixed-lang-stack.exp: New file.
1913 * gdb.fortran/mixed-lang-stack.f90: New file.
1914
19a2740f
AB
19152020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1916
1917 * gdb.linespec/cp-completion-aliases.cc: New file.
1918 * gdb.linespec/cp-completion-aliases.exp: New file.
1919
d8c8b848
TV
19202020-03-19 Tom de Vries <tdevries@suse.de>
1921
1922 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1923 more precise.
1924
a9933ccf
TV
19252020-03-18 Tom de Vries <tdevries@suse.de>
1926
1927 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1928 * gdb.dwarf2/break-inline-psymtab.c: New test.
1929 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1930
2f89101f
TV
19312020-03-16 Tom de Vries <tdevries@suse.de>
1932
1933 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1934 cache_verify and cache_verify_proc.
1935
6b9374f1
TV
19362020-03-15 Tom de Vries <tdevries@suse.de>
1937
1938 * gdb.server/solib-list.exp: Handle
1939 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1940
eaeaf44c
TV
19412020-03-15 Tom de Vries <tdevries@suse.de>
1942
1943 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1944 objfiles".
1945
3293bbaf
TT
19462020-03-14 Tom Tromey <tom@tromey.com>
1947
1948 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1949
ab44624c
TV
19502020-03-14 Tom de Vries <tdevries@suse.de>
1951
1952 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1953
54c43825
TV
19542020-03-14 Tom de Vries <tdevries@suse.de>
1955
1956 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1957 result in line-by-line fashion.
1958
2ac70237
TV
19592020-03-14 Tom de Vries <tdevries@suse.de>
1960
1961 * lib/gdb.exp (supports_statement_frontiers): New proc.
1962 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1963
09546b56
TV
19642020-03-14 Tom de Vries <tdevries@suse.de>
1965
1966 * gdb.base/printcmds.exp: Add missing quoting for "print
1967 teststring2".
1968
a1f6a07c
TT
19692020-03-13 Tom Tromey <tom@tromey.com>
1970
1971 * gdb.base/printcmds.exp (test_print_strings): Add regression
1972 test.
1973 * gdb.base/printcmds.c (charptr): New typedef.
1974 (teststring2): New global.
1975
1b83d09c
AB
19762020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1977
1978 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1979 full path in the test name.
1980 (test_ld): Add some with_test_prefix blocks to make test names
1981 unique.
1982
2d61316c
TV
19832020-03-13 Tom de Vries <tdevries@suse.de>
1984
1985 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1986
2e9145ac
TV
19872020-03-13 Tom de Vries <tdevries@suse.de>
1988
1989 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1990
96c7f873
TV
19912020-03-13 Tom de Vries <tdevries@suse.de>
1992
1993 PR symtab/25646
1994 * gdb.dwarf2/imported-unit.exp: Add test.
1995
49ba92c0
TV
19962020-03-13 Tom de Vries <tdevries@suse.de>
1997
1998 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1999 (var1, var2): New variable.
2000 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2001 matching symbols.
2002
301b21e0
TV
20032020-03-13 Tom de Vries <tdevries@suse.de>
2004
2005 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2006 (Term::command): Use prompt prefix.
2007 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2008 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2009 command_no_prompt_prefix instead of prefix.
2010 * gdb.tui/tui-layout-asm.exp: Same.
2011
3f512721
SM
20122020-03-12 Simon Marchi <simon.marchi@efficios.com>
2013
2014 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2015
40310f30
SM
20162020-03-12 Simon Marchi <simon.marchi@efficios.com>
2017
2018 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2019 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2020 on" while stepping over the test instruction, match printed
2021 message.
2022
09252140
TV
20232020-03-12 Tom de Vries <tdevries@suse.de>
2024
2025 * gdb.base/info-types.exp: Use exp_continue during matching of output
2026 of "info types".
2027
14e9c72c
TV
20282020-03-12 Tom de Vries <tdevries@suse.de>
2029
2030 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2031
e515d67e
TV
20322020-03-12 Tom de Vries <tdevries@suse.de>
2033
2034 * gdb.fortran/module.exp: Use exp_continue during matching of output
2035 of "info variable -n".
2036
307eafd8
TV
20372020-03-12 Tom de Vries <tdevries@suse.de>
2038
2039 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2040 gdb.dwarf2/dw2-ranges-base.c.
2041
9a2de3fc
TV
20422020-03-12 Tom de Vries <tdevries@suse.de>
2043
2044 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2045 in presence of GLIBC debuginfo.
2046
3217502e
TV
20472020-03-12 Tom de Vries <tdevries@suse.de>
2048
2049 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2050 $core.
2051
1281424c
TV
20522020-03-12 Tom de Vries <tdevries@suse.de>
2053
2054 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2055 more precise.
2056
038b97fc
SM
20572020-03-11 Simon Marchi <simon.marchi@efficios.com>
2058
2059 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2060 from Unix to Windows path.
2061
5308d1e7
TV
20622020-03-11 Tom de Vries <tdevries@suse.de>
2063
2064 * gdb.ada/minsyms.exp: Set language to ada.
2065
f870f78f
TV
20662020-03-11 Tom de Vries <tdevries@suse.de>
2067
2068 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2069
5a13315d
TV
20702020-03-11 Tom de Vries <tdevries@suse.de>
2071
2072 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2073
976862ed
TT
20742020-03-11 Tom Tromey <tromey@adacore.com>
2075
2076 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2077
7462c383
TV
20782020-03-11 Tom de Vries <tdevries@suse.de>
2079
2080 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2081
1c6c46a0
TV
20822020-03-11 Tom de Vries <tdevries@suse.de>
2083
2084 * gdb.base/break-interp.exp: Limit verbose scope.
2085
44f41bb7
TV
20862020-03-11 Tom de Vries <tdevries@suse.de>
2087
2088 * gdb.fortran/logical.f90: Define variable with character type.
2089 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2090
b76f3a42
TV
20912020-03-11 Tom de Vries <tdevries@suse.de>
2092
2093 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2094
1c33af77
TV
20952020-03-11 Tom de Vries <tdevries@suse.de>
2096
2097 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2098 symtabs.
2099
8c95582d
AB
21002020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2101 Bernd Edlinger <bernd.edlinger@hotmail.de>
2102
2103 * gdb.cp/step-and-next-inline.cc: New file.
2104 * gdb.cp/step-and-next-inline.exp: New file.
2105 * gdb.cp/step-and-next-inline.h: New file.
2106 * gdb.dwarf2/dw2-is-stmt.c: New file.
2107 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2108 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2109 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2110 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2111
cecf8547
AB
21122020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2113
2114 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2115 is-stmt flag in the line table.
2116
0ba678c9
TV
21172020-03-09 Tom de Vries <tdevries@suse.de>
2118
2119 * lib/gdb.exp (cached_file): Create cache dir.
2120
72fbdf83
TV
21212020-03-07 Tom de Vries <tdevries@suse.de>
2122
2123 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2124 * gdb.cp/rvalue-ref-params.exp: Same.
2125
436b5e99
TV
21262020-03-06 Tom de Vries <tdevries@suse.de>
2127
2128 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2129 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2130
09f2921c
TV
21312020-03-06 Tom de Vries <tdevries@suse.de>
2132
2133 * README: Fix "the the".
2134 * gdb.base/dprintf.exp: Same.
2135
50a3cc5d
TV
21362020-03-05 Tom de Vries <tdevries@suse.de>
2137
2138 * gdb.base/maint.exp: Update "main print statistics" expected output.
2139
0a709cba
AKS
21402020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2141
2142 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2143 (fortran_int8): Likewise.
2144 (fortran_real4): Likewise.
2145 (fortran_real8): Likewise.
2146 (fortran_complex4): Likewise.
2147 (fortran_logical4): Likewise.
2148 (fortran_character1): Likewise.
2149
5e5d66b6
AB
21502020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2151
2152 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2153 printed as true.
2154
7b973adc
SDJ
21552020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2156
2157 * gdb.base/printcmds.exp: Add test to verify printf of a
2158 variable holding an address.
2159
478e490a
TV
21602020-03-03 Tom de Vries <tdevries@suse.de>
2161
2162 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2163
1ef44e86
TV
21642020-03-03 Tom de Vries <tdevries@suse.de>
2165
2166 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2167 gdb_test_multiple call.
2168
b98cc2cf
TV
21692020-03-03 Tom de Vries <tdevries@suse.de>
2170
2171 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2172 gdb_test_multiple calls.
2173
63e163f2
AB
21742020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2175
2176 * gdb.base/default.exp: Remove test of 'set history filename'.
2177 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2178 filename to the empty string.
2179 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2180 and GDBHISTSIZE.
2181
24ed6739
AB
21822020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2183
2184 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2185 disabled.
2186
590003dc
TV
21872020-03-02 Pedro Alves <palves@redhat.com>
2188 Tom de Vries <tdevries@suse.de>
2189
2190 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2191 -prompt prefix, before user_code argument. Add -lbl option likewise.
2192 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2193 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2194 argument.
2195 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2196 have "\r\n" at start-of-line, instead of at end-of-line.
2197
f5e46084
SM
21982020-02-28 Simon Marchi <simon.marchi@efficios.com>
2199
2200 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2201 libinproctrace.so.
2202
f7a7000d
LM
22032020-02-28 Luis Machado <luis.machado@linaro.org>
2204
2205 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2206 to "p/x".
2207
718e0816
LM
22082020-02-28 Luis Machado <luis.machado@linaro.org>
2209
2210 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2211 asm/ptrace.h and error.h.
2212
13c3a74a
TV
22132020-02-28 Tom de Vries <tdevries@suse.de>
2214
2215 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2216 (struct wrapper, do_something, mundane/symada__cS): Move ...
2217 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2218 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2219 Update "print symada__cS before partial symtab expansion" regexp.
2220 Update breakpoint location. Flush symbol cache after expansion.
2221
85d2d5bb
LM
22222020-02-28 Luis Machado <luis.machado@linaro.org>
2223
2224 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2225
3608f86c
TV
22262020-02-27 Tom de Vries <tdevries@suse.de>
2227
2228 * config/sid.exp: Remove unused globals.
2229 * gdb.base/attach.exp: Same.
2230 * gdb.base/catch-load.exp: Same.
2231 * gdb.base/dbx.exp: Same.
2232 * lib/gdb.exp: Same.
2233 * lib/mi-support.exp: Same.
2234 * lib/prompt.exp: Same.
2235
c8d4f6df
TV
22362020-02-27 Tom de Vries <tdevries@suse.de>
2237
2238 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2239 not set.
2240
0d79cdc4
AM
22412020-02-26 Aaron Merey <amerey@redhat.com>
2242
2243 * gdb.debuginfod: New directory for debuginfod tests.
2244 * gdb.debuginfod/main.c: New test file.
2245 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2246
0dce4280
TV
22472020-02-26 Tom de Vries <tdevries@suse.de>
2248
2249 PR gdb/25603
2250 * gdb.base/persistent-lang.cc: New test.
2251 * gdb.base/persistent-lang.exp: New file.
2252
9e80cfa1
AB
22532020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2254
2255 * gdb.fortran/derived-type-striding.exp: Add a new test.
2256 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2257 new test.
2258
2078dbb2
AB
22592020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2260
2261 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2262 names.
2263
70d49700
TV
22642020-02-25 Tom de Vries <tdevries@suse.de>
2265
2266 PR go/18926
2267 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2268
a88ef40d
TV
22692020-02-24 Tom de Vries <tdevries@suse.de>
2270
2271 PR gdb/25592
2272 * gdb.base/info-locals-unused-static-var.c: New test.
2273 * gdb.base/info-locals-unused-static-var.exp: New file.
2274
01b1af32
TT
22752020-02-22 Tom Tromey <tom@tromey.com>
2276
2277 * gdb.python/tui-window.exp: New file.
2278 * gdb.python/tui-window.py: New file.
2279
7c043ba6
TT
22802020-02-22 Tom Tromey <tom@tromey.com>
2281
2282 PR tui/17850:
2283 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2284 tests.
2285
c22fef7e
TT
22862020-02-22 Tom Tromey <tom@tromey.com>
2287
2288 * gdb.tui/new-layout.exp: Add sub-layout tests.
2289
ee325b61
TT
22902020-02-22 Tom Tromey <tom@tromey.com>
2291
2292 * gdb.tui/new-layout.exp: New file.
2293
3f0cbb04
TT
22942020-02-22 Tom Tromey <tom@tromey.com>
2295
2296 * gdb.rust/rust-style.rs: New file.
2297 * gdb.rust/rust-style.exp: New file.
2298 * gdb.base/style.exp: Test structure printing.
2299 * gdb.base/style.c (struct some_struct): New type.
2300 (enum etype): New type.
2301 (struct_value): New global.
2302
75525152
TV
23032020-02-21 Tom de Vries <tdevries@suse.de>
2304
2305 PR go/18926
2306 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2307 Remove blanket xfails. Use message argument for gdb_breakpoint.
2308 Make continuing to breakpoint test conditional on setting breakpoint.
2309 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2310 DW_AT_name attribute. Add xfail for GCC PR93866.
2311
bd360d30
AB
23122020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2313
2314 * gdb.dwarf2/cpp-linkage-name.c: New file.
2315 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2316
c7adb09f 23172020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2318
2319 * lib/gdb.exp (gdb_wrapper_init): Reset
2320 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2321 not exist.
2322
a9c79803
TV
23232020-02-20 Tom de Vries <tdevries@suse.de>
2324
2325 PR go/17018
2326 * gdb.go/hello.exp: Copy ...
2327 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2328 print of st to print value of global definition. Add xfail for GCC
2329 PR93844.
2330 * gdb.go/hello.exp: Remove printing of st before definition.
2331 * gdb.go/hello.go: Copy ...
2332 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2333 to st.
2334 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2335
d7445728
TV
23362020-02-20 Tom de Vries <tdevries@suse.de>
2337
2338 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2339 (gdb_simple_compile): Handle compile_flags go by using .go extension
2340 for source file.
2341 * gdb.go/chan.exp: Use support_go_compile.
2342 * gdb.go/handcall.exp: Same.
2343 * gdb.go/hello.exp: Same.
2344 * gdb.go/integers.exp: Same.
2345 * gdb.go/max-depth.exp: Same.
2346 * gdb.go/methods.exp: Same.
2347 * gdb.go/package.exp: Same.
2348 * gdb.go/strings.exp: Same.
2349 * gdb.go/types.exp: Same.
2350 * gdb.go/unsafe.exp: Same.
2351
c9c41e6d
TV
23522020-02-19 Tom de Vries <tdevries@suse.de>
2353
2354 * gdb.python/lib-types.exp: Make xfail more strict.
2355
f20ff837
TV
23562020-02-19 Tom de Vries <tdevries@suse.de>
2357
2358 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2359
08410482
DE
23602020-02-19 Doug Evans <dje@google.com>
2361
2362 PR rust/25535
2363 * gdb.rust/simple.exp: Add test.
2364 * gdb.rust/simple.rs: Add test.
2365
623563f7
TV
23662020-02-19 Tom de Vries <tdevries@suse.de>
2367
2368 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2369 output line-by-line.
2370
d3308cfd
TV
23712020-02-19 Tom de Vries <tdevries@suse.de>
2372
2373 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2374
86cbc5dc
TV
23752020-02-19 Tom de Vries <tdevries@suse.de>
2376
2377 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2378 prelink.
2379
9db2b96b
TV
23802020-02-19 Tom de Vries <tdevries@suse.de>
2381
2382 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2383 (gdb_do_cache): Use gdb_do_cache_wrap.
2384 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2385
89e2fdc5
TV
23862020-02-19 Tom de Vries <tdevries@suse.de>
2387
2388 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2389 gdb_compile option.
2390
373d7ac0
SM
23912020-02-18 Simon Marchi <simon.marchi@efficios.com>
2392
2393 * gdb.base/printcmds.exp (test_print_enums): Update expected
2394 output.
2395
b29a2df0
SM
23962020-02-18 Simon Marchi <simon.marchi@efficios.com>
2397
2398 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2399 for "unknown".
2400
6740f0cc
SM
24012020-02-18 Simon Marchi <simon.marchi@efficios.com>
2402
2403 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2404 enumerator.
2405
edd45eb0
SM
24062020-02-18 Simon Marchi <simon.marchi@efficios.com>
2407
2408 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2409 FE_, add FE_NONE.
2410 (three): Update.
2411 (enum flag_enum_without_zero): New enum.
2412 (flag_enum_without_zero): New variable.
2413 (enum not_flag_enum): New enum.
2414 (three_not_flag): New variable.
2415 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2416 (test_print_enums): Add more tests for printing flag enums.
2417
d4295de4
TV
24182020-02-18 Tom de Vries <tdevries@suse.de>
2419
2420 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2421 (gdb_compile_ada): ... here.
2422 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2423 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2424
f251f505
TT
24252020-02-14 Tom Tromey <tom@tromey.com>
2426
2427 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2428 build directory.
2429 * boards/gdbserver-base.exp: Update path to gdbserver.
2430
8f432634
TV
24312020-02-13 Tom de Vries <tdevries@suse.de>
2432
2433 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2434
92b6eaf7
TV
24352020-02-13 Tom de Vries <tdevries@suse.de>
2436
2437 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2438 are missing.
2439
f3b0f7fe
TV
24402020-02-13 Tom de Vries <tdevries@suse.de>
2441
2442 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2443 call.
2444
f6be8713
SDJ
24452020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2446
2447 PR tui/25126
2448 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2449 * gdb.base/cached-source-file.c: New file.
2450 * gdb.base/cached-source-file.exp: New file.
2451
b2770d5e
TV
24522020-02-11 Tom de Vries <tdevries@suse.de>
2453
2454 PR testsuite/25488
2455 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2456
44f6938e
TV
24572020-02-10 Tom de Vries <tdevries@suse.de>
2458
2459 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2460
5f0e2eb7
MR
24612020-02-10 Maciej W. Rozycki <macro@wdc.com>
2462
2463 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2464 and $after_addr are both integers before making a comparison.
2465
46ce2b6f
TV
24662020-02-09 Tom de Vries <tdevries@suse.de>
2467
2468 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2469 command output and paste it into gdb.log. If any, paste catch message
2470 to gdb.log.
2471
5abbbe1d
TT
24722020-02-07 Tom Tromey <tromey@adacore.com>
2473
2474 PR breakpoints/24915:
2475 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2476
1d5d29e7
SV
24772020-02-06 Shahab Vahedi <shahab@synopsys.com>
2478
2479 * gdb.tui/tui-missing-src.exp: Add the "missing source
2480 file" test for the TUI.
2481
b0999b9b
AB
24822020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2483
2484 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2485 including a port number in the output.
2486
c3b149eb
AKS
24872020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2488
2489 * lib/fortran.exp (fortran_int4): Handle clang.
2490 (fortran_int8): Likewise.
2491 (fortran_real4): Likewise.
2492 (fortran_real8): Likewise.
2493 (fortran_complex4): Likewise.
2494 (fortran_logical4): Likewise.
2495 (fortran_character1): Likewise.
2496
f8dcc90b
TV
24972020-02-04 Tom de Vries <tdevries@suse.de>
2498
2499 * README (Race detection): Add note.
2500
f90ac7c2
TV
25012020-02-04 Tom de Vries <tdevries@suse.de>
2502
2503 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2504
780636ae
TV
25052020-02-04 Tom de Vries <tdevries@suse.de>
2506
2507 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2508
5d2e1193
RA
25092020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2510
2511 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2512 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2513 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2514 blttar, bnetarl.
2515 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2516 binary for blttar, bnetarl.
2517 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2518 wait instruction. Delete ldmx test.
2519 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2520
e409c542
AKS
25212020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2522
2523 * gdb.fortran/array-bounds-high.exp: New file.
2524 * gdb.fortran/array-bounds-high.f90: New file.
2525
b0029748
LD
25262020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2527
2528 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2529 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2530
195a8287
TV
25312020-02-01 Tom de Vries <tdevries@suse.de>
2532
2533 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2534
42330a68
AB
25352020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2536
2537 PR tui/9765
2538 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2539 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2540
b62a8028
LM
25412020-01-29 Luis Machado <luis.machado@linaro.org>
2542
2543 * gdb.arch/aarch64-brk-patterns.c: New source file.
2544 * gdb.arch/aarch64-brk-patterns.exp: New test.
2545
5f440116
TBA
25462020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2547
2548 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2549 GCC/Clang version.
2550 * gdb.cp/pass-by-ref.exp: Ditto.
2551
ee2a6fc6
TV
25522020-01-29 Tom de Vries <tdevries@suse.de>
2553
2554 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2555 * gdb.threads/watchpoint-fork-mt.c: Same.
2556 * gdb.threads/watchpoint-fork-parent.c: Same.
2557 * gdb.threads/watchpoint-fork-st.c: Same.
2558 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2559
16b10d6e
LM
25602020-01-27 Luis Machado <luis.machado@linaro.org>
2561
2562 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2563 sitting at a syscall instruction when we hit the syscall function's
2564 breakpoint.
2565 Check PC against one obtained with the x command.
2566 Validate syscall number.
2567 (step_over_syscall): Don't continue to the syscall instruction if
2568 we're already there.
2569
b1468492
PW
25702020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2571
2572 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2573
7ffa82e1
AB
25742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2575
2576 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2577 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2578
3d92a3e3
AB
25792020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2580
2581 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2582 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2583
94a72be7
AB
25842020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2585
2586 * gdb.base/maint.exp: Update line table parsing test.
2587 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2588
53af73bf
PA
25892020-01-24 Pedro Alves <palves@redhat.com>
2590
2591 PR gdb/25410
2592 * gdb.multi/multi-re-run-1.c: New.
2593 * gdb.multi/multi-re-run-2.c: New.
2594 * gdb.multi/multi-re-run.exp: New.
2595
1ba1ac88
AB
25962020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2597
2598 PR gdb/23718
2599 * gdb.server/server-kill-python.exp: New file.
2600
f3364a6d
AB
26012020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2602
2603 * gdb.server/multi-ui-errors.c: New file.
2604 * gdb.server/multi-ui-errors.exp: New file.
2605
733d0a67
AB
26062020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2607
2608 PR tui/9765
2609 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2610
4f13c1c0
TT
26112020-01-19 Tom Tromey <tom@tromey.com>
2612
2613 * gdb.tui/main.exp: Add check for plain "file".
2614
40c94099
CB
26152020-01-16 Christian Biesinger <cbiesinger@google.com>
2616
2617 * lib/gdb.exp: Fix spelling error (seperatelly).
2618
ff47f4f0
TT
26192020-01-14 Tom Tromey <tom@tromey.com>
2620
2621 PR symtab/12535:
2622 * gdb.python/python.exp: Test decode_line with empty string
2623 argument.
2624
717c684d
BE
26252020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2626
2627 * gdb.base/skip-inline.exp: Extend test.
2628
44e4c775
AB
26292020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2630
2631 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2632 * gdb.dwarf2/dw2-bad-elf.c: New file.
2633 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2634
d93c6db7
AB
26352020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2636
2637 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2638 _line_saw_file.
2639
9a6d629c
AB
26402020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2641
2642 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2643 border.
2644
d9ebdab7
TBA
26452020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2646
2647 * gdb.multi/multi-target.exp (setup): Factor out "info
2648 connections" and "info inferiors" tests to ...
2649 (test_info_inferiors): ... this new procedure.
2650 (top level): Run new "info-inferiors" tests.
2651
f3c469b9
PA
26522020-01-10 Pedro Alves <palves@redhat.com>
2653
2654 * gdb.server/bkpt-other-inferior.exp: New file.
2655
121b3efd
PA
26562020-01-10 Pedro Alves <palves@redhat.com>
2657
2658 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2659 of "add-inferior".
2660 * gdb.base/quit-live.exp: Likewise.
2661 * gdb.base/remote-exec-file.exp: Likewise.
2662 * gdb.guile/scm-progspace.exp: Likewise.
2663 * gdb.linespec/linespec.exp: Likewise.
2664 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2665 * gdb.mi/user-selected-context-sync.exp: Likewise.
2666 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2667 "info inferiors" tests.
2668 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2669 "add-inferior".
2670 * gdb.multi/watchpoint-multi.exp: Likewise.
2671 * gdb.python/py-inferior.exp: Likewise.
2672 * gdb.server/extended-remote-restart.exp: Likewise.
2673 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2674 "info inferiors".
2675 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2676 * gdb.trace/report.exp: Likewise.
2677
1dadb1dd
PA
26782020-01-10 Pedro Alves <palves@redhat.com>
2679
2680 * gdb.multi/multi-target.c: New file.
2681 * gdb.multi/multi-target.exp: New file.
2682 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2683 mode requested, but remote does not support non-stop".
2684
78f2c40a
PA
26852020-01-10 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2688 disconnect before reconnecting.
2689
e7af6c70
TBA
26902020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2691 Pedro Alves <palves@redhat.com>
2692
2693 * gdb.server/connect-without-multi-process.exp: Also test
2694 continuing to end.
2695
acdf84a6
PA
26962020-01-10 Pedro Alves <palves@redhat.com>
2697
2698 * gdb.base/remote-exec-file.exp: New file.
2699
873657b9
PA
27002020-01-10 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2703 output.
2704 * gdb.threads/async.c: New.
2705 * gdb.threads/async.exp: New.
2706 * gdb.multi/tids-gid-reset.c: New.
2707 * gdb.multi/tids-gid-reset.exp: New.
2708
7f0ae84c
GB
27092020-01-10 George Barrett <bob@bob131.so>
2710
2711 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2712 to help in finding the image relocation offset.
2713 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2714 options in arguments.
2715 (stap_test_no_debuginfo): Likewise.
2716 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2717 test variants.
2718 (stap_test): Add null semaphore relocation test.
2719
47e9d49d
GB
27202020-01-10 George Barrett <bob@bob131.so>
2721
2722 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2723 * gdb.base/stap-probe.exp: Likewise.
2724 (stap_test): Pass argument as an additional flag.
2725 (stap_test_no_debuginfo): Likewise.
2726 (stap_test): Check `info probes stap' output for semaphore
2727 addresses if the test binary is supposed to have them.
2728
f5a7c406
AB
27292020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2730
2731 * gdb.tui/basic.exp: Add more scrolling tests.
2732
9ae6bf64
TT
27332020-01-09 Tom Tromey <tom@tromey.com>
2734
2735 PR tui/18932:
2736 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2737 meangingful value.
2738 (Term::command, Term::resize): Update.
2739 * gdb.tui/basic.exp: Add scrolling test.
2740
b2efe70c
AB
27412020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2742
2743 * gdb.tui/tui-layout-asm.exp: New file.
2744
3804da7e
AB
27452020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2746
2747 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2748
b40aa28f
AB
27492020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2750
2751 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2752 (Term::enter_tui): Use Term::prepare_for_tui.
2753
63ffd7c9
AB
27542020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2755
2756 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2757 called.
2758
3be966f6
AB
27592020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2760
2761 * gdb.base/skip.exp: Fix race condition in test.
2762
153d79c4
AB
27632020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * gdb.base/backtrace.c: New file.
2766 * gdb.base/backtrace.exp: New file.
2767
f2302a34
AB
27682020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2769
2770 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2771
6ec1d75e
PW
27722020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2773
2774 * gdb.base/style.exp: Test that warnings are styled.
2775
c296cbe6
BE
27762019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2777
2778 * gdb.base/line65535.exp: New file.
2779 * gdb.base/line65535.c: New file.
2780
b28a729d
SM
27812019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2782
2783 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2784 * lib/gnat_debug_info_test.adb: New file.
2785 * gdb.ada/ptype_tagged_param.exp: Use
2786 gnat_runtime_has_debug_info, expect a different output if
2787 runtime does not have debug info.
2788
7f2d7a0d
SM
27892019-12-20 Simon Marchi <simon.marchi@efficios.com>
2790
2791 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2792 (another) quote in test name.
2793
f3bce483
SM
27942019-12-20 Simon Marchi <simon.marchi@efficios.com>
2795
2796 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2797 Add quote in test name.
2798
c855a912
TBA
27992019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2800
2801 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2802 directory instead.
2803 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2804 * gdb.cp/pass-by-ref-2.cc: New file.
2805 * gdb.cp/pass-by-ref-2.exp: New file.
2806
fc9d2d72
TT
28072019-12-20 Tom Tromey <tom@tromey.com>
2808
2809 * gdb.tui/list-before.exp: New file.
2810
77b97e00
TT
28112019-12-20 Tom Tromey <tom@tromey.com>
2812
2813 * gdb.tui/list.exp: Check for source on initial listing.
2814
f69656d0
TT
28152019-12-11 Tom Tromey <tromey@adacore.com>
2816
2817 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2818 Add crlf test.
2819
99a55965
SM
28202019-12-18 Simon Marchi <simon.marchi@efficios.com>
2821
2822 * gdb.base/default.exp: Update value of $_gdb_major.
2823
5024637f
BE
28242019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2825
2826 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2827
b63634be
BE
28282019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2829
2830 * gdb.base/skip.exp: Whitespace fix.
2831
45d73523
BE
28322019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2833
2834 * gdb.base/skip-inline.c: New file.
2835 * gdb.base/skip-inline.exp: New file.
2836
d043f8c8
SM
28372019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2838
2839 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2840 jit_function_00 to jit_function_stack_mangle.
2841 * gdb.base/jithost.c (jit_function_t): Rename to...
2842 (jit_function_stack_mangle_t): ... this.
2843 (jit_function_add_t): New typedef.
2844 (jit_function_00_code): Rename to...
2845 (jit_function_stack_mangle_code): ... this, make static.
2846 (jit_function_add_code): New.
2847 (main): Generate "add" function and call it. Adjust to changes
2848 in jithost_abi.
2849 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2850 (struct jithost_abi) <begin, end>: Remove fields.
2851 <object, function_stack_mangle, function_add>: New fields.
2852 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2853 code_end>: Remove fields.
2854 <func_stack_mangle>: New field.
2855 (read_debug_info): Adjust to renaming, create block for "add"
2856 function.
2857 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2858
873de05c
TT
28592019-12-11 Tom Tromey <tom@tromey.com>
2860
2861 * gdb.tui/resize.exp: Fix regexp.
2862 * gdb.tui/regs.exp: Fix regexps.
2863 * gdb.tui/main.exp: Fix regexp.
2864
3d979945
TT
28652019-12-11 Tom Tromey <tom@tromey.com>
2866
2867 * gdb.tui/resize.exp: Update.
2868 * gdb.tui/empty.exp (layouts): Update.
2869
2192a9d3
TT
28702019-12-11 Tom Tromey <tom@tromey.com>
2871
2872 * gdb.tui/regs.exp: Update.
2873 * gdb.tui/empty.exp (layouts): Update.
2874 * gdb.tui/basic.exp: Update.
2875 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2876
d8edc8b7
PW
28772019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2878
2879 * gdb.base/options.exp: Add -raw-values in the print completion list.
2880 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2881
4c12d936
KB
28822019-12-10 Kevin Buettner <kevinb@redhat.com>
2883
2884 * gdb.threads/omp-par-scope.c: New file.
2885 * gdb/threads/omp-par-scope.exp: New file.
2886
26b911fb
KB
28872019-12-10 Kevin Buettner <kevinb@redhat.com>
2888
bb47f919
KB
2889 * lib/gdb.exp (support_nested_function_tests): New proc.
2890
28912019-12-10 Kevin Buettner <kevinb@redhat.com>
2892
2893 * lib/gdb.exp (gdb_compile_openmp): New proc.
2894 (build_executable_from_specs): Add an "openmp" option.
2895 (gdb_compile_pthreads): Add non-executable case.
26b911fb 2896
6c71eb7d
TT
28972019-12-10 Tom Tromey <tromey@adacore.com>
2898
2899 * gdb.ada/unchecked_union.exp: New file.
2900 * gdb.ada/unchecked_union/pck.adb: New file.
2901 * gdb.ada/unchecked_union/pck.ads: New file.
2902 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2903 * gdb-utils.exp (string_to_regexp): Also quote "?".
2904
bac7c5cf
GB
29052019-12-10 George Barrett <bob@bob131.so>
2906
2907 Test scripted probe breakpoints.
2908 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2909 * gdb.python/py-breakpoint.c (main): Likewise.
2910 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2911 specifier test.
2912 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2913
330f1d38
TBA
29142019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2915
2916 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2917 an rvalue parameter.
2918 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2919 parameter.
2920
b43315e2
AB
29212019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2922
2923 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2924 modules.
2925
54f73dad
AB
29262019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2929 broken version of GCC.
2930
d57cbee9
AB
29312019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2932
2933 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2934 sym-info-cmds library.
2935 * gdb.fortran/info-types.exp: Likewise.
2936 * lib/sym-info-cmds.exp: New file.
2937
c14aab8c
TV
29382019-12-08 Tom de Vries <tdevries@suse.de>
2939
2940 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2941
aa2d5a42
KS
29422019-12-07 Keith Seitz <keiths@redhat.com>
2943
2944 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2945 * gdb.base/corefile-buildid-shlib.c: New file.
2946 * gdb.base/corefile-buildid.c: New file.
2947 * gdb.base/corefile-buildid.exp: New file.
2948
93e55f0a
TV
29492019-12-06 Tom de Vries <tdevries@suse.de>
2950
2951 * gdb.dwarf2/varval.exp: Add decl before def test.
2952
c7d12402
TBA
29532019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2954
2955 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2956
06acc08f
TBA
29572019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2958
2959 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2960 CV and reference conversion for overload resolution.
2961 * gdb.cp/rvalue-ref-overload.exp: Test it.
2962
e0fad1ea
PW
29632019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2964
2965 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2966 * gdb.base/frameapply.exp: Test faas without command.
2967
8d70a9f0
AB
29682019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2969
2970 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2971 Fortran tests.
2972 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2973 order.
2974
36c8fb93
AB
29752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2976
2977 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2978 casting to type with no kind specified.
2979 (test_basic_parsing_of_type_kinds): Additional tests for types
2980 with no kind specified, and add tests for single/double
2981 precision/complex types.
2982
4139ff00
TT
29832019-12-04 Tom Tromey <tromey@adacore.com>
2984
2985 * gdb.base/endianity.c (struct other) <x>: New field.
2986 (main): Initialize it.
2987 * gdb.base/endianity.exp: Update.
2988
a05cf17a
TT
29892019-12-04 Tom Tromey <tromey@adacore.com>
2990
2991 * gdb.ada/scalar_storage/storage.adb: New file.
2992 * gdb.ada/scalar_storage/pck.adb: New file.
2993 * gdb.ada/scalar_storage/pck.ads: New file.
2994 * gdb.ada/scalar_storage.exp: New file.
2995
103a685e
TT
29962019-12-04 Tom Tromey <tromey@adacore.com>
2997
2998 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2999 (main): Initialize it.
3000 * gdb.base/endianity.exp: Update.
3001
c2512106
AB
30022019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3003
3004 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3005
293b38d6
AB
30062019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3007
3008 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3009 -symbol-info-module-functions and -symbol-info-module-variables.
3010
216a7e6b
AB
30112019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3012
3013 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3014
5bbd8269
AB
30152019-12-01 Richard Bunt <richard.bunt@arm.com>
3016 Andrew Burgess <andrew.burgess@embecosm.com>
3017
3018 * gdb.fortran/derived-type-striding.exp: New file.
3019 * gdb.fortran/derived-type-striding.f90: New file.
3020 * gdb.fortran/array-slices.exp: New file.
3021 * gdb.fortran/array-slices.f90: New file.
3022
be09caf1
PW
30232019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3024
3025 * gdb.base/define.exp: Test . in command names.
3026 * gdb.base/setshow.exp: Update test, as . is now part of
3027 command name.
3028
643c0cbe
PW
30292019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3030
3031 * gdb.base/define-prefix.exp: New file.
3032
dcdec678
AB
30332019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3034
3035 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3036 compile.
3037 (skip_btrace_pt_tests): Likewise.
3038
640ab947
AB
30392019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3040
3041 * gdb.fortran/info-modules.exp: Compile source files in correct
3042 order.
3043
d22670f0
KB
30442019-11-27 Kevin Buettner <kevinb@redhat.com>
3045
3046 * gdb.dwarf2/imported-unit.exp: New file.
3047 * gdb.dwarf2/imported-unit.c: New file.
3048
db5960b4
AB
30492019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3050
3051 * gdb.mi/mi-fortran-modules-2.f90: New file.
3052 * gdb.mi/mi-fortran-modules.exp: New file.
3053 * gdb.mi/mi-fortran-modules.f90: New file.
3054
7dc42066
AB
30552019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3056
3057 * gdb.mi/mi-sym-info-1.c: New file.
3058 * gdb.mi/mi-sym-info-2.c: New file.
3059 * gdb.mi/mi-sym-info.exp: New file.
3060
0dfeecca
TT
30612019-11-22 Tom Tromey <tromey@adacore.com>
3062
3063 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3064 * gdb.ada/tasks/foo.adb: Add another stopping location.
3065
34877895
PJ
30662019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3067
3068 * gdb.base/endianity.c: New test.
3069 * gdb.base/endianity.exp: New file.
3070
2e84f897
LD
30712019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3072
3073 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3074
65d1cd5f
TV
30752019-11-21 Tom de Vries <tdevries@suse.de>
3076
3077 PR gdb/24956
3078 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3079
4f22c3f4
SDJ
30802019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3081
3082 * gdb.python/py-progspace.exp: Add missing parentheses on some
3083 'print' commands.
3084
9f6ad286
TT
30852019-11-19 Tom Tromey <tom@tromey.com>
3086
3087 * gdb.tui/winheight.exp: New file.
3088
0b8dbf3f
AB
30892019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3090
3091 * gdb.base/ctf-whatis.c: Delete.
3092 * gdb.base/ctf-whatis.exp: Delete.
3093 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3094
f833b7a7
AB
30952019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3096
3097 * gdb.base/ctf-cvexpr.exp: Delete.
3098 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3099
30d0a636
AB
31002019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3101
3102 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3103 the compiler. Clean up header comment a little.
3104 * gdb.base/ctf-ptype.exp: Likewise.
3105 * gdb.base/ctf-whatis.exp: Likewise.
3106 * lib/gdb.exp (skip_ctf_tests): New proc.
3107
494409bb
SDJ
31082019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3109
3110 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3111 * gdb.tui/corefile-run.exp: New file.
3112
55708e99
TT
31132019-11-14 Tom Tromey <tromey@adacore.com>
3114
3115 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3116 regression tests.
3117
45e42163
TT
31182019-11-12 Tom Tromey <tom@tromey.com>
3119
3120 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3121 after any command. Expect prompt after WAIT_FOR is seen.
3122 (enter_tui): Enable resize messages.
3123 (command): Expect command in output.
3124 (get_line): Avoid error when cursor appears to be off-screen.
3125 (dump_screen): Include screen size in title.
3126 (_do_resize): New proc, from "resize".
3127 (resize): Rewrite. Do resize in two steps.
3128 * gdb.tui/empty.exp (layouts): Fix entries.
3129 (check_boxes): Remove xfail.
3130 (check_text): Dump screen on failure.
3131
086baaf1
AB
31322019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.python/py-symbol.exp: Add test for
3135 gdb.lookup_static_symbols.
3136
09ff83af
AB
31372019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3138
3139 * gdb.python/py-symbol.c: Declare and call function from new
3140 py-symbol-2.c file.
3141 * gdb.python/py-symbol.exp: Compile both source files, and add new
3142 tests for gdb.lookup_static_symbol.
3143 * gdb.python/py-symbol-2.c: New file.
3144
11af934b
TV
31452019-11-02 Tom de Vries <tdevries@suse.de>
3146
3147 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3148 * gdb.base/anon.exp: Same.
3149 * gdb.base/auto-connect-native-target.exp: Same.
3150 * gdb.base/call-ar-st.exp: Same.
3151 * gdb.base/catch-syscall.exp: Same.
3152 * gdb.base/commands.exp: Same.
3153 * gdb.base/default.exp: Same.
3154 * gdb.base/display.exp: Same.
3155 * gdb.base/float.exp: Same.
3156 * gdb.base/foll-fork.exp: Same.
3157 * gdb.base/help.exp: Same.
3158 * gdb.base/info-macros.exp: Same.
3159 * gdb.base/info-proc.exp: Same.
3160 * gdb.base/info-target.exp: Same.
3161 * gdb.base/long_long.exp: Same.
3162 * gdb.base/macscp.exp: Same.
3163 * gdb.base/memattr.exp: Same.
3164 * gdb.base/nofield.exp: Same.
3165 * gdb.base/pointers.exp: Same.
3166 * gdb.base/printcmds.exp: Same.
3167 * gdb.base/ptype.exp: Same.
3168 * gdb.base/restore.exp: Same.
3169 * gdb.base/return.exp: Same.
3170 * gdb.base/scope.exp: Same.
3171 * gdb.base/set-noassign.exp: Same.
3172 * gdb.base/setshow.exp: Same.
3173 * gdb.base/shlib-call.exp: Same.
3174 * gdb.base/signals.exp: Same.
3175 * gdb.base/sigstep.exp: Same.
3176 * gdb.base/skip.exp: Same.
3177 * gdb.base/solib-symbol.exp: Same.
3178 * gdb.base/stap-probe.exp: Same.
3179 * gdb.base/step-line.exp: Same.
3180 * gdb.base/step-test.exp: Same.
3181 * gdb.base/style.exp: Same.
3182 * gdb.base/varargs.exp: Same.
3183 * gdb.base/vla-datatypes.exp: Same.
3184 * gdb.base/vla-ptr.exp: Same.
3185 * gdb.base/vla-sideeffect.exp: Same.
3186 * gdb.base/volatile.exp: Same.
3187 * gdb.base/watch-cond-infcall.exp: Same.
3188 * gdb.base/watchpoint.exp: Same.
3189
e96ec2ba
TV
31902019-11-02 Tom de Vries <tdevries@suse.de>
3191
3192 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3193 * gdb.cp/cpexprs.exp: Same.
3194 * gdb.cp/except-multi-location.exp: Same.
3195 * gdb.cp/exceptprint.exp: Same.
3196 * gdb.cp/gdb2384.exp: Same.
3197 * gdb.cp/inherit.exp: Same.
3198 * gdb.cp/m-static.exp: Same.
3199 * gdb.cp/meth-typedefs.exp: Same.
3200 * gdb.cp/misc.exp: Same.
3201 * gdb.cp/namespace.exp: Same.
3202 * gdb.cp/non-trivial-retval.exp: Same.
3203 * gdb.cp/overload.exp: Same.
3204 * gdb.cp/pr17132.exp: Same.
3205 * gdb.cp/re-set-overloaded.exp: Same.
3206 * gdb.cp/rvalue-ref-types.exp: Same.
3207 * gdb.cp/templates.exp: Same.
3208
bd5766ec
LM
32092019-11-01 Luis Machado <luis.machado@linaro.org>
3210
3211 PR gdb/25124
3212
3213 * gdb.arch/pr25124.S: New file.
3214 * gdb.arch/pr25124.exp: New file.
3215
165f8965
AB
32162019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3217
3218 * gdb.fortran/info-modules.exp: Update expected results, and add
3219 additional tests for 'info module functinos', and 'info module
3220 variables'.
3221 * gdb.fortran/info-types.exp: Update expected results.
3222 * gdb.fortran/info-types.f90: Extend testcase with additional
3223 module variables and functions.
3224
59c35742
AB
32252019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3226
3227 * gdb.fortran/info-modules.exp: New file.
3228 * gdb.fortran/info-types.exp: Build with new file.
3229 * gdb.fortran/info-types.f90: Include and use new module.
3230 * gdb.fortran/info-types-2.f90: New file.
3231
f3fb2519
PW
32322019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3233
3234 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3235 * gdb.base/settings.exp: Test all settings types using
3236 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3237 that now verifies that the value of "maint show" is the same as
3238 returned by the settings functions. Test the type of the
3239 maintenance settings.
3240 * gdb.base/default.exp: Update show_conv_list.
3241
d1e36019
TV
32422019-10-31 Tom de Vries <tdevries@suse.de>
3243
3244 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3245 gdb_test.
3246 * gdb.arch/amd64-disp-step.exp: Same.
3247 * gdb.asm/asm-source.exp: Same.
3248 * gdb.btrace/buffer-size.exp: Same.
3249 * gdb.btrace/cpu.exp: Same.
3250 * gdb.btrace/enable.exp: Same.
3251 * gdb.dwarf2/count.exp: Same.
3252 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3253 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3254 * gdb.fortran/vla-datatypes.exp: Same.
3255 * gdb.fortran/vla-history.exp: Same.
3256 * gdb.fortran/vla-ptype.exp: Same.
3257 * gdb.fortran/vla-value.exp: Same.
3258 * gdb.fortran/whatis_type.exp: Same.
3259 * gdb.guile/guile.exp: Same.
3260 * gdb.multi/tids.exp: Same.
3261 * gdb.python/py-finish-breakpoint.exp: Same.
3262 * gdb.python/py-framefilter.exp: Same.
3263 * gdb.python/py-pp-registration.exp: Same.
3264 * gdb.python/py-xmethods.exp: Same.
3265 * gdb.python/python.exp: Same.
3266 * gdb.server/connect-with-no-symbol-file.exp: Same.
3267 * gdb.server/no-thread-db.exp: Same.
3268 * gdb.server/run-without-local-binary.exp: Same.
3269 * gdb.stabs/weird.exp: Same.
3270 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3271 * gdb.threads/thread-find.exp: Same.
3272 * gdb.threads/tls-shared.exp: Same.
3273 * gdb.threads/tls.exp: Same.
3274 * gdb.threads/wp-replication.exp: Same.
3275 * gdb.trace/ax.exp: Same.
3276 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3277
3d11e68e
TV
32782019-10-31 Tom de Vries <tdevries@suse.de>
3279
3280 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3281 * gdb.ada/array_subscript_addr.exp: Same.
3282 * gdb.ada/arrayidx.exp: Same.
3283 * gdb.ada/arrayparam.exp: Same.
3284 * gdb.ada/arrayptr.exp: Same.
3285 * gdb.ada/boolean_expr.exp: Same.
3286 * gdb.ada/call_pn.exp: Same.
3287 * gdb.ada/complete.exp: Same.
3288 * gdb.ada/fixed_cmp.exp: Same.
3289 * gdb.ada/fun_addr.exp: Same.
3290 * gdb.ada/funcall_param.exp: Same.
3291 * gdb.ada/interface.exp: Same.
3292 * gdb.ada/mod_from_name.exp: Same.
3293 * gdb.ada/null_array.exp: Same.
3294 * gdb.ada/packed_array.exp: Same.
3295 * gdb.ada/packed_tagged.exp: Same.
3296 * gdb.ada/print_chars.exp: Same.
3297 * gdb.ada/print_pc.exp: Same.
3298 * gdb.ada/ptype_arith_binop.exp: Same.
3299 * gdb.ada/ptype_field.exp: Same.
3300 * gdb.ada/ptype_tagged_param.exp: Same.
3301 * gdb.ada/rec_return.exp: Same.
3302 * gdb.ada/ref_tick_size.exp: Same.
3303 * gdb.ada/str_ref_cmp.exp: Same.
3304 * gdb.ada/taft_type.exp: Same.
3305 * gdb.ada/tagged.exp: Same.
3306 * gdb.ada/type_coercion.exp: Same.
3307 * gdb.ada/uninitialized_vars.exp: Same.
3308
60b6ede8
TV
33092019-10-30 Tom de Vries <tdevries@suse.de>
3310
3311 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3312
30baf67b
TV
33132019-10-26 Tom de Vries <tdevries@suse.de>
3314
3315 * gdb.base/bigcore.c: Fix typos in comments.
3316 * gdb.base/ctf-ptype.c: Same.
3317 * gdb.base/long_long.c: Same.
3318 * gdb.dwarf2/dw2-op-out-param.S: Same.
3319 * gdb.python/py-evthreads.c: Same.
3320 * gdb.reverse/i387-stack-reverse.c: Same.
3321 * gdb.trace/tfile.c: Same.
3322 * lib/compiler.c: Same.
3323 * lib/compiler.cc: Same.
3324
158da0d1
TV
33252019-10-25 Tom de Vries <tdevries@suse.de>
3326
3327 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3328 gdb_test_multiple calls.
3329 * gdb.reverse/sigall-reverse.exp: Same.
3330 * gdb.reverse/solib-precsave.exp: Same.
3331 * gdb.reverse/solib-reverse.exp: Same.
3332 * gdb.reverse/until-precsave.exp: Same.
3333 * gdb.reverse/until-reverse.exp: Same.
3334
4ccdfbec
TV
33352019-10-24 Tom de Vries <tdevries@suse.de>
3336
3337 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3338 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3339 kfail using -wrap pattern flag and convenience variable
3340 gdb_test_name.
3341
33d569b7
AB
33422019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.python/py-progspace.exp: Add tests for the
3345 Progspace.block_for_pc method.
3346
4d0b984b
TT
33472019-10-23 Tom Tromey <tom@tromey.com>
3348
3349 * configure: Rebuild.
3350 * aclocal.m4: Use m4_include, not sinclude.
3351
94cb3754
TV
33522019-10-21 Tom de Vries <tdevries@suse.de>
3353
3354 * gdb.base/infcall-nested-structs.c: Add
3355 __attribute__((noinline,noclone)) to all functions.
3356 (call_all): Add missing variable initialization. Simplify return value.
3357 (breakpt): Increment volatile variable, to prevent call from being
3358 optimized out.
3359 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3360
062f1fc1
TV
33612019-10-17 Tom de Vries <tdevries@suse.de>
3362
3363 * gdb.fortran/module.exp: Allow info variables to print info for files
3364 other than module.f90.
3365
0b54364d
AB
33662019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3367
3368 * gdb.fortran/module.exp: Extend with 'info variables' test.
3369
7ff5fae7
AB
33702019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3371
3372 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3373 F77_FOR_TARGET.
3374
d10eccaa
TV
33752019-10-16 Tom de Vries <tdevries@suse.de>
3376
3377 PR tdep/25096
3378 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3379
745ff14e
TV
33802019-10-16 Tom de Vries <tdevries@suse.de>
3381
3382 PR tdep/24104
3383 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3384 Add KFAIL for PR tdep/25096.
3385
03e1ab94
TV
33862019-10-16 Tom de Vries <tdevries@suse.de>
3387
3388 PR testsuite/25059
3389 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3390
b17fcc10
TV
33912019-10-16 Tom de Vries <tdevries@suse.de>
3392
3393 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3394 as signed.
3395
9223170f
SM
33962019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3397
3398 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3399 one instead of increasing timeout.
3400
d6e76313
TV
34012019-10-13 Tom de Vries <tdevries@suse.de>
3402
3403 PR record/25038
3404 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3405 * gdb.reverse/sigall-reverse.exp: Same.
3406 * gdb.reverse/solib-precsave.exp: Same.
3407 * gdb.reverse/solib-reverse.exp: Same.
3408 * gdb.reverse/step-precsave.exp: Same.
3409 * gdb.reverse/until-precsave.exp: Same.
3410 * gdb.reverse/until-reverse.exp: Same.
3411 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3412
6dfc0041
AA
34132019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3414
3415 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3416 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3417 (cmp_struct_05_01, cmp_struct_static_02_01)
3418 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3419 comparisons.
3420
abcf2cc8
TV
34212019-10-10 Tom de Vries <tdevries@suse.de>
3422
3423 PR testsuite/24888
3424 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3425 gnatlink.
3426
a50faaf6
TV
34272019-10-09 Tom de Vries <tdevries@suse.de>
3428
3429 PR testsuite/25048
3430 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3431
60ff3cd7
AB
34322019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3433
3434 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3435 exceptions due to missing debug information.
3436
dfee8566
TV
34372019-10-07 Tom de Vries <tdevries@suse.de>
3438
3439 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3440
3d63690a
AB
34412019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3442
3443 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3444 * gdb.base/annota1.exp: Update to use gdb_test_name.
3445
30d1f018
WP
34462019-10-07 Weimin Pan <weimin.pan@oracle.com>
3447
3448 * gdb.base/ctf-whatis.exp: New file.
3449 * gdb.base/ctf-whatis.c: New file.
3450 * gdb.base/ctf-ptype.exp: New file.
3451 * gdb.base/ctf-ptype.c: New file.
3452 * gdb.base/ctf-constvars.exp: New file.
3453 * gdb.base/ctf-constvars.c: New file.
3454 * gdb.base/ctf-cvexpr.exp: New file.
3455
4dbbb47c
TV
34562019-10-04 Tom de Vries <tdevries@suse.de>
3457
3458 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3459 for loop.
3460
77c2dba3
TT
34612019-10-03 Tom Tromey <tom@tromey.com>
3462
3463 PR rust/24976:
3464 * gdb.rust/simple.rs (Union2): New type.
3465 (main): Use Union2.
3466 * gdb.rust/simple.exp: Add test.
3467
179aed7f
AB
34682019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3469
3470 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3471 nested function prefix.
3472
0a4b0913
AB
34732019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3474 Richard Bunt <richard.bunt@arm.com>
3475 Andrew Burgess <andrew.burgess@embecosm.com>
3476
3477 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3478 nested functions.
3479 * gdb.fortran/nested-funcs.f90: Update expected results.
3480 * gdb.fortran/nested-funcs-2.exp: New file.
3481 * gdb.fortran/nested-funcs-2.f90: New file.
3482
082cce05
AB
34832019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3484
3485 * gdb.python/py-parameter.exp: Make test names unique.
3486 * gdb.python/py-template.exp: Likewise.
3487 * gdb.python/py-value.exp: Likewise.
3488
2b74ba5a
AB
34892019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3490
3491 * gdb.base/break-interp.exp: Reduce test name duplication.
3492 * gdb.base/call-sc.exp: Likewise.
3493 * gdb.base/callfuncs.exp: Likewise.
3494 * gdb.base/charset.exp: Likewise.
3495 * gdb.base/dump.exp: Likewise.
3496 * gdb.base/ena-dis-br.exp: Likewise.
3497 * gdb.base/relational.exp: Likewise.
3498 * gdb.base/step-over-syscall.exp: Likewise.
3499 * gdb.base/structs.exp: Likewise.
3500
58eb20d5
AB
35012019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3502
3503 * gdb.linespec/explicit.exp: Make test names unique.
3504 * gdb.linespec/ls-errs.exp: Likewise.
3505
4d421147
AB
35062019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3507
3508 * gdb.reverse/break-precsave.exp: Make test names unique.
3509 * gdb.reverse/break-reverse.exp: Likewise.
3510 * gdb.reverse/finish-precsave.exp: Likewise.
3511 * gdb.reverse/finish-reverse.exp: Likewise.
3512 * gdb.reverse/machinestate-precsave.exp: Likewise.
3513 * gdb.reverse/machinestate.exp: Likewise.
3514 * gdb.reverse/readv-reverse.exp: Likewise.
3515 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3516 * gdb.reverse/sigall-precsave.exp: Likewise.
3517 * gdb.reverse/sigall-reverse.exp: Likewise.
3518 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3519 * gdb.reverse/watch-precsave.exp: Likewise.
3520 * gdb.reverse/watch-reverse.exp: Likewise.
3521
d8c06f22
AB
35222019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3523
3524 * gdb.threads/stop-with-handle.c: New file.
3525 * gdb.threads/stop-with-handle.exp: New file.
3526
3a56ed86
TV
35272019-10-03 Tom de Vries <tdevries@suse.de>
3528
3529 PR testsuite/25059
3530 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3531 directory" line to be missing.
3532
42275044
TV
35332019-10-03 Tom de Vries <tdevries@suse.de>
3534
3535 PR testsuite/25059
3536 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3537 type optional.
3538
9ef62df0
AA
35392019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3540
3541 * gdb.python/py-format-string.c (string.h): New include.
3542 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3543 the same value, for endianness-independence.
3544 * gdb.python/py-format-string.exp (default_regexp_dict)
3545 (test_pretty_structs, test_format): Adjust expected output to the
3546 changed initialization.
3547
37f6a7f4
TT
35482019-10-02 Tom Tromey <tromey@adacore.com>
3549
3550 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3551
1d58d6a2
PA
35522019-10-02 Pedro Alves <palves@redhat.com>
3553 Andrew Burgess <andrew.burgess@embecosm.com>
3554
3555 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3556 "print-file-var.h".
3557 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3558 (get_version_1): Print this_version_id and its address.
3559 Add extern "C" wrappers around interface functions.
3560 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3561 "print-file-var.h".
3562 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3563 (get_version_2): Print this_version_id and its address.
3564 Add extern "C" wrappers around interface functions.
3565 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3566 <stddef.h> and "print-file-var.h".
3567 Add extern "C" wrappers around interface functions.
3568 [VERSION_ID_MAIN] (this_version_id): Define.
3569 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3570 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3571 up extern "C" blocks.
3572 * gdb.base/print-file-var.exp (test): New, factored out from top
3573 level.
3574 (top level): Test all combinations of attribute hidden or not,
3575 dlopen or not, and this_version_id symbol in main file or not.
3576 Compile tests as both C++ and C, make test names unique.
3577
d770d56f
TT
35782019-10-01 Tom Tromey <tom@tromey.com>
3579
3580 * gdb.base/style.exp: Test "show logging filename".
3581
7f6aba03
TT
35822019-10-01 Tom Tromey <tom@tromey.com>
3583
3584 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3585 * gdb.base/style.exp: Add metadata style test.
3586
14309bb6
TT
35872019-10-01 Tom Tromey <tom@tromey.com>
3588
3589 * gdb.base/style.exp: Test "pwd".
3590
2a3c1174
PA
35912019-10-01 Tom Tromey <tom@tromey.com>
3592
3593 * gdb.base/style.exp: Update tests.
3594
53d666ec
AA
35952019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3596
3597 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3598 'six' to unsigned.
3599 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3600 'five'. Use an all-ones bit pattern for each.
3601 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3602 to its changed values.
3603
4a56a520
TT
36042019-09-30 Tom Tromey <tromey@adacore.com>
3605
3606 * gdb.rust/traits.rs: Disable all warnings.
3607
0df0352a
TV
36082019-09-29 Tom de Vries <tdevries@suse.de>
3609
aac66a4c 3610 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3611
73d9a918
TV
36122019-09-29 Tom de Vries <tdevries@suse.de>
3613
3614 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3615
060b3ab4
TV
36162019-09-27 Tom de Vries <tdevries@suse.de>
3617
3618 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3619
68f7d34d
TV
36202019-09-27 Tom de Vries <tdevries@suse.de>
3621
3622 PR record/23188
3623 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3624
5d63b30a
TT
36252019-09-26 Tom Tromey <tromey@adacore.com>
3626
3627 * gdb.ada/py_taft.exp: New file.
3628 * gdb.ada/py_taft/main.adb: New file.
3629 * gdb.ada/py_taft/pkg.adb: New file.
3630 * gdb.ada/py_taft/pkg.ads: New file.
3631
3d435220
TV
36322019-09-24 Tom de Vries <tdevries@suse.de>
3633
3634 PR gdb/24598
3635 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3636
77d03678
TV
36372019-09-22 Tom de Vries <tdevries@suse.de>
3638
3639 * gdb.base/restore.exp: Allow register variables to be optimized out at
3640 -O0.
3641
abf516c6
UW
36422019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3643
3644 * gdb.arch/spu-info.exp: Remove file.
3645 * gdb.arch/spu-info.c: Remove file.
3646 * gdb.arch/spu-ls.exp: Remove file.
3647 * gdb.arch/spu-ls.c: Remove file.
3648
3649 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3650 * gdb.asm/spu.inc: Remove file.
3651
3652 * gdb.base/dump.exp: Remove support for spu*-*-*.
3653 * gdb.base/stack-checking.exp: Likewise.
3654 * gdb.base/overlays.exp: Likewise.
3655 * gdb.base/ovlymgr.c: Likewise.
3656 * gdb.base/spu.ld: Remove file.
3657
3658 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3659 * gdb.cp/cpexprs.exp: Likewise.
3660 * gdb.cp/exception.exp: Likewise.
3661 * gdb.cp/gdb2495.exp: Likewise.
3662 * gdb.cp/mb-templates.exp: Likewise.
3663 * gdb.cp/pr9167.exp: Likewise.
3664 * gdb.cp/userdef.exp: Likewise.
3665
3666 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3667
3668 * gdb.cell: Remove directory.
3669 * lib/cell.exp: Remove file.
3670
e452e88f
TV
36712019-09-19 Tom de Vries <tdevries@suse.de>
3672
3673 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3674
8a625130
TV
36752019-09-19 Tom de Vries <tdevries@suse.de>
3676
3677 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3678
81dc3ab5
TV
36792019-09-19 Tom de Vries <tdevries@suse.de>
3680
3681 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3682 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3683 (gdb_target_cmd): ... here.
3684 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3685 value 2.
3686
b078f3ac
AB
36872019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3688
3689 * gdb.base/source-dir.exp: Avoid having directory names in test
3690 names.
3691
f1b620e9
MG
36922019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3693
3694 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3695 directory.
3696
67f3ed6a
AB
36972019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3698
3699 * gdb.base/list-missing-source.exp: New file.
3700
d1b70248
TV
37012019-09-14 Tom de Vries <tdevries@suse.de>
3702
3703 PR teststuite/24599
3704 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3705 * lib/ada.exp (gnatmake_version_at_least): New proc.
3706
5fabdcd6
AB
37072019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3708
3709 * gdb.base/maint.exp: Use exec_has_index_section.
3710
aa17805f
AB
37112019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3712
3713 * gdb.base/maint.exp: Add test for 'maint info sections'.
3714
25e5c209
TV
37152019-09-12 Tom de Vries <tdevries@suse.de>
3716
3717 * gdb.base/store.exp: Allow register variables to be optimized out at
3718 -O0.
3719
4993045d
PW
37202019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3721
3722 * gdb.ada/rdv_wait.exp: Update to new task names.
3723 * gdb.base/task_switch_in_core.exp: Likewise.
3724 * gdb.base/info_sources_base.c: Likewise.
3725
8a516164
TT
37262019-09-10 Tom Tromey <tromey@adacore.com>
3727
3728 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3729
aa391654
TT
37302019-09-10 Tom Tromey <tromey@adacore.com>
3731
3732 * gdb.ada/dgopt.exp: New file.
3733 * gdb.ada/dgopt/x.adb: New file.
3734
8634b462
TT
37352019-09-08 Tom Tromey <tom@tromey.com>
3736
3737 * gdb.tui/resize.exp: Remove setup_xfail.
3738 * gdb.tui/regs.exp: Remove setup_xfail.
3739 * gdb.tui/basic.exp: Remove setup_xfail.
3740
736b0f76
DB
37412019-09-06 David Blaikie <dblaikie@gmail.com>
3742
3743 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3744 * gdb.cp/cplabel.exp: Ditto.
3745 * gdb.linespec/ls-errs.exp: Ditto.
3746
30331a6c
TV
37472019-09-05 Tom de Vries <tdevries@suse.de>
3748
3749 * lib/gdb.exp (cmp_file_string): New proc.
3750 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3751 runto_main. Verify save breakpoints output.
3752
98b0ebab
PW
37532019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3754
3755 * gdb.base/info-var.exp: Test info variables without running
3756 to main, to avoid expect's buffer overflow.
3757
4e962e74
TT
37582019-09-03 Tom Tromey <tromey@adacore.com>
3759
3760 * gdb.ada/bias.exp: New file.
3761 * gdb.ada/bias/bias.adb: New file.
3762 * gdb.ada/print_chars.exp: Add regression test.
3763 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3764 (MC): New variable.
3765
2ea1a07a
SL
37662019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3767
3768 * gdb.base/argv0-symlink.exp: Run only on native target
3769 and local host.
3770
8077c50d
TV
37712019-08-29 Tom de Vries <tdevries@suse.de>
3772
3773 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3774 diverse debug info.
3775 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3776
48352473
TV
37772019-08-28 Tom de Vries <tdevries@suse.de>
3778
3779 * gdb.base/info-var.exp: Allow info variables to print info for files
3780 other than info-var-f1.c and info-var-f2.c.
3781
d8f27c60
AB
37822019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3783
3784 * gdb.fortran/info-types.exp: Add module.
3785 * gdb.fortran/info-types.f90: Update expected results.
3786
1f20c35e
AB
37872019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3788
3789 * gdb.fortran/info-types.exp: New file.
3790 * gdb.fortran/info-types.f90: New file.
3791 * lib/fortran.exp (fortran_character1): New proc.
3792
4acfdd20
AB
37932019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3794
3795 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3796 functions'. Reindent as needed.
3797 * gdb.base/info-var-f1.c: New file.
3798 * gdb.base/info-var-f2.c: New file.
3799 * gdb.base/info-var.exp: New file.
3800 * gdb.base/info-var.h: New file.
3801
5c31b358
TV
38022019-08-26 Tom de Vries <tdevries@suse.de>
3803
3804 PR c++/24852
3805 * gdb.cp/no-libstdcxx-probe.exp: New test.
3806
b694989f
TV
38072019-08-26 Tom de Vries <tdevries@suse.de>
3808
3809 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3810 * tests need to be skipped.
3811 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3812 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3813 mi_skip_libstdcxx_probe_tests.
3814
d9c4ba53
SDJ
38152019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3816
3817 * gdb.python/py-xmethods.exp: Use raw strings when passing
3818 arguments to SimpleXMethodMatcher.
3819
395fad09
TV
38202019-08-22 Tom de Vries <tdevries@suse.de>
3821
3822 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3823 more informative.
3824
26c957f1
PA
38252019-08-21 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.base/with.exp: Test "with" with no arguments.
3828
61f80d5d
TV
38292019-08-21 Tom de Vries <tdevries@suse.de>
3830
3831 * gdb.base/gdb-caching-proc.exp: Sort files.
3832
d7a11d13
TV
38332019-08-20 Tom de Vries <tdevries@suse.de>
3834
3835 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3836 compilation.
3837
34dafe9f
TV
38382019-08-16 Tom de Vries <tdevries@suse.de>
3839
3840 * gdb.base/compare-sections.exp ("after run to main"): Allow
3841 mismatched read-only sections for PIE executables.
3842
398fdd60
TT
38432019-08-16 Tom Tromey <tom@tromey.com>
3844
3845 * lib/tuiterm.exp (_csi_Z): New proc.
3846 * gdb.tui/basic.exp: Update window positions.
3847 * gdb.tui/empty.exp: Update window positions.
3848
d8f9e51c
SL
38492019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3850
3851 * gdb.base/examine-backward.exp: Correct regexp for
3852 "examine 3 bytes backward from ${address_zero}".
3853
3df505f6
TT
38542019-08-15 Tom Tromey <tom@tromey.com>
3855
3856 * gdb.tui/empty.exp: Enable resizing tests.
3857
272560b5
TT
38582019-08-15 Tom Tromey <tromey@adacore.com>
3859
3860 * gdb.ada/char_enum.exp: Add regression tests.
3861 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3862 and '0'.
3863 (Char, Gchar): Update.
3864 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3865
08235187
CB
38662019-08-15 Christian Biesinger <cbiesinger@google.com>
3867
3868 * gdb.python/python.exp: Expect a leading underscore on
3869 GdbOutput{,Error}File.
3870
22a2ab04
SL
38712019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3872
3873 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3874 Windows host.
3875
835b995b
SL
38762019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3877
3878 * gdb.base/batch-preserve-term-settings.exp
3879 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3880
97dd8e07
CB
38812019-08-15 Christian Biesinger <cbiesinger@google.com>
3882
3883 * lib/gdb.exp: When running on a mingw target, replace
3884 /x/ with x:/.
3885
75faf5c4
AH
38862019-08-14 Alan Hayward <alan.hayward@arm.com>
3887
3888 * gdb.arch/aarch64-prologue.c: New test.
3889 * gdb.arch/aarch64-prologue.exp: New file.
3890
abc6c00f
TV
38912019-08-13 Tom de Vries <tdevries@suse.de>
3892
3893 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3894 Thread.
3895
74c2c1f4
SL
38962019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3897
3898 * gdb.python/py-completion.exp: Download the .py file to the host
3899 and use its host pathname. Conditionalize tests that use
3900 tab completion and manipulate files on the build machine.
3901 * gdb.python/py-events.exp: Download the .py file to the host
3902 and use its host pathname.
3903 * gdb.python/py-evsignal.exp: Likewise.
3904 * gdb.python/py-evthreads.exp: Likewise.
3905 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3906 pathname syntax.
3907 * gdb.python/py-framefilter.exp: Download the .py file to the right
3908 place on the host. Match Windows pathname syntax.
3909 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3910 .py file to the host and use its host pathname.
3911 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3912 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3913 build pathname. Skip symlink test on Windows host. Add missing
3914 newline at end of file.
3915 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3916 and use its host pathname.
3917 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3918 * gdb.python/py-section-script.exp: Use host location of binfile
3919 on safe-path. Use correct path separator on Windows host.
3920 Reorder alternatives in gdb_test_multiple to prevent matching
3921 the wrong alternative on success.
3922 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3923
ca2589f3
PP
39242019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3925
3926 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3927 expect the GDB inferior to no longer immediately stop after
3928 being resumed with "signal SIGINT".
3929
020a839d
SL
39302019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3931
3932 * gdb.linespec/break-ask.exp: Generalize regexps to match
3933 Windows pathnames too.
3934
128d6509
TV
39352019-08-08 Tom de Vries <tdevries@suse.de>
3936
3937 PR testsuite/24862
3938 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3939
590042fc
PW
39402019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3941
3942 * gdb.base/style.exp: Update tests for help doc new invariants.
3943 * gdb.base/help.exp: Likewise.
3944
046bebe1
TT
39452019-08-06 Tom Tromey <tom@tromey.com>
3946
3947 * gdb.base/style.exp: Add disassemble test.
3948 * gdb.base/style.c (some_called_function): New function.
3949 (main): Use it.
3950
0b27c27d
CB
39512019-08-05 Christian Biesinger <cbiesinger@google.com>
3952
3953 * gdb.python/py-block.exp: Test dictionary access on blocks.
3954
580f1034
SM
39552019-08-05 Simon Marchi <simon.marchi@efficios.com>
3956
3957 PR gdb/24863
3958 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3959 -list-thread-groups --available test when running under
3960 check-read1.
3961
d86bd7cb
TV
39622019-08-05 Tom de Vries <tdevries@suse.de>
3963
3964 PR testsuite/24863
3965 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3966 * gdb.base/help.exp: Use with_read1_timeout_factor.
3967 * gdb.base/info-macros.exp: Same.
3968 * gdb.cp/nested-types.exp: Same.
3969
a80cf5d8
TV
39702019-08-05 Tom de Vries <tdevries@suse.de>
3971
3972 * lib/gdb.exp (version_at_least): Factor out of ...
3973 (tcl_version_at_least): ... here.
3974 (gdb_compile): Fail if pie results in non-PIE executable.
3975 (readelf_version, readelf_prints_pie): New proc.
3976 (exec_is_pie): Return -1 if unknown.
3977
d0962838
TV
39782019-08-05 Tom de Vries <tdevries@suse.de>
3979
3980 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3981
2252ff3d
SL
39822019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3983
3984 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3985
26655f53
SL
39862019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3987
3988 * lib/completion-support.exp (test_gdb_complete_none): Skip
3989 tab completion tests if no readline support.
3990 (test_gdb_complete_unique_re): Likewise.
3991 (test_gdb_complete_multiple): Likewise.
3992
db4dc13e
PW
39932019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3994
3995 * gdb.base/info_sources.exp: New file.
3996 * gdb.base/info_sources.c: New file.
3997 * gdb.base/info_sources_base.c: New file.
3998
0eba165a
PFC
39992019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4000
4001 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4002 prefix argument.
4003 (test_exit_status): Add prefix argument.
4004
59bd512b
TV
40052019-08-01 Tom de Vries <tdevries@suse.de>
4006
4007 PR testsuite/24863
4008 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4009 calling exp_continue for new thread and thread exited messages.
4010
2a3ad588
TV
40112019-08-01 Tom de Vries <tdevries@suse.de>
4012
4013 PR testsuite/24863
4014 * gdb.base/structs.exp: Fix check-read1 timeout using
4015 gdb_test_sequence.
4016 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4017
117eb594
TV
40182019-08-01 Tom de Vries <tdevries@suse.de>
4019
4020 PR testsuite/24863
4021 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4022 line.
4023
ed591340
TV
40242019-08-01 Tom de Vries <tdevries@suse.de>
4025
4026 PR testsuite/24863
4027 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4028
aa3b6533
TT
40292019-07-30 Tom Tromey <tromey@adacore.com>
4030
4031 * gdb.ada/display_nested.exp: New file.
4032 * gdb.ada/display_nested/foo.adb: New file.
4033 * gdb.ada/display_nested/pack.adb: New file.
4034 * gdb.ada/display_nested/pack.ads: New file.
4035
2906593f
CB
40362019-07-30 Christian Biesinger <cbiesinger@google.com>
4037
4038 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4039 namespace.
4040 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4041
0f575925
TV
40422019-07-30 Tom de Vries <tdevries@suse.de>
4043
4044 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4045 instead.
4046
b13057d9
TV
40472019-07-30 Tom de Vries <tdevries@suse.de>
4048
4049 PR testsuite/24834
4050 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4051 (exec_is_pie): New proc.
4052
5c4dde85
CB
40532019-07-29 Christian Biesinger <cbiesinger@google.com>
4054
4055 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4056
c620ed88
CB
40572019-07-29 Christian Biesinger <cbiesinger@google.com>
4058
4059 * gdb.python/py-objfile.c: Add global and static vars.
4060 * gdb.python/py-objfile.exp: Test new functions Objfile.
4061 lookup_global_symbol and lookup_static_symbol.
4062
3d235706
TT
40632019-07-29 Tom Tromey <tom@tromey.com>
4064
4065 * lib/tuiterm.exp (Term::_csi_@): New proc.
4066 (Term::_csi_X): Don't move cursor.
4067
c7e4c0a6
PW
40682019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4069
4070 * gdb.base/options.exp: Update backtrace - completion to
4071 new option -frame-info.
4072 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4073 Test new 'set print frame-info'. Test backtrace -frame-info
4074 overriding 'set print frame-info'.
4075 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4076 Test new 'set print frame-info'.
4077 Verify consistency of backtrace with and without filters, with and
4078 without -no-filters.
4079 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4080 default.
4081
de28a3b7
TV
40822019-07-29 Tom de Vries <tdevries@suse.de>
4083
4084 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4085 no arguments".
4086
507dd60e
TV
40872019-07-29 Tom de Vries <tdevries@suse.de>
4088
4089 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4090 is a substring of the first for "complete non-unique file name".
4091
5beafce9
TV
40922019-07-29 Tom de Vries <tdevries@suse.de>
4093
4094 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4095 with ".*".
4096
2d274232
TV
40972019-07-29 Tom de Vries <tdevries@suse.de>
4098
4099 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4100 Pass prompt_regexp parameter to gdb_test_multiple calls.
4101
9197cd8b
TV
41022019-07-29 Tom de Vries <tdevries@suse.de>
4103
4104 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4105 print registers" regexps.
9197cd8b 4106
b528dae0
TV
41072019-07-29 Tom de Vries <tdevries@suse.de>
4108
4109 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4110
d17725d7
TV
41112019-07-29 Tom de Vries <tdevries@suse.de>
4112
4113 PR gdb/24855
4114 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4115 (skip_python_tests_prompt): Add prompt_regexp argument to
4116 gdb_test_multiple calls.
4117
52b75bf1
TT
41182019-07-27 Tom Tromey <tom@tromey.com>
4119
4120 * gdb.tui/main.exp: New file.
4121
2b1d00c2
TT
41222019-07-27 Tom Tromey <tom@tromey.com>
4123
4124 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4125 optional.
4126 * gdb.tui/empty.exp: New file.
4127
ded631d5
TT
41282019-07-27 Tom Tromey <tom@tromey.com>
4129
4130 * lib/tuiterm.exp (spawn): New proc.
4131 (Term::resize): New proc.
4132 * gdb.tui/resize.exp: New file.
4133
58ac439d
TT
41342019-07-27 Tom Tromey <tom@tromey.com>
4135
4136 * gdb.tui/list.exp: New file.
4137
fe1f56ee
TT
41382019-07-27 Tom Tromey <tom@tromey.com>
4139
4140 * gdb.tui/regs.exp: New file.
4141
f790b310
TT
41422019-07-27 Tom Tromey <tom@tromey.com>
4143
4144 * gdb.tui/basic.exp: Add "layout split" test.
4145
d95fc6ee
TT
41462019-07-27 Tom Tromey <tom@tromey.com>
4147
4148 * gdb.tui/basic.exp: Add "layout asm" test.
4149
c3786b3a
TT
41502019-07-27 Tom Tromey <tom@tromey.com>
4151
4152 * lib/tuiterm.exp: New file.
4153 * gdb.tui/basic.exp: New file.
4154
98a617f8
KB
41552019-07-27 Kevin Buettner <kevinb@redhat.com>
4156
4157 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4158 Enable tests associated with this flag. Adjust regex
4159 referencing "foo_low" to now refer to "foo_cold" instead.
4160
5c076da4
KB
41612019-07-27 Kevin Buettner <kevinb@redhat.com>
4162
4163 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4164 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4165 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4166 foo_cold. Revise comments to match.
4167 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4168 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4169 were wrapped into this proc; Call do_test in loop from outermost
4170 level.
4171 (foo_low): Rename all occurrences to "foo_cold".
4172 (backtrace from baz): New test.
4173 (x2/i foo_cold): New test.
4174 (info line *foo_cold): New test.
4175
1512d3b7
TV
41762019-07-26 Tom de Vries <tdevries@suse.de>
4177
4178 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4179
297989a1
TV
41802019-07-25 Tom de Vries <tdevries@suse.de>
4181
4182 PR testsuite/24830
4183 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4184 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4185 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4186 (skip_libstdcxx_probe_tests): ... here.
4187 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4188
b3b965fb
TV
41892019-07-24 Tom de Vries <tdevries@suse.de>
4190
4191 PR testsuite/24807
4192 * gdb.objc/basicclass.m: Include stdio.h.
4193 * gdb.objc/nondebug.m: Same.
4194 * gdb.objc/objcdecode.m: Same.
4195
4625b4d0
TV
41962019-07-24 Tom de Vries <tdevries@suse.de>
4197
4198 PR testsuite/24612
4199 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4200 additional_flags.
4201
024a5840
TV
42022019-07-24 Tom de Vries <tdevries@suse.de>
4203
4204 PR testsuite/24831
4205 * gdb.multi/tids.exp: Update error messages for info threads.
4206
c76ddaa3
TV
42072019-07-24 Tom de Vries <tdevries@suse.de>
4208
4209 * gdb.base/info-types.exp: Allow info types to print info for more than
4210 one file.
4211
9a618ef6
TV
42122019-07-23 Tom de Vries <tdevries@suse.de>
4213
4214 PR testsuite/24842
4215 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4216 gdb_spawn_with_cmdline_opts.
4217
40eadf04
SP
42182019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4219
4220 * gdb.arch/arm-cmse-sgstubs.c: New test.
4221 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4222
5ba29434
TV
42232019-07-23 Tom de Vries <tdevries@suse.de>
4224
4225 PR testsuite/24711
4226 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4227 issuing next command.
4228
a8e9d247
AB
42292019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4230
4231 * gdb.ada/info_auto_lang.exp: Update expected results.
4232 * gdb.base/info-types.c: Add additional types to check.
4233 * gdb.base/info-types.exp: Update expected results.
4234
eb86c5e2
AB
42352019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4236
4237 * gdb.base/info-types.c: New file.
4238 * gdb.base/info-types.exp: New file.
4239
01e175fe
AB
42402019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4241
4242 * gdb.arch/riscv-bp-infcall.c: New file.
4243 * gdb.arch/riscv-bp-infcall.exp: New file.
4244
6b78c3f8
AB
42452019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4246
4247 PR breakpoints/24541
4248 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4249
da738167
TV
42502019-07-14 Tom de Vries <tdevries@suse.de>
4251
4252 PR testsuite/24760
4253 * gdb.objc/basicclass.exp: Fix unterminated string.
4254
0d4e84ed
AB
42552019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4256 Andrew Burgess <andrew.burgess@embecosm.com>
4257
4258 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4259 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4260 negative bounds.
4261 * gdb.fortran/vla-value.exp: Print elements of an array with
4262 negative bounds.
4263 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4264 testing.
4265
021d8588
AB
42662019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4267
4268 * gdb.base/options.exp (expect_string): Dequote strings in
4269 results.
4270 (test-string): Test strings with different quoting and reindent.
4271
f06f1252
TT
42722019-07-10 Tom Tromey <tromey@adacore.com>
4273
4274 * gdb.ada/mi_ex_cond.exp: Update expected results.
4275 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4276 * gdb.ada/mi_catch_ex.exp: Update expected results.
4277 * gdb.ada/mi_catch_assert.exp: Update expected results.
4278 * gdb.ada/catch_ex.exp (catch_exception_info)
4279 (catch_exception_entry, catch_assert_entry)
4280 (catch_unhandled_entry): Update.
4281 * gdb.ada/catch_assert_if.exp: Update expected results.
4282
b863685d
RB
42832019-07-10 Richard Bunt <richard.bunt@arm.com>
4284 Stephen Roberts <stephen.roberts@arm.com>
4285
4286 * gdb.base/define.exp: Restore original prompt.
4287
cb1e4e32
PA
42882019-07-09 Pedro Alves <palves@redhat.com>
4289
4290 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4291 breakpoints" output.
4292 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4293 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4294 throw" creates breakpoint.
4295 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4296 'type="catchpoint"'.
4297
b58a68fe
PA
42982019-07-09 Pedro Alves <palves@redhat.com>
4299
4300 PR c++/15468
4301 * gdb.cp/except-multi-location-lib.cc: New.
4302 * gdb.cp/except-multi-location-main.cc: New.
4303 * gdb.cp/except-multi-location.exp: New.
4304
0826779b
PW
43052019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4306
4307 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4308 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4309 argument and update callers.
4310
5b0e2db4
AB
43112019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4312
4313 * gdb.arch/amd64-break-on-asm-line.S: New file.
4314 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4315
1f6f6e21
PW
43162019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4317
4318 * gdb.base/printcmds.exp: Test printing C string and
4319 C wide string convenience vars without transiting via the inferior.
4320 Also make test names unique.
4321
ea142fbf
AH
43222019-07-08 Alan Hayward <alan.hayward@arm.com>
4323
5862c886 4324 PR breakpoints/25011
ea142fbf
AH
4325 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4326
213fd9fa
PA
43272019-07-04 Pedro Alves <palves@redhat.com>
4328
4329 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4330 body returned ok(0), break(3) or continue(4).
4331 * gdb.testsuite/foreach_with_prefix.exp: New file.
4332
2b40fda7
AH
43332019-07-04 Alan Hayward <alan.hayward@arm.com>
4334
4335 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4336
a26c8de0
PA
43372019-07-03 Pedro Alves <palves@redhat.com>
4338
4339 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4340 "return -code".
4341
5f4ba3e7
PA
43422019-07-03 Pedro Alves <palves@redhat.com>
4343
4344 PR cli/24732
4345 * gdb.base/shell.exp: Load completion-support.exp.
4346 Adjust expected error output. Add completion tests.
4347
a994424f
PA
43482019-07-03 Pedro Alves <palves@redhat.com>
4349
4350 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4351 string_to_regexp.
4352
3d9be6f5
PA
43532019-07-03 Pedro Alves <palves@redhat.com>
4354
4355 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4356 (expect_integer): Adjust to expect "-string".
4357 (expect_string): New.
4358 (all_options): Expect "-string".
4359 (test-flag, test-boolean): Adjust to expect "-string".
4360 (test-string): New proc.
4361 (top level): Call it.
4362
41fc454c
PA
43632019-07-03 Pedro Alves <palves@redhat.com>
4364
4365 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4366 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4367 the expected output in the success.
4368
b2b2a215
PA
43692019-07-03 Pedro Alves <palves@redhat.com>
4370
4371 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4372 Split one gdb_test_multiple call in two to avoid a race.
4373
fdbc9870
PA
43742019-07-03 Pedro Alves <palves@redhat.com>
4375
4376 * gdb.base/with.c: New file.
4377 * gdb.base/with.exp: New file.
4378
c6ac8931
PA
43792019-07-03 Pedro Alves <palves@redhat.com>
4380
4381 * gdb.base/settings.exp: Replace all references to "maint
4382 test-settings set" with references to "maint set test-settings",
4383 and all references to "maint test-settings show" with references
4384 to "maint show test-settings".
4385
970f9d09
PA
43862019-07-03 Pedro Alves <palves@redhat.com>
4387
4388 * gdb.base/settings.exp (test-string): Adjust expected out when
4389 testing "maint test-settings show filename"
4390
54d66006
PA
43912019-07-02 Pedro Alves <palves@redhat.com>
4392
4393 * gdb.base/options.exp (test-info-threads): New procedure.
4394 (top level): Call it.
4395
10d06d82
TT
43962019-06-28 Tom Tromey <tromey@adacore.com>
4397
4398 * gdb.dwarf2/ada-linkage-name.c: New file.
4399 * gdb.dwarf2/ada-linkage-name.exp: New file.
4400
3d507ff2
TT
44012019-06-27 Tom Tromey <tromey@adacore.com>
4402
d039f014 4403 PR c++/20020:
3d507ff2
TT
4404 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4405
8af58ffe
TV
44062019-06-26 Tom de Vries <tdevries@suse.de>
4407
4408 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4409
22e21752
TV
44102019-06-26 Tom de Vries <tdevries@suse.de>
4411
4412 * gdb.base/index-cache.exp: Add back missing debug option.
4413
b65b566c
PW
44142019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4415
4416 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4417
5c2c8c69
TV
44182019-06-25 Tom de Vries <tdevries@suse.de>
4419
4420 PR testsuite/24727
4421 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4422
164e3873
TV
44232019-06-24 Tom de Vries <tdevries@suse.de>
4424
4425 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4426
824eacee
TV
44272019-06-24 Tom de Vries <tdevries@suse.de>
4428
4429 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4430 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4431 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4432
385b97d3
TV
44332019-06-24 Tom de Vries <tdevries@suse.de>
4434
4435 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4436
c596f180
TV
44372019-06-21 Tom de Vries <tdevries@suse.de>
4438
4439 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4440
b13a7d03
TV
44412019-06-21 Tom de Vries <tdevries@suse.de>
4442
4443 PR testsuite/24518
4444 PR ada/24713
4445 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4446 index.
4447
899277ae
TT
44482019-06-19 Tom Tromey <tromey@adacore.com>
4449
4450 * gdb.ada/length_cond.exp: Add intro comment.
4451
680e1bee
TT
44522019-06-19 Tom Tromey <tromey@adacore.com>
4453
4454 * gdb.ada/length_cond.exp: New file.
4455 * gdb.ada/length_cond/length_cond.adb: New file.
4456 * gdb.ada/length_cond/pck.adb: New file.
4457 * gdb.ada/length_cond/pck.ads: New file.
4458
0ed4690a
TV
44592019-06-18 Tom de Vries <tdevries@suse.de>
4460
4461 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4462
d20ed5fd
TT
44632019-06-18 Tom Tromey <tromey@adacore.com>
4464
4465 * gdb.base/list0.h: Add comment explaining control character.
4466
86e04673
TV
44672019-06-18 Tom de Vries <tdevries@suse.de>
4468
4469 * boards/fission.exp: Break up long debug_flags line.
4470
c4973306
SM
44712019-06-16 Tom de Vries <tdevries@suse.de>
4472
4473 PR gdb/24445
4474 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4475 generated index.
4476
93cb9841
AB
44772019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4478
4479 PR gdb/24686
4480 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4481 improve detection of bug gdb/24541.
4482
399aaebd
SM
44832019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4484
4485 PR gdb/24669
4486 * gdb.base/index-cache.exp (uses_readnow,
4487 expecting_index_cache_use): Define global variable.
4488 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4489 expecting_index_cache_use.
4490
584a927c
AB
44912019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4492 Andrew Burgess <andrew.burgess@embecosm.com>
4493
4494 * gdb.fortran/pointers.f90: New file.
4495 * gdb.fortran/print_type.exp: New file.
4496 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4497 * gdb.fortran/vla-type.exp: Likewise.
4498 * gdb.fortran/vla-value.exp: Likewise.
4499 * gdb.mi/mi-vla-fortran.exp: Likewise.
4500
30056ea0
AB
45012019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4502
4503 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4504 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4505 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4506 as a stop reason.
4507
ec8e2b6d
AB
45082019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4509
4510 * gdb.base/annota1.exp: Update expected results.
4511 * gdb.cp/annota2.exp: Likewise.
4512 * gdb.cp/annota3.exp: Likewise.
4513
09e4c4e1
AB
45142019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4515
4516 * gdb.base/style-logging.exp: Remove path from test name.
4517
0735b091
TT
45182019-06-14 Tom Tromey <tromey@adacore.com>
4519
4520 PR gdb/24502:
4521 * gdb.base/style-logging.exp: New file.
4522
f5686554
TT
45232019-06-14 Tom Tromey <tromey@adacore.com>
4524
4525 * gdb.base/symfile-warn.exp: New file.
4526 * gdb.base/symfile-warn.c: New file.
4527
a0c1ffed
TT
45282019-06-14 Tom Tromey <tromey@adacore.com>
4529
4530 * gdb.base/annotate-symlink.exp: New file.
4531
f411722c
TT
45322019-06-14 Tom Tromey <tromey@adacore.com>
4533
4534 * gdb.ada/set_wstr.exp: Add reassignment test.
4535
4268ec18
TT
45362019-06-14 Tom Tromey <tromey@adacore.com>
4537
4538 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4539 'unchecked_access and 'unrestricted_access as well.
4540
9a9e394b
TT
45412019-06-14 Tom Tromey <tromey@adacore.com>
4542
4543 PR ada/24539:
4544 * gdb.ada/vla.exp: Update tests.
4545 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4546 pragma.
4547
4c048731
PA
45482019-06-13 Pedro Alves <palves@redhat.com>
4549
4550 * gdb.base/settings.exp (test-integer): Test junk after
4551 "unlimited".
4552
6665660a
PA
45532019-06-13 Pedro Alves <palves@redhat.com>
4554
4555 * gdb.base/options.exp (test-thread-apply): New.
4556 (top level): Call it.
4557
5d707134
PA
45582019-06-13 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.base/options.exp (test-frame-apply): New.
4561 (top level): Test print commands with different "frame apply"
4562 prefixes.
4563
e2a689da
PA
45642019-06-13 Pedro Alves <palves@redhat.com>
4565
e79be6e5 4566 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
4567 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4568 'max_completions' parameter and handle it.
4569 (test_gdb_completion_offers_commands): New.
4570
90a1ef87
PA
45712019-06-13 Pedro Alves <palves@redhat.com>
4572
4573 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4574
d4c16835
PA
45752019-06-13 Pedro Alves <palves@redhat.com>
4576
4577 * gdb.base/options.exp (test-backtrace): New.
4578 (top level): Call it.
4579
2daf894e
PA
45802019-06-13 Pedro Alves <palves@redhat.com>
4581
4582 * gdb.guile/scm-frame-args.exp: Use "set print
4583 raw-frame-arguments" instead of "set print raw frame-arguments".
4584 * gdb.python/py-frame-args.exp: Likewise.
4585
e6ed716c
PA
45862019-06-13 Pedro Alves <palves@redhat.com>
4587
4588 * gdb.compile/compile.exp: Adjust expected output to option
4589 processing changes.
4590
7d8062de
PA
45912019-06-13 Pedro Alves <palves@redhat.com>
4592
4593 * gdb.base/options.exp: Build executable.
4594 (test-print): New procedure.
4595 (top level): Call it, once for "print" and another for "compile
4596 print".
4597
9d0faba9
PA
45982019-06-13 Pedro Alves <palves@redhat.com>
4599
4600 * gdb.base/options.c: New file.
4601 * gdb.base/options.exp: New file.
4602
dee7b4c8
PA
46032019-06-13 Pedro Alves <palves@redhat.com>
4604
4605 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4606 that "o" is ambiguous.
4607
dca0f6c0
PA
46082019-06-13 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.base/settings.c: New file.
4611 * gdb.base/settings.exp: New file.
4612
ccf46844
PA
46132019-06-13 Pedro Alves <palves@redhat.com>
4614
4615 * gdb.base/completion.exp: Fix comment typo.
4616
b9a3f842
PA
46172019-06-13 Pedro Alves <palves@redhat.com>
4618
4619 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4620 foo --1" test.
4621
d106773e
PA
46222019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4623
4624 * gdb.fortran/block-data.f: New.
4625 * gdb.fortran/block-data.exp: New.
4626
fea82da0
TV
46272019-06-11 Tom de Vries <tdevries@suse.de>
4628
4629 PR testsuite/24521
4630 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4631 message.
4632
8c2e74f1
TV
46332019-06-11 Tom de Vries <tdevries@suse.de>
4634
4635 PR testsuite/24521
4636 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4637
b49851c8
TV
46382019-06-11 Tom de Vries <tdevries@suse.de>
4639
4640 * boards/readnow.exp: New file.
4641
a7067863
AB
46422019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4643
4644 * gdb.fortran/vla-sizeof.exp: Update expected results.
4645
1a3da2cd
AB
46462019-06-06 Amos Bird <amosbird@gmail.com>
4647
4648 * gdb.base/annota1.exp (thread_switch): Add test for
4649 thread-exited annotation.
4650
3847a7bf
TT
46512019-06-06 Tom Tromey <tromey@adacore.com>
4652
4653 * gdb.base/maint.exp: Expect command started/finished output.
4654
0088ba59
AB
46552019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4656
4657 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4658 comment.
4659 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4660
312617a3
AB
46612019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4662
4663 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4664 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4665 * gdb.arch/riscv-unwind-long-insn.c: New file.
4666 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4667
e1f2e1a2
CB
46682019-06-04 Christian Biesinger <cbiesinger@google.com>
4669
d3238f7d 4670 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 4671
206584bd
PW
46722019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4673
4674 * lib/gdb.exp (help_list_trailer): New regexp variable
4675 factorizing the help trailer message.
4676 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4677 arg to allow to better factorize various tests.
4678 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4679 (test_prefix_command_help): Use help_list_trailer.
4680 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4681 * gdb.guile/scm-cmd.exp: Likewise.
4682 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4683 * gdb.base/help.exp: Use test_user_defined_class_help.
4684 * gdb.base/style.exp: Add tests for styling of help and apropos.
4685 * lib/gdb-utils.exp (style): Add title and highlight styles.
4686
708dc93e
PW
46872019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4688
4689 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4690 $_shell_exitsignal.
4691 * gdb.base/default.exp: Update for new convenience variables.
4692
f49055a5
TT
46932019-05-29 Tom Tromey <tromey@adacore.com>
4694
4695 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4696 to "break complete ada" test case's regexp.
4697
4330d61d
TT
46982019-05-29 Tom Tromey <tromey@adacore.com>
4699
4700 PR c++/20020:
4701 * gdb.cp/constexpr-field.exp: New file.
4702 * gdb.cp/constexpr-field.cc: New file.
4703
000439d5
TT
47042019-05-29 Tom Tromey <tromey@adacore.com>
4705
4706 * gdb.base/finish.exp (finish_no_print): New proc.
4707 (finish_tests): Call it.
4708
5a01c34c
TV
47092019-05-24 Tom de Vries <tdevries@suse.de>
4710
4711 * gdb.dwarf2/gdb-add-index.exp: New file.
4712
18125b16
TT
47132019-05-22 Tom Tromey <tromey@adacore.com>
4714
4715 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4716 * gdb.base/style.exp: Use "style".
4717 * lib/gdb-utils.exp (style): New proc.
4718
af1a8d03
TV
47192019-05-22 Tom de Vries <tdevries@suse.de>
4720
4721 * gdb.base/align.exp: Require c++11.
4722
e7fe496b
TV
47232019-05-22 Tom de Vries <tdevries@suse.de>
4724
4725 PR testsuite/24586
4726 * gdb.python/py-mi-var-info-path-expression.exp: Call
4727 mi_skip_python_tests to check if python is supported.
4728
8fca4da0
AH
47292019-05-22 Alan Hayward <alan.hayward@arm.com>
4730
4731 * gdb.arch/aarch64-pauth.c: New test.
4732 * gdb.arch/aarch64-pauth.exp: New file.
4733
b7060614
AH
47342019-05-22 Alan Hayward <alan.hayward@arm.com>
4735
4736 * README (Re-running Tests Outside The Testsuite): New section.
4737
669d0468
TV
47382019-05-21 Tom de Vries <tdevries@suse.de>
4739
4740 * gdb.arch/amd64-eval.exp: Require c++11.
4741 * gdb.base/max-depth.exp: Same.
4742 * gdb.compile/compile-cplus-array-decay.exp: Same.
4743 * gdb.cp/meth-typedefs.exp: Same.
4744 * gdb.cp/subtypes.exp: Same.
4745 * gdb.cp/temargs.exp: Same.
4746
ce3ebcaa
AH
47472019-05-21 Alan Hayward <alan.hayward@arm.com>
4748
4749 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4750
34d11c68
AB
47512019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4752
4753 PR gdb/18644
4754 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4755 * gdb.fortran/printing-types.exp: Add new test.
4756 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4757 testing.
4758 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4759 setup_kfail call.
4760
87781e84
AH
47612019-05-17 Alan Hayward <alan.hayward@arm.com>
4762
4763 * README (Running the Testsuite): Change example.
4764 (Testsuite Parameters): Remove TRANSCRIPT.
4765 * lib/gdb.exp: Remove TRANSCRIPT check.
4766
b420b89e
AH
47672019-05-17 Alan Hayward <alan.hayward@arm.com>
4768
4769 * README (Testsuite Parameters): Add replay logging to
4770 GDBSERVER_DEBUG.
4771 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4772 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4773 as a comma separated list.
4774 (gdb_debug_init): Override procedure.
4775
408e9b8b
AH
47762019-05-17 Alan Hayward <alan.hayward@arm.com>
4777
4778 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4779 (gdb_write_cmd_file): New procedure.
4780 * lib/gdbserver-support.exp (gdbserver_start): Call
4781 gdbserver_write_cmd_file.
4782 (gdbserver_write_cmd_file): New procedure.
4783
f9e2e39d
AH
47842019-05-17 Alan Hayward <alan.hayward@arm.com>
4785
4786 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4787 (delete_breakpoints): Likewise.
4788 (gdb_run_cmd): Likewise.
4789 (gdb_start_cmd): Likewise.
4790 (gdb_starti_cmd): Likewise.
4791 (gdb_internal_error_resync): Likewise.
4792 (gdb_test_multiple): Likewise.
4793 (gdb_reinitialize_dir): Likewise.
4794 (default_gdb_exit): Likewise.
4795 (gdb_file_cmd): Mark kill as optional.
4796 (default_gdb_start): Call gdb_stdin_log_init.
4797 (send_gdb): Call gdb_stdin_log_write.
4798 (rerun_to_main): Mark Y as an answer.
4799 (gdb_stdin_log_init): New function.
4800 (gdb_stdin_log_write): Likewise.
4801
81f47ac2
AH
48022019-05-17 Alan Hayward <alan.hayward@arm.com>
4803
4804 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4805 * gdb.base/debug-expr.exp: Likewise.
4806 * gdb.base/foll-fork.exp: Likewise.
4807 * gdb.base/foll-vfork.exp: Likewise.
4808 * gdb.base/fork-print-inferior-events.exp: Likewise.
4809 * gdb.base/gdb-sigterm.exp: Likewise.
4810 * gdb.base/gdbinit-history.exp: Likewise.
4811 * gdb.base/osabi.exp: Likewise.
4812 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4813 * gdb.base/ui-redirect.exp: Likewise.
4814 * gdb.gdb/unittest.exp: Likewise.
4815 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4816 * gdb.mi/mi-watch.exp: Likewise.
4817 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4818 * gdb.mi/user-selected-context-sync.exp: Likewise.
4819 * gdb.python/python.exp: Disable debug test when debugging.
4820 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4821 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4822 Likewise.
4823 * gdb.threads/stepi-random-signal.exp: Likewise.
4824
29b52314
AH
48252019-05-17 Alan Hayward <alan.hayward@arm.com>
4826
4827 * Makefile.in: Pass through GDB_DEBUG.
4828 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4829 (gdb,debug): Add board setting.
4830 * lib/gdb.exp (default_gdb_start): Start debugging.
4831 (gdb_debug_enabled): New procedure.
4832 (gdb_debug_init): Likewise.
29b52314
AH
4833
48342019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 4835
29b52314
AH
4836 * Makefile.in: Pass through GDB_DEBUG.
4837 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4838 (gdb,debug): Add board setting.
4839 * lib/gdb.exp (default_gdb_start): Start debugging.
4840 (gdb_debug_enabled): New procedure.
4841 (gdb_debug_init): Likewise.
29b52314 4842
ca1285d1
AH
48432019-05-17 Alan Hayward <alan.hayward@arm.com>
4844
4845 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4846
f3a09c80
AH
48472019-05-17 Alan Hayward <alan.hayward@arm.com>
4848
4849 * gdb.base/ui-redirect.exp: Test redirection.
4850
26648588
JV
48512019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4852
4853 * gdb.mi/mi-complete.exp: New file.
4854 * gdb.mi/mi-complete.cc: Likewise.
4855
14237686
AB
48562019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4857
4858 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4859 indexed and sliced arrays, and pointers to arrays.
4860
e7bd7fba
TT
48612019-05-14 Tom Tromey <tromey@adacore.com>
4862
4863 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4864 styling test.
4865
2764128d
TV
48662019-05-14 Tom de Vries <tdevries@suse.de>
4867
4868 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4869 selection entry encoding.
4870
71bed2db
TT
48712019-05-10 Tom Tromey <tromey@adacore.com>
4872
4873 * gdb.ada/info_exc.exp: Add "complete" test.
4874
63b667ad
TV
48752019-05-09 Tom de Vries <tdevries@suse.de>
4876
4877 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4878 CU-relative.
4879
9cfd2b89
TV
48802019-05-09 Tom de Vries <tdevries@suse.de>
4881
4882 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4883 CU-relative.
4884
2228ef77
XR
48852019-05-08 Joel Brobecker <brobecker@adacore.com>
4886
4887 * gdb.ada/frame_arg_lang.exp: New testcase.
4888 * gdb.ada/frame_arg_lang/bla.adb: New file.
4889 * gdb.ada/frame_arg_lang/pck.ads: New file.
4890 * gdb.ada/frame_arg_lang/pck.adb: New file.
4891 * gdb.ada/frame_arg_lang/foo.c: New file.
4892
80e55b13
TT
48932019-05-08 Tom Tromey <tromey@adacore.com>
4894
4895 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4896
9d3421af
TT
48972019-05-08 Tom Tromey <tromey@adacore.com>
4898
4899 * gdb.base/ptype-offsets.exp: Update tests.
4900
844333e2
TT
49012019-05-08 Tom Tromey <tromey@adacore.com>
4902
4903 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4904 cases.
4905 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4906 "short".
4907
988915ee
TT
49082019-05-08 Tom Tromey <tromey@adacore.com>
4909
4910 * gdb.ada/vla.exp: New file.
4911 * gdb.ada/vla/vla.adb: New file.
4912
7bd55dac
TV
49132019-05-07 Tom de Vries <tdevries@suse.de>
4914
4915 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4916
75f06e9d
TV
49172019-05-07 Tom de Vries <tdevries@suse.de>
4918
4919 PR testsuite/24522
4920 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4921 section.
4922
77e7aaa4
TV
49232019-05-07 Tom de Vries <tdevries@suse.de>
4924
4925 PR testsuite/24522
4926 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4927 .debug_aranges section.
4928
456ba0fa
TV
49292019-05-07 Tom de Vries <tdevries@suse.de>
4930
4931 PR testsuite/24159
4932 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4933
5a56d6a6
TV
49342019-05-06 Tom de Vries <tdevries@suse.de>
4935
4936 * lib/gdb.exp (exec_has_index_section): New proc.
4937 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4938 section.
4939
9d6d4be8
TV
49402019-05-04 Tom de Vries <tdevries@suse.de>
4941
4942 * boards/cc-with-debug-names.exp: New file.
4943
222a8d25
TT
49442019-05-03 Tom Tromey <tromey@adacore.com>
4945
4946 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4947 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4948 * gdb.ada/char_enum.exp: Add test.
4949
0fdfd794
TV
49502019-05-03 Tom de Vries <tdevries@suse.de>
4951
4952 * boards/cc-with-gdb-index.exp: New file.
4953
80062eb9
AB
49542019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4955
4956 * gdb.rust/simple.exp: Add new test case.
4957 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4958 (main): Initialise an instance of the new struct.
4959
4504bbde
TT
49602019-05-01 Tom Tromey <tromey@adacore.com>
4961
4962 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4963 record.
4964 (NPR): New variable.
4965 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4966 test.
4967
d48e62f4
TT
49682019-05-01 Tom Tromey <tromey@adacore.com>
4969
4970 * gdb.ada/packed_array_assign.exp: Add packed assignment
4971 regression test.
4972
f59f30f5
TV
49732019-05-01 Tom de Vries <tdevries@suse.de>
4974
4975 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4976
b70bfc54
TV
49772019-05-01 Tom de Vries <tdevries@suse.de>
4978
4979 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4980
15f18d14
AT
49812019-04-30 Ali Tamur <tamur@google.com>
4982
4983 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4984
2ff0a947
TT
49852019-04-30 Tom Tromey <tromey@adacore.com>
4986
4987 * lib/ada.exp (find_ada_tool): New proc.
4988 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4989 * gdb.ada/catch_ex_std.exp: New file.
4990 * gdb.ada/catch_ex_std/foo.adb: New file.
4991 * gdb.ada/catch_ex_std/some_package.adb: New file.
4992 * gdb.ada/catch_ex_std/some_package.ads: New file.
4993
a776957c
TT
49942019-04-30 Tom Tromey <tromey@adacore.com>
4995
4996 PR c++/24470:
4997 * gdb.cp/temargs.cc: Add test code from PR.
4998
bc68014d
AB
49992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5000
5001 * gdb.fortran/vla-datatypes.exp: Update expected results.
5002 * gdb.fortran/vla-ptype.exp: Likewise.
5003 * gdb.fortran/vla-type.exp: Likewise.
5004 * gdb.fortran/vla-value.exp: Likewise.
5005
f1fdc960
AB
50062019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5007
5008 * gdb.fortran/ptr-indentation.exp: Update expected results.
5009 * gdb.fortran/ptype-on-functions.exp: Likewise.
5010 * gdb.fortran/vla-ptr-info.exp: Likewise.
5011 * gdb.fortran/vla-value.exp: Likewise.
5012
bf7a4de1
AB
50132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5014
5015 * gdb.fortran/ptype-on-functions.exp: New file.
5016 * gdb.fortran/ptype-on-functions.f90: New file.
5017
bbe75b9d
AB
50182019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5019
5020 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5021 case void string.
5022
1db455a7
AB
50232019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5024
5025 * gdb.fortran/complex.exp: Expand.
5026 * gdb.fortran/complex.f: Renamed to...
5027 * gdb.fortran/complex.f90: ...this, and extended to add more
5028 complex values.
5029
b6d03bb2
AB
50302019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5031
5032 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5033 MODULO, CMPLX.
5034
2e62ab40
AB
50352019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5036 Richard Bunt <richard.bunt@arm.com>
5037
5038 * gdb.base/max-depth.c: New file.
5039 * gdb.base/max-depth.exp: New file.
5040 * gdb.python/py-nested-maps.c: New file.
5041 * gdb.python/py-nested-maps.exp: New file.
5042 * gdb.python/py-nested-maps.py: New file.
5043 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5044 (test_all_common): Call test_max_depth.
5045 * gdb.fortran/max-depth.exp: New file.
5046 * gdb.fortran/max-depth.f90: New file.
5047 * gdb.go/max-depth.exp: New file.
5048 * gdb.go/max-depth.go: New file.
5049 * gdb.modula2/max-depth.exp: New file.
5050 * gdb.modula2/max-depth.c: New file.
5051 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5052
d2b584a5
TV
50532019-04-29 Tom de Vries <tdevries@suse.de>
5054
5055 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5056
136afab8
PW
50572019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5058
5059 * gdb.base/callexit.exp: Test may-call-functions off.
5060
725cbb63
KS
50612019-04-25 Keith Seitz <keiths@redhat.com>
5062
5063 PR c++/24367
5064 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5065 (another_incomplete_struct, test_incomplete): New definitions.
5066 (main): Use new definitions.
5067 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5068 functions.
5069
701adfb0
PA
50702019-04-25 Ali Tamur <tamur@google.com>
5071
5072 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5073
82433e3e
SDJ
50742019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5075
5076 PR corefiles/11608
5077 PR corefiles/18187
5078 * gdb.base/coredump-filter-build-id.exp: New file.
5079
dd06d4d6
AH
50802019-04-25 Alan Hayward <alan.hayward@arm.com>
5081
e79be6e5
SM
5082 * Makefile.in: Pass through GDBSERVER_DEBUG.
5083 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5084 (gdbserver,debug): Add board setting.
5085 * gdb.trace/tspeed.exp: Skip when debugging.
5086 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5087 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5088
1670072e
TT
50892019-04-24 Tom Tromey <tromey@adacore.com>
5090
5091 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5092 Rust.
5093
a59240a4
TT
50942019-04-24 Tom Tromey <tromey@adacore.com>
5095
5096 * gdb.arch/amd64-eval.exp: Test bitfield return.
5097 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5098 (class Foo) <return_bitfields>: New method.
5099 (main): Call it.
5100
b907456c
AB
51012019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5102
5103 * gdb.cp/many-args.cc: New file.
5104 * gdb.cp/many-args.exp: New file.
5105
5c565afd
TV
51062019-04-23 Tom de Vries <tdevries@suse.de>
5107
5108 PR gdb/24433
5109 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5110
ba22ff86
AH
51112019-04-23 Alan Hayward <alan.hayward@arm.com>
5112
5113 * gdb.trace/backtrace.exp: Use nopie flag.
5114 * gdb.trace/circ.exp: Likewise.
5115 * gdb.trace/collection.exp: Likewise.
5116 * gdb.trace/ftrace.exp: Likewise.
5117 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5118 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5119 * gdb.trace/qtro.exp: Likewise.
5120 * gdb.trace/read-memory.exp: Likewise.
5121 * gdb.trace/report.exp: Likewise.
5122 * gdb.trace/tfile.exp: Likewise.
5123 * gdb.trace/tfind.exp: Likewise.
5124 * gdb.trace/unavailable.exp: Likewise.
5125
7905fc35
PA
51262019-04-22 Pedro Alves <palves@redhat.com>
5127
5128 * gdb.base/solib-probes-nosharedlibrary.c,
5129 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5130
8ecb59f8
TT
51312019-04-19 Tom Tromey <tromey@adacore.com>
5132
5133 * gdb.ada/ptype_union.c: New file.
5134 * gdb.ada/ptype_union.exp: New file.
5135
62160ec9
TT
51362019-04-19 Tom Tromey <tromey@adacore.com>
5137
5138 PR symtab/24423:
5139 * gdb.base/list0.h (foo): Add a control-l character.
5140
36cd4ba5
TV
51412019-04-18 Tom de Vries <tdevries@suse.de>
5142
5143 PR gdb/24433
5144 * boards/local-board.exp: Set sysroot to "".
5145
b73715df
TV
51462019-04-18 Tom de Vries <tdevries@suse.de>
5147 Pedro Alves <palves@redhat.com>
5148
5149 PR gdb/24454
5150 * gdb.threads/vfork-follow-child-exec.c: New file.
5151 * gdb.threads/vfork-follow-child-exec.exp: New file.
5152 * gdb.threads/vfork-follow-child-exit.c: New file.
5153 * gdb.threads/vfork-follow-child-exit.exp: New file.
5154
4aa866af
LS
51552019-04-15 Leszek Swirski <leszeks@google.com>
5156
5157 * gdb.arch/amd64-eval.cc: New file.
5158 * gdb.arch/amd64-eval.exp: New file.
5159
e5a1a79a
AH
51602019-04-11 Alan Hayward <alan.hayward@arm.com>
5161
5162 * gdb.server/sysroot.c: New test.
5163 * gdb.server/sysroot.exp: New file.
5164 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5165 matching param.
5166
41077b66
AB
51672019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5168
5169 * gdb.base/align.exp: Extend test to cover structures containing
5170 only static fields.
5171
c30391f8
TV
51722019-04-11 Tom de Vries <tdevries@suse.de>
5173
5174 * boards/cc-with-dwz-m.exp: New file.
5175 * boards/cc-with-dwz.exp: New file.
5176 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5177
e242fd12
SM
51782019-04-09 Simon Marchi <simon.marchi@efficios.com>
5179
5180 * gdb.base/start-cpp.exp: New file.
5181 * gdb.base/start-cpp.cc: New file.
5182
2b0c8b01
KB
51832019-04-08 Kevin Buettner <kevinb@redhat.com>
5184
5185 * gdb.python/py-thrhandle.exp: Adjust tests to call
5186 thread_from_handle instead of thread_from_thread_handle.
5187
947210e5
KB
51882019-04-08 Kevin Buettner <kevinb@redhat.com>
5189
5190 * gdb.python/py-thrhandle.exp: Add tests for
5191 gdb.InferiorThread.handle.
5192
d7df6549
AB
51932019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5194
5195 * gdb.python/py-function.exp: Check calling helper function from
5196 all languages.
5197 * lib/gdb.exp (gdb_supported_languages): New proc.
5198
8bdc1658
AB
51992019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5200
5201 * gdb.base/complex-parts.c: New file.
5202 * gdb.base/complex-parts.exp: New file.
5203
05caa1d2
TT
52042019-04-01 Tom Tromey <tromey@adacore.com>
5205
5206 PR symtab/23331:
5207 * gdb.dwarf2/dw2-ranges-main.c: New file.
5208 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5209 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5210
7734102d
EZ
52112019-03-30 Simon Marchi <simark@simark.ca>
5212
5213 * gdb.base/default.exp: Add values for $_gdb_major and
5214 $_gdb_minor.
5215
188e1fa9
TT
52162019-03-29 Tom Tromey <tromey@adacore.com>
5217
5218 * gdb.base/help.exp: Tighten apropos regexp.
5219
2880242d
KS
52202019-03-29 Keith Seitz <keiths@redhat.com>
5221
5222 * gdb.fortran/array-bounds.exp: New file.
5223 * gdb.fortran/array-bounds.f90: New file.
5224
077cad8e
PW
52252019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5226
5227 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5228
80047cfc
PW
52292019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5230
5231 * gdb.multi/hello.c (main): Increase alarm timer.
5232
f489207e
SL
52332019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5234
5235 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5236 factor when no hardware watchpoint support.
5237
c92df149
AH
52382019-03-28 Alan Hayward <alan.hayward@arm.com>
5239 Pedro Alves <palves@redhat.com>
5240
5241 * boards/local-board.exp: set sysroot to /.
5242
933aebfa
AH
52432019-03-27 Alan Hayward <alan.hayward@arm.com>
5244
5245 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5246 in child.
5247
9f9aa852
AB
52482019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5249
5250 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5251 field.
5252 (make_container): Initialise new field.
5253 * gdb.python/py-prettyprint.exp: Add new tests.
5254 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5255 <display_hint>: New method.
5256
3714a195
AB
52572019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5258
5259 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5260 gdb_continue_to_breakpoint more throughout this test.
5261 (run_lang_tests) Supply unique test names, and use
5262 gdb_test_no_output.
5263
18c77628
AB
52642019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5265
5266 * gdb.base/finish-pretty.exp: Update expected results.
5267 * gdb.base/pretty-print.c: New file.
5268 * gdb.base/pretty-print.exp: New file.
5269
9a93502f
PA
52702019-03-25 Pedro Alves <palves@redhat.com>
5271
5272 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5273 move comments outside list. Append '-i "" eof' section.
5274
968aa7ae
AH
52752019-03-22 Alan Hayward <alan.hayward@arm.com>
5276
34a7f2a4 5277 PR testsuite/25016
968aa7ae
AH
5278 * README: Add pie options.
5279 * gdb.base/break-interp.exp: Ensure pie is disabled.
5280 * gdb.base/dump.exp: Likewise.
5281 * lib/gdb.exp (gdb_compile): Add pie option.
5282
4c7d57e7
TT
52832019-03-19 Tom Tromey <tromey@adacore.com>
5284
5285 * gdb.mi/mi2-cli-display.c: New file.
5286 * gdb.mi/mi2-cli-display.exp: New file.
5287
bff8c71f
TT
52882019-03-18 Joel Brobecker <brobecker@adacore.com>
5289 Tom Tromey <tromey@adacore.com>
5290
5291 * gdb.ada/ptype_array/pck.adb: New file.
5292 * gdb.ada/ptype_array/pck.ads: New file.
5293 * gdb.ada/ptype_array/foo.adb: New file.
5294 * gdb.ada/ptype_array.exp: New file.
5295
d085f989
TT
52962019-03-14 Tom Tromey <tromey@adacore.com>
5297
5298 * gdb.base/style.exp: Add "set style sources" test.
5299
b4be1b06
SM
53002019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5301
5302 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5303 * mi-breakpoint-multiple-locations.exp: ... this.
5304 (make_breakpoints_pattern): New proc.
5305 (do_test): Add mi_version parameter, test -break-insert,
5306 -break-info and =breakpoint-created.
5307
7cde5fc2
AB
53082019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5309
5310 * config/default.exp: Remove 'load_lib gdb.exp'.
5311 * config/monitor.exp: Likewise.
5312 * config/sid.exp: Likewise.
5313 * config/sim.exp: Likewise.
5314 * config/slite.exp: Likewise.
5315 * config/unix.exp: Likewise.
5316 * gdb.base/default.exp: Remove unhelpful comment.
5317
efbecbc1
AB
53182019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5319
5320 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5321
0841c79a
AB
53222019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5323
5324 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5325
4a270568
AB
53262019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5327
5328 * gdb.fortran/type-kinds.exp: Update expected results.
5329
067630bd
AB
53302019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5331
5332 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5333
3be47f7a
AB
53342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5335
5336 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5337 function.
5338 (test_basic_parsing_of_type_kinds): Expand types tested.
5339 (test_parsing_invalid_type_kinds): New function.
5340
4d00f5d8
AB
53412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5342
5343 * gdb.fortran/intrinsics.exp: New file.
5344 * gdb.fortran/intrinsics.f90: New file.
5345 * gdb.fortran/type-kinds.exp: New file.
5346
c8f91604
AB
53472019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5348
5349 * gdb.fortran/dot-ops.exp: New file.
5350
dd9f2c76
AB
53512019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5352
5353 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5354 Check upper and lower case logical literals.
5355
84ec9724
AB
53562019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5357
5358 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5359 Remove duplicate tests.
5360
c3734e09
AH
53612019-03-06 Alan Hayward <alan.hayward@arm.com>
5362
5363 * lib/gdb.exp (builtin_cd): rename of cd.
5364 (cd): Override builtin.
5365
aa3cfbda
RB
53662019-03-06 Richard Bunt <richard.bunt@arm.com>
5367
5368 * gdb.fortran/function-calls.exp: New file.
5369 * gdb.fortran/function-calls.f90: New test.
5370
7b63ad86
RB
53712019-03-04 Richard Bunt <richard.bunt@arm.com>
5372
5373 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5374 on user program standard output.
5375 * gdb.fortran/short-circuit-argument-list.f90: Record function
5376 calls.
5377
01abb042
AH
53782019-02-28 Alan Hayward <alan.hayward@arm.com>
5379
c3734e09
AH
5380 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5381 failure.
01abb042 5382
92137da0
RO
53832019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5384
5385 PR gdb/8527
5386 * gdb.base/interrupt-daemon-attach.c,
5387 gdb.base/interrupt-daemon-attach.exp: New test.
5388
5862844d
PA
53892019-02-27 Pedro Alves <palves@redhat.com>
5390
5391 * gdb.base/page.exp: Add tests for "set width/height -1".
5392
8ed25214
PA
53932019-02-27 Pedro Alves <palves@redhat.com>
5394
5395 * gdb.base/page.exp: Add tests for "set/show width/height" with
5396 "infinite" values.
5397
6c28e44a
TT
53982019-02-27 Tom Tromey <tromey@adacore.com>
5399
5400 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5401 2.4.
5402 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5403 workaround.
5404
bf9a735e
AB
54052019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5406
5407 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5408 tests for structs with static members.
5409
8791793c
TT
54102019-02-26 Tom Tromey <tromey@adacore.com>
5411
5412 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5413 ValueError, not TypeError.
5414
bc2a507e
KB
54152019-02-26 Kevin Buettner <kevinb@redhat.com>
5416
5417 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5418 call from main program.
5419
e0e7d3bd
JB
54202019-02-23 Joel Brobecker <brobecker@adacore.com>
5421
5422 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5423 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5424 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5425 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5426 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5427
9600246d
KS
54282019-02-22 Keith Seitz <keiths@redhat.com>
5429
5430 PR symtab/23853
5431 * gdb.base/symlink-sourcefile.c: New file.
5432 * gdb.base/symlink-sourcefile.exp: New file.
5433
0c95f9ed
TT
54342019-02-20 Tom Tromey <tom@tromey.com>
5435
5436 * gdb.base/info_qt.exp: Update.
5437
6caa91b6
SM
54382019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5439
5440 * gdb.base/source.exp: Move "error in sourced script" code to
5441 the end.
5442 * gdb.base/source-error.gdb: Move contents to
5443 source-error-1.gdb. Add new code to source source-error-1.gdb.
5444 * gdb.base/source-error-1.gdb: New file, from previous
5445 source-error.gdb.
5446
6506371f
TT
54472019-02-17 Tom Tromey <tom@tromey.com>
5448
5449 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5450 for macro styling.
5451 * gdb.base/style.c (SOME_MACRO): New macro.
5452
a0087920
TT
54532019-02-17 Tom Tromey <tom@tromey.com>
5454
5455 * gdb.base/style.exp: Add line-wrapping tests.
5456 * gdb.base/page.exp: Add test for quitting during pagination.
5457
a2cd4f14
JB
54582019-02-17 Joel Brobecker <brobecker@adacore.com>
5459
5460 * gdb.ada/big_packed_array: New testcase.
5461 * gdb.ada/homonym.exp: Fix incorrect expected output for
5462 "break <homonym__get_value>" test.
5463
9d70ffbc
WP
54642019-02-13 Weimin Pan <weimin.pan@oracle.com>
5465
5466 PR breakpoints/21870
5467 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5468 and prepare_for_testing. Add comment.
5469 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5470 redundant cleanup call. Clean up comment.
5471
01c7ae81
WP
54722019-02-12 Weimin Pan <weimin.pan@oracle.com>
5473
5474 PR breakpoints/21870
5475 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5476 * gdb.arch/aarch64-dbreg-contents.c: New file.
5477
aff29d1c
JB
54782019-02-10 Joel Brobecker <brobecker@adacore.com>
5479
5480 * gdb.ada/mi_ref_changeable: New testcase.
5481
df0da8a2
AH
54822019-02-07 Alan Hayward <alan.hayward@arm.com>
5483
5484 * gdb.base/attach.exp: Add double attach test.
5485
bd447abb
SM
54862019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5487
5488 * lib/gdb.exp (default_gdb_start): Don't match pagination
5489 prompt.
5490 (gdb_init): Set stty_init.
5491
1dbc40b9
TT
54922019-01-27 Tom Tromey <tom@tromey.com>
5493
5494 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5495 skip_python_tests.
5496
353229bf
AH
54972019-01-24 Alan Hayward <alan.hayward@arm.com>
5498
5499 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5500 New structure.
5501 (struct struct_static_02_02): Likewise.
5502 (struct struct_static_02_03): Likewise.
5503 (struct struct_static_02_04): Likewise.
5504 (struct struct_static_04_01): Likewise.
5505 (struct struct_static_04_02): Likewise.
5506 (struct struct_static_04_03): Likewise.
5507 (struct struct_static_04_04): Likewise.
5508 (struct struct_static_06_01): Likewise.
5509 (struct struct_static_06_02): Likewise.
5510 (struct struct_static_06_03): Likewise.
5511 (struct struct_static_06_04): Likewise.
5512 (cmp_struct_static_02_01): Likewise.
5513 (cmp_struct_static_02_02): Likewise.
5514 (cmp_struct_static_02_03): Likewise.
5515 (cmp_struct_static_02_04): Likewise.
5516 (cmp_struct_static_04_01): Likewise.
5517 (cmp_struct_static_04_02): Likewise.
5518 (cmp_struct_static_04_03): Likewise.
5519 (cmp_struct_static_04_04): Likewise.
5520 (cmp_struct_static_06_01): Likewise.
5521 (cmp_struct_static_06_02): Likewise.
5522 (cmp_struct_static_06_03): Likewise.
5523 (cmp_struct_static_06_04): Likewise.
5524 (call_all): Test new structs.
5525 * gdb.base/infcall-nested-structs.exp: Likewise.
5526
73021deb
AH
55272019-01-21 Alan Hayward <alan.hayward@arm.com>
5528 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5529
fc65c7db
AH
55302019-01-21 Alan Hayward <alan.hayward@arm.com>
5531 * gdb.base/stack-protector.c: New test.
5532 * gdb.base/stack-protector.exp: New file.
5533 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5534 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5535 option.
5536 (gdb_compile): Remove stack protector for GCC and prevent
5537 recursion.
5538
c24bdb02
KS
55392019-01-16 Keith Seitz <keiths@redhat.com>
5540
5541 PR gdb/23773
5542 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5543
6f072a10
PFC
55442019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5545
5546 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5547 aliases.
5548 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5549 tests.
5550 * gdb.arch/powerpc-vector-regs.c: New file.
5551 * gdb.arch/powerpc-vector-regs.exp: New file.
5552
a7b8d682
PFC
55532019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5554
5555 * gdb.arch/altivec-regs.exp: Fix the list passed to
5556 gdb_expect_list when testing "info vector".
5557
6eb6fb67
AB
55582019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5559
5560 * gdb.base/style.exp: Don't include path in testname.
5561
b56f80d8
KS
55622019-01-10 Keith Seitz <keiths@redhat.com>
5563
5564 PR gdb/23712
5565 PR symtab/23010
5566 * gdb.dwarf2/multidictionary.exp: New file.
5567
041be526
SM
55682019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5569
5570 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5571 (test_gnuv3_style_demangling): ... this.
5572 (test_lucid_style_demangling): Remove.
5573 (test_arm_style_demangling): Remove.
5574 (test_hp_style_demangling): Remove.
5575 (do_tests): Remove calls to the above.
5576
d820d0c3
AB
55772019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5578
5579 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5580 case.
5581
f097f5ad
TT
55822019-01-06 Tom Tromey <tom@tromey.com>
5583
5584 PR gdb/28155:
5585 * gdb.dwarf2/typedef-void-finish.exp: New file.
5586
2cd8cc0b
TT
55872018-12-28 Tom Tromey <tom@tromey.com>
5588 Simon Marchi <simark@simark.ca>
5589
5590 * gdb.base/jit-exec.exp: New file.
5591 * gdb.base/jit-exec.c: New file.
5592 * gdb.base/jit-execd.c: New file.
5593
35fb8261
TT
55942018-12-28 Tom Tromey <tom@tromey.com>
5595
5596 * gdb.base/style.exp: Update test to check for address styling.
5597
47fd17cd
TT
55982018-12-28 Tom Tromey <tom@tromey.com>
5599
5600 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5601 message.
5602
d47032b7
TT
56032018-12-28 Tom Tromey <tom@tromey.com>
5604
5605 * gdb.base/style.exp: Add test for version number styling.
5606
af79b68d
TT
56072018-12-28 Tom Tromey <tom@tromey.com>
5608
5609 * gdb.base/style.exp: Add test for print_address_symbolic.
5610
0bb296cb
TT
56112018-12-28 Tom Tromey <tom@tromey.com>
5612
5613 * gdb.base/style.exp: Add test for breakpoint setting.
5614
80ae2043
TT
56152018-12-28 Tom Tromey <tom@tromey.com>
5616
5617 * gdb.base/style.exp: Add test for variable names.
5618
cbe56571
TT
56192018-12-28 Tom Tromey <tom@tromey.com>
5620
5621 * gdb.base/style.exp: New file.
5622 * gdb.base/style.c: New file.
5623
9162a27c
TT
56242018-12-28 Tom Tromey <tom@tromey.com>
5625
5626 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5627 "dumb".
5628 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5629 the TERM environment variable.
5630
bc543c90
TT
56312018-12-27 Tom Tromey <tom@tromey.com>
5632
5633 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5634 pagination test.
5635
6f0ffe50
AB
56362018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5637
5638 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5639 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5640
b5a1e557
PW
56412018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5642
5643 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5644 Filename a.adb changed to bp_fun_addr.adb.
5645 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5646
6e8b1ab2
JV
56472018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5648
5649 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5650 non-PIE executables.
5651 * README: Mention the gdb,nopie_flag board setting.
5652 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5653 non-PIE executable.
5654 * gdb.arch/amd64-entry-value.exp: Likewise.
5655 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5656 * gdb.arch/i386-float.exp: Likewise.
5657 * gdb.arch/i386-signal.exp: Likewise.
5658 * gdb.mi/mi-reg-undefined.exp: Likewise.
5659
d00a27c5
PM
56602018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5661
5662 PR gdb/23974
5663 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5664
161d081c
PW
56652018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5666
5667 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5668 Update order of results accordingly.
5669
b001de23
AB
56702018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5671
5672 * gdb.base/annota1.exp: Update a test regexp.
5673
99e1a184
AB
56742018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5675
5676 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5677
7a81c1e2
PW
56782018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5679
5680 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5681 (reuse_time): Initialize to REUSE_TIME_CAP.
5682 (check_rc): New function.
5683 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5684 Check pthread_create rc.
5685 (spawner_thread_func): Check pthread_create and pthread_join rc.
5686
73e8dc90
PA
56872018-12-08 Pedro Alves <palves@redhat.com>
5688
5689 * gdb.base/list.exp (test_forward_search): Rename to ...
5690 (test_forward_reverse_search): ... this. Also test reverse-search
5691 and the forward-search alias.
5692
13f2ed32
AB
56932018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5694
5695 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5696 local timeout variable before return, and remove all local timeout
5697 variable entirely.
5698 (gdb_load): Likewise.
5699
64d27cfc
TV
57002018-12-01 Tom de Vries <tdevries@suse.de>
5701
5702 * gdb.base/gdb-caching-proc.exp: New file.
5703
f63c03b4
SDJ
57042018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5705
5706 * Makefile.in (TIMESTAMP): New variable.
5707 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5708 command.
5709 (check-single-racy): Likewise.
5710 (check/%.exp): Likewise.
5711 (check-racy/%.exp): Likewise.
5712 (workers/%.worker): Likewise.
5713 (build-perf): Likewise.
5714 (check-perf): Likewise.
5715 * README: Describe new "TS" and "TS_FORMAT" variables.
5716 * print-ts.py: New file.
5717
1c97054b
BF
57182018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5719
5720 PR python/23714
5721 * gdb.python/python.exp: Test command repetition after
5722 gdb.execute.
5723
1871a62d
AB
57242018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5725
5726 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5727 is correctly aligned.
5728
fb5e1ed9
PW
57292018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5730
5731 * gdb.ada/info_auto_lang.exp: New testcase.
5732 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5733 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5734 * gdb.ada/info_auto_lang/some_c.c: New file.
5735
43d397ca
PW
57362018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5737
5738 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5739 FUNC_lang language syntax.
5740
beddd671
PW
57412018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5742
5743 * gdb.base/info_minsym.c: New file.
5744 * gdb.base/info_minsym.exp: New file.
5745
73fc52c4
TT
57462018-11-19 Tom Tromey <tom@tromey.com>
5747
5748 PR rust/23625:
5749 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5750 * gdb.rust/expr.exp: Update expected output. Change one test.
5751
994b876a
TT
57522018-11-19 Tom Tromey <tom@tromey.com>
5753
5754 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5755
6769f276
PA
57562018-11-19 Pedro Alves <palves@redhat.com>
5757
5758 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5759 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5760 see the expected warning.
5761
38a72da0
AH
57622018-11-16 Alan Hayward <alan.hayward@arm.com>
5763
5764 PR gdb/22736:
5765 * gdb.cp/infcall-nodebug-lib.c: New test.
5766 * gdb.cp/infcall-nodebug-main.c: New test.
5767 * gdb.cp/infcall-nodebug.exp: New file.
5768
53a89d6e
SM
57692018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5770
5771 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5772 completer tests.
5773
9325300d
TV
57742018-11-09 Tom de Vries <tdevries@suse.de>
5775
5776 * gdb.base/msym-lang.c: New test.
5777 * gdb.base/msym-lang.exp: New file.
5778 * gdb.base/msym-lang-main.c: New test.
5779
20f0d60d
TT
57802018-11-08 Tom Tromey <tom@tromey.com>
5781
5782 PR gdb/23555:
5783 PR gdb/23838:
5784 * gdb.base/warning.exp: New file.
5785
b5420128
JB
57862018-11-08 Jan Beulich <jbeulich@suse.com>
5787
5788 * testsuite/gdb.arch/i386-avx512.c,
5789 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5790
cd115d61
AB
57912018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5792
5793 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5794 point hardware.
5795
35ee2dc2
AB
57962018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5797
5798 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5799 * gdb.dwarf2/missing-type-name.exp: New file.
5800
31aceee8
TV
58012018-11-06 Tom de Vries <tdevries@suse.de>
5802
5803 * gdb.base/many-headers.c: New test.
5804 * gdb.base/many-headers.exp: New file.
5805
109be305
JW
58062018-11-06 Jim Wilson <jimw@sifive.com>
5807
5808 * gdb.base/code_elim.exp: For riscv, set additional_flags
5809 to include -msmall-data-limit=0.
5810
e2b7af72
JB
58112018-11-01 Joel Brobecker <brobecker@adacore.com>
5812
5813 * gdb.ada/watch_minus_l: New testcase.
5814
cdcda965
SM
58152018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5816
5817 * gdb.arch/aix-sighandle.c: New file.
5818 * gdb.arch/aix-sighandle.exp: New file.
5819
92dcebf3
AB
58202018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5821
5822 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5823 registers being unions.
5824
68b9ac18
TV
58252018-10-31 Tom de Vries <tdevries@suse.de>
5826
5827 * lib/valgrind.exp: New file.
5828 (vgdb_start, vgdb_stop): New procs, factored out of ...
5829 * gdb.base/valgrind-bt.exp: ... here, ...
5830 * gdb.base/valgrind-disp-step.exp: ... here and ...
5831 * gdb.base/valgrind-infcall.exp: ... here.
5832
1443936e
TV
58332018-10-31 Tom de Vries <tdevries@suse.de>
5834
5835 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5836
eb77c9df
AB
58372018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5838
5839 * gdb.dwarf2/void-type.c: New file.
5840 * gdb.dwarf2/void-type.exp: New file.
5841
82b5e646
PW
58422018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5843
5844 * gdb.base/info_qt.c: New file.
5845 * gdb.base/info_qt.exp: New file.
5846
8d619c01
EBM
58472018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5848
5849 * gdb.arch/powerpc-htm-regs.c: New file.
5850 * gdb.arch/powerpc-htm-regs.exp: New file.
5851
f2cf6173
EBM
58522018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5853
5854 * gdb.arch/powerpc-tar.c: New file.
5855 * gdb.arch/powerpc-tar.exp: New file.
5856
7ca18ed6
EBM
58572018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5858
5859 * gdb.arch/powerpc-ppr-dscr.c: New file.
5860 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5861
bfcc0eba
TV
58622018-10-25 Tom de Vries <tdevries@suse.de>
5863
5864 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5865
fe1a5cad
TV
58662018-10-24 Tom de Vries <tdevries@suse.de>
5867
5868 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5869 longer exists error.
5870
a76dc3b7
TV
58712018-10-24 Tom de Vries <tdevries@suse.de>
5872
5873 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5874
4df46df7
TV
58752018-10-24 Tom de Vries <tdevries@suse.de>
5876
5877 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5878 --db-attach in valgrind.
5879
0dbfcfff
AB
58802018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5881
5882 * gdb.arch/riscv-reg-aliases.c: New file.
5883 * gdb.arch/riscv-reg-aliases.exp: New file.
5884
b04480b1
AH
58852018-10-19 Alan Hayward <alan.hayward@arm.com>
5886
5887 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5888
2c6ac8d7
AH
58892018-10-19 Alan Hayward <alan.hayward@arm.com>
5890
5891 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5892
2bc69f25
AH
58932018-10-19 Alan Hayward <alan.hayward@arm.com>
5894
5895 * gdb.cp/ovldbreak.exp: Fix regexps.
5896
1f1ae3a3
AH
58972018-10-19 Alan Hayward <alan.hayward@arm.com>
5898
5899 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5900
94c18618
SDJ
59012018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5902
5903 PR cli/23785
5904 * gdb.base/restore.exp: New test to check if "restore" with an
5905 invalid file doesn't segfault.
5906
812cd6eb
TV
59072018-10-18 Tom de Vries <tdevries@suse.de>
5908
5909 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5910 * gdb.ada/excep_handle.exp: Same.
5911 * gdb.ada/mi_string_access.exp: Same.
5912 * gdb.ada/mi_var_union.exp: Same.
5913 * gdb.arch/arc-analyze-prologue.exp: Same.
5914 * gdb.arch/arc-decode-insn.exp: Same.
5915 * gdb.base/readnever.exp: Same.
5916 * gdb.fortran/printing-types.exp: Same.
5917 * gdb.guile/scm-lazy-string.exp: Same.
5918
c4b90788
TV
59192018-10-16 Tom de Vries <tdevries@suse.de>
5920
5921 PR gdb/23730
5922 * gdb.base/catch-follow-exec.c: Add copyright notice.
5923 * gdb.base/catch-follow-exec.exp: Rewrite to use
5924 gdb_spawn_with_cmdline_opts. Require gdb-native.
5925
8bca2978
SL
59262018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5927
5928 * gdb.trace/actions-changed.exp: Check for arch support.
5929 * gdb.trace/actions.exp: Likewise.
5930 * gdb.trace/ax.exp: Likewise.
5931 * gdb.trace/backtrace.exp: Likewise.
5932 * gdb.trace/change-loc.exp: Likewise.
5933 * gdb.trace/deltrace.exp: Likewise.
5934 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5935 * gdb.trace/ftrace.exp: Likewise.
5936 * gdb.trace/infotrace.exp: Check for arch support.
5937 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5938 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5939 * gdb.trace/mi-tsv-changed.exp: Likewise.
5940 * gdb.trace/packetlen.exp: Likewise.
5941 * gdb.trace/passc-dyn.exp: Likewise.
5942 * gdb.trace/passcount.exp: Likewise.
5943 * gdb.trace/pending.exp: Likewise.
5944 * gdb.trace/range-stepping.exp: Check for shlib support.
5945 * gdb.trace/report.exp: Check for arch support.
5946 * gdb.trace/save-trace.exp: Likewise.
5947 * gdb.trace/signal.exp: Check for signal support.
5948 * gdb.trace/tfind.exp: Check for arch support.
5949 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5950 * gdb.trace/trace-common.h: Add comment.
5951 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5952 * gdb.trace/trace-enable-disable.exp: Likewise.
5953 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5954 * gdb.trace/tracecmd.exp: Check for arch support.
5955 * gdb.trace/tspeed.exp: Check for shlib and target support.
5956 * gdb.trace/tstatus.exp: Check for arch support.
5957 * gdb.trace/tsv.exp: Likewise.
5958 * gdb.trace/while-dyn.exp: Likewise.
5959 * gdb.trace/while-stepping.exp: Likewise.
5960 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5961
f9c49bff
SM
59622018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5963
5964 * gdb.trace/tspeed.exp: Remove nowarnings.
5965 (prepare_for_trace_test): Declare "global ipalib".
5966 * gdb.trace/tspeed.c: Include unistd.h.
5967 (main): Remove superfluous printf argument.
5968
d4330bde
SL
59692018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5970
5971 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5972 directory prefix on the filename.
5973
8ecfd7bd
SDJ
59742018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5975
5976 * gdb.gdb/unittest.exp: Update expected message informing that
5977 selftests have been disabled.
5978 * gdb.server/unittest.exp: Likewise.
5979
58bbcd02
TV
59802018-10-09 Tom de Vries <tdevries@suse.de>
5981
5982 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5983 with runto_main.
5984
9f6b697b
WP
59852018-10-08 Weimin Pan <weimin.pan@oracle.com>
5986
5987 PR c++/16841
5988 * gdb.cp/virtbase2.cc: New file.
5989 * gdb.cp/virtbase2.exp: New file.
5990
add5ded5
TT
59912018-10-06 Tom Tromey <tom@tromey.com>
5992
5993 PR python/19399:
5994 * gdb.python/py-inferior.exp: Add architecture test.
5995
f9e48344
TT
59962018-10-06 Tom Tromey <tom@tromey.com>
5997
5998 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5999 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6000
2a8be203
TT
60012018-10-06 Tom Tromey <tom@tromey.com>
6002
6003 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6004 of a "throw" catchpoint.
6005
e04caa70
SDJ
60062018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6007
6008 * gdb.base/info-proc.exp: Update string expected from "help info
6009 proc".
6010
5ca8c39f
TT
60112018-10-04 Tom Tromey <tom@tromey.com>
6012
6013 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6014 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6015 (test_initial_complaints, test_empty_complaints): Update.
6016 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6017
3453e7e4
TT
60182018-10-04 Tom Tromey <tom@tromey.com>
6019
6020 PR cli/19551:
6021 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6022 * lib/gdb.exp (gdb_file_cmd): Update.
6023 * gdb.stabs/weird.exp (print_weird_var): Update.
6024 * gdb.server/solib-list.exp: Update.
6025 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6026 * gdb.mi/mi-cli.exp: Update.
6027 * gdb.linespec/linespec.exp: Update.
6028 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6029 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6030 * gdb.cp/cp-relocate.exp: Update.
6031 * gdb.base/sym-file.exp: Update.
6032 * gdb.base/relocate.exp: Update.
6033 * gdb.base/readnever.exp: Update.
6034 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6035 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6036 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6037 * gdb.base/code_elim.exp: Update.
6038 * gdb.base/break-unload-file.exp (test_break): Update.
6039 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6040 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6041 Update.
6042 * gdb.base/attach.exp (do_attach_tests): Update.
6043 * gdb.base/sepdebug.exp: Update.
6044 * gdb.python/py-section-script.exp: Update.
6045
6afcf761
TT
60462018-10-04 Tom Tromey <tom@tromey.com>
6047
6048 PR cli/22234:
6049 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6050 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6051 output.
6052
fef1b293
TT
60532018-10-04 Tom Tromey <tom@tromey.com>
6054
6055 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6056 set width and height to 0.
6057 (test_command_line_attach_run): Use -quiet.
6058
ca98345e
SL
60592018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6060
6061 * lib/gdb.exp (skip_ifunc_tests): New.
6062 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6063 other compile failures.
6064 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6065
ff34e6ae
SM
60662018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6067
6068 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6069 is_amd64_regs_target.
6070
6bb8890e
AH
60712018-10-01 Alan Hayward <alan.hayward@arm.com>
6072
6073 * gdb.arch/aarch64-sighandler-regs.c: New test.
6074 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6075 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6076
224d30d3
MM
60772018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6078
6079 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6080 assembly.
6081
f67ffa6a
AB
60822018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6083
6084 * gdb.base/frame-selection.exp: New file.
6085 * gdb.base/frame-selection.c: New file.
6086
9fc3183f
AH
60872018-09-27 Alan Hayward <alan.hayward@arm.com>
6088
6089 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6090 pthread barrier.
6091 (main): Likewise.
6092
d354055e
AB
60932018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6094
6095 * gdb.base/large-frame-1.c: New file.
6096 * gdb.base/large-frame-2.c: New file.
6097 * gdb.base/large-frame.exp: New file.
6098 * gdb.base/large-frame.h: New file.
6099
db727370
JL
61002018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6101
6102 PR gdb/20948
6103 * gdb.base/write_mem.exp: New test.
6104 * gdb.base/write_mem.c: Likewise.
6105
ae778caf
TT
61062018-09-23 Tom Tromey <tom@tromey.com>
6107
6108 PR python/18852:
6109 * gdb.python/py-parameter.exp: Add test for parameter that throws
6110 on "set".
6111
fd3ba736
TT
61122018-09-23 Tom Tromey <tom@tromey.com>
6113
6114 PR python/17284:
6115 * gdb.python/py-template.exp (test_template_arg): Add test for
6116 negative template argument number.
6117
39a24317
TT
61182018-09-23 Tom Tromey <tom@tromey.com>
6119
6120 PR python/14062:
6121 * gdb.python/python.exp: Add test for post_event error.
6122
f5769a2c
TT
61232018-09-23 Tom Tromey <tom@tromey.com>
6124
6125 PR python/18170:
6126 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6127 convert pointers to int and long.
6128
1c1e54f6
TT
61292018-09-23 Tom Tromey <tom@tromey.com>
6130
6131 PR python/20126:
6132 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6133 signed-ness conversion tests.
6134
fb4fa946
TT
61352018-09-23 Tom Tromey <tom@tromey.com>
6136
6137 PR python/18352;
6138 * gdb.python/py-value.exp (test_float_conversion): New proc.
6139 Use it.
6140
a466edac
HAQ
61412018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6142
6143 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6144
4ee9b0c5
SL
61452018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6146
6147 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6148 no readline.
6149 * gdb.base/utf8-identifiers.exp: Likewise.
6150 * gdb.cp/cpcompletion.exp: Likewise.
6151 * gdb.linespec/cpcompletion.exp: Likewise.
6152 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6153 * gdb.linespec/cpls-ops.exp: Likewise.
6154
23be8da7
RB
61552018-09-19 Richard Bunt <richard.bunt@arm.com>
6156 Chris January <chris.january@arm.com>
6157
6158 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6159 * gdb.fortran/short-circuit-argument-list.exp: New file.
6160 * gdb.fortran/short-circuit-argument-list.f90: New test.
6161
5031d0ae
SDJ
61622018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6163
6164 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6165 "arch=" keyword when executing "-stack-list-frames".
6166
b4c0d1a4
SDJ
61672018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6168
6169 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6170 "arch=" keyword when executing "-stack-list-frames".
6171
7a6d2b45
SDJ
61722018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6173
6174 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6175 break ada".
6176
8588b356
SM
61772018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6178
6179 PR python/23669
6180 * gdb.python/python.exp: Test gdb.execute("show commands").
6181
65e65158
TT
61822018-09-16 Tom Tromey <tom@tromey.com>
6183
6184 * gdb.base/new-ui.exp (do_execution_tests): Update.
6185 * gdb.base/dbx.exp (test_breakpoints): Update.
6186
bf326452
AH
61872018-09-14 Alan Hayward <alan.hayward@arm.com>
6188
6189 * lib/gdb.exp (gdb_simple_compile): Add proc.
6190 (is_elf_target): Use gdb_simple_compile.
6191 (skip_altivec_tests): Likewise.
6192 (skip_vsx_tests): Likewise.
6193 (skip_tsx_tests): Likewise.
6194 (skip_btrace_tests): Likewise.
6195 (skip_btrace_pt_tests): Likewise.
6196 (gdb_can_simple_compile): Likewise.
6197 (gdb_has_argv0): Likewise.
6198 (gdb_target_symbol_prefix): Likewise.
6199 (target_supports_scheduler_locking): Likewise.
6200
2361b0fb
TT
62012018-09-13 Tom Tromey <tom@tromey.com>
6202
6203 * Makefile.in (TAGS): Recognize proc_with_prefix and
6204 gdb_caching_proc.
6205
0ae1a321
SM
62062018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6207
6208 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6209 method.
6210
a40bf0c2
SM
62112018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6212
6213 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6214 and a few other Inferior properties when the Inferior is no
6215 longer valid.
6216
4a3fe98f
TT
62172018-09-13 Tom Tromey <tom@tromey.com>
6218
6219 PR rust/23650:
6220 * gdb.rust/simple.exp: Add test for enum field access error.
6221
098b2108
TT
62222018-09-13 Tom Tromey <tom@tromey.com>
6223
6224 PR rust/23626:
6225 * gdb.rust/simple.rs (EmptyEnum): New type.
6226 (main): Use it.
6227 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6228
1256af7d
SM
62292018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6230
6231 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6232 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6233 * gdb.python/py-symtab.exp: Update test printing an objfile.
6234
4aa8e6c2
SM
62352018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6236
6237 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6238 object.
6239
c221b2f7
AH
62402018-09-12 Alan Hayward <alan.hayward@arm.com>
6241
6242 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6243 (support_complex_tests): Use gdb_can_simple_compile.
6244 (is_ilp32_target): Likewise.
6245 (is_lp64_target): Likewise.
6246 (is_64_target): Likewise.
6247 (is_amd64_regs_target): Likewise.
6248 (is_aarch32_target): Likewise.
6249 (gdb_int128_helper): Likewise.
6250
6f1107b5
JK
62512018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6252
6253 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6254
1f5d1570
JG
62552018-09-10 Jerome Guitton <guitton@adacore.com>
6256
6257 * gdb.ada/same_component_name: Add test for case of tagged record
6258 with variable-length fields.
6259
cc330e39
XR
62602018-09-10 Xavier Roirand <roirand@adacore.com>
6261
6262 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6263 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6264 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6265 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6266
b9c50e9a
XR
62672018-09-10 Xavier Roirand <roirand@adacore.com>
6268
6269 * gdb.ada/mi_string_access.exp: New testcase.
6270 * gdb.ada/mi_string_access/bar.adb: New file.
6271 * gdb.ada/mi_string_access/pck.adb: New file.
6272 * gdb.ada/mi_string_access/pck.asd: New file.
6273
2963898f
XR
62742018-09-10 Xavier Roirand <roirand@adacore.com>
6275
6276 * gdb.ada/mi_var_union.exp: New testcase.
6277 * gdb.ada/mi_var_union/bar.adb: New file.
6278 * gdb.ada/mi_var_union/pck.adb: New file.
6279 * gdb.ada/mi_var_union/pck.asd: New file.
6280
1aac008f
TT
62812018-09-08 Tom Tromey <tom@tromey.com>
6282
6283 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6284
332cf4c9
TT
62852018-09-08 Tom Tromey <tom@tromey.com>
6286
6287 PR python/16047:
6288 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6289 (register_pretty_printers): Register new printer.
6290 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6291 test.
6292 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6293 (an_int_type3): New global.
6294
424da6cf
JB
62952018-09-08 Joel Brobecker <brobecker@adacore.com>
6296
6297 * gdb.ada/expr_with_funcall: New testcase.
6298
2a62dfa9
JB
62992018-09-08 Joel Brobecker <brobecker@adacore.com>
6300
6301 * gdb.ada/packed_array_assign: New testcase.
6302
96b6697f
AB
63032018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6304
6305 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6306 names, and add test prefixes to make test names unique.
6307
e4a62c65
TV
63082018-09-05 Tom de Vries <tdevries@suse.de>
6309
6310 * gdb.dwarf2/varval.exp: Add test.
6311
dd083ee2
GB
63122018-09-04 Gary Benson <gbenson@redhat.com>
6313
6314 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6315 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6316
aef9346c
TT
63172018-08-31 Tom Tromey <tom@tromey.com>
6318
6319 * gdb.rust/simple.rs: Rename second variable "v".
6320
c67f2e15
AB
63212018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6322
6323 * gdb.base/funcargs.c (use_a): New function.
6324 (recurse): Call use_a.
6325
078a0207
KS
63262018-08-29 Keith Seitz <keiths@redhat.com>
6327
6328 * gdb.compile/compile-cplus-anonymous.cc: New file.
6329 * gdb.compile/compile-cplus-anonymous.exp: New file.
6330 * gdb.compile/compile-cplus-array-decay.cc: New file.
6331 * gdb.compile/compile-cplus-array-decay.exp: New file.
6332 * gdb.compile/compile-cplus-inherit.cc: New file.
6333 * gdb.compile/compile-cplus-inherit.exp: New file.
6334 * gdb.compile/compile-cplus-member.cc: New file.
6335 * gdb.compile/compile-cplus-member.exp: New file.
6336 * gdb.compile/compile-cplus-method.cc: New file.
6337 * gdb.compile/compile-cplus-method.exp: New file.
6338 * gdb.compile/compile-cplus-mod.c: "New" file.
6339 * gdb.compile/compile-cplus-namespace.cc: New file.
6340 * gdb.compile/compile-cplus-namespace.exp: New file.
6341 * gdb.compile/compile-cplus-nested.cc: New file.
6342 * gdb.compile/compile-cplus-nested.exp: New file.
6343 * gdb.compile/compile-cplus-print.c: "New" file.
6344 * gdb.compile/compile-cplus-print.exp: "New" file.
6345 * gdb.compile/compile-cplus-virtual.cc: New file.
6346 * gdb.compile/compile-cplus-virtual.exp: New file.
6347 * gdb.compile/compile-cplus.c: "New" file.
6348 * gdb.compile/compile-cplus.exp: "New" file.
6349 * lib/compile-support.exp: New file.
6350
b0f492b9
GB
63512018-08-16 Gary Benson <gbenson@redhat.com>
6352
6353 PR gdb/13000:
6354 * gdb.base/batch-exit-status.exp: New file.
6355 * gdb.base/batch-exit-status.good-commands: Likewise.
6356 * gdb.base/batch-exit-status.bad-commands: Likewise.
6357
36eb4c5f
AH
63582018-08-29 Alan Hayward <alan.hayward@arm.com>
6359
6360 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6361 (struct struct02): Likewise.
6362 (struct struct03): Likewise.
6363 (struct struct04): Likewise.
6364 (struct struct_01_01): New struct.
6365 (struct struct_01_02): Likewise.
6366 (struct struct_01_03): Likewise.
6367 (struct struct_01_04): Likewise.
6368 (struct struct_02_01): Likewise.
6369 (struct struct_02_02): Likewise.
6370 (struct struct_02_03): Likewise.
6371 (struct struct_02_04): Likewise.
6372 (struct struct_04_01): Likewise.
6373 (struct struct_04_02): Likewise.
6374 (struct struct_04_03): Likewise.
6375 (struct struct_04_04): Likewise.
6376 (struct struct_05_01): Likewise.
6377 (struct struct_05_02): Likewise.
6378 (struct struct_05_03): Likewise.
6379 (struct struct_05_04): Likewise.
6380 (cmp_struct01): Remove function.
6381 (cmp_struct02): Likewise.
6382 (cmp_struct03): Likewise.
6383 (cmp_struct04): Likewise.
6384 (cmp_struct_01_01): Add Function.
6385 (cmp_struct_01_02): Likewise.
6386 (cmp_struct_01_03): Likewise.
6387 (cmp_struct_01_04): Likewise.
6388 (cmp_struct_02_01): Likewise.
6389 (cmp_struct_02_02): Likewise.
6390 (cmp_struct_02_03): Likewise.
6391 (cmp_struct_02_04): Likewise.
6392 (cmp_struct_04_01): Likewise.
6393 (cmp_struct_04_02): Likewise.
6394 (cmp_struct_04_03): Likewise.
6395 (cmp_struct_04_04): Likewise.
6396 (cmp_struct_05_01): Likewise.
6397 (cmp_struct_05_02): Likewise.
6398 (cmp_struct_05_03): Likewise.
6399 (cmp_struct_05_04): Likewise.
6400 (call_all): Add new structs.
6401 * gdb.base/infcall-nested-structs.exp: Likewise.
6402
3bf9c013
JV
64032018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6404
6405 * gdb.python/py-framefilter-mi.exp: Update regexp to
6406 check for "arch" field in frame output.
6407
450d1e88
KB
64082018-08-23 Kevin Buettner <kevinb@redhat.com>
6409
6410 * gdb.dwarf2/dw2-ranges-func.c: New file.
6411 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6412
ae739fe7
SM
64132018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6414
6415 * gdb.base/term.exp: Compare terminal settings with values from
6416 the inferior.
6417 * gdb.base/term.c: Get and set terminal settings.
6418
6d52907e
JV
64192018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6420
6421 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6422 accommodate new "arch" field in frame output.
6423 * gdb.mi/mi-return.exp: Likewise.
6424 * gdb.mi/mi-stack.exp: Likewise.
6425 * gdb.mi/mi-syn-frame.exp: Likewise.
6426 * gdb.mi/user-selected-context-sync.exp: Likewise.
6427
be2d111a
MS
64282018-08-19 Michael Spang <spang@google.com>
6429
6430 PR gdb/11786
6431 * gdb.base/gcore-tls-pie.c: New file.
6432 * gdb.base/gcore-tls-pie.exp: New file.
6433
ae3a7c47
KB
64342018-08-18 Kevin Buettner <kevinb@redhat.com>
6435
6436 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
6437 * gdb.dwarf2/varval.c: New file.
6438 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 6439
2ecae92e
AH
64402018-08-17 Alan Hayward <alan.hayward@arm.com>
6441
6442 PR gdb/18931
6443 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6444
c1854f1d
KS
64452018-08-16 Keith Seitz <keiths@redhat.com>
6446
6447 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6448 tests expected to pass.
6449
26fb3983
JV
64502018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6451
6452 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6453 -data-disassemble -a.
6454 (test_disassembly_bogus_args): Likewise.
6455
67943c00
AB
64562018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6457
6458 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6459
5ff2bbae
AB
64602018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6461
6462 * gdb.base/vla-optimized-out.exp: Add new test.
6463
e5bbcd0f
AB
64642018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6465
6466 * gdb.base/vla-optimized-out-o3.exp: Delete.
6467 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6468 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6469 deleted tests.
6470
9d4a934c
AB
64712018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6472
6473 PR gdb/18050:
6474 * gdb.server/extended-remote-restart.c: New file.
6475 * gdb.server/extended-remote-restart.exp: New file.
6476
045cf012
SM
64772018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6478
6479 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6480 "set variable index = 42".
6481
87d6a7aa
SM
64822018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6483
6484 * boards/index-cache-gdb.exp: New file.
6485 * gdb.dwarf2/index-cache.exp: New file.
6486 * gdb.dwarf2/index-cache.c: New file.
6487 * gdb.base/maint.exp: Check if we are using the index cache.
6488
96d68bd4
RO
64892018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6490
6491 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6492 MAKEFLAGS.
6493
5a699617
RO
64942018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6495
6496 * dg-extract-results.sh: Move to toplevel contrib.
6497 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6498 * Makefile.in (check-parallel-racy): Likewise.
6499
5bd18990
AB
65002018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6501
6502 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6503 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6504 tests if the target supports scheduler locking.
6505
3fbbcf47
TV
65062018-08-04 Tom de Vries <tdevries@suse.de>
6507
6508 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6509
3e1d3d8c
TT
65102018-08-02 Tom Tromey <tom@tromey.com>
6511
6512 PR symtab/16842.
6513 * gdb.cp/temargs.exp: Test "info address" of a template
6514 parameter.
6515
5abe0f0c
JV
65162018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6517
6518 * gdb.python/py-mi-var-info-path-expression.c: New file.
6519 * gdb.python/py-mi-var-info-path-expression.py: New file.
6520 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6521
fb66cde8
SDJ
65222018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6523
6524 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6525 error after "cannot resolve name" string.
6526
c708f4d2
AB
65272018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6528
6529 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6530 started.
6531 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6532
37cc0cae
TV
65332018-07-28 Tom de Vries <tdevries@suse.de>
6534
6535 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6536
63b4ecf7
TV
65372018-07-26 Tom de Vries <tdevries@suse.de>
6538
6539 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6540
3c3bb058
AB
65412018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6542
6543 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6544 is visible.
6545
9e7f3bbb
TV
65462018-07-26 Tom de Vries <tdevries@suse.de>
6547
6548 PR breakpoints/23366
6549 * gdb.base/catch-follow-exec.c: New test.
6550 * gdb.base/catch-follow-exec.exp: New file.
6551
16f808ec
TV
65522018-07-25 Tom de Vries <tdevries@suse.de>
6553
6554 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6555 vla-optimized-out.c.
6556
d7154a8d
JV
65572018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6558
6559 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6560 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6561
232a0032
TV
65622018-07-20 Tom de Vries <tdevries@suse.de>
6563
6564 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6565 NOCLONE macro.
6566 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6567
fbb1d502
TV
65682018-07-19 Tom de Vries <tdevries@suse.de>
6569
6570 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6571 regular expression.
6572
42dc7699
TV
65732018-07-18 Tom de Vries <tdevries@suse.de>
6574
6575 * gdb.base/vla-optimized-out.c: New test.
6576 * gdb.base/vla-optimized-out.exp: New file.
6577
7f1f7e23
SDJ
65782018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6579
6580 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6581 message "No address associated with hostname" when gdbserver
6582 cannot resolve the hostname.
6583
5759ebb3
PW
65842018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6585
6586 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6587 Add some test prefixes to make tests unique.
6588
3606ccab
PW
65892018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6590
6591 * gdb.base/frameapply.c: New file.
6592 * gdb.base/frameapply.exp: New file.
6593
529c08b2
PW
65942018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6595
6596 * gdb.base/skip.exp: Update expected error message.
6597
c7ab0aef
SDJ
65982018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6599 Jan Kratochvil <jan.kratochvil@redhat.com>
6600 Paul Fertser <fercerpav@gmail.com>
6601 Tsutomu Seki <sekiriki@gmail.com>
6602
6603 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6604 parameter.
6605 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6606 by default.
6607 * boards/native-gdbserver.exp: Likewise.
6608 * gdb.server/run-without-local-binary.exp: Improve regexp used
6609 for detecting when a remote debugging connection succeeds.
6610 * gdb.server/server-connect.exp: New file.
6611 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6612 Do not prefix the port number with ":".
6613 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6614 support for detecting and using it. Add '$debughost_gdbserver'
6615 to the list of arguments used to start gdbserver. Handle case
6616 when gdbserver cannot resolve a network name.
6617
16ff70dd
SDJ
66182018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6619
6620 PR c++/23373
6621 * gdb.base/ptype-offsets.cc (struct static_member): New
6622 struct.
6623 (main) <stmember>: New variable.
6624 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6625 with a static member in it.
6626
3541979f
AB
66272018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6628
6629 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6630 watchpoints enabled and disabled.
6631
c8ad9b9a
AB
66322018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6633
6634 * gdb.base/examine-backward.exp: Still run tests around address
6635 0x0, even if address 0x0 is not readable. Update the pattern for
6636 matching address 0x0 in expected output.
6637
e0e5e971
AB
66382018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6639
6640 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6641 malloc/free.
6642
1ea5da02
TV
66432018-07-04 Tom de Vries <tdevries@suse.de>
6644
6645 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6646
471b9d15
MR
66472018-07-02 Maciej W. Rozycki <macro@mips.com>
6648
6649 PR tdep/8282
6650 * gdb.arch/mips-disassembler-options.exp: New test.
6651 * gdb.arch/mips-disassembler-options.s: New test source.
6652
75acb486
PA
66532018-06-29 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.threads/names.exp: Adjust expected "info threads" output.
6656
cd2bb709
PA
66572018-06-29 Pedro Alves <palves@redhat.com>
6658
6659 * gdb.opt/inline-break.exp (line number, address): Add "info
6660 break" tests.
6661
991ff292
PA
66622018-06-29 Pedro Alves <palves@redhat.com>
6663
6664 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6665 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6666 number and address and running to them.
6667
356819b6 66682018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
6669
6670 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6671
2512d7ef
JK
66722018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6673
6674 * lib/compiler.c: Remove executable permission flag.
6675
be1b6474
RB
66762018-06-28 Richard Bunt <richard.bunt@arm.com>
6677
6678 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6679 code.
6680 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6681
291f9a96
PT
66822018-06-28 Petr Tesarik <ptesarik@suse.cz>
6683
6684 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6685
ed6dfe51
PT
66862018-06-28 Petr Tesarik <ptesarik@suse.cz>
6687
6688 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6689 address argument is omitted.
6690
d4d429d5
PT
66912018-06-28 Petr Tesarik <ptesarik@suse.cz>
6692
6693 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6694
7ab6656f
OJ
66952018-06-27 Omair Javaid <omair.javaid@linaro.org>
6696
6697 PR gdb/21695
6698 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6699 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6700
a33ccfc7
TT
67012018-06-26 Tom Tromey <tom@tromey.com>
6702
6703 PR rust/22574:
6704 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6705 * gdb.rust/simple.rs (struct SimpleLayout): New.
6706
6d72d289
SM
67072018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6708
6709 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6710 "info registers" output.
6711
8363f9d5
RB
67122018-06-21 Richard Bunt <richard.bunt@arm.com>
6713
6714 * gdb.base/watchpoint-hw-attach.c: New test.
6715 * gdb.base/watchpoint-hw-attach.exp: New file.
6716
f00674fe
SM
67172018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6718
6719 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6720 through /bin/sh.
6721 * boards/dwarf4-gdb-index.exp: Likewise.
6722 * boards/fission-dwp.exp: Likewise.
6723
1d554008
UW
67242018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6725
6726 * gdb.base/float128.exp: Add comment and improved fail message
6727 to the failure case of "print large128" test.
6728
d0ac1c44
SM
67292018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6730
6731 * configure.ac: Remove AC_PREREQ.
6732 * configure: Re-generate.
6733
61b04dd0
PA
67342018-06-19 Pedro Alves <palves@redhat.com>
6735
6736 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6737 (func_extern_caller): New.
6738 (main): Call func_extern_caller.
6739 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6740 logic change.
6741
f63b508a
SM
67422018-06-18 Weimin Pan <weimin.pan@oracle.com>
6743
6744 PR gdb/16841
6745 * gdb.cp/typedef-base.cc: New file.
6746 * gdb.cp/typedef-base.exp: New file.
6747
0fe3a558
TV
67482018-06-18 Tom de Vries <tdevries@suse.de>
6749
6750 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6751
7010835a
AB
67522018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6753 Richard Bunt <Richard.Bunt@arm.com>
6754
6755 * gdb.threads/attach-slow-waitpid.c: New file.
6756 * gdb.threads/attach-slow-waitpid.exp: New file.
6757 * gdb.threads/slow-waitpid.c: New file.
6758
14897d65
PA
67592018-06-14 Pedro Alves <palves@redhat.com>
6760
6761 * gdb.base/fork-running-state.c: Include <errno.h>.
6762 (exit_if_relative_exits): New.
6763 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6764 exits.
6765 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6766 child exits.
6767
5d9a0608
TV
67682018-06-14 Tom de Vries <tdevries@suse.de>
6769
6770 PR cli/22573
6771 * gdb.base/finish-pretty.c: New test.
6772 * gdb.base/finish-pretty.exp: New file.
6773
11ae5818
PA
67742018-06-14 Pedro Alves <palves@redhat.com>
6775
6776 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6777 gdb's expected startup output.
6778
1d39de44
PA
67792018-06-14 Pedro Alves <palves@redhat.com>
6780
6781 * lib/selftest-support.exp (selftest_setup): Remove inlined
6782 function handling.
6783
70ee0000
TV
67842018-06-14 Tom de Vries <tdevries@suse.de>
6785
6786 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6787 matching of breakpoint printing.
6788
11f4b608
TV
67892018-06-13 Tom de Vries <tdevries@suse.de>
6790
6791 PR testsuite/23269
6792 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6793 (fork_child): ... here, and ...
6794 (fork_parent): ... here.
6795
67962018-06-12 Tom de Vries <tdevries@suse.de>
6797
6798 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6799
9516f85a
AB
68002018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6801 Stephen Roberts <stephen.roberts@arm.com>
6802
6803 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6804 rewrite test to describe action performed, rather than possible
6805 failure.
6806
5045b3d7
GB
68072018-06-08 Gary Benson <gbenson@redhat.com>
6808
6809 * gdb.threads/check-libthread-db.exp: New file.
6810 * gdb.threads/check-libthread-db.c: Likewise.
6811
c61b06a1
TT
68122018-06-05 Tom Tromey <tom@tromey.com>
6813
6814 * gdb.base/default.exp: Update expected "show version" output.
6815
eb6af809
TT
68162018-06-05 Tom Tromey <tom@tromey.com>
6817
6818 PR cli/12326:
6819 * gdb.cp/static-print-quit.exp: Update.
6820 * lib/gdb.exp (pagination_prompt): Update.
6821 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6822 * gdb.python/python.exp: Update.
6823
178d6a63
JB
68242018-06-04 Joel Brobecker <brobecker@adacore.com>
6825
6826 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6827
8e817061
JB
68282018-06-01 Joel Brobecker <brobecker@adacore.com>
6829
6830 * gdb.ada/bp_fun_addr: New testcase.
6831
e86ca25f
TT
68322018-06-01 Tom Tromey <tom@tromey.com>
6833
6834 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6835 results.
6836 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6837 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6838 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6839 * gdb.base/maint.exp (maint_pass_if): Update.
6840
4b2dfa9d
MR
68412018-05-31 Maciej W. Rozycki <macro@mips.com>
6842
6843 * gdb.base/endian.exp: New test.
6844 * gdb.base/endian.c: New test source.
6845
45f25d6c
AB
68462018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6847
6848 PR gdb/23203
6849 * gdb.base/bt-selected-frame.c: New file.
6850 * gdb.base/bt-selected-frame.exp: New file.
6851 * lib/gdb.exp (get_current_frame_number): New function.
6852
d9f6d7f8
MR
68532018-05-24 Maciej W. Rozycki <macro@mips.com>
6854 Pedro Alves <palves@redhat.com>
6855
6856 * gdb.threads/tls-core.c: Include <stdlib.h>
6857 (thread_proc): Call `abort'.
6858 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6859 (tls_core_test): New procedure, bits factored out from ...
6860 (top level): ... here. Test both native cores and gcore cores.
6861
ff1cf532
TT
68622018-05-23 Tom Tromey <tom@tromey.com>
6863
6864 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6865
b98664d3
TT
68662018-05-23 Tom Tromey <tom@tromey.com>
6867
6868 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6869 symfile_complaints.
6870 (test_short_complaints): Likewise.
6871 (test_empty_complaints): Likewise.
6872 (test_initial_complaints): Update.
6873
4e9668d0
TT
68742018-05-23 Tom Tromey <tom@tromey.com>
6875
6876 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6877
43ba33c7
TT
68782018-05-23 Tom Tromey <tom@tromey.com>
6879
6880 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6881 (test_short_complaints): Update.
6882
035522c0
PA
68832018-05-22 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.base/remote.exp: Only gdb_start after compiling the
6886 testcase. Issue "disconnect" before testing "set remote" command
6887 defaults. Issue clean_restart before running to main.
6888
cc0be08f
PA
68892018-05-22 Pedro Alves <palves@redhat.com>
6890
6891 * gdb.base/remote.exp: Adjust expected output of "show remote
6892 memory-write-packet-size". Add tests for "set remote
6893 memory-write-packet-size 0" and "set remote
6894 memory-write-packet-size fixed/limit".
6895
b1b60145
PA
68962018-05-22 Pedro Alves <palves@redhat.com>
6897
6898 PR gdb/22973
6899 * gdb.base/utf8-identifiers.c: New file.
6900 * gdb.base/utf8-identifiers.exp: New file.
6901
0ec848ad
PFC
69022018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6903
6904 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6905
2c3305f6
PFC
69062018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6907
6908 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6909
ce1e8424
TT
69102018-05-18 Tom Tromey <tom@tromey.com>
6911
6912 * gdb.base/ptype-offsets.exp: Update.
6913
ddfe970e
KS
69142018-05-17 Keith Seitz <keiths@redhat.com>
6915
6916 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6917 in expected breakpoint stop locations.
6918 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6919 move to proper scope to test variable values.
6920 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6921 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6922 New functions.
6923 (main): Call not_inline_func3.
6924 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6925 inline_func1, inline_func2, and inline_func3. Test that when each
6926 breakpoint is hit, GDB properly reports both the stop location
6927 and the backtrace. Repeat tests for temporary breakpoints.
6928
0726fcc6
MR
69292018-05-15 Maciej W. Rozycki <macro@mips.com>
6930
6931 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6932 rather then trying to access it in determining whether the PID
6933 of `gdbserver' could have been retrieved.
6934
8ee22052
AB
69352018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6936
6937 * gdb.arch/amd64-init-x87-values.S: New file.
6938 * gdb.arch/amd64-init-x87-values.exp: New file.
6939
7785df48
JK
69402018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6941
6942 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6943
56bcdbea
TT
69442018-05-04 Tom Tromey <tom@tromey.com>
6945
6946 PR python/22730:
6947 * gdb.python/python.exp: Test multi-line execute.
6948
a913fffb
TT
69492018-05-04 Tom Tromey <tom@tromey.com>
6950
6951 PR python/22731:
6952 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6953
7a2c85f2
TT
69542018-05-04 Tom Tromey <tom@tromey.com>
6955
6956 PR gdb/11750:
6957 * gdb.base/define.exp: Test defining a user command inside a user
6958 command.
6959 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6960
a3b60e45
JK
69612018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6962 Pedro Alves <palves@redhat.com>
6963
6964 PR breakpoints/19806 and support for PR external/20207.
6965 * gdb.base/watchpoint-unaligned.c: New file.
6966 * gdb.base/watchpoint-unaligned.exp: New file.
6967
45fe4a03
AB
69682018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6969
6970 * gdb.base/maint.exp: Make test names unique, use
6971 test_prefix_command_help to test 'help maint info', and remove
6972 repeated test of 'help maint'.
6973
9be2ae8f
TT
69742018-05-04 Tom Tromey <tom@tromey.com>
6975
6976 PR gdb/22619:
6977 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6978 behavior.
6979
11859c31
AB
69802018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6981
6982 * gdb.base/maint.exp: Process output from 'maint print registers'
6983 line at a time.
6984
089a9490
AB
69852018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6986
6987 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6988 timeout.
6989
9b0797e2
AB
69902018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6991
6992 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6993 filter pattern.
6994
f6ac5f3d
PA
69952018-05-02 Pedro Alves <palves@redhat.com>
6996
6997 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6998 to_log_command renames.
6999 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7000
77d3c63b
TT
70012018-05-02 Tom Tromey <tom@tromey.com>
7002
7003 * gdb.python/py-parameter.exp: Set test message.
7004
0489430a
TT
70052018-05-02 Tom Tromey <tom@tromey.com>
7006
7007 PR python/20084:
7008 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7009 PARAM_ZUINTEGER_UNLIMITED tests.
7010
1632f8ba
DR
70112018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7012
7013 PR rust/23124
7014 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7015 when casting.
7016
6d7bb824
TT
70172018-04-30 Tom Tromey <tom@tromey.com>
7018
7019 * gdb.python/py-type.exp: Check align attribute.
7020 * gdb.python/py-type.c: New "aligncheck" global.
7021
007e1530
TT
70222018-04-30 Tom Tromey <tom@tromey.com>
7023
7024 PR exp/17095:
7025 * gdb.dwarf2/dw2-align.exp: New file.
7026 * gdb.cp/align.exp: New file.
7027 * gdb.base/align.exp: New file.
7028 * lib/gdb.exp (gdb_int128_helper): New proc.
7029 (has_int128_c, has_int128_cxx): New caching procs.
7030
6873858b
TT
70312018-04-27 Tom Tromey <tom@tromey.com>
7032
7033 PR rust/22545:
7034 * gdb.rust/simple.exp: Add inclusive range tests.
7035
79188d8d
PA
70362018-04-26 Pedro Alves <palves@redhat.com>
7037
7038 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7039 ifunc breakpoint locations correctly of ifunc breakpoints set
7040 while the program resolves the ifunc.
7041
c7075ad5
PA
70422018-04-26 Pedro Alves <palves@redhat.com>
7043
7044 * gdb.base/gnu-ifunc-final.c: New file.
7045 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7046 * gdb.base/gnu-ifunc.exp (executable): Delete.
7047 (staticexecutable): Adjust.
7048 (lib_opts, exec_opts): Delete.
7049 (make_binsuffix, build, set-break): New procedures.
7050 (misc_tests): New, with tests factored out from the top level.
7051 (top level): Test different combinations of ifunc resolver name,
7052 resolver with and with debug info, and ifunc target with and
7053 without debug info. Wrap static tests with with_target_prefix.
7054
8388016d
PA
70552018-04-26 Pedro Alves <palves@redhat.com>
7056
7057 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7058 return type" warnings.
7059
249b5733
PA
70602018-04-25 Pedro Alves <palves@redhat.com>
7061
7062 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7063 killed".
7064 * gdb.base/kill-after-signal.exp: Likewise.
7065 * gdb.threads/kill.exp: Likewise.
7066
f67c0c91
SDJ
70672018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7068 Sergio Durigan Junior <sergiodj@redhat.com>
7069 Pedro Alves <palves@redhat.com>
7070
7071 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7072 regexps to expect for '[Inferior ... detached]' as well.
7073 * gdb.base/attach.exp: Likewise.
7074 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7075 "gdb_continue_to_end".
7076 (test_catch_syscall_with_wrong_args): Likewise.
7077 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7078 ']'. Don't set 'verbose' on.
7079 * gdb.base/foll-vfork.exp: Likewise.
7080 * gdb.base/fork-print-inferior-events.c: New file.
7081 * gdb.base/fork-print-inferior-events.exp: New file.
7082 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7083 '[Inferior ... has been killed]' message.
7084 * gdb.base/kill-after-signal.exp: Likewise.
7085 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7086 detach message.
7087 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7088 message.
7089 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7090 regexps to expect for '[Inferior ... detached]' as well.
7091 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7092
0a8ddac4
SM
70932018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7094
7095 PR gdb/23104
7096 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7097
701adfb0
PA
70982018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7099
7100 PR gdb/23095
7101 * gdb.base/break-probes.exp: Pass shlib_load to
7102 prepare_for_testing. Set normal_bp to r_debug_state if target is
7103 bsd.
7104
d27d16bf
RB
71052018-04-19 Richard Bunt <richard.bunt@arm.com>
7106
7107 * gdb.threads/multiple-successive-infcall.c: New test.
7108 * gdb.threads/multiple-successive-infcall.exp: New file.
7109
a037790e
TT
71102018-04-17 Tom Tromey <tom@tromey.com>
7111
7112 * gdb.rust/simple.rs (Union): New type.
7113 (main): New local "u".
7114 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7115
e3a91079
AA
71162018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7117
7118 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7119 number information in output of "whereis" command.
7120 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7121
b744723f
AA
71222018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7123
7124 * gdb.ada/info_types.exp: Adjust expected output to the line
7125 numbers now printed by "info var/func/type".
7126 * gdb.base/completion.exp: Likewise.
7127 * gdb.base/included.exp: Likewise.
7128 * gdb.cp/cp-relocate.exp: Likewise.
7129 * gdb.cp/cplusfuncs.exp: Likewise.
7130 * gdb.cp/namespace.exp: Likewise.
7131 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7132
4a4495d6
MM
71332018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7134
7135 * gdb.btrace/cpu.exp: New.
7136
1d509aa6
MM
71372018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7138
7139 * gdb.base/step-indirect-call-thunk.exp: New.
7140 * gdb.base/step-indirect-call-thunk.c: New.
7141 * gdb.reverse/step-indirect-call-thunk.exp: New.
7142 * gdb.reverse/step-indirect-call-thunk.c: New.
7143
6295b6da
SM
71442018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7145
7146 * gdb.base/pie-fork.c: New file.
7147 * gdb.base/pie-fork.exp: New file.
7148
50146e70
TT
71492018-04-11 Tom Tromey <tom@tromey.com>
7150
7151 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7152
f50d8a2e
PA
71532018-04-10 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7156 exits. Instead loop running forever.
7157 (fork_parent): Run forever too.
7158
a0be7a36
SM
71592018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7160
7161 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7162 mi_continue_to_line.
7163 * gdb.mi/mi-stack.c (callee4): Add comment.
7164
9b73db36
SM
71652018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7166
7167 * gdb.mi/mi-stack.exp: Fix indentation.
7168
c912f608
SM
71692018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7170
7171 PR gdb/22979
7172 * gdb.arch/amd64-osabi.exp: New file.
7173
26540402
SM
71742018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7175
7176 PR gdb/22980
7177 * gdb.base/osabi.exp: New file.
7178
121ad66c 71792018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7180
7181 * gdb.cp/static-typedef-print.exp: New file.
7182 * gdb.cp/static-typedef-print.cc: New file.
7183
3fcded8f
JB
71842018-03-27 Joel Brobecker <brobecker@adacore.com>
7185
7186 * gdb.ada/varsize_limit: New testcase.
7187
59cc4834
JB
71882018-03-27 Joel Brobecker <brobecker@adacore.com>
7189
7190 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7191
7192 * gdb.ada/notcplusplus: New testcase.
7193
7194 * gdb.base/c-linkage-name.c: New file.
7195 * gdb.base/c-linkage-name.exp: New testcase.
7196
4ca59a9f
TT
71972018-03-26 Tom Tromey <tom@tromey.com>
7198
7199 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7200 * gdb.python/py-framefilter.py (name_error): New global.
7201 (ErrorInName.function): Use name_error.
7202
978d6c75
TT
72032018-03-26 Tom Tromey <tom@tromey.com>
7204
7205 PR backtrace/15582:
7206 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7207
b7fee5a3
KS
72082018-03-23 Keith Seitz <keiths@redhat.com>
7209
7210 PR c++/22968
7211 * gdb.cp/subtypes.exp: New file.
7212 * gdb.cp/subtypes.h: New file.
7213 * gdb.cp/subtypes.cc: New file.
7214 * gdb.cp/subtypes-2.cc: New file.
7215
376be529
AB
72162018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7217
7218 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7219 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7220 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7221 -nostartfiles when compiling the test. Confirm that all registers
7222 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7223
066cfa98
AB
72242018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7225
7226 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7227 option, syntax was wrong anyway.
7228 * gdb.arch/arm-disp-step.exp: Likewise.
7229 * gdb.arch/sparc64-regs.exp: Likewise.
7230 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7231 option, syntax was wrong anyway, switch to use
7232 prepare_for_testing.
7233 * gdb.arch/i386-disp-step.exp: Likewise.
7234
079670b9
AA
72352018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7236
7237 * gdb.ada/exec_changed.exp: Replace "target_info exists
7238 use_gdb_stub" by "use_gdb_stub".
7239 * gdb.ada/start.exp: Likewise.
7240 * gdb.base/async-shell.exp: Likewise.
7241 * gdb.base/attach-pie-misread.exp: Likewise.
7242 * gdb.base/attach-wait-input.exp: Likewise.
7243 * gdb.base/break-entry.exp: Likewise.
7244 * gdb.base/break-interp.exp: Likewise.
7245 * gdb.base/dprintf-detach.exp: Likewise.
7246 * gdb.base/nostdlib.exp: Likewise.
7247 * gdb.base/solib-nodir.exp: Likewise.
7248 * gdb.base/statistics.exp: Likewise.
7249 * gdb.base/testenv.exp: Likewise.
7250 * gdb.mi/mi-exec-run.exp: Likewise.
7251 * gdb.mi/mi-start.exp: Likewise.
7252 * gdb.multi/dummy-frame-restore.exp: Likewise.
7253 * gdb.multi/multi-arch-exec.exp: Likewise.
7254 * gdb.multi/multi-arch.exp: Likewise.
7255 * gdb.multi/tids.exp: Likewise.
7256 * gdb.multi/watchpoint-multi.exp: Likewise.
7257 * gdb.python/py-events.exp: Likewise.
7258 * gdb.threads/attach-into-signal.exp: Likewise.
7259 * gdb.threads/attach-stopped.exp: Likewise.
7260 * gdb.threads/threadapply.exp: Likewise.
7261 * lib/selftest-support.exp: Likewise.
7262
26d6cec4
AA
72632018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7264
7265 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7266
4ee89e90
SR
72672018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7268
7269 * gdb.perf/template-breakpoints.cc: New file.
7270 * gdb.perf/template-breakpoints.exp: New file.
7271 * gdb.perf/template-breakpoints.py: New file.
7272
92630041
TT
72732018-03-19 Tom Tromey <tom@tromey.com>
7274
7275 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7276 y0.
7277 * gdb.rust/simple.exp: Test bare identifier form of struct
7278 initializer.
7279
76727919
TT
72802018-03-19 Tom Tromey <tom@tromey.com>
7281
7282 * gdb.gdb/observer.exp: Remove.
7283
194ed413
AA
72842018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7285
7286 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7287 "qualified" option when setting breakpoints.
7288 * gdb.trace/backtrace.exp: Likewise.
7289 * gdb.trace/circ.exp: Likewise.
7290 * gdb.trace/collection.exp: Likewise.
7291 * gdb.trace/disconnected-tracing.exp: Likewise.
7292 * gdb.trace/ftrace-lock.exp: Likewise.
7293 * gdb.trace/ftrace.exp: Likewise.
7294 * gdb.trace/infotrace.exp: Likewise.
7295 * gdb.trace/packetlen.exp: Likewise.
7296 * gdb.trace/passc-dyn.exp: Likewise.
7297 * gdb.trace/qtro.exp: Likewise.
7298 * gdb.trace/read-memory.exp: Likewise.
7299 * gdb.trace/report.exp: Likewise.
7300 * gdb.trace/signal.exp: Likewise.
7301 * gdb.trace/status-stop.exp: Likewise.
7302 * gdb.trace/strace.exp: Likewise.
7303 * gdb.trace/tfind.exp: Likewise.
7304 * gdb.trace/trace-break.exp: Likewise.
7305 * gdb.trace/trace-condition.exp: Likewise.
7306 * gdb.trace/trace-mt.exp: Likewise.
7307 * gdb.trace/tstatus.exp: Likewise.
7308 * gdb.trace/tsv.exp: Likewise.
7309 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7310 * gdb.trace/unavailable.exp: Likewise.
7311 * gdb.trace/while-dyn.exp: Likewise.
7312
8b067d2c
AA
73132018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7314
7315 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7316 that libinproctrace is copied to the target.
7317
3ae9ce5d
TT
73182018-03-14 Tom Tromey <tom@tromey.com>
7319
7320 PR cli/14977:
7321 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7322 a null pointer.
7323 * gdb.base/wchar.exp: Likewise.
7324
b8c2339b
TT
73252018-03-14 Tom Tromey <tom@tromey.com>
7326
7327 PR cli/19918:
7328 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7329 flag.
7330
4872dc46
SM
73312018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7332
7333 PR gdb/22841
7334 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7335 "target" to remote_exec.
7336
e4fe3756
SM
73372018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7338
7339 PR gdb/22841
7340 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7341 ${board}_upload): Remove.
7342
e95a97d4
AA
73432018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7344
7345 * gdb.cp/watch-cp.cc: New test.
7346 * gdb.cp/watch-cp.exp: New file.
7347
dbbb1059
AB
73482018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7349
7350 * gdb.base/infcall-nested-structs.exp: New file.
7351 * gdb.base/infcall-nested-structs.c: New file.
7352 * gdb.base/float.exp: Add riscv support.
7353
ecc054c0
TP
73542018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7355
7356 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7357 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7358
25e3c82c
SDJ
73592018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7360
7361 * gdb.server/abspath.exp: New file.
7362 * lib/gdb.exp (with_cwd): New procedure.
7363
3083294d
SM
73642018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7365
7366 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7367 use it.
7368 (gdb_is_target_remote_prompt): New proc.
7369 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7370 (gdb_is_target_native): Pass prompt parameter to
7371 gdb_is_target_1.
7372
3275ef47
SM
73732018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7374
7375 * gdb.base/load-command.c: New file.
7376 * gdb.base/load-command.exp: New file.
7377 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7378 (gdb_is_target_1): ...this, and generalize for other targets
7379 than just remote.
7380 (gdb_is_target_remote): Use gdb_is_target_1.
7381 (gdb_is_target_native): use gdb_is_target_1.
7382
6893c19a
TT
73832018-02-26 Tom Tromey <tom@tromey.com>
7384
7385 PR python/16497:
7386 * gdb.python/py-framefilter.exp: Update test.
7387
2ddeaf8a
TT
73882018-02-26 Tom Tromey <tom@tromey.com>
7389
7390 * gdb.dwarf2/variant.c: New file.
7391 * gdb.dwarf2/variant.exp: New file.
7392
c9317f21
TT
73932018-02-26 Tom Tromey <tom@tromey.com>
7394
7395 * gdb.rust/simple.exp: Accept more possible results in enum test.
7396
6f6d0c26
SM
73972018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7398
7399 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7400 parentheses.
7401
11b03145
MR
74022018-02-23 Maciej W. Rozycki <macro@mips.com>
7403
7404 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7405 name of a variable: $actual_linejj -> $actual_line.
7406
54a27fe5
JB
74072018-02-21 John Baldwin <jhb@FreeBSD.org>
7408
7409 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7410
de65820c
MM
74112018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7412
7413 * gdb.btrace/buffer-size.exp: Do not force BTS.
7414
980548fd
PA
74152018-02-14 Pedro Alves <palves@redhat.com>
7416
7417 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7418 getting a "Quit".
7419
c4e12631
MM
74202018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7421
7422 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7423 Fix test name.
7424
c2e0e465
SM
74252018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7426
7427 * gdb.cp/m-static.exp: Check type of optimized out static
7428 member.
7429
f7216783
AB
74302018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7431
7432 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7433 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7434
0625771b
LS
74352018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7436 Leszek Swirski <leszeks@google.com>
7437
7438 * gdb.python/py-prettyprint.c
7439 (struct to_string_returns_value_inner,
7440 struct to_string_returns_value_wrapper): New.
7441 (main): Add tsrvw variable.
7442 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7443 ToStringReturnsValueWrapper): New classes.
7444 (register_pretty_printers): Register new pretty-printers.
7445 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7446 recursive pretty printer.
7447 * gdb.python/py-mi.exp: Likewise.
7448
59498c30
LS
74492018-02-01 Leszek Swirski <leszeks@google.com>
7450
7451 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7452 functions with the same name as an include file are parsed
7453 correctly.
7454
d4d38844
YQ
74552018-02-01 Yao Qi <yao.qi@linaro.org>
7456
7457 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7458 "\[^\r\n\]*".
7459
07e5f5cf
NP
74602018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7461
7462 * gdb.arch/powerpc-prologue-frame.s: New file.
7463 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7464 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7465
929b5ad4
JB
74662018-01-31 Joel Brobecker <brobecker@adacore.com>
7467
7468 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7469
e671cd59
PA
74702018-01-30 Pedro Alves <palves@redhat.com>
7471
7472 PR gdb/13211
7473 * gdb.base/interrupt-daemon.c: New.
7474 * gdb.base/interrupt-daemon.exp: New.
7475 * gdb.multi/multi-term-settings.c: New.
7476 * gdb.multi/multi-term-settings.exp: New.
7477
fc413dc4
JB
74782018-01-30 Joel Brobecker <brobecker@adacore.com>
7479
7480 * gdb.base/break.exp: Save the location where the breakpoint
7481 on break.c:47 was actually inserted when debugging the version
7482 compiled at -O2 and use it in the expected output of the "info
7483 break" test performed soon after.
7484
5c319bb2
PA
74852018-01-22 Pedro Alves <palves@redhat.com>
7486 Sergio Durigan Junior <sergiodj@redhat.com>
7487
7488 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7489 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7490
a9e40818
JB
74912018-01-22 Joel Brobecker <brobecker@adacore.com>
7492
7493 * gdb.base/break-include.c, gdb.base/break-include.inc,
7494 gdb.base/break-include.exp: New files.
7495 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7496 line number now being the actual line number where the breakpoint
7497 was inserted.
7498 * gdb.mi/mi-break.exp: Likewise.
7499 * gdb.mi/mi-reverse.exp: Likewise.
7500 * gdb.mi/mi-simplerun.exp: Ditto.
7501
e707fc44
AB
75022018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7503
7504 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7505 varobj.
7506 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7507
ae451627
AB
75082018-01-21 Don Breazeal <donb@codesourcery.com>
7509 Andrew Burgess <andrew.burgess@embecosm.com>
7510
7511 * gdb.mi/basics.c: Add new global.
7512 * gdb.mi/mi-frame-regs.exp: New file.
7513 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7514 case.
7515
b1b189e0
AB
75162018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7517
7518 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7519 non-parameter, and on an unknown symbol.
7520
fcfcc376
TT
75212018-01-19 Tom Tromey <tom@tromey.com>
7522
7523 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7524 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7525
634c1c31
AA
75262018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7527
7528 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7529 setrlimit and chdir to int.
7530
d6ad07fd
AA
75312018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7532
7533 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7534 function.
7535 (my_tend): Likewise.
7536 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7537 rationale of avoiding FP- and vector instructions.
7538
adf8243b
RK
75392018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7540
7541 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7542 "info reg" with "\[ \t\]*".
7543 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7544 "\[ \t\]+".
7545 * gdb.arch/s390-multiarch.exp: Ditto.
7546 * gdb.base/pc-fp.exp: Ditto.
7547 * gdb.reverse/i386-precsave.exp: Ditto.
7548 * gdb.reverse/i386-reverse.exp: Ditto.
7549 * gdb.reverse/i387-env-reverse.exp: Ditto.
7550 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7551
dcc06925
AA
75522018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7553
7554 * lib/gdb.exp (gdb_compile): Re-enable use of
7555 universal_compile_options for languages other than Rust.
7556
25d4fd80
AA
75572018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7558
7559 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7560
ee7f689e 75612018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
7562
7563 PR gdb/16577
7564 * gdb.base/solib-vanish.exp: New.
7565 * gdb.base/solib-vanish-main.c: New.
7566 * gdb.base/solib-vanish-lib1.c: New.
7567 * gdb.base/solib-vanish-lib2.c: New.
7568
d8447b6b
YQ
75692018-01-17 Yao Qi <yao.qi@linaro.org>
7570
7571 * gdb.compile/compile.exp: Match the address printed for
7572 frame in the output of command "bt".
7573
86d6a90c
TT
75742018-01-15 Tom Tromey <tom@tromey.com>
7575
7576 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7577 compute sp_reg.
7578
cbcdb1aa
AB
75792018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7580
7581 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7582 to prepare.
7583 (prepare): Return 0 on error, 1 on success.
7584
eea61984
PA
75852018-01-12 Pedro Alves <palves@redhat.com>
7586
7587 * gdb.base/continue-after-aborted-step-over.c: New.
7588 * gdb.base/continue-after-aborted-step-over.exp: New.
7589
6181e9c2
SM
75902018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7591
7592 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7593 options when not creating an executable.
7594
3cada740
PA
75952018-01-11 Pedro Alves <palves@redhat.com>
7596
7597 PR remote/22597
7598 * gdb.server/stop-reply-no-thread.c: New file.
7599 * gdb.server/stop-reply-no-thread.exp: New file.
7600
c63d3e8d
PA
76012018-01-10 Pedro Alves <palves@redhat.com>
7602
7603 PR gdb/22670
7604 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7605 functions too. Test setting breakpoints and printing C functions
7606 with no debug info too.
7607 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7608
d4c2a405
PA
76092018-01-10 Pedro Alves <palves@redhat.com>
7610
7611 PR gdb/22670
7612 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7613 a fail.
7614
8825213e
PA
76152018-01-10 Pedro Alves <palves@redhat.com>
7616
7617 PR gdb/22670
7618 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7619
605fd3c6
YQ
76202018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7621
7622 * gdb.server/unittest.exp: Match the output in non-development
7623 mode.
7624
1e5ded6c
YQ
76252018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7626
7627 * gdb.gdb/unittest.exp: Match output in non-development mode.
7628
30066b0b
JB
76292018-01-08 Joel Brobecker <brobecker@adacore.com>
7630
7631 * gdb.ada/access_tagged_param.exp: Relax expected output
7632 for value of "ObjL" in "continue" to pck.inspect breakpoint
7633 test.
7634
04bafb1e
XR
76352018-01-08 Joel Brobecker <brobecker@adacore.com>
7636
9f86398b
JB
7637 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7638 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 7639
e379cee6
PA
76402018-01-05 Pedro Alves <palves@redhat.com>
7641
7642 PR gdb/18653
7643 * gdb.base/libsegfault.exp: New.
7644
de63c46b
PA
76452018-01-05 Joel Brobecker <brobecker@adacore.com>
7646
7647 PR gdb/22670
7648 * gdb.ada/access_tagged_param.exp: New file.
7649 * gdb.ada/access_tagged_param/foo.adb: New file.
7650
f98fc17b
PA
76512018-01-05 Pedro Alves <palves@redhat.com>
7652
7653 PR gdb/22670
7654 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7655 exercise lower case too, and to exercise both full matching and
7656 wild matching.
7657
342f8240
JB
76582018-01-05 Joel Brobecker <brobecker@adacore.com>
7659
7660 * gdb.ada/rename_subscript_param: New testcase.
7661
7150d33c
JG
76622018-01-05 Jerome Guitton <guitton@adacore.com>
7663
7664 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7665
cc0e770c
JB
76662018-01-05 Joel Brobecker <brobecker@adacore.com>
7667
7668 * gdb.ada/convvar_comp: New testcase.
7669
672a41aa 76702018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
7671
7672 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7673 (My_Table): New global variable.
7674 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7675
7365ec2f
JB
76762018-01-04 Joel Brobecker <brobecker@adacore.com>
7677
7678 PR gdb/22670
7679 * gdb.ada/maint_with_ada: New testcase.
7680
289483b6
JB
76812018-01-04 Joel Brobecker <brobecker@adacore.com>
7682
7683 PR gdb/22670
7684 * gdb.ada/bp_c_mixed_case: New testcase.
7685
344420da
JB
76862018-01-04 Joel Brobecker <brobecker@adacore.com>
7687
7688 PR gdb/22670
7689 * gdb.ada/complete.exp: Add "complete break ada" test.
7690
66fc87a0
JB
76912018-01-04 Joel Brobecker <brobecker@adacore.com>
7692
7693 PR gdb/22670
7694 * gdb.ada/info_addr_mixed_case: New testcase.
7695
9f757bf7
XR
76962018-01-03 Xavier Roirand <roirand@adacore.com>
7697
7698 * gdb.ada/excep_handle.exp: New testcase.
7699 * gdb.ada/excep_handle/foo.adb: New file.
7700 * gdb.ada/excep_handle/pck.ads: New file.
7701
bd570f80
JB
77022018-01-03 Joel Brobecker <brobecker@adacore.com>
7703
7704 * gdb.base/step-line.c: Add extra empty line in copyright header.
7705 * gdb.base/step-line.inp: Likewise.
7706
9fe561ab
JB
77072018-01-02 Joel Brobecker <brobecker@adacore.com>
7708
7709 * gdb.ada/dyn_stride.exp: Add slice test.
7710
a405673c
JB
77112018-01-02 Joel Brobecker <brobecker@adacore.com>
7712
7713 * gdb.ada/dyn_stride: New testcase.
7714
cef0f868
SH
77152017-12-27 Stafford Horne <shorne@gmail.com>
7716
7717 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7718 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7719
b67d92b0
SH
77202017-12-27 Stafford Horne <shorne@gmail.com>
7721
7722 * gdb.base/reggroups.c: New file.
7723 * gdb.base/reggroups.exp: New file.
7724
eccab96d
JB
77252017-12-18 Joel Brobecker <brobecker@adacore.com>
7726
7727 * gdb.dwarf2/ada-valprint-error.c: New file.
7728 * gdb.dwarf2/ada-valprint-error.exp: New file.
7729
0e2da9f0
JB
77302017-12-18 Joel Brobecker <brobecker@adacore.com>
7731
7732 * gdb.ada/assign_arr: New testcase.
7733
cb923fcc
XR
77342017-12-18 Xavier Roirand <roirand@adacore.com>
7735
7736 * gdb.ada/funcall_ptr: New testcase.
7737
7c161838
SDJ
77382017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7739
7740 PR cli/16224
7741 * gdb.base/ptype-offsets.cc: New file.
7742 * gdb.base/ptype-offsets.exp: New file.
7743
1af17fd9
YQ
77442017-12-15 Yao Qi <yao.qi@linaro.org>
7745
7746 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7747 if XML is disabled.
7748
828d5846
XR
77492017-12-15 Xavier Roirand <roirand@adacore.com>
7750
7751 * gdb.ada/same_component_name: New testcase.
7752
79e8fcaa
JB
77532017-12-14 Joel Brobecker <brobecker@adacore.com>
7754
7755 * gdb.ada/str_binop_equal: New testcase.
7756
e05fa6f9
JB
77572017-12-14 Joel Brobecker <brobecker@adacore.com>
7758
7759 * gdb.ada/task_switch_in_core: New testcase.
7760
b89641ba
SM
77612017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7762
7763 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7764 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7765 call test_bkpt_qualified.
7766 (test_bkpt_qualified): New proc.
7767
6892d2e4
PA
77682017-12-13 Pedro Alves <palves@redhat.com>
7769
7770 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7771 Tighten regexp by matching with an anchor.
7772
a22ecf70
PA
77732017-12-13 Pedro Alves <palves@redhat.com>
7774
7775 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7776 ("expression with namespace"): New set of tests.
7777 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7778 (Nested::Test_NS::qux): New.
7779 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7780 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7781
9937536c
JB
77822017-12-13 Joel Brobecker <brobecker@adacore.com>
7783
7784 * gdb.base/server-del-break.c: New file.
7785 * gdb.base/server-del-break.exp: New file.
7786
fe49c6f5
SH
77872017-12-12 Stafford Horne <shorne@gmail.com>
7788
7789 * gdb.xml/tdesc-regs.exp: Add or1k support.
7790
c3d18620
SH
77912017-12-12 Stafford Horne <shorne@gmail.com>
7792
7793 * gdb.base/bp-permanent.c: Define nop of or1k.
7794
c5f9cfc8
JB
77952017-12-11 Joel Brobecker <brobecker@adacore.com>
7796
7797 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7798 output with components being reordered.
7799
a9c135fc
JB
78002017-12-11 Joel Brobecker <brobecker@adacore.com>
7801
7802 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7803 output with components being reordered.
7804
927aa2e7
JK
78052017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7806 Pedro Alves <palves@redhat.com>
7807
7808 * gdb.base/maint.exp (check for .gdb_index): Check also for
7809 .debug_names.
7810 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7811 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7812 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7813 (.gdb_index used after symbol reloading): Support also .debug_names.
7814 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7815
f17d9474
YQ
78162017-12-08 Yao Qi <yao.qi@linaro.org>
7817
7818 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7819 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7820
a0de8c21
YQ
78212017-12-08 Yao Qi <yao.qi@linaro.org>
7822
7823 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7824 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7825
a738ea1d
YQ
78262017-12-08 Yao Qi <yao.qi@linaro.org>
7827
7828 * gdb.arch/aarch64-tagged-pointer.c: New file.
7829 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7830
1cd9a73b
SDJ
78312017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7832
7833 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7834 "int".
7835
fa6eb693
KS
78362017-12-07 Keith Seitz <keiths@redhat.com>
7837
7838 PR breakpoints/22569
7839 * gdb.linespec/ls-errs.exp: Change expected result of "break
7840 -source this file has spaces.c -line 3".
7841 Check that an explicit source file followed by whitespace is
7842 identified as an invalid explicit location.
7843
883fd55a
KS
78442017-12-07 Keith Seitz <keiths@redhat.com>
7845
7846 * gdb.cp/nested-types.cc: New file.
7847 * gdb.cp/nested-types.exp: New file.
7848 * lib/cp-support.exp: Load data-structures.exp library.
7849 (debug_cp_test_ptype_class): New global.
7850 (cp_ptype_class_verbose, next_line): New procedures.
7851 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7852 Add and document new return value.
7853 Switch the list of lines to a queue.
7854 Add support for new `type' key for nested type definitions.
7855 Add debugging/troubleshooting messages.
7856 * lib/data-structures.exp: New file.
7857
ec72db3e
SM
78582017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7859
7860 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7861 with proc_with_prefix, don't use with_test_prefix.
7862
99598d71
TT
78632017-12-07 Tom Tromey <tom@tromey.com>
7864
7865 * gdb.base/break.exp: Add test for empty "commands".
7866
a8806230
YQ
78672017-12-07 Yao Qi <yao.qi@linaro.org>
7868
7869 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7870 malloc and catch syscall.
7871
824cc835
PM
78722017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7873
e79be6e5 7874 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
7875 tests for explicit locations.
7876
7cc244de
PA
78772017-12-06 Pedro Alves <palves@redhat.com>
7878
7879 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7880 force-disabling XML descriptions.
7881
50a1fdd5
PA
78822017-12-04 Pedro Alves <palves@redhat.com>
7883
7884 PR gdb/22499
7885 * gdb.arch/amd64-disp-step-avx.S: New file.
7886 * gdb.arch/amd64-disp-step-avx.exp: New file.
7887
f0fb2488
PA
78882017-12-03 Pedro Alves <palves@redhat.com>
7889
7890 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7891 and <string.h>.
7892 (parent_function): Print distinct messages when waitpid fails, or
7893 the child exits with a signal, or the child exits for an unhandled
7894 reason.
7895 * gdb.threads/process-dies-while-detaching.exp
7896 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7897 it. Wait for both inferior output and GDB's prompt. Use an
7898 indirect spawn id list.
7899 (do_detach): New parameter 'child_exit'. Use it to compute
7900 expected inferior output.
7901 (test_detach, test_detach_watch, test_detach_killed_outside):
7902 Adjust to pass down the expected child exit kind.
7903
97cbe998
SDJ
79042017-12-01 Joel Brobecker <brobecker@adacore.com>
7905 Sergio Durigan Junior <sergiodj@redhat.com>
7906 Pedro Alves <palves@redhat.com>
7907
7908 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7909
40fc416f
SDJ
79102017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7911
7912 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7913 to 'symbol-file' and 'add-symbol-file' can be
7914 position-independent.
7915
1cc75e92
YQ
79162017-12-01 Yao Qi <yao.qi@linaro.org>
7917
7918 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7919 the URL in copyright header.
7920 * gdb.arch/aarch64-fp.exp: Likewise.
7921 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7922 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7923 * gdb.base/expand-psymtabs.exp: Likewise.
7924 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7925 * gdb.fortran/common-block.exp: Likewise.
7926 * gdb.fortran/common-block.f90: Likewise.
7927 * gdb.fortran/logical.exp: Likewise.
7928 * gdb.fortran/vla-datatypes.f90: Likewise.
7929 * gdb.fortran/vla-sub.f90: Likewise.
7930
875fb7a7
JB
79312017-11-30 Joel Brobecker <brobecker@adacore.com>
7932
7933 * gdb.ada/repeat_dyn: New testcase.
7934
6f14765f
UW
79352017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7936
7937 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7938 Update for changed thread numbering.
7939 * gdb.cell/bt.exp: Update for changed GDB output.
7940
f1af7b94
SM
79412017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7942
7943 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7944 setting isremote by hand.
7945 * boards/dwarf4-gdb-index.exp: Likewise.
7946 * boards/fission.exp: Likewise.
7947 * boards/stabs.exp: Likewise.
7948
e3919f3e
PA
79492017-11-30 Pedro Alves <palves@redhat.com>
7950
7951 * gdb.linespec/cpls-ops.exp
7952 (check_explicit_skips_function_argument): Extract the underlying
7953 type of size_t instead of hardcoding it.
7954
bd69330d
PA
79552017-11-29 Pedro Alves <palves@redhat.com>
7956
7957 PR c++/19436
7958 * gdb.linespec/cpls-abi-tag.cc: New file.
7959 * gdb.linespec/cpls-abi-tag.exp: New file.
7960
a20714ff
PA
79612017-11-29 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.base/langs.exp: Use -qualified.
7964 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7965 it.
7966 * gdb.cp/namespace.exp: Use -qualified.
7967 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7968 (overload-3, template-overload, template-ret-type, const-overload)
7969 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7970 procedures.
7971 (test_driver): Call them.
7972 * gdb.cp/save-bp-qualified.cc: New.
7973 * gdb.cp/save-bp-qualified.exp: New.
7974 * gdb.linespec/explicit.exp: Test -qualified.
7975 * lib/completion-support.exp (completion::explicit_opts_list): Add
7976 "-qualified".
7977 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7978
f6f1d339
PM
79792017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7980
7981 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7982
02ca603a
TT
79832017-11-29 Tom Tromey <tom@tromey.com>
7984
7985 * gdb.base/relocate.exp: Update invalid argument test.
7986 Add new tests for invalid arguments.
7987
ed6c0bfb
TP
79882017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7989
7990 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7991 Return 0 as a long.
7992 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7993
f106e10e
TP
79942017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7995
7996 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7997 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7998 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7999 func ().
8000 * gdb.cp/shadow.cc (B.func): Return 0.
8001
10329bb2
JB
80022017-11-27 Joel Brobecker <brobecker@adacore.com>
8003
8004 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8005 expected output in gdb_expect call to allow the exception
8006 message to be present as well. Fix syntax confusion to avoid
8007 TCL thinking that exception_name is an array.
8008
617cd4bc
UW
80092017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8010
8011 * gdb.arch/spu-info.c: Include <unistd.h>.
8012 (do_signal_test): Fix broken calls to write.
8013 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8014 Fix checks for empty mailboxes. Update signal tests for corrected
8015 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8016 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8017 * gdb.cell/arch.exp: Use standard_output_file.
8018 * gdb.cell/break.exp: Likewise.
8019 * gdb.cell/bt.exp: Likewise.
8020 * gdb.cell/core.exp: Likewise.
8021 * gdb.cell/dwarfaddr.exp: Likewise.
8022 * gdb.cell/ea-cache.exp: Likewise.
8023 * gdb.cell/ea-standalone.exp: Likewise.
8024 * gdb.cell/f-regs.exp: Likewise.
8025 * gdb.cell/fork.exp: Likewise.
8026 * gdb.cell/gcore.exp: Likewise.
8027 * gdb.cell/mem-access.exp: Likewise.
8028 * gdb.cell/ptype.exp: Likewise.
8029 * gdb.cell/registers.exp: Likewise.
8030 * gdb.cell/sizeof.exp: Likewise.
8031 * gdb.cell/solib-symbol.exp: Likewise.
8032 * gdb.cell/solib.exp: Likewise.
617cd4bc 8033
a81aaca0
PA
80342017-11-25 Pedro Alves <palves@redhat.com>
8035
8036 * gdb.base/complete-empty.exp: New file.
8037 * gdb.base/completion.exp: Adjust.
8038
6a3c6ee4
PA
80392017-11-25 Pedro Alves <palves@redhat.com>
8040
8041 * gdb.linespec/cpls-ops.cc: New file.
8042 * gdb.linespec/cpls-ops.exp: New file.
8043 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8044 factored out from ...
8045 (test_complete_prefix_range): ... this.
8046
8955eb2d
PA
80472017-11-24 Pedro Alves <palves@redhat.com>
8048
8049 * gdb.linespec/cpcompletion.exp: New file.
8050 * gdb.linespec/cpls-hyphen.cc: New file.
8051 * gdb.linespec/cpls.cc: New file.
8052 * gdb.linespec/cpls2.cc: New file.
8053 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8054 test to use test_gdb_complete_unique. Add label completion,
8055 keyword completion and explicit location completion tests.
8056 * lib/completion-support.exp: New file.
8057
e547c119
JB
80582017-11-24 Joel Brobecker <brobecker@adacore.com>
8059
8060 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8061 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8062 when hitting an exception catchpoint.
8063
7c3c1aa8
YQ
80642017-11-22 Yao Qi <yao.qi@linaro.org>
8065
8066 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8067
41bd68f5
SM
80682017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8069
8070 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8071 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8072 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8073
1daad298
YQ
80742017-11-22 Yao Qi <yao.qi@linaro.org>
8075
8076 * gdb.base/info-os.exp: Pass pthreads.
8077 * gdb.multi/multi-attach.exp: Likewise.
8078
88465e87
YQ
80792017-11-22 Yao Qi <yao.qi@linaro.org>
8080
8081 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8082 compiler.
8083
dc196b23
YQ
80842017-11-22 Yao Qi <yao.qi@linaro.org>
8085
8086 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8087 * gdb.base/break-interp.exp: Likewise.
8088 * gdb.base/jit-attach-pie.exp: Likewise.
8089
2400729e
UW
80902017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8091
8092 * gdb.base/float128.c (large128): New variable.
8093 * gdb.base/float128.exp: Add test to print largest __float128 value.
8094
7a26362d
UW
80952017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8096
8097 * gdb.arch/vsx-regs.exp: Update register content checks.
8098
ed0f4273
UW
80992017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8100
8101 * gdb.arch/ppc-longdouble.exp: New file.
8102 * gdb.arch/ppc-longdouble.c: Likewise.
8103
a25d69c6
PA
81042017-11-21 Pedro Alves <palves@redhat.com>
8105
8106 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8107
73fcf641
PA
81082017-11-20 Pedro Alves <palves@redhat.com>
8109
8110 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8111 (long_double_typedef): New typedefs.
8112 Use DEF on double and long double.
8113 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8114 cases.
8115 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8116 and 'long_double_ptr_same_size' locals. Use them to decide
8117 whether cast from array/function to float is valid/invalid.
8118
71a3c369
TT
81192017-11-17 Tom Tromey <tom@tromey.com>
8120
8121 * gdb.rust/traits.rs: New file.
8122 * gdb.rust/traits.exp: New file.
8123
ced9779b
JB
81242017-11-17 Joel Brobecker <brobecker@adacore.com>
8125
8126 * gdb.ada/minsyms: New testcase.
8127
a0922d80
PA
81282017-11-16 Pedro Alves <palves@redhat.com>
8129
8130 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8131 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8132
ea04e54c
PA
81332017-11-16 Pedro Alves <palves@redhat.com>
8134
8135 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8136 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8137
e849ea89
PA
81382017-11-16 Pedro Alves <palves@redhat.com>
8139
8140 * gdb.server/reconnect-ctrl-c.c: New file.
8141 * gdb.server/reconnect-ctrl-c.exp: New file.
8142
d8ae99a7
PM
81432017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8144
8145 * gdb.python/py-rbreak.exp: New file.
8146 * gdb.python/py-rbreak.c: New file.
8147 * gdb.python/py-rbreak-func2.c: New file.
8148
968a13f8
PA
81492017-11-16 Pedro Alves <palves@redhat.com>
8150
8151 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8152 pattern.
8153 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8154 GDB.
8155
71774bc9
SM
81562017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8157
8158 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8159 regex.
8160
ddbb44cf
SM
81612017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8162
8163 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8164 test names.
8165
584a564f
PA
81662017-11-09 Pedro Alves <palves@redhat.com>
8167
8168 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8169 factored out from ...
8170 (top level): ... here, and adjusted to avoid expecting beyond the
8171 prompt in a single gdb_test_multiple.
8172
5ed7a928
PA
81732017-11-09 Pedro Alves <palves@redhat.com>
8174
8175 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8176 output.
8177 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8178 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8179 * gdb.server/ext-run.exp ("kill" test): Likewise.
8180 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8181
a60e0738
PA
81822017-11-09 Pedro Alves <palves@redhat.com>
8183
8184 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8185 match till end of line.
8186
2c88253f
PA
81872017-11-09 Pedro Alves <palves@redhat.com>
8188
8189 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8190
c7a38517
PA
81912017-11-09 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8194 New procedures, factored out from ...
8195 (top level): ... here, and adjusted to avoid expecting beyond the
8196 prompt in one go.
8197
f29f4b6b
PA
81982017-11-09 Pedro Alves <palves@redhat.com>
8199
8200 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8201 output. Fix '?' match.
8202
286acbb5
JB
82032017-11-08 Joel Brobecker <brobecker@adacore.com>
8204
8205 * gdb.ada/scoped_watch: New testcase.
8206 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8207 which is actually correct.
8208 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8209 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8210
62d7ae92
PA
82112017-11-08 Pedro Alves <palves@redhat.com>
8212
8213 * gdb.gdb/complaints.exp (test_initial_complaints)
8214 (test_serial_complaints, test_short_complaints): Call
8215 complaint_internal instead of complaint.
8216
280ca31f
DT
82172017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8218
8219 * gdb.threads/tls-core.c: New file.
8220 * gdb.threads/tls-core.exp: Likewise.
8221
b5ec771e
PA
82222017-11-08 Pedro Alves <palves@redhat.com>
8223
8224 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8225 (p Exported_Capitalized): New test.
8226 (p exported_capitalized): New test.
8227
a02b41a7
PA
82282017-11-07 Pedro Alves <palves@redhat.com>
8229
8230 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8231
95e95a6d
PA
82322017-11-07 Pedro Alves <palves@redhat.com>
8233
8234 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8235 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8236 (disable_invalid, disable_inverted, disable_negative): New
8237 procedures.
8238 ("bad numbers"): New set of tests.
8239
cee62dbd
PA
82402017-11-07 Pedro Alves <palves@redhat.com>
8241
8242 * gdb.cp/ena-dis-br-range.exp: Add tests.
8243
cc638e86
PA
82442017-11-07 Pedro Alves <palves@redhat.com>
8245
8246 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8247
d0fe4701
XR
82482017-11-07 Xavier Roirand <roirand@adacore.com>
8249 Pedro Alves <palves@redhat.com>
8250
8251 * gdb.base/ena-dis-br.exp: Add reference to
8252 gdb.cp/ena-dis-br-range.exp.
8253 * gdb.cp/ena-dis-br-range.exp: New file.
8254 * gdb.cp/ena-dis-br-range.cc: New file.
8255
46f67f80
PA
82562017-11-06 Pedro Alves <palves@redhat.com>
8257
8258 * gdb.base/attach-non-pgrp-leader.c: New.
8259 * gdb.base/attach-non-pgrp-leader.exp: New.
8260
726e1356
PA
82612017-11-06 Pedro Alves <palves@redhat.com>
8262
8263 * configure.ac: No longer check for termio.h and sgtty.h.
8264 * configure: Regenerate.
8265 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8266 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8267 Remove termio and sgtty code.
8268
50ab6ace
YQ
82692017-11-03 Yao Qi <yao.qi@linaro.org>
8270
8271 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8272 in GDB is disabled.
8273
8e68731c
YQ
82742017-11-03 Yao Qi <yao.qi@linaro.org>
8275
8276 * gdb.python/py-thrhandle.exp: Skip it if python is not
8277 enabled.
8278
3a87ae65
SM
82792017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8280
8281 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8282 as a breakpoint command.
8283
484d8d36
MD
82842017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8285
8286 PR python/21213
8287 * gdb.python/py-infthread.exp: Test calling
8288 InferiorThread.inferior () multiple times in a row.
8289
4a27f119
KS
82902017-10-27 Keith Seitz <keiths@redhat.com>
8291
8292 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8293 Test "info break" for every inlined function breakpoint.
8294
bb11dd58
YQ
82952017-10-27 Yao Qi <yao.qi@linaro.org>
8296
8297 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8298
a43f3893
PF
82992017-10-26 Patrick Frants <osscontribute@gmail.com>
8300
8301 * gdb.cp/classes.exp (test_static_members): Test printing
8302 Outer::instance.
8303 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8304 (Inner::instance, Outer::instance): New.
8305
792ccf00
PA
83062017-10-24 Pedro Alves <palves@redhat.com>
8307
8308 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8309 extra console" test in two stages.
8310
eb2bfbad
PA
83112017-10-24 Pedro Alves <palves@redhat.com>
8312
8313 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8314
1f75a651
PA
83152017-10-24 Pedro Alves <palves@redhat.com>
8316
8317 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8318 loop.
8319
779990d9
PA
83202017-10-24 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8323 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8324
ad9b8f5d
PA
83252017-10-24 Pedro Alves <palves@redhat.com>
8326
8327 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8328 parameter and handle it. Don't output read value in test name.
8329
fee6da6e
PA
83302017-10-24 Pedro Alves <palves@redhat.com>
8331
8332 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8333 custom test name.
8334
10389c2c
PA
83352017-10-24 Pedro Alves <palves@redhat.com>
8336
8337 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8338 include the unstable output directory name in the test's name.
8339 (initial_setup_simple) <'set args'>: Use custom test name.
8340
a80e65a9
PA
83412017-10-24 Pedro Alves <palves@redhat.com>
8342
8343 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8344 with explicit test name.
8345
15763a09
PA
83462017-10-20 Pedro Alves <palves@redhat.com>
8347
8348 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8349 'wait -i'. Use gdb_assert and remote_close.
8350
49a4ce2e
AB
83512017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8352
8353 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8354 number from variable rather than hard-coded.
8355
a75868f5
PA
83562017-10-19 Pedro Alves <palves@redhat.com>
8357
8358 * gdb.base/long-inferior-output.c: New file.
8359 * gdb.base/long-inferior-output.exp: New file.
8360
c8ba13ad
KS
83612017-11-18 Keith Seitz <keiths@redhat.com>
8362
8363 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8364 method.
8365 (main): Call it.
8366 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8367 Add additional user-defined conversion operator tests.
8368
b27de576
PA
83692017-10-17 Pedro Alves <palves@redhat.com>
8370
8371 * boards/native-stdio-gdbserver.exp: Load "local-board".
8372
8484c955
PA
83732017-10-17 Pedro Alves <palves@redhat.com>
8374
8375 * gdb.base/quit-live.c: New file.
8376 * gdb.base/quit-live.exp: New file.
8377
83d5a34d
KS
83782017-10-16 Keith Seitz <keiths@redhat.com>
8379
8380 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8381 (class_with_protected_typedef, class_with_private_typedef)
8382 (struct_with_public_typedef, struct_with_protected_typedef)
8383 (struct_with_private_typedef): New classes/structs.
8384 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8385 typedefs and access specifiers.
8386
739b3f1d
PA
83872017-10-16 Pedro Alves <palves@redhat.com>
8388 Simon Marchi <simon.marchi@polymtl.ca>
8389
8390 * README (Local vs Remote vs Native): New section.
8391 * boards/local-board.exp: New file, with bits factored out from
8392 ...
8393 * boards/native-extended-gdbserver.exp: ... here. Load
8394 "local-board".
8395 * boards/native-gdbserver.exp: Load "local-board".
8396 (${board}_spawn, ${board}_exec): Delete.
8397 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8398 ...
8399 * boards/stdio-gdbserver-base.exp: ... this new file.
8400 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8401 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8402 procedure.
8403 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8404 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8405 stdio_gdbserver_command.
8406 (${board}_get_remote_address, ${board}_get_comm_port)
8407 (${board}_download, ${board}_upload): Delete.
8408 (get_target_remote_pipe_cmd): New.
8409
fe68b953
SM
84102017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8411
8412 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8413 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8414 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8415 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8416 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8417 remove with_test_prefix.
8418
300b6685
PA
84192017-10-13 Pedro Alves <palves@redhat.com>
8420
8421 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8422 * gdb.base/annota1.exp: Use it instead of is_remote.
8423 * gdb.base/annota3.exp: Use it instead of is_remote.
8424 * gdb.cp/annota2.exp: Use it instead of is_remote.
8425 * gdb.cp/annota3.exp: Use it instead of is_remote.
8426 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8427
50500caf
PA
84282017-10-13 Pedro Alves <palves@redhat.com>
8429
8430 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8431 (test_num_test_vars, run_and_count_vars, find_env)
8432 (test_set_unset_env, test_inherit_env_var): New procedures.
8433 (top level): Use them.
8434
dad0c6d2
PA
84352017-10-13 Pedro Alves <palves@redhat.com>
8436
8437 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8438 also skip on stub-like targets.
8439
8b0553c1
PA
84402017-10-13 Pedro Alves <palves@redhat.com>
8441
8442 PR gdb/22293
8443 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8444 (top level): Move some tests to ...
8445 (test_not_found): ... this new procedure.
8446 (top level): Call it.
8447
7594f623
PA
84482017-10-13 Pedro Alves <palves@redhat.com>
8449
8450 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8451 expect different "info terminal" output if testing with a
8452 non-native target.
8453
ebe3b402
PA
84542017-10-13 Pedro Alves <palves@redhat.com>
8455 Simon Marchi <simon.marchi@polymtl.ca>
8456
8457 PR python/12966
8458 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8459
42f1b161
PA
84602017-10-13 Pedro Alves <palves@redhat.com>
8461
8462 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8463 already.
8464
8d6ef72b
PA
84652017-10-13 Pedro Alves <palves@redhat.com>
8466
8467 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8468 is_remote.
8469
d7bcd5b8
PA
84702017-10-13 Pedro Alves <palves@redhat.com>
8471
8472 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8473 is_remote.
8474
df479dc6
PA
84752017-10-13 Pedro Alves <palves@redhat.com>
8476
8477 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8478 is set.
8479 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8480 instead of is_remote.
8481
23fb630a
PA
84822017-10-13 Pedro Alves <palves@redhat.com>
8483
8484 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8485 (top level): Add comment.
8486
cc77b1dc
PA
84872017-10-13 Pedro Alves <palves@redhat.com>
8488
8489 * gdb.base/remote.exp (top level): Fix comment typo and add
8490 missing return.
8491
27c9e813
PA
84922017-10-13 Pedro Alves <palves@redhat.com>
8493 Simon Marchi <simon.marchi@polymtl.ca>
8494
8495 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8496 calls and add comments. Skip test if use_gdb_stub is set.
8497 (top level): Use "set cwd" command instead of "cd" command.
8498
5e830d98
PA
84992017-10-13 Pedro Alves <palves@redhat.com>
8500
8501 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8502 is_remote target check.
8503
f5ca0032
PA
85042017-10-13 Pedro Alves <palves@redhat.com>
8505
8506 * gdb.base/scope.exp: Use build_executable + clean_restart +
8507 gdb_file_cmd instead of prepare_for_testing and no longer skip
8508 "before run" tests on is_remote target boards. Update comments.
8509 * boards/native-extended-gdbserver.exp
8510 (extended_gdbserver_load_last_file): New, factored out from ...
8511 (gdb_load): ... this. Move further below and add comment.
8512 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8513
8aed1c0d
PA
85142017-10-12 Pedro Alves <palves@redhat.com>
8515
8516 * gdb.base/attach.exp: Remove references to gdb64.
8517 * gdb.base/dbx.exp: Remove references to gdb64.
8518
cfa34c87
SM
85192017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8520 Pedro Alves <palves@redhat.com>
8521
8522 * gdb.base/label.exp: Remove is_remote target check.
8523
9192b7de
PA
85242017-10-12 Pedro Alves <palves@redhat.com>
8525
8526 * gdb.base/auvx.exp (coredir): Update comment.
8527 (top level) <core_works>: Use "set cwd" command instead of "cd"
8528 command.
8529
6bf0052d
PA
85302017-10-12 Pedro Alves <palves@redhat.com>
8531 Simon Marchi <simon.marchi@polymtl.ca>
8532
8533 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8534 target boards.
8535
e48ef82d
PA
85362017-10-12 Pedro Alves <palves@redhat.com>
8537 Simon Marchi <simon.marchi@polymtl.ca>
8538
8539 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8540 Instead skip if there's any gdb_protocol set.
8541
8d7aea57
SM
85422017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8543 Pedro Alves <palves@redhat.com>
8544
8545 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8546
30440677
PA
85472017-10-12 Pedro Alves <palves@redhat.com>
8548 Simon Marchi <simon.marchi@polymtl.ca>
8549
8550 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8551 instead of on dejagnu remote boards.
8552
4e04f045 85532017-10-12 Pedro Alves <palves@redhat.com>
175654b9 8554 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
8555
8556 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8557 checks. Use build_executable + clean_restart instead of
8558 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8559 of enabling non-stop after starting gdb.
8560
871a186e
PA
85612017-10-12 Pedro Alves <palves@redhat.com>
8562
8563 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8564 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8565 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8566 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8567
56d704da
AK
85682017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8569
8570 * gdb.arch/arc-tdesc-cpu.exp: New file.
8571 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8572
2f20e312
SM
85732017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8574
8575 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8576
65630365
PA
85772017-10-10 Pedro Alves <palves@redhat.com>
8578
8579 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8580 expect CLI output.
8581
bf469271
PA
85822017-10-10 Pedro Alves <palves@redhat.com>
8583
8584 * lib/selftest-support.exp (selftest_setup): Update for
8585 captured_command_loop's prototype change.
8586
777a42f1
PA
85872017-10-09 Pedro Alves <palves@redhat.com>
8588
8589 Test both arch1=>arch2 and arch2=>arch1.
8590
8591 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8592 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8593 factored out to...
8594 (append_arch1_options, append_arch2_options, append_arch_options)
8595 (build_executables): New procedures.
8596 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8597 local.
8598 (top level): Add new 'first_arch' testing axis.
8599
cbd2b4e3
PA
86002017-10-09 Pedro Alves <palves@redhat.com>
8601
8602 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8603 (barrier): New.
8604 (thread_start, all_started): New functions.
8605 (main): Spawn new thread and wait until it is scheduled.
8606 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8607 option.
8608 (do_test): Add 'selected_thread' parameter. Run to all_started
8609 instead of main. Explicitly set the breakpoint at main. Switch
8610 to the SELECTED_THREAD thread.
8611 (top level): Test handling the exec event with either the main
8612 thread or the second thread selected.
8613
5c9e4427
PA
86142017-10-09 Pedro Alves <palves@redhat.com>
8615
8616 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8617 logic. Move STOP marker after the value checks.
8618 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8619 regexp.
8620
b3b7c423
SL
86212017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8622
8623 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8624
3b4b2f16
UW
86252017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8626
8627 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8628 integer-to-dfp conversion.
8629 * gdb.base/dfp-test.exp: Likewise.
8630
5cd63fda
PA
86312017-10-04 Pedro Alves <palves@redhat.com>
8632
8633 * gdb.multi/hangout.c: Include <unistd.h>.
8634 (hangout_loop): New function.
8635 (main): Call alarm. Call hangout_loop in a loop.
8636 * gdb.multi/hello.c: Include <unistd.h>.
8637 (hello_loop): New function.
8638 (main): Call alarm. Call hangout_loop in a loop.
8639 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8640 inferior with the other selected.
8641
4c71c105
SM
86422017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8643
8644 * gdb.mi/list-thread-groups-available.exp: New file.
8645 * gdb.mi/list-thread-groups-available.c: New file.
8646
bc3b087d
SDJ
86472017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8648
8649 * gdb.base/set-cwd.exp: Make it available on
8650 native-extended-gdbserver.
8651
d092c5a2
SDJ
86522017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8653
8654 * gdb.base/set-cwd.c: New file.
8655 * gdb.base/set-cwd.exp: Likewise.
8656
45320ffa
TT
86572017-10-02 Tom Tromey <tom@tromey.com>
8658
8659 PR rust/22236:
8660 * gdb.rust/simple.rs (main): New variable "fslice".
8661 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8662
b3e3859b
TT
86632017-10-02 Tom Tromey <tom@tromey.com>
8664
8665 * gdb.rust/simple.exp: Test ptype of a slice.
8666
01af5e0d
TT
86672017-10-02 Tom Tromey <tom@tromey.com>
8668
8669 * gdb.rust/simple.exp: Test index of slice.
8670
a9bbfbd8
TT
86712017-09-27 Tom Tromey <tom@tromey.com>
8672
8673 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8674
df8899e5
TP
86752017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8676 Pedro Alves <palves@redhat.com>
8677
8678 * gdb.base/compare-sections.exp (get value of read-only section): Read
8679 as unsigned value.
8680 (corrupt read-only section): Likewise and don't set written if patching
8681 failed.
8682
757bf54b
KB
86832017-09-21 Kevin Buettner <kevinb@redhat.com>
8684
8685 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8686 files.
8687
06871ae8
PA
86882017-09-20 Pedro Alves <palves@redhat.com>
8689
8690 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8691 symbol names in gdb's output.
8692 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8693
e5f25bc5
PA
86942017-09-20 Pedro Alves <palves@redhat.com>
8695
8696 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8697 Rename to ...
8698 (test_list_ambiguous_symbol): ... this and add a symbol name
8699 parameter. Adjust.
8700 (test_list_ambiguous_function): Reimplement on top of
8701 test_list_ambiguous_symbol and also test listing ambiguous
8702 variables.
8703 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8704 (ambiguous_fun): ... this.
8705 (ambiguous_var): New.
8706 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8707 (ambiguous_fun): ... this.
8708 (ambiguous_var): New.
8709
4e5a4f58
JB
87102017-09-19 John Baldwin <jhb@FreeBSD.org>
8711
8712 * gdb.base/starti.c: New file.
8713 * gdb.base/starti.exp: New file.
8714 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8715
26e53f3e
PA
87162017-09-14 Pedro Alves <palves@redhat.com>
8717
8718 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8719 (top level): Use it instead of runto.
8720
cb791d59
TT
87212017-09-11 Tom Tromey <tom@tromey.com>
8722
8723 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8724
7c96f8c1
TT
87252017-09-11 Tom Tromey <tom@tromey.com>
8726
8727 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8728 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8729
469412dd
CW
87302017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8731
8732 * gdb.fortran/printing-types.exp: New file.
8733 * gdb.fortran/printing-types.exp: New file.
8734
e0f86435
BH
87352017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8736
8737 * gdb.fortran/vla-ptype.exp: Fix typos.
8738 * gdb.fortran/vla-value.exp: Same.
8739
9e9af4be
BH
87402017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8741
8742 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8743 * gdb.mi/mi-var-child-f.exp: Likewise.
8744 * gdb.mi/mi-vla-fortran.exp: Likewise.
8745
a5ad232b 87462017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
8747 Christoph Weinmann <christoph.t.weinmann@intel.com>
8748 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
8749
8750 * gdb.fortran/ptr-indentation.f90: New file.
8751 * gdb.fortran/ptr-indentation.exp: New file.
8752
5aec60eb
TT
87532017-09-05 Tom Tromey <tom@tromey.com>
8754
8755 PR gdb/22010:
8756 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8757
8f8f8152
TP
87582017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8759
8760 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8761
fbd1b771
JK
87622017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8763
8764 * gdb.threads/tls-nodebug-pie.c: New file.
8765 * gdb.threads/tls-nodebug-pie.exp: New file.
8766
5eb5f850
TT
87672017-09-05 Tom Tromey <tom@tromey.com>
8768
8769 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8770 for rust.
8771
ae780a21
SM
87722017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8773
8774 * gdb.multi/multi-arch-exec.exp: Test with different
8775 "follow-exec-mode" settings.
8776 (do_test): New procedure.
8777
3693fdb3
PA
87782017-09-04 Pedro Alves <palves@redhat.com>
8779
8780 * gdb.base/func-static.c (S::method const, S::method volatile)
8781 (S::method volatile const): New methods.
8782 (c_s, v_s, cv_s): New instances.
8783 (main): Call method() on them.
8784 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8785 (cannot_resolve): New procedure.
8786 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8787 print-quote-unquoted columns.
8788 (do_test): Test printing each scope too.
8789
e68cb8e0
PA
87902017-09-04 Pedro Alves <palves@redhat.com>
8791
8792 * gdb.base/local-static.exp: Also test with
8793 class::method::variable wholly quoted.
8794 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8795
858be34c
PA
87962017-09-04 Pedro Alves <palves@redhat.com>
8797
8798 * gdb.base/local-static.c: New.
8799 * gdb.base/local-static.cc: New.
8800 * gdb.base/local-static.exp: New.
8801
46a4882b
PA
88022017-09-04 Pedro Alves <palves@redhat.com>
8803
8804 * gdb.asm/asm-source.exp: Add casts to int.
8805 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8806 (dataglobal64_1, dataglobal64_2): New globals.
8807 * gdb.base/nodebug.exp: Test different expressions involving the
8808 new globals, with print, whatis and ptype. Add casts to int.
8809 * gdb.base/solib-display.exp: Add casts to int.
8810 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8811 * gdb.cp/m-static.exp: Add cast to int.
8812 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8813 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8814 tls variable with no debug info without a cast. Test with a cast
8815 to int too.
8816 * gdb.trace/entry-values.exp: Add casts.
8817
2c5a2be1
PA
88182017-09-04 Pedro Alves <palves@redhat.com>
8819
8820 * gdb.base/nodebug.exp: Test that ptype's error about functions
8821 with unknown return type includes the function name too.
8822
7022349d
PA
88232017-09-04 Pedro Alves <palves@redhat.com>
8824
8825 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8826 return type of munmap in infcall.
8827 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8828 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8829 type of ftell in infcall.
8830 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8831 type of getpid in infcall.
8832 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8833 infcall.
8834 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8835 Bail on failure to extract the pid.
8836 * gdb.base/nodebug.c: #include <stdint.h>.
8837 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8838 New functions.
8839 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8840 Change expected output of print/whatis/ptype with functions with
8841 no debug info. Test all supported languages. Call
8842 test_call_promotion.
8843 * gdb.compile/compile.exp: Adjust expected output to expect
8844 warning.
8845 * gdb.threads/siginfo-threads.exp: Likewise.
8846
54990598
PA
88472017-09-04 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8850 "prototypes". Test calling float functions via prototyped and
8851 unprototyped function pointers.
8852 (perform_all_tests): New parameter "prototypes". Pass it down.
8853 (top level): Pass down "prototypes" parameter to
8854 perform_all_tests.
8855
34d16ea2
SM
88562017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8857
8858 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8859 Test with nested loops.
8860
9521ecda
SM
88612017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8862
8863 * gdb.base/commands.exp: Call the new procedures.
8864 (loop_break_test, loop_continue_test): New procedures.
8865
80a65e9b
SM
88662017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8867
8868 * gdb.base/commands.exp: Call new procedure.
8869 (define_if_without_arg_test): New procedure.
8870
e439fa14
PA
88712017-09-04 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.base/list-ambiguous.exp: New file.
8874 * gdb.base/list-ambiguous0.c: New file.
8875 * gdb.base/list-ambiguous1.c: New file.
8876 * gdb.base/list.exp (test_list_range): Adjust expected output.
8877
0a2dde4a
SDJ
88782017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8879
8880 * gdb.base/share-env-with-gdbserver.c: New file.
8881 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8882
5e89eb3a
SM
88832017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8884
8885 * gdb.base/commands.exp (gdbvar_simple_if_test,
8886 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8887 progvar_simple_if_test, progvar_simple_while_test,
8888 progvar_complex_if_while_test, user_defined_command_test,
8889 user_defined_command_args_eval,
8890 user_defined_command_args_stack_test,
8891 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8892 temporary_breakpoint_commands,
8893 gdb_test_no_prompt, redefine_hook_test,
8894 redefine_backtrace_test): Remove "global gdb_prompt".
8895
fd437cbc
SM
88962017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8897
8898 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8899 New proc, call it from toplevel.
8900
87215ad1
SDJ
89012017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8902
8903 PR remote/21852
8904 * gdb.server/normal.c: New file, copied from gdb.base.
8905 * gdb.server/run-without-local-binary.exp: New file.
8906
58afddc6
WP
89072017-08-07 Weimin Pan <weimin.pan@oracle.com>
8908
8909 * gdb.arch/sparc64-adi.exp: New file.
8910 * gdb.arch/sparc64-adi.c: New file.
8911
5277199a
PA
89122017-08-22 Pedro Alves <palves@redhat.com>
8913
8914 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8915 (top level): Add "list all overloads" tests.
8916
14278e1f
TT
89172017-08-22 Tom Tromey <tom@tromey.com>
8918
8919 * gdb.gdb/xfullpath.exp: Remove.
8920
bf223d3e
PA
89212017-08-21 Pedro Alves <palves@redhat.com>
8922
8923 PR gdb/19487
8924 * gdb.base/symbol-alias.c: New.
8925 * gdb.base/symbol-alias2.c: New.
8926 * gdb.base/symbol-alias.exp: New.
8927
c973d0aa
PA
89282017-08-21 Pedro Alves <palves@redhat.com>
8929
8930 * gdb.base/dfp-test.c
8931 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8932 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8933 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8934 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8935 * gdb.base/whatis-ptype-typedefs.c: New.
8936 * gdb.base/whatis-ptype-typedefs.exp: New.
8937 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8938 (an_int, an_int_type, an_int_type2): New globals.
8939 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8940 involving typedefs and cast expressions.
8941 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8942 (lookup_typedefs_function): New.
8943 (typedefs_pretty_printers_dict): New.
8944 (top level): Register lookup_typedefs_function in
8945 gdb.pretty_printers.
8946
6d580b63
YQ
89472017-08-18 Yao Qi <yao.qi@linaro.org>
8948
8949 * gdb.server/unittest.exp: New.
8950
206726fb
SDJ
89512017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8952
8953 PR gdb/21954
8954 * gdb.base/environ.exp: Add test to check if 'unset environment'
8955 works.
8956
bf0ec4c2
AA
89572017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8958
8959 * lib/gdb.exp (universal_compile_options): New caching proc.
8960 (gdb_compile): Suppress GCC's coloring of messages.
8961
d6382fff
TT
89622017-08-14 Tom Tromey <tom@tromey.com>
8963
8964 PR gdb/21675:
8965 * gdb.base/printcmds.exp (test_radices): New function.
8966 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8967 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8968 * lib/gdb.exp (get_integer_valueof): Use p/d.
8969
c2c2dd9f
SM
89702017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8971
8972 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8973 characters.
8974
fdffd6f4
TT
89752017-08-05 Tom Tromey <tom@tromey.com>
8976
8977 * gdb.rust/simple.exp: Allow String to appear in a different
8978 namespace.
8979
27d41eac
YQ
89802017-07-26 Yao Qi <yao.qi@linaro.org>
8981
8982 * gdb.gdb/unittest.exp: Invoke command
8983 "maintenance check xml-descriptions".
8984
031ed05d
AA
89852017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8986
8987 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8988 calling context.
8989 (hex128): Drop erroneous calculation of parameters.
8990
dcd27ddf
SM
89912017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8992
8993 * gdb.python/py-unwind.exp: Disable stack protection when
8994 building test file.
8995
47e77640
PA
89962017-07-20 Pedro Alves <palves@redhat.com>
8997
8998 * gdb.base/default.exp (set language): Adjust expected output.
8999
62d2a18a
PA
90002017-07-20 Pedro Alves <palves@redhat.com>
9001
9002 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9003 (test_minsym): ... this, and make static.
9004 (get_pck__foo__bar__minsym): Rename to ...
9005 (get_test_minsym): ... this.
9006 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9007 symbol names and comments.
9008 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9009 (get_test_minsym): ... this.
9010 (pck__foo__bar__minsym__2): Rename to ...
9011 (test_minsym): ... this.
9012 (main): Adjust.
9013
c45ec17c
PA
90142017-07-17 Pedro Alves <palves@redhat.com>
9015
9016 * gdb.base/completion.exp: Adjust expected output.
9017 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9018 the completer works.
9019
c6756f62
PA
90202017-07-17 Pedro Alves <palves@redhat.com>
9021
9022 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9023
5bd68487
AB
90242017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9025
9026 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9027
8880f2a9
TT
90282017-07-14 Tom Tromey <tom@tromey.com>
9029
9030 PR rust/21764:
9031 * gdb.rust/simple.exp: Add tests.
9032
65547233
TT
90332017-07-14 Tom Tromey <tom@tromey.com>
9034
9035 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9036
8f14146e
PA
90372017-07-14 Pedro Alves <palves@redhat.com>
9038
9039 * gdb.linespec/base/one/thefile.cc (z1): New function.
9040 * gdb.linespec/base/two/thefile.cc (z2): New function.
9041 * gdb.linespec/linespec.exp: Add tests.
9042
b4365d02
AB
90432017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9044
9045 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9046 to mi_create_breakpoint.
9047
5d2cbaa5
AB
90482017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9049
9050 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9051 mi_create_breakpoint.
9052
11cb5716
IB
90532017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9054
9055 * gdb.dlang/demangle.exp: Update for demangling changes.
9056
03278692
TT
90572017-07-09 Tom Tromey <tom@tromey.com>
9058
9059 * gdb.dwarf2/shortpiece.exp: New file.
9060
33c5cd75
DB
90612017-07-06 David Blaikie <dblaikie@gmail.com>
9062
9063 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9064 built from fissiont-multi-cu{1,2}.c.
9065 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9066 except putting 'main' and 'func' in separate CUs in the same DWO file.
9067 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9068 test.
9069 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9070 test.
9071
8455d262
PA
90722017-07-06 Pedro Alves <palves@redhat.com>
9073
9074 * gdb.python/py-unwind.exp: Test flushregs.
9075
dc4bde35
SDJ
90762017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9077
9078 PR cli/21688
9079 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9080 tests for alias commands and trailing whitespace.
9081
51ed89aa
SDJ
90822017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9083
9084 PR cli/21688
9085 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9086 procedure. Call it.
9087
eb17d413
PA
90882017-06-29 Pedro Alves <palves@redhat.com>
9089
9090 * gdb.base/printcmds.exp: Add tests.
9091
41664b45
DG
90922017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9093
9094 PR gdb/21337
9095 * gdb.base/reread-readsym.exp: New file.
9096 * gdb.base/reread-readsym.c: New file.
9097
75312ae3
KB
90982017-06-21 Kevin Buettner <kevinb@redhat.com>
9099
9100 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9101 subpattern.
9102
66953522
PB
91032017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9104
9105 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9106 extended mnemonic.
9107 * gdb.arch/powerpc-power9.s: Likewise.
9108
5524b525
AA
91092017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9110
9111 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9112 on 32-bit x86 targets. Exploit is_*_target macros where
9113 appropriate.
9114
03c8af18
AA
91152017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9116
9117 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9118 register pieces.
9119
3bf31011
AA
91202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9121
9122 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9123 located in one or more DWARF pieces.
9124
805acca0
AA
91252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9126
9127 * lib/gdb.exp (get_endianness): New proc.
9128 * gdb.arch/aarch64-fp.exp: Use it.
9129 * gdb.arch/altivec-regs.exp: Likewise.
9130 * gdb.arch/e500-regs.exp: Likewise.
9131 * gdb.arch/vsx-regs.exp: Likewise.
9132 * gdb.base/dump.exp: Likewise.
9133 * gdb.base/funcargs.exp: Likewise.
9134 * gdb.base/gnu_vector.exp: Likewise.
9135 * gdb.dwarf2/formdata16.exp: Likewise.
9136 * gdb.dwarf2/implptrpiece.exp: Likewise.
9137 * gdb.dwarf2/nonvar-access.exp: Likewise.
9138 * gdb.python/py-inferior.exp: Likewise.
9139 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9140
e9352324
AA
91412017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9142
9143 PR gdb/21226
9144 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9145 stack value pieces are taken from the LSB end.
9146
d5d1163e
AA
91472017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9148
9149 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9150 variable at nonzero offset.
9151
0567c986
AA
91522017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9153
9154 * gdb.dwarf2/var-access.c: New file.
9155 * gdb.dwarf2/var-access.exp: New test.
9156 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9157
973e9aab
TT
91582017-06-12 Tom Tromey <tom@tromey.com>
9159
9160 * gdb.dwarf2/formdata16.exp: Add tests.
9161
d9109c80
TT
91622017-06-12 Tom Tromey <tom@tromey.com>
9163
9164 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9165
30a25466
TT
91662017-06-12 Tom Tromey <tom@tromey.com>
9167
9168 PR exp/16225:
9169 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9170 * gdb.arch/vsx-regs.exp: Update tests.
9171 * gdb.arch/s390-vregs.exp (hex128): New proc.
9172 Update test.
9173 * gdb.arch/altivec-regs.exp: Update tests.
9174
aefd8b33
SDJ
91752017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9176
9177 * gdb.base/startup-with-shell.c: New file.
9178 * gdb.base/startup-with-shell.exp: Likewise.
9179
2090129c
SDJ
91802017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9181
9182 * gdb.server/non-existing-program.exp: Update regex in order to
9183 reflect the fact that gdbserver is now using fork_inferior (with a
9184 shell) to startup the inferior.
9185
8e86a419
SM
91862017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9187
9188 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9189 support function calls from GDB.
9190
e6cf65f2
TT
91912017-05-21 Tom Tromey <tom@tromey.com>
9192
9193 PR rust/21466:
9194 * gdb.rust/unsized.exp: New file.
9195 * gdb.rust/unsized.rs: New file.
9196
43cc5389
TT
91972017-05-19 Tom Tromey <tom@tromey.com>
9198
9199 PR rust/21484:
9200 * gdb.rust/watch.exp: New file.
9201 * gdb.rust/watch.rs: New file.
9202
ec8df234
TT
92032017-05-18 Tom Tromey <tom@tromey.com>
9204
9205 * gdb.rust/simple.exp: Allow Box to be qualified.
9206
3e3e7fae
TP
92072017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9208
9209 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9210
59cc050d
PA
92112017-05-18 Pedro Alves <palves@redhat.com>
9212
9213 * gdb.base/fileio.c (test_write, test_read, test_close)
9214 (test_fstat): Don't print 'ret' in the fail path.
9215
c8f6abd1
PA
92162017-05-18 Pedro Alves <palves@redhat.com>
9217
9218 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9219 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9220 (test_system, test_rename, test_unlink, test_time): Change
9221 prototypes.
9222 * gdb.base/fileio.exp (stop_msg): Adjust.
9223
d2a03b77
PA
92242017-05-18 Pedro Alves <palves@redhat.com>
9225
9226 * gdb.base/fileio.c (null_str): New global.
9227 (test_stat): Use it.
9228 * gdb.base/fileio.exp: Remove nowarnings.
9229
0d5c6999
YQ
92302017-05-17 Yao Qi <yao.qi@linaro.org>
9231
9232 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9233
21873064
YQ
92342017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9235
9236 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9237 argument command.
9238 (top-level): Invoke test_set_inferior_tty.
9239
d512d31c
PA
92402017-05-04 Pedro Alves <palves@redhat.com>
9241
9242 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9243 Add parens to print call for Python 3.
9244
90cef2ed
KS
92452017-05-03 Keith Seitz <keiths@redhat.com>
9246
9247 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9248 (main): Call it.
9249
14f819c8
TW
92502017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9251
9252 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9253 to prev and next.
9254
913aeadd
TW
92552017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9256
9257 * gdb.python/py-record-btrace.exp: Remove test for
9258 gdb.BtraceInstruction.error.
9259
a3be24ad
TW
92602017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9261
9262 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9263
ae20e79a
TW
92642017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9265
9266 * gdb.python/py-record-btrace-threads.c: New file.
9267 * gdb.python/py-record-btrace-threads.exp: New file.
9268
45ce1b47
SDJ
92692017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9270
9271 PR testsuite/8595
9272 * gdb.base/environ.exp: Make test available in all architectures.
9273 Move bits related to "info program" testing to
9274 gdb.base/info-program.exp. Rewrite tests to use the two new
9275 procedures mentione below.
9276 (test_set_show_env_var) New procedure.
9277 (test_set_show_env_var_equal): Likewise.
9278 * gdb.base/info-program.exp: New file.
9279
e15c3eb4
KS
92802017-04-27 Keith Seitz <keiths@redhat.com>
9281
9282 * gdb.cp/oranking.cc (test15): New function.
9283 (main): Call test15 and declare additional variables for testing.
9284 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9285 "p foo101('abc')" tests.
9286 Add tests for cv qualifier overloads.
9287 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9288 "lvalue reference overload" test.
9289 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9290 "print value of f1 on Child&& in f2" test.
9291
3a3fd0fd
PA
92922017-04-19 Pedro Alves <palves@redhat.com>
9293
9294 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9295 procedure.
9296 (top level): Call it.
9297 * lib/gdb.exp (gdb_define_cmd): New procedure.
9298
53375380
PA
92992017-04-12 Pedro Alves <palves@redhat.com>
9300
9301 PR gdb/21323
9302 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9303 (wchar): New global.
9304 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9305 (do_test_wide_char, wide_char_types_no_program, top level): Add
9306 wchar_t testing.
9307
53e710ac
PA
93082017-04-12 Pedro Alves <palves@redhat.com>
9309
9310 PR c++/21323
9311 * gdb.cp/wide_char_types.c: New file.
9312 * gdb.cp/wide_char_types.exp: New file.
9313
0ad9d8c7
SDJ
93142017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9315
9316 PR gdb/21352
9317 * gdb.trace/tsv.exp: Add test for "tsave -r".
9318
b1b45502
IB
93192017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9320
9321 * gdb.dlang/watch-loc.c: New file.
9322 * gdb.dlang/watch-loc.exp: New file.
9323
ec13808e
JK
93242017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9325
9326 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9327
fe5f7374
AK
93282017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9329
9330 * gdb.arch/arc-analyze-prologue.S: New file.
9331 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9332
eea78757
AK
93332017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9334
9335 * gdb.arch/arc-decode-insn.S: New file.
9336 * gdb.arch/arc-decode-insn.exp: Likewise.
9337
5badf10a
IR
93382017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9339
9340 PR tdep/20928
9341 * gdb.arch/sparc64-regs.exp: New file.
9342 * gdb.arch/sparc64-regs.S: Likewise.
9343
cee59b3f
TW
93442017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9345
9346 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9347 and memory view on Python 3.
9348
c0f55cc6
AV
93492017-03-20 Artemiy Volkov <artemiyv@acm.org>
9350 Keith Seitz <keiths@redhat.com>
9351
9352 PR gdb/14441
9353 * gdb.cp/demangle.exp: Add rvalue reference tests.
9354 * gdb.cp/rvalue-ref-casts.cc: New file.
9355 * gdb.cp/rvalue-ref-casts.exp: New file.
9356 * gdb.cp/rvalue-ref-overload.cc: New file.
9357 * gdb.cp/rvalue-ref-overload.exp: New file.
9358 * gdb.cp/rvalue-ref-params.cc: New file.
9359 * gdb.cp/rvalue-ref-params.exp: New file.
9360 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9361 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9362 * gdb.cp/rvalue-ref-types.cc: New file.
9363 * gdb.cp/rvalue-ref-types.exp: New file.
9364 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9365 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9366
51457a05
MAL
93672017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9368
9369 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9370 New procedure.
9371
5b291c04
MAL
93722017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9373
9374 * lib/mi-support.exp (mi_gdb_test): Add additional message
9375 for unexpected output.
9376
59a56148
AA
93772017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9378
9379 * gdb.base/examine-backward.c (Barrier): New character array
9380 constant, to ensure that TestStrings is preceded by a string
9381 terminator.
9382
7942e96e
AA
93832017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9384
9385 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9386 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9387 and implicit pointer into such a location.
9388
6ebac3fb
DE
93892017-03-16 Doug Evans <dje@google.com>
9390
9391 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9392
ec3b243d
TP
93932017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9394
9395 * gdb.cp/m-static.exp: Fix expectation for prototype of
9396 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
9397
93982017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
9399
9400 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9401 * gdb.guile/scm-lazy-string.c: New file.
9402 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9403 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9404 for pointer, array, typedef lazy strings.
9405
2cc36e25 94062017-03-16 Doug Evans <dje@google.com>
34b43320
DE
9407
9408 PR python/17728, python/18439, python/18779
9409 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9410 * gdb.python/py-lazy-string.c (pointer): New typedef.
9411 (main): New locals ptr, array, typedef_ptr.
9412 * gdb.python/py-value.exp: Move lazy string tests to ...
9413 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9414 array, typedef lazy strings.
ec3b243d 9415
0efcde63
AK
94162017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9417
9418 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9419 Add optional 'test' parameter.
9420
7978d7c3
SM
94212017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9422
9423 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9424 Skip for versions of DejaGnu < 1.5.
9425
896c0c1e
SM
94262017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9427
9428 * lib/gdb.exp (dejagnu_version): New proc.
9429 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9430 Use dejagnu_version.
9431
5f4d1085
KS
94322017-03-10 Keith Seitz <keiths@redhat.com>
9433
9434 PR c++/8128
9435 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9436 type from destructor regexps.
9437 Add a branch which actually passes the test.
9438 Adjust "ptype t5i" test names.
9439
1de05205
PA
94402017-03-08 Pedro Alves <palves@redhat.com>
9441
9442 * gdb.base/step-over-exit.exp: Add explicit test message.
9443
c65d6b55
PA
94442017-03-08 Pedro Alves <palves@redhat.com>
9445
9446 PR gdb/18360
9447 * gdb.threads/interrupt-while-step-over.c: New file.
9448 * gdb.threads/interrupt-while-step-over.exp: New file.
9449
2e86a283
PA
94502017-03-08 Pedro Alves <palves@redhat.com>
9451
9452 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9453 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9454
25dcbff6
PA
94552017-03-08 Pedro Alves <palves@redhat.com>
9456
9457 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9458 PKRU as not supported as a PASS.
9459
dc9366eb
PA
94602017-03-08 Pedro Alves <palves@redhat.com>
9461
9462 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9463 prefix instead of $binfile1/$binfile2.
9464 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9465 in test message.
9466 * gdb.python/py-completion.exp: Use "load python file" as test
9467 messages instead of unstable path names.
9468
6e5d74e7
PA
94692017-03-08 Pedro Alves <palves@redhat.com>
9470 Jan Kratochvil <jan.kratochvil@redhat.com>
9471
9472 PR cli/21218
9473 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9474 New proc.
9475 (top level): Call it.
9476
9753a2f6
PA
94772017-03-08 Pedro Alves <palves@redhat.com>
9478
9479 PR tui/21216
9480 * gdb.tui/tui-nl-filtered-output.exp: New file.
9481
1a4dd9dd
PA
94822017-03-08 Pedro Alves <palves@redhat.com>
9483
9484 * gdb.base/completion.exp: Move TUI completion tests to ...
9485 * gdb.tui/completion.exp: ... this new file.
9486
7cbbff33
PA
94872017-03-08 Pedro Alves <palves@redhat.com>
9488
9489 * gdb.base/tui-disasm-long-lines.c,
9490 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9491 gdb.base/tui-layout.exp: Move to ...
9492 * gdb.tui/: ... this new directory.
9493
5f6fd321
PA
94942017-03-07 Pedro Alves <palves@redhat.com>
9495
9496 * gdb.base/tui-layout.c: New file.
9497 * gdb.base/tui-layout.exp: New file.
9498
44959fa8
PA
94992017-03-07 Pedro Alves <palves@redhat.com>
9500
9501 * gdb.base/tui-layout.c: Rename to ...
9502 * gdb.base/tui-disasm-long-lines.c: ... this.
9503 * gdb.base/tui-layout.exp: Rename to ...
9504 * gdb.base/tui-disasm-long-lines.exp: ... this.
9505
f8c4e718
PA
95062017-03-07 Pedro Alves <palves@redhat.com>
9507
9508 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9509
6dbb839a 95102017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
9511
9512 * i386-mpx-call.c: New file.
9513 * i386-mpx-call.exp: New file.
9514
65b48a81
PB
95152017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9516
9517 * gdb.arch/powerpc-power.exp: Delete test.
9518 * gdb.arch/powerpc-power.s: Likewise.
9519 * gdb.disasm/disassembler-options.exp: New test.
9520 * gdb.arch/powerpc-altivec.exp: Likewise.
9521 * gdb.arch/powerpc-altivec.s: Likewise.
9522 * gdb.arch/powerpc-altivec2.exp: Likewise.
9523 * gdb.arch/powerpc-altivec2.s: Likewise.
9524 * gdb.arch/powerpc-altivec3.exp: Likewise.
9525 * gdb.arch/powerpc-altivec3.s: Likewise.
9526 * gdb.arch/powerpc-power7.exp: Likewise.
9527 * gdb.arch/powerpc-power7.s: Likewise.
9528 * gdb.arch/powerpc-power8.exp: Likewise.
9529 * gdb.arch/powerpc-power8.s: Likewise.
9530 * gdb.arch/powerpc-power9.exp: Likewise.
9531 * gdb.arch/powerpc-power9.s: Likewise.
9532 * gdb.arch/powerpc-vsx.exp: Likewise.
9533 * gdb.arch/powerpc-vsx.s: Likewise.
9534 * gdb.arch/powerpc-vsx2.exp: Likewise.
9535 * gdb.arch/powerpc-vsx2.s: Likewise.
9536 * gdb.arch/powerpc-vsx3.exp: Likewise.
9537 * gdb.arch/powerpc-vsx3.s: Likewise.
9538 * gdb.arch/arm-disassembler-options.exp: Likewise.
9539 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9540 * gdb.arch/s390-disassembler-options.exp: Likewise.
9541
17cd4947
LM
95422017-02-23 Luis Machado <lgustavo@codesourcery.com>
9543
9544 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9545 (check_supported_features): ... this. Changed return type to void.
9546 (supports_rdseed): New static global.
9547 (rdseed): Check supports_rdseed.
9548 (initialize): Call check_supported_features.
9549
2039d74e
EBM
95502017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9551
9552 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9553 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9554 and lqarx/stqcx.
9555 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9556 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9557
a51d7ecf
EBM
95582017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9559
9560 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9561 uppercase.
9562
0224619f
JK
95632017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9564
9565 * gdb.dwarf2/formdata16.c: New file.
9566 * gdb.dwarf2/formdata16.exp: New file.
9567 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9568
216f72a1
JK
95692017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9570
9571 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9572 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9573 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9574 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9575 DW_AT_GNU_*.
9576
43988095
JK
95772017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9578
9579 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9580
99e8a4f9
SDJ
95812017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9582
9583 PR gdb/21164
9584 * gdb.base/maint.exp: Add testcases for when the commands do
9585 not have arguments.
9586
b58a8c0c
TP
95872017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9588
9589 * gdb.cp/chained-calls.exp: Use p instead of P.
9590
4e746bb6
TW
95912017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9592
9593 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9594 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9595
3f77c769
TT
95962017-02-14 Tom Tromey <tom@tromey.com>
9597
9598 PR python/13598:
9599 * gdb.python/py-events.exp: Add before_prompt event tests.
9600
075beec0
AA
96012017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9602
9603 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9604
bf5f525c
LM
96052017-02-13 Luis Machado <lgustavo@codesourcery.com>
9606
9607 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9608 (main): Call my_unique_function_name.
9609 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9610 completion of patterns with a single match.
9611 Add missing -re switches to gdb_test_multiple calls.
9612
13a66184
LM
96132017-02-13 Luis Machado <lgustavo@codesourcery.com>
9614
9615 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9616 return if core file is not recognized.
9617
26a06916
SM
96182017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9619
9620 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9621 and extra UIs.
9622
b761ca9e
SM
96232017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9624
9625 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9626 proc_with_prefix.
9627
b964bee0
TT
96282017-02-10 Tom Tromey <tom@tromey.com>
9629
9630 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9631
18da0c51
MG
96322017-02-10 Martin Galvan <martingalvan@sourceware.org>
9633
9634 PR gdb/21122
9635 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9636
604c4576
JG
96372017-02-08 Jerome Guitton <guitton@adacore.com>
9638
9639 * gdb.base/define.exp: Add test for command abbreviations
9640 in define.
9641
20b477a7
LM
96422017-02-06 Luis Machado <lgustavo@codesourcery.com>
9643
9644 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9645 * gdb.reverse/insn-reverse-x86.c: New file.
9646
3f7b46f2
IR
96472017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9648
9649 PR tdep/20936
9650 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9651
f0fd41c1
TT
96522017-02-03 Tom Tromey <tom@tromey.com>
9653
9654 PR rust/21097:
9655 * gdb.rust/simple.exp: Add new tests.
9656
5be5dbf0
PA
96572017-02-02 Pedro Alves <palves@redhat.com>
9658
9659 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9660 tests.
9661
7346ef59
AA
96622017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9663
9664 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9665 taking a 2-byte value out of a 4-byte DWARF implicit value on
9666 big-endian targets.
9667 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9668 logic. Add test cases for DW_OP_implicit.
9669
787f0025
MM
96702017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9671
9672 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9673
68777c29
MM
96742017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9675
9676 * gdb.btrace/enable.exp: Call gdb_exit before
9677 skip_gdbserver_tests.
9678
0a1c7e28
MM
96792017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9680
9681 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9682 GDBFLAGS.
9683
b5ac99b0
MM
96842017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9685
9686 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9687 the test is skipped.
9688 * gdb.btrace/data.exp: Likewise.
9689 * gdb.btrace/delta.exp: Likewise.
9690 * gdb.btrace/dlopen.exp: Likewise.
9691 * gdb.btrace/enable-running.exp: Likewise.
9692 * gdb.btrace/enable.exp: Likewise.
9693 * gdb.btrace/exception.exp: Likewise.
9694 * gdb.btrace/function_call_history.exp: Likewise.
9695 * gdb.btrace/gcore.exp: Likewise.
9696 * gdb.btrace/instruction_history.exp: Likewise.
9697 * gdb.btrace/multi-thread-step.exp: Likewise.
9698 * gdb.btrace/nohist.exp: Likewise.
9699 * gdb.btrace/non-stop.exp: Likewise.
9700 * gdb.btrace/reconnect.exp: Likewise.
9701 * gdb.btrace/record_goto-step.exp: Likewise.
9702 * gdb.btrace/record_goto.exp: Likewise.
9703 * gdb.btrace/rn-dl-bind.exp: Likewise.
9704 * gdb.btrace/segv.exp: Likewise.
9705 * gdb.btrace/step.exp: Likewise.
9706 * gdb.btrace/stepi.exp: Likewise.
9707 * gdb.btrace/tailcall-only.exp: Likewise.
9708 * gdb.btrace/tailcall.exp: Likewise.
9709 * gdb.btrace/tsx.exp: Likewise.
9710 * gdb.btrace/unknown_functions.exp: Likewise.
9711 * gdb.btrace/vdso.exp: Likewise.
9712
cd4007e4
MM
97132017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9714
9715 * gdb.btrace/enable-running.c: New.
9716 * gdb.btrace/enable-running.exp: New.
9717
2735833d
WT
97182017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9719
9720 * gdb.arch/amd64-gs_base.c: New file.
9721 * gdb.arch/amd64-gs_base.exp: New file.
9722
b51e1e94
LM
97232017-01-26 Luis Machado <lgustavo@codesourcery.com>
9724
9725 * lib/memory.exp: Remove spurious empty newlines.
9726
72ca0410
SM
97272017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9728
9729 * gdb.python/py-bad-printers.exp: Load python file using "source".
9730 * gdb.python/py-events.exp: Likewise.
9731 * gdb.python/py-evsignal.exp: Likewise.
9732 * gdb.python/py-evthreads.exp: Likewise.
9733 * gdb.python/py-frame-args.exp: Likewise.
9734 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9735 * gdb.python/py-framefilter-mi.exp: Likewise.
9736 * gdb.python/py-framefilter.exp: Likewise.
9737 * gdb.python/py-mi.exp: Likewise.
9738 * gdb.python/py-pp-maint.exp: Likewise.
9739 * gdb.python/py-pp-registration.exp: Likewise.
9740 * gdb.python/py-prettyprint.exp: Likewise.
9741 (run_lang_tests): Likewise.
9742 * gdb.python/py-typeprint.exp: Likewise.
9743
e309aa65
LM
97442017-01-26 Luis Machado <lgustavo@codesourcery.com>
9745
9746 * lib/memory.exp: New file.
9747 * lib/gdb.exp: Load memory.exp.
9748 * gdb.base/memattr.exp (delete_memory): Move proc to
9749 lib/memory.exp and rename to delete_memory_regions.
9750 Replace delete_memory with delete_memory_regions.
9751 Cleanup memory regions before tests.
9752 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9753 before tests.
9754
515aff23
LM
97552017-01-26 Luis Machado <lgustavo@codesourcery.com>
9756
9757 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9758 files.
9759 (initialize): New function conditionally defined.
9760 (testcases): Move within conditional block.
9761 (main): Call initialize.
9762 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9763 of gdb.reverse/insn-reverse.c.
9764 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9765 gdb.reverse/insn-reverse.c.
9766
d8b49cf0
YQ
97672017-01-26 Yao Qi <yao.qi@linaro.org>
9768
9769 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9770 disassemble on address 0.
9771
f13a9a0c
YQ
97722017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9773 Yao Qi <yao.qi@linaro.org>
9774
9775 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9776 * gdb.dwarf2/implptr-64bit.S: Remove.
9777 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9778 variables in caller's context. Add DW_OP_implicit_value.
9779
5ac95241
YQ
97802017-01-25 Yao Qi <yao.qi@linaro.org>
9781
9782 * lib/dwarf.exp (Dwarf::_location): Handle
9783 DW_OP_GNU_implicit_pointer with proper size.
9784
23e82930
LM
97852017-01-20 Luis Machado <lgustavo@codesourcery.com>
9786
9787 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9788 and add untested calls.
9789
d334ae25
LM
97902017-01-20 Luis Machado <lgustavo@codesourcery.com>
9791
9792 * gdb.python/python.exp: Check line number against what GDB thinks
9793 the line number is for func1.
9794
f5e6296e
IB
97952017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9796
9797 * gdb.dlang/debug-expr.exp: New file.
9798
5b362f04
LM
97992016-12-23 Luis Machado <lgustavo@codesourcery.com>
9800
9801 Fix test names for the following files:
9802
9803 * gdb.ada/exec_changed.exp
9804 * gdb.ada/info_types.exp
9805 * gdb.arch/aarch64-atomic-inst.exp
9806 * gdb.arch/aarch64-fp.exp
9807 * gdb.arch/altivec-abi.exp
9808 * gdb.arch/altivec-regs.exp
9809 * gdb.arch/amd64-byte.exp
9810 * gdb.arch/amd64-disp-step.exp
9811 * gdb.arch/amd64-dword.exp
9812 * gdb.arch/amd64-entry-value-inline.exp
9813 * gdb.arch/amd64-entry-value-param.exp
9814 * gdb.arch/amd64-entry-value-paramref.exp
9815 * gdb.arch/amd64-entry-value.exp
9816 * gdb.arch/amd64-i386-address.exp
9817 * gdb.arch/amd64-invalid-stack-middle.exp
9818 * gdb.arch/amd64-invalid-stack-top.exp
9819 * gdb.arch/amd64-optimout-repeat.exp
9820 * gdb.arch/amd64-prologue-skip.exp
9821 * gdb.arch/amd64-prologue-xmm.exp
9822 * gdb.arch/amd64-stap-special-operands.exp
9823 * gdb.arch/amd64-stap-wrong-subexp.exp
9824 * gdb.arch/amd64-tailcall-cxx.exp
9825 * gdb.arch/amd64-tailcall-noret.exp
9826 * gdb.arch/amd64-tailcall-ret.exp
9827 * gdb.arch/amd64-tailcall-self.exp
9828 * gdb.arch/amd64-word.exp
9829 * gdb.arch/arm-bl-branch-dest.exp
9830 * gdb.arch/arm-disp-step.exp
9831 * gdb.arch/arm-neon.exp
9832 * gdb.arch/arm-single-step-kernel-helper.exp
9833 * gdb.arch/avr-flash-qualifier.exp
9834 * gdb.arch/disp-step-insn-reloc.exp
9835 * gdb.arch/e500-abi.exp
9836 * gdb.arch/e500-regs.exp
9837 * gdb.arch/ftrace-insn-reloc.exp
9838 * gdb.arch/i386-avx512.exp
9839 * gdb.arch/i386-bp_permanent.exp
9840 * gdb.arch/i386-byte.exp
9841 * gdb.arch/i386-cfi-notcurrent.exp
9842 * gdb.arch/i386-disp-step.exp
9843 * gdb.arch/i386-dr3-watch.exp
9844 * gdb.arch/i386-float.exp
9845 * gdb.arch/i386-gnu-cfi.exp
9846 * gdb.arch/i386-mpx-map.exp
9847 * gdb.arch/i386-mpx-sigsegv.exp
9848 * gdb.arch/i386-mpx-simple_segv.exp
9849 * gdb.arch/i386-mpx.exp
9850 * gdb.arch/i386-permbkpt.exp
9851 * gdb.arch/i386-prologue.exp
9852 * gdb.arch/i386-signal.exp
9853 * gdb.arch/i386-size-overlap.exp
9854 * gdb.arch/i386-unwind.exp
9855 * gdb.arch/i386-word.exp
9856 * gdb.arch/mips-fcr.exp
9857 * gdb.arch/powerpc-d128-regs.exp
9858 * gdb.arch/powerpc-stackless.exp
9859 * gdb.arch/ppc64-atomic-inst.exp
9860 * gdb.arch/s390-stackless.exp
9861 * gdb.arch/s390-tdbregs.exp
9862 * gdb.arch/s390-vregs.exp
9863 * gdb.arch/sparc-sysstep.exp
9864 * gdb.arch/thumb-bx-pc.exp
9865 * gdb.arch/thumb-singlestep.exp
9866 * gdb.arch/thumb2-it.exp
9867 * gdb.arch/vsx-regs.exp
9868 * gdb.asm/asm-source.exp
9869 * gdb.base/a2-run.exp
9870 * gdb.base/advance.exp
9871 * gdb.base/all-bin.exp
9872 * gdb.base/anon.exp
9873 * gdb.base/args.exp
9874 * gdb.base/arithmet.exp
9875 * gdb.base/async-shell.exp
9876 * gdb.base/async.exp
9877 * gdb.base/attach-pie-noexec.exp
9878 * gdb.base/attach-twice.exp
9879 * gdb.base/auto-load.exp
9880 * gdb.base/bang.exp
9881 * gdb.base/bitfields.exp
9882 * gdb.base/break-always.exp
9883 * gdb.base/break-caller-line.exp
9884 * gdb.base/break-entry.exp
9885 * gdb.base/break-inline.exp
9886 * gdb.base/break-on-linker-gcd-function.exp
9887 * gdb.base/break-probes.exp
9888 * gdb.base/break.exp
9889 * gdb.base/breakpoint-shadow.exp
9890 * gdb.base/call-ar-st.exp
9891 * gdb.base/call-sc.exp
9892 * gdb.base/call-signal-resume.exp
9893 * gdb.base/call-strs.exp
9894 * gdb.base/callfuncs.exp
9895 * gdb.base/catch-fork-static.exp
9896 * gdb.base/catch-gdb-caused-signals.exp
9897 * gdb.base/catch-load.exp
9898 * gdb.base/catch-signal-fork.exp
9899 * gdb.base/catch-signal.exp
9900 * gdb.base/catch-syscall.exp
9901 * gdb.base/charset.exp
9902 * gdb.base/checkpoint.exp
9903 * gdb.base/chng-syms.exp
9904 * gdb.base/code-expr.exp
9905 * gdb.base/code_elim.exp
9906 * gdb.base/commands.exp
9907 * gdb.base/completion.exp
9908 * gdb.base/complex.exp
9909 * gdb.base/cond-expr.exp
9910 * gdb.base/condbreak.exp
9911 * gdb.base/consecutive.exp
9912 * gdb.base/continue-all-already-running.exp
9913 * gdb.base/coredump-filter.exp
9914 * gdb.base/corefile.exp
9915 * gdb.base/dbx.exp
9916 * gdb.base/debug-expr.exp
9917 * gdb.base/define.exp
9918 * gdb.base/del.exp
9919 * gdb.base/disabled-location.exp
9920 * gdb.base/disasm-end-cu.exp
9921 * gdb.base/disasm-optim.exp
9922 * gdb.base/display.exp
9923 * gdb.base/duplicate-bp.exp
9924 * gdb.base/ena-dis-br.exp
9925 * gdb.base/ending-run.exp
9926 * gdb.base/enumval.exp
9927 * gdb.base/environ.exp
9928 * gdb.base/eu-strip-infcall.exp
9929 * gdb.base/eval-avoid-side-effects.exp
9930 * gdb.base/eval-skip.exp
9931 * gdb.base/exitsignal.exp
9932 * gdb.base/expand-psymtabs.exp
9933 * gdb.base/filesym.exp
9934 * gdb.base/find-unmapped.exp
9935 * gdb.base/finish.exp
9936 * gdb.base/float.exp
9937 * gdb.base/foll-exec-mode.exp
9938 * gdb.base/foll-exec.exp
9939 * gdb.base/foll-fork.exp
9940 * gdb.base/fortran-sym-case.exp
9941 * gdb.base/freebpcmd.exp
9942 * gdb.base/func-ptr.exp
9943 * gdb.base/func-ptrs.exp
9944 * gdb.base/funcargs.exp
9945 * gdb.base/gcore-buffer-overflow.exp
9946 * gdb.base/gcore-relro-pie.exp
9947 * gdb.base/gcore-relro.exp
9948 * gdb.base/gcore.exp
9949 * gdb.base/gdb1090.exp
9950 * gdb.base/gdb11530.exp
9951 * gdb.base/gdb11531.exp
9952 * gdb.base/gdb1821.exp
9953 * gdb.base/gdbindex-stabs.exp
9954 * gdb.base/gdbvars.exp
9955 * gdb.base/hbreak.exp
9956 * gdb.base/hbreak2.exp
9957 * gdb.base/included.exp
9958 * gdb.base/infcall-input.exp
9959 * gdb.base/inferior-died.exp
9960 * gdb.base/infnan.exp
9961 * gdb.base/info-macros.exp
9962 * gdb.base/info-os.exp
9963 * gdb.base/info-proc.exp
9964 * gdb.base/info-shared.exp
9965 * gdb.base/info-target.exp
9966 * gdb.base/infoline.exp
9967 * gdb.base/interp.exp
9968 * gdb.base/interrupt.exp
9969 * gdb.base/jit-reader.exp
9970 * gdb.base/jit-simple.exp
9971 * gdb.base/kill-after-signal.exp
9972 * gdb.base/kill-detach-inferiors-cmd.exp
9973 * gdb.base/label.exp
9974 * gdb.base/langs.exp
9975 * gdb.base/ldbl_e308.exp
9976 * gdb.base/line-symtabs.exp
9977 * gdb.base/linespecs.exp
9978 * gdb.base/list.exp
9979 * gdb.base/long_long.exp
9980 * gdb.base/longest-types.exp
9981 * gdb.base/maint.exp
9982 * gdb.base/max-value-size.exp
9983 * gdb.base/memattr.exp
9984 * gdb.base/mips_pro.exp
9985 * gdb.base/morestack.exp
9986 * gdb.base/moribund-step.exp
9987 * gdb.base/multi-forks.exp
9988 * gdb.base/nested-addr.exp
9989 * gdb.base/nextoverexit.exp
9990 * gdb.base/noreturn-finish.exp
9991 * gdb.base/noreturn-return.exp
9992 * gdb.base/nostdlib.exp
9993 * gdb.base/offsets.exp
9994 * gdb.base/opaque.exp
9995 * gdb.base/pc-fp.exp
9996 * gdb.base/permissions.exp
9997 * gdb.base/print-symbol-loading.exp
9998 * gdb.base/prologue-include.exp
9999 * gdb.base/psymtab.exp
10000 * gdb.base/ptype.exp
10001 * gdb.base/random-signal.exp
10002 * gdb.base/randomize.exp
10003 * gdb.base/range-stepping.exp
10004 * gdb.base/readline-ask.exp
10005 * gdb.base/recpar.exp
10006 * gdb.base/recurse.exp
10007 * gdb.base/relational.exp
10008 * gdb.base/restore.exp
10009 * gdb.base/return-nodebug.exp
10010 * gdb.base/return.exp
10011 * gdb.base/run-after-attach.exp
10012 * gdb.base/save-bp.exp
10013 * gdb.base/scope.exp
10014 * gdb.base/sect-cmd.exp
10015 * gdb.base/set-lang-auto.exp
10016 * gdb.base/set-noassign.exp
10017 * gdb.base/setvar.exp
10018 * gdb.base/sigall.exp
10019 * gdb.base/sigbpt.exp
10020 * gdb.base/siginfo-addr.exp
10021 * gdb.base/siginfo-infcall.exp
10022 * gdb.base/siginfo-obj.exp
10023 * gdb.base/siginfo.exp
10024 * gdb.base/signals-state-child.exp
10025 * gdb.base/signest.exp
10026 * gdb.base/sigstep.exp
10027 * gdb.base/sizeof.exp
10028 * gdb.base/skip.exp
10029 * gdb.base/solib-corrupted.exp
10030 * gdb.base/solib-nodir.exp
10031 * gdb.base/solib-search.exp
10032 * gdb.base/stack-checking.exp
10033 * gdb.base/stale-infcall.exp
10034 * gdb.base/stap-probe.exp
10035 * gdb.base/start.exp
10036 * gdb.base/step-break.exp
10037 * gdb.base/step-bt.exp
10038 * gdb.base/step-line.exp
10039 * gdb.base/step-over-exit.exp
10040 * gdb.base/step-over-syscall.exp
10041 * gdb.base/step-resume-infcall.exp
10042 * gdb.base/step-test.exp
10043 * gdb.base/store.exp
10044 * gdb.base/structs3.exp
10045 * gdb.base/sym-file.exp
10046 * gdb.base/symbol-without-target_section.exp
10047 * gdb.base/term.exp
10048 * gdb.base/testenv.exp
10049 * gdb.base/ui-redirect.exp
10050 * gdb.base/until.exp
10051 * gdb.base/unwindonsignal.exp
10052 * gdb.base/value-double-free.exp
10053 * gdb.base/vla-datatypes.exp
10054 * gdb.base/vla-ptr.exp
10055 * gdb.base/vla-sideeffect.exp
10056 * gdb.base/volatile.exp
10057 * gdb.base/watch-cond-infcall.exp
10058 * gdb.base/watch-cond.exp
10059 * gdb.base/watch-non-mem.exp
10060 * gdb.base/watch-read.exp
10061 * gdb.base/watch-vfork.exp
10062 * gdb.base/watchpoint-cond-gone.exp
10063 * gdb.base/watchpoint-delete.exp
10064 * gdb.base/watchpoint-hw-hit-once.exp
10065 * gdb.base/watchpoint-hw.exp
10066 * gdb.base/watchpoint-stops-at-right-insn.exp
10067 * gdb.base/watchpoints.exp
10068 * gdb.base/wchar.exp
10069 * gdb.base/whatis-exp.exp
10070 * gdb.btrace/buffer-size.exp
10071 * gdb.btrace/data.exp
10072 * gdb.btrace/delta.exp
10073 * gdb.btrace/dlopen.exp
10074 * gdb.btrace/enable.exp
10075 * gdb.btrace/exception.exp
10076 * gdb.btrace/function_call_history.exp
10077 * gdb.btrace/gcore.exp
10078 * gdb.btrace/instruction_history.exp
10079 * gdb.btrace/nohist.exp
10080 * gdb.btrace/reconnect.exp
10081 * gdb.btrace/record_goto-step.exp
10082 * gdb.btrace/record_goto.exp
10083 * gdb.btrace/rn-dl-bind.exp
10084 * gdb.btrace/segv.exp
10085 * gdb.btrace/step.exp
10086 * gdb.btrace/stepi.exp
10087 * gdb.btrace/tailcall-only.exp
10088 * gdb.btrace/tailcall.exp
10089 * gdb.btrace/tsx.exp
10090 * gdb.btrace/unknown_functions.exp
10091 * gdb.btrace/vdso.exp
10092 * gdb.compile/compile-ifunc.exp
10093 * gdb.compile/compile-ops.exp
10094 * gdb.compile/compile-print.exp
10095 * gdb.compile/compile-setjmp.exp
10096 * gdb.cp/abstract-origin.exp
10097 * gdb.cp/ambiguous.exp
10098 * gdb.cp/annota2.exp
10099 * gdb.cp/annota3.exp
10100 * gdb.cp/anon-ns.exp
10101 * gdb.cp/anon-struct.exp
10102 * gdb.cp/anon-union.exp
10103 * gdb.cp/arg-reference.exp
10104 * gdb.cp/baseenum.exp
10105 * gdb.cp/bool.exp
10106 * gdb.cp/breakpoint.exp
10107 * gdb.cp/bs15503.exp
10108 * gdb.cp/call-c.exp
10109 * gdb.cp/casts.exp
10110 * gdb.cp/chained-calls.exp
10111 * gdb.cp/class2.exp
10112 * gdb.cp/classes.exp
10113 * gdb.cp/cmpd-minsyms.exp
10114 * gdb.cp/converts.exp
10115 * gdb.cp/cp-relocate.exp
10116 * gdb.cp/cpcompletion.exp
10117 * gdb.cp/cpexprs.exp
10118 * gdb.cp/cplabel.exp
10119 * gdb.cp/cplusfuncs.exp
10120 * gdb.cp/cpsizeof.exp
10121 * gdb.cp/ctti.exp
10122 * gdb.cp/derivation.exp
10123 * gdb.cp/destrprint.exp
10124 * gdb.cp/dispcxx.exp
10125 * gdb.cp/enum-class.exp
10126 * gdb.cp/exception.exp
10127 * gdb.cp/exceptprint.exp
10128 * gdb.cp/expand-psymtabs-cxx.exp
10129 * gdb.cp/expand-sals.exp
10130 * gdb.cp/extern-c.exp
10131 * gdb.cp/filename.exp
10132 * gdb.cp/formatted-ref.exp
10133 * gdb.cp/fpointer.exp
10134 * gdb.cp/gdb1355.exp
10135 * gdb.cp/gdb2495.exp
10136 * gdb.cp/hang.exp
10137 * gdb.cp/impl-this.exp
10138 * gdb.cp/infcall-dlopen.exp
10139 * gdb.cp/inherit.exp
10140 * gdb.cp/iostream.exp
10141 * gdb.cp/koenig.exp
10142 * gdb.cp/local.exp
10143 * gdb.cp/m-data.exp
10144 * gdb.cp/m-static.exp
10145 * gdb.cp/mb-ctor.exp
10146 * gdb.cp/mb-inline.exp
10147 * gdb.cp/mb-templates.exp
10148 * gdb.cp/member-name.exp
10149 * gdb.cp/member-ptr.exp
10150 * gdb.cp/meth-typedefs.exp
10151 * gdb.cp/method.exp
10152 * gdb.cp/method2.exp
10153 * gdb.cp/minsym-fallback.exp
10154 * gdb.cp/misc.exp
10155 * gdb.cp/namelessclass.exp
10156 * gdb.cp/namespace-enum.exp
10157 * gdb.cp/namespace-nested-import.exp
10158 * gdb.cp/namespace.exp
10159 * gdb.cp/nextoverthrow.exp
10160 * gdb.cp/no-dmgl-verbose.exp
10161 * gdb.cp/non-trivial-retval.exp
10162 * gdb.cp/noparam.exp
10163 * gdb.cp/nsdecl.exp
10164 * gdb.cp/nsimport.exp
10165 * gdb.cp/nsnested.exp
10166 * gdb.cp/nsnoimports.exp
10167 * gdb.cp/nsrecurs.exp
10168 * gdb.cp/nsstress.exp
10169 * gdb.cp/nsusing.exp
10170 * gdb.cp/operator.exp
10171 * gdb.cp/oranking.exp
10172 * gdb.cp/overload-const.exp
10173 * gdb.cp/overload.exp
10174 * gdb.cp/ovldbreak.exp
10175 * gdb.cp/ovsrch.exp
10176 * gdb.cp/paren-type.exp
10177 * gdb.cp/parse-lang.exp
10178 * gdb.cp/pass-by-ref.exp
10179 * gdb.cp/pr-1023.exp
10180 * gdb.cp/pr-1210.exp
10181 * gdb.cp/pr-574.exp
10182 * gdb.cp/pr10687.exp
10183 * gdb.cp/pr12028.exp
10184 * gdb.cp/pr17132.exp
10185 * gdb.cp/pr17494.exp
10186 * gdb.cp/pr9067.exp
10187 * gdb.cp/pr9167.exp
10188 * gdb.cp/pr9631.exp
10189 * gdb.cp/printmethod.exp
10190 * gdb.cp/psmang.exp
10191 * gdb.cp/psymtab-parameter.exp
10192 * gdb.cp/ptype-cv-cp.exp
10193 * gdb.cp/ptype-flags.exp
10194 * gdb.cp/re-set-overloaded.exp
10195 * gdb.cp/ref-types.exp
10196 * gdb.cp/rtti.exp
10197 * gdb.cp/scope-err.exp
10198 * gdb.cp/shadow.exp
10199 * gdb.cp/smartp.exp
10200 * gdb.cp/static-method.exp
10201 * gdb.cp/static-print-quit.exp
10202 * gdb.cp/temargs.exp
10203 * gdb.cp/templates.exp
10204 * gdb.cp/try_catch.exp
10205 * gdb.cp/typedef-operator.exp
10206 * gdb.cp/typeid.exp
10207 * gdb.cp/userdef.exp
10208 * gdb.cp/using-crash.exp
10209 * gdb.cp/var-tag.exp
10210 * gdb.cp/virtbase.exp
10211 * gdb.cp/virtfunc.exp
10212 * gdb.cp/virtfunc2.exp
10213 * gdb.cp/vla-cxx.exp
10214 * gdb.disasm/t01_mov.exp
10215 * gdb.disasm/t02_mova.exp
10216 * gdb.disasm/t03_add.exp
10217 * gdb.disasm/t04_sub.exp
10218 * gdb.disasm/t05_cmp.exp
10219 * gdb.disasm/t06_ari2.exp
10220 * gdb.disasm/t07_ari3.exp
10221 * gdb.disasm/t08_or.exp
10222 * gdb.disasm/t09_xor.exp
10223 * gdb.disasm/t10_and.exp
10224 * gdb.disasm/t11_logs.exp
10225 * gdb.disasm/t12_bit.exp
10226 * gdb.disasm/t13_otr.exp
10227 * gdb.dlang/circular.exp
10228 * gdb.dwarf2/arr-stride.exp
10229 * gdb.dwarf2/arr-subrange.exp
10230 * gdb.dwarf2/atomic-type.exp
10231 * gdb.dwarf2/bad-regnum.exp
10232 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10233 * gdb.dwarf2/callframecfa.exp
10234 * gdb.dwarf2/clztest.exp
10235 * gdb.dwarf2/corrupt.exp
10236 * gdb.dwarf2/data-loc.exp
10237 * gdb.dwarf2/dup-psym.exp
10238 * gdb.dwarf2/dw2-anon-mptr.exp
10239 * gdb.dwarf2/dw2-anonymous-func.exp
10240 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10241 * gdb.dwarf2/dw2-bad-unresolved.exp
10242 * gdb.dwarf2/dw2-basic.exp
10243 * gdb.dwarf2/dw2-canonicalize-type.exp
10244 * gdb.dwarf2/dw2-case-insensitive.exp
10245 * gdb.dwarf2/dw2-common-block.exp
10246 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10247 * gdb.dwarf2/dw2-compressed.exp
10248 * gdb.dwarf2/dw2-const.exp
10249 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10250 * gdb.dwarf2/dw2-cu-size.exp
10251 * gdb.dwarf2/dw2-dup-frame.exp
10252 * gdb.dwarf2/dw2-entry-value.exp
10253 * gdb.dwarf2/dw2-icycle.exp
10254 * gdb.dwarf2/dw2-ifort-parameter.exp
10255 * gdb.dwarf2/dw2-inline-break.exp
10256 * gdb.dwarf2/dw2-inline-param.exp
10257 * gdb.dwarf2/dw2-intercu.exp
10258 * gdb.dwarf2/dw2-intermix.exp
10259 * gdb.dwarf2/dw2-lexical-block-bare.exp
10260 * gdb.dwarf2/dw2-linkage-name-trust.exp
10261 * gdb.dwarf2/dw2-minsym-in-cu.exp
10262 * gdb.dwarf2/dw2-noloc.exp
10263 * gdb.dwarf2/dw2-op-call.exp
10264 * gdb.dwarf2/dw2-op-out-param.exp
10265 * gdb.dwarf2/dw2-opt-structptr.exp
10266 * gdb.dwarf2/dw2-param-error.exp
10267 * gdb.dwarf2/dw2-producer.exp
10268 * gdb.dwarf2/dw2-ranges-base.exp
10269 * gdb.dwarf2/dw2-ref-missing-frame.exp
10270 * gdb.dwarf2/dw2-reg-undefined.exp
10271 * gdb.dwarf2/dw2-regno-invalid.exp
10272 * gdb.dwarf2/dw2-restore.exp
10273 * gdb.dwarf2/dw2-restrict.exp
10274 * gdb.dwarf2/dw2-single-line-discriminators.exp
10275 * gdb.dwarf2/dw2-strp.exp
10276 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10277 * gdb.dwarf2/dw2-unresolved.exp
10278 * gdb.dwarf2/dw2-var-zero-addr.exp
10279 * gdb.dwarf2/dw4-sig-types.exp
10280 * gdb.dwarf2/dwz.exp
10281 * gdb.dwarf2/dynarr-ptr.exp
10282 * gdb.dwarf2/enum-type.exp
10283 * gdb.dwarf2/gdb-index.exp
10284 * gdb.dwarf2/implptr-64bit.exp
10285 * gdb.dwarf2/implptr-optimized-out.exp
10286 * gdb.dwarf2/implptr.exp
10287 * gdb.dwarf2/implref-array.exp
10288 * gdb.dwarf2/implref-const.exp
10289 * gdb.dwarf2/implref-global.exp
10290 * gdb.dwarf2/implref-struct.exp
10291 * gdb.dwarf2/mac-fileno.exp
10292 * gdb.dwarf2/main-subprogram.exp
10293 * gdb.dwarf2/member-ptr-forwardref.exp
10294 * gdb.dwarf2/method-ptr.exp
10295 * gdb.dwarf2/missing-sig-type.exp
10296 * gdb.dwarf2/nonvar-access.exp
10297 * gdb.dwarf2/opaque-type-lookup.exp
10298 * gdb.dwarf2/pieces-optimized-out.exp
10299 * gdb.dwarf2/pieces.exp
10300 * gdb.dwarf2/pr10770.exp
10301 * gdb.dwarf2/pr13961.exp
10302 * gdb.dwarf2/staticvirtual.exp
10303 * gdb.dwarf2/subrange.exp
10304 * gdb.dwarf2/symtab-producer.exp
10305 * gdb.dwarf2/trace-crash.exp
10306 * gdb.dwarf2/typeddwarf.exp
10307 * gdb.dwarf2/valop.exp
10308 * gdb.dwarf2/watch-notconst.exp
10309 * gdb.fortran/array-element.exp
10310 * gdb.fortran/charset.exp
10311 * gdb.fortran/common-block.exp
10312 * gdb.fortran/complex.exp
10313 * gdb.fortran/derived-type-function.exp
10314 * gdb.fortran/derived-type.exp
10315 * gdb.fortran/logical.exp
10316 * gdb.fortran/module.exp
10317 * gdb.fortran/multi-dim.exp
10318 * gdb.fortran/nested-funcs.exp
10319 * gdb.fortran/print-formatted.exp
10320 * gdb.fortran/subarray.exp
10321 * gdb.fortran/vla-alloc-assoc.exp
10322 * gdb.fortran/vla-datatypes.exp
10323 * gdb.fortran/vla-history.exp
10324 * gdb.fortran/vla-ptr-info.exp
10325 * gdb.fortran/vla-ptype-sub.exp
10326 * gdb.fortran/vla-ptype.exp
10327 * gdb.fortran/vla-sizeof.exp
10328 * gdb.fortran/vla-type.exp
10329 * gdb.fortran/vla-value-sub-arbitrary.exp
10330 * gdb.fortran/vla-value-sub-finish.exp
10331 * gdb.fortran/vla-value-sub.exp
10332 * gdb.fortran/vla-value.exp
10333 * gdb.fortran/whatis_type.exp
10334 * gdb.go/chan.exp
10335 * gdb.go/handcall.exp
10336 * gdb.go/hello.exp
10337 * gdb.go/integers.exp
10338 * gdb.go/methods.exp
10339 * gdb.go/package.exp
10340 * gdb.go/strings.exp
10341 * gdb.go/types.exp
10342 * gdb.go/unsafe.exp
10343 * gdb.guile/scm-arch.exp
10344 * gdb.guile/scm-block.exp
10345 * gdb.guile/scm-breakpoint.exp
10346 * gdb.guile/scm-cmd.exp
10347 * gdb.guile/scm-disasm.exp
10348 * gdb.guile/scm-equal.exp
10349 * gdb.guile/scm-frame-args.exp
10350 * gdb.guile/scm-frame-inline.exp
10351 * gdb.guile/scm-frame.exp
10352 * gdb.guile/scm-iterator.exp
10353 * gdb.guile/scm-math.exp
10354 * gdb.guile/scm-objfile.exp
10355 * gdb.guile/scm-ports.exp
10356 * gdb.guile/scm-symbol.exp
10357 * gdb.guile/scm-symtab.exp
10358 * gdb.guile/scm-value-cc.exp
10359 * gdb.guile/types-module.exp
10360 * gdb.linespec/break-ask.exp
10361 * gdb.linespec/cpexplicit.exp
10362 * gdb.linespec/explicit.exp
10363 * gdb.linespec/keywords.exp
10364 * gdb.linespec/linespec.exp
10365 * gdb.linespec/ls-dollar.exp
10366 * gdb.linespec/ls-errs.exp
10367 * gdb.linespec/skip-two.exp
10368 * gdb.linespec/thread.exp
10369 * gdb.mi/mi-async.exp
10370 * gdb.mi/mi-basics.exp
10371 * gdb.mi/mi-break.exp
10372 * gdb.mi/mi-catch-load.exp
10373 * gdb.mi/mi-cli.exp
10374 * gdb.mi/mi-cmd-param-changed.exp
10375 * gdb.mi/mi-console.exp
10376 * gdb.mi/mi-detach.exp
10377 * gdb.mi/mi-disassemble.exp
10378 * gdb.mi/mi-eval.exp
10379 * gdb.mi/mi-file-transfer.exp
10380 * gdb.mi/mi-file.exp
10381 * gdb.mi/mi-fill-memory.exp
10382 * gdb.mi/mi-inheritance-syntax-error.exp
10383 * gdb.mi/mi-linespec-err-cp.exp
10384 * gdb.mi/mi-logging.exp
10385 * gdb.mi/mi-memory-changed.exp
10386 * gdb.mi/mi-read-memory.exp
10387 * gdb.mi/mi-record-changed.exp
10388 * gdb.mi/mi-reg-undefined.exp
10389 * gdb.mi/mi-regs.exp
10390 * gdb.mi/mi-return.exp
10391 * gdb.mi/mi-reverse.exp
10392 * gdb.mi/mi-simplerun.exp
10393 * gdb.mi/mi-solib.exp
10394 * gdb.mi/mi-stack.exp
10395 * gdb.mi/mi-stepi.exp
10396 * gdb.mi/mi-syn-frame.exp
10397 * gdb.mi/mi-until.exp
10398 * gdb.mi/mi-var-block.exp
10399 * gdb.mi/mi-var-child.exp
10400 * gdb.mi/mi-var-cmd.exp
10401 * gdb.mi/mi-var-cp.exp
10402 * gdb.mi/mi-var-display.exp
10403 * gdb.mi/mi-var-invalidate.exp
10404 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10405 * gdb.mi/mi-vla-fortran.exp
10406 * gdb.mi/mi-watch.exp
10407 * gdb.mi/mi2-var-child.exp
10408 * gdb.mi/user-selected-context-sync.exp
10409 * gdb.modula2/unbounded-array.exp
10410 * gdb.multi/dummy-frame-restore.exp
10411 * gdb.multi/multi-arch-exec.exp
10412 * gdb.multi/multi-arch.exp
10413 * gdb.multi/tids.exp
10414 * gdb.multi/watchpoint-multi.exp
10415 * gdb.opencl/callfuncs.exp
10416 * gdb.opencl/convs_casts.exp
10417 * gdb.opencl/datatypes.exp
10418 * gdb.opencl/operators.exp
10419 * gdb.opencl/vec_comps.exp
10420 * gdb.opt/clobbered-registers-O2.exp
10421 * gdb.opt/inline-break.exp
10422 * gdb.opt/inline-bt.exp
10423 * gdb.opt/inline-cmds.exp
10424 * gdb.opt/inline-locals.exp
10425 * gdb.pascal/case-insensitive-symbols.exp
10426 * gdb.pascal/floats.exp
10427 * gdb.pascal/gdb11492.exp
10428 * gdb.python/lib-types.exp
10429 * gdb.python/py-arch.exp
10430 * gdb.python/py-as-string.exp
10431 * gdb.python/py-bad-printers.exp
10432 * gdb.python/py-block.exp
10433 * gdb.python/py-breakpoint-create-fail.exp
10434 * gdb.python/py-breakpoint.exp
10435 * gdb.python/py-caller-is.exp
10436 * gdb.python/py-cmd.exp
10437 * gdb.python/py-explore-cc.exp
10438 * gdb.python/py-explore.exp
10439 * gdb.python/py-finish-breakpoint.exp
10440 * gdb.python/py-finish-breakpoint2.exp
10441 * gdb.python/py-frame-args.exp
10442 * gdb.python/py-frame-inline.exp
10443 * gdb.python/py-frame.exp
10444 * gdb.python/py-framefilter-mi.exp
10445 * gdb.python/py-infthread.exp
10446 * gdb.python/py-lazy-string.exp
10447 * gdb.python/py-linetable.exp
10448 * gdb.python/py-mi-events.exp
10449 * gdb.python/py-mi-objfile.exp
10450 * gdb.python/py-mi.exp
10451 * gdb.python/py-objfile.exp
10452 * gdb.python/py-pp-integral.exp
10453 * gdb.python/py-pp-maint.exp
10454 * gdb.python/py-pp-re-notag.exp
10455 * gdb.python/py-pp-registration.exp
10456 * gdb.python/py-recurse-unwind.exp
10457 * gdb.python/py-strfns.exp
10458 * gdb.python/py-symbol.exp
10459 * gdb.python/py-symtab.exp
10460 * gdb.python/py-sync-interp.exp
10461 * gdb.python/py-typeprint.exp
10462 * gdb.python/py-unwind-maint.exp
10463 * gdb.python/py-unwind.exp
10464 * gdb.python/py-value-cc.exp
10465 * gdb.python/py-xmethods.exp
10466 * gdb.reverse/amd64-tailcall-reverse.exp
10467 * gdb.reverse/break-precsave.exp
10468 * gdb.reverse/break-reverse.exp
10469 * gdb.reverse/consecutive-precsave.exp
10470 * gdb.reverse/consecutive-reverse.exp
10471 * gdb.reverse/finish-precsave.exp
10472 * gdb.reverse/finish-reverse-bkpt.exp
10473 * gdb.reverse/finish-reverse.exp
10474 * gdb.reverse/fstatat-reverse.exp
10475 * gdb.reverse/getresuid-reverse.exp
10476 * gdb.reverse/i386-precsave.exp
10477 * gdb.reverse/i386-reverse.exp
10478 * gdb.reverse/i386-sse-reverse.exp
10479 * gdb.reverse/i387-env-reverse.exp
10480 * gdb.reverse/i387-stack-reverse.exp
10481 * gdb.reverse/insn-reverse.exp
10482 * gdb.reverse/machinestate-precsave.exp
10483 * gdb.reverse/machinestate.exp
10484 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10485 * gdb.reverse/pipe-reverse.exp
10486 * gdb.reverse/readv-reverse.exp
10487 * gdb.reverse/recvmsg-reverse.exp
10488 * gdb.reverse/rerun-prec.exp
10489 * gdb.reverse/s390-mvcle.exp
10490 * gdb.reverse/step-precsave.exp
10491 * gdb.reverse/step-reverse.exp
10492 * gdb.reverse/time-reverse.exp
10493 * gdb.reverse/until-precsave.exp
10494 * gdb.reverse/until-reverse.exp
10495 * gdb.reverse/waitpid-reverse.exp
10496 * gdb.reverse/watch-precsave.exp
10497 * gdb.reverse/watch-reverse.exp
10498 * gdb.rust/generics.exp
10499 * gdb.rust/methods.exp
10500 * gdb.rust/modules.exp
10501 * gdb.rust/simple.exp
10502 * gdb.server/connect-with-no-symbol-file.exp
10503 * gdb.server/ext-attach.exp
10504 * gdb.server/ext-restart.exp
10505 * gdb.server/ext-wrapper.exp
10506 * gdb.server/file-transfer.exp
10507 * gdb.server/server-exec-info.exp
10508 * gdb.server/server-kill.exp
10509 * gdb.server/server-mon.exp
10510 * gdb.server/wrapper.exp
10511 * gdb.stabs/exclfwd.exp
10512 * gdb.stabs/gdb11479.exp
10513 * gdb.threads/clone-new-thread-event.exp
10514 * gdb.threads/corethreads.exp
10515 * gdb.threads/current-lwp-dead.exp
10516 * gdb.threads/dlopen-libpthread.exp
10517 * gdb.threads/gcore-thread.exp
10518 * gdb.threads/sigstep-threads.exp
10519 * gdb.threads/watchpoint-fork.exp
10520 * gdb.trace/actions-changed.exp
10521 * gdb.trace/backtrace.exp
10522 * gdb.trace/change-loc.exp
10523 * gdb.trace/circ.exp
10524 * gdb.trace/collection.exp
10525 * gdb.trace/disconnected-tracing.exp
10526 * gdb.trace/ftrace.exp
10527 * gdb.trace/mi-trace-frame-collected.exp
10528 * gdb.trace/mi-trace-unavailable.exp
10529 * gdb.trace/mi-traceframe-changed.exp
10530 * gdb.trace/mi-tsv-changed.exp
10531 * gdb.trace/no-attach-trace.exp
10532 * gdb.trace/passc-dyn.exp
10533 * gdb.trace/qtro.exp
10534 * gdb.trace/range-stepping.exp
10535 * gdb.trace/read-memory.exp
10536 * gdb.trace/save-trace.exp
10537 * gdb.trace/signal.exp
10538 * gdb.trace/status-stop.exp
10539 * gdb.trace/tfile.exp
10540 * gdb.trace/trace-break.exp
10541 * gdb.trace/trace-buffer-size.exp
10542 * gdb.trace/trace-condition.exp
10543 * gdb.trace/tracefile-pseudo-reg.exp
10544 * gdb.trace/tstatus.exp
10545 * gdb.trace/unavailable.exp
10546 * gdb.trace/while-dyn.exp
10547 * gdb.trace/while-stepping.exp
10548
34c41c68
DE
105492016-12-22 Doug Evans <xdje42@gmail.com>
10550
10551 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10552 and msymbols.
10553
16e69324
YQ
105542016-12-19 Yao Qi <yao.qi@linaro.org>
10555
10556 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10557 (test_with_self): Don't call do_steps_and_nexts, and remove
10558 code about stepping into xmalloc.
10559
f94f411b
YQ
105602016-12-09 Yao Qi <yao.qi@linaro.org>
10561
10562 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10563
105642016-12-09 Yao Qi <yao.qi@linaro.org>
10565
10566 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10567
f1b5deee
PA
105682016-12-09 Pedro Alves <palves@redhat.com>
10569
10570 * gdb.base/all-architectures-0.exp: New file.
10571 * gdb.base/all-architectures-1.exp: New file.
10572 * gdb.base/all-architectures-2.exp: New file.
10573 * gdb.base/all-architectures-3.exp: New file.
10574 * gdb.base/all-architectures-4.exp: New file.
10575 * gdb.base/all-architectures-5.exp: New file.
10576 * gdb.base/all-architectures-6.exp: New file.
10577 * gdb.base/all-architectures-7.exp: New file.
10578 * gdb.base/all-architectures.exp.in: New file.
10579
364ca42e
YQ
105802016-12-09 Yao Qi <yao.qi@linaro.org>
10581
10582 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10583
107c2d62
LM
105842016-12-02 Luis Machado <lgustavo@codesourcery.com>
10585
10586 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10587 possible.
10588 Remove useless pattern-matching code.
10589
df3ee9ca
PA
105902016-12-02 Pedro Alves <palves@redhat.com>
10591
10592 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10593 procedure.
10594 (top level): Call it.
10595
ec835369
PA
105962016-12-02 Pedro Alves <palves@redhat.com>
10597
10598 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10599 New procedure.
10600 (top level): Call it.
10601
01770bbd
PA
106022016-12-02 Pedro Alves <palves@redhat.com>
10603
10604 PR cli/20559
10605 * gdb.base/commands.exp (user_defined_command_args_eval): New
10606 procedure.
10607 (top level): Call it.
10608
008459ea
LM
106092016-12-02 Luis Machado <lgustavo@codesourcery.com>
10610
10611 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10612 timeout handling.
10613
0c1b455e
TT
106142016-12-02 Tom Tromey <tom@tromey.com>
10615
10616 * gdb.dwarf2/main-subprogram.c: New file.
10617 * gdb.dwarf2/main-subprogram.exp: New file.
10618
018572b8
LM
106192016-12-01 Luis Machado <lgustavo@codesourcery.com>
10620
10621 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10622 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10623 gdb_test_no_output for a couple of cases.
10624 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10625
84c93cd5
LM
106262016-12-01 Luis Machado <lgustavo@codesourcery.com>
10627
10628 Fix test names and standardize compilation error messages throughout
10629 the following files:
10630
10631 * gdb.ada/start.exp
10632 * gdb.arch/alpha-step.exp
10633 * gdb.arch/e500-prologue.exp
10634 * gdb.arch/ftrace-insn-reloc.exp
10635 * gdb.arch/gdb1291.exp
10636 * gdb.arch/gdb1431.exp
10637 * gdb.arch/gdb1558.exp
10638 * gdb.arch/i386-dr3-watch.exp
10639 * gdb.arch/i386-sse-stack-align.exp
10640 * gdb.arch/ia64-breakpoint-shadow.exp
10641 * gdb.arch/pa-nullify.exp
10642 * gdb.arch/powerpc-aix-prologue.exp
10643 * gdb.arch/thumb-bx-pc.exp
10644 * gdb.base/annota1.exp
10645 * gdb.base/annota3.exp
10646 * gdb.base/arrayidx.exp
10647 * gdb.base/assign.exp
10648 * gdb.base/attach.exp
10649 * gdb.base/auxv.exp
10650 * gdb.base/bang.exp
10651 * gdb.base/bfp-test.exp
10652 * gdb.base/bigcore.exp
10653 * gdb.base/bitfields2.exp
10654 * gdb.base/break-fun-addr.exp
10655 * gdb.base/break-probes.exp
10656 * gdb.base/call-rt-st.exp
10657 * gdb.base/callexit.exp
10658 * gdb.base/catch-fork-kill.exp
10659 * gdb.base/charset.exp
10660 * gdb.base/checkpoint.exp
10661 * gdb.base/comprdebug.exp
10662 * gdb.base/constvars.exp
10663 * gdb.base/coredump-filter.exp
10664 * gdb.base/cursal.exp
10665 * gdb.base/cvexpr.exp
10666 * gdb.base/detach.exp
10667 * gdb.base/display.exp
10668 * gdb.base/dmsym.exp
10669 * gdb.base/dprintf-pending.exp
10670 * gdb.base/dso2dso.exp
10671 * gdb.base/dtrace-probe.exp
10672 * gdb.base/dump.exp
10673 * gdb.base/enum_cond.exp
10674 * gdb.base/exe-lock.exp
10675 * gdb.base/exec-invalid-sysroot.exp
10676 * gdb.base/execl-update-breakpoints.exp
10677 * gdb.base/exprs.exp
10678 * gdb.base/fileio.exp
10679 * gdb.base/find.exp
10680 * gdb.base/finish.exp
10681 * gdb.base/fixsection.exp
10682 * gdb.base/foll-vfork.exp
10683 * gdb.base/frame-args.exp
10684 * gdb.base/gcore.exp
10685 * gdb.base/gdb1250.exp
10686 * gdb.base/global-var-nested-by-dso.exp
10687 * gdb.base/gnu-ifunc.exp
10688 * gdb.base/hashline1.exp
10689 * gdb.base/hashline2.exp
10690 * gdb.base/hashline3.exp
10691 * gdb.base/hbreak-in-shr-unsupported.exp
10692 * gdb.base/huge.exp
10693 * gdb.base/infcall-input.exp
10694 * gdb.base/info-fun.exp
10695 * gdb.base/info-shared.exp
10696 * gdb.base/jit-simple.exp
10697 * gdb.base/jit-so.exp
10698 * gdb.base/jit.exp
10699 * gdb.base/jump.exp
10700 * gdb.base/label.exp
10701 * gdb.base/lineinc.exp
10702 * gdb.base/logical.exp
10703 * gdb.base/longjmp.exp
10704 * gdb.base/macscp.exp
10705 * gdb.base/miscexprs.exp
10706 * gdb.base/new-ui-echo.exp
10707 * gdb.base/new-ui-pending-input.exp
10708 * gdb.base/new-ui.exp
10709 * gdb.base/nodebug.exp
10710 * gdb.base/nofield.exp
10711 * gdb.base/offsets.exp
10712 * gdb.base/overlays.exp
10713 * gdb.base/pending.exp
10714 * gdb.base/pointers.exp
10715 * gdb.base/pr11022.exp
10716 * gdb.base/printcmds.exp
10717 * gdb.base/prologue.exp
10718 * gdb.base/ptr-typedef.exp
10719 * gdb.base/realname-expand.exp
10720 * gdb.base/relativedebug.exp
10721 * gdb.base/relocate.exp
10722 * gdb.base/remote.exp
10723 * gdb.base/reread.exp
10724 * gdb.base/return2.exp
10725 * gdb.base/savedregs.exp
10726 * gdb.base/sep.exp
10727 * gdb.base/sepdebug.exp
10728 * gdb.base/sepsymtab.exp
10729 * gdb.base/set-inferior-tty.exp
10730 * gdb.base/setshow.exp
10731 * gdb.base/shlib-call.exp
10732 * gdb.base/sigaltstack.exp
10733 * gdb.base/siginfo-addr.exp
10734 * gdb.base/signals.exp
10735 * gdb.base/signull.exp
10736 * gdb.base/sigrepeat.exp
10737 * gdb.base/so-impl-ld.exp
10738 * gdb.base/solib-display.exp
10739 * gdb.base/solib-overlap.exp
10740 * gdb.base/solib-search.exp
10741 * gdb.base/solib-symbol.exp
10742 * gdb.base/structs.exp
10743 * gdb.base/structs2.exp
10744 * gdb.base/symtab-search-order.exp
10745 * gdb.base/twice.exp
10746 * gdb.base/unload.exp
10747 * gdb.base/varargs.exp
10748 * gdb.base/watchpoint-solib.exp
10749 * gdb.base/watchpoint.exp
10750 * gdb.base/whatis.exp
10751 * gdb.base/wrong_frame_bt_full.exp
10752 * gdb.btrace/dlopen.exp
10753 * gdb.cell/ea-standalone.exp
10754 * gdb.cell/ea-test.exp
10755 * gdb.cp/dispcxx.exp
10756 * gdb.cp/gdb2384.exp
10757 * gdb.cp/method2.exp
10758 * gdb.cp/nextoverthrow.exp
10759 * gdb.cp/pr10728.exp
10760 * gdb.disasm/am33.exp
10761 * gdb.disasm/h8300s.exp
10762 * gdb.disasm/mn10300.exp
10763 * gdb.disasm/sh3.exp
10764 * gdb.dwarf2/dw2-dir-file-name.exp
10765 * gdb.fortran/complex.exp
10766 * gdb.fortran/library-module.exp
10767 * gdb.guile/scm-pretty-print.exp
10768 * gdb.guile/scm-symbol.exp
10769 * gdb.guile/scm-type.exp
10770 * gdb.guile/scm-value.exp
10771 * gdb.linespec/linespec.exp
10772 * gdb.mi/gdb701.exp
10773 * gdb.mi/gdb792.exp
10774 * gdb.mi/mi-breakpoint-changed.exp
10775 * gdb.mi/mi-dprintf-pending.exp
10776 * gdb.mi/mi-dprintf.exp
10777 * gdb.mi/mi-exit-code.exp
10778 * gdb.mi/mi-pending.exp
10779 * gdb.mi/mi-solib.exp
10780 * gdb.mi/new-ui-mi-sync.exp
10781 * gdb.mi/pr11022.exp
10782 * gdb.mi/user-selected-context-sync.exp
10783 * gdb.opt/solib-intra-step.exp
10784 * gdb.python/py-events.exp
10785 * gdb.python/py-finish-breakpoint.exp
10786 * gdb.python/py-mi.exp
10787 * gdb.python/py-prettyprint.exp
10788 * gdb.python/py-shared.exp
10789 * gdb.python/py-symbol.exp
10790 * gdb.python/py-template.exp
10791 * gdb.python/py-type.exp
10792 * gdb.python/py-value.exp
10793 * gdb.reverse/solib-precsave.exp
10794 * gdb.reverse/solib-reverse.exp
10795 * gdb.server/solib-list.exp
10796 * gdb.stabs/weird.exp
10797 * gdb.threads/reconnect-signal.exp
10798 * gdb.threads/stepi-random-signal.exp
10799 * gdb.trace/actions.exp
10800 * gdb.trace/ax.exp
10801 * gdb.trace/backtrace.exp
10802 * gdb.trace/change-loc.exp
10803 * gdb.trace/deltrace.exp
10804 * gdb.trace/ftrace-lock.exp
10805 * gdb.trace/ftrace.exp
10806 * gdb.trace/infotrace.exp
10807 * gdb.trace/mi-tracepoint-changed.exp
10808 * gdb.trace/packetlen.exp
10809 * gdb.trace/passcount.exp
10810 * gdb.trace/pending.exp
10811 * gdb.trace/range-stepping.exp
10812 * gdb.trace/report.exp
10813 * gdb.trace/stap-trace.exp
10814 * gdb.trace/tfind.exp
10815 * gdb.trace/trace-break.exp
10816 * gdb.trace/trace-condition.exp
10817 * gdb.trace/trace-enable-disable.exp
10818 * gdb.trace/trace-mt.exp
10819 * gdb.trace/tracecmd.exp
10820 * gdb.trace/tspeed.exp
10821 * gdb.trace/tsv.exp
10822 * lib/perftest.exp
10823
fb9feb35
LM
108242016-12-01 Luis Machado <lgustavo@codesourcery.com>
10825
10826 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10827 with gdb_test_no_output.
10828 Use command as test name.
10829
cd2ddb6c
LM
108302016-12-01 Luis Machado <lgustavo@codesourcery.com>
10831
10832 Fix test names starting with uppercase throughout the files.
10833
10834 * gdb.ada/assign_1.exp
10835 * gdb.ada/boolean_expr.exp
10836 * gdb.base/arrayidx.exp
10837 * gdb.base/del.exp
10838 * gdb.base/gcore-buffer-overflow.exp
10839 * gdb.base/testenv.exp
10840 * gdb.compile/compile.exp
10841 * gdb.python/py-framefilter-invalidarg.exp
10842 * gdb.python/py-framefilter.exp
10843
bb95117e
LM
108442016-12-01 Luis Machado <lgustavo@codesourcery.com>
10845
10846 Fix test names starting with uppercase throughout the files.
10847
10848 * gdb.ada/array_return.exp
10849 * gdb.ada/expr_delims.exp
10850 * gdb.ada/mi_dyn_arr.exp
10851 * gdb.ada/mi_interface.exp
10852 * gdb.ada/mi_var_array.exp
10853 * gdb.ada/watch_arg.exp
10854 * gdb.arch/alpha-step.exp
10855 * gdb.arch/altivec-regs.exp
10856 * gdb.arch/e500-regs.exp
10857 * gdb.arch/powerpc-d128-regs.exp
10858 * gdb.base/arrayidx.exp
10859 * gdb.base/break.exp
10860 * gdb.base/checkpoint.exp
10861 * gdb.base/debug-expr.exp
10862 * gdb.base/dmsym.exp
10863 * gdb.base/radix.exp
10864 * gdb.base/sepdebug.exp
10865 * gdb.base/testenv.exp
10866 * gdb.base/watch_thread_num.exp
10867 * gdb.base/watchpoint-cond-gone.exp
10868 * gdb.cell/break.exp
10869 * gdb.cell/ea-cache.exp
10870 * gdb.compile/compile.exp
10871 * gdb.cp/gdb2495.exp
10872 * gdb.gdb/selftest.exp
10873 * gdb.gdb/xfullpath.exp
10874 * gdb.go/hello.exp
10875 * gdb.go/integers.exp
10876 * gdb.objc/basicclass.exp
10877 * gdb.pascal/hello.exp
10878 * gdb.pascal/integers.exp
10879 * gdb.python/py-breakpoint.exp
10880 * gdb.python/py-cmd.exp
10881 * gdb.python/py-linetable.exp
10882 * gdb.python/py-xmethods.exp
10883 * gdb.python/python.exp
10884 * gdb.reverse/consecutive-precsave.exp
10885 * gdb.reverse/finish-precsave.exp
10886 * gdb.reverse/i386-precsave.exp
10887 * gdb.reverse/machinestate-precsave.exp
10888 * gdb.reverse/sigall-precsave.exp
10889 * gdb.reverse/solib-precsave.exp
10890 * gdb.reverse/step-precsave.exp
10891 * gdb.reverse/until-precsave.exp
10892 * gdb.reverse/watch-precsave.exp
10893 * gdb.threads/leader-exit.exp
10894 * gdb.threads/pthreads.exp
10895 * gdb.threads/wp-replication.exp
10896 * gdb.trace/actions.exp
10897 * gdb.trace/mi-tsv-changed.exp
10898 * gdb.trace/tsv.exp
10899
de97fdd4
LM
109002016-12-01 Luis Machado <lgustavo@codesourcery.com>
10901
10902 Fix test names starting with uppercase throughout the files.
10903
10904 * gdb.arch/i386-bp_permanent.exp
10905 * gdb.arch/i386-gnu-cfi.exp
10906 * gdb.base/disasm-end-cu.exp
10907 * gdb.base/macscp.exp
10908 * gdb.base/pending.exp
10909 * gdb.base/watch_thread_num.exp
10910 * gdb.cp/exception.exp
10911 * gdb.cp/gdb2495.exp
10912 * gdb.cp/local.exp
10913 * gdb.python/py-evsignal.exp
10914 * gdb.python/python.exp
10915 * gdb.trace/tracecmd.exp
10916
9f058c10
LM
109172016-12-01 Luis Machado <lgustavo@codesourcery.com>
10918
10919 Fix test names starting with uppercase throughout the files.
10920
10921 * gdb.base/charset.exp
10922 * gdb.base/eval.exp
10923 * gdb.base/multi-forks.exp
10924 * gdb.guile/scm-progspace.exp
10925 * gdb.opencl/datatypes.exp
10926 * gdb.python/py-block.exp
10927 * gdb.python/py-function.exp
10928 * gdb.python/py-symbol.exp
10929 * gdb.python/py-symtab.exp
10930 * gdb.python/py-xmethods.exp
10931 * gdb.reverse/break-precsave.exp
10932 * gdb.reverse/break-reverse.exp
10933 * gdb.reverse/consecutive-precsave.exp
10934 * gdb.reverse/consecutive-reverse.exp
10935 * gdb.reverse/finish-precsave.exp
10936 * gdb.reverse/finish-reverse-bkpt.exp
10937 * gdb.reverse/finish-reverse.exp
10938 * gdb.reverse/fstatat-reverse.exp
10939 * gdb.reverse/getresuid-reverse.exp
10940 * gdb.reverse/i386-precsave.exp
10941 * gdb.reverse/i386-reverse.exp
10942 * gdb.reverse/i386-sse-reverse.exp
10943 * gdb.reverse/i387-stack-reverse.exp
10944 * gdb.reverse/insn-reverse.exp
10945 * gdb.reverse/machinestate-precsave.exp
10946 * gdb.reverse/machinestate.exp
10947 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10948 * gdb.reverse/pipe-reverse.exp
10949 * gdb.reverse/readv-reverse.exp
10950 * gdb.reverse/recvmsg-reverse.exp
10951 * gdb.reverse/rerun-prec.exp
10952 * gdb.reverse/s390-mvcle.exp
10953 * gdb.reverse/sigall-precsave.exp
10954 * gdb.reverse/sigall-reverse.exp
10955 * gdb.reverse/solib-precsave.exp
10956 * gdb.reverse/solib-reverse.exp
10957 * gdb.reverse/step-precsave.exp
10958 * gdb.reverse/step-reverse.exp
10959 * gdb.reverse/time-reverse.exp
10960 * gdb.reverse/until-precsave.exp
10961 * gdb.reverse/until-reverse.exp
10962 * gdb.reverse/waitpid-reverse.exp
10963 * gdb.reverse/watch-precsave.exp
10964 * gdb.reverse/watch-reverse.exp
10965
cdc7edd7
LM
109662016-12-01 Luis Machado <lgustavo@codesourcery.com>
10967
10968 Fix test names starting with uppercase throughout the files.
10969
10970 * gdb.arch/i386-mpx-simple_segv.exp
10971 * gdb.arch/i386-mpx.exp
10972 * gdb.arch/i386-permbkpt.exp
10973 * gdb.arch/pa-nullify.exp
10974 * gdb.arch/powerpc-d128-regs.exp
10975 * gdb.arch/vsx-regs.exp
10976 * gdb.base/bfp-test.exp
10977 * gdb.base/break.exp
10978 * gdb.base/breakpoint-shadow.exp
10979 * gdb.base/callfuncs.exp
10980 * gdb.base/charset.exp
10981 * gdb.base/commands.exp
10982 * gdb.base/completion.exp
10983 * gdb.base/dfp-test.exp
10984 * gdb.base/echo.exp
10985 * gdb.base/ending-run.exp
10986 * gdb.base/eval.exp
10987 * gdb.base/expand-psymtabs.exp
10988 * gdb.base/float128.exp
10989 * gdb.base/floatn.exp
10990 * gdb.base/foll-exec-mode.exp
10991 * gdb.base/gdb1056.exp
10992 * gdb.base/gdb11531.exp
10993 * gdb.base/kill-after-signal.exp
10994 * gdb.base/multi-forks.exp
10995 * gdb.base/overlays.exp
10996 * gdb.base/pending.exp
10997 * gdb.base/sepdebug.exp
10998 * gdb.base/testenv.exp
10999 * gdb.base/valgrind-db-attach.exp
11000 * gdb.base/watch_thread_num.exp
11001 * gdb.base/watchpoint-cond-gone.exp
11002 * gdb.base/watchpoint.exp
11003 * gdb.base/watchpoints.exp
11004 * gdb.cp/arg-reference.exp
11005 * gdb.cp/baseenum.exp
11006 * gdb.cp/operator.exp
11007 * gdb.cp/shadow.exp
11008 * gdb.dwarf2/dw2-op-out-param.exp
11009 * gdb.dwarf2/dw2-reg-undefined.exp
11010 * gdb.go/chan.exp
11011 * gdb.go/hello.exp
11012 * gdb.go/integers.exp
11013 * gdb.go/methods.exp
11014 * gdb.go/package.exp
11015 * gdb.guile/scm-parameter.exp
11016 * gdb.guile/scm-progspace.exp
11017 * gdb.guile/scm-value.exp
11018 * gdb.mi/mi-pending.exp
11019 * gdb.mi/user-selected-context-sync.exp
11020 * gdb.multi/multi-attach.exp
11021 * gdb.multi/tids.exp
11022 * gdb.opt/clobbered-registers-O2.exp
11023 * gdb.pascal/floats.exp
11024 * gdb.pascal/integers.exp
11025 * gdb.python/py-block.exp
11026 * gdb.python/py-events.exp
11027 * gdb.python/py-parameter.exp
11028 * gdb.python/py-symbol.exp
11029 * gdb.python/py-symtab.exp
11030 * gdb.python/py-type.exp
11031 * gdb.python/py-value.exp
11032 * gdb.python/py-xmethods.exp
11033 * gdb.python/python.exp
11034 * gdb.reverse/break-precsave.exp
11035 * gdb.reverse/consecutive-precsave.exp
11036 * gdb.reverse/finish-precsave.exp
11037 * gdb.reverse/i386-precsave.exp
11038 * gdb.reverse/machinestate-precsave.exp
11039 * gdb.reverse/sigall-precsave.exp
11040 * gdb.reverse/solib-precsave.exp
11041 * gdb.reverse/step-precsave.exp
11042 * gdb.reverse/until-precsave.exp
11043 * gdb.reverse/watch-precsave.exp
11044 * gdb.server/ext-attach.exp
11045 * gdb.server/ext-restart.exp
11046 * gdb.server/ext-run.exp
11047 * gdb.server/ext-wrapper.exp
11048 * gdb.stabs/gdb11479.exp
11049 * gdb.stabs/weird.exp
11050 * gdb.threads/attach-many-short-lived-threads.exp
11051 * gdb.threads/kill.exp
11052 * gdb.threads/watchpoint-fork.exp
11053
bc6c7af4
LM
110542016-12-01 Luis Machado <lgustavo@codesourcery.com>
11055
11056 Fix test names starting with uppercase throughout all the files below.
11057
11058 * gdb.ada/array_return.exp
11059 * gdb.ada/catch_ex.exp
11060 * gdb.ada/info_exc.exp
11061 * gdb.ada/mi_catch_ex.exp
11062 * gdb.ada/mi_dyn_arr.exp
11063 * gdb.ada/mi_ex_cond.exp
11064 * gdb.ada/mi_exc_info.exp
11065 * gdb.ada/mi_interface.exp
11066 * gdb.ada/mi_task_arg.exp
11067 * gdb.ada/mi_task_info.exp
11068 * gdb.ada/mi_var_array.exp
11069 * gdb.arch/alpha-step.exp
11070 * gdb.arch/amd64-disp-step.exp
11071 * gdb.arch/arm-disp-step.exp
11072 * gdb.arch/disp-step-insn-reloc.exp
11073 * gdb.arch/e500-prologue.exp
11074 * gdb.arch/ftrace-insn-reloc.exp
11075 * gdb.arch/gdb1558.exp
11076 * gdb.arch/i386-bp_permanent.exp
11077 * gdb.arch/i386-disp-step.exp
11078 * gdb.arch/i386-float.exp
11079 * gdb.arch/i386-gnu-cfi.exp
11080 * gdb.arch/ia64-breakpoint-shadow.exp
11081 * gdb.arch/mips16-thunks.exp
11082 * gdb.arch/pa-nullify.exp
11083 * gdb.arch/powerpc-aix-prologue.exp
11084 * gdb.arch/powerpc-power.exp
11085 * gdb.arch/ppc-dfp.exp
11086 * gdb.arch/s390-tdbregs.exp
11087 * gdb.arch/spu-info.exp
11088 * gdb.arch/spu-ls.exp
11089 * gdb.arch/thumb-bx-pc.exp
11090 * gdb.base/advance.exp
11091 * gdb.base/annota-input-while-running.exp
11092 * gdb.base/arrayidx.exp
11093 * gdb.base/asmlabel.exp
11094 * gdb.base/async.exp
11095 * gdb.base/attach-wait-input.exp
11096 * gdb.base/auto-connect-native-target.exp
11097 * gdb.base/batch-preserve-term-settings.exp
11098 * gdb.base/bfp-test.exp
11099 * gdb.base/bigcore.exp
11100 * gdb.base/bp-permanent.exp
11101 * gdb.base/break-always.exp
11102 * gdb.base/break-fun-addr.exp
11103 * gdb.base/break-idempotent.exp
11104 * gdb.base/break-main-file-remove-fail.exp
11105 * gdb.base/break-probes.exp
11106 * gdb.base/break-unload-file.exp
11107 * gdb.base/break.exp
11108 * gdb.base/call-ar-st.exp
11109 * gdb.base/call-rt-st.exp
11110 * gdb.base/call-sc.exp
11111 * gdb.base/call-signal-resume.exp
11112 * gdb.base/call-strs.exp
11113 * gdb.base/callexit.exp
11114 * gdb.base/callfuncs.exp
11115 * gdb.base/catch-gdb-caused-signals.exp
11116 * gdb.base/catch-signal-siginfo-cond.exp
11117 * gdb.base/catch-syscall.exp
11118 * gdb.base/compare-sections.exp
11119 * gdb.base/cond-eval-mode.exp
11120 * gdb.base/condbreak-call-false.exp
11121 * gdb.base/consecutive-step-over.exp
11122 * gdb.base/cursal.exp
11123 * gdb.base/disabled-location.exp
11124 * gdb.base/disasm-end-cu.exp
11125 * gdb.base/display.exp
11126 * gdb.base/double-prompt-target-event-error.exp
11127 * gdb.base/dprintf-bp-same-addr.exp
11128 * gdb.base/dprintf-detach.exp
11129 * gdb.base/dprintf-next.exp
11130 * gdb.base/dprintf-non-stop.exp
11131 * gdb.base/dprintf-pending.exp
11132 * gdb.base/dso2dso.exp
11133 * gdb.base/ending-run.exp
11134 * gdb.base/enum_cond.exp
11135 * gdb.base/examine-backward.exp
11136 * gdb.base/exe-lock.exp
11137 * gdb.base/exec-invalid-sysroot.exp
11138 * gdb.base/execl-update-breakpoints.exp
11139 * gdb.base/execution-termios.exp
11140 * gdb.base/fileio.exp
11141 * gdb.base/fixsection.exp
11142 * gdb.base/foll-exec-mode.exp
11143 * gdb.base/foll-exec.exp
11144 * gdb.base/fork-running-state.exp
11145 * gdb.base/frame-args.exp
11146 * gdb.base/fullpath-expand.exp
11147 * gdb.base/func-ptr.exp
11148 * gdb.base/gcore-relro-pie.exp
11149 * gdb.base/gdb1090.exp
11150 * gdb.base/gdb1555.exp
11151 * gdb.base/global-var-nested-by-dso.exp
11152 * gdb.base/gnu-ifunc.exp
11153 * gdb.base/hbreak-in-shr-unsupported.exp
11154 * gdb.base/hbreak-unmapped.exp
11155 * gdb.base/hook-stop.exp
11156 * gdb.base/infcall-input.exp
11157 * gdb.base/info-fun.exp
11158 * gdb.base/info-shared.exp
11159 * gdb.base/interrupt-noterm.exp
11160 * gdb.base/jit-so.exp
11161 * gdb.base/jit.exp
11162 * gdb.base/line-symtabs.exp
11163 * gdb.base/list.exp
11164 * gdb.base/longjmp.exp
11165 * gdb.base/macscp.exp
11166 * gdb.base/max-value-size.exp
11167 * gdb.base/nodebug.exp
11168 * gdb.base/nofield.exp
11169 * gdb.base/overlays.exp
11170 * gdb.base/paginate-after-ctrl-c-running.exp
11171 * gdb.base/paginate-bg-execution.exp
11172 * gdb.base/paginate-inferior-exit.exp
11173 * gdb.base/pending.exp
11174 * gdb.base/pr11022.exp
11175 * gdb.base/printcmds.exp
11176 * gdb.base/ptr-typedef.exp
11177 * gdb.base/ptype.exp
11178 * gdb.base/randomize.exp
11179 * gdb.base/range-stepping.exp
11180 * gdb.base/realname-expand.exp
11181 * gdb.base/relativedebug.exp
11182 * gdb.base/remote.exp
11183 * gdb.base/savedregs.exp
11184 * gdb.base/sepdebug.exp
11185 * gdb.base/set-noassign.exp
11186 * gdb.base/shlib-call.exp
11187 * gdb.base/shreloc.exp
11188 * gdb.base/sigaltstack.exp
11189 * gdb.base/sigbpt.exp
11190 * gdb.base/siginfo-addr.exp
11191 * gdb.base/siginfo-obj.exp
11192 * gdb.base/siginfo-thread.exp
11193 * gdb.base/signest.exp
11194 * gdb.base/signull.exp
11195 * gdb.base/sigrepeat.exp
11196 * gdb.base/skip.exp
11197 * gdb.base/so-impl-ld.exp
11198 * gdb.base/solib-corrupted.exp
11199 * gdb.base/solib-disc.exp
11200 * gdb.base/solib-display.exp
11201 * gdb.base/solib-overlap.exp
11202 * gdb.base/solib-search.exp
11203 * gdb.base/solib-symbol.exp
11204 * gdb.base/source-execution.exp
11205 * gdb.base/sss-bp-on-user-bp-2.exp
11206 * gdb.base/sss-bp-on-user-bp.exp
11207 * gdb.base/stack-checking.exp
11208 * gdb.base/stale-infcall.exp
11209 * gdb.base/step-break.exp
11210 * gdb.base/step-line.exp
11211 * gdb.base/step-over-exit.exp
11212 * gdb.base/step-test.exp
11213 * gdb.base/structs.exp
11214 * gdb.base/sym-file.exp
11215 * gdb.base/symtab-search-order.exp
11216 * gdb.base/term.exp
11217 * gdb.base/type-opaque.exp
11218 * gdb.base/unload.exp
11219 * gdb.base/until-nodebug.exp
11220 * gdb.base/until.exp
11221 * gdb.base/unwindonsignal.exp
11222 * gdb.base/watch-cond.exp
11223 * gdb.base/watch-non-mem.exp
11224 * gdb.base/watch_thread_num.exp
11225 * gdb.base/watchpoint-reuse-slot.exp
11226 * gdb.base/watchpoint-solib.exp
11227 * gdb.base/watchpoint.exp
11228 * gdb.btrace/dlopen.exp
11229 * gdb.cell/arch.exp
11230 * gdb.cell/break.exp
11231 * gdb.cell/bt.exp
11232 * gdb.cell/core.exp
11233 * gdb.cell/data.exp
11234 * gdb.cell/dwarfaddr.exp
11235 * gdb.cell/ea-cache.exp
11236 * gdb.cell/ea-standalone.exp
11237 * gdb.cell/ea-test.exp
11238 * gdb.cell/f-regs.exp
11239 * gdb.cell/fork.exp
11240 * gdb.cell/gcore.exp
11241 * gdb.cell/mem-access.exp
11242 * gdb.cell/ptype.exp
11243 * gdb.cell/registers.exp
11244 * gdb.cell/sizeof.exp
11245 * gdb.cell/solib-symbol.exp
11246 * gdb.cell/solib.exp
11247 * gdb.compile/compile-tls.exp
11248 * gdb.cp/exception.exp
11249 * gdb.cp/gdb2495.exp
11250 * gdb.cp/local.exp
11251 * gdb.cp/mb-inline.exp
11252 * gdb.cp/mb-templates.exp
11253 * gdb.cp/pr10687.exp
11254 * gdb.cp/pr9167.exp
11255 * gdb.cp/scope-err.exp
11256 * gdb.cp/templates.exp
11257 * gdb.cp/virtfunc.exp
11258 * gdb.dwarf2/dw2-dir-file-name.exp
11259 * gdb.dwarf2/dw2-single-line-discriminators.exp
11260 * gdb.fortran/complex.exp
11261 * gdb.fortran/library-module.exp
11262 * gdb.guile/guile.exp
11263 * gdb.guile/scm-cmd.exp
11264 * gdb.guile/scm-frame-inline.exp
11265 * gdb.guile/scm-objfile.exp
11266 * gdb.guile/scm-pretty-print.exp
11267 * gdb.guile/scm-symbol.exp
11268 * gdb.guile/scm-type.exp
11269 * gdb.guile/scm-value.exp
11270 * gdb.linespec/keywords.exp
11271 * gdb.linespec/ls-errs.exp
11272 * gdb.linespec/macro-relative.exp
11273 * gdb.linespec/thread.exp
11274 * gdb.mi/mi-breakpoint-changed.exp
11275 * gdb.mi/mi-dprintf-pending.exp
11276 * gdb.mi/mi-fullname-deleted.exp
11277 * gdb.mi/mi-logging.exp
11278 * gdb.mi/mi-pending.exp
11279 * gdb.mi/mi-solib.exp
11280 * gdb.mi/new-ui-mi-sync.exp
11281 * gdb.mi/user-selected-context-sync.exp
11282 * gdb.multi/dummy-frame-restore.exp
11283 * gdb.multi/multi-arch-exec.exp
11284 * gdb.multi/remove-inferiors.exp
11285 * gdb.multi/watchpoint-multi-exit.exp
11286 * gdb.opt/solib-intra-step.exp
11287 * gdb.perf/backtrace.exp
11288 * gdb.perf/single-step.exp
11289 * gdb.perf/skip-command.exp
11290 * gdb.perf/skip-prologue.exp
11291 * gdb.perf/solib.exp
11292 * gdb.python/lib-types.exp
11293 * gdb.python/py-as-string.exp
11294 * gdb.python/py-bad-printers.exp
11295 * gdb.python/py-block.exp
11296 * gdb.python/py-breakpoint.exp
11297 * gdb.python/py-cmd.exp
11298 * gdb.python/py-events.exp
11299 * gdb.python/py-evthreads.exp
11300 * gdb.python/py-finish-breakpoint.exp
11301 * gdb.python/py-finish-breakpoint2.exp
11302 * gdb.python/py-frame-inline.exp
11303 * gdb.python/py-frame.exp
11304 * gdb.python/py-inferior.exp
11305 * gdb.python/py-infthread.exp
11306 * gdb.python/py-mi.exp
11307 * gdb.python/py-objfile.exp
11308 * gdb.python/py-pp-maint.exp
11309 * gdb.python/py-pp-registration.exp
11310 * gdb.python/py-prettyprint.exp
11311 * gdb.python/py-recurse-unwind.exp
11312 * gdb.python/py-shared.exp
11313 * gdb.python/py-symbol.exp
11314 * gdb.python/py-symtab.exp
11315 * gdb.python/py-template.exp
11316 * gdb.python/py-type.exp
11317 * gdb.python/py-unwind-maint.exp
11318 * gdb.python/py-unwind.exp
11319 * gdb.python/py-value.exp
11320 * gdb.python/python.exp
11321 * gdb.reverse/finish-reverse-bkpt.exp
11322 * gdb.reverse/insn-reverse.exp
11323 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11324 * gdb.reverse/solib-precsave.exp
11325 * gdb.reverse/solib-reverse.exp
11326 * gdb.stabs/gdb11479.exp
11327 * gdb.stabs/weird.exp
11328 * gdb.threads/fork-child-threads.exp
11329 * gdb.threads/fork-plus-threads.exp
11330 * gdb.threads/fork-thread-pending.exp
11331 * gdb.threads/forking-threads-plus-breakpoint.exp
11332 * gdb.threads/hand-call-in-threads.exp
11333 * gdb.threads/interrupted-hand-call.exp
11334 * gdb.threads/linux-dp.exp
11335 * gdb.threads/local-watch-wrong-thread.exp
11336 * gdb.threads/next-while-other-thread-longjmps.exp
11337 * gdb.threads/non-ldr-exit.exp
11338 * gdb.threads/pending-step.exp
11339 * gdb.threads/print-threads.exp
11340 * gdb.threads/process-dies-while-detaching.exp
11341 * gdb.threads/process-dies-while-handling-bp.exp
11342 * gdb.threads/pthreads.exp
11343 * gdb.threads/queue-signal.exp
11344 * gdb.threads/reconnect-signal.exp
11345 * gdb.threads/signal-command-handle-nopass.exp
11346 * gdb.threads/signal-command-multiple-signals-pending.exp
11347 * gdb.threads/signal-delivered-right-thread.exp
11348 * gdb.threads/signal-sigtrap.exp
11349 * gdb.threads/sigthread.exp
11350 * gdb.threads/staticthreads.exp
11351 * gdb.threads/stepi-random-signal.exp
11352 * gdb.threads/thread-unwindonsignal.exp
11353 * gdb.threads/thread_check.exp
11354 * gdb.threads/thread_events.exp
11355 * gdb.threads/tid-reuse.exp
11356 * gdb.threads/tls-nodebug.exp
11357 * gdb.threads/tls-shared.exp
11358 * gdb.threads/tls-so_extern.exp
11359 * gdb.threads/tls.exp
11360 * gdb.threads/wp-replication.exp
11361 * gdb.trace/actions-changed.exp
11362 * gdb.trace/actions.exp
11363 * gdb.trace/backtrace.exp
11364 * gdb.trace/change-loc.exp
11365 * gdb.trace/collection.exp
11366 * gdb.trace/deltrace.exp
11367 * gdb.trace/disconnected-tracing.exp
11368 * gdb.trace/entry-values.exp
11369 * gdb.trace/ftrace-lock.exp
11370 * gdb.trace/ftrace.exp
11371 * gdb.trace/infotrace.exp
11372 * gdb.trace/mi-trace-frame-collected.exp
11373 * gdb.trace/mi-trace-unavailable.exp
11374 * gdb.trace/mi-traceframe-changed.exp
11375 * gdb.trace/mi-tracepoint-changed.exp
11376 * gdb.trace/mi-tsv-changed.exp
11377 * gdb.trace/no-attach-trace.exp
11378 * gdb.trace/packetlen.exp
11379 * gdb.trace/passc-dyn.exp
11380 * gdb.trace/passcount.exp
11381 * gdb.trace/pending.exp
11382 * gdb.trace/pr16508.exp
11383 * gdb.trace/qtro.exp
11384 * gdb.trace/range-stepping.exp
11385 * gdb.trace/read-memory.exp
11386 * gdb.trace/report.exp
11387 * gdb.trace/save-trace.exp
11388 * gdb.trace/signal.exp
11389 * gdb.trace/stap-trace.exp
11390 * gdb.trace/status-stop.exp
11391 * gdb.trace/strace.exp
11392 * gdb.trace/tfile.exp
11393 * gdb.trace/tfind.exp
11394 * gdb.trace/trace-break.exp
11395 * gdb.trace/trace-condition.exp
11396 * gdb.trace/trace-enable-disable.exp
11397 * gdb.trace/trace-mt.exp
11398 * gdb.trace/tracecmd.exp
11399 * gdb.trace/tracefile-pseudo-reg.exp
11400 * gdb.trace/tspeed.exp
11401 * gdb.trace/tstatus.exp
11402 * gdb.trace/tsv.exp
11403 * gdb.trace/unavailable.exp
11404 * gdb.trace/while-dyn.exp
11405 * gdb.trace/while-stepping.exp
11406 * lib/gdb-guile.exp
11407 * lib/gdb.exp
11408 * lib/mi-support.exp
11409 * lib/pascal.exp
11410 * lib/perftest.exp
11411 * lib/prelink-support.exp
11412 * lib/selftest-support.exp
11413
ad02e4fe
SM
114142016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11415
11416 * Makefile.in: Include disable-implicit-rules.mk.
11417
22347e55
AA
114182016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11419
11420 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11421 non-byte-aligned bit fields.
11422
da5b30da
AA
114232016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11424
11425 PR gdb/12616
11426 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11427 respects the DW_AT_data_bit_offset attribute.
11428
b593ecca
SM
114292016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11430
11431 * gdb.base/default.exp: Fix output of "set language".
11432
3b165252
SM
114332016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11434
11435 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11436 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11437 make.
11438 * configure.ac: Remove checks for the make program.
11439 * configure: Re-generate.
11440
1a2f3d7f
KB
114412016-11-16 Kevin Buettner <kevinb@redhat.com>
11442
11443 * gdb.python/py-recurse-unwind.c (main): Add loop.
11444 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11445 to read_register() and gdb.parse_and_eval(). Make each code
11446 call a separate case that can be individually tested.
11447 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11448 proc. Call cont_and_backtrace for each of the code paths that
11449 we want to test in the unwinder.
11450
b7f38fda
AA
114512016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11452
11453 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11454 the definition of struct S.
11455
1f8db343
CM
114562016-11-11 Catherine Moore <clm@codesourcery.com>
11457
11458 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11459
fad0c9fb
PA
114602016-11-09 Pedro Alves <palves@redhat.com>
11461
11462 * gdb.base/commands.exp (runto_or_return): New procedure.
11463 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11464 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11465 (progvar_simple_while_test, progvar_complex_if_while_test)
11466 (if_while_breakpoint_command_test)
11467 (infrun_breakpoint_command_test, breakpoint_command_test)
11468 (user_defined_command_test, watchpoint_command_test)
11469 (test_command_prompt_position, redefine_hook_test)
11470 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11471 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11472 multi_line_input and multi_line. Remove gdb_expect and
11473 gdb_stop_suppressing_tests uses.
11474 * lib/gdb.exp (valnum_re): New global.
11475 (multi_line_input): New procedure.
11476
8354c62c
SM
114772016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11478
11479 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11480 Remove.
11481 (test_setup): Define with proc_with_prefix.
11482 (test_cli_inferior): Likewise.
11483 (test_cli_thread): Likewise.
11484 (test_cli_frame): Likewise.
11485 (test_cli_select_frame): Likewise.
11486 (test_cli_up_down): Likewise.
11487 (test_mi_thread_select): Likewise.
11488 (test_mi_stack_select_frame): Likewise.
11489 (test_cli_in_mi_inferior): Likewise.
11490 (test_cli_in_mi_thread): Likewise.
11491 (test_cli_in_mi_frame): Likewise.
11492 (top level): Do not use with_test_prefix_procname.
11493
64f367a2
PA
114942016-11-09 Pedro Alves <palves@redhat.com>
11495
11496 * gdb.base/commands.exp (gdbvar_simple_if_test)
11497 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11498 (progvar_simple_if_test, progvar_simple_while_test)
11499 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11500 (infrun_breakpoint_command_test, breakpoint_command_test)
11501 (user_defined_command_test, watchpoint_command_test)
11502 (test_command_prompt_position, deprecated_command_test)
11503 (bp_deleted_in_command, temporary_breakpoint_commands)
11504 (stray_arg0_test, source_file_with_indented_comment)
11505 (recursive_source_test, if_commands_test)
11506 (error_clears_commands_left, redefine_hook_test)
11507 (redefine_backtrace_test): Use proc_with_prefix.
11508 * lib/gdb.exp (proc_with_prefix): New proc.
11509
0bb65f1e
AA
115102016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11511
11512 * gdb.base/tui-layout.c: New file.
11513 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11514 disassembly window contains very long lines.
11515
7353f247
TT
115162016-11-08 Tom Tromey <tom@tromey.com>
11517
11518 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11519 depend on Python 2.
11520
30a7bb83
TT
115212016-11-08 Tom Tromey <tom@tromey.com>
11522
11523 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11524 New method.
11525
cdf5a07c
MG
115262016-10-29 Manish Goregaokar <manish@mozilla.com>
11527
2806dc7e 11528 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 11529
51a789c3
MG
115302016-10-27 Manish Goregaokar <manish@mozilla.com>
11531
2806dc7e
PA
11532 * gdb.rust/simple.rs: Add test for univariant enums without
11533 discriminants and for encoded struct-like enums.
51a789c3 11534
f610ab6d
PA
115352016-10-28 Pedro Alves <palves@redhat.com>
11536
11537 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11538 gdb_test_multiple, tighten regexps and match symtabs and line
11539 tables incrementally.
11540
b129b0ca
LM
115412016-10-28 Luis Machado <lgustavo@codesourcery.com>
11542
11543 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11544 general.
11545
ecf45d2c
SL
115462016-10-25 Luis Machado <lgustavo@codesourcery.com>
11547
11548 * gdb.base/exec-invalid-sysroot.exp: New file.
11549
b8d38ee4
JK
115502016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11551
11552 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11553
f90fd8c2
JK
115542016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11555
11556 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11557
2d2476aa
MR
115582016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11559
2806dc7e
PA
11560 * gdb.base/killed-outside.exp: Remove $options from a call to
11561 `prepare_for_testing'.
2d2476aa 11562
e42b25a0
SM
115632016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11564
11565 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11566 Change test message.
11567
3ccdb432
SM
115682016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11569
11570 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11571 Update comment.
11572
5bad3170
SM
115732016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11574
11575 * gdb.trace/mi-trace-save.exp: New file.
11576
5ad9dba7
YQ
115772016-10-13 Yao Qi <yao.qi@linaro.org>
11578
11579 * gdb.base/code_elim.exp (get_var_address): Remove.
11580 * gdb.base/relocate.exp: Likewise.
11581 * gdb.base/shreloc.exp: Likewise.
11582 * lib/gdb.exp (get_var_address): New.
11583
62df7e21
YQ
115842016-10-13 Yao Qi <yao.qi@linaro.org>
11585
11586 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11587 floating point tests if $skip_float_test is false.
11588
4dac951e
LM
115892016-10-12 Luis Machado <lgustavo@codesourcery.com>
11590
11591 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11592 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11593 argc values.
11594 Add 1 to argc so we guarantee distinct initial/modified argc values.
11595
8f1a8fc4
JK
115962016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11597
11598 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11599
16c85b5d
JK
116002016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11601
11602 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11603 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11604 * gdb.arch/vsx-regs.exp: Likewise.
11605
1d0e042a
YQ
116062016-10-07 Yao Qi <yao.qi@linaro.org>
11607
11608 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11609
68dadef5
MM
116102016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11611
11612 * gdb.python/python.exp: Test decode_line("*0").
11613
33fa2c6e
DE
116142016-10-06 Doug Evans <dje@google.com>
11615
11616 * gdb.python/py-value.exp (test_value_creation): Add test for large
11617 unsigned 64-bit value.
11618
9c37b5ae
TT
116192016-10-06 Tom Tromey <tom@tromey.com>
11620
11621 * gdb.compile/compile.exp: Change java tests to rust.
11622 * gdb.base/setshow.exp: Change java tests to rust.
11623 * gdb.base/default.exp: Remove java from language list.
11624 * README (Examples): Update language example.
11625 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11626 test.
11627 * lib/gdb.exp (skip_java_tests): Remove.
11628 * lib/java.exp: Remove.
11629 * gdb.java: Remove.
11630
78b86327
MR
116312016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11632
11633 * gdb.arch/mips-fcr.exp: New test.
11634 * gdb.arch/mips-fcr.c: Source for the new test.
11635
7470adbb
MR
116362016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11637
11638 * gdb.base/solib-disc.exp: Use `standard_output_file'
11639 throughout.
11640
4a556533
PA
116412016-10-06 Pedro Alves <palves@redhat.com>
11642
11643 * gdb.base/jit-simple-dl.c: New file.
11644 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11645 * gdb.base/jit-simple.c: ... this.
11646 * gdb.base/jit-simple.exp (jit_run): Delete.
11647 (build_jit): New proc.
11648 (jit_test_reread): Recompile either the main program or the shared
11649 library, depending on what is being tested. Skip changing address
11650 if caller wants to. Compare before/after addresses. If testing
11651 standalone, explicitly load the binary. Test "maint info
11652 breakpoints".
11653 (top level): Add "standalone vs shared lib" and "change address"
11654 vs "same address" axes.
11655
5a122fbc
PA
116562016-10-06 Pedro Alves <palves@redhat.com>
11657
11658 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11659 call.
11660 (jit_run): Delete.
11661 (jit_test_reread): Use with_test_prefix. Reload the main binary
11662 explicitly. Compare the before/after addresses of the JIT
11663 descriptor.
11664
ee8da4b8
DE
116652016-08-15 Doug Evans <dje@google.com>
11666
11667 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11668 for single bitfields is bool.
11669 * gdb.xml/tdesc-regs.exp: Ditto.
11670
f389f6fe
JK
116712016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11672
11673 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11674
fdebf1a4
YQ
116752016-10-05 Yao Qi <yao.qi@linaro.org>
11676
11677 * lib/gdb.exp (support_complex_tests): Return zero if
11678 gdb_skip_float_test return true.
11679
9c36d954 116802016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11681 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
11682
11683 PR gdb/20487
11684 * gdb.mi/user-selected-context-sync.exp: New file.
11685 * gdb.mi/user-selected-context-sync.c: New file.
11686
4034d0ff 116872016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11688 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
11689
11690 PR gdb/20487
11691 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11692 =thread-select-event check.
11693
a4297203
PB
116942016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11695
11696 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11697 the compulsory L operand changes.
11698 * gdb.arch/powerpc-power.s: Likewise.
11699
bb805577
JK
117002016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11701
11702 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11703 * gdb.base/jit-attach-pie.c: New file.
11704 * gdb.base/jit-attach-pie.exp: New file.
11705
6d61dee5
PA
117062016-09-28 Pedro Alves <palves@redhat.com>
11707
11708 * gdb.base/infcall-input.c: New file.
11709 * gdb.base/infcall-input.exp: New file.
11710
f73842fc
YQ
117112016-09-22 Yao Qi <yao.qi@linaro.org>
11712
11713 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11714 (gdb_exit): Rename it to ...
11715 (gdbserver_gdb_exit): ... Close GDBserver.
11716 (gdb_exit): New proc, call gdbserver_gdb_exit.
11717 (mi_gdb_exit): Likewise.
11718
90681dab
YQ
117192016-09-22 Yao Qi <yao.qi@linaro.org>
11720
11721 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11722 path.
11723 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11724 Remove duplication.
11725
9c211fd8
YQ
117262016-09-22 Yao Qi <yao.qi@linaro.org>
11727
11728 * lib/gdbserver-support.exp: Check the existence of
11729 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11730
ad0a504f
AK
117312016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11732
11733 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11734
36cf1806
TT
117352016-09-21 Tom Tromey <tom@tromey.com>
11736
11737 PR gdb/20604:
11738 * gdb.base/quit.exp: New file.
11739
74172ecf
SM
117402016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11741
11742 * .gitignore: New file.
11743
3d0ec882
MR
117442016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11745
11746 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11747 throughout.
11748
8193adea
AA
117492016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11750
11751 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11752
d41a5c09
JK
117532016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11754
11755 * gdb.cp/casts.cc (decltype): Move it ...
11756 (main): ... with its call to ...
11757 * gdb.cp/casts03.cc: ... a new file.
11758 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11759
d2dfe700
JK
117602016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11761
11762 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11763
e2a92b16
PB
117642016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11765
11766 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11767 and sync up the test with tests in gas/testsuite/gas/ppc.
11768 * gdb.arch/powerpc-power.exp: Likewise.
11769
49b4de64
JK
117702016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11771
11772 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11773
2c29df25
SDJ
117742016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11775 Jan Kratochvil <jan.kratochvil@redhat.com>
11776
11777 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11778 make m1's definition to be different from m2's. Use 'dummy' as an
11779 argument for probe 'two'.
11780
cc3c2846
JB
117812016-09-10 Jon Beniston <jon@beniston.com>
11782
11783 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11784 for sim target.
11785
e1b2624a
AA
117862016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11787
11788 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11789 variable declaration.
11790 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11791 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11792 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11793 received HWCAP as its argument.
11794
4295e285
PA
117952016-09-06 Pedro Alves <palves@redhat.com>
11796
11797 * gdb.base/new-ui-pending-input.c: New file.
11798 * gdb.base/new-ui-pending-input.exp: New file.
11799 * gdb.exp (clear_gdb_spawn_id): New procedure.
11800 (with_spawn_id): Check whether gdb_spawn_id exists before
11801 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11802 on exit.
11803
00d5215e
UW
118042016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11805
11806 * gdb.base/float128.c: New file.
11807 * gdb.base/float128.exp: Likewise.
11808 * gdb.base/floatn.c: Likewise.
11809 * gdb.base/floatn.exp: Likewise.
11810
a9ff5f12
UW
118112016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11812
11813 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11814
f245535c
PA
118152016-09-05 Pedro Alves <palves@redhat.com>
11816
11817 PR backtrace/19927
11818 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11819 unwinders are immediately called as side effect of "source" or
11820 "disable unwinder" commands.
11821 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11822
ae9cf263
YQ
118232016-09-02 Yao Qi <yao.qi@linaro.org>
11824
11825 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11826 is true and $type is "float" or "double".
11827
27aba047
YQ
118282016-09-02 Yao Qi <yao.qi@linaro.org>
11829
11830 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11831 true.
11832 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11833 * gdb.base/call-rt-st.exp: Likewise.
11834 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11835 return value instead of gdb,skip_float_test.
11836 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11837 (do_function_calls): Use its return value instead of
11838 gdb,skip_float_test.
11839 * gdb.base/finish.exp: Likewise.
11840 * gdb.base/funcargs.exp: Likewise.
11841 * gdb.base/return.exp: Likewise.
11842 * gdb.base/return2.exp: Likewise.
11843 * gdb.base/varargs.exp: Likewise.
11844 * lib/gdb.exp (gdb_skip_float_test): Change it to
11845 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11846
5af962df
AA
118472016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11848
11849 * gdb.multi/tids.exp: Test "thread apply all".
11850
7fac6910
JK
118512016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11852
11853 * gdb.base/default.exp (tty): Remove.
11854
bb1fe4ac
KB
118552016-08-24 Kevin Buettner <kevinb@redhat.com>
11856
2806dc7e
PA
11857 * gdb.python/py-recurse-unwind.c: New file.
11858 * gdb.python/py-recurse-unwind.py: New file.
11859 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 11860
0a1ddfa6
SM
118612016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11862
11863 * gdb.base/set-inferior-tty.exp: New file.
11864 * gdb.base/set-inferior-tty.c: New file.
11865
d9de1fe3
PA
118662016-08-23 Pedro Alves <palves@redhat.com>
11867
11868 PR gdb/20494
11869 * gdb.base/new-ui-echo.c: New file.
11870 * gdb.base/new-ui-echo.exp: New file.
11871
e9d9abd7
YQ
118722016-08-23 Yao Qi <yao.qi@linaro.org>
11873
11874 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11875 gdbserver_spawn.
11876 * gdb.server/connect-without-multi-process.exp (do_test):
11877 Likewise.
11878
3589529e
YQ
118792016-08-23 Yao Qi <yao.qi@linaro.org>
11880
11881 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11882 standalone_txt. Delete gdb_txt and standalone_txt on host
11883 and target. Spawn the binary on target. Copy files from
11884 target to host.
11885
6bb90213
PA
118862016-08-22 Pedro Alves <palves@redhat.com>
11887
11888 PR gdb/20505
11889 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11890 with_test_prefix. Factor out bits to ...
11891 (test_no_vdso): ... this new procedure.
11892
20c2c024
CL
118932016-08-19 Carl Love <cel@us.ibm.com>
11894
11895 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11896 maintaining separate logic for constructing the output path.
11897 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11898 * gdb.arch/ppc-dfp.exp: Likewise.
11899 * gdb.arch/ppc-fp.exp: Likewise.
11900 * gdb.arch/vsx-regs.exp: Likewise.
11901 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11902 binprefix for generating the additional binary files.
11903
0646e07d
PA
119042016-08-19 Pedro Alves <palves@redhat.com>
11905
11906 * gdb.trace/mi-trace-frame-collected.exp
11907 (test_trace_frame_collected): On x32, expect two registers.
11908
46da9242
CL
119092016-08-18 Carl Love <cel@us.ibm.com>
11910
11911 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11912 and sync up the test with tests in gas/testsuite/gas/ppc.
11913 * gdb.arch/powerpc-power.exp: Likewise.
11914
eb2332d7
SM
119152016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11916
11917 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11918 expected error message.
11919
63c61e04
SM
119202016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11921
11922 * gdb.multi/remove-inferiors.exp: New file.
11923 * gdb.multi/remove-inferiors.c: New file.
11924
7b17065f
YQ
119252016-08-12 Yao Qi <yao.qi@linaro.org>
11926
11927 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11928 argument list.
11929
01d3dedf
PA
119302016-08-10 Pedro Alves <palves@redhat.com>
11931
11932 PR gdb/19187
11933 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11934 setup_kfails.
11935
3eb7562a
PA
119362016-08-09 Pedro Alves <palves@redhat.com>
11937 Simon Marchi <simon.marchi@ericsson.com>
11938
11939 PR gdb/20418
11940 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11941 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11942
80614914
PA
119432016-08-09 Pedro Alves <palves@redhat.com>
11944
11945 PR mi/20431
11946 * gdb.mi/mi-cmd-error.exp: New file.
11947
f348d89a
PA
119482016-08-09 Pedro Alves <palves@redhat.com>
11949
11950 PR gdb/18653
11951 * gdb.base/signals-state-child.c: New file.
11952 * gdb.base/signals-state-child.exp: New file.
11953 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11954
e5ca03b4
PA
119552016-08-09 Pedro Alves <palves@redhat.com>
11956
11957 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11958
282a0691
TT
119592016-08-03 Tom Tromey <tom@tromey.com>
11960
11961 PR python/18565:
11962 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11963
41bfcd63
YQ
119642016-08-01 Yao Qi <yao.qi@linaro.org>
11965
11966 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11967 variable mode to "multi-process" if $multi_process is 1, otherwise
11968 set it to "single-process".
11969
e3465b24
YQ
119702016-08-01 Yao Qi <yao.qi@linaro.org>
11971
11972 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11973 * gdb.cp/cpexprs.exp: Likewise.
11974 * gdb.cp/m-static.exp: Likewise.
11975
0b31a4bc
TT
119762016-07-26 Tom Tromey <tom@tromey.com>
11977
11978 PR python/20190:
11979 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11980 test.
11981
e0461dbb
MM
119822016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11983
11984 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11985 selecting assembly source files.
11986 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11987 assembly source files.
11988 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11989 assembly source files.
11990 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11991 selecting assembly source files.
11992
8194e927
SM
119932016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11994
11995 * gdb.base/new-ui.exp (do_test_invalid_args): New
11996 procedure.
11997
c0272db5
TW
119982016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11999
12000 * gdb.btrace/reconnect.c: New file.
12001 * gdb.btrace/reconnect.exp: New file.
12002
e3487908
GKB
120032016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12004
12005 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12006 to test_catch_syscall_group.
12007 (test_catch_syscall_group): New.
12008
12df5c00
TT
120092016-07-21 Tom Tromey <tom@tromey.com>
12010
12011 * gdb.rust/simple.rs (main): Use empty struct expression.
12012 * gdb.rust/simple.exp: Add tests for empty struct expression.
12013
bae62ee2
YQ
120142016-07-21 Yao Qi <yao.qi@linaro.org>
12015
12016 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12017 if gdb_skip_xml_test is true on some targets.
12018
b1b53fb3
YQ
120192016-07-21 Yao Qi <yao.qi@linaro.org>
12020
12021 * gdb.server/solib-list.exp: Unset last_loaded_file.
12022
027d97f8
JK
120232016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12024
12025 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12026 "step into captured_main (args)".
12027
7674d381
JK
120282016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12029
12030 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12031
72b5d099
JK
120322016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12033
12034 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12035
1f960ced
PA
120362016-07-19 Pedro Alves <palves@redhat.com>
12037
12038 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12039 * gdb.opt/inline-bt.exp: Likewise.
12040 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12041 additional_flags=-Winline.
12042 * gdb.opt/inline-locals.exp: Likewise.
12043 * gdb.opt/inline-markers.c (ATTR): Define.
12044 (inlined_fn): Use it.
12045
f25827c1
YQ
120462016-07-19 Yao Qi <yao.qi@linaro.org>
12047
12048 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12049 (test_with_self): Remove some code. Remove argument executable.
12050 (top-level): Use do_self_tests.
12051
37539ebe
DB
120522016-07-15 Zachary Welch <zwelch@codesourcery.com>
12053 Don Breazeal <donb@codesourcery.com>
12054
12055 * gdb.base/maint.exp: Escape paths used in regular expressions.
12056 * gdb.stabs/weird.exp: Likewise.
12057
dac790e1
TT
120582016-07-13 Tom Tromey <tom@tromey.com>
12059
12060 PR python/15620, PR python/18620:
12061 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12062 (test_bkpt_events): New procs.
12063
93daf339
TT
120642016-07-13 Tom Tromey <tom@tromey.com>
12065
12066 PR python/17698:
12067 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12068 test.
12069 (test_watchpoints): Likewise.
12070 (test_bkpt_pending): New proc.
12071
6571a381
TT
120722016-07-13 Tom Tromey <tom@tromey.com>
12073
12074 PR cli/18053:
12075 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12076 completion test.
12077
e8732474
JK
120782016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12079
12080 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12081 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12082 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12083 f_label.
12084 (g): Rename g_end_lbl to g_label.
12085 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12086 low_pc and high_pc.
12087 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12088
e0f3fd7c
TT
120892016-07-12 Tom Tromey <tom@tromey.com>
12090
12091 PR python/19293:
12092 * gdb.python/py-unwind-maint.exp: Update tests.
12093
3cfe46b6
YQ
120942016-07-12 Yao Qi <yao.qi@linaro.org>
12095
12096 * lib/selftest-support.exp (selftest_setup): Match the output
12097 when captured_main is inlined.
12098
4f19a0e6
WT
120992016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12100
12101 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12102 New variables.
12103 (print this%a, print this%b, print this): New tests.
12104 * gdb.fortran/derived-types.f90 (this): New object and
12105 initialization.
12106
986cf455
SM
121072016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12108
12109 * gdb.ada/arraydim.exp: Remove extra directory level in build
12110 directory.
12111
f0464b23
SM
121122016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12113
12114 * lib/ada.exp: Remove extra directory level in build directory.
12115 * gdb.ada/cond_lang.exp: Likewise.
12116 * gdb.ada/exec_changed.exp: Likewise.
12117 * gdb.ada/lang_switch.exp: Likewise.
12118
42d94011
MG
121192016-07-06 Manish Goregaokar <manish@mozilla.com>
12120
2806dc7e
PA
12121 * simple.rs: Add test for raw pointer subscripting.
12122 * simple.exp: Add test expectations.
42d94011 12123
647c264c
YQ
121242016-07-05 Yao Qi <yao.qi@linaro.org>
12125
12126 * gdb.mi/mi-reverse.exp: Match =record-started output.
12127
20aa2c60
PA
121282016-07-01 Pedro Alves <palves@redhat.com>
12129
12130 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12131 procedure.
12132 (jit_reader_test): Test the jit reader's unwinder.
12133 * gdb.base/jithost.c (jit_function_00_code): New global.
12134 (main): Use memcpy to fill in the mmapped code, instead of poking
12135 bytes manually here.
12136 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12137 value.
12138 (read_debug_info): Save the function's range.
12139 (read_sp): New function.
12140 (unwind_frame): Use it. Also unwind RBP.
12141 (get_frame_id): Use read_sp.
12142 (gdb_init_reader): Use calloc instead of malloc.
12143 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12144 parameter. Use gdb_test_multiple.
12145
ced2dffb
PA
121462016-07-01 Pedro Alves <palves@redhat.com>
12147 Antoine Tremblay <antoine.tremblay@ericsson.com>
12148
12149 * gdb.threads/process-dies-while-detaching.c: New file.
12150 * gdb.threads/process-dies-while-detaching.exp: New file.
12151
63000888
PA
121522016-07-01 Pedro Alves <palves@redhat.com>
12153
12154 * gdb.multi/watchpoint-multi-exit.c: New file.
12155 * gdb.multi/watchpoint-multi-exit.exp: New file.
12156
038d4868
PA
121572016-06-30 Pedro Alves <palves@redhat.com>
12158
12159 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12160 unset inferior_spawn_id.
12161
994e9c83
PA
121622016-06-30 Pedro Alves <palves@redhat.com>
12163
12164 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12165 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12166
e5653468
YQ
121672016-06-29 Yao Qi <yao.qi@linaro.org>
12168
12169 * gdb.base/return.c: Add copyright header.
12170
803b47e5
TT
121712016-06-29 Tom Tromey <tom@tromey.com>
12172
12173 PR python/20129:
12174 * gdb.python/py-framefilter.exp: Add tests for setting priority
12175 and disabling of non-existent frame filter.
12176
28244707
YQ
121772016-06-29 Yao Qi <yao.qi@linaro.org>
12178
12179 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12180 0x0f07ff.
12181
a31d2f06
YQ
121822016-06-28 Yao Qi <yao.qi@linaro.org>
12183
12184 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12185 triplets. Start gdb, execute catch syscall, and continue. Check
12186 gdb's output to determine catch syscall is supported.
12187
921d8f54
MG
121882016-06-27 Manish Goregaokar <manish@mozilla.com>
12189
25d49b86
PA
12190 * gdb.rust/simple.rs: Add test for returning unit in a function.
12191 * gdb.rust/simple.exp: Add expectation for functions returning
12192 unit.
921d8f54 12193
f4952523
PMR
121942016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12195
12196 * gdb.python/py-breakpoint-create-fail.c,
12197 gdb.python/py-breakpoint-create-fail.exp,
12198 gdb.python/py-breakpoint-create-fail.py: New testcase.
12199
fccb08f8
MG
122002016-06-25 Manish Goregaokar <manish@mozilla.com>
12201
12202 PR gdb/20239
12203 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12204 * gdb.rust/simple.exp: Add test expectations for new NonZero
12205 tests.
fccb08f8 12206
6b850546
DT
122072016-06-24 David Taylor <dtaylor@emc.com>
12208
12209 * gdb.base/offsets.exp: New file.
12210 * gdb.base/offsets.c: New file.
12211
17621150
TT
122122016-06-23 Tom Tromey <tom@tromey.com>
12213
12214 PR gdb/16483:
12215 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12216 before any filters are loaded.
12217
04d59df6
WT
122182016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12219
12220 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12221 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12222 structs.
12223 * gdb.fortran/derived-type-function.exp: New file.
12224 * gdb.fortran/derived-type-function.f90: New file.
12225
12226
ac69f786
PA
122272016-06-21 Pedro Alves <palves@redhat.com>
12228
12229 * gdb.base/new-ui.exp: New file.
12230 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12231 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12232 (with_spawn_id): New procedure.
12233
49940788
PA
122342016-06-21 Pedro Alves <palves@redhat.com>
12235
12236 * gdb.mi/mi-exec-run.exp: New file.
12237
ef274d26
PA
122382016-06-21 Pedro Alves <palves@redhat.com>
12239
12240 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12241 breakpoint command's output on the main UI.
12242 (test_break): New procedure, factored out from calls in the top
12243 level.
12244 (top level): Use foreach_with_prefix to test MI as main UI and as
12245 separate UI.
12246
468afe6c
PA
122472016-06-21 Pedro Alves <palves@redhat.com>
12248
12249 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12250 (test_awatch_creation_and_listing)
12251 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12252 Remove 'type' parameter.
12253 (test_watchpoint_all): New parameter mi_mode. Remove
12254 with_test_prefix.
12255 (top level): Use foreach_with_prefix, and add main/separate UI MI
12256 testing axis.
12257
51f77c37
PA
122582016-06-21 Pedro Alves <palves@redhat.com>
12259
12260 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12261 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12262 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12263 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12264 (gdb_main_spawn_id, mi_spawn_id): Declare and
12265 comment.
12266 (mi_create_inferior_pty): New procedure,
12267 factored out from default_mi_gdb_start.
12268 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12269 procedures.
12270 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12271 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12272 Use mi_create_inferior_pty.
12273 (mi_gdb_start): Use eval to pass down args list.
12274
8980e177
PA
122752016-06-21 Pedro Alves <palves@redhat.com>
12276
12277 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12278 * gdb.opt/inline-cmds.exp: Add MI tests.
12279
f38d3ad1
PA
122802016-06-21 Pedro Alves <palves@redhat.com>
12281
12282 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12283
45db7c09
PA
122842016-06-21 Pedro Alves <palves@redhat.com>
12285
12286 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12287 (top level): Use it instead of mi_execute_to.
12288
5a069ab3
PA
122892016-06-21 Pedro Alves <palves@redhat.com>
12290
12291 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12292 (cont_handler_str): New.
12293 (signal_stop_handler): Set stop_handler_str instead of printing to
12294 stdout.
12295 (continue_handler): Set cont_handler_str instead of printing to
12296 stdout.
12297 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12298 mi_send_resuming_command. Print stop_handler_str and
12299 cont_handler_str instead of expecting the python events print
12300 directly.
12301
2838cc1d
SD
123022016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12303
12304 * gdb.base/jit-reader.exp: New file.
12305 * gdb.base/jithost.c: New file.
12306 * gdb.base/jithost.h: New file.
12307 * gdb.base/jitreader.c : New file.
12308 * gdb.base/jit-protocol.h: New file.
12309
21a77091
YQ
123102016-06-17 Yao Qi <yao.qi@linaro.org>
12311
12312 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12313 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12314 and detach-on-fork. Adjust tests.
12315 (top level): Invoke break_cond_on_syscall with combinations of
12316 syscall, follow-fork-mode and detach-on-fork.
12317
f50bf8e5
YQ
123182016-06-17 Yao Qi <yao.qi@linaro.org>
12319
12320 * gdb.base/step-over-exit.c: New.
12321 * gdb.base/step-over-exit.exp: New.
12322
a28d8e50
YTL
123232016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12324
12325 * gdb.base/float.exp: Add target check for nds32*-*-*.
12326 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12327
cad8e26d
AB
123282016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12329
12330 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12331 for unsupported target features.
12332 * gdb.base/call-rt-st.exp: Likewise.
12333 * gdb.base/call-sc.exp: Likewise.
12334 * gdb.base/call-signal-resume.exp: Likewise.
12335 * gdb.base/call-strs.exp: Likewise.
12336 * gdb.base/callexit.exp: Likewise.
12337 * gdb.base/callfuncs.exp: Likewise.
12338 * gdb.base/nodebug.exp: Likewise.
12339 * gdb.base/printcmds.exp: Likewise.
12340 * gdb.base/ptype.exp: Likewise.
12341 * gdb.base/structs.exp: Likewise.
12342 * gdb.base/unwindonsignal.exp: Likewise.
12343 * gdb.cp/gdb2495.exp: Likewise.
12344 * gdb.cp/templates.exp: Likewise.
12345 * gdb.cp/virtfunc.exp: Likewise.
12346 * gdb.threads/hand-call-in-threads.exp: Likewise.
12347 * gdb.threads/interrupted-hand-call.exp: Likewise.
12348 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12349
347dc102
TT
123502016-06-10 Tom Tromey <tom@tromey.com>
12351
12352 PR rust/20110:
12353 * gdb.rust/expr.exp: Add test for integer constant larger than
12354 i32.
12355
5e13cf25
BH
123562016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12357
12358 * gdb.fortran/nested-funcs.exp: New.
12359 * gdb.fortran/nested-funcs.f90: New.
12360
bb556f1f
TK
123612016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12362
12363 * gdb.base/examine-backward.c: New file.
12364 * gdb.base/examine-backward.exp: New file.
12365
38b022b4
SM
123662016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12367
12368 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12369 matching.
12370
1b40ec05
TT
123712016-06-02 Tom Tromey <tom@tromey.com>
12372
12373 PR python/18984:
12374 * gdb.python/py-shared.exp: Add solib_name test.
12375
193bd378
SM
123762016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12377
12378 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12379
3326303b
MG
123802016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12381
12382 PR c++/19893
12383 * gdb.dwarf2/implref.exp: Rename to...
12384 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12385 * gdb.dwarf2/implref-array.c: New file.
12386 * gdb.dwarf2/implref-array.exp: Likewise.
12387 * gdb.dwarf2/implref-global.c: Likewise.
12388 * gdb.dwarf2/implref-global.exp: Likewise.
12389 * gdb.dwarf2/implref-struct.c: Likewise.
12390 * gdb.dwarf2/implref-struct.exp: Likewise.
12391
825c8ef2
AT
123922016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12393
12394 * gdb.trace/trace-condition.exp: Add 64bit tests.
12395
2320162a
AT
123962016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12397
12398 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12399 bits types.
12400 (main): Adapt to 8 to 64 bits types.
12401 * gdb.trace/trace-condition.exp: Add new tests.
12402
a7818233
AT
124032016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12404
12405 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12406
0d336466
AT
124072016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12408
12409 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12410 Move condition tests...
12411 * gdb.trace/trace-condition.exp: Here.
12412
7faeb45a
AT
124132016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12414
12415 * gdb.trace/trace-condition.exp: Add counter-case tests.
12416
e385593e
JK
124172016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12418
12419 PR c++/15231
12420 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12421 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12422
744608cc
PA
124232016-05-27 Pedro Alves <palves@redhat.com>
12424
12425 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12426 New procedure.
12427 (top level): Call it, and bail out of DejaGnu is known to be bad.
12428
ac775bf4
AB
124292016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12430
12431 * gdb.base/whatis.c: Extend the test case.
12432 * gdb.base/whatis.exp: Add additional tests.
12433
2bbad2ea
BH
124342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12435
12436* gdb.fortran/type.f90: Add pointer variable.
12437* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12438
8b70175d
BH
124392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12440
12441 * gdb.fortran/vla-type.exp: Fix testcase name.
12442
86d8a848
BH
124432016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12444
12445 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12446
e188eb36
BH
124472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12448
12449 * gdb.fortran/type.f90: Add nested structures.
12450 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12451 * gdb.fortran/derived-type.exp: Adapt expected output.
12452 * gdb.fortran/vla-type.exp: Adapt expected output.
12453
9b2db1fd
BH
124542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12455
12456 * gdb.fortran/whatis_type.exp: Adapt expected output.
12457
72b17055
BH
124582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12459
12460 * gdb.fortran/print_type.exp: Fix expected output.
12461 * gdb.fortran/whatis_type.exp: Fix expected output.
12462
3cd81d8d
BH
124632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12464
12465 * gdb.fortran/whatis_type.exp: Use multi_line.
12466
ddae9462
TT
124672016-05-24 Tom Tromey <tom@tromey.com>
12468
12469 PR python/17386:
12470 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12471 use value as an index.
12472
1957f6b8
TT
124732016-05-23 Tom Tromey <tom@tromey.com>
12474
12475 PR python/17981:
12476 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12477 no-breakpoint case.
12478
026a9174
PA
124792016-05-24 Pedro Alves <palves@redhat.com>
12480
12481 PR gdb/19828
12482 * gdb.threads/clone-attach-detach.c: New file.
12483 * gdb.threads/clone-attach-detach.exp: New file.
12484
e70a7231
FR
124852016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12486
12487 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12488
0f6ed0e0
TT
124892016-05-23 Tom Tromey <tom@tromey.com>
12490
12491 PR python/19438, PR python/18393:
12492 * gdb.python/py-progspace.exp: Add "dir" test.
12493 * gdb.python/py-objfile.exp: Add "dir" test.
12494
ffd19d61
YQ
124952016-05-23 Yao Qi <yao.qi@linaro.org>
12496
12497 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12498 * gdb.arch/thumb2-it.exp: Likewise.
12499
9e8f9b05
SM
125002016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12501
12502 * gdb.mi/mi-threads-interrupt.c: New file.
12503 * gdb.mi/mi-threads-interrupt.exp: New file.
12504
61c6156d
SM
125052016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12506
12507 PR gdb/18077
12508 * gdb.mi/mi-async-run.exp: New file.
12509 * gdb.mi/mi-async-run.c: New file.
12510
67218854
TT
125112016-05-17 Tom Tromey <tom@tromey.com>
12512 Manish Goregaokar <manishsmail@gmail.com>
12513
12514 * lib/rust-support.exp: New file.
12515 * lib/gdb.exp (skip_rust_tests): New proc.
12516 (build_executable_from_specs): Handle rust.
12517 * lib/future.exp (gdb_find_rustc): New proc.
12518 (gdb_default_target_compile): Handle rust.
12519 * gdb.rust/expr.exp: New file.
12520 * gdb.rust/generics.exp: New file.
12521 * gdb.rust/generics.rs: New file.
12522 * gdb.rust/methods.exp: New file.
12523 * gdb.rust/methods.rs: New file.
12524 * gdb.rust/modules.exp: New file.
12525 * gdb.rust/modules.rs: New file.
12526 * gdb.rust/simple.exp: New file.
12527 * gdb.rust/simple.rs: New file.
12528
c44af4eb
TT
125292016-05-17 Tom Tromey <tom@tromey.com>
12530
12531 * gdb.base/default.exp (set language): Add rust.
12532
dcd1f979
TT
125332016-05-17 Tom Tromey <tom@tromey.com>
12534
12535 * gdb.gdb/unittest.exp: New file.
12536
155b7f57
YQ
125372016-05-16 Yao Qi <yao.qi@linaro.org>
12538
12539 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12540 shell_prompt. Update shell_prompt_re.
12541
8ddd5a6c
DE
125422016-05-12 Doug Evans <dje@google.com>
12543
12544 PR symtab/19999
12545 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12546 $options when building executable.
12547 * gdb.dwarf2/fission-loclists-pie.S: New file.
12548 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12549
02e370d9
SM
125502016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12551
12552 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12553 of [is_remote target],
12554
8929ad8b
SM
125552016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12556
12557 * lib/gdb.exp (use_gdb_stub): New procedure.
12558
6c447423
DE
125592016-05-03 Yunlian Jiang <yunlian@google.com>
12560 Doug Evans <dje@google.com>
12561
12562 PR symtab/19914
12563 * gdb.dwarf2/dwp-sepdebug.c: New file.
12564 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12565
444e826c
SM
125662016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12567
12568 * gdb.base/detach.exp: Remove is_remote check.
12569
740feeaa
SM
125702016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12571
12572 * gdb.base/annota-input-while-running.exp: Don't check for
12573 [is_remote target]. Enable annotations after running to main.
12574 Remove unused "set test..." line.
12575
9080ac9d
SM
125762016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12577
12578 * gdb.trace/trace-enable-disable.exp: New file.
12579 * gdb.trace/trace-enable-disable.c: New file.
12580
952ebca5
SM
125812016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12582
12583 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12584 use it in info sharedlibrary test.
12585 * gdb.trace/ftrace-lock.exp: Likewise.
12586 * gdb.trace/ftrace.exp: Likewise.
12587 * gdb.trace/range-stepping.exp: Likewise.
12588 * gdb.trace/trace-break.exp: Likewise.
12589 * gdb.trace/trace-condition.exp: Likewise.
12590 * gdb.trace/trace-mt.exp: Likewise.
12591
d9019901
SM
125922016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12593
12594 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12595 (gdb_load_shlib): ... this.
12596 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12597 gdb_load_shlib.
12598 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12599 * gdb.base/ctxobj.exp: Likewise.
12600 * gdb.base/dprintf-pending.exp: Likewise.
12601 * gdb.base/dso2dso.exp: Likewise.
12602 * gdb.base/fixsection.exp: Likewise.
12603 * gdb.base/gcore-relro.exp: Likewise.
12604 * gdb.base/gdb1555.exp: Likewise.
12605 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12606 * gdb.base/gnu-ifunc.exp: Likewise.
12607 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12608 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12609 * gdb.base/pending.exp: Likewise.
12610 * gdb.base/print-file-var.exp: Likewise.
12611 * gdb.base/print-symbol-loading.exp: Likewise.
12612 * gdb.base/shlib-call.exp: Likewise.
12613 * gdb.base/shreloc.exp: Likewise.
12614 * gdb.base/so-impl-ld.exp: Likewise.
12615 * gdb.base/solib-disc.exp: Likewise.
12616 * gdb.base/solib-nodir.exp: Likewise.
12617 * gdb.base/solib-overlap.exp: Likewise.
12618 * gdb.base/solib-symbol.exp: Likewise.
12619 * gdb.base/solib-weak.exp (do_test): Likewise.
12620 * gdb.base/sym-file.exp: Likewise.
12621 * gdb.base/symtab-search-order.exp: Likewise.
12622 * gdb.base/type-opaque.exp: Likewise.
12623 * gdb.base/unload.exp: Likewise.
12624 * gdb.base/watchpoint-solib.exp: Likewise.
12625 * gdb.compile/compile.exp: Likewise.
12626 * gdb.cp/gdb2384.exp: Likewise.
12627 * gdb.cp/infcall-dlopen.exp: Likewise.
12628 * gdb.cp/re-set-overloaded.exp: Likewise.
12629 * gdb.fortran/library-module.exp: Likewise.
12630 * gdb.opt/solib-intra-step.exp: Likewise.
12631 * gdb.python/py-finish-breakpoint.exp: Likewise.
12632 * gdb.python/py-shared.exp: Likewise.
12633 * gdb.reverse/solib-precsave.exp: Likewise.
12634 * gdb.reverse/solib-reverse.exp: Likewise.
12635 * gdb.server/solib-list.exp: Likewise.
12636 * gdb.threads/dlopen-libpthread.exp: Likewise.
12637 * gdb.threads/tls-shared.exp: Likewise.
12638 * gdb.threads/tls-so_extern.exp: Likewise.
12639 * gdb.trace/change-loc.exp: Likewise.
12640 * gdb.trace/ftrace-lock.exp: Likewise.
12641 * gdb.trace/ftrace.exp: Likewise.
12642 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12643 * gdb.trace/pending.exp: Likewise.
12644 * gdb.trace/range-stepping.exp: Likewise.
12645 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12646 (strace_info_marker): Likewise.
12647 (strace_probe_marker): Likewise.
12648 (strace_trace_on_same_addr): Likewise.
12649 (strace_trace_on_diff_addr): Likewise.
12650 * gdb.trace/trace-break.exp: Likewise.
12651 * gdb.trace/trace-condition.exp: Likewise.
12652 * gdb.trace/trace-mt.exp: Likewise.
12653
fca4cfd9
SM
126542016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12655
12656 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12657 result of gdb_remote_download.
12658 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12659 * gdb.base/dso2dso.exp: Likewise.
12660 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12661 * gdb.base/print-file-var.exp: Likewise.
12662 * gdb.base/shlib-call.exp: Likewise.
12663 * gdb.base/shreloc.exp: Likewise.
12664 * gdb.base/solib-overlap.exp: Likewise.
12665 * gdb.base/solib-weak.exp (do_test): Likewise.
12666 * gdb.base/unload.exp: Likewise.
12667
11cf4ffb
YQ
126682016-04-27 Yao Qi <yao.qi@linaro.org>
12669
12670 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12671 exists.
12672
3e2e34f8
KB
126732016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12674
12675 * vla-type.exp: Print structure from toplevel.
12676
8f07e298
BH
126772016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12678
12679 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12680 of dynamic types.
12681 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12682 of dynamic types.
12683
9920b434
BH
126842016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12685
12686 * gdb.fortran/vla-type.f90: New file.
12687 * gdb.fortran/vla-type.exp: New file.
12688
f3abeff5
YQ
126892016-04-25 Yao Qi <yao.qi@linaro.org>
12690
12691 * gdb.base/branch-to-self.c: New file.
12692 * gdb.base/branch-to-self.exp: New file.
12693
0a5d52f0
YQ
126942016-04-22 Yao Qi <yao.qi@linaro.org>
12695
12696 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12697 more after $hex.
12698
495346f6
YQ
126992016-04-22 Yao Qi <yao.qi@linaro.org>
12700
12701 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12702 * gdb.base/annota3.exp: Likewise.
12703
4a7e075c
YQ
127042016-04-22 Yao Qi <yao.qi@linaro.org>
12705
12706 * gdb.reverse/step-precsave.exp: Do one step and test program
12707 stops in "callee" and do multiple steps until program goes out
12708 of "callee".
12709 * gdb.reverse/step-reverse.exp: Likewise.
12710
5b061e98
YQ
127112016-04-22 Yao Qi <yao.qi@linaro.org>
12712
12713 * gdb.trace/signal.exp: Also pass if
12714 $tracepoint_hits($i) > $iterations.
12715
5c5dc57f
YQ
127162016-04-22 Yao Qi <yao.qi@linaro.org>
12717
12718 * gdb.trace/signal.c: New file.
12719 * gdb.trace/signal.exp: New file.
12720
a55411b9
DE
127212016-04-19 Doug Evans <xdje42@gmail.com>
12722
12723 * gdb.base/bad-file.exp: New file.
12724
a22df60a
MG
127252016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12726
12727 * gdb.dwarf2/implref.exp: New file.
12728
0c13f7e5
BH
127292016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12730
12731 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12732 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12733 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12734 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12735 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12736 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12737 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12738 * lib/fortran.exp (fortran_int4): New procedure.
12739 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12740 (fortran_logical4): Likewise.
12741
9b9b09e9
BH
127422016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12743
12744 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12745
a14d1f4d
BH
127462016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12747
12748 * lib/compiler.c: Add Intel specific preprocessor macros.
12749 * lib/compiler.cc: Likewise.
25d49b86 12750
7d49b1d0
LM
127512016-04-13 Luis Machado <lgustavo@codesourcery.com>
12752
12753 * gdb.server/connect-with-no-symbol-file.c: New file.
12754 * gdb.server/connect-with-no-symbol-file.exp: New file.
12755
8392fa22
SM
127562016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12757
12758 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12759
8c4c4aeb
SM
127602016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12761
12762 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12763 standard output directory.
12764
45e3745e
AT
127652016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12766
12767 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12768
e26b7e41
MM
127692016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12770
12771 * gdb.btrace/instruction_history.c (loop): Add declaration.
12772
8ce09462
AT
127732016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12774
12775 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12776
2e88a1ea
SM
127772016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12778
12779 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12780 parentheses to print.
12781 (continue_handler): Likewise.
12782
f48e22e3
SM
127832016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12784
12785 * gdb.server/solib-list.exp: Remove is_remote check.
12786 Pass shlib= to gdb_compile. Don't link shared library with
12787 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12788 Run binary filename through "readlink -f" on the target.
12789
096be756
PA
127902016-04-08 Pedro Alves <palves@redhat.com>
12791
12792 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12793 interpreter filename as argument to gdbserver_spawn.
12794 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12795 Return empty if $last_loaded_file does not exist.
12796
06500533
JK
127972016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12798
12799 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12800 * gdb.base/jit-main.c: Use exit after usage.
12801
2d35e871
JK
128022016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12803
12804 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12805 GDBHISTSIZE prior to the tests.
12806 * gdb.base/gdbinit-history.exp: Likewise.
12807
128082016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
12809
12810 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12811 instead of build_executable. Use gdb_load_shlibs.
12812
c8064e7e
YQ
128132016-04-07 Yao Qi <yao.qi@linaro.org>
12814
12815 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12816 Execute "si" command.
12817
bde47561
YQ
128182016-04-07 Yao Qi <yao.qi@linaro.org>
12819
12820 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12821 number instead of the comments on some line.
12822
b16f8a3b
DB
128232016-04-06 Don Breazeal <donb@codesourcery.com>
12824
12825 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12826 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12827
c2f901df
SM
128282016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12829
12830 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12831 standard_output_file. Remove unused binfile variable.
12832
ac17fda0
CU
128332016-04-05 Catalin Udma <catalin.udma@freescale.com>
12834
12835 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12836 * gdb.python/py-mi-objfile.exp: Match "list main" output
12837 in console format.
12838
03a8c4df
SM
128392016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12840
12841 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12842 absolute.
12843
6e774b13
SM
128442016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12845
12846 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12847 absolute.
12848 * gdb.trace/ftrace.exp: Likewise.
12849 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12850 targets as well.
12851 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12852 (gdb_load_shlibs): Copy libraries to test directory when testing
12853 natively. Only set solib-search-path if testing remotely.
12854 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12855
7817ea46
SM
128562016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12857
12858 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12859 gdb_download. Use it even if the target is not remote.
12860 * gdb.base/jit.exp (compile_jit_test): Likewise.
12861 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12862 output directory if the destination board is local, otherwise use
12863 the standard remote_download from DejaGnu.
12864 (gdb_download): Remove.
12865 (gdb_load_shlibs): Use gdb_remote_download instead of
12866 gdb_download.
12867 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12868 Use gdb_remote_download instead of gdb_download. Use it even if
12869 the target is not remote.
12870 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12871 instead of gdb_download.
12872
7beb7f68
SM
128732016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12874
12875 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12876 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12877 run.
12878
cc63428a
AV
128792016-04-01 Artemiy Volkov <artemiyv@acm.org>
12880
12881 PR gdb/19820
12882 * gdb.base/printcmds.exp: Add artificial arrays tests.
12883
64cdf930
PA
128842016-03-31 Pedro Alves <palves@redhat.com>
12885
12886 PR gdb/19858
12887 * gdb.base/jit-main.c: Include unistd.h.
12888 (ATTACH): Define to 0 if not already defined.
12889 (wait_for_gdb, mypid): New globals.
12890 (WAIT_FOR_GDB): New macro.
12891 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12892 some breakpoint locations.
12893 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12894 New procedures.
12895 (one_jit_test): Add REATTACH parameter, and handle it. Use
12896 continue_to_test_location.
12897 (top level): Test attach, and adjusts calls to one_jit_test.
12898
40dea8cb
PA
128992016-03-31 Pedro Alves <palves@redhat.com>
12900
12901 PR gdb/19858
12902 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12903 BINSUFFIX parameter, and handle it.
12904 (top level): Adjust calls compile_jit_test.
12905
e7ea3ec7
CU
129062016-03-31 Catalin Udma <catalin.udma@freescale.com>
12907
12908 PR python/19743
12909 * gdb.python/py-mi-events-gdb.py: New file.
12910 * gdb.python/py-mi-events.c: New file.
12911 * gdb.python/py-mi-events.exp: New file.
12912
e6359af3
YQ
129132016-03-30 Yao Qi <yao.qi@linaro.org>
12914
12915 * gdb.reverse/until-precsave.exp: Match function name only.
12916 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12917 Move malloc to a condition block.
12918 * gdb.reverse/until-reverse.exp: Match function name only.
12919
a4105d04
MK
129202016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12921
12922 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12923 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12924 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12925 variable for GPR 0 instead of assuming it is register 0.
12926 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12927 * lib/trace-support.exp: Add s390 registers.
12928
bfa6adb9
YQ
129292016-03-29 Yao Qi <yao.qi@linaro.org>
12930
12931 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12932
1e6697ea
YQ
129332016-03-24 Yao Qi <yao.qi@linaro.org>
12934
12935 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12936 test message.
12937
64bcd522
AA
129382016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12939
12940 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12941 maintaining separate logic for constructing the output path.
12942
7868401b
DB
129432016-03-16 Don Breazeal <donb@codesourcery.com>
12944
12945 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12946 Retry fork and waitpid on interrupted system call errors.
12947 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12948 Use with_timeout_factor to increase timeout by factor of 10.
12949
1cafadb4
DB
129502016-03-15 Don Breazeal <donb@codesourcery.com>
12951
12952 * gdb.cp/scope-err.cc: New test program.
12953 * gdb.cp/scope-err.exp: New test script.
12954 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12955 lines and "set breakpoint here" comment.
12956 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12957 Fixed some whitespace and format issues.
12958 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12959 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12960
81516450
DE
129612016-03-15 Doug Evans <dje@google.com>
12962
12963 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12964 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12965 All callers updated. Add tests for enums, mixed flags register.
12966
aa52b601
DE
129672016-03-15 Doug Evans <dje@google.com>
12968
12969 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12970 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12971
fa4ff313
SM
129722016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12973
12974 * gdb.base/default.exp: Add $_as_string to the list of expected
12975 convenience functions.
12976
f2403c39
AB
129772016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12978
12979 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12980
f2f3ccb9
SM
129812016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12982
12983 * gdb.python/py-as-string.exp: New file.
12984 * gdb.python/py-as-string.c: New file.
12985
00dbd492
PA
129862016-03-09 Pedro Alves <palves@redhat.com>
12987
12988 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12989 signal" -> "Thread NN received signal" output change.
12990 * gdb.threads/ia64-sigill.exp: Likewise.
12991 * gdb.threads/linux-dp.exp: Likewise.
12992 * gdb.threads/manythreads.exp: Likewise.
12993 * gdb.threads/pending-step.exp: Likewise.
12994 * gdb.threads/print-threads.exp: Likewise.
12995 * gdb.threads/sigstep-threads.exp: Likewise.
12996 * gdb.threads/staticthreads.exp: Likewise.
12997 * gdb.threads/tls.exp: Likewise.
12998
1e6697ea
YQ
129992016-03-09 Pedro Alves <palves@redhat.com>
13000
13001 * gdb.base/command-line-input.exp: New file.
13002
b04fd3be
MK
130032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13004
13005 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13006 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13007 * gdb.trace/pending.exp: Accept leading dot before function name.
13008 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13009 * lib/trace-support.exp: Set registers for ppc.
13010
98fa59e9
MK
130112016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13012
13013 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13014 use it for disassembly; accept .main in addition to main in backtrace.
13015
f77198c8
MK
130162016-03-09 Wei-cheng Wang <cole945@gmail.com>
13017 Marcin Kościelnicki <koriakin@0x04.net>
13018
13019 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13020 (gdb_recursion_test_ptr): New global variable.
13021 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13022 gdb_recursion_test.
13023 (gdb_c_test): Ditto.
13024
ba84e0da
MK
130252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13026
13027 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13028 ordering.
13029
4366d36e
MK
130302016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13031
13032 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13033 (bar): Add bar_start_lbl label.
13034 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13035 of foo/bar for emitting DWARF and tracing.
13036
5eb264df
SDJ
130372016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13038
13039 * analyze-racy-logs.py: Set executable bit.
13040
fb6a751f
SDJ
130412016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13042
13043 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13044 (CHECK_TARGET_TMP): Likewise.
13045 (check-single-racy): New rule.
13046 (check-parallel-racy): Likewise.
13047 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13048 (do-check-parallel-racy): New rule.
13049 (check-racy/%.exp): Likewise.
13050 * README (Racy testcases): New section.
13051 * analyze-racy-logs.py: New file.
13052
bdf7e230
DE
130532016-03-03 Doug Evans <dje@google.com>
13054
13055 * gdb.base/skip.exp: Use with_test_prefix.
13056
4719d415
YQ
130572016-03-03 Yao Qi <yao.qi@linaro.org>
13058
13059 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13060 Invoke step_over_syscall "clone" and break_cond_on_syscall
13061 "clone".
13062 * gdb.base/step-over-clone.c: New file.
13063
ea507862
YQ
130642016-03-03 Yao Qi <yao.qi@linaro.org>
13065
13066 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13067 code format.
13068
8fc8cbda
YQ
130692016-03-03 Yao Qi <yao.qi@linaro.org>
13070
13071 * gdb.base/disp-step-fork.c: Rename to ...
13072 * gdb.base/step-over-fork.c: ... it. New file.
13073 * gdb.base/disp-step-vfork.c: Rename to ...
13074 * gdb.base/step-over-vfork.c: ... it. New file.
13075 * gdb.base/disp-step-syscall.exp: Rename to ...
13076 * gdb.base/step-over-syscall.exp: ... it. New file.
13077 (disp_step_cross_syscall): Rename to ...
13078 (step_over_syscall): ... it.
13079
92fa70b0
YQ
130802016-03-03 Yao Qi <yao.qi@linaro.org>
13081
13082 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13083 If target supports condition evaluation on target, invoke
13084 break_cond_on_syscall for fork and vfork.
13085
e197ad3c
YQ
130862016-03-03 Yao Qi <yao.qi@linaro.org>
13087
13088 * gdb.base/disp-step-syscall.exp: Don't invoke
13089 support_displaced_stepping.
13090 (disp_step_cross_syscall): Test with displaced stepping off and
13091 on if supported.
13092
0b47da9f
YQ
130932016-03-03 Yao Qi <yao.qi@linaro.org>
13094
13095 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13096 proc.
13097 (setup): New proc.
13098 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13099 and setup.
13100
065ab6dc
BH
131012016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13102
13103 * gdb.fortran/vla-history.exp: Remove breakpoint.
13104
07e448ad 131052016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13106
25d49b86
PA
13107 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13108 exceeds timeout.
07e448ad 13109
9ac2d526 131102016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13111
25d49b86
PA
13112 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13113 breakpoint.
9ac2d526 13114
17807369
BH
131152016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13116
13117 * gdb.mi/vla.f90: Nullify pointer after declaration.
13118
86e501af
PA
131192016-03-01 Pedro Alves <palves@redhat.com>
13120
13121 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13122
1e903e32
PA
131232016-03-01 Pedro Alves <palves@redhat.com>
13124
13125 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13126 before anything else.
13127 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13128 _GNU_SOURCE here.
13129 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13130 before anything else.
13131 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13132
6ccb54e2
PA
131332016-03-01 Pedro Alves <palves@redhat.com>
13134
13135 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13136
30ca9da1
YQ
131372016-03-01 Yao Qi <yao.qi@linaro.org>
13138
13139 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13140 prepare_for_testing.
13141
dc856b38
YQ
131422016-03-01 Yao Qi <yao.qi@linaro.org>
13143
13144 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13145
4a932159
AA
131462016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13147
13148 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13149 manually constructing the output path.
13150
f2489477
AA
131512016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13152
13153 * gdb.arch/s390-stackless.S: New.
13154 * gdb.arch/s390-stackless.exp: New.
13155
38899f16
IB
131562016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13157
13158 * gdb.dlang/circular.c: New file.
13159 * gdb.dlang/circular.exp: New file.
13160
9fde51ed
YQ
131612016-02-26 Yao Qi <yao.qi@linaro.org>
13162
13163 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13164 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13165 (testcases): Update.
13166
ce90fefe
YQ
131672016-02-26 Yao Qi <yao.qi@linaro.org>
13168
13169 * gdb.reverse/aarch64.c: Rename to ...
13170 * gdb.reverse/insn-reverse.c: ... it.
13171 * gdb.reverse/aarch64.exp: Rename to ...
13172 * gdb.reverse/insn-reverse.exp: ... it.
13173
3263bceb
YQ
131742016-02-26 Yao Qi <yao.qi@linaro.org>
13175
13176 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13177 (testcase_ftype): New.
13178 (testcases): New array.
13179 (n_testcases): New.
13180 (main): Call each element in testcases.
13181 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13182 (read_testcase): New.
13183 Do the tests in a loop.
13184
6cb59ff1
YQ
131852016-02-25 Yao Qi <yao.qi@linaro.org>
13186
13187 * gdb.base/branches.c: Remove.
13188
ae91f625
MK
131892016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13190
13191 PR gdb/13808
13192 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13193
678b48b7
MK
131942016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13195
13196 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13197
7337a6f2
MK
131982016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13199
13200 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13201 change x86_64 call_insn to 'callq'.
13202
861ca91f
AT
132032016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13204
13205 * gdb.trace/tfile-avx.c: Move to...
13206 * gdb.trace/tracefile-pseudo-reg.c: Here.
13207 * gdb.trace/tfile-avx.exp: Move to...
13208 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13209
bf74e428
GB
132102016-02-24 Gary Benson <gbenson@redhat.com>
13211
13212 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13213 message on attach.
13214
cce0e923
DE
132152016-02-23 Doug Evans <dje@google.com>
13216
13217 * gdb.base/skip.c (test_skip): New function.
13218 (end_test_skip_file_and_function): New function.
13219 (test_skip_file_and_function): New function.
13220 * gdb.base/skip1.c (test_skip): New function.
13221 (skip1_test_skip_file_and_function): New function.
13222 * gdb.base/skip.exp: Add tests for new skip options.
13223 * gdb.base/skip-solib.exp: Update expected output.
13224 * gdb.perf/skip-command.cc: New file.
13225 * gdb.perf/skip-command.exp: New file.
13226 * gdb.perf/skip-command.py: New file.
13227
4000e47e
MK
132282016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13229
13230 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13231 info registers pattern.
13232
24f75ead
IB
132332016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13234
13235 * lib/future.exp: Add D support.
13236 (gdb_find_gdc): New proc.
13237 (gdb_default_target_compile): Add D support.
13238
fbb7bcbe
WW
132392016-02-18 Wei-cheng Wang <cole945@gmail.com>
13240
13241 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13242 user+system time.
13243 (trace_speed_test): Determine the iteration count for a time
13244 between 15..30 seconds.
13245
012b3a21
WT
132462016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13247
13248 * gdb.arch/i386-mpx-sigsegv.c: New file.
13249 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13250 * gdb.arch/i386-mpx-simple_segv.c: New file.
13251 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13252
2d5189bd
YQ
132532016-02-18 Yao Qi <yao.qi@linaro.org>
13254
13255 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13256 Don't call setup_kfail.
13257
40fb20d0
YQ
132582016-02-18 Yao Qi <yao.qi@linaro.org>
13259
13260 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13261 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13262
21b1f8d2
DE
132632016-02-16 Doug Evans <dje@google.com>
13264
13265 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13266 * gdb.base/skip1.c: Ditto.
13267 * gdb.base/skip.exp: Whitespace cleanup.
13268
4041ed77
DB
132692016-02-16 Don Breazeal <donb@codesourcery.com>
13270
13271 PR remote/19496
13272 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13273 Remove kfail for PR remote/19496.
13274
c4ef31bf
SM
132752016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13276
13277 * lib/gdb.exp (standard_temp_file): Return a path specific to
13278 the runtest invocation.
13279
266b65b3
SM
132802016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13281
13282 * gdb.trace/save-trace.exp: Change relative path to be in the
13283 standard output directory.
13284
a7a0a6a9
JK
132852016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13286
13287 * gdb.arch/i386-prologue.c: Add missing prototypes.
13288
c99dbb42
JK
132892016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13290
13291 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13292 * gdb.arch/i386-prologue.exp: Likewise.
13293 * gdb.arch/i386-size.exp: Likewise.
13294
aa480355
SM
132952016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13296
13297 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13298 define object file path.
13299 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13300 file path.
13301 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13302 standard_output_file to define binfile.
13303
ba881f50
JK
133042016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13305
13306 Fix compatibility with recent gfortran-5.3.1.
13307 * gdb.fortran/vla-history.exp (print vla1 allocated)
13308 (print vla2 allocated, print $2, print $3): Remove
13309 (print $4): Rename to ...
13310 (print $2): ... here.
13311 (print $9): Rename to ...
13312 (print $5): ... here.
13313 (print $10): Rename to ...
13314 (print $6): ... here.
13315 * gdb.fortran/vla.f90: Add pvla initialization.
13316
e9fb005c
JK
133172016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13318
13319 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13320 New test.
13321 * gdb.fortran/vla-value-sub.exp: Likewise.
13322
e44e00ff
MK
133232016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13324
13325 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13326
97e94151
SM
133272016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13328
13329 * i386-biarch-core.exp: Define corefile using
13330 standard_output_file.
13331
01113bc1
YQ
133322016-02-12 Yao Qi <yao.qi@linaro.org>
13333
13334 * gdb.arch/arm-single-step-kernel-helper.c: New.
13335 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13336
33b4777c
MM
133372016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13338
13339 * gdb.btrace/tailcall-only.exp: New.
13340 * gdb.btrace/tailcall-only.c: New.
13341 * gdb.btrace/x86_64-tailcall-only.S: New.
13342 * gdb.btrace/i686-tailcall-only.S: New.
13343
acc23c11
PA
133442016-02-11 Pedro Alves <palves@redhat.com>
13345
13346 * README (Parallel testing): Add missing double quotes.
13347
e352bf0a
PA
133482016-02-11 Pedro Alves <palves@redhat.com>
13349
13350 * README (Parallel testing): New section.
13351 (GDB_PARALLEL): Rewrite.
13352 (FORCE_PARALLEL): Document.
13353
9f5fed78
MK
133542016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13355
13356 * gdb.trace/tfile-avx.c: New test.
13357 * gdb.trace/tfile-avx.exp: New test.
13358
9ef9e6a6
KS
133592016-02-09 Keith Seitz <keiths@redhat.com>
13360
13361 PR breakpoints/19546
13362 * gdb.base/infcall-exec.c: New file.
13363 * gdb.base/infcall-exec2.c: New file.
13364 * gdb.base/infcall-exec.exp: New file.
13365
a96e36da
KS
133662016-02-09 Keith Seitz <keiths@redhat.com>
13367
13368 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13369 (toplevel): Call test_bkpt_address.
13370
9f61929f
KS
133712016-02-09 Keith Seitz <keiths@redhat.com>
13372
13373 PR python/19506
13374 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13375 (toplevel): Call test_bkpt_address.
13376
1e94266c
SM
133772016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13378
13379 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13380 to AC_OUTPUT.
13381 * configure: Regenerate.
13382
2a7f3dff
PA
133832016-02-09 Pedro Alves <palves@redhat.com>
13384
13385 PR breakpoints/19548
13386 * gdb.base/execl-update-breakpoints.c (some_function): New
13387 function.
13388 (main): Call it.
13389 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13390 Tighten expected GDB output.
13391
2151ccc5
SM
133922016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13393
13394 * Makefile.in (ALL_SUBDIRS): Remove.
13395 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13396 (distclean maintainer-clean realclean): Likewise.
13397 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13398 * configure: Regenerate.
13399 * gdb.ada/Makefile.in: Delete.
13400 * gdb.arch/Makefile.in: Likewise.
13401 * gdb.asm/Makefile.in: Likewise.
13402 * gdb.base/Makefile.in: Likewise.
13403 * gdb.btrace/Makefile.in: Likewise.
13404 * gdb.cell/Makefile.in: Likewise.
13405 * gdb.compile/Makefile.in: Likewise.
13406 * gdb.cp/Makefile.in: Likewise.
13407 * gdb.disasm/Makefile.in: Likewise.
13408 * gdb.dlang/Makefile.in: Likewise.
13409 * gdb.dwarf2/Makefile.in: Likewise.
13410 * gdb.fortran/Makefile.in: Likewise.
13411 * gdb.gdb/Makefile.in: Likewise.
13412 * gdb.go/Makefile.in: Likewise.
13413 * gdb.guile/Makefile.in: Likewise.
13414 * gdb.java/Makefile.in: Likewise.
13415 * gdb.linespec/Makefile.in: Likewise.
13416 * gdb.mi/Makefile.in: Likewise.
13417 * gdb.modula2/Makefile.in: Likewise.
13418 * gdb.multi/Makefile.in: Likewise.
13419 * gdb.objc/Makefile.in: Likewise.
13420 * gdb.opencl/Makefile.in: Likewise.
13421 * gdb.opt/Makefile.in: Likewise.
13422 * gdb.pascal/Makefile.in: Likewise.
13423 * gdb.perf/Makefile.in: Likewise.
13424 * gdb.python/Makefile.in: Likewise.
13425 * gdb.reverse/Makefile.in: Likewise.
13426 * gdb.server/Makefile.in: Likewise.
13427 * gdb.stabs/Makefile.in: Likewise.
13428 * gdb.threads/Makefile.in: Likewise.
13429 * gdb.trace/Makefile.in: Likewise.
13430 * gdb.xml/Makefile.in: Likewise.
13431 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13432 GDB_PARALLEL.
13433 (standard_output_file): Remove check for GDB_PARALLEL, always
13434 return path in outputs/$subdir/$testname.
13435
437277d4
SM
134362016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13437
13438 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13439 (site.exp): Assign abs_srcdir to tcl's srcdir.
13440
31d913c7
YQ
134412016-02-04 Yao Qi <yao.qi@linaro.org>
13442
13443 * gdb.base/foll-exec-mode.c: Include limits.h.
13444 (main): Add parameters argc and argv. Get directory from
13445 argv[0].
13446 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13447 compilation.
13448 * gdb.base/foll-exec.c: Include limits.h.
13449 (main): Add parameters argc and argv.
13450 Get directory from argv[0].
13451 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13452 Adjust tests on the number of lines as source code changed.
13453 * gdb.base/foll-vfork-exit.c: Include limits.h.
13454 (main): Add one line of statement before vfork.
13455 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13456 (main): Add parameters argc and argv. Get directory from
13457 argv[0].
13458 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13459 (setup_gdb): Set tbreak to skip some source lines.
13460 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13461 (main): Add parameters argc and argv. Get directory from
13462 argv[0].
13463 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13464 compilation.
13465 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13466 (main): Add parameters argc and argv. Get directory from
13467 argv[0].
13468 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13469 compilation.
13470
9482b9fb
DE
134712016-02-01 Doug Evans <dje@google.com>
13472
13473 * gdb.base/skip.exp: Clean up multiple references to same test name.
13474
6b2e4f10
PA
134752016-02-01 Pedro Alves <palves@redhat.com>
13476
ccb6afd6 13477 PR remote/19496
6b2e4f10
PA
13478 * gdb.threads/forking-threads-plus-breakpoint.exp
13479 (displaced_stepping_supported): New global.
13480 (probe_displaced_stepping_support): New procedure.
13481 (do_test): Add 'displaced' parameter, and use it.
13482 (top level): Check for displaced stepping support. Add displaced
13483 stepping on/off testing axis.
13484
37a8db1a
AB
134852016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13486
13487 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13488 pointer. Don't perform further tests on the unassociated pointer
13489 if the first test fails.
13490
5fdf6324
AB
134912016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13492
13493 * gdb.base/max-value-size.c: New file.
13494 * gdb.base/max-value-size.exp: New file.
13495 * gdb.base/huge.exp: Disable max-value-size for this test.
13496
935c6144
IB
134972016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13498
13499 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13500
7fe8399d
YQ
135012016-01-28 Yao Qi <yao.qi@linaro.org>
13502
13503 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13504
a2077e25
PA
135052016-01-25 Pedro Alves <palves@redhat.com>
13506
13507 PR threads/19461
13508 * gdb.base/fork-running-state.c: New file.
13509 * gdb.base/fork-running-state.exp: New file.
13510
1d2736d4
PA
135112016-01-25 Pedro Alves <palves@redhat.com>
13512
13513 PR gdb/19494
13514 * gdb.base/catch-fork-kill.c: New file.
13515 * gdb.base/catch-fork-kill.exp: New file.
13516
f1da4b11
PA
135172016-01-25 Pedro Alves <palves@redhat.com>
13518
13519 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13520 Delete, moved to lib/gdb.exp.
13521 * gdb.threads/forking-threads-plus-breakpoint.exp
13522 (foreach_with_prefix): Likewise.
13523 * gdb.threads/process-dies-while-handling-bp.exp
13524 (foreach_with_prefix): Likewise.
13525 * lib/gdb.exp (foreach_with_prefix): New procedure.
13526
45f38546
MK
135272016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13528
13529 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13530 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13531
dc29a1ce
MK
135322016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13533
13534 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13535 endian targets.
13536
092127d7
JK
135372016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13538 Pedro Alves <palves@redhat.com>
13539
13540 Fix testsuite compatibility with Guile.
13541 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13542 number.
13543
31d765d3
JK
135442016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13545
13546 Fix testsuite compatibility with Guile.
13547 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13548 (thread 1): New test for backtrace through signal handler.
13549
1ac78c04
YQ
135502016-01-22 Yao Qi <yao.qi@linaro.org>
13551
13552 PR testsuite/19491
13553 * gdb.base/multi-forks.c: Include
13554 ../lib/unbuffer_output.c
13555 (main): Call gdb_unbuffer_output.
13556
4f5946a8
DE
135572016-01-21 Doug Evans <dje@google.com>
13558
13559 * lib/ada.exp (gdb_compile_ada): Fix typo.
13560
305e13e6
JB
135612016-01-21 Joel Brobecker <brobecker@adacore.com>
13562
13563 * gdb.base/break-fun-addr.exp: New file.
13564 * gdb.base/break-fun-addr1.c: New file.
13565 * gdb.base/break-fun-addr2.c: New file.
13566
5f5dfff6
SM
135672016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13568
13569 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13570 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13571 enum flag values.
13572
fd356fa2
AA
135732016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13574
13575 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13576 when GDB can not set the vector return value. Add more comments
13577 for clarification.
13578
9df22175
AT
135792016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13580
13581 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13582 command.
13583
41d1845e
SM
135842016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13585
13586 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13587
01ac6840
SM
135882016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13589
13590 * Makefile.in (check-single): Pass --status to runtest.
13591 (check/%.exp): Likewise.
13592
135932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13594
13595 * Makefile.in (check-parallel): Propagate return code from make
13596 do-check-parallel.
13597
bd0a71fa
MK
135982016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13599
13600 * gdb.trace/ftrace.exp: Fix expected message on continue.
13601 * gdb.trace/pending.exp: Fix expected message on continue.
13602 * gdb.trace/trace-break.exp: Fix expected message on continue.
13603
8bcbad33
SM
136042016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13605
13606 * lib/gdb.exp (gdb_test): Remove unused global references.
13607
f303dbd6
PA
136082016-01-18 Pedro Alves <palves@redhat.com>
13609
13610 * gdb.base/async-shell.exp: Adjust expected output.
13611 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13612 * gdb.base/siginfo-thread.exp: Adjust expected output.
13613 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13614 * gdb.java/jnpe.exp: Adjust expected output.
13615 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13616 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13617 * gdb.threads/leader-exit.exp: Adjust expected output.
13618 * gdb.threads/manythreads.exp: Adjust expected output.
13619 * gdb.threads/pthreads.exp: Adjust expected output.
13620 * gdb.threads/schedlock.exp: Adjust expected output.
13621 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13622 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13623 expected output.
13624 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13625 output.
13626 * gdb.threads/sigthread.exp: Adjust expected output.
13627 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13628
b2789696
YQ
136292016-01-18 Yao Qi <yao.qi@linaro.org>
13630
13631 * gdb.guile/scm-section-script.c: Replace @progbits with
13632 %progbits.
13633 * gdb.python/py-section-script.c: Likewise.
13634
71ef29a8
PA
136352016-01-15 Pedro Alves <palves@redhat.com>
13636
13637 * gdb.multi/tids.exp: Test star wildcard ranges.
13638
3f5b7598
PA
136392016-01-15 Pedro Alves <palves@redhat.com>
13640
13641 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13642 command from "thread apply" invocation.
13643 (thr_apply_info_thr_invalid): Default the expected output to the
13644 input tid list.
13645 (top level): Add tests that use convenience variables. Add tests
13646 for "thread apply" with a valid TID list, but missing the command.
13647
663f6d42
PA
136482016-01-13 Pedro Alves <palves@redhat.com>
13649
13650 * gdb.base/default.exp: Expect $_gthread as well.
13651 * gdb.multi/tids.exp: Test $_gthread.
13652 * gdb.threads/thread-specific.exp: Test $_gthread.
13653
c84f6bbf
PA
136542016-01-13 Pedro Alves <palves@redhat.com>
13655
13656 * gdb.multi/tids.exp: Test "info threads -gid".
13657
22a02324
PA
136582016-01-13 Pedro Alves <palves@redhat.com>
13659
13660 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13661 Breakpoint.thread.
13662 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13663
5d5658a1
PA
136642016-01-07 Pedro Alves <palves@redhat.com>
13665
13666 * gdb.base/break.exp: Adjust to output changes.
13667 * gdb.base/hbreak2.exp: Likewise.
13668 * gdb.base/sepdebug.exp: Likewise.
13669 * gdb.base/watch_thread_num.exp: Likewise.
13670 * gdb.linespec/keywords.exp: Likewise.
13671 * gdb.multi/info-threads.exp: Likewise.
13672 * gdb.threads/thread-find.exp: Likewise.
13673 * gdb.multi/tids.c: New file.
13674 * gdb.multi/tids.exp: New file.
13675
84654457
PA
136762016-01-13 Pedro Alves <palves@redhat.com>
13677
13678 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13679
e3940304
PA
136802016-01-13 Pedro Alves <palves@redhat.com>
13681
13682 * gdb.base/default.exp: Expect $_inferior as well.
13683 * gdb.multi/base.exp: Test $_inferior.
13684
a911d87a
PA
136852016-01-13 Pedro Alves <palves@redhat.com>
13686
13687 PR breakpoints/19388
13688 * gdb.base/catch-signal-siginfo-cond.c: New file.
13689 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13690
82075af2
JS
136912016-01-12 Josh Stone <jistone@redhat.com>
13692 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13693
13694 * gdb.base/catch-syscall.c (do_execve): New variable.
13695 (main): Conditionally trigger an execve.
13696 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13697 (test_catch_syscall_execve): New, check entry/return across execve.
13698 (do_syscall_tests): Call test_catch_syscall_execve.
13699
e46eeedd
PA
137002016-01-12 Pedro Alves <palves@redhat.com>
13701
13702 * gdb.base/random-signal.exp (do_test): New procedure, with body
13703 of testcase moved in.
13704
01d8c27e
JK
137052016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13706 Pedro Alves <palves@redhat.com>
13707
13708 * gdb.base/funcargs.exp (finish from indirectly called function):
13709 Reintroduce the case for 'First'.
13710
9a706302
JK
137112016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13712 Pedro Alves <palves@redhat.com>
13713
13714 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13715 (tcatch_vfork_then_child_follow_exec)
13716 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13717 identification.
13718
c0ecb95f
JK
137192016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13720
13721 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13722 and repeats to unlimited.
13723 * gdb.python/py-value.exp: Likewise.
13724 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13725 and repeats to unlimited.
13726
6cfc1fcb
JK
137272016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13728
13729 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13730 and reordering the functions.
13731 * gdb.multi/hangout.c: Likewise.
13732 * gdb.multi/hello.c: Likewise.
13733
582a1b00
SM
137342016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13735
13736 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13737 absolute.
13738 (SingleStatisticTestResult.report): Use dict.keys instead of
13739 dict.iterkeys.
13740
79bc59cb
PA
137412016-01-06 Pedro Alves <palves@redhat.com>
13742
13743 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13744
43368e1d
MM
137452016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13746
13747 * gdb.btrace/dlopen.exp: New.
13748 * gdb.btrace/dlopen.c: New.
13749 * gdb.btrace/dlopen-dso.c: New.
13750
79fad5b8
SL
137512015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13752
13753 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13754 PATTERN argument is optional.
13755
ab8314b3
JB
137562015-12-24 Joel Brobecker <brobecker@adacore.com>
13757
13758 * lib/ada.exp (target_compile_ada_from_dir): New function.
13759 (gdb_compile_ada): Reimplement avoiding the use of project files.
13760 * gdb.ada/gnat_ada.gpr: Delete.
13761 * gdb.ada/cond_lang.exp: Adjust test to make path before
13762 filename optional.
13763 * gdb.ada/small_reg_param.exp: Likewise.
13764
fe33faff
SM
137652015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13766
13767 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13768
6d265cb4
TP
137692015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13770
13771 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13772 case.
13773
10125099
SM
137742015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13775
13776 * gdb.base/break.exp: Remove dead code.
13777 * gdb.base/sepdebug.exp: Likewise.
13778
3ca22649
SM
137792015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13780
13781 * gdb.asm/asm-source.exp: Remove HP-UX references.
13782 * gdb.base/annota1.exp: Likewise.
13783 * gdb.base/annota3.exp: Likewise.
13784 * gdb.base/attach.exp: Likewise.
13785 * gdb.base/bigcore.exp: Likewise.
13786 * gdb.base/break.exp: Likewise.
13787 * gdb.base/call-ar-st.exp: Likewise.
13788 * gdb.base/callfuncs.exp: Likewise.
13789 * gdb.base/catch-fork-static.exp: Likewise.
13790 * gdb.base/display.exp: Likewise.
13791 * gdb.base/foll-exec-mode.exp: Likewise.
13792 * gdb.base/foll-exec.exp: Likewise.
13793 * gdb.base/foll-fork.exp: Likewise.
13794 * gdb.base/foll-vfork.exp: Likewise.
13795 * gdb.base/funcargs.exp: Likewise.
13796 * gdb.base/hbreak2.exp: Likewise.
13797 * gdb.base/inferior-died.exp: Likewise.
13798 * gdb.base/interrupt.exp: Likewise.
13799 * gdb.base/multi-forks.exp: Likewise.
13800 * gdb.base/nodebug.exp: Likewise.
13801 * gdb.base/sepdebug.exp: Likewise.
13802 * gdb.base/solib1.c: Likewise.
13803 * gdb.base/step-test.exp: Likewise.
13804 * gdb.mi/non-stop.c: Likewise.
13805 * gdb.mi/pthreads.c: Likewise.
13806 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13807 * gdb.threads/pthreads.c: Likewise.
13808 * gdb.threads/staticthreads.exp: Likewise.
13809 * lib/future.exp: Likewise.
13810 * lib/gdb.exp: Likewise.
13811 * gdb.base/so-indr-cl.c: Remove.
13812 * gdb.base/so-indr-cl.exp: Likewise.
13813 * gdb.base/solib.c: Likewise.
13814 * gdb.base/solib.exp: Likewise.
13815 * gdb.base/solib2.c: Likewise.
13816
b6304613
SM
138172015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13818
13819 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13820 * gdb.base/call-ar-st.exp: Likewise.
13821 * gdb.base/callfuncs.exp: Likewise.
13822 * gdb.base/condbreak.exp: Likewise.
13823 * gdb.base/constvars.exp: Likewise.
13824 * gdb.base/hbreak2.exp: Likewise.
13825 * gdb.base/langs.exp: Likewise.
13826 * gdb.base/list.exp: Likewise.
13827 * gdb.base/long_long.exp: Likewise.
13828 * gdb.base/ptype.exp: Likewise.
13829 * gdb.base/scope.exp: Likewise.
13830 * gdb.base/signals.exp: Likewise.
13831 * gdb.base/so-impl-ld.exp: Likewise.
13832 * gdb.base/varargs.exp: Likewise.
13833 * gdb.base/volatile.exp: Likewise.
13834 * gdb.base/whatis.exp: Likewise.
13835 * gdb.cp/cplusfuncs.exp: Likewise.
13836 * gdb.cp/inherit.exp: Likewise.
13837 * gdb.cp/local.exp: Likewise.
13838 * gdb.cp/member-ptr.exp: Likewise.
13839 * gdb.cp/method.exp: Likewise.
13840 * gdb.cp/overload.exp: Likewise.
13841 * gdb.cp/templates.exp: Likewise.
13842 * gdb.stabs/weird.exp: Likewise.
13843 * lib/compiler.c: Likewise.
13844 * lib/compiler.cc: Likewise.
13845 * lib/cp-support.exp: Likewise.
13846 * lib/gdb.exp: Likewise.
13847
bf401b07
SM
138482015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13849
13850 * configure.ac: Remove HP-UX case.
13851 * configure: Regenerate.
13852
aff9c0f8
SM
138532015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13854
13855 * lib/gdb.exp (gdb_compile): Add function doc.
13856
a6904d5a
PA
138572015-12-17 Pedro Alves <palves@redhat.com>
13858
13859 PR threads/19354
13860 * gdb.multi/info-threads.exp: New file.
13861
a22279dd
YQ
138622015-12-15 Yao Qi <yao.qi@linaro.org>
13863
13864 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13865 is aarch64*-*-*.
13866
0588c796
SL
138672015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13868
13869 * gdb.base/history-duplicates.exp: Skip if no readline support.
13870
5d978e17
SL
138712015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13872
13873 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13874
7e763b86
SL
138752015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13876
13877 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13878
87a3a92c
SL
138792015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13880
13881 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13882 ctrl-C if nointerrupts target property is set.
13883 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13884 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13885 * gdb.base/paginate-bg-execution.exp: Likewise.
13886 * gdb.base/paginate-execution-startup.exp: Likewise.
13887 * gdb.base/random-signal.exp: Likewise.
13888 * gdb.base/range-stepping.exp: Likewise.
13889 * gdb.cp/annota2.exp: Likewise.
13890 * gdb.cp/annota3.exp: Likewise.
13891 * gdb.gdb/selftest.exp: Likewise.
13892 * gdb.threads/continue-pending-status.exp: Likewise.
13893 * gdb.threads/leader-exit.exp: Likewise.
13894 * gdb.threads/manythreads.exp: Likewise.
13895 * gdb.threads/pthreads.exp: Likewise.
13896 * gdb.threads/schedlock.exp: Likewise.
13897 * gdb.threads/sigthread.exp: Likewise.
13898
a8f077dc
DB
138992015-12-11 Don Breazeal <donb@codesourcery.com>
13900
13901 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13902 remote.
13903 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13904 * gdb.base/foll-exec.exp (main): Enable for target remote.
13905 * gdb.base/foll-fork.exp (main): Likewise.
13906 * gdb.base/foll-vfork.exp (main): Likewise.
13907 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13908 (proc continue_to_exit_bp_loc): Use clean_restart.
13909 * gdb.base/pie-execl.exp (main): Disable for target remote.
13910 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13911 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13912 * gdb.threads/execl.exp (main): Likewise.
13913 * gdb.threads/fork-child-threads.exp (main): Likewise.
13914 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13915 remote.
13916 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13917 remote.
13918 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13919 pid.tid style ptids, instead of just tid.
13920 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13921 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13922 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13923 ptids, instead of just tid.
13924
3b2464a8
AB
139252015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13926
13927 * gdb.base/list.exp (test_list_forward): Add end of file error
13928 test.
13929 (test_repeat_list_command): Add end of file error test.
13930 (test_list_backwards): Add beginning of file error test.
13931
a0def019
AB
139322015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13933
13934 * gdb.base/list.exp (test_list_invalid_args): New function,
13935 defined, and called.
13936
5c000dff
AB
139372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13938
13939 * gdb.base/list.exp (test_list): Make test names unique.
13940
f1637ebe
YQ
139412015-12-11 Yao Qi <yao.qi@linaro.org>
13942
13943 * gdb.base/coremaker2.c: Remove.
13944
36d6fc0a
PA
139452015-12-10 Pedro Alves <palves@redhat.com>
13946
13947 * gdb.multi/base.exp: Remove stale "spaces" references.
13948
762f7747
PA
139492015-12-10 Pedro Alves <palves@redhat.com>
13950
13951 * gdb.multi/base.exp: Don't use nowarnings.
13952 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13953 * gdb.multi/hangout.c: Include stdio.h.
13954 * gdb.multi/hello.c: Include stdlib.h.
13955 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13956 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13957 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13958
28d2bfb9
AB
139592015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13960
13961 * gdb.dwarf2/dw2-ranges-base.c: New file.
13962 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13963 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13964 support additional line table, and debug ranges generation.
13965 (Dwarf::ranges): New function, generate .debug_ranges.
13966 (Dwarf::lines): Support generating simple line table programs.
13967 (Dwarf::assemble): Initialise new namespace variables.
13968
5fc2beac
KB
139692015-12-09 Kevin Buettner <kevinb@redhat.com>
13970
13971 * gdb.base/async.exp (proc test_background): Add case for
13972 asynchronous execution not supported.
13973
1c35a88f
LM
139742015-12-09 Luis Machado <lgustavo@codesourcery.com>
13975
13976 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13977 format and change test names to make them unique.
13978
b593e3d9
RK
139792015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13980 Pedro Alves <pedro@redhat.com>
13981
13982 PR gdb/18702
13983 Add checking of floatformats setup on x86_64 hosts.
13984 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13985 (smallval, bigval): New labels/constants.
13986 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13987 float" after loading bigval and smallval.
13988
d72413e6
PMR
139892015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13990
13991 * gdb.ada/fun_overload_menu.exp: New testcase.
13992 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13993
ece66d65
JS
139942015-12-04 Josh Stone <jistone@redhat.com>
13995
13996 * gdb.base/catch-fork-static.exp: New.
13997
41d0efca
YQ
139982015-12-03 Yao Qi <yao.qi@linaro.org>
13999
14000 * gdb.base/sizeof.c: Don't include stdio.h and
14001 ../lib/unbuffer_output.c.
14002 (main): New variable 'size' and 'value'. Remove printf and
14003 gdb_unbuffer_output. Assign return value to size and value.
14004 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14005 at the beginning.
14006 (check_sizeof): Check the result by printing variable 'size'.
14007 (check_valueof): Check the result by printing variable 'value'.
14008
99fd02d9
YQ
140092015-12-01 Yao Qi <yao.qi@linaro.org>
14010
14011 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14012 for aarch64*-*-linux* target.
14013
f2faf941
PA
140142015-11-30 Pedro Alves <palves@redhat.com>
14015
14016 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14017
04bf20c5
PA
140182015-11-30 Pedro Alves <palves@redhat.com>
14019
14020 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14021 Handle non-stop mode vCont replies.
14022
09df4675
PA
140232015-11-30 Pedro Alves <palves@redhat.com>
14024
14025 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14026 prepare_for_testing. Start gdb with "set non-stop on" appended to
14027 GDBFLAGS. Lax expected stop output.
14028
58b584af
YQ
140292015-11-27 Yao Qi <yao.qi@linaro.org>
14030
14031 * gdb.arch/arm-neon.exp: New.
14032 * gdb.arch/arm-neon.c: New.
14033
dfcb77a8
YQ
140342015-11-27 Yao Qi <yao.qi@linaro.org>
14035
14036 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14037
88e8ec1b
YQ
140382015-11-27 Yao Qi <yao.qi@linaro.org>
14039
14040 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14041 frames-invalid annotation.
14042
bfde72c2
YQ
140432015-11-27 Yao Qi <yao.qi@linaro.org>
14044
14045 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14046
f6512a69
SM
140472015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14048
14049 * gdb.threads/names.exp: New file.
14050 * gdb.threads/names.c: New file.
14051 * README: Mention gdb,no_thread_names.
14052
46a3515b
MM
140532015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14054
14055 PR 19297
14056 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14057 support" error.
14058
62147a22
PA
140592015-11-24 Pedro Alves <palves@redhat.com>
14060
14061 PR 17539
14062 * gdb.base/display.exp: Expect displays to be sorted in ascending
14063 order. Use multi_line.
14064 * gdb.base/solib-display.exp: Likewise.
14065
2f341b6e
PA
140662015-11-24 Pedro Alves <palves@redhat.com>
14067
14068 PR 17539
25d49b86
PA
14069 * gdb.base/display.exp: Expect displays to be sorted in ascending
14070 order. Use multi_line.
14071 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14072
7e0aa6aa
PA
140732015-11-24 Pedro Alves <palves@redhat.com>
14074
14075 PR 17539
14076 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14077 threads in ascending order.
14078 * gdb.base/foll-fork.exp: Likewise.
14079 * gdb.base/foll-vfork.exp: Likewise.
14080 * gdb.base/multi-forks.exp: Likewise.
14081 * gdb.mi/mi-nonstop.exp: Likewise.
14082 * gdb.mi/mi-nsintrall.exp: Likewise.
14083 * gdb.multi/base.exp: Likewise.
14084 * gdb.multi/multi-arch.exp: Likewise.
14085 * gdb.python/py-inferior.exp: Likewise.
14086 * gdb.threads/break-while-running.exp: Likewise.
14087 * gdb.threads/execl.exp: Likewise.
14088 * gdb.threads/gcore-thread.exp: Likewise.
14089 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14090 * gdb.threads/kill.exp: Likewise.
14091 * gdb.threads/linux-dp.exp: Likewise.
14092 * gdb.threads/multiple-step-overs.exp: Likewise.
14093 * gdb.threads/next-bp-other-thread.exp: Likewise.
14094 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14095 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14096 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14097 * gdb.threads/thread-find.exp: Likewise.
14098 * gdb.threads/tls.exp: Likewise.
14099 * lib/mi-support.exp (mi_reverse_list): Delete.
14100 (mi_check_thread_states): No longer reverse list.
14101
2cc57ad8
PA
141022015-11-24 Pedro Alves <palves@redhat.com>
14103
14104 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14105 use lowercase.
14106
c93e8391
SM
141072015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14108
14109 * gdb.trace/actions.c: Include trace-common.h.
14110 (main): Add a location for a fast tracepoint.
14111 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14112 the normal tracepoints.
14113 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14114
045ccf91
SM
141152015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14116
14117 * save-trace.exp: Factor out code to these...
14118 (gdb_save_tracepoints): New.
14119 (gdb_load_tracepoints): New.
14120 (do_save_load_test): New.
14121
5506f9f6
KB
141222015-11-23 Kevin Buettner <kevinb@redhat.com>
14123
14124 * gdb.base/asmlabel.exp: New test.
14125 * gdb.base/asmlabel.c: New test case.
14126
16c3b12f
JB
141272015-11-23 Joel Brobecker <brobecker@adacore.com>
14128
14129 * gdb.base/wrong_frame_bt_full-main.c: New file.
14130 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14131 * gdb.base/wrong_frame_bt_full.exp: New file.
14132
155bfbd3
JB
141332015-11-23 Joel Brobecker <brobecker@adacore.com>
14134
14135 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14136
bb097445
JM
141372015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14138
206853a0 14139 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14140 pstate register when comparing registers values in
14141 sparc64-*-linux-gnu targets to avoid spurious differences.
14142
9c88ed8f
JM
141432015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14144
206853a0 14145 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14146
96161e25
SL
141472015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14148
14149 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14150 as type argument to gdb_compile.
14151 * gdb.base/nested-subp2.exp: Likewise.
14152 * gdb.base/nested-subp3.exp: Likewise.
14153
340c2830
DV
141542015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14155
14156 * lib/dwarf.exp (_note): Fix left shift of negative value.
14157 * gdb.trace/trace-condition.exp: Likewise.
14158
c1862d0f
YQ
141592015-11-13 Yao Qi <yao.qi@linaro.org>
14160
14161 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14162 comments about d10v.
14163 (test_scalar_returns): Likewise.
14164 * gdb.base/d10v.ld: Remove.
14165 * gdb.base/overlays.exp: Remove the target triplet checking for
14166 d10v-*-*.
14167 * gdb.base/structs.exp (test_struct_returns): Remove the
14168 comments about d10v.
14169 (test_struct_calls): Likewise.
14170
77ae9c19
YQ
141712015-11-13 Yao Qi <yao.qi@linaro.org>
14172
14173 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14174 * gdb.base/gnu_vector.c: Don't include stdio.h.
14175 (main): Don't print res and call add_some_intvecs.
14176
430e004e
MK
141772015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14178
14179 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14180 macro.
14181 (func5): Removed.
14182 (func4): Use FAST_TRACEPOINT_LABEL.
14183 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14184 macro.
14185 (func): Removed.
14186 (thread_function): Use FAST_TRACEPOINT_LABEL.
14187 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14188 (func): Remove.
14189 (marker): Use FAST_TRACEPOINT_LABEL.
14190 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14191 (pendfunc1): Remove.
14192 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14193 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14194 (foo): Remove.
14195 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14196 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14197 macro.
14198 (func): Remove.
14199 (marker): Use FAST_TRACEPOINT_LABEL.
14200 * gdb.trace/trace-common.h: New header.
14201 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14202 macro.
14203 (func): Remove.
14204 (marker): Use FAST_TRACEPOINT_LABEL.
14205 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14206 (func): Remove.
14207 (thread_function): Use FAST_TRACEPOINT_LABEL.
14208
6e7675a7
MK
142092015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14210
14211 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14212 in front.
14213 * gdb.trace/change-loc.exp: Use global pcreg definition.
14214 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14215 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14216 in front.
14217 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14218 * gdb.trace/pending.exp: Likewise.
14219 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14220 * gdb.trace/trace-break.exp: Likewise.
14221 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14222 in front.
14223 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14224 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14225 in front.
14226 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14227
dddc0e16
JB
142282015-11-09 Joel Brobecker <brobecker@adacore.com>
14229
14230 * gdb.ada/fin_fun_out: New testcase.
14231
c6f0b406
KB
142322015-11-07 Kevin Buettner <kevinb@redhat.com>
14233
14234 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14235 value associated with DW_AT_byte_size.
14236 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14237 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14238 DW_AT_upper_bound.
14239
f01dcfd9
KB
142402015-11-07 Kevin Buettner <kevinb@redhat.com>
14241
14242 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14243 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14244 version.
14245 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14246 gdb.dwarf2/dw2-canonicalize-type.exp,
14247 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14248 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14249 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14250 provided by gdb_target_symbol_prefix_flags_asm.
14251 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14252 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14253 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14254 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14255 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14256 macros where needed). Use this macro for symbols which require
14257 the prefix provided by SYMBOL_PREFIX.
14258
2223449a
KB
142592015-11-05 Kevin Buettner <kevinb@redhat.com>
14260
14261 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14262 New procs.
14263 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14264 representing expressions, of more than one list element.
14265 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14266 to prepend linker symbol prefix to f.
14267 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14268 table_1 and table_2.
14269 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14270 Likewise, for f and g.
14271 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14272 for ptr.
14273 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14274 for main.
14275 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14276 table_1_ptr and table_2_ptr.
14277
6f2f1a3a
JK
142782015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14279 Joel Brobecker <brobecker@adacore.com>
14280
14281 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14282
566c56c9
MK
142832015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14284
14285 * gdb.reverse/s390-mvcle.c: New test.
14286 * gdb.reverse/s390-mvcle.exp: New file.
14287 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14288
d5f0636b
MK
142892015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14290
14291 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14292
7ad8b86c
MK
142932015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14294
14295 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14296 reaching marker2.
14297 * gdb.reverse/getresuid-reverse.exp: Likewise.
14298 * gdb.reverse/pipe-reverse.exp: Likewise.
14299 * gdb.reverse/readv-reverse.exp: Likewise.
14300 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14301 * gdb.reverse/time-reverse.exp: Likewise.
14302 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14303
4081c0f1
YQ
143042015-10-30 Yao Qi <yao.qi@linaro.org>
14305
14306 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14307 (empty_cycle): Remove.
14308 (main): Don't call empty_cycle. Don't use watch_count_done.
14309 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14310 empty_cycle. Rewrite the code counting HW watchpoints.
14311
452b4ba5
MK
143122015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14313
14314 * gdb.reverse/fstatat-reverse.c: New test.
14315 * gdb.reverse/fstatat-reverse.exp: New file.
14316 * gdb.reverse/getresuid-reverse.c: New test.
14317 * gdb.reverse/getresuid-reverse.exp: New file.
14318 * gdb.reverse/pipe-reverse.c: New test.
14319 * gdb.reverse/pipe-reverse.exp: New file.
14320 * gdb.reverse/readv-reverse.c: New test.
14321 * gdb.reverse/readv-reverse.exp: New file.
14322 * gdb.reverse/recvmsg-reverse.c: New test.
14323 * gdb.reverse/recvmsg-reverse.exp: New file.
14324 * gdb.reverse/time-reverse.c: New test.
14325 * gdb.reverse/time-reverse.exp: New file.
14326 * gdb.reverse/waitpid-reverse.c: New test.
14327 * gdb.reverse/waitpid-reverse.exp: New file.
14328
5e2e7507
JK
143292015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14330
14331 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14332
0fde2c53
DE
143332015-10-26 Doug Evans <dje@google.com>
14334
14335 PR symtab/17391
14336 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14337 * gdb.dwarf2/bad-regnum.c: New file.
14338 * gdb.dwarf2/bad-regnum.exp: New file.
14339
1a70ae97
DE
143402015-10-26 Doug Evans <dje@google.com>
14341
14342 PR python/18938
14343 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14344 file.
14345
27dc26ab
JK
143462015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14347
14348 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14349 for a change by "Mention language in compile error message".
14350
bed91f4d
SM
143512015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14352
14353 PR python/18073
14354 * gdb.python/py-type.c (C::a_method): New.
14355 (C::a_const_method): New.
14356 (C::a_static_method): New.
14357 (a_function): New.
14358 * gdb.python/py-type.exp (test_fields): Test getting fields
14359 from function and method.
14360
3f2f83dd
KB
143612015-10-21 Keven Boell <keven.boell@intel.com>
14362
14363 * gdb.fortran/vla-alloc-assoc.exp: New file.
14364 * gdb.fortran/vla-datatypes.exp: New file.
14365 * gdb.fortran/vla-datatypes.f90: New file.
14366 * gdb.fortran/vla-history.exp: New file.
14367 * gdb.fortran/vla-ptype-sub.exp: New file.
14368 * gdb.fortran/vla-ptype.exp: New file.
14369 * gdb.fortran/vla-sizeof.exp: New file.
14370 * gdb.fortran/vla-sub.f90: New file.
14371 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14372 * gdb.fortran/vla-value-sub-finish.exp: New file.
14373 * gdb.fortran/vla-value-sub.exp: New file.
14374 * gdb.fortran/vla-value.exp: New file.
14375 * gdb.fortran/vla-ptr-info.exp: New file.
14376 * gdb.mi/mi-vla-fortran.exp: New file.
14377 * gdb.mi/vla.f90: New file.
14378
27145d50
SL
143792015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14380
14381 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14382 of hardwired timeout value.
14383
5f3ff4f8
JK
143842015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14385 Pedro Alves <palves@redhat.com>
14386
14387 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14388 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14389
bfd09d20
JS
143902015-10-19 Josh Stone <jistone@redhat.com>
14391
14392 * gdb.base/catch-syscall.c: Include <sched.h>.
14393 (unknown_syscall): New variable.
14394 (main): Trigger a vfork and an unknown syscall.
14395 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14396 (unknown_syscall_number): Likewise.
14397 (check_call_to_syscall): Accept an optional syscall pattern.
14398 (check_return_from_syscall): Likewise.
14399 (check_continue): Likewise.
14400 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14401 (test_catch_syscall_skipping_return): New test toggling off 'catch
14402 syscall' to step over the syscall return, then toggling back on.
14403 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14404 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14405 (do_syscall_tests): Call test_catch_syscall_without_args and
14406 test_catch_syscall_mid_vfork.
14407 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14408 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14409
b32b93c6
AS
144102015-10-19 Andrew Stubbs <ams@codesourcery.com>
14411
14412 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14413 print g_vE): Add new pass patterns.
14414 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14415 print various symbol names for vptr fields.
14416
9d622bda
AB
144172015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14418
14419 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14420 results.
14421
0fd8ac1c
YQ
144222015-10-12 Yao Qi <yao.qi@linaro.org>
14423
14424 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14425
34240514
YQ
144262015-10-12 Yao Qi <yao.qi@linaro.org>
14427
14428 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14429 is aarch64*-*-linux*.
14430
8240f442
YQ
144312015-10-12 Yao Qi <yao.qi@linaro.org>
14432
14433 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14434 (can_relocate_bcond_true): ... it.
14435 (can_relocate_bcond_false): New function.
14436 (foo): Likewise.
14437 (can_relocate_bl): Likewise.
14438 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14439 can_relocate_bl.
14440
2520f728
PMR
144412015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14442
14443 * gdb.base/nested-addr.c: New file.
14444 * gdb.base/nested-addr.exp: New testcase.
14445
abcef95a
MM
144462015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14447
14448 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14449 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14450 its output. Ignore the output of "record goto begin" and instead
14451 check that GDB is replaying.
14452
145e3ddb
PA
144532015-10-09 Pedro Alves <palves@redhat.com>
14454
14455 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14456 (top level): Use it in the run with no args test.
14457
d5d8c4e1
IB
144582015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14459
14460 * gdb.dlang/properties.exp: New file.
14461
06e635ef
SL
144622015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14463
14464 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14465 whether or not address 0x1000 is mapped on the target.
14466
e019fd1d
SM
144672015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14468
14469 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14470 build.
14471
77ba2a67
MM
144722015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14473
14474 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14475 instruction-history test.
14476
c60eb31f
DE
144772015-09-28 Doug Evans <dje@google.com>
14478
14479 * gdb.base/gcore.c (array_func): Add reference to static_array.
14480
9a3c8263
SM
144812015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14482
14483 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14484 source line.
14485
9720e656
SL
144862015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14487
14488 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14489 short or char as base type.
14490
938d3bf2
SL
144912015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14492
14493 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14494 to allow any size enum.
14495
e6c2c623
PMR
144962015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14497
14498 * gdb.ada/array_ptr_renaming.exp: New testcase.
14499 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14500 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14501
06da0f77
PL
145022015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14503
14504 * gdb.trace/ftrace-lock.c: New file.
14505 * gdb.trace/ftrace-lock.exp: New file.
14506
4f51c22a
PL
145072015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14508
14509 * gdb.arch/insn-reloc.c: New file.
14510 * gdb.arch/ftrace-insn-reloc.exp: New file.
14511
7041adf4
PL
145122015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14513
14514 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14515 instruction.
14516 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14517 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14518 * gdb.trace/range-stepping.c: Likewise.
14519 * gdb.trace/trace-break.c: Likewise.
14520 * gdb.trace/trace-mt.c (thread_function): Likewise.
14521 * gdb.trace/ftrace.c (marker): Likewise.
14522 * gdb.trace/trace-condition.c (marker): Likewise.
14523 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14524 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14525 is_aarch64_target.
14526
015d2e7e
DE
145272015-09-18 Doug Evans <xdje42@gmail.com>
14528
14529 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14530 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14531
26b188a2
SL
145322015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14533
14534 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14535 the breakpoint.
14536
79dc332b
SL
145372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14538
14539 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14540 the pending breakpoint. Remove timeout override for "Run till
14541 MI pending breakpoint on pendfunc3 on thread 2" test.
14542
f57929f2
SL
145432015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14544
14545 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14546 filename pattern.
14547
3f469b17
SL
145482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14549
14550 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14551 in breakpoint filename pattern.
14552
515b89b3
SL
145532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14554
7800dbe4
SL
14555 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14556
145572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14558
515b89b3
SL
14559 * gdb.linespec/explicit.exp: Check for readline support for
14560 tab-completion tests. Fix obvious typo.
14561
d2939ba2
MM
145622015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14563
14564 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14565 and replay.
14566
cbb55fa7
MM
145672015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14568
14569 * gdb.btrace/non-stop.c: New.
14570 * gdb.btrace/non-stop.exp: New.
14571
43691ca1
PL
145722015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14573 Yao Qi <yao.qi@linaro.org>
14574
14575 * gdb.trace/trace-condition.c: New file.
14576 * gdb.trace/trace-condition.exp: New file.
14577
d78908cf
WW
145782015-09-16 Wei-cheng Wang <cole945@gmail.com>
14579
14580 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14581 for testing bytecode compilation.
14582
1ed415e2
PA
145832015-09-16 Pedro Alves <palves@redhat.com>
14584 Sandra Loosemore <sandra@codesourcery.com>
14585
14586 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14587 (SECONDS): Redefine.
14588 (main): Call pthread_kill and alarm early.
14589 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14590 support.
14591 (test): If the target can't hardware step and doesn't support
14592 displaced stepping, increase the timeout.
14593
d136eff5
PA
145942015-09-16 Pedro Alves <palves@redhat.com>
14595
14596 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14597 (enable_debug): New procedures.
14598 (test): Use them. Bail out if waiting for threads fails.
14599 (top level): Bail out if a test fails.
14600
991f019c
YQ
146012015-09-16 Yao Qi <yao.qi@linaro.org>
14602
14603 * gdb.asm/asm-source.exp: Set asm-arch for
14604 aarch64*-*-* target.
14605 * gdb.asm/aarch64.inc: New file.
14606
bfca584f
PMR
146072015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14608
14609 * gdb.ada/array_of_variable_length.exp: New testcase.
14610 * gdb.ada/array_of_variable_length/foo.adb: New file.
14611 * gdb.ada/array_of_variable_length/pck.adb: New file.
14612 * gdb.ada/array_of_variable_length/pck.ads: New file.
14613
b326e587
DE
146142015-09-15 Doug Evans <dje@google.com>
14615
14616 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14617 of function static local variable.
14618
5382cfab
PW
146192015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14620
14621 * gdb.threads/tls-so_extern.exp: New test file.
14622 * gdb.threads/tls-so_extern.c: New test file.
14623 * gdb.threads/tls-so_extern_main.c: New test file.
14624
141c5cc4
JK
146252015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14626
14627 * gdb.opt/solib-intra-step-lib.c: New file.
14628 * gdb.opt/solib-intra-step-main.c: New file.
14629 * gdb.opt/solib-intra-step.exp: New file.
14630
d15dcecd
PA
146312015-09-15 Pedro Alves <palves@redhat.com>
14632
14633 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14634 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14635
4c2f2a79
PA
146362015-09-14 Pedro Alves <palves@redhat.com>
14637
14638 * gdb.base/hook-stop-continue.c: Delete.
14639 * gdb.base/hook-stop-continue.exp: Delete.
14640 * gdb.base/hook-stop-frame.c: Delete.
14641 * gdb.base/hook-stop-frame.exp: Delete.
14642 * gdb.base/hook-stop.c: New file.
14643 * gdb.base/hook-stop.exp: New file.
14644
919e6dbe
PMR
146452015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14646
14647 * gdb.ada/access_to_packed_array.exp: New testcase.
14648 * gdb.ada/access_to_packed_array/foo.adb: New file.
14649 * gdb.ada/access_to_packed_array/pack.adb: New file.
14650 * gdb.ada/access_to_packed_array/pack.ads: New file.
14651
157280a4
MM
146522015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14653
14654 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14655 buffer size test.
14656
2fd33e94
DB
146572015-09-11 Don Breazeal <donb@codesourcery.com>
14658
14659 * gdb.base/foll-exec.c: Add copyright header. Fix
14660 formatting issues.
14661 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14662 (do_exec_tests): Use clean_restart in place of zap_session,
14663 and for test initialization. Fix formatting issues. Use
14664 fail in place of perror.
14665 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14666 an expect statement to match an expression with output from
14667 the program under debug.
14668 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14669 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14670 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14671 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14672 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14673
e70b6e8e
DE
146742015-09-09 Doug Evans <dje@google.com>
14675
14676 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14677
7a551a51
DE
146782015-09-09 Doug Evans <dje@google.com>
14679
14680 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14681
4c666f84
DE
146822015-09-09 Doug Evans <dje@google.com>
14683
14684 * gdb.base/savedregs.exp: Fix typo.
14685
243a9253
PA
146862015-09-09 Pedro Alves <palves@redhat.com>
14687
14688 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14689
c0fa8fbd
SL
146902015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14691
14692 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14693 command actually switches threads. Give up on remaining
14694 tests if target fails to stop at breakpoint.
14695
cd7c1778
PMR
146962015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14697
14698 * gdb.ada/funcall_char.exp: New testcase.
14699 * gdb.ada/funcall_char/foo.adb: New file.
14700
dc5c8746
PMR
147012015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14702
14703 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14704 expected outputs. Add two testcases for completing ambiguous
14705 functions.
14706 * gdb.ada/complete/aux_pck.adb: New file.
14707 * gdb.ada/complete/aux_pck.ads: New file.
14708 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14709 Ambiguous_Func functions.
14710 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14711 * gdb.ada/complete/pck.adb: Likewise.
14712
4e83a1e7
UW
147132015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14714
14715 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14716 failures to run the test program under GDB.
14717
8ce74153
LM
147182015-08-26 Luis Machado <lgustavo@codesourcery.com>
14719
14720 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14721 to C.
14722
e9756d52
PP
147232015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14724
14725 * gdb.base/run-after-attach.exp: New test file.
14726 * gdb.base/run-after-attach.c: New test file.
14727
8d37573b
DB
147282015-08-26 Don Breazeal <donb@codesourcery.com>
14729
14730 * gdb.base/foll-exec-2.c: New test program.
14731 * gdb.base/foll-exec-2.exp: New test.
14732
63e43d3a
PMR
147332015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14734
14735 * gdb.base/nested-subp1.exp: New file.
14736 * gdb.base/nested-subp1.c: New file.
14737 * gdb.base/nested-subp2.exp: New file.
14738 * gdb.base/nested-subp2.c: New file.
14739 * gdb.base/nested-subp3.exp: New file.
14740 * gdb.base/nested-subp3.c: New file.
14741
3d40fbb5
PA
147422015-08-24 Pedro Alves <palves@redhat.com>
14743
14744 * gdb.server/connect-without-multi-process.c: New file.
14745 * gdb.server/connect-without-multi-process.exp: New file.
14746
4422ac93
LM
147472015-08-24 Luis Machado <lgustavo@codesourcery.com>
14748
14749 * gdb.opt/inline-markers.c: Make z int.
14750
91dddb86
LM
147512015-08-24 Luis Machado <lgustavo@codesourcery.com>
14752
14753 * gdb.opt/inline-markers.c: Make z volatile.
14754
a48847ee
LM
147552015-08-24 Luis Machado <lgustavo@codesourcery.com>
14756
14757 * gdb.opt/inline-bt.c: New volatile global z.
14758 * gdb.opt/inline-cmds.c: Likewise.
14759 * gdb.opt/inline-locals.c: Likewise.
14760 * gdb.opt/inline-markers.c: New extern global z.
14761 (marker): Use z.
14762 (inline_fn): Likewise.
14763
0ebbc52b
PA
147642015-08-24 Pedro Alves <palves@redhat.com>
14765
14766 * config/m32r-stub.exp: Remove file.
14767 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14768 * gdb.base/call-rt-st.exp: Likewise.
14769 * gdb.base/call-strs.exp: Likewise.
14770 * gdb.base/default.exp: Remove references to h8300-*-hms and
14771 *-*-udi*.
14772 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14773
77c365df
AA
147742015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14775
14776 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14777 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14778 and "return" use KFAIL when GDB can not read/write the vector
14779 return value.
14780
4313b8c0
GB
147812015-08-21 Gary Benson <gbenson@redhat.com>
14782
14783 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14784
0e433b32
PA
147852015-08-20 Pedro Alves <palves@redhat.com>
14786
14787 * gdb.server/solib-list.exp: No longer expect an interior stop in
14788 non-stop mode.
14789
221e1a37
PA
147902015-08-20 Pedro Alves <palves@redhat.com>
14791
14792 * gdb.server/connect-stopped-target.c: New file.
14793 * gdb.server/connect-stopped-target.exp: New file.
14794
40e3ad0e
PA
147952015-08-20 Pedro Alves <palves@redhat.com>
14796
14797 * gdb.dwarf2/comp-unit-lang.exp: New file.
14798 * gdb.dwarf2/comp-unit-lang.c: New file.
14799
af39b327
PMR
148002015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14801
14802 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14803 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14804
7d45c7c3 148052015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 14806
7d45c7c3
KB
14807 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14808 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14809
4d6cceb4
DE
148102015-08-18 Doug Evans <dje@google.com>
14811 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14812
14813 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14814 skip_python_tests. New arg prompt_regexp.
14815 (skip_python_tests): New function.
14816 * lib/mi-support.exp (mi_skip_python_tests): New function.
14817 * gdb.python/py-mi-objfile-gdb.py: New file.
14818 * gdb.python/py-mi-objfile.c: New file.
14819 * gdb.python/py-mi-objfile.exp: New file.
14820
ad89c2aa
KS
148212015-08-17 Keith Seitz <keiths@redhat.com>
14822
14823 * gdb.linespec/explicit.exp: Move strace test from here ...
14824 * gdb.trace/strace.exp: ... to here.
14825
e3ae3c43
PP
148262015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14827
14828 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14829 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14830
604b2636
DE
148312015-08-14 Doug Evans <xdje42@gmail.com>
14832
14833 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14834 inferior before selecting a new file.
14835
6ff0ba5f
DE
148362015-08-14 Doug Evans <xdje42@gmail.com>
14837
14838 * gdb.mi/mi-disassemble.exp: Update.
14839 * gdb.base/disasm-optim.S: New file.
14840 * gdb.base/disasm-optim.c: New file.
14841 * gdb.base/disasm-optim.h: New file.
14842 * gdb.base/disasm-optim.exp: New file.
14843
9ca98f92
KS
148442015-08-14 Keith Seitz <keiths@redhat.com>
14845
14846 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14847 "evaluated-by".
14848
52bbc560
JB
148492015-08-13 Joel Brobecker <brobecker@adacore.com>
14850
14851 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14852
5d8c3ed3
PMR
148532015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14854
14855 * gdb.ada/fun_renaming.exp: New testcase.
14856 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14857 * gdb.ada/fun_renaming/pack.adb: New file.
14858 * gdb.ada/fun_renaming/pack.ads: New file.
14859
ea8812bc
KS
148602015-08-12 Keith Seitz <keiths@redhat.com>
14861
14862 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14863 gdb_get_line_number.
14864
4dafcdeb
JB
148652015-08-12 Joel Brobecker <brobecker@adacore.com>
14866
14867 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14868 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14869 gdb.base/dso2dso.exp: New files.
14870
5ba32597
SDJ
148712015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14872 Pedro Alves <palves@redhat.com>
14873 Keith Seitz <keiths@redhat.com>
14874
14875 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14876 GDBFLAGS.
14877
b6dafabf
PP
148782015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14879
14880 * gdb.base/gdbhistsize-history.exp
14881 (test_histsize_history_setting): Use save_vars.
14882 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14883 Use save_vars.
14884 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14885 * gdb.base/readline.exp: Use save_vars.
14886
abe8e607
PP
148872015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14888
14889 * lib/gdb.exp (save_vars): New proc.
14890
629500fa
KS
148912015-08-11 Keith Seitz <keiths@redhat.com>
14892
14893 * gdb.base/help.exp: Update help_breakpoint_text.
14894
eb8c4e2e
KS
148952015-08-11 Keith Seitz <keiths@redhat.com>
14896
14897 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14898 (at toplevel): Call test_explicit_breakpoints.
14899 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14900 breakpoints.
14901 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14902 breakpoint conditions, "-cond".
14903
87f0e720
KS
149042015-08-11 Keith Seitz <keiths@redhat.com>
14905
14906 * gdb.linespec/3explicit.c: New file.
14907 * gdb.linespec/cpexplicit.cc: New file.
14908 * gdb.linespec/cpexplicit.exp: New file.
14909 * gdb.linespec/explicit.c: New file.
14910 * gdb.linespec/explicit.exp: New file.
14911 * gdb.linespec/explicit2.c: New file.
14912 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14913 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14914 before using in the matching pattern.
14915 Clarify that `prefix' is a regular expression.
14916
f00aae0f
KS
149172015-08-11 Keith Seitz <keiths@redhat.com>
14918
14919 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14920 test.
14921 Add tests for missing ",FMT" and ",".
14922
e27852be
DE
149232015-08-10 Doug Evans <dje@google.com>
14924 Keith Seitz <keiths@redhat.com>
14925
14926 PR gdb/17960
14927 * gdb.base/completion.exp: Add location completer tests.
14928
7f03bd92
PA
149292015-08-07 Pedro Alves <palves@redhat.com>
14930
14931 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14932 tests here.
14933 (top level): Run do_test with and without displaced stepping.
14934
3fc8eb30
PA
149352015-08-07 Pedro Alves <palves@redhat.com>
14936
14937 * gdb.base/valgrind-disp-step.c: New file.
14938 * gdb.base/valgrind-disp-step.exp: New file.
14939
d4569d7b
PA
149402015-08-07 Pedro Alves <palves@redhat.com>
14941
14942 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14943 Delete function.
14944 (main): Add alarm. Run an infinite loop instead of calling
14945 wait_threads.
14946 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14947 comment.
14948 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14949 Delete function.
14950 (main): Add alarm. Run an infinite loop instead of calling
14951 wait_threads.
14952 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14953 comment.
14954
e1316e60
PA
149552015-08-07 Pedro Alves <palves@redhat.com>
14956
14957 * gdb.base/checkpoint-ns.exp: New file.
14958 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14959 standard_testfile.
14960
da8c46d2
MM
149612015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14962
14963 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14964 * gdb.btrace/instruction_history.exp: Update.
14965 * gdb.btrace/tsx.exp: New.
14966 * gdb.btrace/tsx.c: New.
14967
de1c2c52
PA
149682015-08-06 Pedro Alves <palves@redhat.com>
14969
14970 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14971 increase timeout.
14972 * gdb.reverse/until-precsave.exp: Bump timeouts.
14973
782e0bf4
PA
149742015-08-06 Pedro Alves <palves@redhat.com>
14975
14976 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14977
83e97ed0
PA
149782015-08-06 Pedro Alves <palves@redhat.com>
14979
14980 PR gdb/18749
14981 * gdb.threads/process-dies-while-handling-bp.c: New file.
14982 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14983
863d01bd
PA
149842015-08-06 Pedro Alves <palves@redhat.com>
14985
14986 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14987 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14988
0a39bb32
PA
149892015-08-05 Pedro Alves <palves@redhat.com>
14990
14991 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14992 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14993
ee2d2b10
SL
149942015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14995
14996 * gdb.base/bp-permanent.exp: Report test as unsupported if
14997 the target cannot stop at the permanent breakpoint.
14998
4e1bdb00
DE
149992015-08-03 Doug Evans <dje@google.com>
15000
15001 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15002 10000.
15003
3d338901
DE
150042015-08-03 Doug Evans <dje@google.com>
15005
15006 * Makefile.in (workers/%.worker, build-perf): New rule.
15007 (GDB_PERFTEST_MODE): New variable.
15008 (check-perf): Use it.
15009 (clean): Clean up gdb.perf parallel build subdirs.
15010 * lib/build-piece.exp: New file.
15011 * lib/gdb.exp (make_gdb_parallel_path): New function
15012 (standard_output_file, standard_temp_file): Call it.
15013 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15014 of $GDB_PARALLEL.
15015 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15016
af061d3e
DE
150172015-08-03 Doug Evans <dje@google.com>
15018
8e1afc81 15019 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15020 (LOG_FILE_NAME): New global.
15021 (TextReporter.__init__): Initialize self.txt_sum.
15022 (TextReporter.report): Add support for multiple data-points.
15023 Move report to perftest.sum, put raw data in perftest.log.
15024 (TextReporter.start): Open sum and log files.
15025 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15026 * gdb.perf/lib/perftest/testresult.py
15027 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15028
2c8c5d37
PA
150292015-07-31 Pedro Alves <palves@redhat.com>
15030
15031 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15032 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15033 kill_wait_spawned_process instead of explicit "kill -9".
15034 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15035 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15036 kill_wait_spawned_process.
15037 * gdb.base/attach-twice.exp: Likewise.
15038 * gdb.base/attach.exp: Likewise.
15039 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15040 gdb_test_multiple.
15041 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15042 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15043 kill_wait_spawned_process.
15044 * gdb.base/valgrind-infcall.exp: Likewise.
15045 * gdb.multi/multi-attach.exp: Likewise.
15046 * gdb.python/py-prompt.exp: Likewise.
15047 * gdb.python/py-sync-interp.exp: Likewise.
15048 * gdb.server/ext-attach.exp: Likewise.
15049 * gdb.threads/attach-into-signal.exp (corefunc): Use
15050 spawn_wait_for_attach, spawn_id_get_pid and
15051 kill_wait_spawned_process.
15052 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15053 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15054 spawn_id_get_pid and kill_wait_spawned_process.
15055 * gdb.threads/attach-stopped.exp (corefunc): Use
15056 spawn_wait_for_attach, spawn_id_get_pid and
15057 kill_wait_spawned_process.
15058 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15059 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15060 kill_wait_spawned_process instead of explicit "kill -9".
15061 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15062 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15063 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15064 processes. Don't map cygwin/windows pids here. Now returns a
15065 spawn id list.
15066
032a0fca
SL
150672015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15068
15069 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15070 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15071 correct patch.
15072
61a934ca
SL
150732015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15074
15075 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15076
4bc4d428
SL
150772015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15078
15079 Reapply:
15080 2014-05-21 Mark Wielaard <mjw@redhat.com>
15081
15082 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15083
998d452a
PA
150842015-07-30 Pedro Alves <palves@redhat.com>
15085
15086 * linux-low.c (handle_extended_wait): Set the child's last
15087 reported status to TARGET_WAITKIND_STOPPED.
15088
69dde7dc
PA
150892015-07-30 Pedro Alves <palves@redhat.com>
15090
15091 PR threads/18600
15092 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15093 only shows inferior 1.
15094
4dd63d48
PA
150952015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15096 Pedro Alves <palves@redhat.com>
15097
15098 PR threads/18600
15099 * gdb.threads/fork-plus-threads.c: New file.
15100 * gdb.threads/fork-plus-threads.exp: New file.
15101
d618e4c5
PP
151022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15103
15104 * gdb.base/batch-preserve-term-settings.exp
15105 (test_terminal_settings_preserved_after_cli_exit): Use
15106 send_quit_command.
15107
1eef6428
PA
151082015-07-29 Pedro Alves <palves@redhat.com>
15109 Don Breazeal <donb@codesourcery.com>
15110
15111 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15112 output from both inferior_spawn_id and gdb_spawn_id.
15113
7da5b897
SDJ
151142015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15115
15116 * gdb.threads/attach-into-signal.exp (corefunc): Use
15117 with_test_prefix on nested loops, uniquefying the test messages.
15118
dac804df
SDJ
151192015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15120
15121 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15122 commit.
15123
06265e53
PP
151242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15125
15126 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15127 New proc.
15128 (test_terminal_settings_preserved_after_sigterm): New test.
15129
18206ca3
PP
151302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15131
15132 * gdb.base/batch-preserve-term-settings.exp
15133 (test_terminal_settings_preserved_after_cli_exit): New test.
15134
90074d11
PP
151352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15136
15137 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15138 manipulation of saved_gdbflags.
15139 (test_terminal_settings_preserved): Remove global declaration of
15140 the unused variable pagination_prompt. Remove manipulation of
15141 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15142 GDBFLAGS.
15143
eb1a7902
PA
151442015-07-29 Pedro Alves <palves@redhat.com>
15145
15146 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15147
8b75dd3b
PA
151482015-07-29 Pedro Alves <palves@redhat.com>
15149
15150 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15151 at the top.
15152
dedad4e3
PA
151532015-07-29 Pedro Alves <palves@redhat.com>
15154
15155 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15156 (main): Call gdb_unbuffer_output.
15157 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15158 (main): Call gdb_unbuffer_output.
15159 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15160 (main): Call gdb_unbuffer_output.
15161 * gdb.base/call-strs.exp: Adjust to step over the
15162 gdb_unbuffer_output call.
15163 * gdb.base/catch-gdb-caused-signals.c: Include
15164 "../lib/unbuffer_output.c".
15165 (main): Call gdb_unbuffer_output.
15166 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15167 (main): Call gdb_unbuffer_output.
15168 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15169 (main): Call gdb_unbuffer_output.
15170 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15171 (main): Call gdb_unbuffer_output.
15172 * gdb.base/shlib-call.exp: Adjust to step over the
15173 gdb_unbuffer_output call.
15174 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15175 (main): Call gdb_unbuffer_output.
15176 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15177 (main): Call gdb_unbuffer_output.
15178 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15179 (main): Rename to ...
15180 (test): ... this.
15181 (main): Reimplement.
15182 * gdb.base/varargs.exp: Run to test instead of to main.
15183 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15184 (main): Call gdb_unbuffer_output.
15185
58789a91
PA
151862015-07-29 Pedro Alves <palves@redhat.com>
15187
15188 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15189 factore out from mi_continue_dprintf. For call-style dprintfs,
15190 expect dprintf output out of $inferior_spawn_id.
15191 (mi_continue_dprintf): Use mi_expect_dprintf.
15192 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15193 (main): Call gdb_unbuffer_output.
15194
e8376742
PA
151952015-07-29 Pedro Alves <palves@redhat.com>
15196
15197 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15198 (default_mi_gdb_start): Set inferior_spawn_id instead of
15199 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15200 gdb_spawn_id.
15201 (mi_gdb_test): Always expect inferior output from both
15202 $inferior_spawn_id and $gdb_spawn_id.
15203
08280010
PA
152042015-07-29 Pedro Alves <palves@redhat.com>
15205
15206 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15207 send_inferior and $inferior_spawn_id.
15208
4d30e432
PA
152092015-07-29 Pedro Alves <palves@redhat.com>
15210
15211 * gdb.gdb/complaints.exp (test_initial_complaints)
15212 (test_serial_complaints, test_short_complaints): Use
15213 gdb_test_stdio.
15214 (test_empty_complaint): Handle $inferior_spawn_id !=
15215 $gdb_spawn_id.
15216
0d30a335
PA
152172015-07-29 Pedro Alves <palves@redhat.com>
15218
15219 * gdb.base/varargs.exp: Use gdb_test_stdio.
15220
39413b29
PA
152212015-07-29 Pedro Alves <palves@redhat.com>
15222
15223 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15224
7cb000a9
PA
152252015-07-29 Pedro Alves <palves@redhat.com>
15226
15227 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15228
d7b8ac82
PA
152292015-07-29 Pedro Alves <palves@redhat.com>
15230
15231 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15232 parameter into two new parameters, "inf_result" and "gdb_result".
15233 Expect inferior output and gdb output from $inferior_spawn_id and
15234 $gdb_spawn_id, respectively. Adjust all callers.
15235
789c3a0c
PA
152362015-07-29 Pedro Alves <palves@redhat.com>
15237
15238 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15239 of gdb_test_sequence.
15240
77e760c3
PA
152412015-07-29 Pedro Alves <palves@redhat.com>
15242
15243 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15244 (saw_spurious_output): Expect inferior output from
15245 $inferior_spawn_id. Use gdb_test_stdio.
15246
8396d2cd
PA
152472015-07-29 Pedro Alves <palves@redhat.com>
15248
15249 * gdb.base/dprintf.exp: Use standard_testfile. Change
15250 prepare_for_testing call.
15251 (srcfile): Don't set.
15252 (restart): New procedure.
15253 (test_dprintf): New procecure, use to continue over dprintfs.
15254 (test_call, test_agent): New procedures, tests moved here.
15255 Restart gdb and recreate dprintfs. Adjust expected output.
15256
2051d61f
PA
152572015-07-29 Pedro Alves <palves@redhat.com>
15258
15259 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15260
452397af
PA
152612015-07-29 Pedro Alves <palves@redhat.com>
15262
15263 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15264
8aed9555
PA
152652015-07-29 Pedro Alves <palves@redhat.com>
15266
15267 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15268 gdb_test_stdio.
15269
188a61b4
PA
152702015-07-29 Pedro Alves <palves@redhat.com>
15271
15272 * lib/gdb.exp (gdb_test_stdio): New procedure.
15273
12264a45
PA
152742015-07-29 Pedro Alves <palves@redhat.com>
15275
15276 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15277
23ffc893
PA
152782015-07-29 Pedro Alves <palves@redhat.com>
15279
15280 * gdb.base/call-signal-resume.exp: Remove check for
15281 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15282 * gdb.base/unwindonsignal.exp: Likewise.
15283 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15284 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15285
65566918
PA
152862015-07-29 Pedro Alves <palves@redhat.com>
15287
15288 * gdb.base/siginfo-addr.c (pass): New function.
15289 (handler): Call it iff si_addr is correct.
15290 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15291 Set a breakpoint at "pass" and continue to it.
15292
d60a9221
SDJ
152932015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15294
15295 * gdb.python/py-objfile.exp: Make some tests have unique names.
15296 * gdb.python/py-pp-registration.exp: Likewise.
15297
bde40b8f
PA
152982015-07-28 Pedro Alves <palves@redhat.com>
15299
15300 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15301
13e1dec8
SM
153022015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15303
15304 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15305
da33c9a7
SM
153062015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15307
15308 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15309
077836f7
PP
153102015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15311
15312 * gdb.base/gdb-sigterm-2.exp: New test.
15313
b8cc7b2e
DE
153142015-07-25 Doug Evans <xdje42@gmail.com>
15315
15316 Revert:
15317 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15318 (workers/%.worker, build-perf): New rule.
15319 (GDB_PERFTEST_MODE): New variable.
15320 (check-perf): Use it.
15321 (clean): Clean up gdb.perf parallel build subdirs.
15322 * lib/build-piece.exp: New file.
15323 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15324 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15325 name.
15326 (standard_temp_file): Ditto.
15327 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15328 of $GDB_PARALLEL.
15329
c8bd4544
DE
153302015-07-24 Doug Evans <dje@google.com>
15331
15332 * gdb.perf/lib/perftest/utils.py: New file.
15333 * gdb.perf/gm-hello.cc: New file.
15334 * gdb.perf/gm-pervasive-typedef.cc: New file.
15335 * gdb.perf/gm-pervasive-typedef.h: New file.
15336 * gdb.perf/gm-std.cc: New file.
15337 * gdb.perf/gm-std.h: New file.
15338 * gdb.perf/gm-use-cerr.cc: New file.
15339 * gdb.perf/gm-utils.h: New file.
15340 * gdb.perf/gmonster-null-lookup.py: New file.
15341 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15342 * gdb.perf/gmonster-print-cerr.py: New file.
15343 * gdb.perf/gmonster-ptype-string.py: New file.
15344 * gdb.perf/gmonster-runto-main.py: New file.
15345 * gdb.perf/gmonster-select-file.py: New file.
15346 * gdb.perf/gmonster1-null-lookup.exp: New file.
15347 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15348 * gdb.perf/gmonster1-print-cerr.exp: New file.
15349 * gdb.perf/gmonster1-ptype-string.exp: New file.
15350 * gdb.perf/gmonster1-runto-main.exp: New file.
15351 * gdb.perf/gmonster1-select-file.exp: New file.
15352 * gdb.perf/gmonster1.cc: New file.
15353 * gdb.perf/gmonster1.exp: New file.
15354 * gdb.perf/gmonster2-null-lookup.exp: New file.
15355 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15356 * gdb.perf/gmonster2-print-cerr.exp: New file.
15357 * gdb.perf/gmonster2-ptype-string.exp: New file.
15358 * gdb.perf/gmonster2-runto-main.exp: New file.
15359 * gdb.perf/gmonster2-select-file.exp: New file.
15360 * gdb.perf/gmonster2.cc: New file.
15361 * gdb.perf/gmonster2.exp: New file.
15362
6eab34f3
DE
153632015-07-24 Doug Evans <dje@google.com>
15364
15365 * gdb.perf/README: New file.
15366 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15367 * lib/gen-perf-test.exp: New file.
15368
63738bfd
DE
153692015-07-24 Doug Evans <dje@google.com>
15370
15371 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15372 (PerfTest::startup): New function.
15373 (PerfTest::run): Return result of calling body.
15374 (PerfTest::assemble): Rewrite.
15375 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15376 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15377 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15378 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15379 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15380
7b606f95
DE
153812015-07-24 Doug Evans <dje@google.com>
15382
15383 * lib/gdb.exp (clean_restart): Make executable optional.
15384
a97b16b8
DE
153852015-07-24 Doug Evans <dje@google.com>
15386
15387 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15388 compiler_info references.
15389 * gdb.cp/temargs.exp: Ditto.
15390 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15391 (get_compiler_info): Early exit if already computed. Set compiler_info
15392 to "unknown" if there was a problem.
15393 (test_compiler_info): Add function comment. Call get_compiler_info.
15394
35baa57f
DE
153952015-07-24 Doug Evans <dje@google.com>
15396
15397 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15398 (workers/%.worker, build-perf): New rule.
15399 (GDB_PERFTEST_MODE): New variable.
15400 (check-perf): Use it.
15401 (clean): Clean up gdb.perf parallel build subdirs.
15402 * lib/build-piece.exp: New file.
15403 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15404 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15405 name.
15406 (standard_temp_file): Ditto.
15407 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15408 of $GDB_PARALLEL.
15409
6ebea266
DE
154102015-07-24 Doug Evans <dje@google.com>
15411
15412 * lib/future.exp (gdb_default_target_compile): New option
15413 "early_flags".
15414 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15415 --as-needed.
15416
1e76a7e9
SDJ
154172015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15418
15419 * gdb.base/catch-syscall.exp: Call gdb_exit before
15420 gdb_skip_xml_test.
15421
5068630a
PA
154222015-07-24 Pedro Alves <palves@redhat.com>
15423
15424 * gdb.python/py-events.exp: Accept output between the stop event
15425 and the prompt.
15426 * gdb.python/py-evsignal.exp: Likewise.
15427 * gdb.python/py-evthreads.exp: Likewise.
15428
77598427
PA
154292015-07-24 Pedro Alves <palves@redhat.com>
15430
15431 PR gdb/18717
15432 * gdb.threads/non-ldr-exit.c: New file.
15433 * gdb.threads/non-ldr-exit.exp: New file.
15434
11e6c98f
YQ
154352015-07-24 Yao Qi <yao.qi@linaro.org>
15436
15437 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15438 restarting process.
15439
51aee833
YQ
154402015-07-24 Yao Qi <yao.qi@linaro.org>
15441
15442 * gdb.server/ext-restart.exp: New file.
15443
8cfe207c
YQ
154442015-07-24 Yao Qi <yao.qi@linaro.org>
15445
15446 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15447 argument options.
15448 * gdb.server/ext-wrapper.exp: New file.
15449
cc12ce38
DE
154502015-07-23 Doug Evans <dje@google.com>
15451
15452 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15453 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15454
d0d84780
PMR
154552015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15456
15457 * gdb.ada/var_arr_typedef.exp: New testcase.
15458 * gdb.ada/var_arr_typedef/pack.adb: New file.
15459 * gdb.ada/var_arr_typedef/pack.ads: New file.
15460 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15461
8b558f79
JB
154622015-07-20 Joel Brobecker <brobecker@adacore.com>
15463
15464 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15465
775a3298
JK
154662015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15467
15468 * gdb.arch/i386-biarch-core.exp: Replace istarget
15469 by "complete set gnutarget". Remove expectation for the "core-file"
15470 command.
15471
db1ff28b
JK
154722015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15473
15474 Revert the previous commit:
15475 Tests for validate symbol file using build-id.
15476
0a94970d
JK
154772015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15478
15479 Tests for validate symbol file using build-id.
15480 * gdb.base/solib-mismatch-lib.c: New file.
15481 * gdb.base/solib-mismatch-libmod.c: New file.
15482 * gdb.base/solib-mismatch.c: New file.
15483 * gdb.base/solib-mismatch.exp: New file.
15484
03346981
SL
154852015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15486
15487 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15488 nios2-*-linux*.
15489 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15490 * gdb.base/siginfo.exp: Likewise.
15491 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15492
42422cc7
PL
154932015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15494
15495 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15496 Move it to ...
15497 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15498 ... here.
15499 * gdb.trace/range-stepping.exp: Check that the target supports
15500 range stepping.
15501
cfa68bae
JK
155022015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15503
15504 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15505
8ffdba26
PA
155062015-07-14 Pedro Alves <palves@redhat.com>
15507
15508 * gdb.base/killed-outside.exp: New file.
15509 * gdb.base/killed-outside.c: New file.
15510
218a5a11
JK
155112015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15512
15513 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15514 (n at main): New.
15515 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15516
e03ed3c6
AA
155172015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15518
15519 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15520 infcall tests instead of setting up for KFAIL.
15521
485668e5
MM
155222015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15523
15524 * gdb.btrace/record_goto-step.exp: New.
15525
08464196
JK
155262015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15527
15528 PR compile/18484
15529 * gdb.compile/compile.c (struct struct_type): Add volatile to
15530 selffield's type.
15531 * gdb.compile/compile.exp
15532 (compile code struct_object.selffield = &struct_object): Skip further
15533 struct_object tests if this one xfails.
15534
bcf5c1d9
RC
155352015-07-08 Robert O'Callahan <robert@ocallahan.org>
15536
15537 PR exp/18617
15538 * gdb.trace/ax.exp: Add test.
15539
4931af25
YQ
155402015-07-07 Yao Qi <yao.qi@linaro.org>
15541
15542 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15543 instead of istarget "aarch64*-*-*".
15544 * gdb.arch/aarch64-fp.exp: Likewise.
15545 * gdb.base/float.exp: Likewise.
15546 * gdb.reverse/aarch64.exp: Likewise.
15547 * lib/gdb.exp (is_aarch64_target): New proc.
15548
9fcf688e
YQ
155492015-07-07 Yao Qi <yao.qi@linaro.org>
15550
15551 * lib/gdb.exp (is_aarch32_target): New proc.
15552 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15553 instead of "istarget "arm*-*-*"".
15554 * gdb.arch/arm-disp-step.exp: Likewise.
15555 * gdb.arch/thumb-bx-pc.exp: Likewise.
15556 * gdb.arch/thumb-prologue.exp: Likewise.
15557 * gdb.arch/thumb-singlestep.exp: Likewise.
15558 * gdb.base/disp-step-syscall.exp: Likewise.
15559 * gdb.base/float.exp: Likewise.
15560
fbd8d50d
YQ
155612015-07-07 Yao Qi <yao.qi@linaro.org>
15562
15563 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15564 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15565
71be1fdc
YQ
155662015-07-07 Yao Qi <yao.qi@linaro.org>
15567
15568 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15569 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15570 if it exists.
15571 * gdb.multi/multi-arch.exp: Likewise.
15572
3e221d36
SM
155732015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15574
15575 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15576 print.
15577
d441430b
YQ
155782015-07-07 Yao Qi <yao.qi@linaro.org>
15579
15580 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15581
06f810bd
MG
155822015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15583
15584 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15585 '[' and ']' characters.
15586
5e61e7c0
IB
155872015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15588
15589 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15590
28bf096c
PA
155912015-06-29 Pedro Alves <palves@redhat.com>
15592
15593 PR threads/18127
15594 * gdb.threads/hand-call-new-thread.c: New file.
15595 * gdb.threads/hand-call-new-thread.c: New file.
15596
ee93cd5e
KS
155972015-06-26 Keith Seitz <keiths@redhat.com>
15598 Doug Evans <dje@google.com>
15599
15600 PR 16253
15601 * gdb.cp/var-tag-2.cc: New file.
15602 * gdb.cp/var-tag-3.cc: New file.
15603 * gdb.cp/var-tag-4.cc: New file.
15604 * gdb.cp/var-tag.cc: New file.
15605 * gdb.cp/var-tag.exp: New file.
15606
fc637f04
PP
156072015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15608
15609 * gdb.base/history-duplicates.exp: New test.
15610
2e52ae68
PP
156112015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15612
15613 * gdb.base/completion.exp: Test the completion of the "focus"
15614 command.
15615
6e22494e
JK
156162015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15617
15618 * gdb.arch/amd64-prologue-skip.S: New file.
15619 * gdb.arch/amd64-prologue-skip.exp: New file.
15620
bf7b9cd9
SM
156212015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15622
15623 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15624 is_address_zero_readable check.
15625
201e8dfd
PB
156262015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15627
15628 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15629 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15630
5cd867b4
YQ
156312015-06-24 Yao Qi <yao.qi@linaro.org>
15632
15633 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15634 linux targets.
15635
4d7be007
YQ
156362015-06-24 Yao Qi <yao.qi@linaro.org>
15637
15638 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15639 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15640 * gdb.base/siginfo-thread.exp: Likewise.
15641
07fcd301
YQ
156422015-06-22 Yao Qi <yao.qi@linaro.org>
15643
15644 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15645
52042a00
YQ
156462015-06-22 Yao Qi <yao.qi@linaro.org>
15647
15648 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15649 aarch64*-*-*.
15650 (skip_hw_watchpoint_tests): Likewise.
15651
74bd41ce
PP
156522015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15653
15654 * gdb.base/gdbinit-history.exp: Test the interaction between
15655 setting GDBHISTSIZE and setting the history size via .gdbinit.
15656
bc460514
PP
156572015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15658
15659 PR gdb/16999
15660 * gdb.base/gdbhistsize-history.exp: New test.
15661
b58c513b
PP
156622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15663
15664 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15665 with GDBHISTSIZE.
15666 * gdb.base/readline.exp: Likewise.
15667
92046791
YQ
156682015-06-17 Yao Qi <yao.qi@linaro.org>
15669
15670 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15671 line.
15672
2093d2d3
PP
156732015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15674
15675 * gdb.base/gdbinit-history.exp: Add test case to check that
15676 an unlimited history file does not get truncated on exit.
15677
e6c693af
AA
156782015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15679
15680 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15681 (VECTOR): New macro. Use it...
15682 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15683 ...for these typedefs.
15684 (int8, char1, int1, double1): New typedefs.
15685 (struct just_int2, struct two_int2): New structures.
15686 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15687 (add_structvecs, add_singlevecs): New functions.
15688 (main): Call add_some_intvecs twice.
15689 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15690 the compile and exit upon failure. Try compiling for the "native"
15691 architecture. Test inferior function calls with vector arguments
15692 and vector return value handling with "finish" and "return".
15693
c74f7d1c
JT
156942015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15695
15696 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15697 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15698 PE file.
15699 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15700
98aa42ee
AT
157012015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15702
15703 PR breakpoints/16465
15704 * gdb.mi/mi-dprintf-pending.c: New file.
15705 * gdb.mi/mi-dprintf-pending.exp: New test.
15706 * gdb.mi/mi-dprintf-pendshr.c: New file.
15707
7d73c23c 157082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 15709 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
15710
15711 * gdb.arch/i386-mpx-map.c: New file.
15712 * gdb.arch/i386-mpx-map.exp: New File.
15713
157142015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15715
15716 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15717 * gdb.arch/i386-mpx.exp: Indentation fixed.
15718
157192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15720
15721 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15722 function and improved indentation.
15723 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15724 gdb_test_multiple. Added additional tests to skip the test.
15725
157262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15727
15728 * gdb.arch/i386-avx512.c: Change path in include file.
15729 * gdb.arch/i386-avx512.exp: Change include dir path
15730 compilation flag.
15731 * gdb.arch/i386-mpx.c: Change path in include file.
15732 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15733 flag.
15734
d5eba19a
JK
157352015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15736
15737 * gdb.compile/compile-print.exp (compile print *vararray@3)
15738 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15739
7f361056
JK
157402015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15741
15742 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15743 (do not keep jit in memory): ... this.
15744 (expect 5): Change it to ...
15745 (expect no 5): ... this.
15746
3b462ec2
SM
157472015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15748
15749 PR gdb/15564
15750 * gdb.mi/mi-detach.exp: New file.
15751
e0619de6
JK
157522015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15753
15754 PR symtab/18392
15755 * gdb.arch/amd64-tailcall-self.S: New file.
15756 * gdb.arch/amd64-tailcall-self.c: New file.
15757 * gdb.arch/amd64-tailcall-self.exp: New file.
15758
e970cb34
DB
157592015-05-28 Don Breazeal <donb@codesourcery.com>
15760
15761 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15762 tests for remote targets by checking is_target_gdbserver.
15763
b2e2f908
DE
157642015-05-27 Doug Evans <dje@google.com>
15765
15766 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15767 * gdb.dwarf2/opaque-type-lookup.c: New file.
15768 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15769
82c7be31
DE
157702015-05-26 Doug Evans <dje@google.com>
15771
15772 * gdb.cp/iostream.cc: New file.
15773 * gdb.cp/iostream.exp: New file.
15774
b4f54984
DE
157752015-05-26 Doug Evans <dje@google.com>
15776
15777 * gdb.dwarf2/dw2-op-call.exp: Update.
15778 * gdb.dwarf2/dw4-sig-types.exp: Update.
15779 * gdb.dwarf2/implptr.exp: Update.
15780 * gdb.mi/mi-cmd-param-changed.exp: Update.
15781
4ea6efe9
DE
157822015-05-26 Doug Evans <dje@google.com>
15783
15784 * gdb.python/py-lazy-string.c: New file.
15785 * gdb.python/py-lazy-string.exp: New file.
15786 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15787 (main): Update. Add estring3.
15788 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15789 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15790
f6bb7db3
YQ
157912015-05-26 Omair Javaid <omair.javaid@linaro.org>
15792 Yao Qi <yao.qi@linaro.org>
15793
15794 * gdb.reverse/aarch64.c: New.
15795 * gdb.reverse/aarch64.exp: New.
15796
a81bfbd0
OJ
157972015-05-26 Omair Javaid <omair.javaid@linaro.org>
15798
25d49b86
PA
15799 * lib/gdb.exp (supports_process_record): Return true for
15800 aarch64*-linux*.
a81bfbd0
OJ
15801 (supports_reverse): Likewise.
15802
158bf1b4
PP
158032015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15804
15805 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15806 Use with_test_prefix.
15807
a0145030
AB
158082015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15809
15810 * gdb.base/completion.exp: Add test for completion of layout
15811 names.
15812
ebe3b578
AB
158132015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15814
15815 * lib/gdb.exp (skip_tui_tests): New proc.
15816 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15817
84204ed7
PA
158182015-05-19 Pedro Alves <palves@redhat.com>
15819
15820 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15821 Save the whole env array instead of just HOME. Unset HISTSIZE in
15822 the environment while testing. Restore whole environment
15823 afterwards.
15824
37442ce1
DE
158252015-05-16 Doug Evans <xdje42@gmail.com>
15826
15827 * gdb.guile/scm-ports.c: New file.
15828 * gdb.guile/scm-ports.exp: Add memory port tests.
15829
36de76f9
JK
158302015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15831
15832 * gdb.compile/compile-print.c: New file.
15833 * gdb.compile/compile-print.exp: New file.
15834
3a9558c4
JK
158352015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15836
15837 * gdb.compile/compile-ops.exp: Cast param to void.
15838 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15839 (compile code struct_object.selffield = &struct_object): Add xfail.
15840
aa715135
JG
158412015-05-15 Joel Brobecker <brobecker@adacore.com>
15842
15843 * gdb.ada/arr_enum_with_gap: New testcase.
15844
931e5bc3
JG
158452015-05-15 Joel Brobecker <brobecker@adacore.com>
15846
15847 * gdb.ada/byte_packed_arr: New testcase.
15848
9cd4d857
JB
158492015-05-15 Joel Brobecker <brobecker@adacore.com>
15850
15851 * gdb.ada/pckd_neg: New testcase.
15852
ebfd00d2
PP
158532015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15854
15855 PR gdb/17820
15856 * gdb.base/gdbinit-history.exp: New test.
15857 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15858 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15859
4c082a81
SC
158602015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15861
15862 * gdb.python/py-xmethods.cc: Enhance test case.
15863 * gdb.python/py-xmethods.exp: New tests.
15864 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15865 function.
15866 (B_indexoper): Likewise.
15867 (global_dm_list) : Add new xmethod worker functions.
15868
f7797074
SDJ
158692015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15870
15871 * gdb.base/coredump-filter.exp: Correctly unset
15872 "coredump_var_addr" array.
15873
a4674e4e
PA
158742015-05-08 Pedro Alves <palves@redhat.com>
15875
15876 * gdb.server/non-existing-program.exp: Unset spawn_id.
15877
df2eb078
SC
158782015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15879
15880 PR python/18291
15881 * gdb.python/py-xmethods.exp: Add tests.
15882
422349a3
YQ
158832015-05-08 Yao Qi <yao.qi@linaro.org>
15884
15885 PR gdb/18208
15886 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15887 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15888 function set_coredump_filter, and remove remote_exec call.
15889 Remove argument ipid. Callers update.
15890 (top level): Don't get inferior's PID.
15891
63fc80ce
AA
158922015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15893
15894 * gdb.base/watch_thread_num.exp: Skip test on targets without
15895 access watchpoints.
15896
80ad801e
PA
158972015-05-06 Pedro Alves <palves@redhat.com>
15898
15899 PR server/18081
15900 * gdb.server/non-existing-program.exp: New file.
15901
0fa7fe50
JB
159022015-05-05 Joel Brobecker <brobecker@adacore.com>
15903
15904 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15905
3ea89b92
PMR
159062015-05-05 Joel Brobecker <brobecker@adacore.com>
15907
15908 * gdb.ada/out_of_line_in_inlined: New testcase.
15909
87b8eff0
JB
159102015-05-05 Joel Brobecker <brobecker@adacore.com>
15911
15912 * gdb.ada/var_rec_arr: New testcase.
15913
5fccc635
YQ
159142015-04-30 Yao Qi <yao.qi@linaro.org>
15915
15916 * gdb.base/break-idempotent.exp: If
15917 skip_hw_watchpoint_multi_tests returns true, skip the tests
15918 on "rwatch" and "awatch".
15919
42d38f42
YQ
159202015-04-30 Yao Qi <yao.qi@linaro.org>
15921
15922 * gdb.base/relativedebug.exp: Invoke gdb command
15923 "info sharedlibrary", and if libc.so doesn't have debug info,
15924 skip the test.
15925
2ce1cdbf
DE
159262015-04-29 Doug Evans <dje@google.com>
15927
15928 * gdb.python/py-xmethods.exp: Add ptype tests.
15929 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15930 get_result_type method.
15931
f24a38c5
LM
159322015-04-29 Luis Machado <lgustavo@codesourcery.com>
15933
15934 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15935 the target does not support hardware watchpoints.
15936
ecbf2b3c
LM
159372015-04-29 Luis Machado <lgustavo@codesourcery.com>
15938
15939 * gdb.base/break-always.exp: Abort testing if writing to memory
15940 causes an error.
15941
34f5f757
DE
159422015-04-28 Doug Evans <dje@google.com>
15943
15944 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15945 * gdb.python/py-pp-registration.exp: ... here. New file.
15946 * gdb.python/py-pp-registration.c: New file.
15947 * gdb.python/py-pp-registration.py: New file.
15948
69b4374a
DE
159492015-04-28 Doug Evans <dje@google.com>
15950
15951 * gdb.python/py-bad-printers.c: New file.
15952 * gdb.python/py-bad-printers.py: New file.
15953 * gdb.python/py-bad-printers.exp: New file.
15954
59fb7612
SS
159552015-04-28 Sasha Smundak <asmundak@google.com>
15956
15957 * gdb.python/py-type.exp: New test.
15958
2631b16a
AW
159592015-04-28 Andy Wingo <wingo@igalia.com>
15960
15961 * gdb.python/py-parameter.exp:
15962 * gdb.guile/scm-parameter.exp: Escape the path that we are
15963 matching against, as it might contain characters that are special
15964 to regular expressions.
15965
460efde1
JB
159662015-04-27 Joel Brobecker <brobecker@adacore.com>
15967
15968 * gdb.ada/rec_comp: New testcase.
15969
2d369d8e
SDJ
159702015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15971
15972 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15973 before using it.
15974
cf75d6c3
AB
159752015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15976
15977 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15978 new tests for verilog output.
15979
8dbe7ca5
YQ
159802015-04-24 Yao Qi <yao.qi@linaro.org>
15981
15982 * boards/remote-gdbserver-on-localhost.exp: New file.
15983
4ef9fb2f
PA
159842015-04-23 Pedro Alves <palves@redhat.com>
15985
15986 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15987 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15988 "end of file", remove $inferior_spawn_id from the indirect list.
15989
0a803169
PA
159902015-04-23 Pedro Alves <palves@redhat.com>
15991
15992 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15993
749ef8f8
PA
159942015-04-23 Pedro Alves <palves@redhat.com>
15995
15996 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15997 on $any_spawn_id instead of only on $gdb_spawn_id.
15998
8aae4344
PM
159992015-04-21 Pierre Muller <muller@sourceware.org>
16000
16001 PR pascal/17815
16002 * lib/pascal.exp (gpc_compile): Add new option "class".
16003 (fpc_compile): Likewise.
16004 * gdb.pascal/case-insensitive-symbols.pas: New file.
16005 * gdb.pascal/case-insensitive-symbols.exp: New file.
16006
1586c8fb
GB
160072015-04-20 Gary Benson <gbenson@redhat.com>
16008
16009 * gdb.base/attach.exp: Fix three extended remote failures.
16010
1b6e6f5c
GB
160112015-04-17 Gary Benson <gbenson@redhat.com>
16012
16013 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16014 the main executable over the remote protocol.
16015
e797481d
PA
160162015-04-16 Pedro Alves <palves@redhat.com>
16017
16018 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16019 a new gdbserver if gdbserver_reconnect_p is set.
16020
1ca99c42
PA
160212015-04-16 Pedro Alves <palves@redhat.com>
16022
16023 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16024 is set, don't exit gdbserver.
16025
af9fd6f8
AA
160262015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16027
16028 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16029 appropriate .insn, such that an older assembler can be used.
16030 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16031 the z/Architecture instruction set on 31-bit targets as well.
16032
04ff1e61
AA
160332015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16034
16035 * gdb.go/handcall.exp: Remove all logic related to the first
16036 breakpoint and rely on go_runto_main instead.
16037 * gdb.go/strings.exp: Likewise.
16038 * gdb.go/unsafe.exp: Likewise.
16039 * gdb.go/hello.exp: Likewise. Also rename the remaining
16040 breakpoint marker to "breakpoint 1".
16041 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16042 * gdb.go/strings.go: Likewise.
16043 * gdb.go/unsafe.go: Likewise.
16044 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16045 "set breakpoint 2 here" and rename the remaining breakpoint marker
16046 to "breakpoint 1".
16047
40d2f8d6
SM
160482015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16049
16050 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16051 if itertools.imap is not present.
16052 * gdb.python/py-objfile.exp: Add parentheses.
16053 * gdb.python/py-type.exp: Same.
16054 * gdb.python/py-unwind-maint.py: Same.
16055
8cbc97c6
YQ
160562015-04-15 Yao Qi <yao.qi@linaro.org>
16057
16058 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16059 of ":$ptr_size" and set its form explicitly.
16060
45fd756c
YQ
160612015-04-15 Pedro Alves <palves@redhat.com>
16062 Yao Qi <yao.qi@linaro.org>
16063
16064 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16065 timeout by factor of 4.
16066 (test_regular_watch): Likewise.
16067 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16068 * gdb.reverse/sigall-reverse.exp: Likewise.
16069 * gdb.reverse/until-precsave.exp: Likewise.
16070 * lib/gdb.exp (with_timeout_factor): New proc.
16071 (gdb_expect): Move some code to ...
16072 (get_largest_timeout): ... here. New procedure.
16073
9e811bc3
LM
160742015-04-14 Luis Machado <lgustavo@codesourcery.com>
16075
16076 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16077
0ff6fcb2
LM
160782015-04-13 Luis Machado <lgustavo@codesourcery.com>
16079
16080 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16081 to write to the .text section.
16082
7578d5f7
LM
160832015-04-13 Luis Machado <lgustavo@codesourcery.com>
16084
16085 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16086 Handle the case of targets that do not provide PID information.
16087
2efe15c4
YQ
160882015-04-13 Yao Qi <yao.qi@linaro.org>
16089
16090 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16091 and use expect instead of gdb_expect.
16092
8cd8f2f8
SDJ
160932015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16094
16095 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16096 "coredump_var_addr" to avoid naming conflict with other testcases.
16097
9ee41772
PA
160982015-04-10 Pedro Alves <palves@redhat.com>
16099
16100 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16101 gdb_test_sequence and gdb_assert.
16102
07473109
PA
161032015-04-10 Pedro Alves <palves@redhat.com>
16104
16105 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16106 test messages that don't include the breakpoint address.
16107
de3db44c
YQ
161082015-04-10 Yao Qi <yao.qi@linaro.org>
16109
16110 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16111 false for some offset and width combinations which aren't
16112 supported by linux kernel.
16113
c79d856c
PA
161142015-04-10 Pedro Alves <palves@redhat.com>
16115
16116 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16117 procedure, factored out from ...
16118 (top level): ... here. Add "set displaced-stepping" testing axis.
16119 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16120 parameter "displaced". Use it.
16121 (top level): Use foreach and add "set displaced-stepping" testing
16122 axis.
16123
ebc90b50
PA
161242015-04-10 Pedro Alves <palves@redhat.com>
16125
16126 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16127 Remove comment.
16128 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16129 both the address of the instruction that triggers the watchpoint
16130 and the address of the instruction immediately after, and use
16131 those addresses for the test. Fix comment.
16132
8f572e5c
PA
161332015-04-10 Pedro Alves <palves@redhat.com>
16134
16135 * gdb.base/sigstep.exp (breakpoint_to_handler)
16136 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16137 Test "backtrace" in handler.
16138 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16139 (top level): Add new "displaced" test axis to
16140 breakpoint_to_handler, breakpoint_to_handler_entry and
16141 breakpoint_over_handler.
16142
8d707a12
PA
161432015-04-10 Pedro Alves <palves@redhat.com>
16144
16145 PR gdb/18216
16146 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16147
ef713951
YQ
161482015-04-10 Yao Qi <yao.qi@linaro.org>
16149
16150 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16151 (test_add_rn_pc): New function.
16152 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16153 (top level): Invoke test_add_rn_pc.
16154
906d60cf
PA
161552015-04-10 Pedro Alves <palves@redhat.com>
16156
16157 PR gdb/13858
16158 * gdb.base/step-over-no-symbols.exp: New file.
16159
f2983cc3
AW
161602015-04-09 Andy Wingo <wingo@igalia.com>
16161
16162 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16163 after the Python tests.
16164
6d62641c
SDJ
161652015-04-08 Keith Seitz <keiths@redhat.com>
16166
16167 PR python/16699
16168 * gdb.python/py-completion.exp: New tests for completion.
16169 * gdb.python/py-completion.py (CompleteLimit1): New class.
16170 (CompleteLimit2): Likewise.
16171 (CompleteLimit3): Likewise.
16172 (CompleteLimit4): Likewise.
16173 (CompleteLimit5): Likewise.
16174 (CompleteLimit6): Likewise.
16175 (CompleteLimit7): Likewise.
16176
f3770638
PA
161772015-04-08 Pedro Alves <palves@redhat.com>
16178
16179 PR gdb/18214
16180 PR gdb/18216
16181 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16182 function.
16183 (main): Install it as SIGUSR1 handler.
16184 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16185 parameter. Always use "setup" as prefix. Toggle "set
16186 displaced-stepping" off/on depending on global. Don't switch to
16187 thread 1 here.
16188 (top level): Add displaced stepping "off/on" test axis. Update
16189 "setup" calls. Wrap each subtest with with_test_prefix. Test
16190 continuing with a queued signal in each thread.
16191
4496bed7
PA
161922015-04-08 Pedro Alves <palves@redhat.com>
16193
16194 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16195 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16196 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16197 Return early if running to main fails.
16198 * gdb.trace/while-stepping.exp: Likewise.
16199
b97fde92
PA
162002015-04-07 Pedro Alves <palves@redhat.com>
16201
16202 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16203 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16204 interact with inferior program.
16205
f71c18e7
PA
162062015-04-07 Pedro Alves <palves@redhat.com>
16207
16208 * lib/gdb.exp (inferior_spawn_id): New global.
16209 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16210 spawn id after processing the user code.
16211 (default_gdb_start): Set inferior_spawn_id.
16212 (send_inferior): New procedure.
16213 * lib/gdbserver-support.exp (gdbserver_start): Set
16214 inferior_spawn_id.
16215 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16216
6423214f
PA
162172015-04-07 Pedro Alves <palves@redhat.com>
16218
16219 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16220 * lib/gdbserver-support.exp (gdbserver_start): Make
16221 $server_spawn_id global.
16222 (gdbserver_start): Don't wait for gdbserver's spawn id with
16223 expect_background.
16224 (close_gdbserver): New procedure.
16225 (gdb_exit): Rename the default version and reimplement.
16226
71c0ee8c
PA
162272015-04-07 Pedro Alves <palves@redhat.com>
16228
72f4393d 16229 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16230 append the substituted item, not the original item.
16231
203bc29b
PA
162322015-04-07 Pedro Alves <palves@redhat.com>
16233
16234 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16235 gdb_expect.
16236
508a3ddf
PA
162372015-04-07 Pedro Alves <palves@redhat.com>
16238
16239 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16240 output appearing once only.
16241
9f6dbe2b
PA
162422015-04-07 Pedro Alves <palves@redhat.com>
16243
16244 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16245 that doesn't expect anything. Return early if running to main
16246 fails.
16247
337532fa
YQ
162482015-04-07 Yao Qi <yao.qi@linaro.org>
16249
16250 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16251 (child_function): Call alarm.
16252 (main): Move call to alarm into the loop.
16253 * gdb.threads/non-stop-fair-events.exp: Build program with
16254 -DTIMEOUT=$timeout.
16255
01b622d4
DE
162562015-04-06 Doug Evans <xdje42@gmail.com>
16257
16258 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16259 Fix dest parameter to board_info.
16260 (fpc_compile): Ditto.
16261 (gdb_compile_pascal): Rename dest arg to destfile.
16262
961f4160
PMR
162632015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16264
16265 * gdb.ada/funcall_ref.exp: New file.
16266 * gdb.ada/funcall_ref/foo.adb: New file.
16267
cafda597
YQ
162682015-04-02 Yao Qi <yao.qi@linaro.org>
16269
16270 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16271 is remote.
16272
fed040c6
GB
162732015-04-02 Gary Benson <gbenson@redhat.com>
16274
16275 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16276
d11916aa
SS
162772015-04-01 Sasha Smundak <asmundak@google.com>
16278
16279 * gdb.python/py-unwind-maint.c: New file.
16280 * gdb.python/py-unwind-maint.exp: New test.
16281 * gdb.python/py-unwind-maint.py: New file.
16282 * gdb.python/py-unwind.c: New file.
16283 * gdb.python/py-unwind.exp: New test.
16284 * gdb.python/py-unwind.py: New test.
16285
a1471180
PA
162862015-04-01 Pedro Alves <palves@redhat.com>
16287
16288 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16289 to fail instead of non-existent $test.
16290
0bbeccb1
PA
162912015-04-01 Pedro Alves <palves@redhat.com>
16292
16293 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16294 GDBFLAGS if not empty.
16295
3c724c8c
PMR
162962015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16297
16298 * gdb.ada/complete.exp: Remove "multi_line".
16299 * gdb.ada/info_exc.exp: Remove "multi_line".
16300 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16301 * gdb.ada/ptype_field.exp: Remove "multi_line".
16302 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16303 * gdb.ada/tagged.exp: Remove "multi_line".
16304 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16305 [multi_line ...]
16306 * gdb.btrace/delta.exp: Likewise.
16307 * gdb.btrace/exception.exp: Likewise.
16308 * gdb.btrace/function_call_history.exp: Likewise.
16309 * gdb.btrace/instruction_history.exp: Likewise.
16310 * gdb.btrace/nohist.exp: Likewise.
16311 * gdb.btrace/record_goto.exp: Likewise.
16312 * gdb.btrace/segv.exp: Likewise.
16313 * gdb.btrace/stepi.exp: Likewise.
16314 * gdb.btrace/tailcall.exp: Likewise.
16315 * gdb.btrace/unknown_functions.exp: Likewise.
16316 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16317 * lib/gdb.exp: Add the "multi_line" helper.
16318
4eec2deb
PA
163192015-04-01 Pedro Alves <palves@redhat.com>
16320
16321 * gdb.threads/tid-reuse.c: New file.
16322 * gdb.threads/tid-reuse.exp: New file.
16323
df8411da
SDJ
163242015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16325
16326 PR corefiles/16092
16327 * gdb.base/coredump-filter.c: New file.
16328 * gdb.base/coredump-filter.exp: Likewise.
16329
6ef37366
PM
163302015-03-27 Petr Machata <pmachata@redhat.com>
16331
16332 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16333 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16334 (Dwarf::assemble): Initialize them.
16335 (Dwarf::lines): New function.
16336
7ec911b0
JT
163372015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16338
16339 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16340 SYMBOL_PREFIX for x86_64-*-cygwin.
16341
ff908ebf
AW
163422015-03-26 Andy Wingo <wingo@igalia.com>
16343
16344 PR symtab/18148
16345 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16346 const_value but not a location.
16347 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16348 location defined in non-main CUs are visible.
16349
6d5f0679
YQ
163502015-03-26 Yao Qi <yao.qi@linaro.org>
16351
16352 PR testsuite/18139
16353 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16354 Add a line number entry for the same line.
16355 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16356 Add a line number entry for the same line.
16357
2898689b
YQ
163582015-03-26 Yao Qi <yao.qi@linaro.org>
16359
16360 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16361 .int 0.
16362 (func): Likewise. Add .Lfunc_1 label.
16363 Use .Lfunc_1 label.
16364 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16365 .int 0.
16366 (func): Likewise.
16367 Use .Lfunc_1 label.
16368
85180498
YQ
163692015-03-26 Yao Qi <yao.qi@linaro.org>
16370
16371 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16372 Call gdb_compile instead to compile each .s files without debug
16373 information.
16374
8aa08a8d
YQ
163752015-03-26 Yao Qi <yao.qi@linaro.org>
16376
16377 * gdb.base/savedregs.exp (process_saved_regs): Make
16378 "Saved registers:" optional in the pattern.
16379
66849923
MM
163802015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16381
16382 * gdb.btrace/next.exp: Merged into step.exp.
16383 * gdb.btrace/finish.exp: Merged into step.exp.
16384 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16385 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16386 "record goto" and checking the exact replay position.
16387 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16388 check for "Recording format" in "info record" output.
16389 * gdb.btrace/record_goto.exp: Choose test file based on target.
16390 * gdb.btrace/x86-record_goto.S: Renamed into ...
16391 * gdb.btrace/x86_64-record_goto.S: ... this.
16392 * gdb.btrace/i686-record_goto.S: New.
16393 * gdb.btrace/x86-tailcall.S: Renamed into ...
16394 * gdb.btrace/x86_64-tailcall.S: ... this.
16395 * gdb.btrace/i686-tailcall.S: New.
16396 * gdb.btrace/x86-tailcall.c: Renamed into ...
16397 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16398 separate statements. Update test.
16399 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16400 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16401 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16402 * gdb.btrace/tailcall.exp: Choose test file based on target.
16403 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16404
11cc1b74
MM
164052015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16406
16407 * gdb.btrace/exception.exp: Increase BTS buffer size.
16408
a25d8bf9
PA
164092015-03-24 Pedro Alves <palves@redhat.com>
16410
16411 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16412
856e7dd6
PA
164132015-03-24 Pedro Alves <palves@redhat.com>
16414
16415 * gdb.threads/schedlock.exp (test_step): No longer expect that
16416 "set scheduler-locking step" with "next" over a function call runs
16417 threads unlocked.
16418
ad235a41
AT
164192015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16420
16421 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16422
15630549
AT
164232015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16424
16425 PR breakpoints/16466
16426 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16427 * gdb.mi/mi-pending.c (thread_func): New function.
16428 (int main): Add threading support required.
16429 * gdb.mi/mi-pending.exp: Add tests for this issue.
16430 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16431 (pendfunc2): Remove stdio dependency.
16432 * gdb.mi/mi-pendshr2.c: New file.
16433
693dca06
KS
164342015-03-23 Keith Seitz <keiths@redhat.com>
16435
16436 * gdb.linespec/keywords.c: New file.
16437 * gdb.linespec/keywords.exp: New file.
16438
7e993ebf
KS
164392015-03-23 Keith Seitz <keiths@redhat.com>
16440
16441 PR gdb/18021
16442 * gdb.dwarf2/staticvirtual.exp: New test.
16443
bc23328c
JK
164442015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16445
16446 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16447 * README: Remove HP-UX and gdb.hp.
16448 (configuration):
16449 * configure: Regenerate.
16450 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16451 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16452 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16453 gdb.hp/gdb.defects/Makefile.
16454 * gdb.hp/Makefile.in: File deleted.
16455 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16456 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16457 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16458 * gdb.hp/gdb.aCC/run.c: File deleted.
16459 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16460 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16461 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16462 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16463 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16464 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16465 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16466 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16467 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16468 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16469 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16470 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16471 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16472 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16473 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16474 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16475 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16476 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16477 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16478 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16479 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16480 * gdb.hp/gdb.compat/average.c: File deleted.
16481 * gdb.hp/gdb.compat/sum.c: File deleted.
16482 * gdb.hp/gdb.compat/xdb.c: File deleted.
16483 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16484 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16485 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16486 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16487 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16488 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16489 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16490 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16491 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16492 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16493 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16494 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16495 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16496 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16497 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16498 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16499 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16500 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16501 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16502 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16503 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16504 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16505 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16506 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16507 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16508 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16509 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16510 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16511 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16512 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16513 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16514 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16515 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16516 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16517 * gdb.hp/tools/odump: File deleted.
16518
8bf3b159
PA
165192015-03-19 Pedro Alves <palves@redhat.com>
16520
16521 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16522 (saw_thread_3): New globals.
16523 (top level): Increment them when an event for the corresponding
16524 thread is seen.
16525 (no thread starvation): New test.
16526
eb54c8bf
PA
165272015-03-19 Pedro Alves <palves@redhat.com>
16528
16529 * gdb.threads/continue-pending-status.c: New file.
16530 * gdb.threads/continue-pending-status.exp: New file.
16531
32d2e5d6
PA
165322015-03-18 Pedro Alves <palves@redhat.com>
16533
16534 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16535 Use gdb_is_target_remote instead of is_remote. Use
16536 gdb_test_multiple instead of gdb_expect. Exit early if
16537 gdb_test_multiple hits its internal matches. Tighten stepi tests
16538 expected output. Fail on exit with any signal, instead of just
16539 SIGILL.
16540
f68f11b7
YQ
165412015-03-18 Yao Qi <yao.qi@linaro.org>
16542
16543 PR tdep/18107
16544 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16545 variable.
16546 * gdb.base/catch-syscall.exp: Don't skip it on
16547 aarch64*-*-linux* target. Remove elements in all_syscalls.
16548 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16549 target.
16550 (setup_all_syscalls): New proc.
16551
ca5fd19b
YQ
165522015-03-16 Yao Qi <yao.qi@linaro.org>
16553
16554 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16555 (top level): Skip tests if valid_addr_p returns false for
16556 $cmd1 or $cmd2.
16557
85642ba0
AW
165582015-03-11 Andy Wingo <wingo@igalia.com>
16559
16560 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16561
e03f9645
YQ
165622015-03-11 Yao Qi <yao.qi@linaro.org>
16563
16564 * gdb.base/catch-syscall.exp: Fix typo in comments.
16565
5d0962b2
YQ
165662015-03-11 Yao Qi <yao.qi@linaro.org>
16567
16568 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16569
b2df3cef
PA
165702015-03-09 Pedro Alves <palves@redhat.com>
16571
16572 * dg-extract-results.py: Delete.
16573
ef878e53
PA
165742015-03-09 Pedro Alves <palves@redhat.com>
16575
16576 Merge dg-extract-results.sh from GCC upstream (r218843).
16577
16578 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16579 * dg-extract-results.sh: Use --text with grep to avoid issues with
16580 binary files. Fall back to cat -v, if that doesn't work.
16581
9494d219
PA
165822015-03-05 Pedro Alves <palves@redhat.com>
16583
16584 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16585
a8d9763a
SM
165862015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16587
16588 * lib/mi-support.exp (mi_expect_interrupt): Accept
16589 alternative event for when in all-stop mode.
16590
be9957b8
PA
165912015-03-04 Pedro Alves <palves@redhat.com>
16592
16593 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16594
d57be0f4 165952015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16596
16597 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16598
c214c7cf
AA
165992015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16600
16601 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16602 regexps for GDB's current line display, accept a hex address
16603 preceding the line number.
16604
6d74a497
AA
166052015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16606
16607 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16608 the 'arch1' variable for "s390*-linux*" targets.
16609
511aee7c
PA
166102015-03-04 Pedro Alves <palves@redhat.com>
16611
16612 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16613 (main): Pass missing retval argument to pthread_join call.
16614
95e50b27
PA
166152015-03-02 Pedro Alves <palves@redhat.com>
16616
16617 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16618 (top level): Call do_test with non-stop as well.
16619
28054d69
PA
166202015-03-02 Pedro Alves <palves@redhat.com>
16621
16622 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16623 -1.
16624
4fa5d7b4
AA
166252015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16626
16627 * gdb.arch/s390-vregs.exp: New test.
16628 * gdb.arch/s390-vregs.S: New file.
16629
97c18565
PA
166302015-02-27 Pedro Alves <palves@redhat.com>
16631
16632 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16633 call to catch_command_errors.
16634 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16635 catch_command_errors.
16636
a37bfa30
PA
166372015-02-27 Pedro Alves <palves@redhat.com>
16638
16639 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16640 "true" for boolean result.
16641 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16642 prototype of main.
16643
6f98576f
PA
166442015-02-27 Pedro Alves <palves@redhat.com>
16645
16646 * lib/unbuffer_output.c: New file.
16647 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16648 (main): Call gdb_unbuffer_output.
16649
eba5ab56
YQ
166502015-02-27 Yao Qi <yao.qi@linaro.org>
16651
16652 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16653 target.
16654
0def5aaa
DE
166552015-02-26 Doug Evans <dje@google.com>
16656
16657 * gdb.cp/class2.cc (Dbase, D): New classes.
16658 (main): New local delta.
16659 * gdb.cp/class2.exp: Test printing delta.
16660 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16661 (dynbar): New global.
16662 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16663
081a1c2c
JK
166642015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16665
16666 * gdb.compile/compile-ifunc.c: New file.
16667 * gdb.compile/compile-ifunc.exp: New file.
16668
2f41223f
AT
166692015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16670
16671 * gdb.base/structs.exp: Check for correct struct on finish.
16672
03eddd80
YQ
166732015-02-26 Yao Qi <yao.qi@linaro.org>
16674
16675 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16676 is zero.
16677
80c57053
JK
166782015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16679
16680 * gdb.arch/cordic.ko.bz2: New file.
16681 * gdb.arch/cordic.ko.debug.bz2: New file.
16682 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16683
21613c12
YQ
166842015-02-25 Yao Qi <yao.qi@linaro.org>
16685
16686 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16687 aarch64*-*-* target.
16688
d8b901ed
PA
166892015-02-23 Pedro Alves <palves@redhat.com>
16690
16691 * lib/gdb.exp (delete_breakpoints): Rewrite using
16692 gdb_test_multiple.
16693
e5b85ead
PA
166942015-02-23 Pedro Alves <palves@redhat.com>
16695
16696 * gdb.base/info-os.c: Include stdlib.h.
16697
85c3a371
DE
166982015-02-22 Doug Evans <xdje42@gmail.com>
16699
16700 PR symtab/17855
16701 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16702 is read after symbols have been re-read.
16703 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16704 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16705
96553a0c
DE
167062015-02-21 Doug Evans <dje@google.com>
16707
16708 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16709
97a0c697
JK
167102015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16711
16712 PR corefiles/17808
16713 * gdb.arch/i386-biarch-core.core.bz2: New file.
16714 * gdb.arch/i386-biarch-core.exp: New file.
16715
a47cd6e9
PA
167162015-02-21 Pedro Alves <palves@redhat.com>
16717
16718 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16719 runto_main fails.
16720
c5facdc4
PA
167212015-02-20 Pedro Alves <palves@redhat.com>
16722
16723 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16724 info probes.
16725
2db9a427
PA
167262015-02-20 Pedro Alves <palves@redhat.com>
16727
16728 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16729
60fb7e9e
PA
167302015-02-20 Pedro Alves <palves@redhat.com>
16731
16732 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16733 clean_restart before gdb_target_supports_trace.
16734
5c5019c2
PA
167352015-02-20 Pedro Alves <palves@redhat.com>
16736
16737 PR threads/18006
16738 * gdb.threads/clone-thread_db.c: New file.
16739 * gdb.threads/clone-thread_db.exp: New file.
16740
c9587f88
AT
167412015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16742
16743 PR breakpoints/16812
16744 * gdb.base/catch-gdb-caused-signals.c: New file.
16745 * gdb.base/catch-gdb-caused-signals.exp: New file.
16746
f6a88844
JM
167472015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16748
16749 * configure: Regenerated.
16750 * configure.ac: Use GDB_AC_TRANSFORM.
16751 * aclocal.m4: sinclude ../transform.m4.
16752
497c491b
JM
167532015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16754
16755 * lib/dtrace.exp: New file.
16756 * gdb.base/dtrace-probe.exp: Likewise.
16757 * gdb.base/dtrace-probe.d: Likewise.
16758 * gdb.base/dtrace-probe.c: Likewise.
16759 * lib/pdtrace.in: Likewise.
16760 * configure.ac: Output variables with the transformed names of
16761 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16762 * configure: Regenerated.
16763
03e98035
JM
167642015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16765
16766 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16767 expected message when trying to access $_probe_* convenience
16768 variables while not on a probe.
16769
63cc30e9
JK
167702015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16771
16772 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16773
0703599a
PA
167742015-02-11 Pedro Alves <pedro@codesourcery.com>
16775
16776 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16777 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16778
7e60a48e
DE
167792015-02-10 Doug Evans <xdje42@gmail.com>
16780
16781 * lib/gdb.exp (gdb_load): Always return a result.
16782
01b088bc
PA
167832015-02-10 Pedro Alves <palves@redhat.com>
16784
16785 * gdb.threads/signal-sigtrap.c: New file.
16786 * gdb.threads/signal-sigtrap.exp: New file.
16787
b05ec7a5
AT
167882015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16789
16790 * gdb.trace/no-attach-trace.c: New file.
16791 * gdb.trace/no-attach-trace.exp: New file.
16792
a2c2acaf
MW
167932015-02-09 Mark Wielaard <mjw@redhat.com>
16794
16795 * gdb.dwarf2/atomic.c: New file.
16796 * gdb.dwarf2/atomic-type.exp: Likewise.
16797
31fd9caa
MM
167982015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16799
16800 * gdb.btrace/buffer-size.exp: Update "info record" output.
16801 * gdb.btrace/delta.exp: Update "info record" output.
16802 * gdb.btrace/enable.exp: Update "info record" output.
16803 * gdb.btrace/finish.exp: Update "info record" output.
16804 * gdb.btrace/instruction_history.exp: Update "info record" output.
16805 * gdb.btrace/next.exp: Update "info record" output.
16806 * gdb.btrace/nexti.exp: Update "info record" output.
16807 * gdb.btrace/step.exp: Update "info record" output.
16808 * gdb.btrace/stepi.exp: Update "info record" output.
16809 * gdb.btrace/nohist.exp: Update "info record" output.
16810
d33501a5
MM
168112015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16812
16813 * gdb.btrace/buffer-size: New.
16814
f4abbc16
MM
168152015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16816
16817 * gdb.btrace/delta.exp: Update "info record" output.
16818 * gdb.btrace/enable.exp: Update "info record" output.
16819 * gdb.btrace/finish.exp: Update "info record" output.
16820 * gdb.btrace/instruction_history.exp: Update "info record" output.
16821 * gdb.btrace/next.exp: Update "info record" output.
16822 * gdb.btrace/nexti.exp: Update "info record" output.
16823 * gdb.btrace/step.exp: Update "info record" output.
16824 * gdb.btrace/stepi.exp: Update "info record" output.
16825 * gdb.btrace/nohist.exp: Update "info record" output.
16826
b9d61307
SM
168272015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16828
16829 PR gdb/15678
16830 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16831
e584fdbc
PA
168322015-02-06 Pedro Alves <palves@redhat.com>
16833
16834 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16835 macro.
16836 (seconds_left, again): New globals.
16837 (main): Wait seconds_left in a 1-second sleep loop instead of
16838 sleeping 180 seconds. If 'again' is set, reset the seconds
16839 counter.
16840 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16841 'again' in the inferior before detaching. Print the seconds left.
16842 (options): New global.
16843 (top level): Build program with -DTIMEOUT=$timeout.
16844
77f41761
PA
168452015-02-06 Pedro Alves <palves@redhat.com>
16846
16847 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16848 determine how many seconds to pass to 'alarm'.
16849 * gdb.base/gdb-sigterm.exp (top level): Build program with
16850 -DTIMEOUT=$timeout.
16851 (do_test): Return success/failure indication. Add more verbose
16852 logging. Don't fail if 200 single steps are seen. Instead, fail
16853 when the test times out.
16854 (passes): New global.
16855 (top level): Break the testing loop if testing fails on any
16856 iteration. Use gdb_assert.
16857
b9394193
DB
168582015-02-04 Don Breazeal <donb@codesourcery.com>
16859
16860 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16861 and initialize them.
16862 (ipc_cleanup): New function.
16863 (main): Don't declare shmid, semid, and msqid. Add a call to
16864 atexit so that we call ipc_cleanup on exit.
16865
42d9e528
PA
168662015-02-04 Pedro Alves <palves@redhat.com>
16867
16868 * boards/native-extended-gdbserver.exp: Remove any target variant
16869 specifications from the board name before clearing the isremote
16870 flag from board_info.
16871
ae6ae975
DE
168722015-01-31 Doug Evans <xdje42@gmail.com>
16873
16874 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16875
cfb069a8
GB
168762015-01-31 Gary Benson <gbenson@redhat.com>
16877
16878 * gdb.base/completion.exp: Disable completion limiting for
16879 existing tests. Add new tests to check completion limiting.
16880 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16881
5dd31d79
DE
168822015-01-31 Doug Evans <xdje42@gmail.com>
16883
16884 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16885
9f050062
DE
168862015-01-31 Doug Evans <xdje42@gmail.com>
16887
16888 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16889 entries. Duplicate file section script entries.
16890 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16891 inlined entries. Add test for safe-path rejection.
16892 * gdb.python/py-section-script.c: Add duplicate inlined section script
16893 entries. Duplicate file section script entries.
16894 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16895 inlined entries. Add test for safe-path rejection.
16896
df25ebbd
JB
168972015-01-29 Joel Brobecker <brobecker@adacore.com>
16898
16899 * gdb.ada/disc_arr_bound: New testcase.
16900
4a0ca9ec
JB
169012015-01-29 Joel Brobecker <brobecker@adacore.com>
16902
16903 * gdb.ada/mi_var_array: New testcase.
16904
3a8b707a
DE
169052015-01-27 Doug Evans <dje@google.com>
16906
16907 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16908 Add test for objfile.filename, objfile.username after objfile
16909 has been unloaded.
16910
f8313f6e
JB
169112015-01-26 Joel Brobecker <brobecker@adacore.com>
16912
16913 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16914 the second test to print the name attribute of value
16915 returned by the call to gdb.lookup_type, and adjust
16916 the expected output accordingly.
16917
37bc665e
MW
169182015-01-25 Mark Wielaard <mjw@redhat.com>
16919
16920 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16921 * gdb.base/disp-step-fork.c: Include unistd.h.
16922 * gdb.base/siginfo-obj.c: Include stdio.h.
16923 * gdb.base/siginfo-thread.c: Likewise.
16924 * gdb.mi/non-stop.c: Include unistd.h.
16925 * gdb.mi/nsthrexec.c: Include stdio.h.
16926 * gdb.mi/pthreads.c: Include unistd.h.
16927 * gdb.modula2/unbounded1.c (main): Declare returns int.
16928 * gdb.reverse/consecutive-reverse.c: Likewise.
16929 * gdb.threads/create-fail.c: Include unistd.h.
16930 * gdb.threads/killed.c: Likewise.
16931 * gdb.threads/linux-dp.c: Likewise.
16932 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16933 * gdb.threads/non-ldr-exc-2.c: Likewise.
16934 * gdb.threads/non-ldr-exc-3.c: Likewise.
16935 * gdb.threads/non-ldr-exc-4.c: Likewise.
16936 * gdb.threads/pthreads.c: Include unistd.h.
16937 (main): Declare returns int.
16938 * gdb.threads/tls-main.c (foo): New declaration.
16939 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16940
f7e5394d
SM
169412015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16942
16943 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16944 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16945
743649fd
MW
169462015-01-15 Mark Wielaard <mjw@redhat.com>
16947
16948 * gdb.base/noreturn-return.c: New file.
16949 * gdb.base/noreturn-return.exp: New file.
16950 * gdb.base/noreturn-finish.c: New file.
16951 * gdb.base/noreturn-finish.exp: New file.
16952
198297aa
PA
169532015-01-23 Pedro Alves <palves@redhat.com>
16954
16955 * gdb.threads/continue-pending-after-query.c: New file.
16956 * gdb.threads/continue-pending-after-query.exp: New file.
16957
717cf30c
AG
169582015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16959 Simon Marchi <simon.marchi@ericsson.com>
16960
16961 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16962 * gdb.base/valgrind-db-attach.exp: Same.
16963 * gdb.base/valgrind-infcall.exp: Same.
16964 * lib/mi-support.exp (default_mi_gdb_start): Same.
16965 * lib/prompt.exp (default_prompt_gdb_start): Same.
16966 * lib/gdb.exp (default_gdb_spawn): Same.
16967 (gdb_interact): New.
16968
16969
4b62a76e
JK
169702015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16971
16972 * gdb.compile/compile.exp (pointer to jit function): New test.
16973
b4cdae6f
WW
169742015-01-17 Wei-cheng Wang <cole945@gmail.com>
16975
16976 * lib/gdb.exp (supports_process_record): Return true for
16977 powerpc*-*-linux*.
16978 (supports_reverse): Likewise.
16979
d221e7ef
DB
169802015-01-15 Don Breazeal <donb@codesourcery.com>
16981
16982 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16983 instead of checking whether the target board is remote and
16984 use spawn_wait_for_attach instead of exec/sleep.
16985 * gdb.base/attach-twice.exp: Likewise.
16986
bafffb51
JB
169872015-01-15 Joel Brobecker <brobecker@adacore.com>
16988
16989 * gdb.ada/var_arr_attrs: New testcase.
16990
5589af0e
PA
169912015-01-14 Pedro Alves <palves@redhat.com>
16992 Joel Brobecker <brobecker@adacore.com>
16993
16994 PR gdb/17525
16995 * gdb.base/bp-cmds-execution-x-script.c: New file.
16996 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16997 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16998
6c400b59
PA
169992015-01-14 Pedro Alves <palves@redhat.com>
17000
17001 PR cli/17828
17002 * gdb.base/batch-preserve-term-settings.c: New file.
17003 * gdb.base/batch-preserve-term-settings.exp: New file.
17004
e02c96a7
DE
170052015-01-13 Doug Evans <dje@google.com>
17006
17007 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17008 binary.
17009
576fd14c
JB
170102015-01-13 Joel Brobecker <brobecker@adacore.com>
17011
17012 * Makefile.in (clean mostlyclean): Do not delete *.py.
17013
04dccad0
JB
170142015-01-13 Joel Brobecker <brobecker@adacore.com>
17015
17016 * gdb.python/py-lookup-type.exp: New file.
17017
3d230f71
PA
170182015-01-12 Pedro Alves <palves@redhat.com>
17019
17020 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17021 restore GDBFLAGS before returning.
17022
7e67715d
JK
170232015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17024
17025 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17026 is_amd64_regs_target and is_x86_like_target.
17027
f2e0d4b4
DE
170282015-01-11 Doug Evans <xdje42@gmail.com>
17029
17030 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17031 is given without an explicit form.
17032 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17033 attributes.
17034 * gdb.dwarf/corrupt.exp: Ditto.
17035 * gdb.dwarf2/enum-type.exp: Ditto.
17036 * gdb.trace/entry-values.exp: Ditto.
17037 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17038
439250fb
DE
170392015-01-11 Doug Evans <xdje42@gmail.com>
17040
17041 PR gdb/15830
17042 * gdb.base/maint.exp: Remove references to "maint demangle".
17043 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17044 Add tests for explicitly specifying language to demangle.
17045 * gdb.dlang/demangle.exp: Ditto.
17046
ede9f622
PA
170472015-01-09 Pedro Alves <palves@redhat.com>
17048
17049 * gdb.threads/non-stop-fair-events.c: New file.
17050 * gdb.threads/non-stop-fair-events.exp: New file.
17051
a7b796db
PA
170522015-01-09 Pedro Alves <palves@redhat.com>
17053
17054 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17055 the global scope. Set a breakpoint after all threads are started
17056 rather than stepping over two source lines. Expect the prompt.
17057 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17058 global.
17059 (NUM): Now 15.
17060 (main): Use threads_started_barrier to wait for all threads to
17061 start. Main thread no longer calls thread_function. Exit after
17062 180 seconds.
17063 (loop): New function.
17064 (thread_function): Wait on threads_started_barrier barrier. Call
17065 'loop' at each iteration.
17066 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17067 threads have started, instead of hardcoding number of "next"
17068 steps. Use an access watchpoint instead of a write watchpoint.
17069
9665ffdd
PA
170702015-01-09 Pedro Alves <palves@redhat.com>
17071
17072 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17073 (thread_func): Wait on barrier.
17074 (main): Wait for all threads to start before stopping GDB.
17075 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17076 global.
17077 (thread1_func, thread2_func): Wait on barrier.
17078 (main): Wait for all threads to start before stopping GDB.
17079 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17080 New global.
17081 (thread1_func, thread2_func): Wait on barrier.
17082 (main): Wait for all threads to start before stopping GDB.
17083
c945a99f
PA
170842015-01-09 Pedro Alves <palves@redhat.com>
17085
17086 * gdb.threads/attach-many-short-lived-threads.c: New file.
17087 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17088
c1a747c1
PA
170892014-01-09 Pedro Alves <palves@redhat.com>
17090
17091 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17092 instead of to thread 2.
17093 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17094 Add barrier around each pthread_create call instead of around all
17095 calls.
17096 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17097 Set a break on thread_function and have the child threads hit it
17098 one at at a time.
17099
60b3033e
PA
171002015-01-09 Pedro Alves <palves@redhat.com>
17101
17102 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17103 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17104 false.
17105 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17106 checking whether the target board is remote.
17107 * gdb.multi/multi-attach.exp: Likewise.
17108 * gdb.python/py-sync-interp.exp: Likewise.
17109 * gdb.server/ext-attach.exp: Likewise.
17110 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17111 tests that need to attach, instead of checking whether the target
17112 board is remote at the top of the file.
17113
acc018ac
YQ
171142015-01-08 Yao Qi <yao@codesourcery.com>
17115
17116 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17117
50a18af8
JK
171182015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17119
17120 Fix testcase compilation.
17121 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17122
8503d6e1
JB
171232015-01-06 Joel Brobecker <brobecker@adacore.com>
17124
17125 * gdb.python/py-type.exp: Add a couple test about empty
17126 array creation, and negative-length array creation.
17127
cc73dbcc
DE
171282015-01-02 Doug Evans <xdje42@gmail.com>
17129
17130 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17131
0300bbc7
DE
171322015-01-02 Doug Evans <dje@google.com>
17133
17134 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17135
9d85a0ec
YQ
171362014-12-29 Yao Qi <yao@codesourcery.com>
17137
17138 * gdb.trace/entry-values.exp: Update comments. Rename variable
17139 bar_call_foo to returned_from_foo.
17140
87186c6a
MMN
171412014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17142
17143 PR gdb/17394
17144 * gdb.linespec/break-asm-file.c: New file.
17145 * gdb.linespec/break-asm-file.exp: New file.
17146 * gdb.linespec/break-asm-file0.s: New file.
17147 * gdb.linespec/break-asm-file1.s: New file.
17148
1bab7383
YQ
171492014-12-18 Nigel Stephens <nigel@mips.com>
17150 Maciej W. Rozycki <macro@codesourcery.com>
17151
17152 * gdb.base/float.exp: Handle the new output from "info float" on
17153 MIPS targets.
17154
1bc1068a
JK
171552014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17156
17157 Fix MinGW compilation.
17158 * gdb.compile/compile-ops.exp: Update untested message if
17159 !skip_compile_feature_tests.
17160 * gdb.compile/compile-setjmp.exp: Likewise.
17161 * gdb.compile/compile-tls.exp: Likewise.
17162 * gdb.compile/compile.exp: Likewise.
17163 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17164 supported on this host".
17165
b6615d10
DE
171662014-12-16 Doug Evans <xdje42@gmail.com>
17167
17168 * boards/stabs.exp: New file.
17169
25dda427
AA
171702014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17171
17172 * gdb.base/completion.exp: Adjust to format changes of "maint
17173 print user-registers".
17174
bf330350
CU
171752014-12-16 Catalin Udma <catalin.udma@freescale.com>
17176
17177 PR server/17457
17178 * gdb.arch/aarch64-fp.c: New file.
17179 * gdb.arch/aarch64-fp.exp: New file.
17180
395cf596
SDJ
171812014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17182
17183 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17184 r210637, r210913, r211666, r215400, r215817).
17185
17186 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17187 * dg-extract-results.py: New file.
17188 * dg-extract-results.sh: Use it if the environment seems
17189 suitable.
17190
17191 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17192
17193 * dg-extract-results.py (parse_run): Handle warnings that
17194 are printed before a test harness is run.
17195
17196 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17197
17198 * dg-extract-results.py (Named): Remove __cmp__ method.
17199 (output_variation): Use a key to sort variation.harnesses.
17200
17201 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17202
17203 * dg-extract-results.py: For Python 3, force sys.stdout to
17204 handle surrogate escape sequences.
17205 (safe_open): New function.
17206 (output_segment, main): Use it.
17207
17208 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17209
17210 * dg-extract-results.py (Prog.result_re): Include options
17211 in test name.
17212
17213 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17214
17215 * dg-extract-results.py (output_variation): Always sort if
17216 do_sum.
17217
e882ef3c
SM
172182014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17219
17220 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17221 as long as we get pagination notifications.
17222
4992aa20
JM
172232014-12-15 Jason Merrill <jason@redhat.com>
17224
17225 * Makefile.in (check-gdb.%): Restore.
17226 * README: Mention it.
17227
c1b5a1a6
JB
172282014-12-13 Joel Brobecker <brobecker@adacore.com>
17229
17230 * gdb.ada/str_uninit: New testcase.
17231
5537b577
JK
172322014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17233
17234 PR symtab/17642
17235 * gdb.base/vla-stub-define.c: New file.
17236 * gdb.base/vla-stub.c: New file.
17237 * gdb.base/vla-stub.exp: New file.
17238
bb2ec1b3
TT
172392014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17240 Jan Kratochvil <jan.kratochvil@redhat.com>
17241 Tom Tromey <tromey@redhat.com>
17242
17243 * configure.ac: Add gdb.compile/.
17244 * configure: Regenerate.
17245 * gdb.compile/Makefile.in: New file.
17246 * gdb.compile/compile-ops.exp: New file.
17247 * gdb.compile/compile-ops.c: New file.
17248 * gdb.compile/compile-tls.c: New file.
17249 * gdb.compile/compile-tls.exp: New file.
17250 * gdb.compile/compile-constvar.S: New file.
17251 * gdb.compile/compile-constvar.c: New file.
17252 * gdb.compile/compile-mod.c: New file.
17253 * gdb.compile/compile-nodebug.c: New file.
17254 * gdb.compile/compile-setjmp-mod.c: New file.
17255 * gdb.compile/compile-setjmp.c: New file.
17256 * gdb.compile/compile-setjmp.exp: New file.
17257 * gdb.compile/compile-shlib.c: New file.
17258 * gdb.compile/compile.c: New file.
17259 * gdb.compile/compile.exp: New file.
17260 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17261
4ff709eb
TT
172622014-12-12 Tom Tromey <tromey@redhat.com>
17263
17264 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17265 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17266
6dddd6a5
DE
172672014-12-12 Doug Evans <dje@google.com>
17268
17269 * lib/gdb-python.exp (get_python_valueof): New function.
17270 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17271
71c24708
AA
172722014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17273
17274 * gdb.base/completion.exp: Add test for completion of "info
17275 registers ".
17276
3e29f34a
MR
172772014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17278
17279 * gdb.base/func-ptrs.c: New file.
17280 * gdb.base/func-ptrs.exp: New file.
17281
fc126975
SM
172822014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17283
17284 PR breakpoints/17012
17285 * gdb.base/dprintf-detach.c: New file.
17286 * gdb.base/dprintf-detach.exp: New file.
17287
0a46d518
SM
172882014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17289
17290 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17291 * lib/gdb.exp (target_is_gdbserver): New procedure.
17292
a0be3e44
DE
172932014-12-08 Doug Evans <dje@google.com>
17294
17295 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17296
df1b803a
YQ
172972014-12-05 Yao Qi <yao@codesourcery.com>
17298
17299 * gdb.guile/scm-error.exp: Remove the third argument to
17300 gdb_remote_download.
17301 * gdb.guile/scm-frame-args.exp: Likewise.
17302 * gdb.guile/scm-section-script.exp: Likewise.
17303
ddb9f679
YQ
173042014-12-05 Yao Qi <yao@codesourcery.com>
17305
17306 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17307
86e4ed39
DE
173082014-12-04 Doug Evans <dje@google.com>
17309
17310 * gdb.python/py-objfile.exp: Add tests for
17311 objfile.add_separate_debug_file.
17312
7c50a931
DE
173132014-12-04 Doug Evans <dje@google.com>
17314
17315 * lib/gdb.exp (get_build_id): New function.
17316 (build_id_debug_filename_get): Rewrite to use it.
17317 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17318
621661e3
MR
173192014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17320
17321 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17322 `method(long)', not just 0x0.
17323 * gdb.cp/nsalias.exp: Align code labels to 4.
17324 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17325 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17326 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17327 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17328 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17329 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17330
29f0c3b7
DE
173312014-12-02 Doug Evans <dje@google.com>
17332
e1e061e7 17333 PR symtab/17602
29f0c3b7 17334 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17335 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17336 * gdb.cp/anon-ns.exp: Update.
17337
162078c8
NB
173382014-12-02 Nick Bull <nicholaspbull@gmail.com>
17339
17340 * gdb.python/py-events.py (inferior_call_handler): New.
17341 (register_changed_handler, memory_changed_handler): New.
17342 (test_events.invoke): Register new handlers.
17343 * gdb.python/py-events.exp: Add tests for inferior call,
17344 memory_changed and register_changed events.
17345
fdb09caf
AA
173462014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17347
17348 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17349 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17350 if the linker doesn't understand this.
17351
55cfb2c4
SM
173522014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17353
17354 * gdb.python/python.exp: Change expected reply to help().
17355
9e8cd6df
YQ
173562014-12-01 Yao Qi <yao@codesourcery.com>
17357
17358 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17359 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17360 * configure: Re-generated.
17361
6c659fc2
SC
173622014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17363
17364 * gdb.cp/chained-calls.cc: New file.
17365 * gdb.cp/chained-calls.exp: New file.
17366 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17367
d7fc3181
SM
173682014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17369
17370 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17371 * gdb.dwarf2/symtab-producer.exp: Same.
17372 * gdb.gdb/python-interrupts.exp: Same.
17373 * gdb.gdb/python-selftest.exp: Same.
17374 * gdb.python/py-linetable.exp: Same.
17375 * gdb.python/py-type.exp: Same.
17376 * gdb.python/py-value-cc.exp: Same.
17377 * gdb.python/py-value.exp: Same.
17378
10e79639
YQ
173792014-11-28 Yao Qi <yao@codesourcery.com>
17380
17381 * gdb.base/break-probes.exp: Match library name prefixed with
17382 sysroot.
17383
f28a0564
SM
173842014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17385
17386 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17387 test expected output. Add parentheses for the call to print.
17388 Remove L suffix from integers.
17389
3fe1ce1d
DE
173902014-11-26 Doug Evans <dje@google.com>
17391
17392 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17393
84429e27
YQ
173942014-11-22 Yao Qi <yao@codesourcery.com>
17395
17396 * gdb.trace/entry-values.c: Remove asms.
17397 (foo): Add foo_label.
17398 (bar): Add bar_label.
17399 * gdb.trace/entry-values.exp: Remove code computing foo's
17400 length and bar's length.
17401 (Dwarf::assemble): Invoke function_range for bar and use
17402 MACRO_AT_func for foo.
17403
26741859
YQ
174042014-11-22 Yao Qi <yao@codesourcery.com>
17405
17406 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17407 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17408 Use .Lgcc43_procstart instead of gcc43.
17409
45e44d27
JB
174102014-11-21 Joel Brobecker <brobecker@adacore.com>
17411
17412 * gdb.ada/n_arr_bound: New testcase.
17413
458c8db8
SDJ
174142014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17415
17416 PR breakpoints/10737
17417 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17418 test_catch_syscall_multi_arch.
17419 (test_catch_syscall_multi_arch): New function.
17420
43f3e411
DE
174212014-11-20 Doug Evans <xdje42@gmail.com>
17422
17423 * gdb.base/maint.exp: Update expected output.
17424
0d7b2549
AA
174252014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17426
17427 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17428 4-byte instruction on S390.
17429
8908fca5
JB
174302014-11-19 Joel Brobecker <brobecker@adacore.com>
17431
17432 * gdb.ada/arr_arr: New testcase.
17433
4a46959e
JB
174342014-11-19 Joel Brobecker <brobecker@adacore.com>
17435
17436 * gdb.ada/pkd_arr_elem: New Testcase.
17437
470e2f4e
LM
174382014-11-18 Luis Machado <lgustavo@codesourcery.com>
17439
17440 * gdb.reverse/break-precsave: Expect completion message for
17441 core file reads.
17442 * gdb.reverse/consecutive-precsave.exp: Likewise.
17443 * gdb.reverse/finish-precsave.exp: Likewise.
17444 * gdb.reverse/i386-precsave.exp: Likewise.
17445 * gdb.reverse/machinestate-precsave.exp: Likewise.
17446 * gdb.reverse/sigall-precsave.exp: Likewise.
17447 * gdb.reverse/solib-precsave.exp: Likewise.
17448 * gdb.reverse/step-precsave.exp: Likewise.
17449 * gdb.reverse/until-precsave.exp: Likewise.
17450 * gdb.reverse/watch-precsave.exp: Likewise.
17451
a267f3ad
AA
174522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17453
17454 * gdb.base/bp-permanent.c: Include unistd.h.
17455 * gdb.python/py-framefilter-mi.c (main): Add return type.
17456 * gdb.python/py-framefilter.c (main): Likewise.
17457 * gdb.trace/actions-changed.c (main): Likewise.
17458
12084a9a
AA
174592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17460
17461 * gdb.mi/until.c: Add eye-catchers.
17462 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17463 line numbers.
17464
dc7e1a77
AA
174652014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17466
17467 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17468 function header variants in break1.c.
17469 * gdb.base/ena-dis-br.exp: Likewise.
17470 * gdb.base/hbreak2.exp: Likewise.
17471 * gdb.reverse/until-precsave.exp: Drop references to removed
17472 non-prototype function header variants in ur1.c.
17473 * gdb.reverse/until-reverse.exp: Likewise.
17474
41c77605
PM
174752014-11-17 Petr Machata <pmachata@redhat.com>
17476
17477 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17478 ${_cu_offset_size} bytes abbrev offset.
17479
34248c3a
DE
174802014-11-15 Doug Evans <xdje42@gmail.com>
17481
17482 PR symtab/17559
17483 * gdb.base/line-symtabs.exp: New file.
17484 * gdb.base/line-symtabs.c: New file.
17485 * gdb.base/line-symtabs.h: New file.
17486
646da059
YQ
174872014-11-14 Yao Qi <yao@codesourcery.com>
17488
17489 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17490 (func): Add label func_label.
17491 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17492 Replace low_pc and high_pc with MACRO_AT_range.
17493 Replace name, low_pc and high_pc with MACRO_AT_func.
17494
9301ebe6
YQ
174952014-11-14 Yao Qi <yao@codesourcery.com>
17496
17497 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17498 Replace name, low_pc and high_pc with MACRO_AT_func.
17499
f166b542
YQ
175002014-11-14 Yao Qi <yao@codesourcery.com>
17501
17502 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17503 produce debug information.
17504 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17505
0f6e71e3
YQ
175062014-11-14 Yao Qi <yao@codesourcery.com>
17507
17508 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17509 object and get function length.
17510 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17511 with MACRO_AT_func.
17512 (top-level): Replace gdb_compile and clean_restart with
17513 prepare_for_testing.
17514 * gdb.dwarf2/main.c (main): Add label main_label.
17515
876c4df9
YQ
175162014-11-14 Yao Qi <yao@codesourcery.com>
17517
17518 * lib/dwarf.exp (function_range): New procedure.
17519 (Dwarf::_handle_macro_at_func): New procedure.
17520 (Dwarf::_handle_macro_at_range): New procedure.
17521 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17522
02ad9cf1
YQ
175232014-11-14 Yao Qi <yao@codesourcery.com>
17524
17525 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17526 (_handle_attribute): New procedure.
17527
a59add0c
AA
175282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17529
17530 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17531 * gdb.base/call-sc.c (zed): Likewise.
17532 * gdb.base/checkpoint.c (main): Likewise.
17533 * gdb.base/dump.c (main): Likewise.
17534 * gdb.base/gcore.c (main): Likewise.
17535 * gdb.base/huge.c (main): Likewise.
17536 * gdb.base/multi-forks.c (main): Likewise.
17537 * gdb.base/pr10179-a.c (main): Likewise.
17538 * gdb.base/savedregs.c (main): Likewise.
17539 * gdb.base/sigaltstack.c (main): Likewise.
17540 * gdb.base/siginfo.c (main): Likewise.
17541 * gdb.base/structs.c (zed): Likewise.
17542 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17543 * gdb.mi/mi-syn-frame.c (main): Likewise.
17544 * gdb.mi/until.c (foo, main): Likewise.
17545 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17546 * gdb.base/solib-weak.c (foo): Declare.
17547 * gdb.base/attach-twice.c: Include stdio.h.
17548 * gdb.base/weaklib1.c: Likewise.
17549 * gdb.base/weaklib2.c: Likewise.
17550 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17551 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17552 unistd.h.
17553 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17554 * gdb.mi/mi-exit-code.c: Likewise.
17555 * gdb.base/break-interp-lib.c: Include string.h.
17556 * gdb.base/coremaker.c: Likewise.
17557 * gdb.base/testenv.c: Likewise.
17558 * gdb.python/py-finish-breakpoint.c: Likewise.
17559 * gdb.base/inferior-died.c: Include sys/wait.h.
17560 * gdb.base/fileio.c: Include time.h.
17561 * gdb.base/async-shell.c: Include unistd.h.
17562 * gdb.base/dprintf-non-stop.c: Likewise.
17563 * gdb.base/info-os.c: Likewise.
17564 * gdb.mi/mi-console.c: Likewise.
17565 * gdb.mi/watch-nonstop.c: Likewise.
17566 * gdb.python/py-events.c: Likewise.
17567 * gdb.base/async.c (baz): Move up before its invocation.
17568 * gdb.base/code_elim2.c (my_global_func): Likewise.
17569 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17570 * gdb.base/advance.c (func2): Likewise.
17571
3b5d5997
AA
175722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17573
17574 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17575 variant.
17576 * gdb.base/annota3.c: Likewise.
17577 * gdb.base/async.c: Likewise.
17578 * gdb.base/average.c: Likewise.
17579 * gdb.base/call-ar-st.c: Likewise.
17580 * gdb.base/call-rt-st.c: Likewise.
17581 * gdb.base/call-sc.c: Likewise.
17582 * gdb.base/call-strs.c: Likewise.
17583 * gdb.base/ending-run.c: Likewise.
17584 * gdb.base/execd-prog.c: Likewise.
17585 * gdb.base/exprs.c: Likewise.
17586 * gdb.base/foll-exec.c: Likewise.
17587 * gdb.base/foll-fork.c: Likewise.
17588 * gdb.base/foll-vfork.c: Likewise.
17589 * gdb.base/funcargs.c: Likewise.
17590 * gdb.base/gcore.c: Likewise.
17591 * gdb.base/jump.c: Likewise.
17592 * gdb.base/langs0.c: Likewise.
17593 * gdb.base/langs1.c: Likewise.
17594 * gdb.base/langs2.c: Likewise.
17595 * gdb.base/mips_pro.c: Likewise.
17596 * gdb.base/nodebug.c: Likewise.
17597 * gdb.base/opaque0.c: Likewise.
17598 * gdb.base/opaque1.c: Likewise.
17599 * gdb.base/recurse.c: Likewise.
17600 * gdb.base/run.c: Likewise.
17601 * gdb.base/scope0.c: Likewise.
17602 * gdb.base/scope1.c: Likewise.
17603 * gdb.base/setshow.c: Likewise.
17604 * gdb.base/setvar.c: Likewise.
17605 * gdb.base/shmain.c: Likewise.
17606 * gdb.base/shr1.c: Likewise.
17607 * gdb.base/shr2.c: Likewise.
17608 * gdb.base/sigall.c: Likewise.
17609 * gdb.base/signals.c: Likewise.
17610 * gdb.base/so-indr-cl.c: Likewise.
17611 * gdb.base/solib2.c: Likewise.
17612 * gdb.base/structs.c: Likewise.
17613 * gdb.base/sum.c: Likewise.
17614 * gdb.base/vforked-prog.c: Likewise.
17615 * gdb.base/watchpoint.c: Likewise.
17616 * gdb.reverse/shr2.c: Likewise.
17617 * gdb.reverse/until-reverse.c: Likewise.
17618 * gdb.reverse/ur1.c: Likewise.
17619 * gdb.reverse/watch-reverse.c: Likewise.
17620
066a77c5
AA
176212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17622
17623 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17624 variant.
17625 * gdb.base/sepdebug.exp: Drop references to removed code.
17626
4f204ea5
AA
176272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17628
17629 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17630 variant. Preserve original line numbering.
17631 * gdb.base/list1.c: Likewise.
17632
3b377a3a
AA
176332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17634
17635 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17636 variant.
17637 * gdb.base/break1.c: Likewise.
17638 * gdb.base/break.exp: Drop references to removed code.
17639
e444df73
AA
176402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17641
17642 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17643 variant.
17644
8008f2a7
AA
176452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17646
17647 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17648
a5a06887
AA
176492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17650
17651 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17652 logic into perform_all_tests() and invoke it with and without
17653 function header prototypes.
17654 (do_function_calls): Remove conditional XFAIL for PR 5318.
17655 (rerun_and_prepare): Remove duplicate code.
17656 (perform_all_tests): New. Main logic moved here.
17657
44dba9b9
AA
176582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17659
17660 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17661 code guarded by #ifdef NO_PROTOTYPES.
17662 (t_double_many_args): Likewise.
17663 (DEF_FUNC_MANY_ARGS_1): Likewise.
17664 (DEF_FUNC_VALUES_1): Likewise.
17665 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17666 guarded by #ifdef PROTOTYPES.
17667
d1fbcd56
AA
176682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17669
17670 * gdb.mi/mi-console.c: Add eye-catcher.
17671 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17672 instead of literal line number.
17673
b0e59b8f
AA
176742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17675
17676 * gdb.base/shr2.c: Add eye-catcher.
17677 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17678 line number.
17679
78f98cca
AA
176802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17681
17682 * gdb.base/jump.c: Add eye-catchers.
17683 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17684 numbers.
17685
58fa2af0
AA
176862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17687
17688 * gdb.base/execd-prog.c: Add eye-catchers.
17689 * gdb.base/foll-exec.c: Likewise.
17690 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17691 line numbers.
17692
04e5059b
AA
176932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17694
17695 * gdb.base/ending-run.c: Add eye-catchers.
17696 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17697 literal line numbers.
17698
dbfdb174
AA
176992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17700
17701 * gdb.base/call-rt-st.c: Add eye-catchers.
17702 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17703 literal line numbers.
17704
888a2ade
AA
177052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17706
17707 * gdb.base/call-ar-st.c: Add eye-catchers.
17708 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17709 literal line numbers.
17710
6acc2dde
AA
177112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17712
17713 * gdb.base/average.c: Add eye-catchers.
17714 * gdb.base/sum.c: Likewise.
17715 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17716 regexps dynamically.
17717
9ecfcd1d
AA
177182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17719
17720 * gdb.base/solib1.c: Add eye-catchers.
17721 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17722 literal line numbers.
17723
78708b7c
PA
177242014-11-12 Pedro Alves <palves@redhat.com>
17725
17726 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17727 leader has exited.
17728
af48d08f
PA
177292014-11-12 Pedro Alves <palves@redhat.com>
17730
17731 * gdb.arch/i386-bp_permanent.c: New file.
17732 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17733 (srcfile): Set to i386-bp_permanent.c.
17734 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17735 that stepi does not execute the 'leave' instruction, instead of
17736 testing it does execute.
17737 * gdb.base/bp-permanent.c: New file.
17738 * gdb.base/bp-permanent.exp: New file.
17739
af3768e9
DE
177402014-11-10 Doug Evans <xdje42@gmail.com>
17741
17742 PR symtab/17564
17743 * gdb.base/symtab-search-order.exp: New file.
17744 * gdb.base/symtab-search-order.c: New file.
17745 * gdb.base/symtab-search-order-1.c: New file.
17746 * gdb.base/symtab-search-order-shlib-1.c: New file.
17747
9de00a4a
PA
177482014-11-07 Pedro Alves <palves@redhat.com>
17749
17750 PR gdb/17511
17751 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17752 i?86-*-linux*.
17753
e0f52461
SC
177542014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17755
17756 PR c++/17494
17757 * gdb.cp/pr17494.cc: New file.
17758 * gdb.cp/pr17494.exp: New file.
17759
6ce8c980
YQ
177602014-11-02 Yao Qi <yao@codesourcery.com>
17761
17762 * gdb.python/python.exp: Get working directory and match the
17763 output of "set extended-prompt \\w " with it.
17764
02be9a71
DE
177652014-10-30 Doug Evans <dje@google.com>
17766
17767 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17768 in objfiles.
17769 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17770 in progspaces.
17771
3bdff46b
LM
177722014-10-30 Janis Johnson <janisjo@codesourcery.com>
17773
17774 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17775 * gdb.base/realname-expand.exp: Likewise.
17776 * gdb.linespec/macro-relative.exp: Likewise.
17777
ab917dfb
PA
177782014-10-29 Pedro Alves <palves@redhat.com>
17779
17780 PR gdb/17408
17781 * gdb.threads/schedlock.c (some_function): New function.
17782 (call_function): New global.
17783 (MAYBE_CALL_SOME_FUNCTION): New macro.
17784 (thread_function): Call it.
17785 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17786 and use it instead of a global counter. Adjust all callers.
17787 (get_current_thread): Use "find current thread" for test message
17788 here rather than having all callers pass down the same string.
17789 (goto_loop): New procedure, factored out from ...
17790 (my_continue): ... this.
17791 (step_ten_loops): Change parameter from test message to command to
17792 use. Adjust.
17793 (list_count): Delete global.
17794 (check_result): New procedure, factored out from duplicate top
17795 level code.
17796 (continue tests): Wrap in with_test_prefix.
17797 (test_step): New procedure, factored out from duplicate top level
17798 code.
17799 (top level): Test "step" in combination with all scheduler-locking
17800 modes. Test "next" in combination with all scheduler-locking
17801 modes, and in combination with stepping over a function call or
17802 not.
17803 * gdb.threads/next-bp-other-thread.c: New file.
17804 * gdb.threads/next-bp-other-thread.exp: New file.
17805
d3d4baed
PA
178062014-10-29 Pedro Alves <palves@redhat.com>
17807
17808 PR python/17372
17809 * gdb.python/python.exp: Test a multi-line command that spawns
17810 interactive Python.
17811 * gdb.base/multi-line-starts-subshell.exp: New file.
17812
563e8d85
YQ
178132014-10-29 Yao Qi <yao@codesourcery.com>
17814
17815 * gdb.base/fileio.exp: Make directories on host.
17816
0ea4d52e
YQ
178172014-10-29 Yao Qi <yao@codesourcery.com>
17818
17819 * gdb.base/fileio.c (test_write): Close the file.
17820
7f5ef605
PA
178212014-10-28 Pedro Alves <palves@redhat.com>
17822
17823 PR gdb/12623
17824 * gdb.base/sigstep.c (no_handler): New global.
17825 (main): If 'no_handler is true, set the signal handlers to
17826 SIG_IGN.
17827 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17828 with_sw_watch and no_handler parameters. Handle them.
17829 (top level) <stepping over handler when stopped at a breakpoint
17830 test>: Add a test axis for testing with a software watchpoint, and
17831 another for testing with the signal handler set to SIG_IGN.
17832 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17833 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17834
abbdbd03
PA
178352014-10-28 Pedro Alves <palves@redhat.com>
17836
17837 PR gdb/17511
17838 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17839 * gdb.base/sigstep.exp (other_handler_location): New global.
17840 (advance): Support stepping into the signal handler, and running
17841 commands while in the handler.
17842 (in_handler_map): New global.
17843 (top level): In the advance test, add combinations for getting
17844 into the handler with stepping commands, and for running commands
17845 in the handler. Add comment descripting the advancei tests.
17846
1df4399f
PA
178472014-10-28 Pedro Alves <palves@redhat.com>
17848
17849 * gdb.base/sigstep.exp: Use build_executable instead of
17850 prepare_for_testing.
17851 (top level): Move code that starts GDB, runs to main and creates a
17852 display to ...
17853 (restart): ... this new procedure.
17854 (top level): Move backtrace from signal handler test to ...
17855 (validate_backtrace): ... this new procedure.
17856 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17857 with_test_prefix. Always restart GDB.
17858 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17859 with_test_prefix. Always restart GDB. No need to delete
17860 breakpoints after the test.
17861 (test_skip_handler): Remove prefix parameter.
17862 (skip_over_handler, breakpoint_to_handler)
17863 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17864 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17865 restart GDB. No need to delete breakpoints after the test.
17866 (top level): Use foreach to call the test procedures with
17867 different commands.
17868
a5b6e449
PA
178692014-10-28 Pedro Alves <palves@redhat.com>
17870
17871 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17872 instead of GNATS numbers.
17873 * gdb.base/sigbpt.exp: Likewise.
17874 * gdb.base/siginfo.exp: Likewise.
17875 * gdb.base/sigstep.exp: Likewise.
17876
e5f8a7cc
PA
178772014-10-27 Pedro Alves <palves@redhat.com>
17878
17879 * gdb.base/sigstep.c (dummy): New global.
17880 (main): Issue a couple writes to the new global.
17881 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17882 procedures.
17883 (skip_over_handler): Use test_skip_handler.
17884 (top level): Call skip_over_handler for stepi and nexti too.
17885 (breakpoint_over_handler): Use test_skip_handler.
17886 (top level): Call breakpoint_over_handler for stepi and nexti too.
17887
763905a3
YQ
178882014-10-27 Yao Qi <yao@codesourcery.com>
17889
17890 * gdb.trace/tfile.c (adjust_function_address)
17891 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17892 function descriptor.
17893
6f259a23
DB
178942014-10-24 Don Breazeal <donb@codesourcery.com>
17895
17896 * gdb.base/foll-fork.exp (test_follow_fork,
17897 catch_fork_child_follow): Check for updated fork messages emitted
17898 from infrun.c.
17899 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17900 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17901 vfork_and_exec_child_follow_through_step): Check for updated vfork
17902 messages emitted from infrun.c.
17903
09dd9a69
PA
179042014-10-24 Pedro Alves <palves@redhat.com>
17905
17906 * gdb.base/corefile.exp: Remove references to ultrix.
17907 * gdb.base/interrupt.exp: Likewise.
17908 * gdb.base/whatis.exp: Likewise.
17909 * gdb.gdb/selftest.exp: Likewise.
17910 * gdb.threads/manythreads.exp: Likewise.
17911 * gdb.threads/print-threads.exp: Likewise.
17912 * gdb.threads/pthreads.exp:: Likewise.
17913 * gdb.threads/schedlock.exp: Likewise.
17914
3433cfa5
SC
179152014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17916
17917 * gdb.cp/non-trivial-retval.cc: Add a test case.
17918 * gdb.cp/non-trivial-retval.exp: Add a test.
17919
092f880b
YQ
179202014-10-20 Yao Qi <yao@codesourcery.com>
17921
17922 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17923 * gdb.python/py-objfile-script-gdb.py: New file.
17924 * gdb.python/py-objfile-script.exp: Update reference to
17925 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17926 of remote_download. Remove the dest file.
17927
acbdb7f3
YQ
179282014-10-20 Yao Qi <yao@codesourcery.com>
17929
17930 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17931 * gdb.base/step-line.exp: Likewise.
17932 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17933 * gdb.dwarf2/dw2-basic.exp: Likewise.
17934 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17935 * gdb.dwarf2/dw2-filename.exp: Likewise.
17936 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17937 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17938 * gdb.dwarf2/dw2-producer.exp: Likewise.
17939 * gdb.dwarf2/mac-fileno.exp: Likewise.
17940 * gdb.python/py-frame-args.exp: Likewise.
17941 * gdb.python/py-framefilter.exp: Likewise.
17942 * gdb.python/py-mi.exp: Likewise.
17943 * gdb.python/py-objfile-script.exp: Likewise
17944 * gdb.python/py-pp-integral.exp: Likewise.
17945 * gdb.python/py-pp-re-notag.exp: Likewise.
17946 * gdb.python/py-prettyprint.exp: Likewise.
17947 * gdb.python/py-section-script.exp: Likewise.
17948 * gdb.python/py-typeprint.exp: Likewise.
17949 * gdb.python/py-xmethods.exp: Likewise.
17950 * gdb.stabs/weird.exp: Likewise.
17951 * gdb.xml/tdesc-regs.exp: Likewise.
17952
bd286a29
KCY
179532014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17954
17955 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17956 (out_cu): Use addr_len for the size of addresses.
17957 (out_line): Likewise. Size DW_LNE_set_address instruction
17958 according to addr_len.
17959 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17960 (FUNC): Add START_INSNS to definition.
17961
673dc4a0
YQ
179622014-10-18 Yao Qi <yao@codesourcery.com>
17963
17964 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17965 gdb_has_argv0 return true.
17966 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17967 check [target_info exists noargs], check [gdb_has_argv0]
17968 instead.
17969 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17970 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17971 procedures.
17972
4ffbba72
DE
179732014-10-17 Doug Evans <dje@google.com>
17974
17975 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17976 event.
17977 * gdb.python/py-events.py: Add clear_objfiles event.
17978
d096d8c1
DE
179792014-10-17 Doug Evans <dje@google.com>
17980
17981 * gdb.python/py-objfile.exp: Test progspace attribute.
17982
a80db015
LM
179832014-10-17 Luis Machado <lgustavo@codesourcery.com>
17984
17985 * gdb.guile/scm-breakpoint.exp: Do not assume any
17986 directory separators when matching source file paths.
17987 * gdb.python/py-breakpoint.exp: Likewise.
17988 * gdb.reverse/break-precsave.exp: Likewise.
17989 * gdb.reverse/break-reverse.exp: Likewise.
17990 * gdb.reverse/consecutive-precsave.exp: Likewise.
17991 * gdb.reverse/finish-precsave.exp: Likewise.
17992 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17993 * gdb.reverse/finish-reverse.exp: Likewise.
17994 * gdb.reverse/i386-precsave.exp: Likewise.
17995 * gdb.reverse/i387-env-reverse.exp: Likewise.
17996 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17997 * gdb.reverse/machinestate-precsave.exp: Likewise.
17998 * gdb.reverse/machinestate.exp: Likewise.
17999 * gdb.reverse/sigall-precsave.exp: Likewise.
18000 * gdb.reverse/solib-precsave.exp: Likewise.
18001 * gdb.reverse/step-precsave.exp: Likewise.
18002 * gdb.reverse/until-precsave.exp: Likewise.
18003 * gdb.reverse/watch-precsave.exp: Likewise.
18004 * gdb.reverse/watch-reverse.exp: Likewise.
18005
b22089ab
YQ
180062014-10-17 Yao Qi <yao@codesourcery.com>
18007
18008 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18009 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18010
6c4486e6
PA
180112014-10-17 Pedro Alves <palves@redhat.com>
18012
18013 PR gdb/17471
18014 * gdb.base/bg-execution-repeat.c: New file.
18015 * gdb.base/bg-execution-repeat.exp: New file.
18016
0ff33695
PA
180172014-10-17 Pedro Alves <palves@redhat.com>
18018
18019 PR gdb/17300
18020 * gdb.base/continue-all-already-running.c: New file.
18021 * gdb.base/continue-all-already-running.exp: New file.
18022
6fdebc3d
PA
180232014-10-17 Pedro Alves <palves@redhat.com>
18024
18025 PR gdb/17472
18026 * gdb.base/annota-input-while-running.c: New file.
18027 * gdb.base/annota-input-while-running.exp: New file.
18028
32a8097b
PA
180292014-10-17 Pedro Alves <palves@redhat.com>
18030
18031 * gdb.base/callfuncs.exp: emove references to osf.
18032 * gdb.base/sigall.exp: Likewise.
18033 * gdb.gdb/selftest.exp: Likewise.
18034 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18035 * gdb.mi/non-stop.c: Likewise.
18036 * gdb.mi/pthreads.c: Likewise.
18037 * gdb.reverse/sigall-precsave.exp: Likewise.
18038 * gdb.reverse/sigall-reverse.exp: Likewise.
18039 * gdb.threads/pthreads.c: Likewise.
18040 * gdb.threads/pthreads.exp: Likewise.
18041
7a3517ff
YQ
180422014-10-17 Yao Qi <yao@codesourcery.com>
18043
18044 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18045 check 'target_info exists noargs'.
18046 (test_command_prompt_position): Likewise.
18047 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18048 Remove "set args".
18049 (progvar_simple_while_test): Likewise.
18050 (progvar_complex_if_while_test): Likewise.
18051 (if_while_breakpoint_command_test): Likewise.
18052 (infrun_breakpoint_command_test): Likewise.
18053 (breakpoint_command_test): Likewise.
18054 (watchpoint_command_test): Likewise.
18055 (bp_deleted_in_command_test): Likewise.
18056 (temporary_breakpoint_commands): Likewise.
18057
bb99c472
YQ
180582014-10-16 Yao Qi <yao@codesourcery.com>
18059
18060 * gdb.base/remotetimeout.exp: Remove noargs checking.
18061
7c16b83e
PA
180622014-10-15 Pedro Alves <palves@redhat.com>
18063
18064 PR breakpoints/9649
18065 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18066 * gdb.base/breakpoint-in-ro-region.exp
18067 (probe_target_hardware_step): New procedure.
18068 (top level): Probe hardware stepping and hardware breakpoint
18069 support. Test stepping through a read-only region, with both
18070 "breakpoint auto-hw" on and off and both "always-inserted" on and
18071 off.
18072
35a49624
IB
180732014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18074
18075 * gdb.dlang/demangle.exp: Update for demangling changes.
18076
2d1c107c
SC
180772014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18078
18079 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18080 * gdb.cp/non-trivial-retval.exp: Add new tests.
18081
778811d5
SC
180822014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18083
18084 PR c++/13403
18085 PR c++/15154
18086 * gdb.cp/non-trivial-retval.cc: New file.
18087 * gdb.cp/non-trivial-retval.exp: New file.
18088
10c5f0a8
YQ
180892014-10-15 Yao Qi <yao@codesourcery.com>
18090
18091 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18092 remote host.
18093
65d7b369
YQ
180942014-10-15 Yao Qi <yao@codesourcery.com>
18095
18096 * gdb.python/py-symbol.exp: Match file base name if host is
18097 remote, otherwise match file name with dir name.
18098 * gdb.python/py-symtab.exp: Likewise.
18099 * gdb.python/python.exp: Likewise.
18100
46dc1394
YQ
181012014-10-15 Yao Qi <yao@codesourcery.com>
18102
18103 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18104 pattern.
18105 * gdb.python/py-symtab.exp: Likewise.
18106 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18107 locationn.
18108
c40cc657
JB
181092014-10-14 Joel Brobecker <brobecker@adacore.com>
18110
18111 * gdb.ada/addr_arith: New testcase.
18112
2abf49e1
MR
181132014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18114
18115 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18116 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18117 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18118 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18119
f7088df3
SDJ
181202014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18121
18122 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18123 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18124 * gdb.arch/stap-eval-lang-ada.exp: New file.
18125
4dc06805
YQ
181262014-10-14 Yao Qi <yao@codesourcery.com>
18127
18128 * gdb.mi/mi-var-child.c (nothing1): New function.
18129 (nothing2): New function.
18130 (do_children_tests): Set function pointers by nothing1 and
18131 nothing2.
18132 * gdb.mi/mi-var-child.exp: Step over new added statements.
18133 Update test to match the new output.
18134 * gdb.mi/var-cmd.c (nothing1): New function.
18135 (nothing2): New function.
18136 (do_children_tests): Set function pointers by nothing1 and
18137 nothing2.
18138 * gdb.mi/mi-var-display.exp: Update test to match output.
18139 Step to the line specified by $line_dct_nothing.
18140 Increase the number of lines to step.
18141
46a93de2
YQ
181422014-10-14 Yao Qi <yao@codesourcery.com>
18143
18144 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18145 tests.
18146 * gdb.mi/mi2-var-child.exp: Likewise.
18147
14ea52ee
DE
181482014-10-13 Doug Evans <dje@google.com>
18149
18150 * gdb.python/py-objfile.exp: Change name of file name test.
18151
e5c6e92b
DE
181522014-10-13 Doug Evans <dje@google.com>
18153
18154 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18155 from the start of the CU.
18156
c780cc2f
JK
181572014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18158 Yao Qi <yao@codesourcery.com>
18159
18160 Fix "save breakpoints" for "catch" command.
18161 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18162 Remove -nonewline. Match also the added "main" line.
18163
99894e11
JK
181642014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18165
18166 Fix "save breakpoints" for "disable $bpnum" command.
18167 * gdb.base/save-bp.c (main): Add label.
18168 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18169
6e1ac5a3
JK
181702014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18171
18172 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18173
754dd2b0
YQ
181742014-10-11 Yao Qi <yao@codesourcery.com>
18175
18176 * gdb.server/server-kill.exp: Execute command
18177 "set remote trace-status-packet on" before "tstatus".
18178
f90183d7
YQ
181792014-10-11 Yao Qi <yao@codesourcery.com>
18180
18181 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18182 (main): Call getppid.
18183 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18184 and continue to it. Read variable "server_pid".
18185
bf40a607
YQ
181862014-10-11 Yao Qi <yao@codesourcery.com>
18187
18188 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18189
052ca370
YQ
181902014-10-11 Yao Qi <yao@codesourcery.com>
18191
18192 * gdb.threads/thread-find.exp: Don't execute command
18193 "info threads".
18194 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18195 * gdb.threads/linux-dp.exp: Don't check the condition
18196 $threads_created equals to zero.
18197
3831839c
PA
181982014-10-10 Pedro Alves <palves@redhat.com>
18199
18200 * gdb.base/bigcore.exp: Remove references to IRIX.
18201 * gdb.base/funcargs.exp: Likewise.
18202 * gdb.base/interrupt.exp: Likewise.
18203 * gdb.base/mips_pro.exp: Likewise.
18204 * gdb.base/nodebug.exp: Likewise.
18205 * gdb.base/setvar.exp: Likewise.
18206 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18207
8b9a549d
PA
182082014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18209 Pedro Alves <palves@redhat.com>
18210
18211 PR symtab/14466
18212 * gdb.base/vdso-warning.c: New file.
18213 * gdb.base/vdso-warning.exp: New file.
18214
d48ba5e8
DE
182152014-10-02 Doug Evans <dje@google.com>
18216
18217 * gdb.base/structs.c (main): Don't run forever.
18218
2278c276
PA
182192014-10-02 Pedro Alves <palves@redhat.com>
18220
18221 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18222 (top level) <stop threads 1, stop threads 2>: Use it.
18223
b57bacec
PA
182242014-10-02 Pedro Alves <palves@redhat.com>
18225
18226 * gdb.threads/break-while-running.exp (test): Add new
18227 'update_thread_list' argument. Skip "info threads" if false.
18228 (top level): Add new 'update_thread_list' axis.
18229
13fd3ff3
PA
182302014-10-02 Pedro Alves <palves@redhat.com>
18231
18232 PR breakpoints/17431
18233 * gdb.base/execl-update-breakpoints.c: New file.
18234 * gdb.base/execl-update-breakpoints.exp: New file.
18235
0fec99e8
PA
182362014-10-01 Pedro Alves <palves@redhat.com>
18237
18238 * gdb.base/breakpoint-in-ro-region.c: New file.
18239 * gdb.base/breakpoint-in-ro-region.exp: New file.
18240
2ddf4301
SM
182412014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18242
18243 * gdb.mi/mi-exit-code.exp: New file.
18244 * gdb.mi/mi-exit-code.c: New file.
18245
6a5f3f43
YQ
182462014-09-30 Yao Qi <yao@codesourcery.com>
18247
18248 * lib/prelink-support.exp (build_executable_own_libs): Error if
18249 the target isn't native.
18250
345bcc73
YQ
182512014-09-30 Yao Qi <yao@codesourcery.com>
18252
18253 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18254 false.
18255
a25a5a45
PA
182562014-09-22 Pedro Alves <palves@redhat.com>
18257
18258 * gdb.threads/break-while-running.exp: New file.
18259 * gdb.threads/break-while-running.c: New file.
18260
00ba3162
YQ
182612014-09-19 Yao Qi <yao@codesourcery.com>
18262
18263 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18264 Invoke test. Restart GDB with --readnow and invoke test again.
18265
c3b7b696
YQ
182662014-09-19 Yao Qi <yao@codesourcery.com>
18267
18268 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18269 proc set_breakpoint_on_gcd_function. Invoke
18270 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18271 invoke set_breakpoint_on_gcd_function again.
18272
2b4fd423
DE
182732014-09-18 Doug Evans <dje@google.com>
18274
18275 * gdb.dwarf2/symtab-producer.exp: New file.
18276
a5947601
SDJ
182772014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18278
18279 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18280 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18281 * gdb.base/global-var-nested-by-dso.c: Likewise.
18282 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18283
91c19059
SDJ
182842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18285 Pedro Alves <palves@redhat.com>
18286
18287 * gdb.base/watch-bitfields.exp: Pass string other than test file
18288 name to prepare_for_testing.
18289 (watch): New procedure.
18290 (expect_watchpoint): Use with_test_prefix.
18291 (top level): Factor out tests to ...
18292 (test_watch_location, test_regular_watch): ... these new
18293 procedures, and use with_test_prefix and gdb_continue_to_end.
18294
bb9d5f81
PP
182952014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18296
18297 PR breakpoints/12526
18298 * gdb.base/watch-bitfields.exp: New file.
18299 * gdb.base/watch-bitfields.c: New file.
18300
635856f5
PA
183012014-09-16 Pedro Alves <palves@redhat.com>
18302
18303 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18304 software and hardware addresses, not software address against
18305 itself.
18306
7280ceea
PA
183072014-09-16 Pedro Alves <palves@redhat.com>
18308
18309 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18310 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18311
428b16bd
PA
183122014-09-16 Pedro Alves <palves@redhat.com>
18313
18314 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18315 files.
18316 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18317 "*-*-vxworks*" throughout.
18318 * gdb.base/break.exp: Likewise.
18319 * gdb.base/default.exp: Likewise.
18320 * gdb.base/scope.exp: Likewise.
18321 * gdb.base/sepdebug.exp: Likewise.
18322 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18323 throughout.
18324 * gdb.base/run.c: Likewise.
18325 * gdb.base/sepdebug.c: Likewise.
18326 * gdb.hp/gdb.aCC/run.c: Likewise.
18327 * gdb.reverse/until-reverse.c: Likewise.
18328 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18329
666d413c
YQ
183302014-09-16 Yao Qi <yao@codesourcery.com>
18331
18332 * boards/local-remote-host-native.exp: New file.
18333
57cbd724
DE
183342014-09-14 Doug Evans <xdje42@gmail.com>
18335
18336 * gdb.threads/queue-signal.c (thread_count): New variable.
18337 (thread_count_mutex, thread_count_condvar): New variables.
18338 (incr_thread_count, wait_all_threads_running): New functions.
18339 (main): Wait for all threads to be in their thread functions.
18340
81219e53
DE
183412014-09-13 Doug Evans <xdje42@gmail.com>
18342
18343 * gdb.threads/queue-signal.c: New file.
18344 * gdb.threads/queue-signal.exp: New file.
18345
3714cea7
DE
183462014-09-13 Doug Evans <xdje42@gmail.com>
18347
18348 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18349 be consistent with what default_gdb_init uses.
18350 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18351 the plain text of the prompt. Add some logging printfs.
18352 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18353
fa43b1d7
PA
183542014-09-12 Pedro Alves <palves@redhat.com>
18355
18356 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18357 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18358 * gdb.arch/i386-size-overlap.exp: Likewise.
18359 * gdb.arch/i386-size.exp: Likewise.
18360 * gdb.arch/i386-unwind.exp: Likewise.
18361 * gdb.base/a2-run.exp: Likewise.
18362 * gdb.base/break.exp: Likewise.
18363 * gdb.base/charset.exp: Likewise.
18364 * gdb.base/chng-syms.exp: Likewise.
18365 * gdb.base/commands.exp: Likewise.
18366 * gdb.base/dbx.exp: Likewise.
18367 * gdb.base/find.exp: Likewise.
18368 * gdb.base/funcargs.exp: Likewise.
18369 * gdb.base/jit-simple.exp: Likewise.
18370 * gdb.base/reread.exp: Likewise.
18371 * gdb.base/sepdebug.exp: Likewise.
18372 * gdb.base/step-bt.exp: Likewise.
18373 * gdb.cp/mb-inline.exp: Likewise.
18374 * gdb.cp/mb-templates.exp: Likewise.
18375 * gdb.objc/basicclass.exp: Likewise.
18376 * gdb.threads/killed.exp: Likewise.
18377
9d9bf2df
EBM
183782014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18379
18380 PR tdep/17379
18381 * gdb.arch/powerpc-stackless.S: New file.
18382 * gdb.arch/powerpc-stackless.exp: New file.
18383
1cf2f1b0
JK
183842014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18385
18386 * gdb.base/attach.c: Include unistd.h.
18387 (main): Call alarm. Add label postloop.
18388 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18389 gdb_breakpoint, gdb_continue_to_breakpoint.
18390 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18391
98880d46
PA
183922014-09-11 Pedro Alves <palves@redhat.com>
18393
18394 PR gdb/17347
18395 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18396 * gdb.base/attach.exp (test_command_line_attach_run): New
18397 procedure.
18398 (top level): Call it.
18399
4c92ff2c
PA
184002014-09-11 Pedro Alves <palves@redhat.com>
18401
18402 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18403 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18404 (do_command_attach_tests): Use spawn_wait_for_attach.
18405 * gdb.base/solib-overlap.exp: Likewise.
18406 * gdb.multi/multi-attach.exp: Likewise.
18407 * gdb.python/py-prompt.exp: Likewise.
18408 * gdb.python/py-sync-interp.exp: Likewise.
18409 * gdb.server/ext-attach.exp: Likewise.
18410
3adc1a7d
GKB
184112014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18412
18413 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18414 command in testcase. Simplify testcase.
18415
96334934
JB
184162014-09-10 Joel Brobecker <brobecker@adacore.com>
18417
18418 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18419
eb479039
JB
184202014-09-10 Joel Brobecker <brobecker@adacore.com>
18421
18422 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18423
deede10c
JB
184242014-09-10 Joel Brobecker <brobecker@adacore.com>
18425
18426 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18427
7828a5f5
JB
184282014-09-10 Joel Brobecker <brobecker@adacore.com>
18429
18430 * gdb.dwarf2/dynarr-ptr.c: New file.
18431 * gdb.dwarf2/dynarr-ptr.exp: New file.
18432
33aeebcf
MR
184332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18434
18435 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18436 of 30 rather than hardcoding 120 for a slow test case. Take the
18437 `gdb,timeout' target setting into account for this calculation.
18438 Don't extend the timeout for the test cases that don't need it.
18439
7b415901
MR
184402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18441
18442 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18443 a factor of 2 for a slow test case. Take the `gdb,timeout'
18444 target setting into account for this calculation.
18445 * gdb.reverse/until-precsave.exp: Increase the timeout by
18446 a factor of 15 and 3 respectively rather than adding 120
18447 for a pair of slow test cases. Take the `gdb,timeout'
18448 target setting into account for this calculation.
18449
4a40f85a
MR
184502014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18451
18452 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18453 timeout, don't pass one down to gdb_expect.
18454 (gdb_expect): Rework timeout selection.
18455
09635af7
MR
184562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18457
18458 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18459 exception on timeout.
18460 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18461 (gdbserver_start_extended): Catch any `gdbserver_start' error
18462 exceptions.
18463 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18464 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18465 `gdbserver_gdb_load' error exceptions.
18466
2bdd10b7
MR
184672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18468
18469 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18470 120 on waiting for the TCP socket to open.
18471
316935f0
DE
184722014-09-09 Doug Evans <xdje42@gmail.com>
18473
18474 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18475 _caller_matches, _any_caller_is, _any_caller_matches.
18476
83740597
DE
184772014-09-09 Doug Evans <xdje42@gmail.com>
18478
18479 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18480
4c122fc3
YQ
184812014-09-09 Yao Qi <yao@codesourcery.com>
18482
18483 * gdb.mi/mi-var-display.exp: Set print symbol off.
18484
a9f116cb
GKB
184852014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18486
18487 PR gdb/17035
18488 * gdb.base/commands.exp: Add tests to verify user-defined
18489 commands with empty bodies.
18490 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18491 python commands in `show user command`.
18492 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18493 scheme commands in `show user command`.
18494
c75bd3a2
JK
184952014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18496
18497 PR python/17355
18498 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18499 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18500 * gdb.python/py-framefilter-invalidarg.exp: New file.
18501 * gdb.python/py-framefilter-invalidarg.py: New file.
18502
faa42425
DE
185032014-09-06 Doug Evans <xdje42@gmail.com>
18504
18505 PR 15276
18506 * gdb.python/py-caller-is.c: New file.
18507 * gdb.python/py-caller-is.exp: New file.
18508
474ca4f6
SDJ
185092014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18510
18511 PR gdb/17235
18512 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18513 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18514
eb0b0463
SDJ
185152014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18516
18517 PR fortran/17237
18518 * gdb.fortran/print-formatted.exp: New file.
18519 * gdb.fortran/print-formatted.f90: Likewise.
18520
5f3b99cf
SS
185212014-09-03 Sasha Smundak <asmundak@google.com>
18522
18523 * gdb.python/py-frame.exp: Test Frame.read_register.
18524
7d793aa9
SDJ
185252014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18526
18527 PR python/16699
18528 * gdb.python/py-completion.exp: New file.
18529 * gdb.python/py-completion.py: Likewise.
18530
fb0576e9
DE
185312014-08-28 Doug Evans <dje@google.com>
18532
18533 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18534 eax,etc. are live with values set by gdb and thus the compiler can't
18535 use them.
18536 * gdb.arch/i386-pseudo.c (main): Ditto.
18537
ee92b0dd
DE
185382014-08-27 Doug Evans <dje@google.com>
18539
18540 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18541
6649db35
DE
185422014-08-25 Doug Evans <dje@google.com>
18543
18544 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18545 (main): Ditto.
18546
564b7600
DE
185472014-08-25 Doug Evans <dje@google.com>
18548
18549 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18550
3881fb67
YQ
185512014-08-24 Yao Qi <yao@codesourcery.com>
18552
18553 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18554 symbol off.
18555 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18556
a05a36a5
DE
185572014-08-22 Doug Evans <dje@google.com>
18558
18559 PR 17276
18560 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18561 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18562 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18563
7c343b48
YQ
185642014-08-22 Yao Qi <yao@codesourcery.com>
18565
18566 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18567 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18568 * gdb.python/python.exp: Likewise. Use .py file on the host
18569 instead of the build.
18570
22fd09ae
JK
185712014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18572
18573 * gdb.threads/gcore-stale-thread.c: New file.
18574 * gdb.threads/gcore-stale-thread.exp: New file.
18575
a8454a7c
PA
185762014-08-21 Pedro Alves <palves@redhat.com>
18577
18578 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18579 * gdb.base/gcore-relro-pie.exp: Likewise.
18580 * gdb.base/gcore-relro.exp: Likewise.
18581 * gdb.base/gcore.exp: Likewise.
18582 * gdb.base/print-symbol-loading.exp: Likewise.
18583 * gdb.threads/gcore-thread.exp: Likewise.
18584 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18585
2a31c623
PA
185862014-08-20 Pedro Alves <palves@redhat.com>
18587 Jan Kratochvil <jan.kratochvil@redhat.com>
18588
18589 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18590 configure.
18591 (EXPECT): Handle READ1 being set.
18592 (all): Depend on EXTRA_RULES.
18593 (check-read1, expect-read1, read1.so, read1): New rules.
18594 * README (Testsuite Parameters): Document the READ1 make variable.
18595 (Race detection): New section.
18596 * configure: Regenerate.
18597 * configure.ac: If build==host==target, and running under a
18598 GNU/glibc system, add read1 to the extra Makefile rules.
18599 (EXTRA_RULES): AC_SUBST it.
18600 * lib/read1.c: New file.
18601
d36430db
JB
186022014-08-20 Joel Brobecker <brobecker@adacore.com>
18603
18604 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18605 the handling of variables declared as a typedef to an array
18606 which a DW_AT_data_location attribute.
18607
9a0dc9e3
PA
186082014-08-19 Andrew Burgess <aburgess@broadcom.com>
18609 Pedro Alves <palves@redhat.com>
18610
18611 PR symtab/14604
18612 PR symtab/14605
18613 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18614 gdb_test.
18615
0718a8da
PA
186162014-08-19 Pedro Alves <palves@redhat.com>
18617
18618 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18619
13b448cd
YQ
186202014-08-19 Yao Qi <yao@codesourcery.com>
18621
18622 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18623 right line.
18624
1cbf5077
DB
186252014-08-18 David Blaikie <dblaikie@gmail.com>
18626
18627 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18628
bf0fae19
JB
186292014-08-18 Joel Brobecker <brobecker@adacore.com>
18630
18631 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18632 attribute in array range.
18633
3c8c5dcc
JB
186342014-08-18 Joel Brobecker <brobecker@adacore.com>
18635
18636 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18637
e66d4446
SC
186382014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18639
18640 PR c++/17132
18641 * gdb.cp/pr17132.cc: New file.
18642 * gdb.cp/pr17132.exp: New file.
18643
940df408
SC
186442014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18645
18646 * gdb.python/py-xmethods.py (A_getarrayind)
18647 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18648 Use 'print' with function call syntax.
18649 (E_method_matcher.match): Fix tab vs space indentation mixup.
18650
ebcc6c3a
YQ
186512014-08-15 Yao Qi <yao@codesourcery.com>
18652
18653 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18654 false.
18655
775e0f04
YQ
186562014-08-15 Yao Qi <yao@codesourcery.com>
18657
18658 * gdb.cp/casts.exp: Set print symbol off.
18659 * gdb.cp/class2.exp: Likewise.
18660 * gdb.cp/overload.exp: Likewise.
18661 * gdb.cp/templates.exp: Likewise.
18662
d769e349
DE
186632014-08-11 Doug Evans <dje@google.com>
18664
18665 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18666 (test_load_shlib): Update.
18667
20c6f1e1
YQ
186682014-08-09 Yao Qi <yao@codesourcery.com>
18669
18670 * gdb.base/display.exp: Invoke is_address_zero_readable.
18671 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18672 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18673 * gdb.base/hbreak-unmapped.exp: Return if
18674 is_address_zero_readable returns true.
18675 * gdb.base/signest.exp: Likewise.
18676 * gdb.base/signull.exp: Likewise.
18677 * gdb.base/sigbpt.exp: Likewise.
18678 * gdb.guile/scm-disasm.exp: Do the test if
18679 is_address_zero_readable returns false.
18680 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18681 * gdb.python/py-arch.exp: Likewise.
18682 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18683 * lib/gdb.exp (is_address_zero_readable): New proc.
18684
5792e8e3
YQ
186852014-08-09 Yao Qi <yao@codesourcery.com>
18686
18687 PR testsuite/13443
18688 * gdb.mi/mi-var-display.exp: Make test messages unique.
18689
3cecbbbe
TT
186902014-08-04 Tom Tromey <tromey@redhat.com>
18691
18692 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18693 target 0".
18694
00b51ff5
TT
186952014-08-04 Tom Tromey <tromey@redhat.com>
18696
18697 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18698 "target_resume".
18699
6908c509
JB
187002014-08-01 Joel Brobecker <brobecker@adacore.com>
18701
18702 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18703 inner_vla_struct_object_size.
18704 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18705 as xfail.
18706
cc6563d2
PA
187072014-07-30 Pedro Alves <palves@redhat.com>
18708
18709 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18710 comment.
18711
7e09a223
YQ
187122014-07-29 Yao Qi <yao@codesourcery.com>
18713
18714 PR gdb/17206
18715 * gdb.base/until-nodebug.exp: New.
18716
7ebdbe92
DE
187172014-07-28 Doug Evans <xdje42@gmail.com>
18718
18719 PR guile/17203
18720 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18721 previously existing parameter, and previously ambiguously spelled
18722 parameter.
18723
fdb1adc6
WN
187242014-07-28 Will Newton <will.newton@linaro.org>
18725
18726 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18727
186fcde0
DE
187282014-07-26 Ludovic Courtès <ludo@gnu.org>
18729 Doug Evans <xdje42@gmail.com>
18730
18731 PR guile/17146
18732 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18733
70509625
PA
187342014-07-25 Pedro Alves <palves@redhat.com>
18735
18736 * gdb.threads/signal-command-handle-nopass.c: New file.
18737 * gdb.threads/signal-command-handle-nopass.exp: New file.
18738 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18739 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18740 * gdb.threads/signal-delivered-right-thread.c: New file.
18741 * gdb.threads/signal-delivered-right-thread.exp: New file.
18742
c3f814a1
PA
187432014-07-25 Pedro Alves <palves@redhat.com>
18744
18745 * gdb.base/double-prompt-target-event-error.exp
18746 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18747 match.
18748 (cancel_pagination_in_target_event): Rework double prompt
18749 detection.
18750 * gdb.base/paginate-after-ctrl-c-running.exp
18751 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18752 <return>' match.
18753 * gdb.base/paginate-bg-execution.exp
18754 (test_bg_execution_pagination_return)
18755 (test_bg_execution_pagination_cancel): Remove '-notransfer
18756 <return>' matches.
18757 * gdb.base/paginate-execution-startup.exp
18758 (test_fg_execution_pagination_return)
18759 (test_fg_execution_pagination_cancel): Remove '-notransfer
18760 <return>' matches.
18761 * gdb.base/paginate-inferior-exit.exp
18762 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18763 match.
18764 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18765 * lib/gdb.exp (pagination_prompt): Run text through
18766 string_to_regexp.
18767 (gdb_test_multiple): Match $pagination_prompt instead of
18768 "<return>".
18769 (string_to_regexp): Move to lib/gdb-utils.exp.
18770
e214cf6c
JK
187712014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18772
18773 * gdb.arch/amd64-entry-value-paramref.S: New file.
18774 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18775 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18776 * gdb.arch/amd64-optimout-repeat.S: New file.
18777 * gdb.arch/amd64-optimout-repeat.c: New file.
18778 * gdb.arch/amd64-optimout-repeat.exp: New file.
18779
17d0c5c8
JK
187802014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18781
18782 PR gdb/17170
18783 * gdb.base/statistics.exp: New file.
18784
b8b8facf
DE
187852014-07-17 Doug Evans <dje@google.com>
18786
74b49205 18787 PR gdb/17170
b8b8facf
DE
18788 * gdb.base/maint.exp: Update testing of per-command stats.
18789
1b5d0ab3
PA
187902014-07-16 Pedro Alves <palves@redhat.com>
18791
18792 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18793 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18794 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18795 (tfile_write_buf): New functions.
18796 (add_memory_block): Rewrite using the above.
18797 (adjust_function_address): New function.
18798 (FUNCTION_ADDRESS): New macro.
18799 (write_basic_trace_file): Remove short_x local, and use
18800 tfile_write_16. Change type of func_addr local to unsigned long
18801 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18802 here. Cast argument of add_memory_block to char pointer.
18803 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18804 (main): Remove parameters.
18805 * gdb.trace/tfile.exp: Remove nowarnings.
18806
4d974e88
SM
188072014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18808
18809 * gdb.base/debug-expr.exp: Test string evaluation with
18810 "debug expression" on.
18811
41e99568
PA
188122014-07-15 Pedro Alves <palves@redhat.com>
18813
18814 * gdb.base/reread.exp: Use clean_restart.
18815
487d9753
PL
188162014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18817
18818 * gdb.arch/avr-flash-qualifer.c: New.
18819 * gdb.arch/avr-flash-qualifer.exp: New.
18820
cc1c52ad
PA
188212014-07-14 Pedro Alves <palves@redhat.com>
18822
18823 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18824 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18825
1e973570
PA
188262014-07-14 Pedro Alves <palves@redhat.com>
18827
18828 * gdb.base/double-prompt-target-event-error.c: New file.
18829 * gdb.base/double-prompt-target-event-error.exp: New file.
18830
93d6eb10
PA
188312014-07-14 Pedro Alves <palves@redhat.com>
18832
18833 PR gdb/17072
18834 * gdb.base/paginate-inferior-exit.c: New file.
18835 * gdb.base/paginate-inferior-exit.exp: New file.
18836
0017922d
PA
188372014-07-14 Pedro Alves <palves@redhat.com>
18838
18839 PR gdb/17072
18840 * gdb.base/paginate-bg-execution.c: New file.
18841 * gdb.base/paginate-bg-execution.exp: New file.
18842
94696ad3
PA
188432014-07-14 Pedro Alves <palves@redhat.com>
18844
18845 PR gdb/17072
18846 * gdb.base/paginate-execution-startup.c: New file.
18847 * gdb.base/paginate-execution-startup.exp: New file.
18848 * lib/gdb.exp (pagination_prompt): New global.
18849 (default_gdb_spawn): New procedure, factored out from
18850 default_gdb_spawn.
18851 (default_gdb_start): Adjust to call default_gdb_spawn.
18852 (gdb_spawn): New procedure.
18853
bd293940
PA
188542014-07-14 Pedro Alves <palves@redhat.com>
18855
18856 * lib/gdb.exp (gdb_assert): New procedure.
18857 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18858
c933f875
PA
188592014-07-14 Pedro Alves <palves@redhat.com>
18860
18861 * gdb.base/execution-termios.c: New file.
18862 * gdb.base/execution-termios.exp: New file.
18863
d98b7a16
TT
188642014-07-14 Tom Tromey <tromey@redhat.com>
18865
18866 * gdb.cp/vla-cxx.cc: New file.
18867 * gdb.cp/vla-cxx.exp: New file.
18868
548740d6
TT
188692014-07-14 Tom Tromey <tromey@redhat.com>
18870
18871 * gdb.reverse/rerun-prec.c: New file.
18872 * gdb.reverse/rerun-prec.exp: New file.
18873
a25eb028
MR
188742014-07-12 Maciej W. Rozycki <macro@mips.com>
18875 Maciej W. Rozycki <macro@codesourcery.com>
18876
18877 * lib/gdb-utils.exp: New file.
18878 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18879 inline `gdb_init_command' processing.
18880 (gdb_start_cmd): Likewise.
18881 * lib/mi-support.exp (mi_run_cmd): Likewise.
18882 * README: Document `gdb_init_command' and `gdb_init_commands'.
18883
218c2655
JK
188842014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18885
18886 Fix false FAIL running under a very long directory name.
18887 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18888 and "set print elements 10000". Twice.
18889
5401fde3
YQ
188902014-07-11 Yao Qi <yao@codesourcery.com>
18891
18892 * gdb.base/exprs.exp: "set print symbol off".
18893
e76126e8
PA
188942014-07-11 Pedro Alves <palves@redhat.com>
18895
18896 * gdb.threads/kill.c: New file.
18897 * gdb.threads/kill.exp: New file.
18898
2d6f0de6
YQ
188992014-07-10 Yao Qi <yao@codesourcery.com>
18900
18901 * gdb.trace/tfile.c (write_basic_trace_file)
18902 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18903 address written to trace file.
18904
7180e04a
PA
189052014-07-09 Pedro Alves <palves@redhat.com>
18906
18907 * gdb.base/attach-wait-input.exp: New file.
18908 * gdb.base/attach-wait-input.c: New file.
18909
9a9a7608
AB
189102014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18911
18912 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18913 setting up test structures.
18914 (main): Call new test function.
18915 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18916 test function, continue into test function and walk test
18917 structures.
18918
161ac41e
YQ
189192014-07-02 Yao Qi <yao@codesourcery.com>
18920
18921 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18922 'bar_start' at the beginning of functions 'foo' and 'bar'
18923 respectively.
18924 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18925 instead of 'foo' and 'bar'.
18926
1f267ae3
MM
189272014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18928
18929 * gdb.btrace/segv.exp: New.
18930 * gdb.btrace/segv.c: New.
18931
2b239efb
LM
189322014-07-02 Luis Machado <lgustavo@codesourcery.com>
18933
18934 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18935 instruction.
18936
cf363f18
MW
189372014-06-30 Mark Wielaard <mjw@redhat.com>
18938
18939 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18940 vulture, vilify, villar): New volatile array constants.
18941 (vindictive, vegetation): New const volatile array constants.
18942 * gdb.base/volatile.exp: Test volatile and const volatile array
18943 types.
18944
aebf9d24
AA
189452014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18946
18947 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18948 target lacks support for awatch, rwatch, or hbreak.
18949
b67a2c6f
YQ
189502014-06-27 Yao Qi <yao@codesourcery.com>
18951
18952 * gdb.multi/dummy-frame-restore.exp: New.
18953 * gdb.multi/dummy-frame-restore.c: New.
18954
aef92902
MM
189552014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18956
18957 * gdb.btrace/gcore.exp: New.
18958
8e9db26e
PA
189592014-06-23 Pedro Alves <palves@redhat.com>
18960
18961 * gdb.base/watchpoint-reuse-slot.c: New file.
18962 * gdb.base/watchpoint-reuse-slot.exp: New file.
18963
70afc5b7
SC
189642014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18965
18966 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18967 progspace's filename in 'info', 'enable' and 'disable' command
18968 tests.
18969
b972bd9c
JK
189702014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18971
18972 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18973 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18974 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18975
125f8a3d
GB
189762014-06-20 Gary Benson <gbenson@redhat.com>
18977
18978 * gdb.arch/i386-avx.exp: Fix include file location.
18979 * gdb.arch/i386-sse.exp: Likewise.
18980
3ed9baed
IB
189812014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18982
18983 * gdb.dlang/expression.exp: New file.
18984
034f788c
PA
189852014-06-19 Pedro Alves <palves@redhat.com>
18986
18987 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18988 out from ...
18989 (top level): ... here. Iterate running tests under different
18990 scheduler-locking settings.
18991
45371d0c
LM
189922014-06-18 Luis Machado <lgustavo@codesourcery.com>
18993
18994 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18995 to DW_FORM_addr and use non-zero addresses.
18996
5d376983
SC
189972014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18998
18999 PR gdb/17017
19000 * gdb.python/py-xmethods.cc: Add global function call counters and
19001 increment them in their respective functions. Remove "cout"
19002 statements.
19003 * gdb.python/py-xmethods.exp: Make tests check the global function
19004 call counters instead of depending on inferior IO.
19005
a1aa2221
LM
190062014-06-18 Don Breazeal <donb@codesourcery.com>
19007
19008 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19009 Deleted procedure.
19010 (explicit_fork_parent_follow): Deleted procedure.
19011 (explicit_fork_child_follow): Deleted procedure.
19012 (test_follow_fork): New procedure.
19013 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19014 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19015 procedure calls.
19016
0fc05997
YQ
190172014-06-17 Yao Qi <yao@codesourcery.com>
19018
19019 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19020 CP1252.
19021
70795c52
LM
190222014-06-17 Luis Machado <lgustavo@codesourcery.com>
19023
19024 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19025 Initialize ptr and S explicitly.
19026 (skip_type_update_when_not_use_rtti_test): Likewise.
19027
6be47f0c
KS
190282014-06-16 Keith Seitz <keiths@redhat.com>
19029
19030 PR mi/15863
19031 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19032 the inferior is started.
19033
d03de421
PA
190342014-06-16 Pedro Alves <palves@redhat.com>
19035
19036 * gdb.base/break-main-file-remove-fail.c: New file.
19037 * gdb.base/break-main-file-remove-fail.exp: New file.
19038 * gdb.base/break-unload-file.exp: Use build_executable instead of
19039 prepare_for_testing.
19040 (test_break): New parameter "initial_load". Handle it.
19041 (top level): Add initial_load cmdline/file axis.
19042
f9579b99
TT
190432014-06-12 Tom Tromey <tromey@redhat.com>
19044
19045 * gdb.base/completion.exp: Don't use directory name in test.
19046
3657956b
GB
190472014-06-09 Gary Benson <gbenson@redhat.com>
19048
19049 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19050 separate the always-available ANSI-standard signals from the
19051 signals that require checking.
19052 (main): Likewise.
19053 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19054 Likewise.
19055 (main): Likewise.
19056
4186eb54
KS
190572014-06-07 Keith Seitz <keiths@redhat.com>
19058
19059 Revert:
19060 PR c++/16253
19061 * gdb.cp/var-tag.cc: New file.
19062 * gdb.cp/var-tag.exp: New file.
19063 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19064 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19065 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19066 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19067
25326a28 190682014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19069
19070 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19071
829155c9
PA
190722014-06-06 Pedro Alves <palves@redhat.com>
19073
19074 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19075 in target debug output instead of looking at RSP packets,
19076 disabling the test on any target that uses hardware stepping.
19077 Update comments.
19078
61c8d22e
PA
190792014-06-06 Pedro Alves <palves@redhat.com>
19080
19081 * gdb.base/break-unload-file.exp: Fix typo.
19082
d9a47287
YQ
190832014-06-06 Yao Qi <yao@codesourcery.com>
19084
19085 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19086 from "jit_function" to "^jit_function".
19087
e5e01dbf
YQ
190882014-06-06 Yao Qi <yao@codesourcery.com>
19089
19090 * gdb.base/async.c (foo): Add one statement.
19091 * gdb.base/async.exp: Get the next instruction address and
19092 match the output of "nexti" by instruction address. Match
19093 the hex address in the output of "finish".
19094
73ba372c
GB
190952014-06-06 Gary Benson <gbenson@redhat.com>
19096
19097 * gdb.base/call-signals.c: Remove preprocessor conditionals
19098 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19099 SIGSEGV and SIGTERM.
19100 * gdb.base/sigall.c: Likewise.
19101 * gdb.base/unwindonsignal.c: Likewise.
19102 * gdb.reverse/sigall-reverse.c: Likewise.
19103
831517df
YQ
191042014-06-06 Yao Qi <yao@codesourcery.com>
19105
19106 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19107 readable, skip the test.
19108
b8b91e98
YQ
191092014-06-06 Yao Qi <yao@codesourcery.com>
19110
19111 * gdb.threads/staticthreads.c (thread_function): Move the line
19112 setting breakpoint on forward.
19113 * gdb.threads/staticthreads.exp: Update comments.
19114
fb934770
LC
191152014-06-05 Ludovic Courtès <ludo@gnu.org>
19116
19117 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19118 "history-append! type error".
19119
6ef284bd
SM
191202014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19121
19122 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19123 erroneous dprintf expected input.
19124
a872e241
DE
191252014-06-04 Doug Evans <xdje42@gmail.com>
19126
19127 * gdb.guile/scm-generics.exp: Delete.
19128
16f691fb
DE
191292014-06-04 Doug Evans <xdje42@gmail.com>
19130
19131 * gdb.guile/scm-breakpoint.exp: Update.
19132 Add tests for breakpoint registration.
19133
012370f6
TT
191342014-06-04 Tom Tromey <tromey@redhat.com>
19135
19136 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19137 VLA-in-union.
19138 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19139 inner_vla_struct, vla_union types. Initialize objects of those
19140 types and compute their sizes.
19141
9f5a4cef
HZ
191422014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19143 Hui Zhu <hui@codesourcery.com>
19144
19145 * gdb.base/fileio.exp: Add test for shell not available as well as
19146 available.
19147 * gdb.base/fileio.c (test_system): Check for shell twice.
19148
90a45c4d
YQ
191492014-06-04 Yao Qi <yao@codesourcery.com>
19150
19151 * gdb.base/auto-connect-native-target.exp: Remove redundant
19152 space from the regexp pattern.
19153
70017e41
YQ
191542014-06-04 Yao Qi <yao@codesourcery.com>
19155
19156 * gdb.base/default.exp: Replace "child" with "native" in
19157 regexp pattern.
19158
883964a7
SC
191592014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19160
19161 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19162 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19163 * gdb.python/py-xmethods.py: Python script supporting the
19164 new testcase and tests.
19165
ef370185
JB
191662014-06-03 Joel Brobecker <brobecker@adacore.com>
19167 Pedro Alves <palves@redhat.com>
19168
19169 PR breakpoints/17000
19170 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19171 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19172
1e2ccb61
BM
191732014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19174
19175 * gdb.base/subst.exp: Add tests to verify partial path matching
19176 output.
19177
c6ec5ab2
PA
191782014-06-03 Pedro Alves <palves@redhat.com>
19179
19180 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19181 target that doesn't use software single-stepping.
19182
835c559f
PA
191832014-06-03 Pedro Alves <palves@redhat.com>
19184
19185 PR breakpoints/17000
19186 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19187 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19188
06eb1586
DE
191892014-06-02 Doug Evans <xdje42@gmail.com>
19190
19191 * gdb.guile/scm-parameter.exp: New file.
19192
e698b8c4
DE
191932014-06-02 Doug Evans <xdje42@gmail.com>
19194
19195 * gdb.guile/scm-cmd.c: New file.
19196 * gdb.guile/scm-cmd.exp: New file.
19197
ded03782
DE
191982014-06-02 Doug Evans <xdje42@gmail.com>
19199
19200 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19201 pretty-printer lookup.
19202 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19203 (make-pp_s-printer): Call it.
19204 (make-pretty-printer-from-dict): New function.
19205 (lookup-pretty-printer-maker-from-dict): New function.
19206 (*pretty-printer*): Simplify.
19207 (make-objfile-pp_s-printer): New function.
19208 (install-objfile-pretty-printers!): New function.
19209 (make-progspace-pp_s-printer): New function.
19210 (install-progspace-pretty-printers!): New function.
19211 * gdb.guile/scm-progspace.c: New file.
19212 * gdb.guile/scm-progspace.exp: New file.
19213
41fac0cf
PA
192142014-06-02 Pedro Alves <palves@redhat.com>
19215
19216 * gdb.base/dprintf-bp-same-addr.c: New file.
19217 * gdb.base/dprintf-bp-same-addr.exp: New file.
19218
96ae5695
EBM
192192014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19220
19221 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19222 * gdb.arch/powerpc-power.s: Likewise.
19223
da02b3a8
JB
192242014-06-02 Joel Brobecker <brobecker@adacore.com>
19225
19226 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19227
c72b2e7b
YQ
192282014-06-01 Yao Qi <yao@codesourcery.com>
19229
19230 * gdb.base/watchpoint.exp (test_watch_location): Check null
19231 pointer can be dereferenced. If not, do the test, otherwise
19232 skip it.
19233
53e8a631
AB
192342014-05-30 Andrew Burgess <aburgess@broadcom.com>
19235
19236 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19237 results.
19238 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19239
938f0e2f
AB
192402014-05-30 Andrew Burgess <aburgess@broadcom.com>
19241
19242 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19243 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19244 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19245 * gdb.arch/amd64-invalid-stack-top.c: New file.
19246 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19247
9ba6657a
PA
192482014-05-30 Pedro Alves <palves@redhat.com>
19249
19250 PR breakpoints/17000
19251 * gdb.base/sss-bp-on-user-bp.c: New file.
19252 * gdb.base/sss-bp-on-user-bp.exp: New file.
19253
522c09bf
DB
192542014-05-30 David Blaikie <dblaikie@gmail.com>
19255
19256 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19257 gnu_inline semantics via attribute.
19258 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19259 source explicitly specifies the required semantics.
19260
bf4ef81e
MR
192612014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19262
19263 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19264
329ea579
PA
192652014-05-29 Pedro Alves <palves@redhat.com>
19266 Tom Tromey <tromey@redhat.com>
19267
19268 * gdb.base/async-shell.exp: Don't enable target-async.
19269 * gdb.base/async.exp
19270 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19271 parameter. Adjust.
19272 (top level): Don't test with "target-async".
19273 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19274 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19275 * gdb.base/inferior-died.exp: Don't enable target-async.
19276 * gdb.base/interrupt-noterm.exp: Likewise.
19277 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19278 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19279 * gdb.mi/mi-nonstop.exp: Likewise.
19280 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19281 * gdb.mi/mi-nsintrall.exp: Likewise.
19282 * gdb.mi/mi-nsmoribund.exp: Likewise.
19283 * gdb.mi/mi-nsthrexec.exp: Likewise.
19284 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19285 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19286 * gdb.python/py-evsignal.exp: Don't enable target-async.
19287 * gdb.python/py-evthreads.exp: Likewise.
19288 * gdb.python/py-prompt.exp: Likewise.
19289 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19290 * gdb.server/solib-list.exp: Don't enable target-async.
19291 * gdb.threads/thread-specific-bp.exp: Likewise.
19292 * lib/mi-support.exp: Adjust to use mi-async.
19293
fd664c91
PA
192942014-05-29 Pedro Alves <palves@redhat.com>
19295
19296 PR gdb/13860
19297 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19298 reason, even in sync mode.
19299
251bde03
PA
193002014-05-29 Pedro Alves <palves@redhat.com>
19301 Hui Zhu <hui@codesourcery.com>
19302
19303 PR PR15693
19304 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19305 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19306 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19307 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19308
7f3c0343
JB
193092014-05-28 Joel Brobecker <brobecker@adacore.com>
19310
19311 * config/monitor.exp (gdb_target_monitor): Replace use of
19312 "set remotebaud" by "set serial baud".
19313
b2715b27
AW
193142014-05-26 Andy Wingo <wingo@igalia.com>
19315
19316 * gdb.guile/scm-breakpoint.exp:
19317 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19318 properties instead of gdb-object-properties.
19319
498a4489
YQ
193202014-05-26 Yao Qi <yao@codesourcery.com>
19321
19322 * gdb.server/no-thread-db.exp: Specify source file name
19323 explicitly when setting a breakpoint.
19324
589fdceb
MM
193252014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19326
19327 * gdb.btrace/vdso.c: New.
19328 * gdb.btrace/vdso.exp: New.
19329
e9089e05
MM
193302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19331
19332 * gdb.base/gcore.exp (capture_command_output): Move ...
19333 * lib/gdb.exp (capture_command_output): ... here.
19334
67b5c0c1
MM
193352014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19336
19337 * gdb.btrace/data.exp: Test memory access during btrace replay.
19338
a2199296
SM
193392014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19340
19341 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19342
17b2616c
PA
193432014-05-21 Pedro Alves <palves@redhat.com>
19344
19345 PR gdb/13860
19346 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19347 (top level): Test that output related to execution commands is
19348 sent to the console with CLI commands, but not with MI commands.
19349 Test that breakpoint events are always mirrored to the console.
19350 Also expect the new source line to be output after a "next" in
19351 async mode too. Make it a pass/fail test.
19352 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19353 output.
19354 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19355
5166082f
PA
193562014-05-21 Pedro Alves <palves@redhat.com>
19357
19358 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19359 Use them to test variations of "list" after reaching a breakpoint.
19360 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19361 Test "list" with listsize 10 after reaching a breakpoint.
19362 * gdb.python/python.exp (decode_line current location line
19363 number): Adjust expected line number.
19364
2f25d70f
SM
193652014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19366
19367 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19368 behavior for $args, pass it directly to "run".
19369
ff604a67
MR
193702014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19371
19372 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19373 30000 to 65536.
19374
6a3cb8e8
PA
193752014-05-21 Pedro Alves <palves@redhat.com>
19376
19377 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19378 auto-connect-native-target off".
19379 * gdb.base/auto-connect-native-target.c: New file.
19380 * gdb.base/auto-connect-native-target.exp: New file.
19381
4ebfc96e
PA
193822014-05-21 Pedro Alves <palves@redhat.com>
19383
19384 * gdb.base/default.exp: Test "target native" instead of "target
19385 child".
19386
36d46afb
MW
193872014-05-21 Mark Wielaard <mjw@redhat.com>
19388
19389 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19390
5876f503
JK
193912014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19392
19393 Fix TLS access for -static -pthread.
19394 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19395 <HAVE_TLS> (thread_function, main): Initialize it.
19396 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19397 Add clean_restart.
19398 <$have_tls != "">: Check TLSVAR.
19399
0256a6ac
PA
194002014-05-21 Pedro Alves <palves@redhat.com>
19401
19402 * gdb.base/dcache-line-read-error.c: New.
19403 * gdb.base/dcache-line-read-error.exp: New.
19404
936d2992
PA
194052014-05-20 Pedro Alves <palves@redhat.com>
19406
19407 * gdb.base/compare-sections.c: New file.
19408 * gdb.base/compare-sections.exp: New file.
19409
802e8e6d
PA
194102014-05-20 Pedro Alves <palves@redhat.com>
19411
19412 * gdb.base/break-idempotent.c: New file.
19413 * gdb.base/break-idempotent.exp: New file.
19414
e59fa00f
MM
194152014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19416
19417 * gdb.btrace/nohist.exp: New.
19418
8b696e31
YQ
194192014-05-20 Yao Qi <yao@codesourcery.com>
19420
19421 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19422 gdb.reverse directory and gdb_reverse_timeout exists in board
19423 setting.
19424 * README: Document gdb_reverse_timeout.
19425
73c9764f
YQ
194262014-05-20 Yao Qi <yao@codesourcery.com>
19427
19428 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19429 'test_file_name'. Treat args as a string instead of a list.
19430 (gdb_init): Rename argument 'args' by 'test_file_name'.
19431
f1f4348a
JK
194322014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19433
19434 * gdb.arch/powerpc-power.exp: New file.
19435 * gdb.arch/powerpc-power.s: New file.
19436
0dbe70ce
DE
194372014-05-16 Doug Evans <dje@google.com>
19438
19439 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
19440 * gdb.base/completion.exp: Check that all expected files exist
19441 before doing file completion.
0dbe70ce 19442
8d551b02
DE
194432014-05-16 Doug Evans <dje@google.com>
19444
19445 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19446 Update.
19447 (do_syscall_tests_without_xml): Update.
19448
73eb7709
PA
194492014-05-16 Pedro Alves <palves@redhat.com>
19450
19451 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19452 instead of "unknown output after running".
19453
3fae92fc
YQ
194542014-05-16 Yao Qi <yao@codesourcery.com>
19455
19456 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19457 file1.txt from host at the end.
19458 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19459
c2b2ccc5
DE
194602014-05-15 Doug Evans <dje@google.com>
19461
19462 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19463 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19464 loading file. Add test for TU lookup.
19465
8c217a4b
SM
194662014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19467
19468 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19469 calling "-exec-arguments" or "set args" before running the
19470 inferior.
19471
3deb39c6
SM
194722014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19473
19474 * lib/mi-support.exp (mi_expect_stop): Expect message for
19475 inferiors that exit with non-zero exit code.
19476
71a79f8c
YQ
194772014-05-14 Yao Qi <yao@codesourcery.com>
19478
19479 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19480 match absolute path on remote host.
19481 (test_file_list_exec_source_files): Remove "/" from the
19482 pattern.
19483
f23fcd46
YQ
194842014-05-14 Yao Qi <yao@codesourcery.com>
19485
19486 * boards/local-remote-host-notty.exp (${board}_file): New
19487 proc.
19488
9404b58f
KM
194892014-05-07 Kyle McMartin <kyle@redhat.com>
19490
19491 Pushed by Joel Brobecker <brobecker@adacore.com>.
19492 * gdb.arch/aarch64-atomic-inst.c: New file.
19493 * gdb.arch/aarch64-atomic-inst.exp: New file.
19494
5e45f04c
YQ
194952014-05-07 Yao Qi <yao@codesourcery.com>
19496
19497 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19498 in current context" too.
19499
c888a17d
KS
195002014-05-05 Keith Seitz <keiths@redhat.com>
19501
19502 * gdb.linespec/ls-dollar.exp: Add test for linespec
19503 file:convenience_variable.
19504
290a839c
YQ
195052014-05-05 Yao Qi <yao@codesourcery.com>
19506
19507 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19508 traceframes into tfile and ctf trace files. Read data from
19509 trace file and test collected data.
19510 (gdb_collect_locals_test): Likewise.
19511 (gdb_unavailable_registers_test): Likewise.
19512 (gdb_unavailable_floats): Likewise.
19513 (gdb_collect_globals_test): Likewise.
19514 (top-level): Append "ctf" to trace_file_targets if GDB
19515 supports.
19516
b5262cd0
YQ
195172014-05-05 Yao Qi <yao@codesourcery.com>
19518
19519 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19520 code to ...
19521 (gdb_collect_args_test_1): ... it. New proc.
19522 (gdb_collect_locals_test): Move some code to ...
19523 (gdb_collect_locals_test_1): ... it. New proc.
19524 (gdb_unavailable_registers_test): Move some code to ...
19525 (gdb_unavailable_registers_test_1): ... it. New proc.
19526 (gdb_unavailable_floats): Move some code to ...
19527 (gdb_unavailable_floats_1): ... it. New proc.
19528
30a1e6cc
SDJ
195292014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19530
19531 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19532 probes to test for bitness recognition.
19533 * gdb.arch/amd64-stap-optional-prefix.exp
19534 (test_probe_value_without_reg): New procedure.
19535 Add code to test for different kinds of bitness.
19536
f33da99a
SDJ
195372014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19538
19539 PR breakpoints/16889
19540 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19541 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19542
5b80f00d
PA
195432014-05-01 Pedro Alves <palves@redhat.com>
19544
19545 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19546 gdb_file_cmd if no file is specified.
19547 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19548 last_loaded_file to set the remote exec-file.
19549
f8c2a73c
PA
195502014-05-01 Pedro Alves <palves@redhat.com>
19551
19552 * boards/local-remote-host.exp: New file.
19553
be6e8ac7
PA
195542014-05-01 Pedro Alves <palves@redhat.com>
19555
19556 * boards/local-remote-host.exp: Rename to ...
19557 * boards/local-remote-host-notty.exp: ... this.
19558
cac0dc8f
JB
195592014-04-28 Joel Brobecker <brobecker@adacore.com>
19560
19561 * gdb.ada/dyn_arrayidx: New testcase.
19562
9730e6cc
YQ
195632014-04-26 Yao Qi <yao@codesourcery.com>
19564
19565 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19566 and compute the length of function main. Save it in
19567 $main_length.
19568 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19569 (top-level): Use gdb_compile to compile objects into
19570 executable and restart GDB. Remove invocation to
19571 prepare_for_testing.
19572
7ae1a6a6
PA
195732014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19574 Pedro Alves <palves@redhat.com>
19575
19576 PR server/16255
19577 * gdb.multi/multi-attach.c: New file.
19578 * gdb.multi/multi-attach.exp: New file.
19579
4082afcc
PA
195802014-04-25 Pedro Alves <palves@redhat.com>
19581
19582 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19583 user.
19584 (top level): Test that "set remote conditional-breakpoints-packet
19585 off" works as intended.
19586 * gdb.base/dprintf.exp: Test that "set remote
19587 breakpoint-commands-packet off" works as intended.
19588 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19589 New function.
19590 (top level): Call it.
19591 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19592 remote fast-tracepoints-packet off" works as intended.
19593 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19594 * lib/gdb.exp (gdb_is_target_remote): ... here.
19595
2abc3f8d
DB
195962014-04-24 David Blaikie <dblaikie@gmail.com>
19597
19598 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19599 ensure clang would not discard them.
19600 * gdb.base/gdbvars.c: Ditto.
19601 * gdb.base/memattr.c: Ditto.
19602 * gdb.base/whatis.c: Ditto.
19603 * gdb.python/py-prettyprint.c: Ditto.
19604 * gdb.trace/actions.c: Ditto.
19605 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19606 ensure clang would not discard it.
19607
bfd39632
DB
196082014-04-24 David Blaikie <dblaikie@gmail.com>
19609
19610 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19611 clang to emit the full definition of type required by the test
19612 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19613
22842ff6
DB
196142014-04-24 David Blaikie <dblaikie@gmail.com>
19615
19616 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19617 coax Clang into emitting the definition of the type.
19618 * gdb.cp/pr10728-x.h (y): Ditto.
19619 * gdb.cp/pr10728-y.cc (y): Ditto.
19620
c2e827ad
DB
196212014-04-24 David Blaikie <dblaikie@gmail.com>
19622
19623 * gdb.base/label.exp: XFAIL label related tests under Clang.
19624 * gdb.cp/cplabel.exp: Ditto.
19625 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19626 under Clang those using labels.
19627
4c2d33e7
YQ
196282014-04-25 Yao Qi <yao@codesourcery.com>
19629
19630 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19631 double_label.
19632 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19633 partial_label and double_label.
19634
56083b99
DB
196352014-04-24 David Blaikie <dblaikie@gmail.com>
19636
19637 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19638
25d4e99d
DB
196392014-04-24 David Blaikie <dblaikie@gmail.com>
19640
19641 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19642 of the function to work across GCC and Clang.
19643 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19644 pointer types (const void ** const V void **).
19645
01f9f808
MS
196462014-04-24 Michael Sturm <michael.sturm@mintel.com>
19647 Walfred Tedeschi <walfred.tedeschi@intel.com>
19648
19649 * Makefile.in (EXECUTABLES): Added i386-avx512.
19650 * gdb.arch/i386-avx512.c: New file.
19651 * gdb.arch/i386-avx512.exp: Likewise.
19652
4b48d439
KS
196532014-04-23 Keith Seitz <keiths@redhat.com>
19654
19655 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19656 (mi_make_breakpoint_table): New procedure.
19657 (mi_create_breakpoint): Use mi_make_breakpoint
19658 and return the result.
19659 (mi_make_breakpoint): New procedure.
19660 (mi_build_kv_pairs): New procedure.
19661
19662 * gdb.mi/mi-break.exp: Remove unused globals,
19663 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19664 All callers updated.
19665 * gdb.mi/mi-dprintf.exp: Use variable to track command
19666 number.
19667 Update all callers of mi_create_breakpoint and use
19668 mi_make_breakpoint_table.
19669 Remove any unused global variables.
19670 * gdb.mi/mi-nonstop.exp: Likewise.
19671 * gdb.mi/mi-nsintrall.exp: Likewise.
19672 * gdb.mi/mi-nsmoribund.exp: Likewise.
19673 * gdb.mi/mi-nsthrexec.exp: Likewise.
19674 * gdb.mi/mi-reverse.exp: Likewise.
19675 * gdb.mi/mi-simplerun.exp: Likewise.
19676 * gdb.mi/mi-stepn.exp: Likewise.
19677 * gdb.mi/mi-syn-frame.exp: Likewise.
19678 * gdb.mi/mi-until.exp: Likewise.
19679 * gdb.mi/mi-var-cp.exp: Likewise.
19680 * gdb.mi/mi-var-display.exp: Likewise.
19681 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19682 * gdb.mi/mi2-var-child.exp: Likewise.
19683 * gdb.mi/mi-vla-c99.exp: Likewise.
19684 * lib/mi-support.exp: Likewise.
19685
19686 From Ian Lance Taylor <iant@cygnus.com>:
19687 * lib/gdb.exp (parse_args): New procedure.
19688
08351840
PA
196892014-04-23 Pedro Alves <palves@redhat.com>
19690
19691 * gdb.base/break-unload-file.c: New file.
19692 * gdb.base/break-unload-file.exp: New file.
19693 * gdb.base/sym-file-lib.c (baz): New function.
19694 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19695 field.
19696 (load): Store the segment's mapped size.
19697 (unload): New function.
19698 (unload_shlib): New function.
19699 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19700 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19701 set a breakpoint at baz, and call it.
19702 * gdb.base/sym-file.exp: New tests for stale breakpoint
19703 instructions.
19704
076855f9
PA
197052014-04-23 Pedro Alves <palves@redhat.com>
19706
19707 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19708 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19709 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19710 * gdb.base/hbreak-unmapped.c: New file.
19711 * gdb.base/hbreak-unmapped.exp: New file.
19712 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19713 * lib/gdb.exp (gdb_is_target_remote): ... here.
19714
483805cf
PA
197152014-04-22 Pedro Alves <palves@redhat.com>
19716
19717 * gdb.base/consecutive-step-over.c: New file.
19718 * gdb.base/consecutive-step-over.exp: New file.
19719
06d97543
PA
197202014-04-22 Pedro Alves <palves@redhat.com>
19721
19722 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19723 instead of send_gdb/gdb_expect.
19724
b4429ea2
YQ
197252014-04-22 Yao Qi <yao@codesourcery.com>
19726
19727 * lib/trace-support.exp (generate_tracefile): New procedure.
19728 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19729 return 0.
19730 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19731 if generate_tracefile returns 1.
19732
51d48146
PA
197332014-04-18 Tom Tromey <palves@redhat.com>
19734 Pedro alves <tromey@redhat.com>
19735
19736 PR backtrace/15558
19737 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19738 with a backtrace limit.
19739 * gdb.python/py-frame-inline.exp: Test running to an inline
19740 function with a backtrace limit, and printing the newest frame.
19741 * gdb.python/py-frame-inline.c (main): Call f.
19742
bd1dce5f
MS
197432014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19744
19745 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19746
40d1a503
MS
197472014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19748
19749 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19750 Drop prefix from unsupported source file path.
19751
389b98f7
YQ
197522014-04-17 Yao Qi <yao@codesourcery.com>
19753
19754 * lib/gdb.exp (with_target_charset): New proc.
19755 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19756 with_target_charset.
19757 (test_print_strings): Likewise.
19758 (test_repeat_bytes): Likewise.
19759 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19760 for some tests.
19761
22869d73
KS
197622014-04-16 Keith Seitz <keiths@redhat.com>
19763
19764 PR gdb/15827
19765 * gdb.dwarf2/corrupt.c: New file.
19766 * gdb.dwarf2/corrupt.exp: New file.
19767
c4f87ca6
KS
197682014-04-16 Keith Seitz <keiths@redhat.com>
19769
19770 PR c++/16597
19771 * gdb.cp/namelessclass.cc: New file.
19772 * gdb.cp/namelessclass.exp: New file.
19773 * gdb.cp/namelessclass.S: New file.
19774
ab19de87
DE
197752014-04-16 Doug Evans <dje@google.com>
19776
19777 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19778 Add comment.
19779 (gdbserver_default_get_comm_port): New function.
19780 (gdbserver_start): Check if board file provided
19781 "gdbserver,get_comm_port" and use it if so.
19782 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19783 (gdb,socketport): Set to "stdio".
19784 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19785 (stdio_gdbserver_template): Delete.
19786 (${board}_get_remote_address): Update.
19787 (${board}_build_remote_cmd): Delete.
19788 (${board}_get_comm_port): New function.
19789 (${board}_spawn): Update.
19790 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19791 Delete.
19792 (${board}_get_remote_address): Update.
19793 (${board}_get_comm_port): New function.
19794
fc98a809
AB
197952014-04-16 Andrew Burgess <aburgess@broadcom.com>
19796
19797 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19798 appearing in any order.
19799
87fd9e6e
DE
198002014-04-15 Doug Evans <dje@google.com>
19801
19802 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19803 uninitialized value of "description".
19804
099fc3ea
KS
198052014-04-15 Keith Seitz <keiths@redhat.com>
19806
19807 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19808 Remove unused globals.
19809 (test_running_the_program): Likewise.
19810 (test_controlled_execution): Likewise.
19811 (test_controlling_breakpoints): Likewise.
19812 (test_program_termination): Likewise.
19813
5da151d4
KS
198142014-04-15 Keith Seitz <keiths@redhat.com>
19815
19816 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19817 unused globals.
19818 (test_rbreak_creation_and_listing): Likewise.
19819 (test_ignore_count): Likewise.
19820 (test_error): Likewise.
19821
35e5d2f0
PA
198222014-04-15 Pedro Alves <palves@redhat.com>
19823
19824 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19825 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19826 sym-file-loader.c.
19827 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19828 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19829 to sym-file-loader.c.
19830 (struct library): Forward declare.
19831 (load_shlib, lookup_function): Change prototypes.
19832 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19833 (translate_offset): Remove declarations.
19834 (get_text_addr): New declaration.
19835 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19836 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19837 sym-file-loader.h.
19838 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19839 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19840 here from sym-file-loader.h.
19841 (struct library): New structure.
19842 (load_shlib, lookup_function): Change prototypes and adjust to
19843 work with a struct library.
19844 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19845 (translate_offset): Make static.
19846 (get_text_addr): New function.
19847 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19848
eb4c1710
PA
198492014-04-15 Pedro Alves <palves@redhat.com>
19850
19851 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19852
2d1baf52
PA
198532014-04-15 Pedro Alves <palves@redhat.com>
19854
19855 * gdb.base/sym-file-loader.c: Include <limits.h>.
19856 (SELF_LINK): New define.
19857 (get_origin): New function.
19858 (load_shlib): Use it.
19859 * gdb.base/sym-file.exp: Don't early return if the target is
19860 remote. Use runto_main, and issue fail is that fails. Use
19861 gdb_load_shlibs.
19862 (shlib_name): Delete.
19863 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19864
7dd6df01
PA
198652014-04-15 Pedro Alves <palves@redhat.com>
19866
19867 * gdb.base/sym-file.exp: Remove regex characters from test
19868 message. Don't refer to breakpoint numbers in test messages.
19869
b50c8614
KS
198702014-04-14 Keith Seitz <keiths@redhat.com>
19871
19872 PR c++/16253
19873 * gdb.cp/var-tag.cc: New file.
19874 * gdb.cp/var-tag.exp: New file.
19875 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19876 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19877 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19878 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19879
3d567982
TT
198802014-04-14 Tom Tromey <tromey@redhat.com>
19881
19882 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19883 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19884 type.
19885 * gdb.cp/enum-class.exp: New file.
19886 * gdb.cp/enum-class.cc: New file.
19887
0626fc76
TT
198882014-04-14 Tom Tromey <tromey@redhat.com>
19889
19890 * gdb.dwarf2/enum-type.exp: New file.
19891
dca325b3
SA
198922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19893
19894 * gdb.mi/mi-vla-c99.exp: New file.
19895 * gdb.mi/vla.c: New file.
19896
5854b38a
SA
198972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19898
19899 * gdb.base/vla-datatypes.c: New file.
19900 * gdb.base/vla-datatypes.exp: New file.
19901
463bb957
SA
199022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19903
19904 * gdb.base/vla-ptr.c: New file.
19905 * gdb.base/vla-ptr.exp: New file.
19906
3dd170be
SA
199072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19908
19909 * gdb.dwarf2/count.exp: New file.
19910
5ecaaa66
SA
199112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19912
19913 * gdb.base/vla-sideeffect.c: New file.
19914 * gdb.base/vla-sideeffect.exp: New file.
19915
41f1ada5
DB
199162014-04-14 David Blaikie <dblaikie@gmail.com>
19917
19918 * gdb.mi/non-stop.c: Add return value for non-void function return
19919 statement.
19920 * gdb.threads/staticthreads.c: Ditto.
19921
0be03e84
DE
199222014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19923 Doug Evans <xdje42@gmail.com>
19924
19925 * gdb.guile/scm-value.c: Improve test case.
19926 * gdb.guile/scm-value.exp: Add new test.
19927
f180a1fb
DB
199282014-04-11 David Blaikie <dblaikie@gmail.com>
19929
19930 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19931 override Clang's default.
19932
6b662e19
JB
199332014-04-11 Joel Brobecker <brobecker@adacore.com>
19934
19935 Revert the following changes (regressions):
19936
19937 * gdb.base/vla-sideeffect.c: New file.
19938 * gdb.base/vla-sideeffect.exp: New file.
19939
19940 * gdb.dwarf2/count.exp: New file.
19941
19942 * gdb.base/vla-multi.c: New file.
19943 * gdb.base/vla-multi.exp: New file.
19944
19945 * gdb.base/vla-ptr.c: New file.
19946 * gdb.base/vla-ptr.exp: New file.
19947
19948 * gdb.base/vla-datatypes.c: New file.
19949 * gdb.base/vla-datatypes.exp: New file.
19950
19951 * gdb.mi/mi-vla-c99.exp: New file.
19952 * gdb.mi/vla.c: New file.
19953
245a5f0b
KS
199542014-04-11 Keith Seitz <keiths@redhat.com>
19955
19956 PR c++/16675
19957 * gdb.cp/cpsizeof.exp: New file.
19958 * gdb.cp/cpsizeof.cc: New file.
19959
58a84dcf
SA
199602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19961
191a8a90
JB
19962 * gdb.mi/mi-vla-c99.exp: New file.
19963 * gdb.mi/vla.c: New file.
58a84dcf 19964
c8655f75
SA
199652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19966
19967 * gdb.base/vla-datatypes.c: New file.
19968 * gdb.base/vla-datatypes.exp: New file.
19969
024e13b4
SA
199702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19971
19972 * gdb.base/vla-ptr.c: New file.
19973 * gdb.base/vla-ptr.exp: New file.
19974
1a237e0e
SA
199752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19976
19977 * gdb.base/vla-multi.c: New file.
19978 * gdb.base/vla-multi.exp: New file.
19979
504f3432
SA
199802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19981
19982 * gdb.dwarf2/count.exp: New file.
19983
3bce8237
SA
199842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19985
191a8a90
JB
19986 * gdb.base/vla-sideeffect.c: New file.
19987 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 19988
322f9c21
YQ
199892014-04-11 Yao Qi <yao@codesourcery.com>
19990
19991 * gdb.base/completion.exp: Check file exists before running tests
19992 on file completion.
19993
d708bcd1
PA
199942014-04-10 Pedro Alves <palves@redhat.com>
19995
19996 * gdb.base/cond-eval-mode.c: New file.
19997 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19998 prepare_for_testing to build the new file. Check result of
19999 runto_main.
20000 (test_break, test_watch): New procedures.
20001 (top level): Use them.
20002
ae1d2761
PM
200032014-04-08 Pierre Muller <muller@sourceware.org>
20004
20005 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20006 Ctrl-V use for mingw hosts.
20007
7af389b8
SC
200082014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20009
20010 * gdb.python/py-value.c: Improve test case.
20011 * gdb.python/py-value.exp: Add new test.
20012
5e703181
DE
200132014-04-07 David Blaikie <dblaikie@gmail.com>
20014
20015 * lib/compiler.c: Identify the clang compiler.
20016 * lib/compiler.cc: Ditto.
20017
9810b410
YQ
200182014-04-03 Yao Qi <yao@codesourcery.com>
20019
20020 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20021
98d1b8dc
AB
200222014-04-01 Anton Blanchard <anton@samba.org>
20023
20024 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20025 messages unique.
20026
3114cea1
AB
200272014-04-01 Anton Blanchard <anton@samba.org>
20028
20029 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20030 prepare_for_testing.
20031
62f7182c
AB
200322014-04-01 Anton Blanchard <anton@samba.org>
20033
20034 * gdb.arch/ppc64-atomic-inst.c: Remove.
20035 * gdb.arch/ppc64-atomic-inst.S: New file.
20036 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20037
770e7fc7
DE
200382014-03-31 Doug Evans <dje@google.com>
20039
20040 * gdb.base/print-symbol-loading-lib.c: New file.
20041 * gdb.base/print-symbol-loading-main.c: New file.
20042 * gdb.base/print-symbol-loading.exp: New file.
20043
46e2bafa
YQ
200442014-03-31 Yao Qi <yao@codesourcery.com>
20045
20046 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20047
8776cfe9
JB
200482014-03-28 Joel Brobecker <brobecker@adacore.com>
20049
20050 * gdb.ada/mi_dyn_arr: New testcase.
20051
5d1ef361
DE
200522014-03-27 Doug Evans <dje@google.com>
20053
20054 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20055
b5bee914
YQ
200562014-03-27 Yao Qi <yao@codesourcery.com>
20057
20058 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20059 if target is nios2-*-*.
20060
0d4d0e77
YQ
200612014-03-26 Yao Qi <yao@codesourcery.com>
20062
20063 * lib/gdb.exp (readline_is_used): New proc.
20064 * gdb.base/completion.exp: Move tests on command complete up.
20065 Skip the rest of tests if readline is not used.
20066 * gdb.ada/complete.exp: Skp the test if readline is not
20067 used.
20068 * gdb.base/filesym.exp: Likewise.
20069 * gdb.base/macscp.exp: Likewise.
20070 * gdb.base/readline-ask.exp: Likewise.
20071 * gdb.base/readline.exp: Likewise.
20072 * gdb.python/py-cmd.exp: Likewise.
20073 * gdb.trace/tfile.exp: Likewise.
20074
29361eee
YQ
200752014-03-26 Yao Qi <yao@codesourcery.com>
20076
20077 * gdb.base/macscp.exp: Fix code format issues.
20078
bc9a5525
UW
200792014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20080
20081 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20082 * gdb.asm/powerpc64le.inc: New file.
20083
d3839ede
PA
200842014-03-25 Pedro Alves <palves@redhat.com>
20085 Doug Evans <dje@google.com>
20086
20087 * gdb.base/source-execution.c: New file.
20088 * gdb.base/source-execution.exp: New file.
20089 * gdb.base/source-execution.gdb: New file.
20090
01672a57
DE
200912014-03-24 Doug Evans <dje@google.com>
20092
20093 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20094 using fission.
20095
88bbeca9
HZ
200962014-03-24 Hui Zhu <hui@codesourcery.com>
20097 Pedro Alves <palves@redhat.com>
20098
20099 PR breakpoints/16101
20100 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20101 test pass/fail messages. Detect missing support for dprintf when
20102 breakpoints are actually inserted.
20103 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20104 breakpoints are actually inserted.
20105 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20106 fails.
20107
d2348791
JK
201082014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20109
20110 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20111
feef67ab
DE
201122014-03-22 Doug Evans <xdje42@gmail.com>
20113
20114 * gdb.python/python.exp (python not supported): Verify multi-line
20115 python command issues an error.
25d743f9 20116 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20117 guile command issues an error.
feef67ab 20118
ecebef6a
MR
201192014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20120
20121 * gdb.threads/thread-specific.exp: Handle the lack of usable
20122 $this_breakpoint and $this_thread.
20123
ccdd1909
HZ
201242014-03-21 Hui Zhu <hui@codesourcery.com>
20125
20126 * gdb.base/attach.exp (do_command_attach_tests): New.
20127
beb460e8
PA
201282014-03-20 Tom Tromey <tromey@redhat.com>
20129 Pedro Alves <palves@redhat.com>
20130
20131 PR cli/15718
20132 * gdb.base/condbreak-call-false.c: New file.
20133 * gdb.base/condbreak-call-false.exp: New file.
20134
40acf43a
PA
201352014-03-20 Pedro Alves <palves@redhat.com>
20136
20137 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20138 Delete.
20139 (block_signals, unblock_signals): Delete.
20140 (child_function_2, main): Remove references to deleted variable
20141 and functions.
20142
9f5e1e02
PA
201432014-03-20 Pedro Alves <palves@redhat.com>
20144
20145 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20146 Use pthread_kill to signal thread 2.
20147 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20148 Adjust to make the test send itself a signal rather than using the
20149 host's "kill" command.
20150
99619bea
PA
201512014-03-20 Pedro Alves <palves@redhat.com>
20152
20153 * gdb.threads/multiple-step-overs.c: New file.
20154 * gdb.threads/multiple-step-overs.exp: New file.
20155 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20156 Adjust expected infrun debug output.
20157
2adfaa28
PA
201582014-03-20 Pedro Alves <palves@redhat.com>
20159
20160 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20161 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20162
31e77af2
PA
201632014-03-20 Pedro Alves <palves@redhat.com>
20164
20165 PR breakpoints/7143
20166 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20167 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20168 of gdb_test_multiple.
20169 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20170 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20171
b9f437de
PA
201722014-03-20 Pedro Alves <palves@redhat.com>
20173
20174 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20175 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20176
05adc73e
PA
201772014-03-19 Pedro Alves <palves@redhat.com>
20178
20179 * gdb.base/async.exp: Remove early return.
20180
6048b950
PA
201812014-03-19 Pedro Alves <palves@redhat.com>
20182
20183 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20184
8bcfb00a
PA
201852014-03-19 Pedro Alves <palves@redhat.com>
20186
20187 * gdb.base/async.exp (test_background): Expect \r\n after
20188 "completed." in the fail pattern.
20189
884e37dc
PA
201902014-03-19 Pedro Alves <palves@redhat.com>
20191
20192 * gdb.base/async.exp (test_background): New procedure.
20193 Use it for all background execution command tests.
20194
148e57e2
PA
201952014-03-19 Pedro Alves <palves@redhat.com>
20196
20197 * gdb.base/async.exp: Use prepare_for_testing.
20198
f48088c7
PA
201992014-03-19 Pedro Alves <palves@redhat.com>
20200
20201 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20202 the same line.
20203
e2f6c966
PA
202042014-03-19 Pedro Alves <palves@redhat.com>
20205
20206 * gdb.base/async.c (main): Add "jump here" and "until here" line
20207 marker comments.
20208 * gdb.base/async.exp (jump_here): New global.
20209 (jump& test): Use it.
20210 (until_here): New global.
20211 (until& test): Use it.
20212
c30568d4
PA
202132014-03-19 Pedro Alves <palves@redhat.com>
20214
20215 * gdb.base/async.exp: Don't frob gdb_protocol.
20216
0172b6a7
DE
202172014-03-18 Doug Evans <xdje42@gmail.com>
20218
20219 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20220 Fix spelling of exec-done-display.
20221
06c868a8
JK
202222014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20223
20224 PR gdb/15358
20225 * gdb.base/gdb-sigterm.c: New file.
20226 * gdb.base/gdb-sigterm.exp: New file.
20227
0c7e1a46
PA
202282014-03-18 Pedro Alves <palves@redhat.com>
20229
20230 PR gdb/13860
20231 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20232 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20233 solib-event.
20234
f7c77d93
JB
202352014-03-17 Joel Brobecker <brobecker@adacore.com>
20236
20237 * gdb.ada/pckd_arr_ren: New testcase.
20238
5a1e8c7a
DE
202392014-03-13 Doug Evans <xdje42@gmail.com>
20240
20241 PR guile/16612
20242 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20243 collect after discarding symbols.
20244
350e1a76
DE
202452014-03-13 Ludovic Courtès <ludo@gnu.org>
20246 Doug Evans <xdje42@gmail.com>
20247
20248 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20249 to history survives a gc.
20250
a69900ae
PA
202512014-03-13 Pedro Alves <palves@redhat.com>
20252
20253 * gdb.base/default.exp: Don't test "target procfs".
20254
5db9f0bd
PA
202552014-03-13 Pedro Alves <palves@redhat.com>
20256
20257 * gdb.base/default.exp: Update "target child" and "target procfs"
20258 tests to not expect "Unix".
20259
b3ccfe11
TT
202602014-03-12 Tom Tromey <tromey@redhat.com>
20261
20262 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20263 New procs. Add target-async tests.
20264 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20265 Add target-async tests.
20266
646f4417
AA
202672014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20268
20269 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20270 'func_start' and 'func_end' for the beginning and end of the
20271 function code, respectively.
20272 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20273 'func_end' instead of 'func' and 'main'.
20274
288c211f
AA
202752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20276
20277 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20278 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20279 generate the debug info assembler source.
20280
e0c0f156
AA
202812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20282
20283 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20284 * gdb.dwarf2/arr-subrange.exp: Likewise.
20285 * gdb.dwarf2/dwz.exp: Likewise.
20286 * gdb.dwarf2/method-ptr.exp: Likewise.
20287 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20288 * gdb.dwarf2/subrange.exp: Likewise.
20289 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20290 * gdb.dwarf2/implptrpiece.exp: Likewise.
20291 * gdb.dwarf2/nostaticblock.exp: Likewise.
20292
0e5c4555
AA
202932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20294
20295 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20296 directory to absolute path name arguments.
20297
5ec18f2b
JG
202982014-03-10 Joel Brobecker <brobecker@adacore.com>
20299
20300 * gdb.ada/tagged_access: New testcase.
20301
847fc4f2
MM
203022014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20303
20304 * gdb.btrace/data.exp: Update expected output.
20305
cc3da688
YQ
203062014-03-06 Yao Qi <yao@codesourcery.com>
20307
20308 * gdb.trace/pr16508.exp: New file.
20309
0f26cec1
PA
203102014-03-05 Pedro Alves <palves@redhat.com>
20311
20312 PR gdb/16575
20313 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20314 procedure.
20315 (top level): Adjust to use it. Add tests that exercise breakpoint
20316 interaction with the code-cache.
20317
7a5a839f
LC
203182014-02-26 Ludovic Courtès <ludo@gnu.org>
20319
20320 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20321 test for 'history-append!'.
20322
31aa7e4e
JB
203232014-02-26 Joel Brobecker <brobecker@adacore.com>
20324
20325 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20326 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20327 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20328 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20329 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20330 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20331
1b588015
JB
203322014-02-26 Joel Brobecker <brobecker@adacore.com>
20333
20334 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20335 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20336 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20337
55426c9d
JB
203382014-02-26 Joel Brobecker <brobecker@adacore.com>
20339
20340 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20341
dc53a7ad
JB
203422014-02-26 Joel Brobecker <brobecker@adacore.com>
20343
20344 * gdb.dwarf2/arr-stride.c: New file.
20345 * gdb.dwarf2/arr-stride.exp: New file.
20346
12ab52e9
PA
203472014-02-26 Pedro Alves <palves@redhat.com>
20348
20349 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20350 that won't ever trigger. Make sure that GDB reports the correct
20351 breakpoint that caused the stop.
20352
849c862e
JK
203532014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20354
20355 PR gdb/16626
20356 * gdb.base/auto-load-script: New file.
20357 * gdb.base/auto-load.c: New file.
20358 * gdb.base/auto-load.exp: New file.
20359
71b7d793
JK
20360 PR gdb/16626
20361 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20362
e2f0d509
JK
203632014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20364
20365 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20366 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20367
50cc37c8
DE
203682014-02-24 Doug Evans <dje@google.com>
20369
20370 * lib/gdb.exp (run_on_host): Log error output if program fails.
20371
ea4758f2
PA
203722014-02-21 Pedro Alves <palves@redhat.com>
20373
20374 * gdb.threads/step-after-sr-lock.c: Rename to ...
20375 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20376 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20377 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20378 ... this.
20379
d7b30f67
SDJ
203802014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20381
20382 PR tdep/16397
20383 * gdb.arch/amd64-stap-special-operands.exp: New file.
20384 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20385 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20386 * gdb.arch/amd64-stap-triplet.S: Likewise.
20387 * gdb.arch/amd64-stap-triplet.c: Likewise.
20388
83deb43f
JB
203892014-02-20 Joel Brobecker <brobecker@adacore.com>
20390
20391 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20392 in .section pseudo-op.
20393
adde2bff
DE
203942014-02-20 lin zuojian <manjian2006@gmail.com>
20395 Joel Brobecker <brobecker@adacore.com>
20396 Doug Evans <xdje42@gmail.com>
20397
20398 PR symtab/16581
20399 * gdb.dwarf2/dw2-icycle.S: New file.
20400 * gdb.dwarf2/dw2-icycle.c: New file.
20401 * gdb.dwarf2/dw2-icycle.exp: New file.
20402
f7bd0f78
SC
204032014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20404
20405 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20406 operations on gdb.Value objects.
20407 * gdb.python/py-value-cc.exp: Add new test to test operations on
20408 gdb.Value objects.
20409
c17ef0d5
DE
204102014-02-18 Doug Evans <dje@google.com>
20411
20412 * Makefile.in (TESTS): New variable.
20413 (expanded_tests, expanded_tests_or_none): New variables
20414 (check-single): Pass $(expanded_tests_or_none) to runtest.
20415 (check-parallel): Only run tests in $(TESTS) if non-empty.
20416 (check/no-matching-tests-found): New rule.
20417 * README: Document TESTS makefile variable.
20418
5dd3176f
DE
204192014-02-18 Doug Evans <dje@google.com>
20420
20421 * Makefile.in (check-parallel): rm -rf outputs temp.
20422
0b10be4f
JK
204232014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20424
20425 Fix "ERROR: no fileid for" in the testsuite.
20426 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20427
85f224e7
DE
204282014-02-12 Doug Evans <dje@google.com>
20429
20430 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20431 (MISCELLANEOUS): New variable.
20432 (clean): rm -rf $(MISCELLANEOUS).
20433 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20434 dwp live in the same directory as symlinks, with each symlink pointed
20435 to a differently named file in a different directory.
20436
149b30ff
DE
204372014-02-11 Doug Evans <dje@google.com>
20438
20439 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20440 of Tcl file commands.
20441
1dfdac32
MK
204422014-02-10 Mark Kettenis <kettenis@gnu.org>
20443
20444 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20445 "kill -SIGUSR1 -1".
20446
aa4fb036
JB
204472014-02-10 Joel Brobecker <brobecker@adacore.com>
20448
20449 * gdb.ada/tick_length_array_enum_idx: New testcase.
20450
ed3ef339
DE
204512014-02-10 Doug Evans <xdje42@gmail.com>
20452
20453 * configure.ac (AC_OUTPUT): Add gdb.guile.
20454 * configure: Regenerate.
20455 * lib/gdb-guile.exp: New file.
20456 * lib/gdb.exp (get_target_charset): New function.
20457 * gdb.base/help.exp: Update expected output from "apropos apropos".
20458 * gdb.guile/Makefile.in: New file.
20459 * gdb.guile/guile.exp: New file.
20460 * gdb.guile/scm-arch.c: New file.
20461 * gdb.guile/scm-arch.exp: New file.
20462 * gdb.guile/scm-block.c: New file.
20463 * gdb.guile/scm-block.exp: New file.
20464 * gdb.guile/scm-breakpoint.c: New file.
20465 * gdb.guile/scm-breakpoint.exp: New file.
20466 * gdb.guile/scm-disasm.c: New file.
20467 * gdb.guile/scm-disasm.exp: New file.
20468 * gdb.guile/scm-equal.c: New file.
20469 * gdb.guile/scm-equal.exp: New file.
20470 * gdb.guile/scm-error.exp: New file.
20471 * gdb.guile/scm-error.scm: New file.
20472 * gdb.guile/scm-frame-args.c: New file.
20473 * gdb.guile/scm-frame-args.exp: New file.
20474 * gdb.guile/scm-frame-args.scm: New file.
20475 * gdb.guile/scm-frame-inline.c: New file.
20476 * gdb.guile/scm-frame-inline.exp: New file.
20477 * gdb.guile/scm-frame.c: New file.
20478 * gdb.guile/scm-frame.exp: New file.
20479 * gdb.guile/scm-generics.exp: New file.
20480 * gdb.guile/scm-gsmob.exp: New file.
20481 * gdb.guile/scm-iterator.c: New file.
20482 * gdb.guile/scm-iterator.exp: New file.
20483 * gdb.guile/scm-math.c: New file.
20484 * gdb.guile/scm-math.exp: New file.
20485 * gdb.guile/scm-objfile-script-gdb.in: New file.
20486 * gdb.guile/scm-objfile-script.c: New file.
20487 * gdb.guile/scm-objfile-script.exp: New file.
20488 * gdb.guile/scm-objfile.c: New file.
20489 * gdb.guile/scm-objfile.exp: New file.
20490 * gdb.guile/scm-ports.exp: New file.
20491 * gdb.guile/scm-pretty-print.c: New file.
20492 * gdb.guile/scm-pretty-print.exp: New file.
20493 * gdb.guile/scm-pretty-print.scm: New file.
20494 * gdb.guile/scm-section-script.c: New file.
20495 * gdb.guile/scm-section-script.exp: New file.
20496 * gdb.guile/scm-section-script.scm: New file.
20497 * gdb.guile/scm-symbol.c: New file.
20498 * gdb.guile/scm-symbol.exp: New file.
20499 * gdb.guile/scm-symtab-2.c: New file.
20500 * gdb.guile/scm-symtab.c: New file.
20501 * gdb.guile/scm-symtab.exp: New file.
20502 * gdb.guile/scm-type.c: New file.
20503 * gdb.guile/scm-type.exp: New file.
20504 * gdb.guile/scm-value-cc.cc: New file.
20505 * gdb.guile/scm-value-cc.exp: New file.
20506 * gdb.guile/scm-value.c: New file.
20507 * gdb.guile/scm-value.exp: New file.
20508 * gdb.guile/source2.scm: New file.
20509 * gdb.guile/types-module.cc: New file.
20510 * gdb.guile/types-module.exp: New file.
20511
7026a7c1
YQ
205122014-02-10 Yao Qi <yao@codesourcery.com>
20513
20514 PR testsuite/16543
20515 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20516 * configure: Regenerated.
20517 * Makefile.in: New file.
20518
6c466447
AS
205192014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20520
20521 * gdb.python/py-framefilter.exp: Fix typo.
20522
6e854735
YQ
205232014-02-08 Yao Qi <yao@codesourcery.com>
20524
20525 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20526 that no =breakpoint-modified is emitted when breakpoints are
20527 modified through MI commands.
20528
d137e6dc
PA
205292014-02-07 Pedro Alves <pedro@codesourcery.com>
20530 Pedro Alves <palves@redhat.com>
20531
20532 * gdb.threads/step-after-sr-lock.c: New file.
20533 * gdb.threads/step-after-sr-lock.exp: New file.
20534
b5ee5a50
PA
205352014-02-07 Pedro Alves <palves@redhat.com>
20536
20537 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20538
3c77faf3
JK
205392014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20540
20541 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20542 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20543
6dddc817
DE
205442014-02-06 Doug Evans <xdje42@gmail.com>
20545
20546 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20547 output.
20548
20549 * gdb.gdb/python-interrupts.exp: New file.
20550
de7b2893
YQ
205512014-02-05 Yao Qi <yao@codesourcery.com>
20552
20553 * gdb.trace/report.exp (use_collected_data): Test the output
20554 of "info threads" and "info inferiors".
20555
66d032ac
YQ
205562014-02-05 Yao Qi <yao@codesourcery.com>
20557
20558 Revert this patch:
20559
20560 2013-05-24 Yao Qi <yao@codesourcery.com>
20561
20562 * gdb.trace/tfile.exp: Test inferior and thread.
20563
591a12a1
UW
205642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20565
20566 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20567 on a function.
20568 * gdb.base/step-bt.c: Call hello via function pointer to make
20569 sure its first instruction is executed on powerpc64le-linux.
20570
0ff3e01f
UW
205712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20572
20573 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20574
084ee545
UW
205752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20576
20577 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20578 of the test patterns for use on little-endian systems.
20579
6ed14ff3
UW
205802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20581
20582 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20583 (decimal_vector): Fix for little-endian.
20584
401e27fd
JM
205852014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20586
20587 * gdb.arch/sparc-sysstep.exp: New file.
20588 * gdb.arch/sparc-sysstep.c: Likewise.
20589
20590 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20591
8b924729
EBM
205922014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20593
20594 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20595
fb151210
JB
205962014-01-23 Tom Tromey <tromey@redhat.com>
20597
20598 * gdb.ada/array_char_idx: New testcase.
20599
0740f8d8
TT
206002014-01-23 Tom Tromey <tromey@redhat.com>
20601
20602 PR python/16487:
20603 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20604 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20605 classes.
20606
21909fa1
TT
206072014-01-23 Tom Tromey <tromey@redhat.com>
20608
20609 PR python/16491:
20610 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20611 string from an inferior frame.
20612 * gdb.python/py-framefilter-mi.exp: Update.
20613
87ce2a04
DE
206142014-01-22 Doug Evans <dje@google.com>
20615
20616 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20617
237b092b
AA
206182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20619
20620 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20621
d674a709
AA
206222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20623
20624 * gdb.trace/entry-values.exp: Remove excess space character from
20625 regex patterns. Handle s390 call instruction.
20626
20fa3390
AA
206272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20628
20629 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20630 define "*_start" label. Make "name" static.
20631 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20632 ${name} by references to ${name}_start.
20633
78466714
AA
206342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20635
20636 * gdb.base/info-macros.exp: Remove "debug" from the compile
20637 options.
20638
ec9f644a
IB
206392014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20640
20641 * gdb.dlang/demangle.exp: New file.
20642
94b1b47e
IB
206432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20644
20645 * gdb.dlang/primitive-types.exp: New file.
20646
7f420862
IB
206472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20648
20649 * configure.ac: Create gdb.dlang/Makefile.
20650 * configure: Regenerate.
20651 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20652 * gdb.dlang/Makefile.in: New file.
20653 * lib/d-support.exp: New file.
20654 * lib/gdb.exp (skip_d_tests): New proc.
20655
52834460
MM
206562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20657
20658 * gdb.btrace/delta.exp: Check reverse stepi.
20659 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20660 * gdb.btrace/finish.exp: New.
20661 * gdb.btrace/next.exp: New.
20662 * gdb.btrace/nexti.exp: New.
20663 * gdb.btrace/record_goto.c: Add comments.
20664 * gdb.btrace/step.exp: New.
20665 * gdb.btrace/stepi.exp: New.
20666 * gdb.btrace/multi-thread-step.c: New.
20667 * gdb.btrace/multi-thread-step.exp: New.
20668 * gdb.btrace/rn-dl-bind.c: New.
20669 * gdb.btrace/rn-dl-bind.exp: New.
20670 * gdb.btrace/data.c: New.
20671 * gdb.btrace/data.exp: New.
20672 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20673
6e07b1d2
MM
206742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20675
20676 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20677 * gdb.btrace/exception.exp: Update.
20678 * gdb.btrace/instruction_history.exp: Update.
20679 * gdb.btrace/record_goto.exp: Update.
20680 * gdb.btrace/tailcall.exp: Update.
20681 * gdb.btrace/unknown_functions.exp: Update.
20682 * gdb.btrace/delta.exp: New.
20683
0b722aec
MM
206842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20685
20686 * gdb.btrace/record_goto.exp: Add backtrace test.
20687 * gdb.btrace/tailcall.exp: Add backtrace test.
20688
066ce621
MM
206892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20690
20691 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20692 * gdb.btrace/record_goto.c: New.
20693 * gdb.btrace/record_goto.exp: New.
20694 * gdb.btrace/x86-record_goto.S: New.
20695
0688d04e
MM
206962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20697
20698 * gdb.btrace/function_call_history.exp: Update tests.
20699 * gdb.btrace/instruction_history.exp: Update tests.
20700
8710b709
MM
207012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20702
20703 * gdb.btrace/function_call_history.exp: Fix expected field
20704 order for "record function-call-history".
20705 Add new tests for "record function-call-history /c".
20706 * gdb.btrace/exception.cc: New.
20707 * gdb.btrace/exception.exp: New.
20708 * gdb.btrace/tailcall.exp: New.
20709 * gdb.btrace/x86-tailcall.S: New.
20710 * gdb.btrace/x86-tailcall.c: New.
20711 * gdb.btrace/unknown_functions.c: New.
20712 * gdb.btrace/unknown_functions.exp: New.
20713 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20714
5de9129b
MM
207152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20716
20717 * gdb.btrace/instruction_history.exp: Update.
20718 * gdb.btrace/function_call_history.exp: Update.
20719
23a7fe75
MM
207202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20721
20722 * gdb.btrace/function_call_history.exp: Fix expected function
20723 trace.
20724 * gdb.btrace/instruction_history.exp: Initialize traced.
20725 Remove traced_functions.
20726
724c7dd8
MM
207272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20728
20729 * gdb.btrace/function_call_history.exp: Update
20730 * gdb.btrace/instruction_history.exp: Update.
20731
6d78d93b
MM
207322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20733
20734 * gdb.btrace/enable.exp: Update expected text.
20735
93a360cc
OJ
207362014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20737
20738 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20739 bytes.
20740
3772b53f
MR
207412014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20742
20743 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20744
596662fa
OJ
207452014-01-15 Omair Javaid <omair.javaid@linaro.org>
20746
20747 * lib/gdb.exp (supports_process_record): Return true for
20748 arm*-linux*. (supports_reverse): Likewise.
20749
b5b08fb4
SC
207502014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20751
20752 PR python/15464
20753 PR python/16113
20754 * gdb.python/py-type.c: Enhance test case.
20755 * gdb.python/py-value-cc.cc: Likewise
20756 * gdb.python/py-type.exp: Add new tests.
20757 * gdb.python/py-value-cc.exp: Likewise
20758
52d7fb13
AA
207592014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20760 Pedro Alves <palves@redhat.com>
20761
20762 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20763 Make "name" extern.
20764 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20765 references to ${name}_start by references to ${name}.
20766
a2cd8cfe
JB
207672014-01-10 Joel Brobecker <brobecker@adacore.com>
20768
20769 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20770
4e23fced
JB
207712014-01-10 Joel Brobecker <brobecker@adacore.com>
20772
20773 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20774
c6a9e42c
PA
207752014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20776 Pedro Alves <palves@redhat.com>
20777
20778 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 20779 mi_gdb_target_load.
c6a9e42c 20780
b7ea362b
PA
207812014-01-08 Pedro Alves <palves@redhat.com>
20782
20783 * gdb.threads/reconnect-signal.c: New file.
20784 * gdb.threads/reconnect-signal.exp: New file.
20785
5e3f4fab
EBM
207862014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20787
20788 * gdb.base/source-dir.exp: New file.
20789
79301218
JB
207902014-01-07 Joel Brobecker <brobecker@adacore.com>
20791
20792 * gdb.ada/mi_interface: New testcase.
20793
8e355c5d
JB
207942014-01-07 Joel Brobecker <brobecker@adacore.com>
20795
20796 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20797 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20798 gdb.ada/pp-rec-component/pck.ads: New files.
20799
c0d48811
JB
208002014-01-07 Joel Brobecker <brobecker@adacore.com>
20801
20802 * gdb.python/py-pp-integral.c: New file.
20803 * gdb.python/py-pp-integral.py: New file.
20804 * gdb.python/py-pp-integral.exp: New file.
20805
17b609c3 20806For older changes see ChangeLog-1993-2013.
c906108c 20807\f
8d8cb839
EZ
20808;; Local Variables:
20809;; mode: change-log
20810;; left-margin: 8
20811;; fill-column: 74
20812;; version-control: never
20813;; End:
902f2ccb 20814
b811d2c2 20815 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
20816 Copying and distribution of this file, with or without modification,
20817 are permitted provided the copyright notice and this notice are preserved.