]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
asan: alpha-vms: buffer overflow in vms_traverse_index
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0245e136
KB
12020-07-31 Kevin Buettner <kevinb@redhat.com>
2
3 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
4 to 'uintptr_t'
5 (inttypes.h): Include.
6
9ef1ec5d
KB
72020-07-31 Kevin Buettner <kevinb@redhat.com>
8
9 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
10 (C5_24k): Delete.
11 (C5_8k, C5_64k, C5_256k): New macros.
12 (buf_ro): Allocate 256 KiB of initialized data.
13
4c55e970
TBA
142020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
15
16 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
17 that attempt to overwrite an existing condition with a condition
18 that fails parsing and also with a condition that parses fine
19 but contains junk at the end.
20
1e620590
TBA
212020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
22
23 * gdb.base/condbreak-bad.c: New test.
24 * gdb.base/condbreak-bad.exp: New file.
25
e12dcc50
TV
262020-07-30 Tom de Vries <tdevries@suse.de>
27
28 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
29 out of ...
30 (GDBInfoModuleSymbols::check_entry): ... here.
31 (GDBInfoModuleSymbols::check_optional_entry): New proc.
32 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
33 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
34
6cc64caa
TV
352020-07-30 Tom de Vries <tdevries@suse.de>
36
37 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
38 "__class_some_module_Number_t" optional.
39
90fd07fc
TV
402020-07-29 Tom de Vries <tdevries@suse.de>
41
42 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
43 multiple locations.
44
f5c79e97
TV
452020-07-29 Tom de Vries <tdevries@suse.de>
46
47 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
48 rather than function name.
49
f75a0693
AB
502020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
51
52 PR symtab/26270:
53 * gdb.cp/disasm-func-name.cc: New file.
54 * gdb.cp/disasm-func-name.exp: New file.
55
4888741a
TT
562020-07-28 Tom Tromey <tromey@adacore.com>
57
58 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
59 'varval' location.
60
43d5901d
AB
612020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 * gdb.python/py-unwind.py: Update to make use of a register
64 descriptor.
65
14fa8fb3
AB
662020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * gdb.python/py-arch-reg-names.exp: Add additional tests.
69
e79eb02f
AB
702020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
71
72 PR fortran/23051
73 PR fortran/26139
74 * gdb.fortran/class-allocatable-array.exp: New file.
75 * gdb.fortran/class-allocatable-array.f90: New file.
76 * gdb.fortran/pointer-to-pointer.exp: New file.
77 * gdb.fortran/pointer-to-pointer.f90: New file.
78
876518dd
TV
792020-07-25 Tom de Vries <tdevries@suse.de>
80
81 PR symtab/26243
82 * gdb.dwarf2/dw2-line-number-zero.c: New test.
83 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
84
6dcfb80a
TV
852020-07-24 Tom de Vries <tdevries@suse.de>
86
87 PR testsuite/26293
88 * gdb.ada/mi_prot.exp: Require gnatmake-8.
89
e7bc9db8
PA
902020-07-23 Pedro Alves <pedro@palves.net>
91
92 * gdb.server/server-kill.exp (prepare): New, factored out from the
93 top level.
94 (kill_server): New.
95 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
96 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
97
78344df7
AB
982020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
99
100 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
101
25dfed24
SL
1022020-07-22 Sandra Loosemore <sandra@codesourcery.com>
103
104 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
105 Initialize to empty string at top level.
106 (gdb_wrapper_init): Revert check for file existence on build.
107 Build the wrapper in its default place, not a build-specific
108 location. When host == build, make the pathname absolute.
109 (gdb_compile): Delete leftover declaration of
110 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
111 string instead of uninitialized.
112
7da515fd
KB
1132020-07-22 Kevin Buettner <kevinb@redhat.com>
114
115 * gdb.base/corefile2.exp: New file.
116 * gdb.base/coremaker2.exp: New file.
117
9c5ec5c2
KB
1182020-07-22 Kevin Buettner <kevinb@redhat.com>
119
120 * gdb.base/coredump-filter.exp: Add second
121 non-Private-Shared-Anon-File test.
122 (test_disasm): Rename binfile for test which is expected
123 to fail.
124
f9e233c9
KB
1252020-07-22 Kevin Buettner <kevinb@redhat.com>
126
127 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
128 data in core file".
129 * gdb.base/coremaker.c (buf2ro): New global.
130 (mmapdata): Add a read-only mmap mapping.
131
94c265d7
KB
1322020-07-22 Kevin Buettner <kevinb@redhat.com>
133
134 PR corefiles/25631
135 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
136 New test.
137 * gdb.base/coremaker.c (buf3): New global.
138 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
139 flags.
140
1412020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
142
143 * gdb.base/coremaker.c (filler_ro): New global constant.
144
32fa152e
TT
1452020-07-22 Tom Tromey <tromey@adacore.com>
146
147 * gdb.ada/mi_prot.exp: New file.
148 * gdb.ada/mi_prot/pkg.adb: New file.
149 * gdb.ada/mi_prot/pkg.ads: New file.
150 * gdb.ada/mi_prot/prot.adb: New file.
151
c8474dc3
TBA
1522020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
153
154 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
155 loads two JITers.
156
baf8791e
AB
1572020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
158
159 * gdb.python/py-arch-reg-groups.exp: Additional tests.
160
f7306dac
AB
1612020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
162
163 * gdb.python/py-arch-reg-names.exp: Additional tests.
164
6d3d6e4b
TV
1652020-07-21 Tom de Vries <tdevries@suse.de>
166
167 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
168 breakpoint locations".
169 * gdb.reverse/solib-reverse.exp: Same.
170
803d0592
TV
1712020-07-21 Tom de Vries <tdevries@suse.de>
172
173 * gdb.reverse/step-reverse.c (callee): Merge statements.
174
e9bdc510
TV
1752020-07-21 Tom de Vries <tdevries@suse.de>
176
177 * gdb.fortran/info-modules.exp (info module variables): Allow missing
178 line numbers for some variables.
179
f0f9e75a
TV
1802020-07-21 Tom de Vries <tdevries@suse.de>
181
182 * gdb.opt/inline-locals.c (init_array): New func.
183 (func1): Use init_array.
184 * gdb.opt/inline-locals.exp: Update pattern.
185
bd460ecb
TV
1862020-07-21 Tom de Vries <tdevries@suse.de>
187
188 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
189 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
190
ae5369e7
LC
1912020-07-20 Ludovic Courtès <ludo@gnu.org>
192
193 * gdb.guile/source2.scm: Add #f first argument to 'format'.
194 * gdb.guile/types-module.exp: Remove "ERROR:" from
195 regexps since Guile 3.0 no longer prints that.
196
68cf161c
LC
1972020-07-20 Ludovic Courtès <ludo@gnu.org>
198
199 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
200 error regexp to match on Guile 2.2.
201
c14b4913
GB
2022020-07-20 Gary Benson <gbenson@redhat.com>
203
204 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
205 with clang.
206
b243ba58
TV
2072020-07-20 Tom de Vries <tdevries@suse.de>
208
209 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
210 (omp_set_lock_in_order): New function.
211 (single_scope, multi_scope, nested_func, nested_parallel): Use
212 omp_set_lock_in_order and omp_unset_lock.
213 (main): Init and destroy lock and lock2.
214
c06ad8b5
TV
2152020-07-20 Tom de Vries <tdevries@suse.de>
216
217 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
218
6e22f117
TV
2192020-07-20 Tom de Vries <tdevries@suse.de>
220
221 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
222
33176ea7
TV
2232020-07-17 Tom de Vries <tdevries@suse.de>
224
225 * gdb.base/valgrind-infcall-2.c: New test.
226 * gdb.base/valgrind-infcall-2.exp: New file.
227 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
228
90c3ec2d
TV
2292020-07-17 Tom de Vries <tdevries@suse.de>
230
231 * gdb.dlang/circular.c (found): Use found_label as label name.
232 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
233 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
234 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
235 * gdb.dwarf2/ada-linkage-name.exp: Same.
236 * gdb.dwarf2/arr-subrange.exp: Same.
237 * gdb.dwarf2/atomic-type.exp: Same.
238 * gdb.dwarf2/comp-unit-lang.exp: Same.
239 * gdb.dwarf2/cpp-linkage-name.exp: Same.
240 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
241 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
242 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
243 * gdb.dwarf2/implptr-64bit.exp: Same.
244 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
245 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
246 * gdb.dwarf2/imported-unit.exp: Same.
247 * gdb.dwarf2/main-subprogram.exp: Same.
248 * gdb.dwarf2/missing-type-name.exp: Same.
249 * gdb.dwarf2/nonvar-access.exp: Same.
250 * gdb.dwarf2/struct-with-sig.exp: Same.
251 * gdb.dwarf2/typedef-void-finish.exp: Same.
252 * gdb.dwarf2/void-type.exp: Same.
253
10da644d
TV
2542020-07-17 Tom de Vries <tdevries@suse.de>
255
256 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
257 src parameter.
258 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
259 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
260 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
261 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
262 * gdb.dwarf2/dwz.exp: Same.
263 * gdb.dwarf2/implptr-optimized-out.exp: Same.
264 * gdb.dwarf2/implref-array.exp: Same.
265 * gdb.dwarf2/implref-const.exp: Same.
266 * gdb.dwarf2/implref-global.exp: Same.
267 * gdb.dwarf2/implref-struct.exp: Same.
268 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
269 * gdb.dwarf2/opaque-type-lookup.exp: Same.
270 * gdb.dwarf2/var-access.exp: Same.
271 * gdb.dwarf2/varval.exp: Same.
272 * gdb.trace/entry-values.exp: Same.
273
315e6afc
TV
2742020-07-17 Tom de Vries <tdevries@suse.de>
275
276 * lib/dwarf.exp (Dwarf::extern): Remove.
277 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
278 * gdb.dlang/circular.exp: Same.
279 * gdb.dwarf2/comp-unit-lang.exp: Same.
280 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
281 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
282 * gdb.dwarf2/dwz.exp: Same.
283 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
284 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
285 * gdb.dwarf2/imported-unit.exp: Same.
286 * gdb.dwarf2/opaque-type-lookup.exp: Same.
287
5597c940
SL
2882020-07-16 Sandra Loosemore <sandra@codesourcery.com>
289
290 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
291 Use double quotes instead of single quotes.
292
d0ce17d8
CT
2932020-07-16 Caroline Tice <cmtice@google.com>
294
295 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
296 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
297
853772cc
TV
2982020-07-16 Tom de Vries <tdevries@suse.de>
299
300 * lib/dwarf.exp (program): Initialize _line.
301 (DW_LNE_end_sequence): Reinitialize _line.
302 (DW_LNS_advance_line): Update _line.
303 (line): New proc.
304 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
305 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
306 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
307 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
308 * gdb.dwarf2/dw2-is-stmt.exp: Same.
309 * gdb.dwarf2/dw2-ranges-func.exp: Same.
310
fe07b572
AB
3112020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
312
313 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
314 generic.
315
52781cce
TV
3162020-07-15 Tom de Vries <tdevries@suse.de>
317
318 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
319 is_amd64_regs_target.
320
3dcc261c
AB
3212020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
322
323 * gdb.fortran/ptype-on-functions.exp: Add more tests.
324 * gdb.fortran/ptype-on-functions.f90: Likewise.
325
054a0959
SM
3262020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
327
328 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
329 values in documentation for addr_size to 4 and 8.
330
ccb9eba6
AB
3312020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
332
333 * gdb.arch/amd64-osabi.exp: Update.
334 * gdb.arch/arm-disassembler-options.exp: Update.
335 * gdb.arch/powerpc-disassembler-options.exp: Update.
336 * gdb.arch/ppc64-symtab-cordic.exp: Update.
337 * gdb.arch/s390-disassembler-options.exp: Update.
338 * gdb.base/all-architectures.exp.tcl: Update.
339 * gdb.base/attach-pie-noexec.exp: Update.
340 * gdb.base/catch-syscall.exp: Update.
341 * gdb.xml/tdesc-arch.exp: Update.
342
025a39a7
TV
3432020-07-14 Tom de Vries <tdevries@suse.de>
344
345 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
346 (local_gettid): ... this.
347 (fn): Update.
348
74e4b667
SL
3492020-07-13 Sandra Loosemore <sandra@codesourcery.com>
350
351 * gdb.base/info_sources.exp: Skip directory match tests on
352 remote hosts.
353
f413dd74
GB
3542020-07-13 Gary Benson <gbenson@redhat.com>
355
356 * gdb.base/savedregs.exp (caller): Use parentheses to
357 make expected expression evaluation ordering explicit.
358
915771bb
GB
3592020-07-13 Gary Benson <gbenson@redhat.com>
360
361 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
362
2a122642
GB
3632020-07-13 Gary Benson <gbenson@redhat.com>
364
365 * gdb.base/bigcore.c (main): Use a volatile pointer when
366 attempting to trigger a SIGSEGV.
367 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
368 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
369 * gdb.base/savedregs.c (thrower): Likewise.
370 * gdb.mi/mi-syn-frame.c (bar): Likewise.
371
3f00c730
GB
3722020-07-13 Gary Benson <gbenson@redhat.com>
373
374 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
375 defining and using VLA structure fields into...
376 * gdb.base/vla-struct-fields.c: New file.
377 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
378 tests into...
379 * gdb.base/vla-struct-fields.exp: New file.
380
963eeee4
TV
3812020-07-13 Tom de Vries <tdevries@suse.de>
382
383 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
384 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
385 * gdb.base/gold-gdb-index.exp: Same.
386 * gdb.base/morestack.exp: Same.
387
0ed35c9a
DX
3882020-07-11 Daniel Xu <dxu@dxuuu.xyz>
389
390 PR rust/26121
391 * gdb.rust/modules.rs: Prevent linker from discarding test
392 symbol.
393
4fdba23d
PA
3942020-07-10 Pedro Alves <pedro@palves.net>
395
396 PR gdb/26199
397 * gdb.multi/multi-target.c (exit_thread): New.
398 (thread_start): Break loop if EXIT_THREAD.
399 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
400 (top level) Call test_no_resumed.
401
15f3b077
TT
4022020-07-08 Tom Tromey <tromey@adacore.com>
403
404 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
405 * gdb.ada/catch_ex.exp: Examine catchpoint text.
406
9fc501fd
AB
4072020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
408
409 PR python/22748
410 * gdb.opt/inline-frame-tailcall.c: New file.
411 * gdb.opt/inline-frame-tailcall.exp: New file.
412 * gdb.python/py-unwind-inline.c: New file.
413 * gdb.python/py-unwind-inline.exp: New file.
414 * gdb.python/py-unwind-inline.py: New file.
415
64cb3757
AB
4162020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
417
418 * gdb.python/py-arch-reg-groups.exp: New file.
419
0f767f94
AB
4202020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
421
422 * gdb.python/py-arch-reg-names.exp: New file.
423
87dbc774
AB
4242020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
425
426 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
427 gdb.PendingFrame.architecture method.
428
d8cc8af6
TV
4292020-07-06 Tom de Vries <tdevries@suse.de>
430
431 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
432
3c8ea5be
PA
4332020-07-03 Pedro Alves <palves@redhat.com>
434
435 * gdb.base/structs2.c (main): Adjust second parem_reg call to
436 explicitly write negative numbers.
437 * gdb.base/structs2.exp: Adjust expected output.
438
bf90c83a
PA
4392020-07-03 Pedro Alves <palves@redhat.com>
440
441 * gdb.base/charset.c (init_string): Change all char parameters to
442 unsigned char parameters.
443
2eb82157
PA
4442020-07-03 Pedro Alves <palves@redhat.com>
445
446 * gdb.base/call-sc.exp (start_scalars_test): Use
447 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
448 * gdb.base/overlays.c: Remove references to PARAMS.
449 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
450 * gdb.base/reread.exp: Don't set 'prototypes' global.
451 * gdb.base/structs.exp (start_structs_test): Use
452 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
453 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
454 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
455 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
456 call.
457 * gdb.base/varargs.exp: Don't set 'prototypes' global.
458
9adda7af
PA
4592020-07-03 Pedro Alves <palves@redhat.com>
460
461 * gdb.base/m32rovly.c: Delete.
462 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
463
2a17c803
PW
4642020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
465
466 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
467 of gdb_py_test_multiple.
468 * gdb.python/py-cmd.exp: Likewise.
469 * gdb.python/py-events.exp: Likewise.
470 * gdb.python/py-function.exp: Likewise.
471 * gdb.python/py-inferior.exp: Likewise.
472 * gdb.python/py-infthread.exp: Likewise.
473 * gdb.python/py-linetable.exp: Likewise.
474 * gdb.python/py-parameter.exp: Likewise.
475 * gdb.python/py-value.exp: Likewise.
476
b011fe1a
TV
4772020-06-30 Tom de Vries <tdevries@suse.de>
478
479 PR testsuite/26175
480 * lib/future.exp (gdb_default_target_compile): Detect and handle
481 early_flags.
482
df5b8876
SM
4832020-06-29 Simon Marchi <simon.marchi@efficios.com>
484
485 * boards/simavr.exp (gdb_load): Catch errors when closing
486 previous connection. Close connection, wait for process and
487 unset simavr_spawn_id on failure.
488
a3ca48cd
TV
4892020-06-29 Tom de Vries <tdevries@suse.de>
490
491 * lib/gdb.exp (unknown): Make test-case unresolved.
492
b0237c0e
TV
4932020-06-29 Tom de Vries <tdevries@suse.de>
494
495 PR gdb/25475
496 * gdb.server/solib-list.exp: Verify that the symbol reload
497 confirmation question is asked.
498
c0b3b3bd
PW
4992020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
500
501 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
502 have a input seq nr in each pass message.
503 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
504 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
505 * gdb.python/python.exp: Make test names unique,
506 use gdb_test_multiline instead of gdb_py_test_multiple,
507 use $gdb_test_name.
508 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
509
1776e3e5
NA
5102020-06-26 Nick Alcock <nick.alcock@oracle.com>
511
512 * configure.ac: Add --enable-libctf.
513 * aclocal.m4: sinclude ../config/enable.m4.
514 * Makefile.in (site.exp): Add enable_libctf to site.exp.
515 * lib/gdb.exp (skip_ctf_tests): Use it.
516 * gdb.base/ctf-constvars.exp: Error message tweak.
517 * gdb.base/ctf-ptype.exp: Likewise.
518 * configure: Regenerate.
519
f53b3eeb
GB
5202020-06-26 Gary Benson <gbenson@redhat.com>
521
522 * gdb.cp/try_catch.cc: Include string.h.
523 (main): Replace comparison against string literal with
524 strcmp, avoiding build failure with -Wstring-compare.
525 Add "marker test-complete".
526 * gdb.cp/try_catch.exp: Run the test to the above marker,
527 then verify that the value of "test" is still true.
528
6d74da72
AB
5292020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
530
531 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
532
2e52d038
AB
5332020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
534
535 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
536
3b9fce96
AB
5372020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
538
539 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
540 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
541 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
542 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
543 * gdb.arch/riscv-tdesc-loading.exp: New file.
544
ed69cbc8
AB
5452020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
546
547 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
548
767a879e
AB
5492020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
550
551 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
552 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
553 * gdb.arch/riscv-tdesc-regs.c: New file.
554 * gdb.arch/riscv-tdesc-regs.exp: New file.
555
221db974
PA
5562020-06-24 Pedro Alves <palves@redhat.com>
557
558 * gdb.arch/amd64-entry-value-paramref.exp: Use
559 prepare_for_testing_full and don't pass "c++" for the .S file
560 build spec.
561 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
562 $options, since it's an assembly file. Remove -Wno-deprecated.
563 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
564 compiling C++ programs.
565
331733cd
PA
5662020-06-24 Pedro Alves <palves@redhat.com>
567
568 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
569 Clang, add "-Wno-unknown-warning-option" to the options.
570
caa7fd04
AB
5712020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
572
573 * gdb.xml/tdesc-reload.c: New file.
574 * gdb.xml/tdesc-reload.exp: New file.
575 * gdb.xml/maint-xml-dump-01.xml: New file.
576 * gdb.xml/maint-xml-dump-02.xml: New file.
577 * gdb.xml/maint-xml-dump.exp: New file.
578
bb8d1260
SL
5792020-06-23 Sandra Loosemore <sandra@codesourcery.com>
580
581 * lib/completion-support.exp (test_gdb_completion_offers_commands):
582 Adjust for omitted commands when TUI is disabled.
583
7e4b9c4c
GB
5842020-06-23 Gary Benson <gbenson@redhat.com>
585 Pedro Alves <palves@redhat.com>
586
587 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
588 * gdb.cp/nsimport.cc: Likewise.
589 * gdb.cp/nsnested.cc: Likewise.
590 * gdb.cp/nsnoimports.cc: Likewise.
591 * gdb.cp/nsusing.cc: Likewise.
592 * gdb.cp/smartp.cc: Likewise.
593 * gdb.python/py-pp-integral.c: Likewise.
594 * gdb.python/py-pp-re-notag.c: Likewise.
595
2e573c0a
GB
5962020-06-23 Gary Benson <gbenson@redhat.com>
597
598 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
599 * gdb.cp/nsimport.cc: Likewise.
600 * gdb.cp/nsnested.cc: Likewise.
601 * gdb.cp/nsnoimports.cc: Likewise.
602 * gdb.cp/nsusing.cc: Likewise.
603 * gdb.cp/smartp.cc: Likewise.
604 * gdb.python/py-pp-integral.c: Likewise.
605 * gdb.python/py-pp-re-notag.c: Likewise.
606
746ebfe8
PW
6072020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
608
609 * gdb.base/default-args.exp: New test.
610 * gdb.base/default-args.c: New file.
611 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
612 * gdb.base/default.exp: Update to new help text.
613 * gdb.base/help.exp: Likewise.
614 * gdb.base/page.exp: Likewise.
615 * gdb.base/style.exp: Likewise.
616 * gdb.guile/guile.exp: Likewise.
617 * gdb.python/python.exp: Likewise.
618
e822f2cd
SL
6192020-06-22 Sandra Loosemore <sandra@codesourcery.com>
620
621 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
622 remote host. Fix search path syntax on Windows host.
623
48e9cc84
PW
6242020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
625
626 * gdb.base/attach.exp: Test priority of 'exec-file' changed
627 over 'exec-file-mismatch'.
628 * gdb.base/attach.c: Mark should_exit volatile.
629 * gdb.base/attach2.c: Likewise. Add a comment explaining
630 why the sleep cannot be big.
631 * gdb.base/attach3.c: New file.
632
160f8a8f
SL
6332020-06-20 Sandra Loosemore <sandra@codesourcery.com>
634
635 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
636 prefix optional.
637
4d91c2a4
SL
6382020-06-20 Sandra Loosemore <sandra@codesourcery.com>
639
640 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
641 for remote host.
642
87f83f20
SL
6432020-06-19 Sandra Loosemore <sandra@codesourcery.com>
644 Hafiz Abid Qadeer <abidh@codesourcery.com>
645
646 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
647 file sent to remote host.
648 (top level): Allow int32_t as type of 32-bit register.
649
37ab8655
TV
6502020-06-19 Tom de Vries <tdevries@suse.de>
651
652 * lib/gdb.exp (gdb_note): New proc.
653 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
654 (gdb_default_target_compile): ... here. Only call
655 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
656 (use_gdb_compile): Change to array.
657 (toplevel): Update sets of use_gdb_compile to specify language.
658 Warn about default_target_compile override. Store dejagnu's version
659 of default_target_compile in dejagnu_default_target_compile.
660
a8a56685
TV
6612020-06-18 Tom de Vries <tdevries@suse.de>
662
663 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
664 (default_gdb_init): ... here.
665
581bea2c
SL
6662020-06-17 Sandra Loosemore <sandra@codesourcery.com>
667
668 Fix TUI support checks in gdb.tui tests.
669
670 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
671 just say UNSUPPORTED.
672 * gdb.tui/corefile-run.exp: Likewise.
673 * gdb.tui/empty.exp: Likewise.
674 * gdb.tui/list-before.exp: Likewise.
675 * gdb.tui/list.exp: Likewise.
676 * gdb.tui/main.exp: Likewise.
677 * gdb.tui/regs.exp: Likewise.
678 * gdb.tui/resize.exp: Likewise.
679 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
680 * gdb.tui/tui-layout-asm.exp: Likewise.
681 * gdb.tui/tui-missing-src.exp: Likewise.
682 * gdb.tui/winheight.exp: Likewise.
683 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
684
05e682e3
SL
6852020-06-17 Sandra Loosemore <sandra@codesourcery.com>
686
687 Fix TCL error in gdb.python/py-format-string.exp.
688
689 * gdb.python/py-format-string.exp: Move test for python support
690 earlier, out of function body.
691
efb763a5
SM
6922020-06-15 Simon Marchi <simon.marchi@efficios.com>
693
694 * gdb.base/index-cache-load-twice.c: New.
695 * gdb.base/index-cache-load-twice.exp: New.
696
43327b20
KS
6972020-06-17 Keith Seitz <keiths@redhat.com>
698
99cf27cf 699 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
700 when executing "gdb --configuration".
701
081e778c
TV
7022020-06-17 Tom de Vries <tdevries@suse.de>
703
704 * lib/gdb.exp (gdb_tcl_unknown): New proc.
705 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
706 conditional on presence of gdb_tcl_unknown.
707 (gdb_finish): Make override undo conditional on presence of
708 gdb_tcl_unknown.
709
d2d1ea20
TT
7102020-06-16 Tom Tromey <tom@tromey.com>
711
712 * gdb.python/tui-window.py (failwin): New function. Register it
713 as a TUI window type.
714 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
715
c802e8a7
GB
7162020-06-16 Gary Benson <gbenson@redhat.com>
717
718 * gdb.python/py-nested-maps.c (create_map): Add missing return
719 value.
720 (create_map_map): Likewise.
721
ff08abb8
TBA
7222020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
723
724 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
725 variable.
726 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
727 and use the already-defined 'options' variable.
728
a29d5112
AB
7292020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
730 Tom de Vries <tdevries@suse.de>
731
732 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
733 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
734 (gdb_setup_known_globals): New proc.
735 (gdb_cleanup_globals): New proc.
736 * lib/gdb.exp (load_lib): New override proc.
737 (gdb_stdin_log_init): Set var in_file as persistent global.
738 * lib/pascal.exp (gdb_stdin_log_init): Set vars
739 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
740 fpc_compiler as persistent global.
741
8c74a764
TV
7422020-06-12 Tom de Vries <tdevries@suse.de>
743
744 * lib/tuiterm.exp (spawn): Rename to ...
745 (tui_spawn): ... this.
746 (toplevel): Move rename of spawn ...
747 (gdb_init_tuiterm): ... here. New proc.
748 (gdb_finish_tuiterm): New proc.
749 * lib/gdb.exp (gdb_finish_hooks): New global var.
750 (gdb_finish): Handle gdb_finish_hooks.
751 (tuiterm_env): New proc.
752 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
753 tuiterm_env.
754 * gdb.tui/basic.exp: Same.
755 * gdb.tui/corefile-run.exp: Same.
756 * gdb.tui/empty.exp: Same.
757 * gdb.tui/list-before.exp: Same.
758 * gdb.tui/list.exp: Same.
759 * gdb.tui/main.exp: Same.
760 * gdb.tui/new-layout.exp: Same.
761 * gdb.tui/regs.exp: Same.
762 * gdb.tui/resize.exp: Same.
763 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
764 * gdb.tui/tui-layout-asm.exp: Same.
765 * gdb.tui/tui-missing-src.exp: Same.
766 * gdb.tui/winheight.exp: Same.
767
26783bce
TV
7682020-06-12 Tom de Vries <tdevries@suse.de>
769
770 PR testsuite/26110
771 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
772 (gdb_finish): Reinstall dejagnu's override of ::unknown.
773
2b4e6a3f
TT
7742020-06-11 Tom Tromey <tom@tromey.com>
775
776 PR gdb/18318:
777 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
778 floating point tests.
779
2f33032a
KS
7802020-06-11 Keith Seitz <keiths@redhat.com>
781
782 PR gdb/21356
783 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
784 vla_struct.
785 Add new struct vla_typedef and union vla_typedef_union and
786 corresponding instantiation objects.
787 Initialize new objects.
788 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
789 and vla_typedef_union_object.
790 Fixup type for vla_struct_object.
791
a8baf0a3
TV
7922020-06-11 Tom de Vries <tdevries@suse.de>
793
794 * lib/gdb.exp (with_override): New proc, factored out of ...
795 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
796
7ab96794
TV
7972020-06-10 Tom de Vries <tdevries@suse.de>
798
799 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
800
cab5c3b7
SM
8012020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
802
803 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
804 parameter, update callers.
805
f8c41851
SM
8062020-06-04 Simon Marchi <simon.marchi@efficios.com>
807
808 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
809 * gdb.dwarf2/share-psymtabs-bt.c: New file.
810 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
811
1c07a73f
TV
8122020-06-04 Tom de Vries <tdevries@suse.de>
813
814 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
815
95146b5d
TV
8162020-06-04 Tom de Vries <tdevries@suse.de>
817
818 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
819 exp_continue.
820
0cfcd4f0
TV
8212020-06-04 Tom de Vries <tdevries@suse.de>
822
823 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
824
f9b5d5ea
TV
8252020-06-03 Tom de Vries <tdevries@suse.de>
826
827 PR symtab/26046
828 * gdb.cp/breakpoint-locs-2.cc: New test.
829 * gdb.cp/breakpoint-locs.cc: New test.
830 * gdb.cp/breakpoint-locs.exp: New file.
831 * gdb.cp/breakpoint-locs.h: New test.
832
5144dfba
TV
8332020-06-03 Tom de Vries <tdevries@suse.de>
834
835 PR testsuite/25609
836 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
837 value of global verbose.
838 * gdb.base/jit-elf.exp: Same.
839 * gdb.base/jit-reader.exp: Same.
840
621eacdf
TV
8412020-06-02 Tom de Vries <tdevries@suse.de>
842
843 * gdb.dwarf2/multidictionary.exp: Don't use
844 gdb_spawn_with_cmdline_opts.
845
1313c56e
AB
8462020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
847
848 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
849 use_header case.
850 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
851 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
852 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
853 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
854 * gdb.dwarf2/dw2-inline-header.c: New file.
855 * gdb.dwarf2/dw2-inline-header.h: New file.
856
f68f85b5
PA
8572020-05-30 Pedro Alves <palves@redhat.com>
858
859 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
860 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
861
678048e8
GB
8622020-05-29 Gary Benson <gbenson@redhat.com>
863
864 * gdb.compile/compile-cplus.exp (additional_flags): Also
865 set when building with clang.
866 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
867 when building with clang.
868
9fcafd23
GB
8692020-05-29 Gary Benson <gbenson@redhat.com>
870
871 * gdb.arch/i386-avx.exp (additional_flags): Also set when
872 building with clang.
873 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
874
735d5a07
GB
8752020-05-29 Gary Benson <gbenson@redhat.com>
876
877 * gdb.cp/koenig.exp (prepare_for_testing): Add
878 additional_flags=-Wno-unused-comparison.
879 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
880
4ad2c6a0
GB
8812020-05-28 Gary Benson <gbenson@redhat.com>
882
883 * gdb.base/sigaltstack.c (catcher): Add default case to switch
884 statement.
885
09fe663e
GB
8862020-05-28 Gary Benson <gbenson@redhat.com>
887
888 * gdb.cp/classes.exp (prepare_for_testing): Add
889 additional_flags=-Wno-deprecated-register.
890 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
891 * gdb.cp/misc.exp: Likewise.
892
cee00f17
GB
8932020-05-28 Gary Benson <gbenson@redhat.com>
894
895 * gdb.linespec/cpls-ops.cc (dummy): New static global.
896 (test_op_new::operator new): Add return statement.
897 (test_op_new_array::operator new[]): Likewise.
898
636edd00
PA
8992020-05-27 Pedro Alves <palves@redhat.com>
900
901 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
902 check. Use test_gdb_complete_unique instead of
903 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
904 test_gdb_complete_multiple instead of
905 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
906
c2b75043
LM
9072020-05-27 Luis Machado <luis.machado@linaro.org>
908
909 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
910 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
911 * gdb.arch/arm-disassembler-options.exp: Likewise.
912 * gdb.arch/arm-disp-step.exp: Likewise.
913 * gdb.arch/thumb-prologue.exp: Likewise.
914 * gdb.base/async.exp: Likewise.
915 * gdb.base/auxv.exp: Likewise.
916 * gdb.base/complex-parts.exp: Likewise.
917 * gdb.base/ena-dis-br.exp: Likewise.
918 * gdb.base/foll-exec.exp: Likewise.
919 * gdb.base/permissions.exp: Likewise.
920 * gdb.base/relocate.exp: Likewise.
921 * gdb.base/return2.exp: Likewise.
922 * gdb.base/sigbpt.exp: Likewise.
923 * gdb.base/siginfo-obj.exp: Likewise.
924 * gdb.cp/converts.exp: Likewise.
925 * gdb.cp/exceptprint.exp: Likewise.
926 * gdb.cp/inherit.exp: Likewise.
927 * gdb.cp/nsnoimports.exp: Likewise.
928 * gdb.cp/virtbase2.exp: Likewise.
929 * gdb.mi/mi-var-cmd.exp: Likewise.
930 * gdb.mi/var-cmd.c: Likewise.
931
53a47a3e
TT
9322020-05-26 Tom Tromey <tromey@adacore.com>
933
934 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
935
0bc2354b
TT
9362020-05-26 Tom Tromey <tromey@adacore.com>
937
938 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
939 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
940 type.
941 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
942 variable.
943
0db49895
CBG
9442020-05-26 Christian Biesinger <cbiesinger@google.com>
945
946 * Makefile.in: Use = instead of == for the test command
947 for portability.
948
40d22035
TV
9492020-05-26 Tom de Vries <tdevries@suse.de>
950
951 * gdb.base/gold-gdb-index-2.c: New test.
952 * gdb.base/gold-gdb-index.c: New test.
953 * gdb.base/gold-gdb-index.exp: New file.
954 * gdb.base/gold-gdb-index.h: New test.
955
043e2e02
TV
9562020-05-25 Tom de Vries <tdevries@suse.de>
957
958 * boards/gold-gdb-index.exp: New file.
959
462f72c5
SM
9602020-05-25 Simon Marchi <simon.marchi@efficios.com>
961
962 * boards/simavr.exp: New file.
963
6cf66e76
SM
9642020-05-25 Simon Marchi <simon.marchi@efficios.com>
965
966 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
967 * gdb.base/inferior-args.exp: New file.
968 * gdb.base/inferior-args.c: New file.
969
75d04512
SM
9702020-05-25 Simon Marchi <simon.marchi@efficios.com>
971
972 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
973 inferior_args. Pass it to gdb_reload.
974 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
975 inferior_args.
976 (gdb_reload): Add inferior_args argument.
977 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
978 pass it to gdbserver_run.
979 * boards/native-gdbserver.exp: Do not set noargs.
980 * boards/native-extended-gdbserver.exp (gdb_reload): Add
981 inferior_args argument.
982 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
983 * gdb.base/a2-run.exp: Check for use_gdb_stub.
984 * gdb.base/args.exp: Likewise.
985
42cf1844
TV
9862020-05-25 Tom de Vries <tdevries@suse.de>
987
988 * lib/gdb.exp (exec_is_pie): Add comment.
989
8f7d38ef
TV
9902020-05-25 Tom de Vries <tdevries@suse.de>
991
992 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
993 instead of $binfile in the untested message.
994
465e1b0f
TV
9952020-05-25 Tom de Vries <tdevries@suse.de>
996
997 PR testsuite/26031
998 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
999
3c5a0e02
TV
10002020-05-25 Tom de Vries <tdevries@suse.de>
1001
1002 * boards/gold.exp: New file.
1003
0a4f5f8c
TT
10042020-05-23 Tom Tromey <tom@tromey.com>
1005
1006 * gdb.base/style.exp: Remove completion styling test.
1007 * lib/gdb-utils.exp (style): Remove completion styles.
1008
eca1f90c
TT
10092020-05-23 Tom Tromey <tom@tromey.com>
1010
1011 * gdb.base/style.exp: Add completion styling test.
1012 * lib/gdb-utils.exp (style): Add completion styles.
1013
7c13f4e8
AB
10142020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1015
1016 * gdb.base/annota1.exp: Update expected results.
1017 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1018 test name.
1019 * gdb.cp/annota3.exp: Update expected results.
1020
41977d16
SM
10212020-05-20 Simon Marchi <simon.marchi@efficios.com>
1022
1023 PR gdb/26016
1024 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1025 against MAP_FAILED.
1026 * gdb.base/coremaker.c (mmapdata): Likewise.
1027 * gdb.base/jit-reader-host.c (main): Likewise.
1028 * gdb.base/sym-file-loader.c (load): Likewise.
1029 (load_shlib): Likewise.
1030
b4757f2e
TT
10312020-05-20 Tom Tromey <tromey@adacore.com>
1032
1033 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1034
9a0bacfb
TV
10352020-05-20 Tom de Vries <tdevries@suse.de>
1036
1037 PR symtab/25833
1038 * gdb.base/with-mf-inc.c: New test.
1039 * gdb.base/with-mf-main.c: New test.
1040 * gdb.base/with-mf.exp: New file.
1041
76571211
TT
10422020-05-19 Tom Tromey <tromey@adacore.com>
1043
1044 * gdb.rust/simple.exp: Restore missing test result.
1045
4cd9f3d5
TV
10462020-05-19 Tom de Vries <tdevries@suse.de>
1047
1048 * gdb.base/gdb-caching-proc.exp: Fix typo.
1049
7d874253
TT
10502020-05-19 Tom Tromey <tromey@adacore.com>
1051
1052 * gdb.rust/simple.exp: Add some test descriptions.
1053 (test_one_slice): Use with_test_prefix.
1054
1d727695
TV
10552020-05-18 Tom de Vries <tdevries@suse.de>
1056
1057 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1058
7f32a4d5
PA
10592020-05-17 Pedro Alves <palves@redhat.com>
1060
1061 PR gdb/25741
1062 * gdb.base/hw-sw-break-same-address.exp: New file.
1063
7cfd74cf
PA
10642020-05-16 Pedro Alves <palves@redhat.com>
1065
1066 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1067 LAST_LOADED_FILE accordingly.
1068
57b4f16e
PW
10692020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1070
1071 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1072
7c05caf7
PW
10732020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1074
1075 * gdb.base/help.exp: Test apropos and help for commands
1076 having aliases. Fixed comments not starting with an
1077 upper-case letter or not finishing with a dot.
1078
7aa1b46f
PW
10792020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1080
3b3aaacb
PW
1081 * gdb.base/alias.exp: Update help output check.
1082
57b4f16e 10832020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1084
7aa1b46f
PW
1085 * gdb.base/default.exp: Update output following fixes.
1086
0605465f
PW
10872020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1088
1089 * gdb.base/alias.exp: Test aliases starting with a prefix of
1090 another alias.
1091
86e4e63d
GB
10922020-05-15 Gary Benson <gbenson@redhat.com>
1093
1094 * gdb.base/info-os.c (main): Add return statement.
1095 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1096 * gdb.base/large-frame-2.c (func): Likewise.
1097 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1098 * gdb.base/pr10179-b.c (foo2): Likewise.
1099 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1100 * gdb.base/watch-cond.c (func): Likewise.
1101 * gdb.multi/goodbye.c (verylongfun): Likewise.
1102 * gdb.multi/hello.c (commonfun): Likewise.
1103 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1104 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1105 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1106 Likewise.
1107 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1108 * gdb.threads/interrupt-while-step-over.c (child_function):
1109 Likewise.
1110 * gdb.trace/actions-changed.c (end): Likewise.
1111
163df4df
GB
11122020-05-15 Gary Benson <gbenson@redhat.com>
1113
1114 * gdb.opencl/callfuncs.exp: Report when test skipped.
1115 * gdb.opencl/convs_casts.exp: Likewise.
1116 * gdb.opencl/datatypes.exp: Likewise.
1117 * gdb.opencl/operators.exp: Likewise.
1118 * gdb.opencl/vec_comps.exp: Likewise.
1119
6dbc505a
TV
11202020-05-15 Tom de Vries <tdevries@suse.de>
1121
1122 * gdb.base/align.exp.in: Rename to ...
1123 * gdb.base/align.exp.tcl: ... this.
1124 * gdb.base/align-c++.exp: Update.
1125 * gdb.base/align-c.exp: Update.
1126 * gdb.base/all-architectures.exp.in: Rename to ...
1127 * gdb.base/all-architectures.exp: ... this.
1128 * gdb.base/all-architectures-0.exp: Update.
1129 * gdb.base/all-architectures-1.exp: Update.
1130 * gdb.base/all-architectures-2.exp: Update.
1131 * gdb.base/all-architectures-3.exp: Update.
1132 * gdb.base/all-architectures-4.exp: Update.
1133 * gdb.base/all-architectures-5.exp: Update.
1134 * gdb.base/all-architectures-6.exp: Update.
1135 * gdb.base/all-architectures-7.exp: Update.
1136 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1137 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1138 * gdb.base/infcall-nested-structs-c++.exp: Update.
1139 * gdb.base/infcall-nested-structs-c.exp: Update.
1140 * gdb.base/info-types.exp.in: Rename to ...
1141 * gdb.base/info-types.exp.tcl: ... this.
1142 * gdb.base/info-types-c++.exp: Update.
1143 * gdb.base/info-types-c.exp: Update.
1144 * gdb.base/max-depth.exp.in: Rename to ...
1145 * gdb.base/max-depth.exp.tcl: ... this.
1146 * gdb.base/max-depth-c++.exp: Update.
1147 * gdb.base/max-depth-c.exp: Update.
1148 * gdb.cp/cpexprs.exp.in: Rename to ...
1149 * gdb.cp/cpexprs.exp.tcl: ... this.
1150 * gdb.cp/cpexprs-debug-types.exp: Update.
1151 * gdb.cp/cpexprs.exp: Update.
1152 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1153 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1154 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1155 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1156 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1157 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1158 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1159 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1160 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1161 * gdb.dwarf2/clang-debug-names.exp: Update.
1162
d1034d78
AB
11632020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1164
1165 * lib/check-test-names.exp: Remove code that prevents this file
1166 loading when tests are run in parallel.
1167
3c5c3649
PA
11682020-05-15 Pedro Alves <palves@redhat.com>
1169
1170 * gdb.multi/multi-kill.exp (start_inferior): Remove
1171 'testpid' parameter. Refer to namespace variable directly.
1172 (testpid): Declare as namespace variable.
1173
272c36b8
PA
11742020-05-15 Pedro Alves <palves@redhat.com>
1175
1176 * gdb.multi/multi-kill.exp: Wrap in namespace.
1177 (start_inferior): Add TESTPID parameter. Use it instead of the
1178 testpid global.
1179 (top level): Define empty TESTPID array, and pass it down to
1180 start_inferior.
1181
02eba61a
TV
11822020-05-14 Tom de Vries <tdevries@suse.de>
1183
1184 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1185 output.
1186
971a3747
TV
11872020-05-14 Tom de Vries <tdevries@suse.de>
1188
1189 * gdb.base/align.exp: Split into ...
1190 * gdb.base/align.exp.in: ...
1191 * gdb.base/align-c++.exp: ...
1192 * gdb.base/align-c.exp: ... these.
1193 * gdb.base/infcall-nested-structs.exp: Split into ...
1194 * gdb.base/infcall-nested-structs.exp.in: ...
1195 * gdb.base/infcall-nested-structs-c++.exp: ...
1196 * gdb.base/infcall-nested-structs-c.exp: ... these.
1197 * gdb.base/info-types.exp: Split into ...
1198 * gdb.base/info-types.exp.in: ...
1199 * gdb.base/info-types-c++.exp: ...
1200 * gdb.base/info-types-c.exp: ... these.
1201 * gdb.base/max-depth.exp: Split into ...
1202 * gdb.base/max-depth.exp.in: ...
1203 * gdb.base/max-depth-c++.exp: ...
1204 * gdb.base/max-depth-c.exp: ... these.
1205 * gdb.cp/infcall-nodebug.exp: Split into ...
1206 * gdb.cp/infcall-nodebug.exp.in: ...
1207 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1208 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1209 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1210 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1211
a05575d3
TBA
12122020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1213 Pedro Alves <palves@redhat.com>
1214
1215 * gdb.multi/multi-exit.c: New file.
1216 * gdb.multi/multi-exit.exp: New file.
1217 * gdb.multi/multi-kill.c: New file.
1218 * gdb.multi/multi-kill.exp: New file.
1219
6ad82919
TBA
12202020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1221
1222 * gdb.base/annota1.exp: Update the expected output.
1223 * gdb.cp/annota2.exp: Ditto.
1224
843f4d93
AB
12252020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1226
1227 * lib/check-test-names.exp: Disable when testing is being run in
1228 parallel.
1229
c7c66341
TV
12302020-05-12 Tom de Vries <tdevries@suse.de>
1231
1232 * gdb.base/jit-elf.exp: Fix string concat.
1233
1b59ca1c
TV
12342020-05-12 Tom de Vries <tdevries@suse.de>
1235
1236 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1237 messages.
1238
b4991d29
TV
12392020-05-12 Tom de Vries <tdevries@suse.de>
1240
1241 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1242
dbb0ab10
TV
12432020-05-12 Tom de Vries <tdevries@suse.de>
1244
1245 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1246 * gdb.ada/mi_catch_ex.exp: Same.
1247 * gdb.ada/mi_catch_ex_hand.exp: Same.
1248
7549fed8
TV
12492020-05-12 Tom de Vries <tdevries@suse.de>
1250
1251 * gdb.fortran/complex.exp: Use with_test_prefix.
1252
af2d5cd8
TV
12532020-05-12 Tom de Vries <tdevries@suse.de>
1254
1255 * gdb.trace/passcount.exp: Fix test-names.
1256
7c121311
TV
12572020-05-12 Tom de Vries <tdevries@suse.de>
1258
1259 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1260
c9f3b40e
TV
12612020-05-12 Tom de Vries <tdevries@suse.de>
1262
1263 * gdb.gdb/complaints.exp: Use with_test_prefix.
1264 * gdb.xml/tdesc-regs.exp: Same.
1265 * gdb.opt/inline-locals.exp: Fix test name.
1266
111b33f0
TV
12672020-05-12 Tom de Vries <tdevries@suse.de>
1268
1269 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1270 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1271 * gdb.dwarf2/implref-struct.exp: Same.
1272 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1273 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1274
ebf47080
SM
12752020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1276
1277 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1278
d30dcd12
AB
12792020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1280
1281 * lib/check-test-names.exp (all_test_names): New module variable.
1282 (counts): Add 'duplicates' field.
1283 (_check_duplicates): New procedure.
1284 (check): Also check for duplicates.
1285 (do_log_summary): Print duplicates count.
1286 (do_reset_vars): Reset counter for duplicate test names, and
1287 discard all know test names.
1288
34584c09
AB
12892020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1290
1291 * lib/gdb.exp: Include check-test-names.exp library.
1292 * lib/check-test-names.exp: New file.
1293
e0002117
TV
12942020-05-11 Tom de Vries <tdevries@suse.de>
1295
1296 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1297
53f539a3
KS
12982020-05-11 Keith Seitz <keiths@redhat.com>
1299
1300 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1301
113ee09a
TV
13022020-05-11 Tom de Vries <tdevries@suse.de>
1303
1304 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1305 * gdb.cp/cpexprs.exp.in: .. here.
1306 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1307 cpexprs.exp.
1308
ba3e70b0
KS
13092020-05-11 Keith Seitz <keiths@redhat.com>
1310
1311 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1312 test names.
1313 * gdb.ada/arrayptr.exp: Likewise.
1314 * gdb.ada/assign_arr.exp: Likewise.
1315 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1316 * gdb.ada/bp_on_var.exp: Likewise.
1317 * gdb.ada/call_pn.exp: Likewise.
1318 * gdb.ada/complete.exp: Likewise.
1319 * gdb.ada/fun_overload_menu.exp: Likewise.
1320 * gdb.ada/funcall_param.exp: Likewise.
1321 * gdb.ada/funcall_ref.exp: Likewise.
1322 * gdb.ada/packed_array_assign.exp: Likewise.
1323 * gdb.ada/same_component_name.exp: Likewise.
1324 * gdb.ada/type_coercion.exp: Likewise.
1325 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1326 * gdb.ada/variant_record_packed_array.exp: Likewise.
1327
3ee6bb11
TV
13282020-05-11 Tom de Vries <tdevries@suse.de>
1329
1330 PR symtab/25941
1331 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1332 out of ...
1333 * gdb.dwarf2/clang-debug-names.exp: ... here.
1334 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1335 clang-debug-names.exp.in.
1336 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1337 * gdb.dwarf2/clang-debug-names-2.c: New test.
1338
86cd6bc8
AKS
13392020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1340
1341 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1342 (fortran_runto_main): New Proc, fortran version of runto_main.
1343 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1344 * gdb.fortran/array-bounds.exp: Likewise.
1345 * gdb.fortran/array-slices.exp: Likewise.
1346 * gdb.fortran/block-data.exp: Likewise.
1347 * gdb.fortran/charset.exp: Likewise.
1348 * gdb.fortran/common-block.exp: Likewise.
1349 * gdb.fortran/complex.exp: Likewise.
1350 * gdb.fortran/derived-type-function.exp: Likewise.
1351 * gdb.fortran/derived-type.exp: Likewise.
1352 * gdb.fortran/info-modules.exp: Likewise.
1353 * gdb.fortran/info-types.exp: Likewise.
1354 * gdb.fortran/intrinsics.exp: Likewise.
1355 * gdb.fortran/library-module.exp: Likewise.
1356 * gdb.fortran/logical.exp: Likewise.
1357 * gdb.fortran/max-depth.exp: Likewise.
1358 * gdb.fortran/module.exp: Likewise.
1359 * gdb.fortran/multi-dim.exp: Likewise.
1360 * gdb.fortran/nested-funcs.exp: Likewise.
1361 * gdb.fortran/print-formatted.exp: Likewise.
1362 * gdb.fortran/print_type.exp: Likewise.
1363 * gdb.fortran/printing-types.exp: Likewise.
1364 * gdb.fortran/ptr-indentation.exp: Likewise.
1365 * gdb.fortran/ptype-on-functions.exp: Likewise.
1366 * gdb.fortran/subarray.exp: Likewise.
1367 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1368 * gdb.fortran/vla-datatypes.exp: Likewise.
1369 * gdb.fortran/vla-history.exp: Likewise.
1370 * gdb.fortran/vla-ptr-info.exp: Likewise.
1371 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1372 * gdb.fortran/vla-ptype.exp: Likewise.
1373 * gdb.fortran/vla-sizeof.exp: Likewise.
1374 * gdb.fortran/vla-type.exp: Likewise.
1375 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1376 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1377 * gdb.fortran/vla-value-sub.exp: Likewise.
1378 * gdb.fortran/vla-value.exp: Likewise.
1379 * gdb.fortran/whatis_type.exp: Likewise.
1380 * gdb.mi/mi-var-child-f.exp: Likewise.
1381
6dc55ce9 13822020-05-09 Tom de Vries <tdevries@suse.de>
1383
1384 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1385
283cb58c
TV
13862020-05-08 Tom de Vries <tdevries@suse.de>
1387
1388 * gdb.dwarf2/clang-debug-names.c: New test.
1389 * gdb.dwarf2/clang-debug-names.exp: New file.
1390
ac4a4f1c
SM
13912020-05-06 Simon Marchi <simon.marchi@efficios.com>
1392
1393 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1394 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1395
24fe640b
TV
13962020-05-06 Tom de Vries <tdevries@suse.de>
1397
1398 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1399 breakpoint is at a "recommended breakpoint location".
1400 * gdb.reverse/consecutive-reverse.exp: Same.
1401
0d8683a3
TV
14022020-05-06 Tom de Vries <tdevries@suse.de>
1403
1404 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1405 address.
1406
b8983c46
TV
14072020-05-06 Tom de Vries <tdevries@suse.de>
1408
1409 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1410
abf6d805
TV
14112020-05-06 Tom de Vries <tdevries@suse.de>
1412
1413 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1414 info for r.
1415
0fc2a808
TV
14162020-05-06 Tom de Vries <tdevries@suse.de>
1417
1418 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1419 necessary.
1420
873dd427
TV
14212020-05-06 Tom de Vries <tdevries@suse.de>
1422
1423 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1424 void.
1425
7c99e7e2
TV
14262020-05-06 Tom de Vries <tdevries@suse.de>
1427
1428 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1429 of ...
1430 * gdb.base/async.exp: ... here.
1431 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1432 "recommended breakpoint location".
1433
6173d6a6
TV
14342020-05-06 Tom de Vries <tdevries@suse.de>
1435
1436 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1437
6015a067
TV
14382020-05-04 Tom de Vries <tdevries@suse.de>
1439
1440 * gdb.base/async.exp: Check whether instruction addresses are a
1441 "recommended breakpoint location".
1442
3b6acaee
TT
14432020-05-03 Tom Tromey <tom@tromey.com>
1444
1445 * gdb.base/sepdebug.exp: Remove "catch" test.
1446 * gdb.base/break.exp: Remove "catch" test.
1447 * gdb.base/default.exp: Update expected output.
1448
5beb4d17
TV
14492020-05-02 Tom de Vries <tdevries@suse.de>
1450
1451 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1452 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1453 * gdb.arch/i386-mpx-map.exp: Same.
1454 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1455 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1456 * gdb.arch/i386-mpx.exp: Same.
1457
8caf140d
TV
14582020-05-02 Tom de Vries <tdevries@suse.de>
1459
1460 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1461
693196cb
TV
14622020-05-01 Tom de Vries <tdevries@suse.de>
1463
1464 * gdb.ada/operator_bp.exp: Allow more than required amount of
1465 breakpoint.
1466
53ae0aa9
TV
14672020-05-01 Tom de Vries <tdevries@suse.de>
1468
1469 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1470
ee9d1e5f
HD
14712020-04-30 Hannes Domani <ssbssa@yahoo.de>
1472
1473 PR gdb/18706
1474 * gdb.cp/stub-array-size.cc: New test.
1475 * gdb.cp/stub-array-size.exp: New file.
1476 * gdb.cp/stub-array-size.h: New test.
1477 * gdb.cp/stub-array-size2.cc: New test.
1478
d5cf82c0
HD
14792020-04-30 Hannes Domani <ssbssa@yahoo.de>
1480
1481 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1482 output to the new format.
1483
42e165c3
SM
14842020-04-29 Simon Marchi <simon.marchi@efficios.com>
1485
1486 * gdb.base/break.exp: Use with_test_prefix.
1487
6e4e3fe1
TV
14882020-04-29 Tom de Vries <tdevries@suse.de>
1489
1490 * lib/gdb.exp (debug_types): New proc.
1491 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1492 * gdb.python/py-symtab.exp: Same.
1493
d642b692
HD
14942020-04-29 Hannes Domani <ssbssa@yahoo.de>
1495
1496 PR gdb/17320
1497 * gdb.base/pretty-array.c: New test.
1498 * gdb.base/pretty-array.exp: New file.
1499
ea90f227
TV
15002020-04-29 Tom de Vries <tdevries@suse.de>
1501
1502 PR symtab/25889
1503 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1504 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1505 and include cpexprs.exp.
1506
a65189c9
TV
15072020-04-28 Mark Williams <mark@myosotissp.com>
1508
1509 PR gdb/24480
1510 * dw4-toplevel-types.exp: Test for top level types.
1511 * dw4-toplevel-types.cc: Test for top level types.
1512
32d1f47a
TBA
15132020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1514
1515 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1516 (theads -> threads).
1517
56a4f5a1
TV
15182020-04-28 Tom de Vries <tdevries@suse.de>
1519
1520 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1521
0b2f8a3b
TV
15222020-04-28 Tom de Vries <tdevries@suse.de>
1523
1524 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1525
5390c717
TV
15262020-04-28 Tom de Vries <tdevries@suse.de>
1527
1528 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1529
15cd93d0
TV
15302020-04-28 Tom de Vries <tdevries@suse.de>
1531
1532 * gdb.dwarf2/main-foo.c: New test.
1533 * gdb.dwarf2/struct-with-sig.exp: New file.
1534
d472f0fb
TV
15352020-04-25 Tom de Vries <tdevries@suse.de>
1536
1537 * boards/debug-types.exp: New file.
1538
8d840e05
AB
15392020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1540
1541 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1542
bcfe6157
TT
15432020-04-24 Tom Tromey <tom@tromey.com>
1544
1545 PR symtab/12707:
1546 * gdb.python/py-symbol.exp: Update expected results for
1547 linkage_name test.
1548 * gdb.cp/print-demangle.exp: New file.
1549 * gdb.base/c-linkage-name.exp: Fix test.
1550 * gdb.guile/scm-symbol.exp: Update expected results for
1551 linkage_name test.
1552
f049a313
TT
15532020-04-24 Tom Tromey <tom@tromey.com>
1554
1555 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1556 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1557 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1558 assembler.
1559
7cf28874
TV
15602020-04-24 Tom de Vries <tdevries@suse.de>
1561
1562 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1563 C++.
1564
dac2fef7
TT
15652020-04-24 Tom Tromey <tromey@adacore.com>
1566
1567 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1568 values.
1569 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1570 values. Update test for minimal encodings.
1571 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1572 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1573 values. Update test for minimal encodings.
1574
1acda803
TT
15752020-04-24 Tom Tromey <tromey@adacore.com>
1576
1577 PR python/23662:
1578 * gdb.ada/variant.exp: Add Python checks.
1579 * gdb.rust/simple.exp: Add dynamic type checks.
1580
adfb9815
TT
15812020-04-24 Tom Tromey <tromey@adacore.com>
1582
1583 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1584 Make array type matching more lax.
1585 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1586 * gdb.ada/mi_variant.exp: New file.
1587 * gdb.ada/mi_variant/pck.ads: New file.
1588 * gdb.ada/mi_variant/pkg.adb: New file.
1589 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1590 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1591
7d79de9a
TT
15922020-04-24 Tom Tromey <tromey@adacore.com>
1593
1594 * gdb.ada/variant.exp: Add dynamic field offset tests.
1595 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1596 * gdb.ada/variant/pkg.adb: Add new variables.
1597
f8e89861
TT
15982020-04-24 Tom Tromey <tromey@adacore.com>
1599
1600 * gdb.ada/variant.exp: New file
1601 * gdb.ada/variant/pkg.adb: New file
1602 * gdb.ada/variant/pck.adb: New file
1603
86e887ae
TV
16042020-04-24 Tom de Vries <tdevries@suse.de>
1605
1606 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1607
88428775
TV
16082020-04-24 Tom de Vries <tdevries@suse.de>
1609
1610 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1611 flags.
1612
4e86f6e7
TV
16132020-04-24 Tom de Vries <tdevries@suse.de>
1614
1615 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1616
2016d3e6
TV
16172020-04-24 Tom de Vries <tdevries@suse.de>
1618
1619 * lib/gdb.exp (default_gdb_start): Handle eof.
1620 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1621 failure.
1622 * gdb.base/readnever.exp: Handle clean_restart failure.
1623
70bc38f5
TV
16242020-04-23 Tom de Vries <tdevries@suse.de>
1625
1626 * gdb.base/decl-before-def.exp: Run to main and print a again.
1627
de82891c
TV
16282020-04-23 Tom de Vries <tdevries@suse.de>
1629
1630 * gdb.base/decl-before-def-decl.c: New test.
1631 * gdb.base/decl-before-def-def.c: New test.
1632 * gdb.base/decl-before-def.exp: New file.
1633
96038148
TV
16342020-04-23 Tom de Vries <tdevries@suse.de>
1635
1636 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1637
54ac3df1
TV
16382020-04-22 Tom de Vries <tdevries@suse.de>
1639
1640 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1641 debug_info_offset.
1642 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1643 before $objsfile in the line line.
1644
714534e1
TV
16452020-04-22 Tom de Vries <tdevries@suse.de>
1646
1647 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1648
16a7dbf4
MS
16492020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1650
1651 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1652 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1653 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1654 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1655 * gdb.base/jit-protocol.h: Update definitions to match all usage
1656 contexts.
1657
16582020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1659
1660 * gdb.base: Rename all jit related test and source files.
1661
16622020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1663
1664 * gdb.base/jit-reader.exp: Relax register output check.
1665
317d2668
TV
16662020-04-22 Tom de Vries <tdevries@suse.de>
1667
1668 PR symtab/25764
1669 * gdb.base/psym-external-decl-2.c: New test.
1670 * gdb.base/psym-external-decl.c: New test.
1671 * gdb.base/psym-external-decl.exp: New file.
1672 * gdb.threads/tls.exp: Add PR25807 kfail.
1673
eea9e357
TV
16742020-04-22 Tom de Vries <tdevries@suse.de>
1675
1676 PR symtab/25801
1677 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1678 in "info source" output.
1679
3d5afab3
TV
16802020-04-22 Tom de Vries <tdevries@suse.de>
1681
1682 PR symtab/25700
1683 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1684 symtab for imported_unit.c.
1685
b32102f6
GB
16862020-04-21 Gary Benson <gbenson@redhat.com>
1687
1688 * gdb.base/advance.c (func): New argument, to match call site.
1689 (func2, func3): Add return statements.
1690
d43b7a2d
TBA
16912020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1692
1693 * gdb.multi/run-only-second-inf.c: New file.
1694 * gdb.multi/run-only-second-inf.exp: New file.
1695
d89edf9b
MM
16962020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1697
1698 * gdb.btrace/multi-inferior.c: New test.
1699 * gdb.btrace/multi-inferior.exp: New file.
1700
1a476b6d
MM
17012020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1702
1703 * gdb.btrace/enable-new-thread.c: New test.
1704 * gdb.btrace/enable-new-thread.exp: New file.
1705
4778a5f8
TV
17062020-04-21 Tom de Vries <tdevries@suse.de>
1707
1708 PR gdb/25471
1709 * gdb.threads/killed-outside.c: New test.
1710 * gdb.threads/killed-outside.exp: New file.
1711
9b2c992c
GB
17122020-04-20 Gary Benson <gbenson@redhat.com>
1713
1714 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1715 * gdb.base/nested-subp2.exp: Likewise.
1716 * gdb.base/nested-subp3.exp: Likewise.
1717
b5d1d6f7
GB
17182020-04-20 Gary Benson <gbenson@redhat.com>
1719
1720 * gdb.base/nested-subp1.exp: Disable test when using clang.
1721 * gdb.base/nested-subp2.exp: Likewise.
1722 * gdb.base/nested-subp3.exp: Likewise.
1723
25230285
GB
17242020-04-20 Gary Benson <gbenson@redhat.com>
1725
1726 * gdb.cp/exception.cc: Fix compilation error with clang.
1727
fa93cc8f
GB
17282020-04-20 Gary Benson <gbenson@redhat.com>
1729
809730f3 1730 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 1731
e0c45f30
GB
17322020-04-20 Gary Benson <gbenson@redhat.com>
1733
1734 * gdb.base/jit-main.c: Fix compilation error with clang.
1735
4ddfec93
KR
17362020-04-17 Kamil Rytarowski <n54@gmx.com>
1737
1738 * gdb.base/attach-twice.c: Include "sys/types.h".
1739 (PTRACE_ATTACH): Add fallback definition.
1740 (main): Pass `0' to the 4th argument of `ptrace'.
1741
2bed205e
KR
17422020-04-17 Kamil Rytarowski <n54@gmx.com>
1743
1744 * gdb.base/fork-running-state.c: Include "signal.h".
1745
0743fc83
TT
17462020-04-17 Tom Tromey <tromey@adacore.com>
1747
1748 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1749 Update tests.
1750 * gdb.btrace/cpu.exp: Update tests.
1751 * gdb.base/maint.exp: Update tests.
1752 * gdb.base/default.exp: Update tests.
1753 * gdb.base/completion.exp: Update tests.
1754
efba5c23
TV
17552020-04-16 Tom de Vries <tdevries@suse.de>
1756
1757 PR symtab/25791
1758 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1759 (ensure_gdb_index): and factor out and move ...
1760 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1761 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1762
d191d716
TV
17632020-04-16 Tom de Vries <tdevries@suse.de>
1764
1765 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1766 loading exec.
1767
99f1bc6a
AB
17682020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1769
1770 * gdb.base/many-completions.exp: New file.
1771
194d088f
TV
17722020-04-14 Tom de Vries <tdevries@suse.de>
1773
1774 PR symtab/25718
1775 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1776
c1a66c06
TV
17772020-04-14 Tom de Vries <tdevries@suse.de>
1778
1779 PR symtab/25720
1780 * gdb.base/maint-expand-symbols-header-file.c: New test.
1781 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1782 * gdb.base/maint-expand-symbols-header-file.h: New test.
1783
21b0982c
AB
17842020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1785
1786 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1787 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1788 get_func_info.
1789 (get_func_info): Delete.
1790 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1791 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1792 * lib/dwarf.exp (get_func_info): New function.
1793
dd1cab06
TV
17942020-04-13 Tom de Vries <tdevries@suse.de>
1795
1796 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1797 to what find_gnatmake does.
1798
71ea2b6b
TV
17992020-04-10 Tom de Vries <tdevries@suse.de>
1800
1801 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1802 -readnow.
1803
bdfc1e8a
TV
18042020-04-10 Tom de Vries <tdevries@suse.de>
1805
1806 PR cli/25808
1807 * gdb.base/style.c: Add leading newlines.
1808 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1809 Check listing of main's one-line body.
1810
14ca8ecf
TV
18112020-04-08 Tom de Vries <tdevries@suse.de>
1812
1813 * lib/gdb.exp (psymtabs_p): New proc.
1814 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1815 importing unit" unsupported if there are no partial symbols.
1816
e21d048f
TV
18172020-04-08 Tom de Vries <tdevries@suse.de>
1818
1819 PR testsuite/25760
1820 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1821
25c11aca
TV
18222020-04-07 Tom de Vries <tdevries@suse.de>
1823
1824 PR symtab/25796
1825 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1826
5707e24b
TV
18272020-04-07 Tom de Vries <tdevries@suse.de>
1828
1829 * gdb.base/check-psymtab.c: New test.
1830 * gdb.base/check-psymtab.exp: New file.
1831
6ee448cc
TT
18322020-04-06 Tom Tromey <tromey@adacore.com>
1833
1834 * gdb.ada/variant-record/proc.adb: New file.
1835 * gdb.ada/variant-record/value.adb: New file.
1836 * gdb.ada/variant-record/value.s: New file.
1837 * gdb.ada/variant-record.exp: New file.
1838
9e7c9a03
HD
18392020-04-03 Hannes Domani <ssbssa@yahoo.de>
1840
1841 PR gdb/25325
1842 * gdb.cp/typed-enum.cc: New test.
1843 * gdb.cp/typed-enum.exp: New file.
1844
c90d28ac
AB
18452020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1846
1847 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1848 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1849 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1850 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1851 * gdb.opt/inline-small-func.c: New file.
1852 * gdb.opt/inline-small-func.exp: New file.
1853 * gdb.opt/inline-small-func.h: New file.
1854
34e9a9fa
AB
18552020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1856
1857 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1858 function.
1859
6a354911
AB
18602020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1861
1862 * lib/dwarf.exp (function_range): Allow compiler options to be
1863 specified.
1864
880d9777
TV
18652020-04-02 Tom de Vries <tdevries@suse.de>
1866
1867 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1868 __attribute__((always_inline)).
1869 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1870
f32682ea
TV
18712020-04-02 Tom de Vries <tdevries@suse.de>
1872
1873 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1874 (gdbserver_gdb_exit): ... here. Add timeout warning.
1875 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1876 (connect_target_extended_remote): Append new server_spawn_id to
1877 server_spawn_ids.
1878 (cleanup): New proc.
1879 (setup, <toplevel>): Call cleanup.
1880
d3214198
TV
18812020-04-02 Tom de Vries <tdevries@suse.de>
1882
1883 * gdb.base/main-psymtab.exp: New file.
1884
cc77ed24
TV
18852020-04-02 Tom de Vries <tdevries@suse.de>
1886
1887 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1888
3638a098
TT
18892020-04-01 Tom Tromey <tom@tromey.com>
1890
1891 * gdb.base/complex-parts.exp: Add type tests.
1892
c34e8714
TT
18932020-04-01 Tom Tromey <tom@tromey.com>
1894
1895 * gdb.base/complex-parts.exp: Add arithmetic tests.
1896
981c08ce
TT
18972020-04-01 Tom Tromey <tom@tromey.com>
1898
1899 * gdb.compile/compile.exp: Update.
1900 * gdb.compile/compile-cplus.exp: Update.
1901 * gdb.base/varargs.exp: Update.
1902 * gdb.base/floatn.exp: Update.
1903 * gdb.base/endianity.exp: Update.
1904 * gdb.base/callfuncs.exp (do_function_calls): Update.
1905 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1906 (complex_float_integral_args): Update.
1907 * gdb.base/complex.exp: Update.
1908 * gdb.base/complex-parts.exp: Update.
1909
3d1cfd43
TT
19102020-04-01 Tom Tromey <tromey@adacore.com>
1911
1912 * gdb.rust/union.rs: New file.
1913 * gdb.rust/union.exp: New file.
1914 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1915 (main): Update.
1916 * gdb.rust/simple.exp: Move union tests to union.exp.
1917
e033dfa9
TT
19182020-04-01 Tom Tromey <tromey@adacore.com>
1919
1920 * gdb.rust/simple.rs (main): Remove "y0".
1921
53cccef1
TBA
19222020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1923
1924 * gdb.multi/stop-all-on-exit.c: New test.
1925 * gdb.multi/stop-all-on-exit.exp: New file.
1926
60e22c1e
HD
19272020-04-01 Hannes Domani <ssbssa@yahoo.de>
1928
1929 PR gdb/24789
1930 * gdb.cp/misc.cc: Add integer reference variable.
1931 * gdb.cp/misc.exp: Add test.
1932
e139a727
TBA
19332020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1934
1935 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1936 scenario to cover execution until the end and also the case
1937
16b0db75
TV
19382020-03-31 Tom de Vries <tdevries@suse.de>
1939
1940 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1941 c. Use "maint info symtabs" to check symtab expansion.
1942
c0502da6
TV
19432020-03-30 Tom de Vries <tdevries@suse.de>
1944
1945 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1946 unsupported.
1947 (verify_psymtab_expanded): Move ...
1948 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1949 test.
1950 (readnow): New proc.
1951
5935fd15
AB
19522020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1953
1954 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1955 with $hex.
1956
1773be9e
TT
19572020-03-20 Tom Tromey <tromey@adacore.com>
1958
1959 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1960
70304be9
TT
19612020-03-20 Tom Tromey <tromey@adacore.com>
1962
1963 * gdb.ada/sub_variant/subv.adb: New file.
1964 * gdb.ada/sub_variant.exp: New file.
1965
0dd7b8f7
TV
19662020-03-20 Tom de Vries <tdevries@suse.de>
1967
1968 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1969 first break fails.
1970 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1971
cada5fc9
AB
19722020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1973
1974 * gdb.server/exit-multiple-threads.c: New file.
1975 * gdb.server/exit-multiple-threads.exp: New file.
1976
6b8c53f2
AB
19772020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1978
1979 * gdb.fortran/mixed-lang-stack.c: New file.
1980 * gdb.fortran/mixed-lang-stack.cpp: New file.
1981 * gdb.fortran/mixed-lang-stack.exp: New file.
1982 * gdb.fortran/mixed-lang-stack.f90: New file.
1983
19a2740f
AB
19842020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1985
1986 * gdb.linespec/cp-completion-aliases.cc: New file.
1987 * gdb.linespec/cp-completion-aliases.exp: New file.
1988
d8c8b848
TV
19892020-03-19 Tom de Vries <tdevries@suse.de>
1990
1991 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1992 more precise.
1993
a9933ccf
TV
19942020-03-18 Tom de Vries <tdevries@suse.de>
1995
1996 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1997 * gdb.dwarf2/break-inline-psymtab.c: New test.
1998 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1999
2f89101f
TV
20002020-03-16 Tom de Vries <tdevries@suse.de>
2001
2002 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2003 cache_verify and cache_verify_proc.
2004
6b9374f1
TV
20052020-03-15 Tom de Vries <tdevries@suse.de>
2006
2007 * gdb.server/solib-list.exp: Handle
2008 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2009
eaeaf44c
TV
20102020-03-15 Tom de Vries <tdevries@suse.de>
2011
2012 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2013 objfiles".
2014
3293bbaf
TT
20152020-03-14 Tom Tromey <tom@tromey.com>
2016
2017 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2018
ab44624c
TV
20192020-03-14 Tom de Vries <tdevries@suse.de>
2020
2021 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2022
54c43825
TV
20232020-03-14 Tom de Vries <tdevries@suse.de>
2024
2025 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2026 result in line-by-line fashion.
2027
2ac70237
TV
20282020-03-14 Tom de Vries <tdevries@suse.de>
2029
2030 * lib/gdb.exp (supports_statement_frontiers): New proc.
2031 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2032
09546b56
TV
20332020-03-14 Tom de Vries <tdevries@suse.de>
2034
2035 * gdb.base/printcmds.exp: Add missing quoting for "print
2036 teststring2".
2037
a1f6a07c
TT
20382020-03-13 Tom Tromey <tom@tromey.com>
2039
2040 * gdb.base/printcmds.exp (test_print_strings): Add regression
2041 test.
2042 * gdb.base/printcmds.c (charptr): New typedef.
2043 (teststring2): New global.
2044
1b83d09c
AB
20452020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2046
2047 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2048 full path in the test name.
2049 (test_ld): Add some with_test_prefix blocks to make test names
2050 unique.
2051
2d61316c
TV
20522020-03-13 Tom de Vries <tdevries@suse.de>
2053
2054 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2055
2e9145ac
TV
20562020-03-13 Tom de Vries <tdevries@suse.de>
2057
2058 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2059
96c7f873
TV
20602020-03-13 Tom de Vries <tdevries@suse.de>
2061
2062 PR symtab/25646
2063 * gdb.dwarf2/imported-unit.exp: Add test.
2064
49ba92c0
TV
20652020-03-13 Tom de Vries <tdevries@suse.de>
2066
2067 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2068 (var1, var2): New variable.
2069 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2070 matching symbols.
2071
301b21e0
TV
20722020-03-13 Tom de Vries <tdevries@suse.de>
2073
2074 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2075 (Term::command): Use prompt prefix.
2076 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2077 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2078 command_no_prompt_prefix instead of prefix.
2079 * gdb.tui/tui-layout-asm.exp: Same.
2080
3f512721
SM
20812020-03-12 Simon Marchi <simon.marchi@efficios.com>
2082
2083 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2084
40310f30
SM
20852020-03-12 Simon Marchi <simon.marchi@efficios.com>
2086
2087 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2088 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2089 on" while stepping over the test instruction, match printed
2090 message.
2091
09252140
TV
20922020-03-12 Tom de Vries <tdevries@suse.de>
2093
2094 * gdb.base/info-types.exp: Use exp_continue during matching of output
2095 of "info types".
2096
14e9c72c
TV
20972020-03-12 Tom de Vries <tdevries@suse.de>
2098
2099 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2100
e515d67e
TV
21012020-03-12 Tom de Vries <tdevries@suse.de>
2102
2103 * gdb.fortran/module.exp: Use exp_continue during matching of output
2104 of "info variable -n".
2105
307eafd8
TV
21062020-03-12 Tom de Vries <tdevries@suse.de>
2107
2108 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2109 gdb.dwarf2/dw2-ranges-base.c.
2110
9a2de3fc
TV
21112020-03-12 Tom de Vries <tdevries@suse.de>
2112
2113 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2114 in presence of GLIBC debuginfo.
2115
3217502e
TV
21162020-03-12 Tom de Vries <tdevries@suse.de>
2117
2118 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2119 $core.
2120
1281424c
TV
21212020-03-12 Tom de Vries <tdevries@suse.de>
2122
2123 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2124 more precise.
2125
038b97fc
SM
21262020-03-11 Simon Marchi <simon.marchi@efficios.com>
2127
2128 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2129 from Unix to Windows path.
2130
5308d1e7
TV
21312020-03-11 Tom de Vries <tdevries@suse.de>
2132
2133 * gdb.ada/minsyms.exp: Set language to ada.
2134
f870f78f
TV
21352020-03-11 Tom de Vries <tdevries@suse.de>
2136
2137 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2138
5a13315d
TV
21392020-03-11 Tom de Vries <tdevries@suse.de>
2140
2141 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2142
976862ed
TT
21432020-03-11 Tom Tromey <tromey@adacore.com>
2144
2145 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2146
7462c383
TV
21472020-03-11 Tom de Vries <tdevries@suse.de>
2148
2149 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2150
1c6c46a0
TV
21512020-03-11 Tom de Vries <tdevries@suse.de>
2152
2153 * gdb.base/break-interp.exp: Limit verbose scope.
2154
44f41bb7
TV
21552020-03-11 Tom de Vries <tdevries@suse.de>
2156
2157 * gdb.fortran/logical.f90: Define variable with character type.
2158 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2159
b76f3a42
TV
21602020-03-11 Tom de Vries <tdevries@suse.de>
2161
2162 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2163
1c33af77
TV
21642020-03-11 Tom de Vries <tdevries@suse.de>
2165
2166 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2167 symtabs.
2168
8c95582d
AB
21692020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2170 Bernd Edlinger <bernd.edlinger@hotmail.de>
2171
2172 * gdb.cp/step-and-next-inline.cc: New file.
2173 * gdb.cp/step-and-next-inline.exp: New file.
2174 * gdb.cp/step-and-next-inline.h: New file.
2175 * gdb.dwarf2/dw2-is-stmt.c: New file.
2176 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2177 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2178 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2179 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2180
cecf8547
AB
21812020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2182
2183 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2184 is-stmt flag in the line table.
2185
0ba678c9
TV
21862020-03-09 Tom de Vries <tdevries@suse.de>
2187
2188 * lib/gdb.exp (cached_file): Create cache dir.
2189
72fbdf83
TV
21902020-03-07 Tom de Vries <tdevries@suse.de>
2191
2192 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2193 * gdb.cp/rvalue-ref-params.exp: Same.
2194
436b5e99
TV
21952020-03-06 Tom de Vries <tdevries@suse.de>
2196
2197 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2198 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2199
09f2921c
TV
22002020-03-06 Tom de Vries <tdevries@suse.de>
2201
2202 * README: Fix "the the".
2203 * gdb.base/dprintf.exp: Same.
2204
50a3cc5d
TV
22052020-03-05 Tom de Vries <tdevries@suse.de>
2206
2207 * gdb.base/maint.exp: Update "main print statistics" expected output.
2208
0a709cba
AKS
22092020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2210
2211 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2212 (fortran_int8): Likewise.
2213 (fortran_real4): Likewise.
2214 (fortran_real8): Likewise.
2215 (fortran_complex4): Likewise.
2216 (fortran_logical4): Likewise.
2217 (fortran_character1): Likewise.
2218
5e5d66b6
AB
22192020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2220
2221 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2222 printed as true.
2223
7b973adc
SDJ
22242020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2225
2226 * gdb.base/printcmds.exp: Add test to verify printf of a
2227 variable holding an address.
2228
478e490a
TV
22292020-03-03 Tom de Vries <tdevries@suse.de>
2230
2231 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2232
1ef44e86
TV
22332020-03-03 Tom de Vries <tdevries@suse.de>
2234
2235 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2236 gdb_test_multiple call.
2237
b98cc2cf
TV
22382020-03-03 Tom de Vries <tdevries@suse.de>
2239
2240 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2241 gdb_test_multiple calls.
2242
63e163f2
AB
22432020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2244
2245 * gdb.base/default.exp: Remove test of 'set history filename'.
2246 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2247 filename to the empty string.
2248 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2249 and GDBHISTSIZE.
2250
24ed6739
AB
22512020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2252
2253 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2254 disabled.
2255
590003dc
TV
22562020-03-02 Pedro Alves <palves@redhat.com>
2257 Tom de Vries <tdevries@suse.de>
2258
2259 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2260 -prompt prefix, before user_code argument. Add -lbl option likewise.
2261 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2262 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2263 argument.
2264 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2265 have "\r\n" at start-of-line, instead of at end-of-line.
2266
f5e46084
SM
22672020-02-28 Simon Marchi <simon.marchi@efficios.com>
2268
2269 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2270 libinproctrace.so.
2271
f7a7000d
LM
22722020-02-28 Luis Machado <luis.machado@linaro.org>
2273
2274 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2275 to "p/x".
2276
718e0816
LM
22772020-02-28 Luis Machado <luis.machado@linaro.org>
2278
2279 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2280 asm/ptrace.h and error.h.
2281
13c3a74a
TV
22822020-02-28 Tom de Vries <tdevries@suse.de>
2283
2284 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2285 (struct wrapper, do_something, mundane/symada__cS): Move ...
2286 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2287 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2288 Update "print symada__cS before partial symtab expansion" regexp.
2289 Update breakpoint location. Flush symbol cache after expansion.
2290
85d2d5bb
LM
22912020-02-28 Luis Machado <luis.machado@linaro.org>
2292
2293 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2294
3608f86c
TV
22952020-02-27 Tom de Vries <tdevries@suse.de>
2296
2297 * config/sid.exp: Remove unused globals.
2298 * gdb.base/attach.exp: Same.
2299 * gdb.base/catch-load.exp: Same.
2300 * gdb.base/dbx.exp: Same.
2301 * lib/gdb.exp: Same.
2302 * lib/mi-support.exp: Same.
2303 * lib/prompt.exp: Same.
2304
c8d4f6df
TV
23052020-02-27 Tom de Vries <tdevries@suse.de>
2306
2307 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2308 not set.
2309
0d79cdc4
AM
23102020-02-26 Aaron Merey <amerey@redhat.com>
2311
2312 * gdb.debuginfod: New directory for debuginfod tests.
2313 * gdb.debuginfod/main.c: New test file.
2314 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2315
0dce4280
TV
23162020-02-26 Tom de Vries <tdevries@suse.de>
2317
2318 PR gdb/25603
2319 * gdb.base/persistent-lang.cc: New test.
2320 * gdb.base/persistent-lang.exp: New file.
2321
9e80cfa1
AB
23222020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2323
2324 * gdb.fortran/derived-type-striding.exp: Add a new test.
2325 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2326 new test.
2327
2078dbb2
AB
23282020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2329
2330 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2331 names.
2332
70d49700
TV
23332020-02-25 Tom de Vries <tdevries@suse.de>
2334
2335 PR go/18926
2336 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2337
a88ef40d
TV
23382020-02-24 Tom de Vries <tdevries@suse.de>
2339
2340 PR gdb/25592
2341 * gdb.base/info-locals-unused-static-var.c: New test.
2342 * gdb.base/info-locals-unused-static-var.exp: New file.
2343
01b1af32
TT
23442020-02-22 Tom Tromey <tom@tromey.com>
2345
2346 * gdb.python/tui-window.exp: New file.
2347 * gdb.python/tui-window.py: New file.
2348
7c043ba6
TT
23492020-02-22 Tom Tromey <tom@tromey.com>
2350
2351 PR tui/17850:
2352 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2353 tests.
2354
c22fef7e
TT
23552020-02-22 Tom Tromey <tom@tromey.com>
2356
2357 * gdb.tui/new-layout.exp: Add sub-layout tests.
2358
ee325b61
TT
23592020-02-22 Tom Tromey <tom@tromey.com>
2360
2361 * gdb.tui/new-layout.exp: New file.
2362
3f0cbb04
TT
23632020-02-22 Tom Tromey <tom@tromey.com>
2364
2365 * gdb.rust/rust-style.rs: New file.
2366 * gdb.rust/rust-style.exp: New file.
2367 * gdb.base/style.exp: Test structure printing.
2368 * gdb.base/style.c (struct some_struct): New type.
2369 (enum etype): New type.
2370 (struct_value): New global.
2371
75525152
TV
23722020-02-21 Tom de Vries <tdevries@suse.de>
2373
2374 PR go/18926
2375 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2376 Remove blanket xfails. Use message argument for gdb_breakpoint.
2377 Make continuing to breakpoint test conditional on setting breakpoint.
2378 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2379 DW_AT_name attribute. Add xfail for GCC PR93866.
2380
bd360d30
AB
23812020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2382
2383 * gdb.dwarf2/cpp-linkage-name.c: New file.
2384 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2385
c7adb09f 23862020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2387
2388 * lib/gdb.exp (gdb_wrapper_init): Reset
2389 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2390 not exist.
2391
a9c79803
TV
23922020-02-20 Tom de Vries <tdevries@suse.de>
2393
2394 PR go/17018
2395 * gdb.go/hello.exp: Copy ...
2396 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2397 print of st to print value of global definition. Add xfail for GCC
2398 PR93844.
2399 * gdb.go/hello.exp: Remove printing of st before definition.
2400 * gdb.go/hello.go: Copy ...
2401 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2402 to st.
2403 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2404
d7445728
TV
24052020-02-20 Tom de Vries <tdevries@suse.de>
2406
2407 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2408 (gdb_simple_compile): Handle compile_flags go by using .go extension
2409 for source file.
2410 * gdb.go/chan.exp: Use support_go_compile.
2411 * gdb.go/handcall.exp: Same.
2412 * gdb.go/hello.exp: Same.
2413 * gdb.go/integers.exp: Same.
2414 * gdb.go/max-depth.exp: Same.
2415 * gdb.go/methods.exp: Same.
2416 * gdb.go/package.exp: Same.
2417 * gdb.go/strings.exp: Same.
2418 * gdb.go/types.exp: Same.
2419 * gdb.go/unsafe.exp: Same.
2420
c9c41e6d
TV
24212020-02-19 Tom de Vries <tdevries@suse.de>
2422
2423 * gdb.python/lib-types.exp: Make xfail more strict.
2424
f20ff837
TV
24252020-02-19 Tom de Vries <tdevries@suse.de>
2426
2427 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2428
08410482
DE
24292020-02-19 Doug Evans <dje@google.com>
2430
2431 PR rust/25535
2432 * gdb.rust/simple.exp: Add test.
2433 * gdb.rust/simple.rs: Add test.
2434
623563f7
TV
24352020-02-19 Tom de Vries <tdevries@suse.de>
2436
2437 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2438 output line-by-line.
2439
d3308cfd
TV
24402020-02-19 Tom de Vries <tdevries@suse.de>
2441
2442 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2443
86cbc5dc
TV
24442020-02-19 Tom de Vries <tdevries@suse.de>
2445
2446 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2447 prelink.
2448
9db2b96b
TV
24492020-02-19 Tom de Vries <tdevries@suse.de>
2450
2451 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2452 (gdb_do_cache): Use gdb_do_cache_wrap.
2453 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2454
89e2fdc5
TV
24552020-02-19 Tom de Vries <tdevries@suse.de>
2456
2457 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2458 gdb_compile option.
2459
373d7ac0
SM
24602020-02-18 Simon Marchi <simon.marchi@efficios.com>
2461
2462 * gdb.base/printcmds.exp (test_print_enums): Update expected
2463 output.
2464
b29a2df0
SM
24652020-02-18 Simon Marchi <simon.marchi@efficios.com>
2466
2467 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2468 for "unknown".
2469
6740f0cc
SM
24702020-02-18 Simon Marchi <simon.marchi@efficios.com>
2471
2472 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2473 enumerator.
2474
edd45eb0
SM
24752020-02-18 Simon Marchi <simon.marchi@efficios.com>
2476
2477 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2478 FE_, add FE_NONE.
2479 (three): Update.
2480 (enum flag_enum_without_zero): New enum.
2481 (flag_enum_without_zero): New variable.
2482 (enum not_flag_enum): New enum.
2483 (three_not_flag): New variable.
2484 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2485 (test_print_enums): Add more tests for printing flag enums.
2486
d4295de4
TV
24872020-02-18 Tom de Vries <tdevries@suse.de>
2488
2489 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2490 (gdb_compile_ada): ... here.
2491 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2492 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2493
f251f505
TT
24942020-02-14 Tom Tromey <tom@tromey.com>
2495
2496 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2497 build directory.
2498 * boards/gdbserver-base.exp: Update path to gdbserver.
2499
8f432634
TV
25002020-02-13 Tom de Vries <tdevries@suse.de>
2501
2502 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2503
92b6eaf7
TV
25042020-02-13 Tom de Vries <tdevries@suse.de>
2505
2506 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2507 are missing.
2508
f3b0f7fe
TV
25092020-02-13 Tom de Vries <tdevries@suse.de>
2510
2511 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2512 call.
2513
f6be8713
SDJ
25142020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2515
2516 PR tui/25126
2517 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2518 * gdb.base/cached-source-file.c: New file.
2519 * gdb.base/cached-source-file.exp: New file.
2520
b2770d5e
TV
25212020-02-11 Tom de Vries <tdevries@suse.de>
2522
2523 PR testsuite/25488
2524 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2525
44f6938e
TV
25262020-02-10 Tom de Vries <tdevries@suse.de>
2527
2528 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2529
5f0e2eb7
MR
25302020-02-10 Maciej W. Rozycki <macro@wdc.com>
2531
2532 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2533 and $after_addr are both integers before making a comparison.
2534
46ce2b6f
TV
25352020-02-09 Tom de Vries <tdevries@suse.de>
2536
2537 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2538 command output and paste it into gdb.log. If any, paste catch message
2539 to gdb.log.
2540
5abbbe1d
TT
25412020-02-07 Tom Tromey <tromey@adacore.com>
2542
2543 PR breakpoints/24915:
2544 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2545
1d5d29e7
SV
25462020-02-06 Shahab Vahedi <shahab@synopsys.com>
2547
2548 * gdb.tui/tui-missing-src.exp: Add the "missing source
2549 file" test for the TUI.
2550
b0999b9b
AB
25512020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2552
2553 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2554 including a port number in the output.
2555
c3b149eb
AKS
25562020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2557
2558 * lib/fortran.exp (fortran_int4): Handle clang.
2559 (fortran_int8): Likewise.
2560 (fortran_real4): Likewise.
2561 (fortran_real8): Likewise.
2562 (fortran_complex4): Likewise.
2563 (fortran_logical4): Likewise.
2564 (fortran_character1): Likewise.
2565
f8dcc90b
TV
25662020-02-04 Tom de Vries <tdevries@suse.de>
2567
2568 * README (Race detection): Add note.
2569
f90ac7c2
TV
25702020-02-04 Tom de Vries <tdevries@suse.de>
2571
2572 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2573
780636ae
TV
25742020-02-04 Tom de Vries <tdevries@suse.de>
2575
2576 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2577
5d2e1193
RA
25782020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2579
2580 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2581 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2582 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2583 blttar, bnetarl.
2584 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2585 binary for blttar, bnetarl.
2586 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2587 wait instruction. Delete ldmx test.
2588 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2589
e409c542
AKS
25902020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2591
2592 * gdb.fortran/array-bounds-high.exp: New file.
2593 * gdb.fortran/array-bounds-high.f90: New file.
2594
b0029748
LD
25952020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2596
2597 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2598 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2599
195a8287
TV
26002020-02-01 Tom de Vries <tdevries@suse.de>
2601
2602 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2603
42330a68
AB
26042020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2605
2606 PR tui/9765
2607 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2608 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2609
b62a8028
LM
26102020-01-29 Luis Machado <luis.machado@linaro.org>
2611
2612 * gdb.arch/aarch64-brk-patterns.c: New source file.
2613 * gdb.arch/aarch64-brk-patterns.exp: New test.
2614
5f440116
TBA
26152020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2616
2617 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2618 GCC/Clang version.
2619 * gdb.cp/pass-by-ref.exp: Ditto.
2620
ee2a6fc6
TV
26212020-01-29 Tom de Vries <tdevries@suse.de>
2622
2623 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2624 * gdb.threads/watchpoint-fork-mt.c: Same.
2625 * gdb.threads/watchpoint-fork-parent.c: Same.
2626 * gdb.threads/watchpoint-fork-st.c: Same.
2627 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2628
16b10d6e
LM
26292020-01-27 Luis Machado <luis.machado@linaro.org>
2630
2631 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2632 sitting at a syscall instruction when we hit the syscall function's
2633 breakpoint.
2634 Check PC against one obtained with the x command.
2635 Validate syscall number.
2636 (step_over_syscall): Don't continue to the syscall instruction if
2637 we're already there.
2638
b1468492
PW
26392020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2640
2641 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2642
7ffa82e1
AB
26432020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2644
2645 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2646 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2647
3d92a3e3
AB
26482020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2649
2650 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2651 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2652
94a72be7
AB
26532020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2654
2655 * gdb.base/maint.exp: Update line table parsing test.
2656 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2657
53af73bf
PA
26582020-01-24 Pedro Alves <palves@redhat.com>
2659
2660 PR gdb/25410
2661 * gdb.multi/multi-re-run-1.c: New.
2662 * gdb.multi/multi-re-run-2.c: New.
2663 * gdb.multi/multi-re-run.exp: New.
2664
1ba1ac88
AB
26652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2666
2667 PR gdb/23718
2668 * gdb.server/server-kill-python.exp: New file.
2669
f3364a6d
AB
26702020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2671
2672 * gdb.server/multi-ui-errors.c: New file.
2673 * gdb.server/multi-ui-errors.exp: New file.
2674
733d0a67
AB
26752020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2676
2677 PR tui/9765
2678 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2679
4f13c1c0
TT
26802020-01-19 Tom Tromey <tom@tromey.com>
2681
2682 * gdb.tui/main.exp: Add check for plain "file".
2683
40c94099
CB
26842020-01-16 Christian Biesinger <cbiesinger@google.com>
2685
2686 * lib/gdb.exp: Fix spelling error (seperatelly).
2687
ff47f4f0
TT
26882020-01-14 Tom Tromey <tom@tromey.com>
2689
2690 PR symtab/12535:
2691 * gdb.python/python.exp: Test decode_line with empty string
2692 argument.
2693
717c684d
BE
26942020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2695
2696 * gdb.base/skip-inline.exp: Extend test.
2697
44e4c775
AB
26982020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2699
2700 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2701 * gdb.dwarf2/dw2-bad-elf.c: New file.
2702 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2703
d93c6db7
AB
27042020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2705
2706 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2707 _line_saw_file.
2708
9a6d629c
AB
27092020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2710
2711 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2712 border.
2713
d9ebdab7
TBA
27142020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2715
2716 * gdb.multi/multi-target.exp (setup): Factor out "info
2717 connections" and "info inferiors" tests to ...
2718 (test_info_inferiors): ... this new procedure.
2719 (top level): Run new "info-inferiors" tests.
2720
f3c469b9
PA
27212020-01-10 Pedro Alves <palves@redhat.com>
2722
2723 * gdb.server/bkpt-other-inferior.exp: New file.
2724
121b3efd
PA
27252020-01-10 Pedro Alves <palves@redhat.com>
2726
2727 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2728 of "add-inferior".
2729 * gdb.base/quit-live.exp: Likewise.
2730 * gdb.base/remote-exec-file.exp: Likewise.
2731 * gdb.guile/scm-progspace.exp: Likewise.
2732 * gdb.linespec/linespec.exp: Likewise.
2733 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2734 * gdb.mi/user-selected-context-sync.exp: Likewise.
2735 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2736 "info inferiors" tests.
2737 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2738 "add-inferior".
2739 * gdb.multi/watchpoint-multi.exp: Likewise.
2740 * gdb.python/py-inferior.exp: Likewise.
2741 * gdb.server/extended-remote-restart.exp: Likewise.
2742 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2743 "info inferiors".
2744 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2745 * gdb.trace/report.exp: Likewise.
2746
1dadb1dd
PA
27472020-01-10 Pedro Alves <palves@redhat.com>
2748
2749 * gdb.multi/multi-target.c: New file.
2750 * gdb.multi/multi-target.exp: New file.
2751 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2752 mode requested, but remote does not support non-stop".
2753
78f2c40a
PA
27542020-01-10 Pedro Alves <palves@redhat.com>
2755
2756 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2757 disconnect before reconnecting.
2758
e7af6c70
TBA
27592020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2760 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.server/connect-without-multi-process.exp: Also test
2763 continuing to end.
2764
acdf84a6
PA
27652020-01-10 Pedro Alves <palves@redhat.com>
2766
2767 * gdb.base/remote-exec-file.exp: New file.
2768
873657b9
PA
27692020-01-10 Pedro Alves <palves@redhat.com>
2770
2771 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2772 output.
2773 * gdb.threads/async.c: New.
2774 * gdb.threads/async.exp: New.
2775 * gdb.multi/tids-gid-reset.c: New.
2776 * gdb.multi/tids-gid-reset.exp: New.
2777
7f0ae84c
GB
27782020-01-10 George Barrett <bob@bob131.so>
2779
2780 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2781 to help in finding the image relocation offset.
2782 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2783 options in arguments.
2784 (stap_test_no_debuginfo): Likewise.
2785 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2786 test variants.
2787 (stap_test): Add null semaphore relocation test.
2788
47e9d49d
GB
27892020-01-10 George Barrett <bob@bob131.so>
2790
2791 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2792 * gdb.base/stap-probe.exp: Likewise.
2793 (stap_test): Pass argument as an additional flag.
2794 (stap_test_no_debuginfo): Likewise.
2795 (stap_test): Check `info probes stap' output for semaphore
2796 addresses if the test binary is supposed to have them.
2797
f5a7c406
AB
27982020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2799
2800 * gdb.tui/basic.exp: Add more scrolling tests.
2801
9ae6bf64
TT
28022020-01-09 Tom Tromey <tom@tromey.com>
2803
2804 PR tui/18932:
2805 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2806 meangingful value.
2807 (Term::command, Term::resize): Update.
2808 * gdb.tui/basic.exp: Add scrolling test.
2809
b2efe70c
AB
28102020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2811
2812 * gdb.tui/tui-layout-asm.exp: New file.
2813
3804da7e
AB
28142020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2815
2816 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2817
b40aa28f
AB
28182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2819
2820 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2821 (Term::enter_tui): Use Term::prepare_for_tui.
2822
63ffd7c9
AB
28232020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2824
2825 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2826 called.
2827
3be966f6
AB
28282020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2829
2830 * gdb.base/skip.exp: Fix race condition in test.
2831
153d79c4
AB
28322020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2833
2834 * gdb.base/backtrace.c: New file.
2835 * gdb.base/backtrace.exp: New file.
2836
f2302a34
AB
28372020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2838
2839 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2840
6ec1d75e
PW
28412020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2842
2843 * gdb.base/style.exp: Test that warnings are styled.
2844
c296cbe6
BE
28452019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2846
2847 * gdb.base/line65535.exp: New file.
2848 * gdb.base/line65535.c: New file.
2849
b28a729d
SM
28502019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2851
2852 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2853 * lib/gnat_debug_info_test.adb: New file.
2854 * gdb.ada/ptype_tagged_param.exp: Use
2855 gnat_runtime_has_debug_info, expect a different output if
2856 runtime does not have debug info.
2857
7f2d7a0d
SM
28582019-12-20 Simon Marchi <simon.marchi@efficios.com>
2859
2860 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2861 (another) quote in test name.
2862
f3bce483
SM
28632019-12-20 Simon Marchi <simon.marchi@efficios.com>
2864
2865 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2866 Add quote in test name.
2867
c855a912
TBA
28682019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2869
2870 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2871 directory instead.
2872 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2873 * gdb.cp/pass-by-ref-2.cc: New file.
2874 * gdb.cp/pass-by-ref-2.exp: New file.
2875
fc9d2d72
TT
28762019-12-20 Tom Tromey <tom@tromey.com>
2877
2878 * gdb.tui/list-before.exp: New file.
2879
77b97e00
TT
28802019-12-20 Tom Tromey <tom@tromey.com>
2881
2882 * gdb.tui/list.exp: Check for source on initial listing.
2883
f69656d0
TT
28842019-12-11 Tom Tromey <tromey@adacore.com>
2885
2886 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2887 Add crlf test.
2888
99a55965
SM
28892019-12-18 Simon Marchi <simon.marchi@efficios.com>
2890
2891 * gdb.base/default.exp: Update value of $_gdb_major.
2892
5024637f
BE
28932019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2894
2895 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2896
b63634be
BE
28972019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2898
2899 * gdb.base/skip.exp: Whitespace fix.
2900
45d73523
BE
29012019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2902
2903 * gdb.base/skip-inline.c: New file.
2904 * gdb.base/skip-inline.exp: New file.
2905
d043f8c8
SM
29062019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2907
2908 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2909 jit_function_00 to jit_function_stack_mangle.
2910 * gdb.base/jithost.c (jit_function_t): Rename to...
2911 (jit_function_stack_mangle_t): ... this.
2912 (jit_function_add_t): New typedef.
2913 (jit_function_00_code): Rename to...
2914 (jit_function_stack_mangle_code): ... this, make static.
2915 (jit_function_add_code): New.
2916 (main): Generate "add" function and call it. Adjust to changes
2917 in jithost_abi.
2918 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2919 (struct jithost_abi) <begin, end>: Remove fields.
2920 <object, function_stack_mangle, function_add>: New fields.
2921 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2922 code_end>: Remove fields.
2923 <func_stack_mangle>: New field.
2924 (read_debug_info): Adjust to renaming, create block for "add"
2925 function.
2926 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2927
873de05c
TT
29282019-12-11 Tom Tromey <tom@tromey.com>
2929
2930 * gdb.tui/resize.exp: Fix regexp.
2931 * gdb.tui/regs.exp: Fix regexps.
2932 * gdb.tui/main.exp: Fix regexp.
2933
3d979945
TT
29342019-12-11 Tom Tromey <tom@tromey.com>
2935
2936 * gdb.tui/resize.exp: Update.
2937 * gdb.tui/empty.exp (layouts): Update.
2938
2192a9d3
TT
29392019-12-11 Tom Tromey <tom@tromey.com>
2940
2941 * gdb.tui/regs.exp: Update.
2942 * gdb.tui/empty.exp (layouts): Update.
2943 * gdb.tui/basic.exp: Update.
2944 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2945
d8edc8b7
PW
29462019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2947
2948 * gdb.base/options.exp: Add -raw-values in the print completion list.
2949 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2950
4c12d936
KB
29512019-12-10 Kevin Buettner <kevinb@redhat.com>
2952
2953 * gdb.threads/omp-par-scope.c: New file.
2954 * gdb/threads/omp-par-scope.exp: New file.
2955
26b911fb
KB
29562019-12-10 Kevin Buettner <kevinb@redhat.com>
2957
bb47f919
KB
2958 * lib/gdb.exp (support_nested_function_tests): New proc.
2959
29602019-12-10 Kevin Buettner <kevinb@redhat.com>
2961
2962 * lib/gdb.exp (gdb_compile_openmp): New proc.
2963 (build_executable_from_specs): Add an "openmp" option.
2964 (gdb_compile_pthreads): Add non-executable case.
26b911fb 2965
6c71eb7d
TT
29662019-12-10 Tom Tromey <tromey@adacore.com>
2967
2968 * gdb.ada/unchecked_union.exp: New file.
2969 * gdb.ada/unchecked_union/pck.adb: New file.
2970 * gdb.ada/unchecked_union/pck.ads: New file.
2971 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2972 * gdb-utils.exp (string_to_regexp): Also quote "?".
2973
bac7c5cf
GB
29742019-12-10 George Barrett <bob@bob131.so>
2975
2976 Test scripted probe breakpoints.
2977 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2978 * gdb.python/py-breakpoint.c (main): Likewise.
2979 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2980 specifier test.
2981 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2982
330f1d38
TBA
29832019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2984
2985 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2986 an rvalue parameter.
2987 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2988 parameter.
2989
b43315e2
AB
29902019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2991
2992 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2993 modules.
2994
54f73dad
AB
29952019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2996
2997 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2998 broken version of GCC.
2999
d57cbee9
AB
30002019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3001
3002 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3003 sym-info-cmds library.
3004 * gdb.fortran/info-types.exp: Likewise.
3005 * lib/sym-info-cmds.exp: New file.
3006
c14aab8c
TV
30072019-12-08 Tom de Vries <tdevries@suse.de>
3008
3009 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3010
aa2d5a42
KS
30112019-12-07 Keith Seitz <keiths@redhat.com>
3012
3013 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3014 * gdb.base/corefile-buildid-shlib.c: New file.
3015 * gdb.base/corefile-buildid.c: New file.
3016 * gdb.base/corefile-buildid.exp: New file.
3017
93e55f0a
TV
30182019-12-06 Tom de Vries <tdevries@suse.de>
3019
3020 * gdb.dwarf2/varval.exp: Add decl before def test.
3021
c7d12402
TBA
30222019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3023
3024 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3025
06acc08f
TBA
30262019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3027
3028 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3029 CV and reference conversion for overload resolution.
3030 * gdb.cp/rvalue-ref-overload.exp: Test it.
3031
e0fad1ea
PW
30322019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3033
3034 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3035 * gdb.base/frameapply.exp: Test faas without command.
3036
8d70a9f0
AB
30372019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3038
3039 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3040 Fortran tests.
3041 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3042 order.
3043
36c8fb93
AB
30442019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3045
3046 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3047 casting to type with no kind specified.
3048 (test_basic_parsing_of_type_kinds): Additional tests for types
3049 with no kind specified, and add tests for single/double
3050 precision/complex types.
3051
4139ff00
TT
30522019-12-04 Tom Tromey <tromey@adacore.com>
3053
3054 * gdb.base/endianity.c (struct other) <x>: New field.
3055 (main): Initialize it.
3056 * gdb.base/endianity.exp: Update.
3057
a05cf17a
TT
30582019-12-04 Tom Tromey <tromey@adacore.com>
3059
3060 * gdb.ada/scalar_storage/storage.adb: New file.
3061 * gdb.ada/scalar_storage/pck.adb: New file.
3062 * gdb.ada/scalar_storage/pck.ads: New file.
3063 * gdb.ada/scalar_storage.exp: New file.
3064
103a685e
TT
30652019-12-04 Tom Tromey <tromey@adacore.com>
3066
3067 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3068 (main): Initialize it.
3069 * gdb.base/endianity.exp: Update.
3070
c2512106
AB
30712019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3072
3073 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3074
293b38d6
AB
30752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3076
3077 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3078 -symbol-info-module-functions and -symbol-info-module-variables.
3079
216a7e6b
AB
30802019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3081
3082 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3083
5bbd8269
AB
30842019-12-01 Richard Bunt <richard.bunt@arm.com>
3085 Andrew Burgess <andrew.burgess@embecosm.com>
3086
3087 * gdb.fortran/derived-type-striding.exp: New file.
3088 * gdb.fortran/derived-type-striding.f90: New file.
3089 * gdb.fortran/array-slices.exp: New file.
3090 * gdb.fortran/array-slices.f90: New file.
3091
be09caf1
PW
30922019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3093
3094 * gdb.base/define.exp: Test . in command names.
3095 * gdb.base/setshow.exp: Update test, as . is now part of
3096 command name.
3097
643c0cbe
PW
30982019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3099
3100 * gdb.base/define-prefix.exp: New file.
3101
dcdec678
AB
31022019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3103
3104 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3105 compile.
3106 (skip_btrace_pt_tests): Likewise.
3107
640ab947
AB
31082019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3109
3110 * gdb.fortran/info-modules.exp: Compile source files in correct
3111 order.
3112
d22670f0
KB
31132019-11-27 Kevin Buettner <kevinb@redhat.com>
3114
3115 * gdb.dwarf2/imported-unit.exp: New file.
3116 * gdb.dwarf2/imported-unit.c: New file.
3117
db5960b4
AB
31182019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3119
3120 * gdb.mi/mi-fortran-modules-2.f90: New file.
3121 * gdb.mi/mi-fortran-modules.exp: New file.
3122 * gdb.mi/mi-fortran-modules.f90: New file.
3123
7dc42066
AB
31242019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3125
3126 * gdb.mi/mi-sym-info-1.c: New file.
3127 * gdb.mi/mi-sym-info-2.c: New file.
3128 * gdb.mi/mi-sym-info.exp: New file.
3129
0dfeecca
TT
31302019-11-22 Tom Tromey <tromey@adacore.com>
3131
3132 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3133 * gdb.ada/tasks/foo.adb: Add another stopping location.
3134
34877895
PJ
31352019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3136
3137 * gdb.base/endianity.c: New test.
3138 * gdb.base/endianity.exp: New file.
3139
2e84f897
LD
31402019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3141
3142 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3143
65d1cd5f
TV
31442019-11-21 Tom de Vries <tdevries@suse.de>
3145
3146 PR gdb/24956
3147 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3148
4f22c3f4
SDJ
31492019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3150
3151 * gdb.python/py-progspace.exp: Add missing parentheses on some
3152 'print' commands.
3153
9f6ad286
TT
31542019-11-19 Tom Tromey <tom@tromey.com>
3155
3156 * gdb.tui/winheight.exp: New file.
3157
0b8dbf3f
AB
31582019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3159
3160 * gdb.base/ctf-whatis.c: Delete.
3161 * gdb.base/ctf-whatis.exp: Delete.
3162 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3163
f833b7a7
AB
31642019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3165
3166 * gdb.base/ctf-cvexpr.exp: Delete.
3167 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3168
30d0a636
AB
31692019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3170
3171 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3172 the compiler. Clean up header comment a little.
3173 * gdb.base/ctf-ptype.exp: Likewise.
3174 * gdb.base/ctf-whatis.exp: Likewise.
3175 * lib/gdb.exp (skip_ctf_tests): New proc.
3176
494409bb
SDJ
31772019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3178
3179 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3180 * gdb.tui/corefile-run.exp: New file.
3181
55708e99
TT
31822019-11-14 Tom Tromey <tromey@adacore.com>
3183
3184 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3185 regression tests.
3186
45e42163
TT
31872019-11-12 Tom Tromey <tom@tromey.com>
3188
3189 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3190 after any command. Expect prompt after WAIT_FOR is seen.
3191 (enter_tui): Enable resize messages.
3192 (command): Expect command in output.
3193 (get_line): Avoid error when cursor appears to be off-screen.
3194 (dump_screen): Include screen size in title.
3195 (_do_resize): New proc, from "resize".
3196 (resize): Rewrite. Do resize in two steps.
3197 * gdb.tui/empty.exp (layouts): Fix entries.
3198 (check_boxes): Remove xfail.
3199 (check_text): Dump screen on failure.
3200
086baaf1
AB
32012019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3202
3203 * gdb.python/py-symbol.exp: Add test for
3204 gdb.lookup_static_symbols.
3205
09ff83af
AB
32062019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3207
3208 * gdb.python/py-symbol.c: Declare and call function from new
3209 py-symbol-2.c file.
3210 * gdb.python/py-symbol.exp: Compile both source files, and add new
3211 tests for gdb.lookup_static_symbol.
3212 * gdb.python/py-symbol-2.c: New file.
3213
11af934b
TV
32142019-11-02 Tom de Vries <tdevries@suse.de>
3215
3216 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3217 * gdb.base/anon.exp: Same.
3218 * gdb.base/auto-connect-native-target.exp: Same.
3219 * gdb.base/call-ar-st.exp: Same.
3220 * gdb.base/catch-syscall.exp: Same.
3221 * gdb.base/commands.exp: Same.
3222 * gdb.base/default.exp: Same.
3223 * gdb.base/display.exp: Same.
3224 * gdb.base/float.exp: Same.
3225 * gdb.base/foll-fork.exp: Same.
3226 * gdb.base/help.exp: Same.
3227 * gdb.base/info-macros.exp: Same.
3228 * gdb.base/info-proc.exp: Same.
3229 * gdb.base/info-target.exp: Same.
3230 * gdb.base/long_long.exp: Same.
3231 * gdb.base/macscp.exp: Same.
3232 * gdb.base/memattr.exp: Same.
3233 * gdb.base/nofield.exp: Same.
3234 * gdb.base/pointers.exp: Same.
3235 * gdb.base/printcmds.exp: Same.
3236 * gdb.base/ptype.exp: Same.
3237 * gdb.base/restore.exp: Same.
3238 * gdb.base/return.exp: Same.
3239 * gdb.base/scope.exp: Same.
3240 * gdb.base/set-noassign.exp: Same.
3241 * gdb.base/setshow.exp: Same.
3242 * gdb.base/shlib-call.exp: Same.
3243 * gdb.base/signals.exp: Same.
3244 * gdb.base/sigstep.exp: Same.
3245 * gdb.base/skip.exp: Same.
3246 * gdb.base/solib-symbol.exp: Same.
3247 * gdb.base/stap-probe.exp: Same.
3248 * gdb.base/step-line.exp: Same.
3249 * gdb.base/step-test.exp: Same.
3250 * gdb.base/style.exp: Same.
3251 * gdb.base/varargs.exp: Same.
3252 * gdb.base/vla-datatypes.exp: Same.
3253 * gdb.base/vla-ptr.exp: Same.
3254 * gdb.base/vla-sideeffect.exp: Same.
3255 * gdb.base/volatile.exp: Same.
3256 * gdb.base/watch-cond-infcall.exp: Same.
3257 * gdb.base/watchpoint.exp: Same.
3258
e96ec2ba
TV
32592019-11-02 Tom de Vries <tdevries@suse.de>
3260
3261 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3262 * gdb.cp/cpexprs.exp: Same.
3263 * gdb.cp/except-multi-location.exp: Same.
3264 * gdb.cp/exceptprint.exp: Same.
3265 * gdb.cp/gdb2384.exp: Same.
3266 * gdb.cp/inherit.exp: Same.
3267 * gdb.cp/m-static.exp: Same.
3268 * gdb.cp/meth-typedefs.exp: Same.
3269 * gdb.cp/misc.exp: Same.
3270 * gdb.cp/namespace.exp: Same.
3271 * gdb.cp/non-trivial-retval.exp: Same.
3272 * gdb.cp/overload.exp: Same.
3273 * gdb.cp/pr17132.exp: Same.
3274 * gdb.cp/re-set-overloaded.exp: Same.
3275 * gdb.cp/rvalue-ref-types.exp: Same.
3276 * gdb.cp/templates.exp: Same.
3277
bd5766ec
LM
32782019-11-01 Luis Machado <luis.machado@linaro.org>
3279
3280 PR gdb/25124
3281
3282 * gdb.arch/pr25124.S: New file.
3283 * gdb.arch/pr25124.exp: New file.
3284
165f8965
AB
32852019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3286
3287 * gdb.fortran/info-modules.exp: Update expected results, and add
3288 additional tests for 'info module functinos', and 'info module
3289 variables'.
3290 * gdb.fortran/info-types.exp: Update expected results.
3291 * gdb.fortran/info-types.f90: Extend testcase with additional
3292 module variables and functions.
3293
59c35742
AB
32942019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3295
3296 * gdb.fortran/info-modules.exp: New file.
3297 * gdb.fortran/info-types.exp: Build with new file.
3298 * gdb.fortran/info-types.f90: Include and use new module.
3299 * gdb.fortran/info-types-2.f90: New file.
3300
f3fb2519
PW
33012019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3302
3303 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3304 * gdb.base/settings.exp: Test all settings types using
3305 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3306 that now verifies that the value of "maint show" is the same as
3307 returned by the settings functions. Test the type of the
3308 maintenance settings.
3309 * gdb.base/default.exp: Update show_conv_list.
3310
d1e36019
TV
33112019-10-31 Tom de Vries <tdevries@suse.de>
3312
3313 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3314 gdb_test.
3315 * gdb.arch/amd64-disp-step.exp: Same.
3316 * gdb.asm/asm-source.exp: Same.
3317 * gdb.btrace/buffer-size.exp: Same.
3318 * gdb.btrace/cpu.exp: Same.
3319 * gdb.btrace/enable.exp: Same.
3320 * gdb.dwarf2/count.exp: Same.
3321 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3322 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3323 * gdb.fortran/vla-datatypes.exp: Same.
3324 * gdb.fortran/vla-history.exp: Same.
3325 * gdb.fortran/vla-ptype.exp: Same.
3326 * gdb.fortran/vla-value.exp: Same.
3327 * gdb.fortran/whatis_type.exp: Same.
3328 * gdb.guile/guile.exp: Same.
3329 * gdb.multi/tids.exp: Same.
3330 * gdb.python/py-finish-breakpoint.exp: Same.
3331 * gdb.python/py-framefilter.exp: Same.
3332 * gdb.python/py-pp-registration.exp: Same.
3333 * gdb.python/py-xmethods.exp: Same.
3334 * gdb.python/python.exp: Same.
3335 * gdb.server/connect-with-no-symbol-file.exp: Same.
3336 * gdb.server/no-thread-db.exp: Same.
3337 * gdb.server/run-without-local-binary.exp: Same.
3338 * gdb.stabs/weird.exp: Same.
3339 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3340 * gdb.threads/thread-find.exp: Same.
3341 * gdb.threads/tls-shared.exp: Same.
3342 * gdb.threads/tls.exp: Same.
3343 * gdb.threads/wp-replication.exp: Same.
3344 * gdb.trace/ax.exp: Same.
3345 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3346
3d11e68e
TV
33472019-10-31 Tom de Vries <tdevries@suse.de>
3348
3349 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3350 * gdb.ada/array_subscript_addr.exp: Same.
3351 * gdb.ada/arrayidx.exp: Same.
3352 * gdb.ada/arrayparam.exp: Same.
3353 * gdb.ada/arrayptr.exp: Same.
3354 * gdb.ada/boolean_expr.exp: Same.
3355 * gdb.ada/call_pn.exp: Same.
3356 * gdb.ada/complete.exp: Same.
3357 * gdb.ada/fixed_cmp.exp: Same.
3358 * gdb.ada/fun_addr.exp: Same.
3359 * gdb.ada/funcall_param.exp: Same.
3360 * gdb.ada/interface.exp: Same.
3361 * gdb.ada/mod_from_name.exp: Same.
3362 * gdb.ada/null_array.exp: Same.
3363 * gdb.ada/packed_array.exp: Same.
3364 * gdb.ada/packed_tagged.exp: Same.
3365 * gdb.ada/print_chars.exp: Same.
3366 * gdb.ada/print_pc.exp: Same.
3367 * gdb.ada/ptype_arith_binop.exp: Same.
3368 * gdb.ada/ptype_field.exp: Same.
3369 * gdb.ada/ptype_tagged_param.exp: Same.
3370 * gdb.ada/rec_return.exp: Same.
3371 * gdb.ada/ref_tick_size.exp: Same.
3372 * gdb.ada/str_ref_cmp.exp: Same.
3373 * gdb.ada/taft_type.exp: Same.
3374 * gdb.ada/tagged.exp: Same.
3375 * gdb.ada/type_coercion.exp: Same.
3376 * gdb.ada/uninitialized_vars.exp: Same.
3377
60b6ede8
TV
33782019-10-30 Tom de Vries <tdevries@suse.de>
3379
3380 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3381
30baf67b
TV
33822019-10-26 Tom de Vries <tdevries@suse.de>
3383
3384 * gdb.base/bigcore.c: Fix typos in comments.
3385 * gdb.base/ctf-ptype.c: Same.
3386 * gdb.base/long_long.c: Same.
3387 * gdb.dwarf2/dw2-op-out-param.S: Same.
3388 * gdb.python/py-evthreads.c: Same.
3389 * gdb.reverse/i387-stack-reverse.c: Same.
3390 * gdb.trace/tfile.c: Same.
3391 * lib/compiler.c: Same.
3392 * lib/compiler.cc: Same.
3393
158da0d1
TV
33942019-10-25 Tom de Vries <tdevries@suse.de>
3395
3396 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3397 gdb_test_multiple calls.
3398 * gdb.reverse/sigall-reverse.exp: Same.
3399 * gdb.reverse/solib-precsave.exp: Same.
3400 * gdb.reverse/solib-reverse.exp: Same.
3401 * gdb.reverse/until-precsave.exp: Same.
3402 * gdb.reverse/until-reverse.exp: Same.
3403
4ccdfbec
TV
34042019-10-24 Tom de Vries <tdevries@suse.de>
3405
3406 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3407 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3408 kfail using -wrap pattern flag and convenience variable
3409 gdb_test_name.
3410
33d569b7
AB
34112019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3412
3413 * gdb.python/py-progspace.exp: Add tests for the
3414 Progspace.block_for_pc method.
3415
4d0b984b
TT
34162019-10-23 Tom Tromey <tom@tromey.com>
3417
3418 * configure: Rebuild.
3419 * aclocal.m4: Use m4_include, not sinclude.
3420
94cb3754
TV
34212019-10-21 Tom de Vries <tdevries@suse.de>
3422
3423 * gdb.base/infcall-nested-structs.c: Add
3424 __attribute__((noinline,noclone)) to all functions.
3425 (call_all): Add missing variable initialization. Simplify return value.
3426 (breakpt): Increment volatile variable, to prevent call from being
3427 optimized out.
3428 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3429
062f1fc1
TV
34302019-10-17 Tom de Vries <tdevries@suse.de>
3431
3432 * gdb.fortran/module.exp: Allow info variables to print info for files
3433 other than module.f90.
3434
0b54364d
AB
34352019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3436
3437 * gdb.fortran/module.exp: Extend with 'info variables' test.
3438
7ff5fae7
AB
34392019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3440
3441 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3442 F77_FOR_TARGET.
3443
d10eccaa
TV
34442019-10-16 Tom de Vries <tdevries@suse.de>
3445
3446 PR tdep/25096
3447 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3448
745ff14e
TV
34492019-10-16 Tom de Vries <tdevries@suse.de>
3450
3451 PR tdep/24104
3452 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3453 Add KFAIL for PR tdep/25096.
3454
03e1ab94
TV
34552019-10-16 Tom de Vries <tdevries@suse.de>
3456
3457 PR testsuite/25059
3458 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3459
b17fcc10
TV
34602019-10-16 Tom de Vries <tdevries@suse.de>
3461
3462 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3463 as signed.
3464
9223170f
SM
34652019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3466
3467 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3468 one instead of increasing timeout.
3469
d6e76313
TV
34702019-10-13 Tom de Vries <tdevries@suse.de>
3471
3472 PR record/25038
3473 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3474 * gdb.reverse/sigall-reverse.exp: Same.
3475 * gdb.reverse/solib-precsave.exp: Same.
3476 * gdb.reverse/solib-reverse.exp: Same.
3477 * gdb.reverse/step-precsave.exp: Same.
3478 * gdb.reverse/until-precsave.exp: Same.
3479 * gdb.reverse/until-reverse.exp: Same.
3480 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3481
6dfc0041
AA
34822019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3483
3484 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3485 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3486 (cmp_struct_05_01, cmp_struct_static_02_01)
3487 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3488 comparisons.
3489
abcf2cc8
TV
34902019-10-10 Tom de Vries <tdevries@suse.de>
3491
3492 PR testsuite/24888
3493 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3494 gnatlink.
3495
a50faaf6
TV
34962019-10-09 Tom de Vries <tdevries@suse.de>
3497
3498 PR testsuite/25048
3499 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3500
60ff3cd7
AB
35012019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3502
3503 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3504 exceptions due to missing debug information.
3505
dfee8566
TV
35062019-10-07 Tom de Vries <tdevries@suse.de>
3507
3508 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3509
3d63690a
AB
35102019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3511
3512 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3513 * gdb.base/annota1.exp: Update to use gdb_test_name.
3514
30d1f018
WP
35152019-10-07 Weimin Pan <weimin.pan@oracle.com>
3516
3517 * gdb.base/ctf-whatis.exp: New file.
3518 * gdb.base/ctf-whatis.c: New file.
3519 * gdb.base/ctf-ptype.exp: New file.
3520 * gdb.base/ctf-ptype.c: New file.
3521 * gdb.base/ctf-constvars.exp: New file.
3522 * gdb.base/ctf-constvars.c: New file.
3523 * gdb.base/ctf-cvexpr.exp: New file.
3524
4dbbb47c
TV
35252019-10-04 Tom de Vries <tdevries@suse.de>
3526
3527 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3528 for loop.
3529
77c2dba3
TT
35302019-10-03 Tom Tromey <tom@tromey.com>
3531
3532 PR rust/24976:
3533 * gdb.rust/simple.rs (Union2): New type.
3534 (main): Use Union2.
3535 * gdb.rust/simple.exp: Add test.
3536
179aed7f
AB
35372019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3538
3539 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3540 nested function prefix.
3541
0a4b0913
AB
35422019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3543 Richard Bunt <richard.bunt@arm.com>
3544 Andrew Burgess <andrew.burgess@embecosm.com>
3545
3546 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3547 nested functions.
3548 * gdb.fortran/nested-funcs.f90: Update expected results.
3549 * gdb.fortran/nested-funcs-2.exp: New file.
3550 * gdb.fortran/nested-funcs-2.f90: New file.
3551
082cce05
AB
35522019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3553
3554 * gdb.python/py-parameter.exp: Make test names unique.
3555 * gdb.python/py-template.exp: Likewise.
3556 * gdb.python/py-value.exp: Likewise.
3557
2b74ba5a
AB
35582019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3559
3560 * gdb.base/break-interp.exp: Reduce test name duplication.
3561 * gdb.base/call-sc.exp: Likewise.
3562 * gdb.base/callfuncs.exp: Likewise.
3563 * gdb.base/charset.exp: Likewise.
3564 * gdb.base/dump.exp: Likewise.
3565 * gdb.base/ena-dis-br.exp: Likewise.
3566 * gdb.base/relational.exp: Likewise.
3567 * gdb.base/step-over-syscall.exp: Likewise.
3568 * gdb.base/structs.exp: Likewise.
3569
58eb20d5
AB
35702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3571
3572 * gdb.linespec/explicit.exp: Make test names unique.
3573 * gdb.linespec/ls-errs.exp: Likewise.
3574
4d421147
AB
35752019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3576
3577 * gdb.reverse/break-precsave.exp: Make test names unique.
3578 * gdb.reverse/break-reverse.exp: Likewise.
3579 * gdb.reverse/finish-precsave.exp: Likewise.
3580 * gdb.reverse/finish-reverse.exp: Likewise.
3581 * gdb.reverse/machinestate-precsave.exp: Likewise.
3582 * gdb.reverse/machinestate.exp: Likewise.
3583 * gdb.reverse/readv-reverse.exp: Likewise.
3584 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3585 * gdb.reverse/sigall-precsave.exp: Likewise.
3586 * gdb.reverse/sigall-reverse.exp: Likewise.
3587 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3588 * gdb.reverse/watch-precsave.exp: Likewise.
3589 * gdb.reverse/watch-reverse.exp: Likewise.
3590
d8c06f22
AB
35912019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3592
3593 * gdb.threads/stop-with-handle.c: New file.
3594 * gdb.threads/stop-with-handle.exp: New file.
3595
3a56ed86
TV
35962019-10-03 Tom de Vries <tdevries@suse.de>
3597
3598 PR testsuite/25059
3599 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3600 directory" line to be missing.
3601
42275044
TV
36022019-10-03 Tom de Vries <tdevries@suse.de>
3603
3604 PR testsuite/25059
3605 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3606 type optional.
3607
9ef62df0
AA
36082019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3609
3610 * gdb.python/py-format-string.c (string.h): New include.
3611 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3612 the same value, for endianness-independence.
3613 * gdb.python/py-format-string.exp (default_regexp_dict)
3614 (test_pretty_structs, test_format): Adjust expected output to the
3615 changed initialization.
3616
37f6a7f4
TT
36172019-10-02 Tom Tromey <tromey@adacore.com>
3618
3619 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3620
1d58d6a2
PA
36212019-10-02 Pedro Alves <palves@redhat.com>
3622 Andrew Burgess <andrew.burgess@embecosm.com>
3623
3624 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3625 "print-file-var.h".
3626 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3627 (get_version_1): Print this_version_id and its address.
3628 Add extern "C" wrappers around interface functions.
3629 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3630 "print-file-var.h".
3631 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3632 (get_version_2): Print this_version_id and its address.
3633 Add extern "C" wrappers around interface functions.
3634 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3635 <stddef.h> and "print-file-var.h".
3636 Add extern "C" wrappers around interface functions.
3637 [VERSION_ID_MAIN] (this_version_id): Define.
3638 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3639 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3640 up extern "C" blocks.
3641 * gdb.base/print-file-var.exp (test): New, factored out from top
3642 level.
3643 (top level): Test all combinations of attribute hidden or not,
3644 dlopen or not, and this_version_id symbol in main file or not.
3645 Compile tests as both C++ and C, make test names unique.
3646
d770d56f
TT
36472019-10-01 Tom Tromey <tom@tromey.com>
3648
3649 * gdb.base/style.exp: Test "show logging filename".
3650
7f6aba03
TT
36512019-10-01 Tom Tromey <tom@tromey.com>
3652
3653 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3654 * gdb.base/style.exp: Add metadata style test.
3655
14309bb6
TT
36562019-10-01 Tom Tromey <tom@tromey.com>
3657
3658 * gdb.base/style.exp: Test "pwd".
3659
2a3c1174
PA
36602019-10-01 Tom Tromey <tom@tromey.com>
3661
3662 * gdb.base/style.exp: Update tests.
3663
53d666ec
AA
36642019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3665
3666 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3667 'six' to unsigned.
3668 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3669 'five'. Use an all-ones bit pattern for each.
3670 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3671 to its changed values.
3672
4a56a520
TT
36732019-09-30 Tom Tromey <tromey@adacore.com>
3674
3675 * gdb.rust/traits.rs: Disable all warnings.
3676
0df0352a
TV
36772019-09-29 Tom de Vries <tdevries@suse.de>
3678
aac66a4c 3679 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3680
73d9a918
TV
36812019-09-29 Tom de Vries <tdevries@suse.de>
3682
3683 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3684
060b3ab4
TV
36852019-09-27 Tom de Vries <tdevries@suse.de>
3686
3687 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3688
68f7d34d
TV
36892019-09-27 Tom de Vries <tdevries@suse.de>
3690
3691 PR record/23188
3692 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3693
5d63b30a
TT
36942019-09-26 Tom Tromey <tromey@adacore.com>
3695
3696 * gdb.ada/py_taft.exp: New file.
3697 * gdb.ada/py_taft/main.adb: New file.
3698 * gdb.ada/py_taft/pkg.adb: New file.
3699 * gdb.ada/py_taft/pkg.ads: New file.
3700
3d435220
TV
37012019-09-24 Tom de Vries <tdevries@suse.de>
3702
3703 PR gdb/24598
3704 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3705
77d03678
TV
37062019-09-22 Tom de Vries <tdevries@suse.de>
3707
3708 * gdb.base/restore.exp: Allow register variables to be optimized out at
3709 -O0.
3710
abf516c6
UW
37112019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3712
3713 * gdb.arch/spu-info.exp: Remove file.
3714 * gdb.arch/spu-info.c: Remove file.
3715 * gdb.arch/spu-ls.exp: Remove file.
3716 * gdb.arch/spu-ls.c: Remove file.
3717
3718 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3719 * gdb.asm/spu.inc: Remove file.
3720
3721 * gdb.base/dump.exp: Remove support for spu*-*-*.
3722 * gdb.base/stack-checking.exp: Likewise.
3723 * gdb.base/overlays.exp: Likewise.
3724 * gdb.base/ovlymgr.c: Likewise.
3725 * gdb.base/spu.ld: Remove file.
3726
3727 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3728 * gdb.cp/cpexprs.exp: Likewise.
3729 * gdb.cp/exception.exp: Likewise.
3730 * gdb.cp/gdb2495.exp: Likewise.
3731 * gdb.cp/mb-templates.exp: Likewise.
3732 * gdb.cp/pr9167.exp: Likewise.
3733 * gdb.cp/userdef.exp: Likewise.
3734
3735 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3736
3737 * gdb.cell: Remove directory.
3738 * lib/cell.exp: Remove file.
3739
e452e88f
TV
37402019-09-19 Tom de Vries <tdevries@suse.de>
3741
3742 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3743
8a625130
TV
37442019-09-19 Tom de Vries <tdevries@suse.de>
3745
3746 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3747
81dc3ab5
TV
37482019-09-19 Tom de Vries <tdevries@suse.de>
3749
3750 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3751 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3752 (gdb_target_cmd): ... here.
3753 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3754 value 2.
3755
b078f3ac
AB
37562019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3757
3758 * gdb.base/source-dir.exp: Avoid having directory names in test
3759 names.
3760
f1b620e9
MG
37612019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3762
3763 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3764 directory.
3765
67f3ed6a
AB
37662019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3767
3768 * gdb.base/list-missing-source.exp: New file.
3769
d1b70248
TV
37702019-09-14 Tom de Vries <tdevries@suse.de>
3771
3772 PR teststuite/24599
3773 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3774 * lib/ada.exp (gnatmake_version_at_least): New proc.
3775
5fabdcd6
AB
37762019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3777
3778 * gdb.base/maint.exp: Use exec_has_index_section.
3779
aa17805f
AB
37802019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3781
3782 * gdb.base/maint.exp: Add test for 'maint info sections'.
3783
25e5c209
TV
37842019-09-12 Tom de Vries <tdevries@suse.de>
3785
3786 * gdb.base/store.exp: Allow register variables to be optimized out at
3787 -O0.
3788
4993045d
PW
37892019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3790
3791 * gdb.ada/rdv_wait.exp: Update to new task names.
3792 * gdb.base/task_switch_in_core.exp: Likewise.
3793 * gdb.base/info_sources_base.c: Likewise.
3794
8a516164
TT
37952019-09-10 Tom Tromey <tromey@adacore.com>
3796
3797 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3798
aa391654
TT
37992019-09-10 Tom Tromey <tromey@adacore.com>
3800
3801 * gdb.ada/dgopt.exp: New file.
3802 * gdb.ada/dgopt/x.adb: New file.
3803
8634b462
TT
38042019-09-08 Tom Tromey <tom@tromey.com>
3805
3806 * gdb.tui/resize.exp: Remove setup_xfail.
3807 * gdb.tui/regs.exp: Remove setup_xfail.
3808 * gdb.tui/basic.exp: Remove setup_xfail.
3809
736b0f76
DB
38102019-09-06 David Blaikie <dblaikie@gmail.com>
3811
3812 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3813 * gdb.cp/cplabel.exp: Ditto.
3814 * gdb.linespec/ls-errs.exp: Ditto.
3815
30331a6c
TV
38162019-09-05 Tom de Vries <tdevries@suse.de>
3817
3818 * lib/gdb.exp (cmp_file_string): New proc.
3819 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3820 runto_main. Verify save breakpoints output.
3821
98b0ebab
PW
38222019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3823
3824 * gdb.base/info-var.exp: Test info variables without running
3825 to main, to avoid expect's buffer overflow.
3826
4e962e74
TT
38272019-09-03 Tom Tromey <tromey@adacore.com>
3828
3829 * gdb.ada/bias.exp: New file.
3830 * gdb.ada/bias/bias.adb: New file.
3831 * gdb.ada/print_chars.exp: Add regression test.
3832 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3833 (MC): New variable.
3834
2ea1a07a
SL
38352019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3836
3837 * gdb.base/argv0-symlink.exp: Run only on native target
3838 and local host.
3839
8077c50d
TV
38402019-08-29 Tom de Vries <tdevries@suse.de>
3841
3842 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3843 diverse debug info.
3844 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3845
48352473
TV
38462019-08-28 Tom de Vries <tdevries@suse.de>
3847
3848 * gdb.base/info-var.exp: Allow info variables to print info for files
3849 other than info-var-f1.c and info-var-f2.c.
3850
d8f27c60
AB
38512019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3852
3853 * gdb.fortran/info-types.exp: Add module.
3854 * gdb.fortran/info-types.f90: Update expected results.
3855
1f20c35e
AB
38562019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3857
3858 * gdb.fortran/info-types.exp: New file.
3859 * gdb.fortran/info-types.f90: New file.
3860 * lib/fortran.exp (fortran_character1): New proc.
3861
4acfdd20
AB
38622019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3863
3864 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3865 functions'. Reindent as needed.
3866 * gdb.base/info-var-f1.c: New file.
3867 * gdb.base/info-var-f2.c: New file.
3868 * gdb.base/info-var.exp: New file.
3869 * gdb.base/info-var.h: New file.
3870
5c31b358
TV
38712019-08-26 Tom de Vries <tdevries@suse.de>
3872
3873 PR c++/24852
3874 * gdb.cp/no-libstdcxx-probe.exp: New test.
3875
b694989f
TV
38762019-08-26 Tom de Vries <tdevries@suse.de>
3877
3878 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3879 * tests need to be skipped.
3880 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3881 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3882 mi_skip_libstdcxx_probe_tests.
3883
d9c4ba53
SDJ
38842019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3885
3886 * gdb.python/py-xmethods.exp: Use raw strings when passing
3887 arguments to SimpleXMethodMatcher.
3888
395fad09
TV
38892019-08-22 Tom de Vries <tdevries@suse.de>
3890
3891 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3892 more informative.
3893
26c957f1
PA
38942019-08-21 Pedro Alves <palves@redhat.com>
3895
3896 * gdb.base/with.exp: Test "with" with no arguments.
3897
61f80d5d
TV
38982019-08-21 Tom de Vries <tdevries@suse.de>
3899
3900 * gdb.base/gdb-caching-proc.exp: Sort files.
3901
d7a11d13
TV
39022019-08-20 Tom de Vries <tdevries@suse.de>
3903
3904 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3905 compilation.
3906
34dafe9f
TV
39072019-08-16 Tom de Vries <tdevries@suse.de>
3908
3909 * gdb.base/compare-sections.exp ("after run to main"): Allow
3910 mismatched read-only sections for PIE executables.
3911
398fdd60
TT
39122019-08-16 Tom Tromey <tom@tromey.com>
3913
3914 * lib/tuiterm.exp (_csi_Z): New proc.
3915 * gdb.tui/basic.exp: Update window positions.
3916 * gdb.tui/empty.exp: Update window positions.
3917
d8f9e51c
SL
39182019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3919
3920 * gdb.base/examine-backward.exp: Correct regexp for
3921 "examine 3 bytes backward from ${address_zero}".
3922
3df505f6
TT
39232019-08-15 Tom Tromey <tom@tromey.com>
3924
3925 * gdb.tui/empty.exp: Enable resizing tests.
3926
272560b5
TT
39272019-08-15 Tom Tromey <tromey@adacore.com>
3928
3929 * gdb.ada/char_enum.exp: Add regression tests.
3930 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3931 and '0'.
3932 (Char, Gchar): Update.
3933 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3934
08235187
CB
39352019-08-15 Christian Biesinger <cbiesinger@google.com>
3936
3937 * gdb.python/python.exp: Expect a leading underscore on
3938 GdbOutput{,Error}File.
3939
22a2ab04
SL
39402019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3941
3942 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3943 Windows host.
3944
835b995b
SL
39452019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3946
3947 * gdb.base/batch-preserve-term-settings.exp
3948 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3949
97dd8e07
CB
39502019-08-15 Christian Biesinger <cbiesinger@google.com>
3951
3952 * lib/gdb.exp: When running on a mingw target, replace
3953 /x/ with x:/.
3954
75faf5c4
AH
39552019-08-14 Alan Hayward <alan.hayward@arm.com>
3956
3957 * gdb.arch/aarch64-prologue.c: New test.
3958 * gdb.arch/aarch64-prologue.exp: New file.
3959
abc6c00f
TV
39602019-08-13 Tom de Vries <tdevries@suse.de>
3961
3962 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3963 Thread.
3964
74c2c1f4
SL
39652019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3966
3967 * gdb.python/py-completion.exp: Download the .py file to the host
3968 and use its host pathname. Conditionalize tests that use
3969 tab completion and manipulate files on the build machine.
3970 * gdb.python/py-events.exp: Download the .py file to the host
3971 and use its host pathname.
3972 * gdb.python/py-evsignal.exp: Likewise.
3973 * gdb.python/py-evthreads.exp: Likewise.
3974 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3975 pathname syntax.
3976 * gdb.python/py-framefilter.exp: Download the .py file to the right
3977 place on the host. Match Windows pathname syntax.
3978 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3979 .py file to the host and use its host pathname.
3980 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3981 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3982 build pathname. Skip symlink test on Windows host. Add missing
3983 newline at end of file.
3984 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3985 and use its host pathname.
3986 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3987 * gdb.python/py-section-script.exp: Use host location of binfile
3988 on safe-path. Use correct path separator on Windows host.
3989 Reorder alternatives in gdb_test_multiple to prevent matching
3990 the wrong alternative on success.
3991 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3992
ca2589f3
PP
39932019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3994
3995 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3996 expect the GDB inferior to no longer immediately stop after
3997 being resumed with "signal SIGINT".
3998
020a839d
SL
39992019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4000
4001 * gdb.linespec/break-ask.exp: Generalize regexps to match
4002 Windows pathnames too.
4003
128d6509
TV
40042019-08-08 Tom de Vries <tdevries@suse.de>
4005
4006 PR testsuite/24862
4007 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4008
590042fc
PW
40092019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4010
4011 * gdb.base/style.exp: Update tests for help doc new invariants.
4012 * gdb.base/help.exp: Likewise.
4013
046bebe1
TT
40142019-08-06 Tom Tromey <tom@tromey.com>
4015
4016 * gdb.base/style.exp: Add disassemble test.
4017 * gdb.base/style.c (some_called_function): New function.
4018 (main): Use it.
4019
0b27c27d
CB
40202019-08-05 Christian Biesinger <cbiesinger@google.com>
4021
4022 * gdb.python/py-block.exp: Test dictionary access on blocks.
4023
580f1034
SM
40242019-08-05 Simon Marchi <simon.marchi@efficios.com>
4025
4026 PR gdb/24863
4027 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4028 -list-thread-groups --available test when running under
4029 check-read1.
4030
d86bd7cb
TV
40312019-08-05 Tom de Vries <tdevries@suse.de>
4032
4033 PR testsuite/24863
4034 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4035 * gdb.base/help.exp: Use with_read1_timeout_factor.
4036 * gdb.base/info-macros.exp: Same.
4037 * gdb.cp/nested-types.exp: Same.
4038
a80cf5d8
TV
40392019-08-05 Tom de Vries <tdevries@suse.de>
4040
4041 * lib/gdb.exp (version_at_least): Factor out of ...
4042 (tcl_version_at_least): ... here.
4043 (gdb_compile): Fail if pie results in non-PIE executable.
4044 (readelf_version, readelf_prints_pie): New proc.
4045 (exec_is_pie): Return -1 if unknown.
4046
d0962838
TV
40472019-08-05 Tom de Vries <tdevries@suse.de>
4048
4049 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4050
2252ff3d
SL
40512019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4052
4053 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4054
26655f53
SL
40552019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4056
4057 * lib/completion-support.exp (test_gdb_complete_none): Skip
4058 tab completion tests if no readline support.
4059 (test_gdb_complete_unique_re): Likewise.
4060 (test_gdb_complete_multiple): Likewise.
4061
db4dc13e
PW
40622019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4063
4064 * gdb.base/info_sources.exp: New file.
4065 * gdb.base/info_sources.c: New file.
4066 * gdb.base/info_sources_base.c: New file.
4067
0eba165a
PFC
40682019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4069
4070 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4071 prefix argument.
4072 (test_exit_status): Add prefix argument.
4073
59bd512b
TV
40742019-08-01 Tom de Vries <tdevries@suse.de>
4075
4076 PR testsuite/24863
4077 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4078 calling exp_continue for new thread and thread exited messages.
4079
2a3ad588
TV
40802019-08-01 Tom de Vries <tdevries@suse.de>
4081
4082 PR testsuite/24863
4083 * gdb.base/structs.exp: Fix check-read1 timeout using
4084 gdb_test_sequence.
4085 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4086
117eb594
TV
40872019-08-01 Tom de Vries <tdevries@suse.de>
4088
4089 PR testsuite/24863
4090 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4091 line.
4092
ed591340
TV
40932019-08-01 Tom de Vries <tdevries@suse.de>
4094
4095 PR testsuite/24863
4096 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4097
aa3b6533
TT
40982019-07-30 Tom Tromey <tromey@adacore.com>
4099
4100 * gdb.ada/display_nested.exp: New file.
4101 * gdb.ada/display_nested/foo.adb: New file.
4102 * gdb.ada/display_nested/pack.adb: New file.
4103 * gdb.ada/display_nested/pack.ads: New file.
4104
2906593f
CB
41052019-07-30 Christian Biesinger <cbiesinger@google.com>
4106
4107 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4108 namespace.
4109 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4110
0f575925
TV
41112019-07-30 Tom de Vries <tdevries@suse.de>
4112
4113 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4114 instead.
4115
b13057d9
TV
41162019-07-30 Tom de Vries <tdevries@suse.de>
4117
4118 PR testsuite/24834
4119 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4120 (exec_is_pie): New proc.
4121
5c4dde85
CB
41222019-07-29 Christian Biesinger <cbiesinger@google.com>
4123
4124 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4125
c620ed88
CB
41262019-07-29 Christian Biesinger <cbiesinger@google.com>
4127
4128 * gdb.python/py-objfile.c: Add global and static vars.
4129 * gdb.python/py-objfile.exp: Test new functions Objfile.
4130 lookup_global_symbol and lookup_static_symbol.
4131
3d235706
TT
41322019-07-29 Tom Tromey <tom@tromey.com>
4133
4134 * lib/tuiterm.exp (Term::_csi_@): New proc.
4135 (Term::_csi_X): Don't move cursor.
4136
c7e4c0a6
PW
41372019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4138
4139 * gdb.base/options.exp: Update backtrace - completion to
4140 new option -frame-info.
4141 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4142 Test new 'set print frame-info'. Test backtrace -frame-info
4143 overriding 'set print frame-info'.
4144 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4145 Test new 'set print frame-info'.
4146 Verify consistency of backtrace with and without filters, with and
4147 without -no-filters.
4148 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4149 default.
4150
de28a3b7
TV
41512019-07-29 Tom de Vries <tdevries@suse.de>
4152
4153 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4154 no arguments".
4155
507dd60e
TV
41562019-07-29 Tom de Vries <tdevries@suse.de>
4157
4158 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4159 is a substring of the first for "complete non-unique file name".
4160
5beafce9
TV
41612019-07-29 Tom de Vries <tdevries@suse.de>
4162
4163 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4164 with ".*".
4165
2d274232
TV
41662019-07-29 Tom de Vries <tdevries@suse.de>
4167
4168 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4169 Pass prompt_regexp parameter to gdb_test_multiple calls.
4170
9197cd8b
TV
41712019-07-29 Tom de Vries <tdevries@suse.de>
4172
4173 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4174 print registers" regexps.
9197cd8b 4175
b528dae0
TV
41762019-07-29 Tom de Vries <tdevries@suse.de>
4177
4178 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4179
d17725d7
TV
41802019-07-29 Tom de Vries <tdevries@suse.de>
4181
4182 PR gdb/24855
4183 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4184 (skip_python_tests_prompt): Add prompt_regexp argument to
4185 gdb_test_multiple calls.
4186
52b75bf1
TT
41872019-07-27 Tom Tromey <tom@tromey.com>
4188
4189 * gdb.tui/main.exp: New file.
4190
2b1d00c2
TT
41912019-07-27 Tom Tromey <tom@tromey.com>
4192
4193 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4194 optional.
4195 * gdb.tui/empty.exp: New file.
4196
ded631d5
TT
41972019-07-27 Tom Tromey <tom@tromey.com>
4198
4199 * lib/tuiterm.exp (spawn): New proc.
4200 (Term::resize): New proc.
4201 * gdb.tui/resize.exp: New file.
4202
58ac439d
TT
42032019-07-27 Tom Tromey <tom@tromey.com>
4204
4205 * gdb.tui/list.exp: New file.
4206
fe1f56ee
TT
42072019-07-27 Tom Tromey <tom@tromey.com>
4208
4209 * gdb.tui/regs.exp: New file.
4210
f790b310
TT
42112019-07-27 Tom Tromey <tom@tromey.com>
4212
4213 * gdb.tui/basic.exp: Add "layout split" test.
4214
d95fc6ee
TT
42152019-07-27 Tom Tromey <tom@tromey.com>
4216
4217 * gdb.tui/basic.exp: Add "layout asm" test.
4218
c3786b3a
TT
42192019-07-27 Tom Tromey <tom@tromey.com>
4220
4221 * lib/tuiterm.exp: New file.
4222 * gdb.tui/basic.exp: New file.
4223
98a617f8
KB
42242019-07-27 Kevin Buettner <kevinb@redhat.com>
4225
4226 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4227 Enable tests associated with this flag. Adjust regex
4228 referencing "foo_low" to now refer to "foo_cold" instead.
4229
5c076da4
KB
42302019-07-27 Kevin Buettner <kevinb@redhat.com>
4231
4232 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4233 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4234 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4235 foo_cold. Revise comments to match.
4236 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4237 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4238 were wrapped into this proc; Call do_test in loop from outermost
4239 level.
4240 (foo_low): Rename all occurrences to "foo_cold".
4241 (backtrace from baz): New test.
4242 (x2/i foo_cold): New test.
4243 (info line *foo_cold): New test.
4244
1512d3b7
TV
42452019-07-26 Tom de Vries <tdevries@suse.de>
4246
4247 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4248
297989a1
TV
42492019-07-25 Tom de Vries <tdevries@suse.de>
4250
4251 PR testsuite/24830
4252 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4253 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4254 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4255 (skip_libstdcxx_probe_tests): ... here.
4256 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4257
b3b965fb
TV
42582019-07-24 Tom de Vries <tdevries@suse.de>
4259
4260 PR testsuite/24807
4261 * gdb.objc/basicclass.m: Include stdio.h.
4262 * gdb.objc/nondebug.m: Same.
4263 * gdb.objc/objcdecode.m: Same.
4264
4625b4d0
TV
42652019-07-24 Tom de Vries <tdevries@suse.de>
4266
4267 PR testsuite/24612
4268 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4269 additional_flags.
4270
024a5840
TV
42712019-07-24 Tom de Vries <tdevries@suse.de>
4272
4273 PR testsuite/24831
4274 * gdb.multi/tids.exp: Update error messages for info threads.
4275
c76ddaa3
TV
42762019-07-24 Tom de Vries <tdevries@suse.de>
4277
4278 * gdb.base/info-types.exp: Allow info types to print info for more than
4279 one file.
4280
9a618ef6
TV
42812019-07-23 Tom de Vries <tdevries@suse.de>
4282
4283 PR testsuite/24842
4284 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4285 gdb_spawn_with_cmdline_opts.
4286
40eadf04
SP
42872019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4288
4289 * gdb.arch/arm-cmse-sgstubs.c: New test.
4290 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4291
5ba29434
TV
42922019-07-23 Tom de Vries <tdevries@suse.de>
4293
4294 PR testsuite/24711
4295 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4296 issuing next command.
4297
a8e9d247
AB
42982019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4299
4300 * gdb.ada/info_auto_lang.exp: Update expected results.
4301 * gdb.base/info-types.c: Add additional types to check.
4302 * gdb.base/info-types.exp: Update expected results.
4303
eb86c5e2
AB
43042019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4305
4306 * gdb.base/info-types.c: New file.
4307 * gdb.base/info-types.exp: New file.
4308
01e175fe
AB
43092019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4310
4311 * gdb.arch/riscv-bp-infcall.c: New file.
4312 * gdb.arch/riscv-bp-infcall.exp: New file.
4313
6b78c3f8
AB
43142019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4315
4316 PR breakpoints/24541
4317 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4318
da738167
TV
43192019-07-14 Tom de Vries <tdevries@suse.de>
4320
4321 PR testsuite/24760
4322 * gdb.objc/basicclass.exp: Fix unterminated string.
4323
0d4e84ed
AB
43242019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4325 Andrew Burgess <andrew.burgess@embecosm.com>
4326
4327 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4328 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4329 negative bounds.
4330 * gdb.fortran/vla-value.exp: Print elements of an array with
4331 negative bounds.
4332 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4333 testing.
4334
021d8588
AB
43352019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4336
4337 * gdb.base/options.exp (expect_string): Dequote strings in
4338 results.
4339 (test-string): Test strings with different quoting and reindent.
4340
f06f1252
TT
43412019-07-10 Tom Tromey <tromey@adacore.com>
4342
4343 * gdb.ada/mi_ex_cond.exp: Update expected results.
4344 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4345 * gdb.ada/mi_catch_ex.exp: Update expected results.
4346 * gdb.ada/mi_catch_assert.exp: Update expected results.
4347 * gdb.ada/catch_ex.exp (catch_exception_info)
4348 (catch_exception_entry, catch_assert_entry)
4349 (catch_unhandled_entry): Update.
4350 * gdb.ada/catch_assert_if.exp: Update expected results.
4351
b863685d
RB
43522019-07-10 Richard Bunt <richard.bunt@arm.com>
4353 Stephen Roberts <stephen.roberts@arm.com>
4354
4355 * gdb.base/define.exp: Restore original prompt.
4356
cb1e4e32
PA
43572019-07-09 Pedro Alves <palves@redhat.com>
4358
4359 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4360 breakpoints" output.
4361 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4362 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4363 throw" creates breakpoint.
4364 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4365 'type="catchpoint"'.
4366
b58a68fe
PA
43672019-07-09 Pedro Alves <palves@redhat.com>
4368
4369 PR c++/15468
4370 * gdb.cp/except-multi-location-lib.cc: New.
4371 * gdb.cp/except-multi-location-main.cc: New.
4372 * gdb.cp/except-multi-location.exp: New.
4373
0826779b
PW
43742019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4375
4376 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4377 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4378 argument and update callers.
4379
5b0e2db4
AB
43802019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4381
4382 * gdb.arch/amd64-break-on-asm-line.S: New file.
4383 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4384
1f6f6e21
PW
43852019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4386
4387 * gdb.base/printcmds.exp: Test printing C string and
4388 C wide string convenience vars without transiting via the inferior.
4389 Also make test names unique.
4390
ea142fbf
AH
43912019-07-08 Alan Hayward <alan.hayward@arm.com>
4392
5862c886 4393 PR breakpoints/25011
ea142fbf
AH
4394 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4395
213fd9fa
PA
43962019-07-04 Pedro Alves <palves@redhat.com>
4397
4398 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4399 body returned ok(0), break(3) or continue(4).
4400 * gdb.testsuite/foreach_with_prefix.exp: New file.
4401
2b40fda7
AH
44022019-07-04 Alan Hayward <alan.hayward@arm.com>
4403
4404 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4405
a26c8de0
PA
44062019-07-03 Pedro Alves <palves@redhat.com>
4407
4408 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4409 "return -code".
4410
5f4ba3e7
PA
44112019-07-03 Pedro Alves <palves@redhat.com>
4412
4413 PR cli/24732
4414 * gdb.base/shell.exp: Load completion-support.exp.
4415 Adjust expected error output. Add completion tests.
4416
a994424f
PA
44172019-07-03 Pedro Alves <palves@redhat.com>
4418
4419 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4420 string_to_regexp.
4421
3d9be6f5
PA
44222019-07-03 Pedro Alves <palves@redhat.com>
4423
4424 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4425 (expect_integer): Adjust to expect "-string".
4426 (expect_string): New.
4427 (all_options): Expect "-string".
4428 (test-flag, test-boolean): Adjust to expect "-string".
4429 (test-string): New proc.
4430 (top level): Call it.
4431
41fc454c
PA
44322019-07-03 Pedro Alves <palves@redhat.com>
4433
4434 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4435 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4436 the expected output in the success.
4437
b2b2a215
PA
44382019-07-03 Pedro Alves <palves@redhat.com>
4439
4440 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4441 Split one gdb_test_multiple call in two to avoid a race.
4442
fdbc9870
PA
44432019-07-03 Pedro Alves <palves@redhat.com>
4444
4445 * gdb.base/with.c: New file.
4446 * gdb.base/with.exp: New file.
4447
c6ac8931
PA
44482019-07-03 Pedro Alves <palves@redhat.com>
4449
4450 * gdb.base/settings.exp: Replace all references to "maint
4451 test-settings set" with references to "maint set test-settings",
4452 and all references to "maint test-settings show" with references
4453 to "maint show test-settings".
4454
970f9d09
PA
44552019-07-03 Pedro Alves <palves@redhat.com>
4456
4457 * gdb.base/settings.exp (test-string): Adjust expected out when
4458 testing "maint test-settings show filename"
4459
54d66006
PA
44602019-07-02 Pedro Alves <palves@redhat.com>
4461
4462 * gdb.base/options.exp (test-info-threads): New procedure.
4463 (top level): Call it.
4464
10d06d82
TT
44652019-06-28 Tom Tromey <tromey@adacore.com>
4466
4467 * gdb.dwarf2/ada-linkage-name.c: New file.
4468 * gdb.dwarf2/ada-linkage-name.exp: New file.
4469
3d507ff2
TT
44702019-06-27 Tom Tromey <tromey@adacore.com>
4471
d039f014 4472 PR c++/20020:
3d507ff2
TT
4473 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4474
8af58ffe
TV
44752019-06-26 Tom de Vries <tdevries@suse.de>
4476
4477 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4478
22e21752
TV
44792019-06-26 Tom de Vries <tdevries@suse.de>
4480
4481 * gdb.base/index-cache.exp: Add back missing debug option.
4482
b65b566c
PW
44832019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4484
4485 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4486
5c2c8c69
TV
44872019-06-25 Tom de Vries <tdevries@suse.de>
4488
4489 PR testsuite/24727
4490 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4491
164e3873
TV
44922019-06-24 Tom de Vries <tdevries@suse.de>
4493
4494 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4495
824eacee
TV
44962019-06-24 Tom de Vries <tdevries@suse.de>
4497
4498 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4499 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4500 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4501
385b97d3
TV
45022019-06-24 Tom de Vries <tdevries@suse.de>
4503
4504 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4505
c596f180
TV
45062019-06-21 Tom de Vries <tdevries@suse.de>
4507
4508 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4509
b13a7d03
TV
45102019-06-21 Tom de Vries <tdevries@suse.de>
4511
4512 PR testsuite/24518
4513 PR ada/24713
4514 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4515 index.
4516
899277ae
TT
45172019-06-19 Tom Tromey <tromey@adacore.com>
4518
4519 * gdb.ada/length_cond.exp: Add intro comment.
4520
680e1bee
TT
45212019-06-19 Tom Tromey <tromey@adacore.com>
4522
4523 * gdb.ada/length_cond.exp: New file.
4524 * gdb.ada/length_cond/length_cond.adb: New file.
4525 * gdb.ada/length_cond/pck.adb: New file.
4526 * gdb.ada/length_cond/pck.ads: New file.
4527
0ed4690a
TV
45282019-06-18 Tom de Vries <tdevries@suse.de>
4529
4530 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4531
d20ed5fd
TT
45322019-06-18 Tom Tromey <tromey@adacore.com>
4533
4534 * gdb.base/list0.h: Add comment explaining control character.
4535
86e04673
TV
45362019-06-18 Tom de Vries <tdevries@suse.de>
4537
4538 * boards/fission.exp: Break up long debug_flags line.
4539
c4973306
SM
45402019-06-16 Tom de Vries <tdevries@suse.de>
4541
4542 PR gdb/24445
4543 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4544 generated index.
4545
93cb9841
AB
45462019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4547
4548 PR gdb/24686
4549 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4550 improve detection of bug gdb/24541.
4551
399aaebd
SM
45522019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4553
4554 PR gdb/24669
4555 * gdb.base/index-cache.exp (uses_readnow,
4556 expecting_index_cache_use): Define global variable.
4557 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4558 expecting_index_cache_use.
4559
584a927c
AB
45602019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4561 Andrew Burgess <andrew.burgess@embecosm.com>
4562
4563 * gdb.fortran/pointers.f90: New file.
4564 * gdb.fortran/print_type.exp: New file.
4565 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4566 * gdb.fortran/vla-type.exp: Likewise.
4567 * gdb.fortran/vla-value.exp: Likewise.
4568 * gdb.mi/mi-vla-fortran.exp: Likewise.
4569
30056ea0
AB
45702019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4571
4572 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4573 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4574 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4575 as a stop reason.
4576
ec8e2b6d
AB
45772019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4578
4579 * gdb.base/annota1.exp: Update expected results.
4580 * gdb.cp/annota2.exp: Likewise.
4581 * gdb.cp/annota3.exp: Likewise.
4582
09e4c4e1
AB
45832019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4584
4585 * gdb.base/style-logging.exp: Remove path from test name.
4586
0735b091
TT
45872019-06-14 Tom Tromey <tromey@adacore.com>
4588
4589 PR gdb/24502:
4590 * gdb.base/style-logging.exp: New file.
4591
f5686554
TT
45922019-06-14 Tom Tromey <tromey@adacore.com>
4593
4594 * gdb.base/symfile-warn.exp: New file.
4595 * gdb.base/symfile-warn.c: New file.
4596
a0c1ffed
TT
45972019-06-14 Tom Tromey <tromey@adacore.com>
4598
4599 * gdb.base/annotate-symlink.exp: New file.
4600
f411722c
TT
46012019-06-14 Tom Tromey <tromey@adacore.com>
4602
4603 * gdb.ada/set_wstr.exp: Add reassignment test.
4604
4268ec18
TT
46052019-06-14 Tom Tromey <tromey@adacore.com>
4606
4607 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4608 'unchecked_access and 'unrestricted_access as well.
4609
9a9e394b
TT
46102019-06-14 Tom Tromey <tromey@adacore.com>
4611
4612 PR ada/24539:
4613 * gdb.ada/vla.exp: Update tests.
4614 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4615 pragma.
4616
4c048731
PA
46172019-06-13 Pedro Alves <palves@redhat.com>
4618
4619 * gdb.base/settings.exp (test-integer): Test junk after
4620 "unlimited".
4621
6665660a
PA
46222019-06-13 Pedro Alves <palves@redhat.com>
4623
4624 * gdb.base/options.exp (test-thread-apply): New.
4625 (top level): Call it.
4626
5d707134
PA
46272019-06-13 Pedro Alves <palves@redhat.com>
4628
4629 * gdb.base/options.exp (test-frame-apply): New.
4630 (top level): Test print commands with different "frame apply"
4631 prefixes.
4632
e2a689da
PA
46332019-06-13 Pedro Alves <palves@redhat.com>
4634
e79be6e5 4635 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
4636 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4637 'max_completions' parameter and handle it.
4638 (test_gdb_completion_offers_commands): New.
4639
90a1ef87
PA
46402019-06-13 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4643
d4c16835
PA
46442019-06-13 Pedro Alves <palves@redhat.com>
4645
4646 * gdb.base/options.exp (test-backtrace): New.
4647 (top level): Call it.
4648
2daf894e
PA
46492019-06-13 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.guile/scm-frame-args.exp: Use "set print
4652 raw-frame-arguments" instead of "set print raw frame-arguments".
4653 * gdb.python/py-frame-args.exp: Likewise.
4654
e6ed716c
PA
46552019-06-13 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.compile/compile.exp: Adjust expected output to option
4658 processing changes.
4659
7d8062de
PA
46602019-06-13 Pedro Alves <palves@redhat.com>
4661
4662 * gdb.base/options.exp: Build executable.
4663 (test-print): New procedure.
4664 (top level): Call it, once for "print" and another for "compile
4665 print".
4666
9d0faba9
PA
46672019-06-13 Pedro Alves <palves@redhat.com>
4668
4669 * gdb.base/options.c: New file.
4670 * gdb.base/options.exp: New file.
4671
dee7b4c8
PA
46722019-06-13 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4675 that "o" is ambiguous.
4676
dca0f6c0
PA
46772019-06-13 Pedro Alves <palves@redhat.com>
4678
4679 * gdb.base/settings.c: New file.
4680 * gdb.base/settings.exp: New file.
4681
ccf46844
PA
46822019-06-13 Pedro Alves <palves@redhat.com>
4683
4684 * gdb.base/completion.exp: Fix comment typo.
4685
b9a3f842
PA
46862019-06-13 Pedro Alves <palves@redhat.com>
4687
4688 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4689 foo --1" test.
4690
d106773e
PA
46912019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4692
4693 * gdb.fortran/block-data.f: New.
4694 * gdb.fortran/block-data.exp: New.
4695
fea82da0
TV
46962019-06-11 Tom de Vries <tdevries@suse.de>
4697
4698 PR testsuite/24521
4699 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4700 message.
4701
8c2e74f1
TV
47022019-06-11 Tom de Vries <tdevries@suse.de>
4703
4704 PR testsuite/24521
4705 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4706
b49851c8
TV
47072019-06-11 Tom de Vries <tdevries@suse.de>
4708
4709 * boards/readnow.exp: New file.
4710
a7067863
AB
47112019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4712
4713 * gdb.fortran/vla-sizeof.exp: Update expected results.
4714
1a3da2cd
AB
47152019-06-06 Amos Bird <amosbird@gmail.com>
4716
4717 * gdb.base/annota1.exp (thread_switch): Add test for
4718 thread-exited annotation.
4719
3847a7bf
TT
47202019-06-06 Tom Tromey <tromey@adacore.com>
4721
4722 * gdb.base/maint.exp: Expect command started/finished output.
4723
0088ba59
AB
47242019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4725
4726 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4727 comment.
4728 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4729
312617a3
AB
47302019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4731
4732 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4733 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4734 * gdb.arch/riscv-unwind-long-insn.c: New file.
4735 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4736
e1f2e1a2
CB
47372019-06-04 Christian Biesinger <cbiesinger@google.com>
4738
d3238f7d 4739 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 4740
206584bd
PW
47412019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4742
4743 * lib/gdb.exp (help_list_trailer): New regexp variable
4744 factorizing the help trailer message.
4745 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4746 arg to allow to better factorize various tests.
4747 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4748 (test_prefix_command_help): Use help_list_trailer.
4749 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4750 * gdb.guile/scm-cmd.exp: Likewise.
4751 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4752 * gdb.base/help.exp: Use test_user_defined_class_help.
4753 * gdb.base/style.exp: Add tests for styling of help and apropos.
4754 * lib/gdb-utils.exp (style): Add title and highlight styles.
4755
708dc93e
PW
47562019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4757
4758 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4759 $_shell_exitsignal.
4760 * gdb.base/default.exp: Update for new convenience variables.
4761
f49055a5
TT
47622019-05-29 Tom Tromey <tromey@adacore.com>
4763
4764 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4765 to "break complete ada" test case's regexp.
4766
4330d61d
TT
47672019-05-29 Tom Tromey <tromey@adacore.com>
4768
4769 PR c++/20020:
4770 * gdb.cp/constexpr-field.exp: New file.
4771 * gdb.cp/constexpr-field.cc: New file.
4772
000439d5
TT
47732019-05-29 Tom Tromey <tromey@adacore.com>
4774
4775 * gdb.base/finish.exp (finish_no_print): New proc.
4776 (finish_tests): Call it.
4777
5a01c34c
TV
47782019-05-24 Tom de Vries <tdevries@suse.de>
4779
4780 * gdb.dwarf2/gdb-add-index.exp: New file.
4781
18125b16
TT
47822019-05-22 Tom Tromey <tromey@adacore.com>
4783
4784 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4785 * gdb.base/style.exp: Use "style".
4786 * lib/gdb-utils.exp (style): New proc.
4787
af1a8d03
TV
47882019-05-22 Tom de Vries <tdevries@suse.de>
4789
4790 * gdb.base/align.exp: Require c++11.
4791
e7fe496b
TV
47922019-05-22 Tom de Vries <tdevries@suse.de>
4793
4794 PR testsuite/24586
4795 * gdb.python/py-mi-var-info-path-expression.exp: Call
4796 mi_skip_python_tests to check if python is supported.
4797
8fca4da0
AH
47982019-05-22 Alan Hayward <alan.hayward@arm.com>
4799
4800 * gdb.arch/aarch64-pauth.c: New test.
4801 * gdb.arch/aarch64-pauth.exp: New file.
4802
b7060614
AH
48032019-05-22 Alan Hayward <alan.hayward@arm.com>
4804
4805 * README (Re-running Tests Outside The Testsuite): New section.
4806
669d0468
TV
48072019-05-21 Tom de Vries <tdevries@suse.de>
4808
4809 * gdb.arch/amd64-eval.exp: Require c++11.
4810 * gdb.base/max-depth.exp: Same.
4811 * gdb.compile/compile-cplus-array-decay.exp: Same.
4812 * gdb.cp/meth-typedefs.exp: Same.
4813 * gdb.cp/subtypes.exp: Same.
4814 * gdb.cp/temargs.exp: Same.
4815
ce3ebcaa
AH
48162019-05-21 Alan Hayward <alan.hayward@arm.com>
4817
4818 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4819
34d11c68
AB
48202019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4821
4822 PR gdb/18644
4823 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4824 * gdb.fortran/printing-types.exp: Add new test.
4825 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4826 testing.
4827 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4828 setup_kfail call.
4829
87781e84
AH
48302019-05-17 Alan Hayward <alan.hayward@arm.com>
4831
4832 * README (Running the Testsuite): Change example.
4833 (Testsuite Parameters): Remove TRANSCRIPT.
4834 * lib/gdb.exp: Remove TRANSCRIPT check.
4835
b420b89e
AH
48362019-05-17 Alan Hayward <alan.hayward@arm.com>
4837
4838 * README (Testsuite Parameters): Add replay logging to
4839 GDBSERVER_DEBUG.
4840 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4841 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4842 as a comma separated list.
4843 (gdb_debug_init): Override procedure.
4844
408e9b8b
AH
48452019-05-17 Alan Hayward <alan.hayward@arm.com>
4846
4847 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4848 (gdb_write_cmd_file): New procedure.
4849 * lib/gdbserver-support.exp (gdbserver_start): Call
4850 gdbserver_write_cmd_file.
4851 (gdbserver_write_cmd_file): New procedure.
4852
f9e2e39d
AH
48532019-05-17 Alan Hayward <alan.hayward@arm.com>
4854
4855 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4856 (delete_breakpoints): Likewise.
4857 (gdb_run_cmd): Likewise.
4858 (gdb_start_cmd): Likewise.
4859 (gdb_starti_cmd): Likewise.
4860 (gdb_internal_error_resync): Likewise.
4861 (gdb_test_multiple): Likewise.
4862 (gdb_reinitialize_dir): Likewise.
4863 (default_gdb_exit): Likewise.
4864 (gdb_file_cmd): Mark kill as optional.
4865 (default_gdb_start): Call gdb_stdin_log_init.
4866 (send_gdb): Call gdb_stdin_log_write.
4867 (rerun_to_main): Mark Y as an answer.
4868 (gdb_stdin_log_init): New function.
4869 (gdb_stdin_log_write): Likewise.
4870
81f47ac2
AH
48712019-05-17 Alan Hayward <alan.hayward@arm.com>
4872
4873 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4874 * gdb.base/debug-expr.exp: Likewise.
4875 * gdb.base/foll-fork.exp: Likewise.
4876 * gdb.base/foll-vfork.exp: Likewise.
4877 * gdb.base/fork-print-inferior-events.exp: Likewise.
4878 * gdb.base/gdb-sigterm.exp: Likewise.
4879 * gdb.base/gdbinit-history.exp: Likewise.
4880 * gdb.base/osabi.exp: Likewise.
4881 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4882 * gdb.base/ui-redirect.exp: Likewise.
4883 * gdb.gdb/unittest.exp: Likewise.
4884 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4885 * gdb.mi/mi-watch.exp: Likewise.
4886 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4887 * gdb.mi/user-selected-context-sync.exp: Likewise.
4888 * gdb.python/python.exp: Disable debug test when debugging.
4889 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4890 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4891 Likewise.
4892 * gdb.threads/stepi-random-signal.exp: Likewise.
4893
29b52314
AH
48942019-05-17 Alan Hayward <alan.hayward@arm.com>
4895
4896 * Makefile.in: Pass through GDB_DEBUG.
4897 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4898 (gdb,debug): Add board setting.
4899 * lib/gdb.exp (default_gdb_start): Start debugging.
4900 (gdb_debug_enabled): New procedure.
4901 (gdb_debug_init): Likewise.
29b52314
AH
4902
49032019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 4904
29b52314
AH
4905 * Makefile.in: Pass through GDB_DEBUG.
4906 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4907 (gdb,debug): Add board setting.
4908 * lib/gdb.exp (default_gdb_start): Start debugging.
4909 (gdb_debug_enabled): New procedure.
4910 (gdb_debug_init): Likewise.
29b52314 4911
ca1285d1
AH
49122019-05-17 Alan Hayward <alan.hayward@arm.com>
4913
4914 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4915
f3a09c80
AH
49162019-05-17 Alan Hayward <alan.hayward@arm.com>
4917
4918 * gdb.base/ui-redirect.exp: Test redirection.
4919
26648588
JV
49202019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4921
4922 * gdb.mi/mi-complete.exp: New file.
4923 * gdb.mi/mi-complete.cc: Likewise.
4924
14237686
AB
49252019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4926
4927 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4928 indexed and sliced arrays, and pointers to arrays.
4929
e7bd7fba
TT
49302019-05-14 Tom Tromey <tromey@adacore.com>
4931
4932 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4933 styling test.
4934
2764128d
TV
49352019-05-14 Tom de Vries <tdevries@suse.de>
4936
4937 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4938 selection entry encoding.
4939
71bed2db
TT
49402019-05-10 Tom Tromey <tromey@adacore.com>
4941
4942 * gdb.ada/info_exc.exp: Add "complete" test.
4943
63b667ad
TV
49442019-05-09 Tom de Vries <tdevries@suse.de>
4945
4946 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4947 CU-relative.
4948
9cfd2b89
TV
49492019-05-09 Tom de Vries <tdevries@suse.de>
4950
4951 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4952 CU-relative.
4953
2228ef77
XR
49542019-05-08 Joel Brobecker <brobecker@adacore.com>
4955
4956 * gdb.ada/frame_arg_lang.exp: New testcase.
4957 * gdb.ada/frame_arg_lang/bla.adb: New file.
4958 * gdb.ada/frame_arg_lang/pck.ads: New file.
4959 * gdb.ada/frame_arg_lang/pck.adb: New file.
4960 * gdb.ada/frame_arg_lang/foo.c: New file.
4961
80e55b13
TT
49622019-05-08 Tom Tromey <tromey@adacore.com>
4963
4964 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4965
9d3421af
TT
49662019-05-08 Tom Tromey <tromey@adacore.com>
4967
4968 * gdb.base/ptype-offsets.exp: Update tests.
4969
844333e2
TT
49702019-05-08 Tom Tromey <tromey@adacore.com>
4971
4972 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4973 cases.
4974 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4975 "short".
4976
988915ee
TT
49772019-05-08 Tom Tromey <tromey@adacore.com>
4978
4979 * gdb.ada/vla.exp: New file.
4980 * gdb.ada/vla/vla.adb: New file.
4981
7bd55dac
TV
49822019-05-07 Tom de Vries <tdevries@suse.de>
4983
4984 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4985
75f06e9d
TV
49862019-05-07 Tom de Vries <tdevries@suse.de>
4987
4988 PR testsuite/24522
4989 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4990 section.
4991
77e7aaa4
TV
49922019-05-07 Tom de Vries <tdevries@suse.de>
4993
4994 PR testsuite/24522
4995 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4996 .debug_aranges section.
4997
456ba0fa
TV
49982019-05-07 Tom de Vries <tdevries@suse.de>
4999
5000 PR testsuite/24159
5001 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5002
5a56d6a6
TV
50032019-05-06 Tom de Vries <tdevries@suse.de>
5004
5005 * lib/gdb.exp (exec_has_index_section): New proc.
5006 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5007 section.
5008
9d6d4be8
TV
50092019-05-04 Tom de Vries <tdevries@suse.de>
5010
5011 * boards/cc-with-debug-names.exp: New file.
5012
222a8d25
TT
50132019-05-03 Tom Tromey <tromey@adacore.com>
5014
5015 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5016 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5017 * gdb.ada/char_enum.exp: Add test.
5018
0fdfd794
TV
50192019-05-03 Tom de Vries <tdevries@suse.de>
5020
5021 * boards/cc-with-gdb-index.exp: New file.
5022
80062eb9
AB
50232019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5024
5025 * gdb.rust/simple.exp: Add new test case.
5026 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5027 (main): Initialise an instance of the new struct.
5028
4504bbde
TT
50292019-05-01 Tom Tromey <tromey@adacore.com>
5030
5031 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5032 record.
5033 (NPR): New variable.
5034 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5035 test.
5036
d48e62f4
TT
50372019-05-01 Tom Tromey <tromey@adacore.com>
5038
5039 * gdb.ada/packed_array_assign.exp: Add packed assignment
5040 regression test.
5041
f59f30f5
TV
50422019-05-01 Tom de Vries <tdevries@suse.de>
5043
5044 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5045
b70bfc54
TV
50462019-05-01 Tom de Vries <tdevries@suse.de>
5047
5048 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5049
15f18d14
AT
50502019-04-30 Ali Tamur <tamur@google.com>
5051
5052 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5053
2ff0a947
TT
50542019-04-30 Tom Tromey <tromey@adacore.com>
5055
5056 * lib/ada.exp (find_ada_tool): New proc.
5057 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5058 * gdb.ada/catch_ex_std.exp: New file.
5059 * gdb.ada/catch_ex_std/foo.adb: New file.
5060 * gdb.ada/catch_ex_std/some_package.adb: New file.
5061 * gdb.ada/catch_ex_std/some_package.ads: New file.
5062
a776957c
TT
50632019-04-30 Tom Tromey <tromey@adacore.com>
5064
5065 PR c++/24470:
5066 * gdb.cp/temargs.cc: Add test code from PR.
5067
bc68014d
AB
50682019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5069
5070 * gdb.fortran/vla-datatypes.exp: Update expected results.
5071 * gdb.fortran/vla-ptype.exp: Likewise.
5072 * gdb.fortran/vla-type.exp: Likewise.
5073 * gdb.fortran/vla-value.exp: Likewise.
5074
f1fdc960
AB
50752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5076
5077 * gdb.fortran/ptr-indentation.exp: Update expected results.
5078 * gdb.fortran/ptype-on-functions.exp: Likewise.
5079 * gdb.fortran/vla-ptr-info.exp: Likewise.
5080 * gdb.fortran/vla-value.exp: Likewise.
5081
bf7a4de1
AB
50822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5083
5084 * gdb.fortran/ptype-on-functions.exp: New file.
5085 * gdb.fortran/ptype-on-functions.f90: New file.
5086
bbe75b9d
AB
50872019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5088
5089 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5090 case void string.
5091
1db455a7
AB
50922019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5093
5094 * gdb.fortran/complex.exp: Expand.
5095 * gdb.fortran/complex.f: Renamed to...
5096 * gdb.fortran/complex.f90: ...this, and extended to add more
5097 complex values.
5098
b6d03bb2
AB
50992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5100
5101 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5102 MODULO, CMPLX.
5103
2e62ab40
AB
51042019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5105 Richard Bunt <richard.bunt@arm.com>
5106
5107 * gdb.base/max-depth.c: New file.
5108 * gdb.base/max-depth.exp: New file.
5109 * gdb.python/py-nested-maps.c: New file.
5110 * gdb.python/py-nested-maps.exp: New file.
5111 * gdb.python/py-nested-maps.py: New file.
5112 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5113 (test_all_common): Call test_max_depth.
5114 * gdb.fortran/max-depth.exp: New file.
5115 * gdb.fortran/max-depth.f90: New file.
5116 * gdb.go/max-depth.exp: New file.
5117 * gdb.go/max-depth.go: New file.
5118 * gdb.modula2/max-depth.exp: New file.
5119 * gdb.modula2/max-depth.c: New file.
5120 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5121
d2b584a5
TV
51222019-04-29 Tom de Vries <tdevries@suse.de>
5123
5124 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5125
136afab8
PW
51262019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5127
5128 * gdb.base/callexit.exp: Test may-call-functions off.
5129
725cbb63
KS
51302019-04-25 Keith Seitz <keiths@redhat.com>
5131
5132 PR c++/24367
5133 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5134 (another_incomplete_struct, test_incomplete): New definitions.
5135 (main): Use new definitions.
5136 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5137 functions.
5138
701adfb0
PA
51392019-04-25 Ali Tamur <tamur@google.com>
5140
5141 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5142
82433e3e
SDJ
51432019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5144
5145 PR corefiles/11608
5146 PR corefiles/18187
5147 * gdb.base/coredump-filter-build-id.exp: New file.
5148
dd06d4d6
AH
51492019-04-25 Alan Hayward <alan.hayward@arm.com>
5150
e79be6e5
SM
5151 * Makefile.in: Pass through GDBSERVER_DEBUG.
5152 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5153 (gdbserver,debug): Add board setting.
5154 * gdb.trace/tspeed.exp: Skip when debugging.
5155 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5156 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5157
1670072e
TT
51582019-04-24 Tom Tromey <tromey@adacore.com>
5159
5160 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5161 Rust.
5162
a59240a4
TT
51632019-04-24 Tom Tromey <tromey@adacore.com>
5164
5165 * gdb.arch/amd64-eval.exp: Test bitfield return.
5166 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5167 (class Foo) <return_bitfields>: New method.
5168 (main): Call it.
5169
b907456c
AB
51702019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5171
5172 * gdb.cp/many-args.cc: New file.
5173 * gdb.cp/many-args.exp: New file.
5174
5c565afd
TV
51752019-04-23 Tom de Vries <tdevries@suse.de>
5176
5177 PR gdb/24433
5178 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5179
ba22ff86
AH
51802019-04-23 Alan Hayward <alan.hayward@arm.com>
5181
5182 * gdb.trace/backtrace.exp: Use nopie flag.
5183 * gdb.trace/circ.exp: Likewise.
5184 * gdb.trace/collection.exp: Likewise.
5185 * gdb.trace/ftrace.exp: Likewise.
5186 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5187 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5188 * gdb.trace/qtro.exp: Likewise.
5189 * gdb.trace/read-memory.exp: Likewise.
5190 * gdb.trace/report.exp: Likewise.
5191 * gdb.trace/tfile.exp: Likewise.
5192 * gdb.trace/tfind.exp: Likewise.
5193 * gdb.trace/unavailable.exp: Likewise.
5194
7905fc35
PA
51952019-04-22 Pedro Alves <palves@redhat.com>
5196
5197 * gdb.base/solib-probes-nosharedlibrary.c,
5198 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5199
8ecb59f8
TT
52002019-04-19 Tom Tromey <tromey@adacore.com>
5201
5202 * gdb.ada/ptype_union.c: New file.
5203 * gdb.ada/ptype_union.exp: New file.
5204
62160ec9
TT
52052019-04-19 Tom Tromey <tromey@adacore.com>
5206
5207 PR symtab/24423:
5208 * gdb.base/list0.h (foo): Add a control-l character.
5209
36cd4ba5
TV
52102019-04-18 Tom de Vries <tdevries@suse.de>
5211
5212 PR gdb/24433
5213 * boards/local-board.exp: Set sysroot to "".
5214
b73715df
TV
52152019-04-18 Tom de Vries <tdevries@suse.de>
5216 Pedro Alves <palves@redhat.com>
5217
5218 PR gdb/24454
5219 * gdb.threads/vfork-follow-child-exec.c: New file.
5220 * gdb.threads/vfork-follow-child-exec.exp: New file.
5221 * gdb.threads/vfork-follow-child-exit.c: New file.
5222 * gdb.threads/vfork-follow-child-exit.exp: New file.
5223
4aa866af
LS
52242019-04-15 Leszek Swirski <leszeks@google.com>
5225
5226 * gdb.arch/amd64-eval.cc: New file.
5227 * gdb.arch/amd64-eval.exp: New file.
5228
e5a1a79a
AH
52292019-04-11 Alan Hayward <alan.hayward@arm.com>
5230
5231 * gdb.server/sysroot.c: New test.
5232 * gdb.server/sysroot.exp: New file.
5233 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5234 matching param.
5235
41077b66
AB
52362019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5237
5238 * gdb.base/align.exp: Extend test to cover structures containing
5239 only static fields.
5240
c30391f8
TV
52412019-04-11 Tom de Vries <tdevries@suse.de>
5242
5243 * boards/cc-with-dwz-m.exp: New file.
5244 * boards/cc-with-dwz.exp: New file.
5245 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5246
e242fd12
SM
52472019-04-09 Simon Marchi <simon.marchi@efficios.com>
5248
5249 * gdb.base/start-cpp.exp: New file.
5250 * gdb.base/start-cpp.cc: New file.
5251
2b0c8b01
KB
52522019-04-08 Kevin Buettner <kevinb@redhat.com>
5253
5254 * gdb.python/py-thrhandle.exp: Adjust tests to call
5255 thread_from_handle instead of thread_from_thread_handle.
5256
947210e5
KB
52572019-04-08 Kevin Buettner <kevinb@redhat.com>
5258
5259 * gdb.python/py-thrhandle.exp: Add tests for
5260 gdb.InferiorThread.handle.
5261
d7df6549
AB
52622019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5263
5264 * gdb.python/py-function.exp: Check calling helper function from
5265 all languages.
5266 * lib/gdb.exp (gdb_supported_languages): New proc.
5267
8bdc1658
AB
52682019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5269
5270 * gdb.base/complex-parts.c: New file.
5271 * gdb.base/complex-parts.exp: New file.
5272
05caa1d2
TT
52732019-04-01 Tom Tromey <tromey@adacore.com>
5274
5275 PR symtab/23331:
5276 * gdb.dwarf2/dw2-ranges-main.c: New file.
5277 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5278 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5279
7734102d
EZ
52802019-03-30 Simon Marchi <simark@simark.ca>
5281
5282 * gdb.base/default.exp: Add values for $_gdb_major and
5283 $_gdb_minor.
5284
188e1fa9
TT
52852019-03-29 Tom Tromey <tromey@adacore.com>
5286
5287 * gdb.base/help.exp: Tighten apropos regexp.
5288
2880242d
KS
52892019-03-29 Keith Seitz <keiths@redhat.com>
5290
5291 * gdb.fortran/array-bounds.exp: New file.
5292 * gdb.fortran/array-bounds.f90: New file.
5293
077cad8e
PW
52942019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5295
5296 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5297
80047cfc
PW
52982019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5299
5300 * gdb.multi/hello.c (main): Increase alarm timer.
5301
f489207e
SL
53022019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5303
5304 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5305 factor when no hardware watchpoint support.
5306
c92df149
AH
53072019-03-28 Alan Hayward <alan.hayward@arm.com>
5308 Pedro Alves <palves@redhat.com>
5309
5310 * boards/local-board.exp: set sysroot to /.
5311
933aebfa
AH
53122019-03-27 Alan Hayward <alan.hayward@arm.com>
5313
5314 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5315 in child.
5316
9f9aa852
AB
53172019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5318
5319 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5320 field.
5321 (make_container): Initialise new field.
5322 * gdb.python/py-prettyprint.exp: Add new tests.
5323 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5324 <display_hint>: New method.
5325
3714a195
AB
53262019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5327
5328 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5329 gdb_continue_to_breakpoint more throughout this test.
5330 (run_lang_tests) Supply unique test names, and use
5331 gdb_test_no_output.
5332
18c77628
AB
53332019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5334
5335 * gdb.base/finish-pretty.exp: Update expected results.
5336 * gdb.base/pretty-print.c: New file.
5337 * gdb.base/pretty-print.exp: New file.
5338
9a93502f
PA
53392019-03-25 Pedro Alves <palves@redhat.com>
5340
5341 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5342 move comments outside list. Append '-i "" eof' section.
5343
968aa7ae
AH
53442019-03-22 Alan Hayward <alan.hayward@arm.com>
5345
34a7f2a4 5346 PR testsuite/25016
968aa7ae
AH
5347 * README: Add pie options.
5348 * gdb.base/break-interp.exp: Ensure pie is disabled.
5349 * gdb.base/dump.exp: Likewise.
5350 * lib/gdb.exp (gdb_compile): Add pie option.
5351
4c7d57e7
TT
53522019-03-19 Tom Tromey <tromey@adacore.com>
5353
5354 * gdb.mi/mi2-cli-display.c: New file.
5355 * gdb.mi/mi2-cli-display.exp: New file.
5356
bff8c71f
TT
53572019-03-18 Joel Brobecker <brobecker@adacore.com>
5358 Tom Tromey <tromey@adacore.com>
5359
5360 * gdb.ada/ptype_array/pck.adb: New file.
5361 * gdb.ada/ptype_array/pck.ads: New file.
5362 * gdb.ada/ptype_array/foo.adb: New file.
5363 * gdb.ada/ptype_array.exp: New file.
5364
d085f989
TT
53652019-03-14 Tom Tromey <tromey@adacore.com>
5366
5367 * gdb.base/style.exp: Add "set style sources" test.
5368
b4be1b06
SM
53692019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5370
5371 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5372 * mi-breakpoint-multiple-locations.exp: ... this.
5373 (make_breakpoints_pattern): New proc.
5374 (do_test): Add mi_version parameter, test -break-insert,
5375 -break-info and =breakpoint-created.
5376
7cde5fc2
AB
53772019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5378
5379 * config/default.exp: Remove 'load_lib gdb.exp'.
5380 * config/monitor.exp: Likewise.
5381 * config/sid.exp: Likewise.
5382 * config/sim.exp: Likewise.
5383 * config/slite.exp: Likewise.
5384 * config/unix.exp: Likewise.
5385 * gdb.base/default.exp: Remove unhelpful comment.
5386
efbecbc1
AB
53872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5388
5389 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5390
0841c79a
AB
53912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5392
5393 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5394
4a270568
AB
53952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5396
5397 * gdb.fortran/type-kinds.exp: Update expected results.
5398
067630bd
AB
53992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5400
5401 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5402
3be47f7a
AB
54032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5404
5405 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5406 function.
5407 (test_basic_parsing_of_type_kinds): Expand types tested.
5408 (test_parsing_invalid_type_kinds): New function.
5409
4d00f5d8
AB
54102019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5411
5412 * gdb.fortran/intrinsics.exp: New file.
5413 * gdb.fortran/intrinsics.f90: New file.
5414 * gdb.fortran/type-kinds.exp: New file.
5415
c8f91604
AB
54162019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5417
5418 * gdb.fortran/dot-ops.exp: New file.
5419
dd9f2c76
AB
54202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5421
5422 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5423 Check upper and lower case logical literals.
5424
84ec9724
AB
54252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5426
5427 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5428 Remove duplicate tests.
5429
c3734e09
AH
54302019-03-06 Alan Hayward <alan.hayward@arm.com>
5431
5432 * lib/gdb.exp (builtin_cd): rename of cd.
5433 (cd): Override builtin.
5434
aa3cfbda
RB
54352019-03-06 Richard Bunt <richard.bunt@arm.com>
5436
5437 * gdb.fortran/function-calls.exp: New file.
5438 * gdb.fortran/function-calls.f90: New test.
5439
7b63ad86
RB
54402019-03-04 Richard Bunt <richard.bunt@arm.com>
5441
5442 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5443 on user program standard output.
5444 * gdb.fortran/short-circuit-argument-list.f90: Record function
5445 calls.
5446
01abb042
AH
54472019-02-28 Alan Hayward <alan.hayward@arm.com>
5448
c3734e09
AH
5449 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5450 failure.
01abb042 5451
92137da0
RO
54522019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5453
5454 PR gdb/8527
5455 * gdb.base/interrupt-daemon-attach.c,
5456 gdb.base/interrupt-daemon-attach.exp: New test.
5457
5862844d
PA
54582019-02-27 Pedro Alves <palves@redhat.com>
5459
5460 * gdb.base/page.exp: Add tests for "set width/height -1".
5461
8ed25214
PA
54622019-02-27 Pedro Alves <palves@redhat.com>
5463
5464 * gdb.base/page.exp: Add tests for "set/show width/height" with
5465 "infinite" values.
5466
6c28e44a
TT
54672019-02-27 Tom Tromey <tromey@adacore.com>
5468
5469 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5470 2.4.
5471 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5472 workaround.
5473
bf9a735e
AB
54742019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5475
5476 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5477 tests for structs with static members.
5478
8791793c
TT
54792019-02-26 Tom Tromey <tromey@adacore.com>
5480
5481 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5482 ValueError, not TypeError.
5483
bc2a507e
KB
54842019-02-26 Kevin Buettner <kevinb@redhat.com>
5485
5486 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5487 call from main program.
5488
e0e7d3bd
JB
54892019-02-23 Joel Brobecker <brobecker@adacore.com>
5490
5491 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5492 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5493 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5494 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5495 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5496
9600246d
KS
54972019-02-22 Keith Seitz <keiths@redhat.com>
5498
5499 PR symtab/23853
5500 * gdb.base/symlink-sourcefile.c: New file.
5501 * gdb.base/symlink-sourcefile.exp: New file.
5502
0c95f9ed
TT
55032019-02-20 Tom Tromey <tom@tromey.com>
5504
5505 * gdb.base/info_qt.exp: Update.
5506
6caa91b6
SM
55072019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5508
5509 * gdb.base/source.exp: Move "error in sourced script" code to
5510 the end.
5511 * gdb.base/source-error.gdb: Move contents to
5512 source-error-1.gdb. Add new code to source source-error-1.gdb.
5513 * gdb.base/source-error-1.gdb: New file, from previous
5514 source-error.gdb.
5515
6506371f
TT
55162019-02-17 Tom Tromey <tom@tromey.com>
5517
5518 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5519 for macro styling.
5520 * gdb.base/style.c (SOME_MACRO): New macro.
5521
a0087920
TT
55222019-02-17 Tom Tromey <tom@tromey.com>
5523
5524 * gdb.base/style.exp: Add line-wrapping tests.
5525 * gdb.base/page.exp: Add test for quitting during pagination.
5526
a2cd4f14
JB
55272019-02-17 Joel Brobecker <brobecker@adacore.com>
5528
5529 * gdb.ada/big_packed_array: New testcase.
5530 * gdb.ada/homonym.exp: Fix incorrect expected output for
5531 "break <homonym__get_value>" test.
5532
9d70ffbc
WP
55332019-02-13 Weimin Pan <weimin.pan@oracle.com>
5534
5535 PR breakpoints/21870
5536 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5537 and prepare_for_testing. Add comment.
5538 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5539 redundant cleanup call. Clean up comment.
5540
01c7ae81
WP
55412019-02-12 Weimin Pan <weimin.pan@oracle.com>
5542
5543 PR breakpoints/21870
5544 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5545 * gdb.arch/aarch64-dbreg-contents.c: New file.
5546
aff29d1c
JB
55472019-02-10 Joel Brobecker <brobecker@adacore.com>
5548
5549 * gdb.ada/mi_ref_changeable: New testcase.
5550
df0da8a2
AH
55512019-02-07 Alan Hayward <alan.hayward@arm.com>
5552
5553 * gdb.base/attach.exp: Add double attach test.
5554
bd447abb
SM
55552019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5556
5557 * lib/gdb.exp (default_gdb_start): Don't match pagination
5558 prompt.
5559 (gdb_init): Set stty_init.
5560
1dbc40b9
TT
55612019-01-27 Tom Tromey <tom@tromey.com>
5562
5563 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5564 skip_python_tests.
5565
353229bf
AH
55662019-01-24 Alan Hayward <alan.hayward@arm.com>
5567
5568 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5569 New structure.
5570 (struct struct_static_02_02): Likewise.
5571 (struct struct_static_02_03): Likewise.
5572 (struct struct_static_02_04): Likewise.
5573 (struct struct_static_04_01): Likewise.
5574 (struct struct_static_04_02): Likewise.
5575 (struct struct_static_04_03): Likewise.
5576 (struct struct_static_04_04): Likewise.
5577 (struct struct_static_06_01): Likewise.
5578 (struct struct_static_06_02): Likewise.
5579 (struct struct_static_06_03): Likewise.
5580 (struct struct_static_06_04): Likewise.
5581 (cmp_struct_static_02_01): Likewise.
5582 (cmp_struct_static_02_02): Likewise.
5583 (cmp_struct_static_02_03): Likewise.
5584 (cmp_struct_static_02_04): Likewise.
5585 (cmp_struct_static_04_01): Likewise.
5586 (cmp_struct_static_04_02): Likewise.
5587 (cmp_struct_static_04_03): Likewise.
5588 (cmp_struct_static_04_04): Likewise.
5589 (cmp_struct_static_06_01): Likewise.
5590 (cmp_struct_static_06_02): Likewise.
5591 (cmp_struct_static_06_03): Likewise.
5592 (cmp_struct_static_06_04): Likewise.
5593 (call_all): Test new structs.
5594 * gdb.base/infcall-nested-structs.exp: Likewise.
5595
73021deb
AH
55962019-01-21 Alan Hayward <alan.hayward@arm.com>
5597 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5598
fc65c7db
AH
55992019-01-21 Alan Hayward <alan.hayward@arm.com>
5600 * gdb.base/stack-protector.c: New test.
5601 * gdb.base/stack-protector.exp: New file.
5602 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5603 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5604 option.
5605 (gdb_compile): Remove stack protector for GCC and prevent
5606 recursion.
5607
c24bdb02
KS
56082019-01-16 Keith Seitz <keiths@redhat.com>
5609
5610 PR gdb/23773
5611 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5612
6f072a10
PFC
56132019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5614
5615 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5616 aliases.
5617 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5618 tests.
5619 * gdb.arch/powerpc-vector-regs.c: New file.
5620 * gdb.arch/powerpc-vector-regs.exp: New file.
5621
a7b8d682
PFC
56222019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5623
5624 * gdb.arch/altivec-regs.exp: Fix the list passed to
5625 gdb_expect_list when testing "info vector".
5626
6eb6fb67
AB
56272019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5628
5629 * gdb.base/style.exp: Don't include path in testname.
5630
b56f80d8
KS
56312019-01-10 Keith Seitz <keiths@redhat.com>
5632
5633 PR gdb/23712
5634 PR symtab/23010
5635 * gdb.dwarf2/multidictionary.exp: New file.
5636
041be526
SM
56372019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5638
5639 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5640 (test_gnuv3_style_demangling): ... this.
5641 (test_lucid_style_demangling): Remove.
5642 (test_arm_style_demangling): Remove.
5643 (test_hp_style_demangling): Remove.
5644 (do_tests): Remove calls to the above.
5645
d820d0c3
AB
56462019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5647
5648 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5649 case.
5650
f097f5ad
TT
56512019-01-06 Tom Tromey <tom@tromey.com>
5652
5653 PR gdb/28155:
5654 * gdb.dwarf2/typedef-void-finish.exp: New file.
5655
2cd8cc0b
TT
56562018-12-28 Tom Tromey <tom@tromey.com>
5657 Simon Marchi <simark@simark.ca>
5658
5659 * gdb.base/jit-exec.exp: New file.
5660 * gdb.base/jit-exec.c: New file.
5661 * gdb.base/jit-execd.c: New file.
5662
35fb8261
TT
56632018-12-28 Tom Tromey <tom@tromey.com>
5664
5665 * gdb.base/style.exp: Update test to check for address styling.
5666
47fd17cd
TT
56672018-12-28 Tom Tromey <tom@tromey.com>
5668
5669 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5670 message.
5671
d47032b7
TT
56722018-12-28 Tom Tromey <tom@tromey.com>
5673
5674 * gdb.base/style.exp: Add test for version number styling.
5675
af79b68d
TT
56762018-12-28 Tom Tromey <tom@tromey.com>
5677
5678 * gdb.base/style.exp: Add test for print_address_symbolic.
5679
0bb296cb
TT
56802018-12-28 Tom Tromey <tom@tromey.com>
5681
5682 * gdb.base/style.exp: Add test for breakpoint setting.
5683
80ae2043
TT
56842018-12-28 Tom Tromey <tom@tromey.com>
5685
5686 * gdb.base/style.exp: Add test for variable names.
5687
cbe56571
TT
56882018-12-28 Tom Tromey <tom@tromey.com>
5689
5690 * gdb.base/style.exp: New file.
5691 * gdb.base/style.c: New file.
5692
9162a27c
TT
56932018-12-28 Tom Tromey <tom@tromey.com>
5694
5695 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5696 "dumb".
5697 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5698 the TERM environment variable.
5699
bc543c90
TT
57002018-12-27 Tom Tromey <tom@tromey.com>
5701
5702 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5703 pagination test.
5704
6f0ffe50
AB
57052018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5706
5707 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5708 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5709
b5a1e557
PW
57102018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5711
5712 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5713 Filename a.adb changed to bp_fun_addr.adb.
5714 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5715
6e8b1ab2
JV
57162018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5717
5718 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5719 non-PIE executables.
5720 * README: Mention the gdb,nopie_flag board setting.
5721 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5722 non-PIE executable.
5723 * gdb.arch/amd64-entry-value.exp: Likewise.
5724 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5725 * gdb.arch/i386-float.exp: Likewise.
5726 * gdb.arch/i386-signal.exp: Likewise.
5727 * gdb.mi/mi-reg-undefined.exp: Likewise.
5728
d00a27c5
PM
57292018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5730
5731 PR gdb/23974
5732 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5733
161d081c
PW
57342018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5735
5736 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5737 Update order of results accordingly.
5738
b001de23
AB
57392018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5740
5741 * gdb.base/annota1.exp: Update a test regexp.
5742
99e1a184
AB
57432018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5744
5745 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5746
7a81c1e2
PW
57472018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5748
5749 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5750 (reuse_time): Initialize to REUSE_TIME_CAP.
5751 (check_rc): New function.
5752 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5753 Check pthread_create rc.
5754 (spawner_thread_func): Check pthread_create and pthread_join rc.
5755
73e8dc90
PA
57562018-12-08 Pedro Alves <palves@redhat.com>
5757
5758 * gdb.base/list.exp (test_forward_search): Rename to ...
5759 (test_forward_reverse_search): ... this. Also test reverse-search
5760 and the forward-search alias.
5761
13f2ed32
AB
57622018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5763
5764 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5765 local timeout variable before return, and remove all local timeout
5766 variable entirely.
5767 (gdb_load): Likewise.
5768
64d27cfc
TV
57692018-12-01 Tom de Vries <tdevries@suse.de>
5770
5771 * gdb.base/gdb-caching-proc.exp: New file.
5772
f63c03b4
SDJ
57732018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5774
5775 * Makefile.in (TIMESTAMP): New variable.
5776 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5777 command.
5778 (check-single-racy): Likewise.
5779 (check/%.exp): Likewise.
5780 (check-racy/%.exp): Likewise.
5781 (workers/%.worker): Likewise.
5782 (build-perf): Likewise.
5783 (check-perf): Likewise.
5784 * README: Describe new "TS" and "TS_FORMAT" variables.
5785 * print-ts.py: New file.
5786
1c97054b
BF
57872018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5788
5789 PR python/23714
5790 * gdb.python/python.exp: Test command repetition after
5791 gdb.execute.
5792
1871a62d
AB
57932018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5794
5795 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5796 is correctly aligned.
5797
fb5e1ed9
PW
57982018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5799
5800 * gdb.ada/info_auto_lang.exp: New testcase.
5801 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5802 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5803 * gdb.ada/info_auto_lang/some_c.c: New file.
5804
43d397ca
PW
58052018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5806
5807 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5808 FUNC_lang language syntax.
5809
beddd671
PW
58102018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5811
5812 * gdb.base/info_minsym.c: New file.
5813 * gdb.base/info_minsym.exp: New file.
5814
73fc52c4
TT
58152018-11-19 Tom Tromey <tom@tromey.com>
5816
5817 PR rust/23625:
5818 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5819 * gdb.rust/expr.exp: Update expected output. Change one test.
5820
994b876a
TT
58212018-11-19 Tom Tromey <tom@tromey.com>
5822
5823 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5824
6769f276
PA
58252018-11-19 Pedro Alves <palves@redhat.com>
5826
5827 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5828 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5829 see the expected warning.
5830
38a72da0
AH
58312018-11-16 Alan Hayward <alan.hayward@arm.com>
5832
5833 PR gdb/22736:
5834 * gdb.cp/infcall-nodebug-lib.c: New test.
5835 * gdb.cp/infcall-nodebug-main.c: New test.
5836 * gdb.cp/infcall-nodebug.exp: New file.
5837
53a89d6e
SM
58382018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5839
5840 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5841 completer tests.
5842
9325300d
TV
58432018-11-09 Tom de Vries <tdevries@suse.de>
5844
5845 * gdb.base/msym-lang.c: New test.
5846 * gdb.base/msym-lang.exp: New file.
5847 * gdb.base/msym-lang-main.c: New test.
5848
20f0d60d
TT
58492018-11-08 Tom Tromey <tom@tromey.com>
5850
5851 PR gdb/23555:
5852 PR gdb/23838:
5853 * gdb.base/warning.exp: New file.
5854
b5420128
JB
58552018-11-08 Jan Beulich <jbeulich@suse.com>
5856
5857 * testsuite/gdb.arch/i386-avx512.c,
5858 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5859
cd115d61
AB
58602018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5861
5862 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5863 point hardware.
5864
35ee2dc2
AB
58652018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5866
5867 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5868 * gdb.dwarf2/missing-type-name.exp: New file.
5869
31aceee8
TV
58702018-11-06 Tom de Vries <tdevries@suse.de>
5871
5872 * gdb.base/many-headers.c: New test.
5873 * gdb.base/many-headers.exp: New file.
5874
109be305
JW
58752018-11-06 Jim Wilson <jimw@sifive.com>
5876
5877 * gdb.base/code_elim.exp: For riscv, set additional_flags
5878 to include -msmall-data-limit=0.
5879
e2b7af72
JB
58802018-11-01 Joel Brobecker <brobecker@adacore.com>
5881
5882 * gdb.ada/watch_minus_l: New testcase.
5883
cdcda965
SM
58842018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5885
5886 * gdb.arch/aix-sighandle.c: New file.
5887 * gdb.arch/aix-sighandle.exp: New file.
5888
92dcebf3
AB
58892018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5890
5891 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5892 registers being unions.
5893
68b9ac18
TV
58942018-10-31 Tom de Vries <tdevries@suse.de>
5895
5896 * lib/valgrind.exp: New file.
5897 (vgdb_start, vgdb_stop): New procs, factored out of ...
5898 * gdb.base/valgrind-bt.exp: ... here, ...
5899 * gdb.base/valgrind-disp-step.exp: ... here and ...
5900 * gdb.base/valgrind-infcall.exp: ... here.
5901
1443936e
TV
59022018-10-31 Tom de Vries <tdevries@suse.de>
5903
5904 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5905
eb77c9df
AB
59062018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5907
5908 * gdb.dwarf2/void-type.c: New file.
5909 * gdb.dwarf2/void-type.exp: New file.
5910
82b5e646
PW
59112018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5912
5913 * gdb.base/info_qt.c: New file.
5914 * gdb.base/info_qt.exp: New file.
5915
8d619c01
EBM
59162018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5917
5918 * gdb.arch/powerpc-htm-regs.c: New file.
5919 * gdb.arch/powerpc-htm-regs.exp: New file.
5920
f2cf6173
EBM
59212018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5922
5923 * gdb.arch/powerpc-tar.c: New file.
5924 * gdb.arch/powerpc-tar.exp: New file.
5925
7ca18ed6
EBM
59262018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5927
5928 * gdb.arch/powerpc-ppr-dscr.c: New file.
5929 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5930
bfcc0eba
TV
59312018-10-25 Tom de Vries <tdevries@suse.de>
5932
5933 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5934
fe1a5cad
TV
59352018-10-24 Tom de Vries <tdevries@suse.de>
5936
5937 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5938 longer exists error.
5939
a76dc3b7
TV
59402018-10-24 Tom de Vries <tdevries@suse.de>
5941
5942 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5943
4df46df7
TV
59442018-10-24 Tom de Vries <tdevries@suse.de>
5945
5946 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5947 --db-attach in valgrind.
5948
0dbfcfff
AB
59492018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5950
5951 * gdb.arch/riscv-reg-aliases.c: New file.
5952 * gdb.arch/riscv-reg-aliases.exp: New file.
5953
b04480b1
AH
59542018-10-19 Alan Hayward <alan.hayward@arm.com>
5955
5956 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5957
2c6ac8d7
AH
59582018-10-19 Alan Hayward <alan.hayward@arm.com>
5959
5960 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5961
2bc69f25
AH
59622018-10-19 Alan Hayward <alan.hayward@arm.com>
5963
5964 * gdb.cp/ovldbreak.exp: Fix regexps.
5965
1f1ae3a3
AH
59662018-10-19 Alan Hayward <alan.hayward@arm.com>
5967
5968 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5969
94c18618
SDJ
59702018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5971
5972 PR cli/23785
5973 * gdb.base/restore.exp: New test to check if "restore" with an
5974 invalid file doesn't segfault.
5975
812cd6eb
TV
59762018-10-18 Tom de Vries <tdevries@suse.de>
5977
5978 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5979 * gdb.ada/excep_handle.exp: Same.
5980 * gdb.ada/mi_string_access.exp: Same.
5981 * gdb.ada/mi_var_union.exp: Same.
5982 * gdb.arch/arc-analyze-prologue.exp: Same.
5983 * gdb.arch/arc-decode-insn.exp: Same.
5984 * gdb.base/readnever.exp: Same.
5985 * gdb.fortran/printing-types.exp: Same.
5986 * gdb.guile/scm-lazy-string.exp: Same.
5987
c4b90788
TV
59882018-10-16 Tom de Vries <tdevries@suse.de>
5989
5990 PR gdb/23730
5991 * gdb.base/catch-follow-exec.c: Add copyright notice.
5992 * gdb.base/catch-follow-exec.exp: Rewrite to use
5993 gdb_spawn_with_cmdline_opts. Require gdb-native.
5994
8bca2978
SL
59952018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5996
5997 * gdb.trace/actions-changed.exp: Check for arch support.
5998 * gdb.trace/actions.exp: Likewise.
5999 * gdb.trace/ax.exp: Likewise.
6000 * gdb.trace/backtrace.exp: Likewise.
6001 * gdb.trace/change-loc.exp: Likewise.
6002 * gdb.trace/deltrace.exp: Likewise.
6003 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6004 * gdb.trace/ftrace.exp: Likewise.
6005 * gdb.trace/infotrace.exp: Check for arch support.
6006 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6007 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6008 * gdb.trace/mi-tsv-changed.exp: Likewise.
6009 * gdb.trace/packetlen.exp: Likewise.
6010 * gdb.trace/passc-dyn.exp: Likewise.
6011 * gdb.trace/passcount.exp: Likewise.
6012 * gdb.trace/pending.exp: Likewise.
6013 * gdb.trace/range-stepping.exp: Check for shlib support.
6014 * gdb.trace/report.exp: Check for arch support.
6015 * gdb.trace/save-trace.exp: Likewise.
6016 * gdb.trace/signal.exp: Check for signal support.
6017 * gdb.trace/tfind.exp: Check for arch support.
6018 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6019 * gdb.trace/trace-common.h: Add comment.
6020 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6021 * gdb.trace/trace-enable-disable.exp: Likewise.
6022 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6023 * gdb.trace/tracecmd.exp: Check for arch support.
6024 * gdb.trace/tspeed.exp: Check for shlib and target support.
6025 * gdb.trace/tstatus.exp: Check for arch support.
6026 * gdb.trace/tsv.exp: Likewise.
6027 * gdb.trace/while-dyn.exp: Likewise.
6028 * gdb.trace/while-stepping.exp: Likewise.
6029 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6030
f9c49bff
SM
60312018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6032
6033 * gdb.trace/tspeed.exp: Remove nowarnings.
6034 (prepare_for_trace_test): Declare "global ipalib".
6035 * gdb.trace/tspeed.c: Include unistd.h.
6036 (main): Remove superfluous printf argument.
6037
d4330bde
SL
60382018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6039
6040 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6041 directory prefix on the filename.
6042
8ecfd7bd
SDJ
60432018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6044
6045 * gdb.gdb/unittest.exp: Update expected message informing that
6046 selftests have been disabled.
6047 * gdb.server/unittest.exp: Likewise.
6048
58bbcd02
TV
60492018-10-09 Tom de Vries <tdevries@suse.de>
6050
6051 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6052 with runto_main.
6053
9f6b697b
WP
60542018-10-08 Weimin Pan <weimin.pan@oracle.com>
6055
6056 PR c++/16841
6057 * gdb.cp/virtbase2.cc: New file.
6058 * gdb.cp/virtbase2.exp: New file.
6059
add5ded5
TT
60602018-10-06 Tom Tromey <tom@tromey.com>
6061
6062 PR python/19399:
6063 * gdb.python/py-inferior.exp: Add architecture test.
6064
f9e48344
TT
60652018-10-06 Tom Tromey <tom@tromey.com>
6066
6067 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6068 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6069
2a8be203
TT
60702018-10-06 Tom Tromey <tom@tromey.com>
6071
6072 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6073 of a "throw" catchpoint.
6074
e04caa70
SDJ
60752018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6076
6077 * gdb.base/info-proc.exp: Update string expected from "help info
6078 proc".
6079
5ca8c39f
TT
60802018-10-04 Tom Tromey <tom@tromey.com>
6081
6082 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6083 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6084 (test_initial_complaints, test_empty_complaints): Update.
6085 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6086
3453e7e4
TT
60872018-10-04 Tom Tromey <tom@tromey.com>
6088
6089 PR cli/19551:
6090 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6091 * lib/gdb.exp (gdb_file_cmd): Update.
6092 * gdb.stabs/weird.exp (print_weird_var): Update.
6093 * gdb.server/solib-list.exp: Update.
6094 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6095 * gdb.mi/mi-cli.exp: Update.
6096 * gdb.linespec/linespec.exp: Update.
6097 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6098 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6099 * gdb.cp/cp-relocate.exp: Update.
6100 * gdb.base/sym-file.exp: Update.
6101 * gdb.base/relocate.exp: Update.
6102 * gdb.base/readnever.exp: Update.
6103 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6104 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6105 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6106 * gdb.base/code_elim.exp: Update.
6107 * gdb.base/break-unload-file.exp (test_break): Update.
6108 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6109 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6110 Update.
6111 * gdb.base/attach.exp (do_attach_tests): Update.
6112 * gdb.base/sepdebug.exp: Update.
6113 * gdb.python/py-section-script.exp: Update.
6114
6afcf761
TT
61152018-10-04 Tom Tromey <tom@tromey.com>
6116
6117 PR cli/22234:
6118 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6119 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6120 output.
6121
fef1b293
TT
61222018-10-04 Tom Tromey <tom@tromey.com>
6123
6124 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6125 set width and height to 0.
6126 (test_command_line_attach_run): Use -quiet.
6127
ca98345e
SL
61282018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6129
6130 * lib/gdb.exp (skip_ifunc_tests): New.
6131 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6132 other compile failures.
6133 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6134
ff34e6ae
SM
61352018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6136
6137 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6138 is_amd64_regs_target.
6139
6bb8890e
AH
61402018-10-01 Alan Hayward <alan.hayward@arm.com>
6141
6142 * gdb.arch/aarch64-sighandler-regs.c: New test.
6143 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6144 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6145
224d30d3
MM
61462018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6147
6148 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6149 assembly.
6150
f67ffa6a
AB
61512018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6152
6153 * gdb.base/frame-selection.exp: New file.
6154 * gdb.base/frame-selection.c: New file.
6155
9fc3183f
AH
61562018-09-27 Alan Hayward <alan.hayward@arm.com>
6157
6158 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6159 pthread barrier.
6160 (main): Likewise.
6161
d354055e
AB
61622018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6163
6164 * gdb.base/large-frame-1.c: New file.
6165 * gdb.base/large-frame-2.c: New file.
6166 * gdb.base/large-frame.exp: New file.
6167 * gdb.base/large-frame.h: New file.
6168
db727370
JL
61692018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6170
6171 PR gdb/20948
6172 * gdb.base/write_mem.exp: New test.
6173 * gdb.base/write_mem.c: Likewise.
6174
ae778caf
TT
61752018-09-23 Tom Tromey <tom@tromey.com>
6176
6177 PR python/18852:
6178 * gdb.python/py-parameter.exp: Add test for parameter that throws
6179 on "set".
6180
fd3ba736
TT
61812018-09-23 Tom Tromey <tom@tromey.com>
6182
6183 PR python/17284:
6184 * gdb.python/py-template.exp (test_template_arg): Add test for
6185 negative template argument number.
6186
39a24317
TT
61872018-09-23 Tom Tromey <tom@tromey.com>
6188
6189 PR python/14062:
6190 * gdb.python/python.exp: Add test for post_event error.
6191
f5769a2c
TT
61922018-09-23 Tom Tromey <tom@tromey.com>
6193
6194 PR python/18170:
6195 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6196 convert pointers to int and long.
6197
1c1e54f6
TT
61982018-09-23 Tom Tromey <tom@tromey.com>
6199
6200 PR python/20126:
6201 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6202 signed-ness conversion tests.
6203
fb4fa946
TT
62042018-09-23 Tom Tromey <tom@tromey.com>
6205
6206 PR python/18352;
6207 * gdb.python/py-value.exp (test_float_conversion): New proc.
6208 Use it.
6209
a466edac
HAQ
62102018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6211
6212 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6213
4ee9b0c5
SL
62142018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6215
6216 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6217 no readline.
6218 * gdb.base/utf8-identifiers.exp: Likewise.
6219 * gdb.cp/cpcompletion.exp: Likewise.
6220 * gdb.linespec/cpcompletion.exp: Likewise.
6221 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6222 * gdb.linespec/cpls-ops.exp: Likewise.
6223
23be8da7
RB
62242018-09-19 Richard Bunt <richard.bunt@arm.com>
6225 Chris January <chris.january@arm.com>
6226
6227 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6228 * gdb.fortran/short-circuit-argument-list.exp: New file.
6229 * gdb.fortran/short-circuit-argument-list.f90: New test.
6230
5031d0ae
SDJ
62312018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6232
6233 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6234 "arch=" keyword when executing "-stack-list-frames".
6235
b4c0d1a4
SDJ
62362018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6237
6238 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6239 "arch=" keyword when executing "-stack-list-frames".
6240
7a6d2b45
SDJ
62412018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6242
6243 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6244 break ada".
6245
8588b356
SM
62462018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6247
6248 PR python/23669
6249 * gdb.python/python.exp: Test gdb.execute("show commands").
6250
65e65158
TT
62512018-09-16 Tom Tromey <tom@tromey.com>
6252
6253 * gdb.base/new-ui.exp (do_execution_tests): Update.
6254 * gdb.base/dbx.exp (test_breakpoints): Update.
6255
bf326452
AH
62562018-09-14 Alan Hayward <alan.hayward@arm.com>
6257
6258 * lib/gdb.exp (gdb_simple_compile): Add proc.
6259 (is_elf_target): Use gdb_simple_compile.
6260 (skip_altivec_tests): Likewise.
6261 (skip_vsx_tests): Likewise.
6262 (skip_tsx_tests): Likewise.
6263 (skip_btrace_tests): Likewise.
6264 (skip_btrace_pt_tests): Likewise.
6265 (gdb_can_simple_compile): Likewise.
6266 (gdb_has_argv0): Likewise.
6267 (gdb_target_symbol_prefix): Likewise.
6268 (target_supports_scheduler_locking): Likewise.
6269
2361b0fb
TT
62702018-09-13 Tom Tromey <tom@tromey.com>
6271
6272 * Makefile.in (TAGS): Recognize proc_with_prefix and
6273 gdb_caching_proc.
6274
0ae1a321
SM
62752018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6276
6277 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6278 method.
6279
a40bf0c2
SM
62802018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6281
6282 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6283 and a few other Inferior properties when the Inferior is no
6284 longer valid.
6285
4a3fe98f
TT
62862018-09-13 Tom Tromey <tom@tromey.com>
6287
6288 PR rust/23650:
6289 * gdb.rust/simple.exp: Add test for enum field access error.
6290
098b2108
TT
62912018-09-13 Tom Tromey <tom@tromey.com>
6292
6293 PR rust/23626:
6294 * gdb.rust/simple.rs (EmptyEnum): New type.
6295 (main): Use it.
6296 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6297
1256af7d
SM
62982018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6299
6300 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6301 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6302 * gdb.python/py-symtab.exp: Update test printing an objfile.
6303
4aa8e6c2
SM
63042018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6305
6306 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6307 object.
6308
c221b2f7
AH
63092018-09-12 Alan Hayward <alan.hayward@arm.com>
6310
6311 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6312 (support_complex_tests): Use gdb_can_simple_compile.
6313 (is_ilp32_target): Likewise.
6314 (is_lp64_target): Likewise.
6315 (is_64_target): Likewise.
6316 (is_amd64_regs_target): Likewise.
6317 (is_aarch32_target): Likewise.
6318 (gdb_int128_helper): Likewise.
6319
6f1107b5
JK
63202018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6321
6322 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6323
1f5d1570
JG
63242018-09-10 Jerome Guitton <guitton@adacore.com>
6325
6326 * gdb.ada/same_component_name: Add test for case of tagged record
6327 with variable-length fields.
6328
cc330e39
XR
63292018-09-10 Xavier Roirand <roirand@adacore.com>
6330
6331 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6332 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6333 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6334 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6335
b9c50e9a
XR
63362018-09-10 Xavier Roirand <roirand@adacore.com>
6337
6338 * gdb.ada/mi_string_access.exp: New testcase.
6339 * gdb.ada/mi_string_access/bar.adb: New file.
6340 * gdb.ada/mi_string_access/pck.adb: New file.
6341 * gdb.ada/mi_string_access/pck.asd: New file.
6342
2963898f
XR
63432018-09-10 Xavier Roirand <roirand@adacore.com>
6344
6345 * gdb.ada/mi_var_union.exp: New testcase.
6346 * gdb.ada/mi_var_union/bar.adb: New file.
6347 * gdb.ada/mi_var_union/pck.adb: New file.
6348 * gdb.ada/mi_var_union/pck.asd: New file.
6349
1aac008f
TT
63502018-09-08 Tom Tromey <tom@tromey.com>
6351
6352 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6353
332cf4c9
TT
63542018-09-08 Tom Tromey <tom@tromey.com>
6355
6356 PR python/16047:
6357 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6358 (register_pretty_printers): Register new printer.
6359 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6360 test.
6361 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6362 (an_int_type3): New global.
6363
424da6cf
JB
63642018-09-08 Joel Brobecker <brobecker@adacore.com>
6365
6366 * gdb.ada/expr_with_funcall: New testcase.
6367
2a62dfa9
JB
63682018-09-08 Joel Brobecker <brobecker@adacore.com>
6369
6370 * gdb.ada/packed_array_assign: New testcase.
6371
96b6697f
AB
63722018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6373
6374 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6375 names, and add test prefixes to make test names unique.
6376
e4a62c65
TV
63772018-09-05 Tom de Vries <tdevries@suse.de>
6378
6379 * gdb.dwarf2/varval.exp: Add test.
6380
dd083ee2
GB
63812018-09-04 Gary Benson <gbenson@redhat.com>
6382
6383 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6384 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6385
aef9346c
TT
63862018-08-31 Tom Tromey <tom@tromey.com>
6387
6388 * gdb.rust/simple.rs: Rename second variable "v".
6389
c67f2e15
AB
63902018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6391
6392 * gdb.base/funcargs.c (use_a): New function.
6393 (recurse): Call use_a.
6394
078a0207
KS
63952018-08-29 Keith Seitz <keiths@redhat.com>
6396
6397 * gdb.compile/compile-cplus-anonymous.cc: New file.
6398 * gdb.compile/compile-cplus-anonymous.exp: New file.
6399 * gdb.compile/compile-cplus-array-decay.cc: New file.
6400 * gdb.compile/compile-cplus-array-decay.exp: New file.
6401 * gdb.compile/compile-cplus-inherit.cc: New file.
6402 * gdb.compile/compile-cplus-inherit.exp: New file.
6403 * gdb.compile/compile-cplus-member.cc: New file.
6404 * gdb.compile/compile-cplus-member.exp: New file.
6405 * gdb.compile/compile-cplus-method.cc: New file.
6406 * gdb.compile/compile-cplus-method.exp: New file.
6407 * gdb.compile/compile-cplus-mod.c: "New" file.
6408 * gdb.compile/compile-cplus-namespace.cc: New file.
6409 * gdb.compile/compile-cplus-namespace.exp: New file.
6410 * gdb.compile/compile-cplus-nested.cc: New file.
6411 * gdb.compile/compile-cplus-nested.exp: New file.
6412 * gdb.compile/compile-cplus-print.c: "New" file.
6413 * gdb.compile/compile-cplus-print.exp: "New" file.
6414 * gdb.compile/compile-cplus-virtual.cc: New file.
6415 * gdb.compile/compile-cplus-virtual.exp: New file.
6416 * gdb.compile/compile-cplus.c: "New" file.
6417 * gdb.compile/compile-cplus.exp: "New" file.
6418 * lib/compile-support.exp: New file.
6419
b0f492b9
GB
64202018-08-16 Gary Benson <gbenson@redhat.com>
6421
6422 PR gdb/13000:
6423 * gdb.base/batch-exit-status.exp: New file.
6424 * gdb.base/batch-exit-status.good-commands: Likewise.
6425 * gdb.base/batch-exit-status.bad-commands: Likewise.
6426
36eb4c5f
AH
64272018-08-29 Alan Hayward <alan.hayward@arm.com>
6428
6429 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6430 (struct struct02): Likewise.
6431 (struct struct03): Likewise.
6432 (struct struct04): Likewise.
6433 (struct struct_01_01): New struct.
6434 (struct struct_01_02): Likewise.
6435 (struct struct_01_03): Likewise.
6436 (struct struct_01_04): Likewise.
6437 (struct struct_02_01): Likewise.
6438 (struct struct_02_02): Likewise.
6439 (struct struct_02_03): Likewise.
6440 (struct struct_02_04): Likewise.
6441 (struct struct_04_01): Likewise.
6442 (struct struct_04_02): Likewise.
6443 (struct struct_04_03): Likewise.
6444 (struct struct_04_04): Likewise.
6445 (struct struct_05_01): Likewise.
6446 (struct struct_05_02): Likewise.
6447 (struct struct_05_03): Likewise.
6448 (struct struct_05_04): Likewise.
6449 (cmp_struct01): Remove function.
6450 (cmp_struct02): Likewise.
6451 (cmp_struct03): Likewise.
6452 (cmp_struct04): Likewise.
6453 (cmp_struct_01_01): Add Function.
6454 (cmp_struct_01_02): Likewise.
6455 (cmp_struct_01_03): Likewise.
6456 (cmp_struct_01_04): Likewise.
6457 (cmp_struct_02_01): Likewise.
6458 (cmp_struct_02_02): Likewise.
6459 (cmp_struct_02_03): Likewise.
6460 (cmp_struct_02_04): Likewise.
6461 (cmp_struct_04_01): Likewise.
6462 (cmp_struct_04_02): Likewise.
6463 (cmp_struct_04_03): Likewise.
6464 (cmp_struct_04_04): Likewise.
6465 (cmp_struct_05_01): Likewise.
6466 (cmp_struct_05_02): Likewise.
6467 (cmp_struct_05_03): Likewise.
6468 (cmp_struct_05_04): Likewise.
6469 (call_all): Add new structs.
6470 * gdb.base/infcall-nested-structs.exp: Likewise.
6471
3bf9c013
JV
64722018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6473
6474 * gdb.python/py-framefilter-mi.exp: Update regexp to
6475 check for "arch" field in frame output.
6476
450d1e88
KB
64772018-08-23 Kevin Buettner <kevinb@redhat.com>
6478
6479 * gdb.dwarf2/dw2-ranges-func.c: New file.
6480 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6481
ae739fe7
SM
64822018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6483
6484 * gdb.base/term.exp: Compare terminal settings with values from
6485 the inferior.
6486 * gdb.base/term.c: Get and set terminal settings.
6487
6d52907e
JV
64882018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6489
6490 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6491 accommodate new "arch" field in frame output.
6492 * gdb.mi/mi-return.exp: Likewise.
6493 * gdb.mi/mi-stack.exp: Likewise.
6494 * gdb.mi/mi-syn-frame.exp: Likewise.
6495 * gdb.mi/user-selected-context-sync.exp: Likewise.
6496
be2d111a
MS
64972018-08-19 Michael Spang <spang@google.com>
6498
6499 PR gdb/11786
6500 * gdb.base/gcore-tls-pie.c: New file.
6501 * gdb.base/gcore-tls-pie.exp: New file.
6502
ae3a7c47
KB
65032018-08-18 Kevin Buettner <kevinb@redhat.com>
6504
6505 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
6506 * gdb.dwarf2/varval.c: New file.
6507 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 6508
2ecae92e
AH
65092018-08-17 Alan Hayward <alan.hayward@arm.com>
6510
6511 PR gdb/18931
6512 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6513
c1854f1d
KS
65142018-08-16 Keith Seitz <keiths@redhat.com>
6515
6516 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6517 tests expected to pass.
6518
26fb3983
JV
65192018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6520
6521 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6522 -data-disassemble -a.
6523 (test_disassembly_bogus_args): Likewise.
6524
67943c00
AB
65252018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6526
6527 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6528
5ff2bbae
AB
65292018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6530
6531 * gdb.base/vla-optimized-out.exp: Add new test.
6532
e5bbcd0f
AB
65332018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6534
6535 * gdb.base/vla-optimized-out-o3.exp: Delete.
6536 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6537 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6538 deleted tests.
6539
9d4a934c
AB
65402018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6541
6542 PR gdb/18050:
6543 * gdb.server/extended-remote-restart.c: New file.
6544 * gdb.server/extended-remote-restart.exp: New file.
6545
045cf012
SM
65462018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6547
6548 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6549 "set variable index = 42".
6550
87d6a7aa
SM
65512018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6552
6553 * boards/index-cache-gdb.exp: New file.
6554 * gdb.dwarf2/index-cache.exp: New file.
6555 * gdb.dwarf2/index-cache.c: New file.
6556 * gdb.base/maint.exp: Check if we are using the index cache.
6557
96d68bd4
RO
65582018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6559
6560 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6561 MAKEFLAGS.
6562
5a699617
RO
65632018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6564
6565 * dg-extract-results.sh: Move to toplevel contrib.
6566 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6567 * Makefile.in (check-parallel-racy): Likewise.
6568
5bd18990
AB
65692018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6570
6571 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6572 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6573 tests if the target supports scheduler locking.
6574
3fbbcf47
TV
65752018-08-04 Tom de Vries <tdevries@suse.de>
6576
6577 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6578
3e1d3d8c
TT
65792018-08-02 Tom Tromey <tom@tromey.com>
6580
6581 PR symtab/16842.
6582 * gdb.cp/temargs.exp: Test "info address" of a template
6583 parameter.
6584
5abe0f0c
JV
65852018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6586
6587 * gdb.python/py-mi-var-info-path-expression.c: New file.
6588 * gdb.python/py-mi-var-info-path-expression.py: New file.
6589 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6590
fb66cde8
SDJ
65912018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6592
6593 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6594 error after "cannot resolve name" string.
6595
c708f4d2
AB
65962018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6597
6598 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6599 started.
6600 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6601
37cc0cae
TV
66022018-07-28 Tom de Vries <tdevries@suse.de>
6603
6604 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6605
63b4ecf7
TV
66062018-07-26 Tom de Vries <tdevries@suse.de>
6607
6608 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6609
3c3bb058
AB
66102018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6611
6612 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6613 is visible.
6614
9e7f3bbb
TV
66152018-07-26 Tom de Vries <tdevries@suse.de>
6616
6617 PR breakpoints/23366
6618 * gdb.base/catch-follow-exec.c: New test.
6619 * gdb.base/catch-follow-exec.exp: New file.
6620
16f808ec
TV
66212018-07-25 Tom de Vries <tdevries@suse.de>
6622
6623 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6624 vla-optimized-out.c.
6625
d7154a8d
JV
66262018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6627
6628 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6629 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6630
232a0032
TV
66312018-07-20 Tom de Vries <tdevries@suse.de>
6632
6633 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6634 NOCLONE macro.
6635 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6636
fbb1d502
TV
66372018-07-19 Tom de Vries <tdevries@suse.de>
6638
6639 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6640 regular expression.
6641
42dc7699
TV
66422018-07-18 Tom de Vries <tdevries@suse.de>
6643
6644 * gdb.base/vla-optimized-out.c: New test.
6645 * gdb.base/vla-optimized-out.exp: New file.
6646
7f1f7e23
SDJ
66472018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6648
6649 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6650 message "No address associated with hostname" when gdbserver
6651 cannot resolve the hostname.
6652
5759ebb3
PW
66532018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6654
6655 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6656 Add some test prefixes to make tests unique.
6657
3606ccab
PW
66582018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6659
6660 * gdb.base/frameapply.c: New file.
6661 * gdb.base/frameapply.exp: New file.
6662
529c08b2
PW
66632018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6664
6665 * gdb.base/skip.exp: Update expected error message.
6666
c7ab0aef
SDJ
66672018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6668 Jan Kratochvil <jan.kratochvil@redhat.com>
6669 Paul Fertser <fercerpav@gmail.com>
6670 Tsutomu Seki <sekiriki@gmail.com>
6671
6672 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6673 parameter.
6674 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6675 by default.
6676 * boards/native-gdbserver.exp: Likewise.
6677 * gdb.server/run-without-local-binary.exp: Improve regexp used
6678 for detecting when a remote debugging connection succeeds.
6679 * gdb.server/server-connect.exp: New file.
6680 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6681 Do not prefix the port number with ":".
6682 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6683 support for detecting and using it. Add '$debughost_gdbserver'
6684 to the list of arguments used to start gdbserver. Handle case
6685 when gdbserver cannot resolve a network name.
6686
16ff70dd
SDJ
66872018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6688
6689 PR c++/23373
6690 * gdb.base/ptype-offsets.cc (struct static_member): New
6691 struct.
6692 (main) <stmember>: New variable.
6693 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6694 with a static member in it.
6695
3541979f
AB
66962018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6697
6698 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6699 watchpoints enabled and disabled.
6700
c8ad9b9a
AB
67012018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6702
6703 * gdb.base/examine-backward.exp: Still run tests around address
6704 0x0, even if address 0x0 is not readable. Update the pattern for
6705 matching address 0x0 in expected output.
6706
e0e5e971
AB
67072018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6708
6709 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6710 malloc/free.
6711
1ea5da02
TV
67122018-07-04 Tom de Vries <tdevries@suse.de>
6713
6714 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6715
471b9d15
MR
67162018-07-02 Maciej W. Rozycki <macro@mips.com>
6717
6718 PR tdep/8282
6719 * gdb.arch/mips-disassembler-options.exp: New test.
6720 * gdb.arch/mips-disassembler-options.s: New test source.
6721
75acb486
PA
67222018-06-29 Pedro Alves <palves@redhat.com>
6723
6724 * gdb.threads/names.exp: Adjust expected "info threads" output.
6725
cd2bb709
PA
67262018-06-29 Pedro Alves <palves@redhat.com>
6727
6728 * gdb.opt/inline-break.exp (line number, address): Add "info
6729 break" tests.
6730
991ff292
PA
67312018-06-29 Pedro Alves <palves@redhat.com>
6732
6733 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6734 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6735 number and address and running to them.
6736
356819b6 67372018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
6738
6739 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6740
2512d7ef
JK
67412018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6742
6743 * lib/compiler.c: Remove executable permission flag.
6744
be1b6474
RB
67452018-06-28 Richard Bunt <richard.bunt@arm.com>
6746
6747 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6748 code.
6749 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6750
291f9a96
PT
67512018-06-28 Petr Tesarik <ptesarik@suse.cz>
6752
6753 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6754
ed6dfe51
PT
67552018-06-28 Petr Tesarik <ptesarik@suse.cz>
6756
6757 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6758 address argument is omitted.
6759
d4d429d5
PT
67602018-06-28 Petr Tesarik <ptesarik@suse.cz>
6761
6762 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6763
7ab6656f
OJ
67642018-06-27 Omair Javaid <omair.javaid@linaro.org>
6765
6766 PR gdb/21695
6767 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6768 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6769
a33ccfc7
TT
67702018-06-26 Tom Tromey <tom@tromey.com>
6771
6772 PR rust/22574:
6773 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6774 * gdb.rust/simple.rs (struct SimpleLayout): New.
6775
6d72d289
SM
67762018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6777
6778 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6779 "info registers" output.
6780
8363f9d5
RB
67812018-06-21 Richard Bunt <richard.bunt@arm.com>
6782
6783 * gdb.base/watchpoint-hw-attach.c: New test.
6784 * gdb.base/watchpoint-hw-attach.exp: New file.
6785
f00674fe
SM
67862018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6787
6788 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6789 through /bin/sh.
6790 * boards/dwarf4-gdb-index.exp: Likewise.
6791 * boards/fission-dwp.exp: Likewise.
6792
1d554008
UW
67932018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6794
6795 * gdb.base/float128.exp: Add comment and improved fail message
6796 to the failure case of "print large128" test.
6797
d0ac1c44
SM
67982018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6799
6800 * configure.ac: Remove AC_PREREQ.
6801 * configure: Re-generate.
6802
61b04dd0
PA
68032018-06-19 Pedro Alves <palves@redhat.com>
6804
6805 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6806 (func_extern_caller): New.
6807 (main): Call func_extern_caller.
6808 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6809 logic change.
6810
f63b508a
SM
68112018-06-18 Weimin Pan <weimin.pan@oracle.com>
6812
6813 PR gdb/16841
6814 * gdb.cp/typedef-base.cc: New file.
6815 * gdb.cp/typedef-base.exp: New file.
6816
0fe3a558
TV
68172018-06-18 Tom de Vries <tdevries@suse.de>
6818
6819 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6820
7010835a
AB
68212018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6822 Richard Bunt <Richard.Bunt@arm.com>
6823
6824 * gdb.threads/attach-slow-waitpid.c: New file.
6825 * gdb.threads/attach-slow-waitpid.exp: New file.
6826 * gdb.threads/slow-waitpid.c: New file.
6827
14897d65
PA
68282018-06-14 Pedro Alves <palves@redhat.com>
6829
6830 * gdb.base/fork-running-state.c: Include <errno.h>.
6831 (exit_if_relative_exits): New.
6832 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6833 exits.
6834 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6835 child exits.
6836
5d9a0608
TV
68372018-06-14 Tom de Vries <tdevries@suse.de>
6838
6839 PR cli/22573
6840 * gdb.base/finish-pretty.c: New test.
6841 * gdb.base/finish-pretty.exp: New file.
6842
11ae5818
PA
68432018-06-14 Pedro Alves <palves@redhat.com>
6844
6845 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6846 gdb's expected startup output.
6847
1d39de44
PA
68482018-06-14 Pedro Alves <palves@redhat.com>
6849
6850 * lib/selftest-support.exp (selftest_setup): Remove inlined
6851 function handling.
6852
70ee0000
TV
68532018-06-14 Tom de Vries <tdevries@suse.de>
6854
6855 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6856 matching of breakpoint printing.
6857
11f4b608
TV
68582018-06-13 Tom de Vries <tdevries@suse.de>
6859
6860 PR testsuite/23269
6861 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6862 (fork_child): ... here, and ...
6863 (fork_parent): ... here.
6864
68652018-06-12 Tom de Vries <tdevries@suse.de>
6866
6867 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6868
9516f85a
AB
68692018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6870 Stephen Roberts <stephen.roberts@arm.com>
6871
6872 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6873 rewrite test to describe action performed, rather than possible
6874 failure.
6875
5045b3d7
GB
68762018-06-08 Gary Benson <gbenson@redhat.com>
6877
6878 * gdb.threads/check-libthread-db.exp: New file.
6879 * gdb.threads/check-libthread-db.c: Likewise.
6880
c61b06a1
TT
68812018-06-05 Tom Tromey <tom@tromey.com>
6882
6883 * gdb.base/default.exp: Update expected "show version" output.
6884
eb6af809
TT
68852018-06-05 Tom Tromey <tom@tromey.com>
6886
6887 PR cli/12326:
6888 * gdb.cp/static-print-quit.exp: Update.
6889 * lib/gdb.exp (pagination_prompt): Update.
6890 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6891 * gdb.python/python.exp: Update.
6892
178d6a63
JB
68932018-06-04 Joel Brobecker <brobecker@adacore.com>
6894
6895 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6896
8e817061
JB
68972018-06-01 Joel Brobecker <brobecker@adacore.com>
6898
6899 * gdb.ada/bp_fun_addr: New testcase.
6900
e86ca25f
TT
69012018-06-01 Tom Tromey <tom@tromey.com>
6902
6903 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6904 results.
6905 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6906 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6907 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6908 * gdb.base/maint.exp (maint_pass_if): Update.
6909
4b2dfa9d
MR
69102018-05-31 Maciej W. Rozycki <macro@mips.com>
6911
6912 * gdb.base/endian.exp: New test.
6913 * gdb.base/endian.c: New test source.
6914
45f25d6c
AB
69152018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6916
6917 PR gdb/23203
6918 * gdb.base/bt-selected-frame.c: New file.
6919 * gdb.base/bt-selected-frame.exp: New file.
6920 * lib/gdb.exp (get_current_frame_number): New function.
6921
d9f6d7f8
MR
69222018-05-24 Maciej W. Rozycki <macro@mips.com>
6923 Pedro Alves <palves@redhat.com>
6924
6925 * gdb.threads/tls-core.c: Include <stdlib.h>
6926 (thread_proc): Call `abort'.
6927 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6928 (tls_core_test): New procedure, bits factored out from ...
6929 (top level): ... here. Test both native cores and gcore cores.
6930
ff1cf532
TT
69312018-05-23 Tom Tromey <tom@tromey.com>
6932
6933 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6934
b98664d3
TT
69352018-05-23 Tom Tromey <tom@tromey.com>
6936
6937 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6938 symfile_complaints.
6939 (test_short_complaints): Likewise.
6940 (test_empty_complaints): Likewise.
6941 (test_initial_complaints): Update.
6942
4e9668d0
TT
69432018-05-23 Tom Tromey <tom@tromey.com>
6944
6945 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6946
43ba33c7
TT
69472018-05-23 Tom Tromey <tom@tromey.com>
6948
6949 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6950 (test_short_complaints): Update.
6951
035522c0
PA
69522018-05-22 Pedro Alves <palves@redhat.com>
6953
6954 * gdb.base/remote.exp: Only gdb_start after compiling the
6955 testcase. Issue "disconnect" before testing "set remote" command
6956 defaults. Issue clean_restart before running to main.
6957
cc0be08f
PA
69582018-05-22 Pedro Alves <palves@redhat.com>
6959
6960 * gdb.base/remote.exp: Adjust expected output of "show remote
6961 memory-write-packet-size". Add tests for "set remote
6962 memory-write-packet-size 0" and "set remote
6963 memory-write-packet-size fixed/limit".
6964
b1b60145
PA
69652018-05-22 Pedro Alves <palves@redhat.com>
6966
6967 PR gdb/22973
6968 * gdb.base/utf8-identifiers.c: New file.
6969 * gdb.base/utf8-identifiers.exp: New file.
6970
0ec848ad
PFC
69712018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6972
6973 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6974
2c3305f6
PFC
69752018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6976
6977 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6978
ce1e8424
TT
69792018-05-18 Tom Tromey <tom@tromey.com>
6980
6981 * gdb.base/ptype-offsets.exp: Update.
6982
ddfe970e
KS
69832018-05-17 Keith Seitz <keiths@redhat.com>
6984
6985 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6986 in expected breakpoint stop locations.
6987 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6988 move to proper scope to test variable values.
6989 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6990 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6991 New functions.
6992 (main): Call not_inline_func3.
6993 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6994 inline_func1, inline_func2, and inline_func3. Test that when each
6995 breakpoint is hit, GDB properly reports both the stop location
6996 and the backtrace. Repeat tests for temporary breakpoints.
6997
0726fcc6
MR
69982018-05-15 Maciej W. Rozycki <macro@mips.com>
6999
7000 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7001 rather then trying to access it in determining whether the PID
7002 of `gdbserver' could have been retrieved.
7003
8ee22052
AB
70042018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7005
7006 * gdb.arch/amd64-init-x87-values.S: New file.
7007 * gdb.arch/amd64-init-x87-values.exp: New file.
7008
7785df48
JK
70092018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7010
7011 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7012
56bcdbea
TT
70132018-05-04 Tom Tromey <tom@tromey.com>
7014
7015 PR python/22730:
7016 * gdb.python/python.exp: Test multi-line execute.
7017
a913fffb
TT
70182018-05-04 Tom Tromey <tom@tromey.com>
7019
7020 PR python/22731:
7021 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7022
7a2c85f2
TT
70232018-05-04 Tom Tromey <tom@tromey.com>
7024
7025 PR gdb/11750:
7026 * gdb.base/define.exp: Test defining a user command inside a user
7027 command.
7028 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7029
a3b60e45
JK
70302018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7031 Pedro Alves <palves@redhat.com>
7032
7033 PR breakpoints/19806 and support for PR external/20207.
7034 * gdb.base/watchpoint-unaligned.c: New file.
7035 * gdb.base/watchpoint-unaligned.exp: New file.
7036
45fe4a03
AB
70372018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7038
7039 * gdb.base/maint.exp: Make test names unique, use
7040 test_prefix_command_help to test 'help maint info', and remove
7041 repeated test of 'help maint'.
7042
9be2ae8f
TT
70432018-05-04 Tom Tromey <tom@tromey.com>
7044
7045 PR gdb/22619:
7046 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7047 behavior.
7048
11859c31
AB
70492018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7050
7051 * gdb.base/maint.exp: Process output from 'maint print registers'
7052 line at a time.
7053
089a9490
AB
70542018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7055
7056 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7057 timeout.
7058
9b0797e2
AB
70592018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7060
7061 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7062 filter pattern.
7063
f6ac5f3d
PA
70642018-05-02 Pedro Alves <palves@redhat.com>
7065
7066 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7067 to_log_command renames.
7068 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7069
77d3c63b
TT
70702018-05-02 Tom Tromey <tom@tromey.com>
7071
7072 * gdb.python/py-parameter.exp: Set test message.
7073
0489430a
TT
70742018-05-02 Tom Tromey <tom@tromey.com>
7075
7076 PR python/20084:
7077 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7078 PARAM_ZUINTEGER_UNLIMITED tests.
7079
1632f8ba
DR
70802018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7081
7082 PR rust/23124
7083 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7084 when casting.
7085
6d7bb824
TT
70862018-04-30 Tom Tromey <tom@tromey.com>
7087
7088 * gdb.python/py-type.exp: Check align attribute.
7089 * gdb.python/py-type.c: New "aligncheck" global.
7090
007e1530
TT
70912018-04-30 Tom Tromey <tom@tromey.com>
7092
7093 PR exp/17095:
7094 * gdb.dwarf2/dw2-align.exp: New file.
7095 * gdb.cp/align.exp: New file.
7096 * gdb.base/align.exp: New file.
7097 * lib/gdb.exp (gdb_int128_helper): New proc.
7098 (has_int128_c, has_int128_cxx): New caching procs.
7099
6873858b
TT
71002018-04-27 Tom Tromey <tom@tromey.com>
7101
7102 PR rust/22545:
7103 * gdb.rust/simple.exp: Add inclusive range tests.
7104
79188d8d
PA
71052018-04-26 Pedro Alves <palves@redhat.com>
7106
7107 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7108 ifunc breakpoint locations correctly of ifunc breakpoints set
7109 while the program resolves the ifunc.
7110
c7075ad5
PA
71112018-04-26 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.base/gnu-ifunc-final.c: New file.
7114 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7115 * gdb.base/gnu-ifunc.exp (executable): Delete.
7116 (staticexecutable): Adjust.
7117 (lib_opts, exec_opts): Delete.
7118 (make_binsuffix, build, set-break): New procedures.
7119 (misc_tests): New, with tests factored out from the top level.
7120 (top level): Test different combinations of ifunc resolver name,
7121 resolver with and with debug info, and ifunc target with and
7122 without debug info. Wrap static tests with with_target_prefix.
7123
8388016d
PA
71242018-04-26 Pedro Alves <palves@redhat.com>
7125
7126 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7127 return type" warnings.
7128
249b5733
PA
71292018-04-25 Pedro Alves <palves@redhat.com>
7130
7131 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7132 killed".
7133 * gdb.base/kill-after-signal.exp: Likewise.
7134 * gdb.threads/kill.exp: Likewise.
7135
f67c0c91
SDJ
71362018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7137 Sergio Durigan Junior <sergiodj@redhat.com>
7138 Pedro Alves <palves@redhat.com>
7139
7140 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7141 regexps to expect for '[Inferior ... detached]' as well.
7142 * gdb.base/attach.exp: Likewise.
7143 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7144 "gdb_continue_to_end".
7145 (test_catch_syscall_with_wrong_args): Likewise.
7146 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7147 ']'. Don't set 'verbose' on.
7148 * gdb.base/foll-vfork.exp: Likewise.
7149 * gdb.base/fork-print-inferior-events.c: New file.
7150 * gdb.base/fork-print-inferior-events.exp: New file.
7151 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7152 '[Inferior ... has been killed]' message.
7153 * gdb.base/kill-after-signal.exp: Likewise.
7154 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7155 detach message.
7156 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7157 message.
7158 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7159 regexps to expect for '[Inferior ... detached]' as well.
7160 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7161
0a8ddac4
SM
71622018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7163
7164 PR gdb/23104
7165 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7166
701adfb0
PA
71672018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7168
7169 PR gdb/23095
7170 * gdb.base/break-probes.exp: Pass shlib_load to
7171 prepare_for_testing. Set normal_bp to r_debug_state if target is
7172 bsd.
7173
d27d16bf
RB
71742018-04-19 Richard Bunt <richard.bunt@arm.com>
7175
7176 * gdb.threads/multiple-successive-infcall.c: New test.
7177 * gdb.threads/multiple-successive-infcall.exp: New file.
7178
a037790e
TT
71792018-04-17 Tom Tromey <tom@tromey.com>
7180
7181 * gdb.rust/simple.rs (Union): New type.
7182 (main): New local "u".
7183 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7184
e3a91079
AA
71852018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7186
7187 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7188 number information in output of "whereis" command.
7189 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7190
b744723f
AA
71912018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7192
7193 * gdb.ada/info_types.exp: Adjust expected output to the line
7194 numbers now printed by "info var/func/type".
7195 * gdb.base/completion.exp: Likewise.
7196 * gdb.base/included.exp: Likewise.
7197 * gdb.cp/cp-relocate.exp: Likewise.
7198 * gdb.cp/cplusfuncs.exp: Likewise.
7199 * gdb.cp/namespace.exp: Likewise.
7200 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7201
4a4495d6
MM
72022018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7203
7204 * gdb.btrace/cpu.exp: New.
7205
1d509aa6
MM
72062018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7207
7208 * gdb.base/step-indirect-call-thunk.exp: New.
7209 * gdb.base/step-indirect-call-thunk.c: New.
7210 * gdb.reverse/step-indirect-call-thunk.exp: New.
7211 * gdb.reverse/step-indirect-call-thunk.c: New.
7212
6295b6da
SM
72132018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7214
7215 * gdb.base/pie-fork.c: New file.
7216 * gdb.base/pie-fork.exp: New file.
7217
50146e70
TT
72182018-04-11 Tom Tromey <tom@tromey.com>
7219
7220 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7221
f50d8a2e
PA
72222018-04-10 Pedro Alves <palves@redhat.com>
7223
7224 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7225 exits. Instead loop running forever.
7226 (fork_parent): Run forever too.
7227
a0be7a36
SM
72282018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7229
7230 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7231 mi_continue_to_line.
7232 * gdb.mi/mi-stack.c (callee4): Add comment.
7233
9b73db36
SM
72342018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7235
7236 * gdb.mi/mi-stack.exp: Fix indentation.
7237
c912f608
SM
72382018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7239
7240 PR gdb/22979
7241 * gdb.arch/amd64-osabi.exp: New file.
7242
26540402
SM
72432018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7244
7245 PR gdb/22980
7246 * gdb.base/osabi.exp: New file.
7247
121ad66c 72482018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7249
7250 * gdb.cp/static-typedef-print.exp: New file.
7251 * gdb.cp/static-typedef-print.cc: New file.
7252
3fcded8f
JB
72532018-03-27 Joel Brobecker <brobecker@adacore.com>
7254
7255 * gdb.ada/varsize_limit: New testcase.
7256
59cc4834
JB
72572018-03-27 Joel Brobecker <brobecker@adacore.com>
7258
7259 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7260
7261 * gdb.ada/notcplusplus: New testcase.
7262
7263 * gdb.base/c-linkage-name.c: New file.
7264 * gdb.base/c-linkage-name.exp: New testcase.
7265
4ca59a9f
TT
72662018-03-26 Tom Tromey <tom@tromey.com>
7267
7268 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7269 * gdb.python/py-framefilter.py (name_error): New global.
7270 (ErrorInName.function): Use name_error.
7271
978d6c75
TT
72722018-03-26 Tom Tromey <tom@tromey.com>
7273
7274 PR backtrace/15582:
7275 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7276
b7fee5a3
KS
72772018-03-23 Keith Seitz <keiths@redhat.com>
7278
7279 PR c++/22968
7280 * gdb.cp/subtypes.exp: New file.
7281 * gdb.cp/subtypes.h: New file.
7282 * gdb.cp/subtypes.cc: New file.
7283 * gdb.cp/subtypes-2.cc: New file.
7284
376be529
AB
72852018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7286
7287 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7288 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7289 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7290 -nostartfiles when compiling the test. Confirm that all registers
7291 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7292
066cfa98
AB
72932018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7294
7295 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7296 option, syntax was wrong anyway.
7297 * gdb.arch/arm-disp-step.exp: Likewise.
7298 * gdb.arch/sparc64-regs.exp: Likewise.
7299 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7300 option, syntax was wrong anyway, switch to use
7301 prepare_for_testing.
7302 * gdb.arch/i386-disp-step.exp: Likewise.
7303
079670b9
AA
73042018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7305
7306 * gdb.ada/exec_changed.exp: Replace "target_info exists
7307 use_gdb_stub" by "use_gdb_stub".
7308 * gdb.ada/start.exp: Likewise.
7309 * gdb.base/async-shell.exp: Likewise.
7310 * gdb.base/attach-pie-misread.exp: Likewise.
7311 * gdb.base/attach-wait-input.exp: Likewise.
7312 * gdb.base/break-entry.exp: Likewise.
7313 * gdb.base/break-interp.exp: Likewise.
7314 * gdb.base/dprintf-detach.exp: Likewise.
7315 * gdb.base/nostdlib.exp: Likewise.
7316 * gdb.base/solib-nodir.exp: Likewise.
7317 * gdb.base/statistics.exp: Likewise.
7318 * gdb.base/testenv.exp: Likewise.
7319 * gdb.mi/mi-exec-run.exp: Likewise.
7320 * gdb.mi/mi-start.exp: Likewise.
7321 * gdb.multi/dummy-frame-restore.exp: Likewise.
7322 * gdb.multi/multi-arch-exec.exp: Likewise.
7323 * gdb.multi/multi-arch.exp: Likewise.
7324 * gdb.multi/tids.exp: Likewise.
7325 * gdb.multi/watchpoint-multi.exp: Likewise.
7326 * gdb.python/py-events.exp: Likewise.
7327 * gdb.threads/attach-into-signal.exp: Likewise.
7328 * gdb.threads/attach-stopped.exp: Likewise.
7329 * gdb.threads/threadapply.exp: Likewise.
7330 * lib/selftest-support.exp: Likewise.
7331
26d6cec4
AA
73322018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7333
7334 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7335
4ee89e90
SR
73362018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7337
7338 * gdb.perf/template-breakpoints.cc: New file.
7339 * gdb.perf/template-breakpoints.exp: New file.
7340 * gdb.perf/template-breakpoints.py: New file.
7341
92630041
TT
73422018-03-19 Tom Tromey <tom@tromey.com>
7343
7344 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7345 y0.
7346 * gdb.rust/simple.exp: Test bare identifier form of struct
7347 initializer.
7348
76727919
TT
73492018-03-19 Tom Tromey <tom@tromey.com>
7350
7351 * gdb.gdb/observer.exp: Remove.
7352
194ed413
AA
73532018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7354
7355 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7356 "qualified" option when setting breakpoints.
7357 * gdb.trace/backtrace.exp: Likewise.
7358 * gdb.trace/circ.exp: Likewise.
7359 * gdb.trace/collection.exp: Likewise.
7360 * gdb.trace/disconnected-tracing.exp: Likewise.
7361 * gdb.trace/ftrace-lock.exp: Likewise.
7362 * gdb.trace/ftrace.exp: Likewise.
7363 * gdb.trace/infotrace.exp: Likewise.
7364 * gdb.trace/packetlen.exp: Likewise.
7365 * gdb.trace/passc-dyn.exp: Likewise.
7366 * gdb.trace/qtro.exp: Likewise.
7367 * gdb.trace/read-memory.exp: Likewise.
7368 * gdb.trace/report.exp: Likewise.
7369 * gdb.trace/signal.exp: Likewise.
7370 * gdb.trace/status-stop.exp: Likewise.
7371 * gdb.trace/strace.exp: Likewise.
7372 * gdb.trace/tfind.exp: Likewise.
7373 * gdb.trace/trace-break.exp: Likewise.
7374 * gdb.trace/trace-condition.exp: Likewise.
7375 * gdb.trace/trace-mt.exp: Likewise.
7376 * gdb.trace/tstatus.exp: Likewise.
7377 * gdb.trace/tsv.exp: Likewise.
7378 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7379 * gdb.trace/unavailable.exp: Likewise.
7380 * gdb.trace/while-dyn.exp: Likewise.
7381
8b067d2c
AA
73822018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7383
7384 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7385 that libinproctrace is copied to the target.
7386
3ae9ce5d
TT
73872018-03-14 Tom Tromey <tom@tromey.com>
7388
7389 PR cli/14977:
7390 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7391 a null pointer.
7392 * gdb.base/wchar.exp: Likewise.
7393
b8c2339b
TT
73942018-03-14 Tom Tromey <tom@tromey.com>
7395
7396 PR cli/19918:
7397 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7398 flag.
7399
4872dc46
SM
74002018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7401
7402 PR gdb/22841
7403 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7404 "target" to remote_exec.
7405
e4fe3756
SM
74062018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7407
7408 PR gdb/22841
7409 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7410 ${board}_upload): Remove.
7411
e95a97d4
AA
74122018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7413
7414 * gdb.cp/watch-cp.cc: New test.
7415 * gdb.cp/watch-cp.exp: New file.
7416
dbbb1059
AB
74172018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7418
7419 * gdb.base/infcall-nested-structs.exp: New file.
7420 * gdb.base/infcall-nested-structs.c: New file.
7421 * gdb.base/float.exp: Add riscv support.
7422
ecc054c0
TP
74232018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7424
7425 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7426 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7427
25e3c82c
SDJ
74282018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7429
7430 * gdb.server/abspath.exp: New file.
7431 * lib/gdb.exp (with_cwd): New procedure.
7432
3083294d
SM
74332018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7434
7435 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7436 use it.
7437 (gdb_is_target_remote_prompt): New proc.
7438 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7439 (gdb_is_target_native): Pass prompt parameter to
7440 gdb_is_target_1.
7441
3275ef47
SM
74422018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7443
7444 * gdb.base/load-command.c: New file.
7445 * gdb.base/load-command.exp: New file.
7446 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7447 (gdb_is_target_1): ...this, and generalize for other targets
7448 than just remote.
7449 (gdb_is_target_remote): Use gdb_is_target_1.
7450 (gdb_is_target_native): use gdb_is_target_1.
7451
6893c19a
TT
74522018-02-26 Tom Tromey <tom@tromey.com>
7453
7454 PR python/16497:
7455 * gdb.python/py-framefilter.exp: Update test.
7456
2ddeaf8a
TT
74572018-02-26 Tom Tromey <tom@tromey.com>
7458
7459 * gdb.dwarf2/variant.c: New file.
7460 * gdb.dwarf2/variant.exp: New file.
7461
c9317f21
TT
74622018-02-26 Tom Tromey <tom@tromey.com>
7463
7464 * gdb.rust/simple.exp: Accept more possible results in enum test.
7465
6f6d0c26
SM
74662018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7467
7468 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7469 parentheses.
7470
11b03145
MR
74712018-02-23 Maciej W. Rozycki <macro@mips.com>
7472
7473 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7474 name of a variable: $actual_linejj -> $actual_line.
7475
54a27fe5
JB
74762018-02-21 John Baldwin <jhb@FreeBSD.org>
7477
7478 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7479
de65820c
MM
74802018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7481
7482 * gdb.btrace/buffer-size.exp: Do not force BTS.
7483
980548fd
PA
74842018-02-14 Pedro Alves <palves@redhat.com>
7485
7486 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7487 getting a "Quit".
7488
c4e12631
MM
74892018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7490
7491 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7492 Fix test name.
7493
c2e0e465
SM
74942018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7495
7496 * gdb.cp/m-static.exp: Check type of optimized out static
7497 member.
7498
f7216783
AB
74992018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7500
7501 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7502 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7503
0625771b
LS
75042018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7505 Leszek Swirski <leszeks@google.com>
7506
7507 * gdb.python/py-prettyprint.c
7508 (struct to_string_returns_value_inner,
7509 struct to_string_returns_value_wrapper): New.
7510 (main): Add tsrvw variable.
7511 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7512 ToStringReturnsValueWrapper): New classes.
7513 (register_pretty_printers): Register new pretty-printers.
7514 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7515 recursive pretty printer.
7516 * gdb.python/py-mi.exp: Likewise.
7517
59498c30
LS
75182018-02-01 Leszek Swirski <leszeks@google.com>
7519
7520 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7521 functions with the same name as an include file are parsed
7522 correctly.
7523
d4d38844
YQ
75242018-02-01 Yao Qi <yao.qi@linaro.org>
7525
7526 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7527 "\[^\r\n\]*".
7528
07e5f5cf
NP
75292018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7530
7531 * gdb.arch/powerpc-prologue-frame.s: New file.
7532 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7533 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7534
929b5ad4
JB
75352018-01-31 Joel Brobecker <brobecker@adacore.com>
7536
7537 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7538
e671cd59
PA
75392018-01-30 Pedro Alves <palves@redhat.com>
7540
7541 PR gdb/13211
7542 * gdb.base/interrupt-daemon.c: New.
7543 * gdb.base/interrupt-daemon.exp: New.
7544 * gdb.multi/multi-term-settings.c: New.
7545 * gdb.multi/multi-term-settings.exp: New.
7546
fc413dc4
JB
75472018-01-30 Joel Brobecker <brobecker@adacore.com>
7548
7549 * gdb.base/break.exp: Save the location where the breakpoint
7550 on break.c:47 was actually inserted when debugging the version
7551 compiled at -O2 and use it in the expected output of the "info
7552 break" test performed soon after.
7553
5c319bb2
PA
75542018-01-22 Pedro Alves <palves@redhat.com>
7555 Sergio Durigan Junior <sergiodj@redhat.com>
7556
7557 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7558 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7559
a9e40818
JB
75602018-01-22 Joel Brobecker <brobecker@adacore.com>
7561
7562 * gdb.base/break-include.c, gdb.base/break-include.inc,
7563 gdb.base/break-include.exp: New files.
7564 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7565 line number now being the actual line number where the breakpoint
7566 was inserted.
7567 * gdb.mi/mi-break.exp: Likewise.
7568 * gdb.mi/mi-reverse.exp: Likewise.
7569 * gdb.mi/mi-simplerun.exp: Ditto.
7570
e707fc44
AB
75712018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7572
7573 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7574 varobj.
7575 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7576
ae451627
AB
75772018-01-21 Don Breazeal <donb@codesourcery.com>
7578 Andrew Burgess <andrew.burgess@embecosm.com>
7579
7580 * gdb.mi/basics.c: Add new global.
7581 * gdb.mi/mi-frame-regs.exp: New file.
7582 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7583 case.
7584
b1b189e0
AB
75852018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7586
7587 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7588 non-parameter, and on an unknown symbol.
7589
fcfcc376
TT
75902018-01-19 Tom Tromey <tom@tromey.com>
7591
7592 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7593 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7594
634c1c31
AA
75952018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7596
7597 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7598 setrlimit and chdir to int.
7599
d6ad07fd
AA
76002018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7601
7602 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7603 function.
7604 (my_tend): Likewise.
7605 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7606 rationale of avoiding FP- and vector instructions.
7607
adf8243b
RK
76082018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7609
7610 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7611 "info reg" with "\[ \t\]*".
7612 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7613 "\[ \t\]+".
7614 * gdb.arch/s390-multiarch.exp: Ditto.
7615 * gdb.base/pc-fp.exp: Ditto.
7616 * gdb.reverse/i386-precsave.exp: Ditto.
7617 * gdb.reverse/i386-reverse.exp: Ditto.
7618 * gdb.reverse/i387-env-reverse.exp: Ditto.
7619 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7620
dcc06925
AA
76212018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7622
7623 * lib/gdb.exp (gdb_compile): Re-enable use of
7624 universal_compile_options for languages other than Rust.
7625
25d4fd80
AA
76262018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7627
7628 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7629
ee7f689e 76302018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
7631
7632 PR gdb/16577
7633 * gdb.base/solib-vanish.exp: New.
7634 * gdb.base/solib-vanish-main.c: New.
7635 * gdb.base/solib-vanish-lib1.c: New.
7636 * gdb.base/solib-vanish-lib2.c: New.
7637
d8447b6b
YQ
76382018-01-17 Yao Qi <yao.qi@linaro.org>
7639
7640 * gdb.compile/compile.exp: Match the address printed for
7641 frame in the output of command "bt".
7642
86d6a90c
TT
76432018-01-15 Tom Tromey <tom@tromey.com>
7644
7645 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7646 compute sp_reg.
7647
cbcdb1aa
AB
76482018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7649
7650 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7651 to prepare.
7652 (prepare): Return 0 on error, 1 on success.
7653
eea61984
PA
76542018-01-12 Pedro Alves <palves@redhat.com>
7655
7656 * gdb.base/continue-after-aborted-step-over.c: New.
7657 * gdb.base/continue-after-aborted-step-over.exp: New.
7658
6181e9c2
SM
76592018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7660
7661 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7662 options when not creating an executable.
7663
3cada740
PA
76642018-01-11 Pedro Alves <palves@redhat.com>
7665
7666 PR remote/22597
7667 * gdb.server/stop-reply-no-thread.c: New file.
7668 * gdb.server/stop-reply-no-thread.exp: New file.
7669
c63d3e8d
PA
76702018-01-10 Pedro Alves <palves@redhat.com>
7671
7672 PR gdb/22670
7673 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7674 functions too. Test setting breakpoints and printing C functions
7675 with no debug info too.
7676 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7677
d4c2a405
PA
76782018-01-10 Pedro Alves <palves@redhat.com>
7679
7680 PR gdb/22670
7681 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7682 a fail.
7683
8825213e
PA
76842018-01-10 Pedro Alves <palves@redhat.com>
7685
7686 PR gdb/22670
7687 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7688
605fd3c6
YQ
76892018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7690
7691 * gdb.server/unittest.exp: Match the output in non-development
7692 mode.
7693
1e5ded6c
YQ
76942018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7695
7696 * gdb.gdb/unittest.exp: Match output in non-development mode.
7697
30066b0b
JB
76982018-01-08 Joel Brobecker <brobecker@adacore.com>
7699
7700 * gdb.ada/access_tagged_param.exp: Relax expected output
7701 for value of "ObjL" in "continue" to pck.inspect breakpoint
7702 test.
7703
04bafb1e
XR
77042018-01-08 Joel Brobecker <brobecker@adacore.com>
7705
9f86398b
JB
7706 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7707 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 7708
e379cee6
PA
77092018-01-05 Pedro Alves <palves@redhat.com>
7710
7711 PR gdb/18653
7712 * gdb.base/libsegfault.exp: New.
7713
de63c46b
PA
77142018-01-05 Joel Brobecker <brobecker@adacore.com>
7715
7716 PR gdb/22670
7717 * gdb.ada/access_tagged_param.exp: New file.
7718 * gdb.ada/access_tagged_param/foo.adb: New file.
7719
f98fc17b
PA
77202018-01-05 Pedro Alves <palves@redhat.com>
7721
7722 PR gdb/22670
7723 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7724 exercise lower case too, and to exercise both full matching and
7725 wild matching.
7726
342f8240
JB
77272018-01-05 Joel Brobecker <brobecker@adacore.com>
7728
7729 * gdb.ada/rename_subscript_param: New testcase.
7730
7150d33c
JG
77312018-01-05 Jerome Guitton <guitton@adacore.com>
7732
7733 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7734
cc0e770c
JB
77352018-01-05 Joel Brobecker <brobecker@adacore.com>
7736
7737 * gdb.ada/convvar_comp: New testcase.
7738
672a41aa 77392018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
7740
7741 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7742 (My_Table): New global variable.
7743 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7744
7365ec2f
JB
77452018-01-04 Joel Brobecker <brobecker@adacore.com>
7746
7747 PR gdb/22670
7748 * gdb.ada/maint_with_ada: New testcase.
7749
289483b6
JB
77502018-01-04 Joel Brobecker <brobecker@adacore.com>
7751
7752 PR gdb/22670
7753 * gdb.ada/bp_c_mixed_case: New testcase.
7754
344420da
JB
77552018-01-04 Joel Brobecker <brobecker@adacore.com>
7756
7757 PR gdb/22670
7758 * gdb.ada/complete.exp: Add "complete break ada" test.
7759
66fc87a0
JB
77602018-01-04 Joel Brobecker <brobecker@adacore.com>
7761
7762 PR gdb/22670
7763 * gdb.ada/info_addr_mixed_case: New testcase.
7764
9f757bf7
XR
77652018-01-03 Xavier Roirand <roirand@adacore.com>
7766
7767 * gdb.ada/excep_handle.exp: New testcase.
7768 * gdb.ada/excep_handle/foo.adb: New file.
7769 * gdb.ada/excep_handle/pck.ads: New file.
7770
bd570f80
JB
77712018-01-03 Joel Brobecker <brobecker@adacore.com>
7772
7773 * gdb.base/step-line.c: Add extra empty line in copyright header.
7774 * gdb.base/step-line.inp: Likewise.
7775
9fe561ab
JB
77762018-01-02 Joel Brobecker <brobecker@adacore.com>
7777
7778 * gdb.ada/dyn_stride.exp: Add slice test.
7779
a405673c
JB
77802018-01-02 Joel Brobecker <brobecker@adacore.com>
7781
7782 * gdb.ada/dyn_stride: New testcase.
7783
cef0f868
SH
77842017-12-27 Stafford Horne <shorne@gmail.com>
7785
7786 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7787 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7788
b67d92b0
SH
77892017-12-27 Stafford Horne <shorne@gmail.com>
7790
7791 * gdb.base/reggroups.c: New file.
7792 * gdb.base/reggroups.exp: New file.
7793
eccab96d
JB
77942017-12-18 Joel Brobecker <brobecker@adacore.com>
7795
7796 * gdb.dwarf2/ada-valprint-error.c: New file.
7797 * gdb.dwarf2/ada-valprint-error.exp: New file.
7798
0e2da9f0
JB
77992017-12-18 Joel Brobecker <brobecker@adacore.com>
7800
7801 * gdb.ada/assign_arr: New testcase.
7802
cb923fcc
XR
78032017-12-18 Xavier Roirand <roirand@adacore.com>
7804
7805 * gdb.ada/funcall_ptr: New testcase.
7806
7c161838
SDJ
78072017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7808
7809 PR cli/16224
7810 * gdb.base/ptype-offsets.cc: New file.
7811 * gdb.base/ptype-offsets.exp: New file.
7812
1af17fd9
YQ
78132017-12-15 Yao Qi <yao.qi@linaro.org>
7814
7815 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7816 if XML is disabled.
7817
828d5846
XR
78182017-12-15 Xavier Roirand <roirand@adacore.com>
7819
7820 * gdb.ada/same_component_name: New testcase.
7821
79e8fcaa
JB
78222017-12-14 Joel Brobecker <brobecker@adacore.com>
7823
7824 * gdb.ada/str_binop_equal: New testcase.
7825
e05fa6f9
JB
78262017-12-14 Joel Brobecker <brobecker@adacore.com>
7827
7828 * gdb.ada/task_switch_in_core: New testcase.
7829
b89641ba
SM
78302017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7831
7832 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7833 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7834 call test_bkpt_qualified.
7835 (test_bkpt_qualified): New proc.
7836
6892d2e4
PA
78372017-12-13 Pedro Alves <palves@redhat.com>
7838
7839 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7840 Tighten regexp by matching with an anchor.
7841
a22ecf70
PA
78422017-12-13 Pedro Alves <palves@redhat.com>
7843
7844 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7845 ("expression with namespace"): New set of tests.
7846 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7847 (Nested::Test_NS::qux): New.
7848 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7849 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7850
9937536c
JB
78512017-12-13 Joel Brobecker <brobecker@adacore.com>
7852
7853 * gdb.base/server-del-break.c: New file.
7854 * gdb.base/server-del-break.exp: New file.
7855
fe49c6f5
SH
78562017-12-12 Stafford Horne <shorne@gmail.com>
7857
7858 * gdb.xml/tdesc-regs.exp: Add or1k support.
7859
c3d18620
SH
78602017-12-12 Stafford Horne <shorne@gmail.com>
7861
7862 * gdb.base/bp-permanent.c: Define nop of or1k.
7863
c5f9cfc8
JB
78642017-12-11 Joel Brobecker <brobecker@adacore.com>
7865
7866 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7867 output with components being reordered.
7868
a9c135fc
JB
78692017-12-11 Joel Brobecker <brobecker@adacore.com>
7870
7871 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7872 output with components being reordered.
7873
927aa2e7
JK
78742017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7875 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/maint.exp (check for .gdb_index): Check also for
7878 .debug_names.
7879 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7880 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7881 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7882 (.gdb_index used after symbol reloading): Support also .debug_names.
7883 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7884
f17d9474
YQ
78852017-12-08 Yao Qi <yao.qi@linaro.org>
7886
7887 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7888 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7889
a0de8c21
YQ
78902017-12-08 Yao Qi <yao.qi@linaro.org>
7891
7892 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7893 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7894
a738ea1d
YQ
78952017-12-08 Yao Qi <yao.qi@linaro.org>
7896
7897 * gdb.arch/aarch64-tagged-pointer.c: New file.
7898 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7899
1cd9a73b
SDJ
79002017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7901
7902 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7903 "int".
7904
fa6eb693
KS
79052017-12-07 Keith Seitz <keiths@redhat.com>
7906
7907 PR breakpoints/22569
7908 * gdb.linespec/ls-errs.exp: Change expected result of "break
7909 -source this file has spaces.c -line 3".
7910 Check that an explicit source file followed by whitespace is
7911 identified as an invalid explicit location.
7912
883fd55a
KS
79132017-12-07 Keith Seitz <keiths@redhat.com>
7914
7915 * gdb.cp/nested-types.cc: New file.
7916 * gdb.cp/nested-types.exp: New file.
7917 * lib/cp-support.exp: Load data-structures.exp library.
7918 (debug_cp_test_ptype_class): New global.
7919 (cp_ptype_class_verbose, next_line): New procedures.
7920 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7921 Add and document new return value.
7922 Switch the list of lines to a queue.
7923 Add support for new `type' key for nested type definitions.
7924 Add debugging/troubleshooting messages.
7925 * lib/data-structures.exp: New file.
7926
ec72db3e
SM
79272017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7928
7929 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7930 with proc_with_prefix, don't use with_test_prefix.
7931
99598d71
TT
79322017-12-07 Tom Tromey <tom@tromey.com>
7933
7934 * gdb.base/break.exp: Add test for empty "commands".
7935
a8806230
YQ
79362017-12-07 Yao Qi <yao.qi@linaro.org>
7937
7938 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7939 malloc and catch syscall.
7940
824cc835
PM
79412017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7942
e79be6e5 7943 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
7944 tests for explicit locations.
7945
7cc244de
PA
79462017-12-06 Pedro Alves <palves@redhat.com>
7947
7948 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7949 force-disabling XML descriptions.
7950
50a1fdd5
PA
79512017-12-04 Pedro Alves <palves@redhat.com>
7952
7953 PR gdb/22499
7954 * gdb.arch/amd64-disp-step-avx.S: New file.
7955 * gdb.arch/amd64-disp-step-avx.exp: New file.
7956
f0fb2488
PA
79572017-12-03 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7960 and <string.h>.
7961 (parent_function): Print distinct messages when waitpid fails, or
7962 the child exits with a signal, or the child exits for an unhandled
7963 reason.
7964 * gdb.threads/process-dies-while-detaching.exp
7965 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7966 it. Wait for both inferior output and GDB's prompt. Use an
7967 indirect spawn id list.
7968 (do_detach): New parameter 'child_exit'. Use it to compute
7969 expected inferior output.
7970 (test_detach, test_detach_watch, test_detach_killed_outside):
7971 Adjust to pass down the expected child exit kind.
7972
97cbe998
SDJ
79732017-12-01 Joel Brobecker <brobecker@adacore.com>
7974 Sergio Durigan Junior <sergiodj@redhat.com>
7975 Pedro Alves <palves@redhat.com>
7976
7977 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7978
40fc416f
SDJ
79792017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7980
7981 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7982 to 'symbol-file' and 'add-symbol-file' can be
7983 position-independent.
7984
1cc75e92
YQ
79852017-12-01 Yao Qi <yao.qi@linaro.org>
7986
7987 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7988 the URL in copyright header.
7989 * gdb.arch/aarch64-fp.exp: Likewise.
7990 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7991 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7992 * gdb.base/expand-psymtabs.exp: Likewise.
7993 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7994 * gdb.fortran/common-block.exp: Likewise.
7995 * gdb.fortran/common-block.f90: Likewise.
7996 * gdb.fortran/logical.exp: Likewise.
7997 * gdb.fortran/vla-datatypes.f90: Likewise.
7998 * gdb.fortran/vla-sub.f90: Likewise.
7999
875fb7a7
JB
80002017-11-30 Joel Brobecker <brobecker@adacore.com>
8001
8002 * gdb.ada/repeat_dyn: New testcase.
8003
6f14765f
UW
80042017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8005
8006 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8007 Update for changed thread numbering.
8008 * gdb.cell/bt.exp: Update for changed GDB output.
8009
f1af7b94
SM
80102017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8011
8012 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8013 setting isremote by hand.
8014 * boards/dwarf4-gdb-index.exp: Likewise.
8015 * boards/fission.exp: Likewise.
8016 * boards/stabs.exp: Likewise.
8017
e3919f3e
PA
80182017-11-30 Pedro Alves <palves@redhat.com>
8019
8020 * gdb.linespec/cpls-ops.exp
8021 (check_explicit_skips_function_argument): Extract the underlying
8022 type of size_t instead of hardcoding it.
8023
bd69330d
PA
80242017-11-29 Pedro Alves <palves@redhat.com>
8025
8026 PR c++/19436
8027 * gdb.linespec/cpls-abi-tag.cc: New file.
8028 * gdb.linespec/cpls-abi-tag.exp: New file.
8029
a20714ff
PA
80302017-11-29 Pedro Alves <palves@redhat.com>
8031
8032 * gdb.base/langs.exp: Use -qualified.
8033 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8034 it.
8035 * gdb.cp/namespace.exp: Use -qualified.
8036 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8037 (overload-3, template-overload, template-ret-type, const-overload)
8038 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8039 procedures.
8040 (test_driver): Call them.
8041 * gdb.cp/save-bp-qualified.cc: New.
8042 * gdb.cp/save-bp-qualified.exp: New.
8043 * gdb.linespec/explicit.exp: Test -qualified.
8044 * lib/completion-support.exp (completion::explicit_opts_list): Add
8045 "-qualified".
8046 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8047
f6f1d339
PM
80482017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8049
8050 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8051
02ca603a
TT
80522017-11-29 Tom Tromey <tom@tromey.com>
8053
8054 * gdb.base/relocate.exp: Update invalid argument test.
8055 Add new tests for invalid arguments.
8056
ed6c0bfb
TP
80572017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8058
8059 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8060 Return 0 as a long.
8061 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8062
f106e10e
TP
80632017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8064
8065 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8066 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8067 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8068 func ().
8069 * gdb.cp/shadow.cc (B.func): Return 0.
8070
10329bb2
JB
80712017-11-27 Joel Brobecker <brobecker@adacore.com>
8072
8073 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8074 expected output in gdb_expect call to allow the exception
8075 message to be present as well. Fix syntax confusion to avoid
8076 TCL thinking that exception_name is an array.
8077
617cd4bc
UW
80782017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8079
8080 * gdb.arch/spu-info.c: Include <unistd.h>.
8081 (do_signal_test): Fix broken calls to write.
8082 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8083 Fix checks for empty mailboxes. Update signal tests for corrected
8084 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8085 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8086 * gdb.cell/arch.exp: Use standard_output_file.
8087 * gdb.cell/break.exp: Likewise.
8088 * gdb.cell/bt.exp: Likewise.
8089 * gdb.cell/core.exp: Likewise.
8090 * gdb.cell/dwarfaddr.exp: Likewise.
8091 * gdb.cell/ea-cache.exp: Likewise.
8092 * gdb.cell/ea-standalone.exp: Likewise.
8093 * gdb.cell/f-regs.exp: Likewise.
8094 * gdb.cell/fork.exp: Likewise.
8095 * gdb.cell/gcore.exp: Likewise.
8096 * gdb.cell/mem-access.exp: Likewise.
8097 * gdb.cell/ptype.exp: Likewise.
8098 * gdb.cell/registers.exp: Likewise.
8099 * gdb.cell/sizeof.exp: Likewise.
8100 * gdb.cell/solib-symbol.exp: Likewise.
8101 * gdb.cell/solib.exp: Likewise.
617cd4bc 8102
a81aaca0
PA
81032017-11-25 Pedro Alves <palves@redhat.com>
8104
8105 * gdb.base/complete-empty.exp: New file.
8106 * gdb.base/completion.exp: Adjust.
8107
6a3c6ee4
PA
81082017-11-25 Pedro Alves <palves@redhat.com>
8109
8110 * gdb.linespec/cpls-ops.cc: New file.
8111 * gdb.linespec/cpls-ops.exp: New file.
8112 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8113 factored out from ...
8114 (test_complete_prefix_range): ... this.
8115
8955eb2d
PA
81162017-11-24 Pedro Alves <palves@redhat.com>
8117
8118 * gdb.linespec/cpcompletion.exp: New file.
8119 * gdb.linespec/cpls-hyphen.cc: New file.
8120 * gdb.linespec/cpls.cc: New file.
8121 * gdb.linespec/cpls2.cc: New file.
8122 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8123 test to use test_gdb_complete_unique. Add label completion,
8124 keyword completion and explicit location completion tests.
8125 * lib/completion-support.exp: New file.
8126
e547c119
JB
81272017-11-24 Joel Brobecker <brobecker@adacore.com>
8128
8129 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8130 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8131 when hitting an exception catchpoint.
8132
7c3c1aa8
YQ
81332017-11-22 Yao Qi <yao.qi@linaro.org>
8134
8135 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8136
41bd68f5
SM
81372017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8138
8139 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8140 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8141 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8142
1daad298
YQ
81432017-11-22 Yao Qi <yao.qi@linaro.org>
8144
8145 * gdb.base/info-os.exp: Pass pthreads.
8146 * gdb.multi/multi-attach.exp: Likewise.
8147
88465e87
YQ
81482017-11-22 Yao Qi <yao.qi@linaro.org>
8149
8150 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8151 compiler.
8152
dc196b23
YQ
81532017-11-22 Yao Qi <yao.qi@linaro.org>
8154
8155 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8156 * gdb.base/break-interp.exp: Likewise.
8157 * gdb.base/jit-attach-pie.exp: Likewise.
8158
2400729e
UW
81592017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8160
8161 * gdb.base/float128.c (large128): New variable.
8162 * gdb.base/float128.exp: Add test to print largest __float128 value.
8163
7a26362d
UW
81642017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8165
8166 * gdb.arch/vsx-regs.exp: Update register content checks.
8167
ed0f4273
UW
81682017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8169
8170 * gdb.arch/ppc-longdouble.exp: New file.
8171 * gdb.arch/ppc-longdouble.c: Likewise.
8172
a25d69c6
PA
81732017-11-21 Pedro Alves <palves@redhat.com>
8174
8175 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8176
73fcf641
PA
81772017-11-20 Pedro Alves <palves@redhat.com>
8178
8179 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8180 (long_double_typedef): New typedefs.
8181 Use DEF on double and long double.
8182 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8183 cases.
8184 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8185 and 'long_double_ptr_same_size' locals. Use them to decide
8186 whether cast from array/function to float is valid/invalid.
8187
71a3c369
TT
81882017-11-17 Tom Tromey <tom@tromey.com>
8189
8190 * gdb.rust/traits.rs: New file.
8191 * gdb.rust/traits.exp: New file.
8192
ced9779b
JB
81932017-11-17 Joel Brobecker <brobecker@adacore.com>
8194
8195 * gdb.ada/minsyms: New testcase.
8196
a0922d80
PA
81972017-11-16 Pedro Alves <palves@redhat.com>
8198
8199 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8200 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8201
ea04e54c
PA
82022017-11-16 Pedro Alves <palves@redhat.com>
8203
8204 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8205 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8206
e849ea89
PA
82072017-11-16 Pedro Alves <palves@redhat.com>
8208
8209 * gdb.server/reconnect-ctrl-c.c: New file.
8210 * gdb.server/reconnect-ctrl-c.exp: New file.
8211
d8ae99a7
PM
82122017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8213
8214 * gdb.python/py-rbreak.exp: New file.
8215 * gdb.python/py-rbreak.c: New file.
8216 * gdb.python/py-rbreak-func2.c: New file.
8217
968a13f8
PA
82182017-11-16 Pedro Alves <palves@redhat.com>
8219
8220 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8221 pattern.
8222 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8223 GDB.
8224
71774bc9
SM
82252017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8226
8227 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8228 regex.
8229
ddbb44cf
SM
82302017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8231
8232 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8233 test names.
8234
584a564f
PA
82352017-11-09 Pedro Alves <palves@redhat.com>
8236
8237 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8238 factored out from ...
8239 (top level): ... here, and adjusted to avoid expecting beyond the
8240 prompt in a single gdb_test_multiple.
8241
5ed7a928
PA
82422017-11-09 Pedro Alves <palves@redhat.com>
8243
8244 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8245 output.
8246 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8247 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8248 * gdb.server/ext-run.exp ("kill" test): Likewise.
8249 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8250
a60e0738
PA
82512017-11-09 Pedro Alves <palves@redhat.com>
8252
8253 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8254 match till end of line.
8255
2c88253f
PA
82562017-11-09 Pedro Alves <palves@redhat.com>
8257
8258 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8259
c7a38517
PA
82602017-11-09 Pedro Alves <palves@redhat.com>
8261
8262 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8263 New procedures, factored out from ...
8264 (top level): ... here, and adjusted to avoid expecting beyond the
8265 prompt in one go.
8266
f29f4b6b
PA
82672017-11-09 Pedro Alves <palves@redhat.com>
8268
8269 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8270 output. Fix '?' match.
8271
286acbb5
JB
82722017-11-08 Joel Brobecker <brobecker@adacore.com>
8273
8274 * gdb.ada/scoped_watch: New testcase.
8275 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8276 which is actually correct.
8277 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8278 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8279
62d7ae92
PA
82802017-11-08 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.gdb/complaints.exp (test_initial_complaints)
8283 (test_serial_complaints, test_short_complaints): Call
8284 complaint_internal instead of complaint.
8285
280ca31f
DT
82862017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8287
8288 * gdb.threads/tls-core.c: New file.
8289 * gdb.threads/tls-core.exp: Likewise.
8290
b5ec771e
PA
82912017-11-08 Pedro Alves <palves@redhat.com>
8292
8293 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8294 (p Exported_Capitalized): New test.
8295 (p exported_capitalized): New test.
8296
a02b41a7
PA
82972017-11-07 Pedro Alves <palves@redhat.com>
8298
8299 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8300
95e95a6d
PA
83012017-11-07 Pedro Alves <palves@redhat.com>
8302
8303 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8304 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8305 (disable_invalid, disable_inverted, disable_negative): New
8306 procedures.
8307 ("bad numbers"): New set of tests.
8308
cee62dbd
PA
83092017-11-07 Pedro Alves <palves@redhat.com>
8310
8311 * gdb.cp/ena-dis-br-range.exp: Add tests.
8312
cc638e86
PA
83132017-11-07 Pedro Alves <palves@redhat.com>
8314
8315 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8316
d0fe4701
XR
83172017-11-07 Xavier Roirand <roirand@adacore.com>
8318 Pedro Alves <palves@redhat.com>
8319
8320 * gdb.base/ena-dis-br.exp: Add reference to
8321 gdb.cp/ena-dis-br-range.exp.
8322 * gdb.cp/ena-dis-br-range.exp: New file.
8323 * gdb.cp/ena-dis-br-range.cc: New file.
8324
46f67f80
PA
83252017-11-06 Pedro Alves <palves@redhat.com>
8326
8327 * gdb.base/attach-non-pgrp-leader.c: New.
8328 * gdb.base/attach-non-pgrp-leader.exp: New.
8329
726e1356
PA
83302017-11-06 Pedro Alves <palves@redhat.com>
8331
8332 * configure.ac: No longer check for termio.h and sgtty.h.
8333 * configure: Regenerate.
8334 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8335 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8336 Remove termio and sgtty code.
8337
50ab6ace
YQ
83382017-11-03 Yao Qi <yao.qi@linaro.org>
8339
8340 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8341 in GDB is disabled.
8342
8e68731c
YQ
83432017-11-03 Yao Qi <yao.qi@linaro.org>
8344
8345 * gdb.python/py-thrhandle.exp: Skip it if python is not
8346 enabled.
8347
3a87ae65
SM
83482017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8349
8350 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8351 as a breakpoint command.
8352
484d8d36
MD
83532017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8354
8355 PR python/21213
8356 * gdb.python/py-infthread.exp: Test calling
8357 InferiorThread.inferior () multiple times in a row.
8358
4a27f119
KS
83592017-10-27 Keith Seitz <keiths@redhat.com>
8360
8361 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8362 Test "info break" for every inlined function breakpoint.
8363
bb11dd58
YQ
83642017-10-27 Yao Qi <yao.qi@linaro.org>
8365
8366 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8367
a43f3893
PF
83682017-10-26 Patrick Frants <osscontribute@gmail.com>
8369
8370 * gdb.cp/classes.exp (test_static_members): Test printing
8371 Outer::instance.
8372 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8373 (Inner::instance, Outer::instance): New.
8374
792ccf00
PA
83752017-10-24 Pedro Alves <palves@redhat.com>
8376
8377 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8378 extra console" test in two stages.
8379
eb2bfbad
PA
83802017-10-24 Pedro Alves <palves@redhat.com>
8381
8382 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8383
1f75a651
PA
83842017-10-24 Pedro Alves <palves@redhat.com>
8385
8386 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8387 loop.
8388
779990d9
PA
83892017-10-24 Pedro Alves <palves@redhat.com>
8390
8391 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8392 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8393
ad9b8f5d
PA
83942017-10-24 Pedro Alves <palves@redhat.com>
8395
8396 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8397 parameter and handle it. Don't output read value in test name.
8398
fee6da6e
PA
83992017-10-24 Pedro Alves <palves@redhat.com>
8400
8401 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8402 custom test name.
8403
10389c2c
PA
84042017-10-24 Pedro Alves <palves@redhat.com>
8405
8406 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8407 include the unstable output directory name in the test's name.
8408 (initial_setup_simple) <'set args'>: Use custom test name.
8409
a80e65a9
PA
84102017-10-24 Pedro Alves <palves@redhat.com>
8411
8412 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8413 with explicit test name.
8414
15763a09
PA
84152017-10-20 Pedro Alves <palves@redhat.com>
8416
8417 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8418 'wait -i'. Use gdb_assert and remote_close.
8419
49a4ce2e
AB
84202017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8421
8422 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8423 number from variable rather than hard-coded.
8424
a75868f5
PA
84252017-10-19 Pedro Alves <palves@redhat.com>
8426
8427 * gdb.base/long-inferior-output.c: New file.
8428 * gdb.base/long-inferior-output.exp: New file.
8429
c8ba13ad
KS
84302017-11-18 Keith Seitz <keiths@redhat.com>
8431
8432 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8433 method.
8434 (main): Call it.
8435 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8436 Add additional user-defined conversion operator tests.
8437
b27de576
PA
84382017-10-17 Pedro Alves <palves@redhat.com>
8439
8440 * boards/native-stdio-gdbserver.exp: Load "local-board".
8441
8484c955
PA
84422017-10-17 Pedro Alves <palves@redhat.com>
8443
8444 * gdb.base/quit-live.c: New file.
8445 * gdb.base/quit-live.exp: New file.
8446
83d5a34d
KS
84472017-10-16 Keith Seitz <keiths@redhat.com>
8448
8449 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8450 (class_with_protected_typedef, class_with_private_typedef)
8451 (struct_with_public_typedef, struct_with_protected_typedef)
8452 (struct_with_private_typedef): New classes/structs.
8453 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8454 typedefs and access specifiers.
8455
739b3f1d
PA
84562017-10-16 Pedro Alves <palves@redhat.com>
8457 Simon Marchi <simon.marchi@polymtl.ca>
8458
8459 * README (Local vs Remote vs Native): New section.
8460 * boards/local-board.exp: New file, with bits factored out from
8461 ...
8462 * boards/native-extended-gdbserver.exp: ... here. Load
8463 "local-board".
8464 * boards/native-gdbserver.exp: Load "local-board".
8465 (${board}_spawn, ${board}_exec): Delete.
8466 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8467 ...
8468 * boards/stdio-gdbserver-base.exp: ... this new file.
8469 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8470 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8471 procedure.
8472 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8473 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8474 stdio_gdbserver_command.
8475 (${board}_get_remote_address, ${board}_get_comm_port)
8476 (${board}_download, ${board}_upload): Delete.
8477 (get_target_remote_pipe_cmd): New.
8478
fe68b953
SM
84792017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8480
8481 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8482 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8483 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8484 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8485 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8486 remove with_test_prefix.
8487
300b6685
PA
84882017-10-13 Pedro Alves <palves@redhat.com>
8489
8490 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8491 * gdb.base/annota1.exp: Use it instead of is_remote.
8492 * gdb.base/annota3.exp: Use it instead of is_remote.
8493 * gdb.cp/annota2.exp: Use it instead of is_remote.
8494 * gdb.cp/annota3.exp: Use it instead of is_remote.
8495 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8496
50500caf
PA
84972017-10-13 Pedro Alves <palves@redhat.com>
8498
8499 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8500 (test_num_test_vars, run_and_count_vars, find_env)
8501 (test_set_unset_env, test_inherit_env_var): New procedures.
8502 (top level): Use them.
8503
dad0c6d2
PA
85042017-10-13 Pedro Alves <palves@redhat.com>
8505
8506 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8507 also skip on stub-like targets.
8508
8b0553c1
PA
85092017-10-13 Pedro Alves <palves@redhat.com>
8510
8511 PR gdb/22293
8512 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8513 (top level): Move some tests to ...
8514 (test_not_found): ... this new procedure.
8515 (top level): Call it.
8516
7594f623
PA
85172017-10-13 Pedro Alves <palves@redhat.com>
8518
8519 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8520 expect different "info terminal" output if testing with a
8521 non-native target.
8522
ebe3b402
PA
85232017-10-13 Pedro Alves <palves@redhat.com>
8524 Simon Marchi <simon.marchi@polymtl.ca>
8525
8526 PR python/12966
8527 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8528
42f1b161
PA
85292017-10-13 Pedro Alves <palves@redhat.com>
8530
8531 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8532 already.
8533
8d6ef72b
PA
85342017-10-13 Pedro Alves <palves@redhat.com>
8535
8536 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8537 is_remote.
8538
d7bcd5b8
PA
85392017-10-13 Pedro Alves <palves@redhat.com>
8540
8541 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8542 is_remote.
8543
df479dc6
PA
85442017-10-13 Pedro Alves <palves@redhat.com>
8545
8546 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8547 is set.
8548 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8549 instead of is_remote.
8550
23fb630a
PA
85512017-10-13 Pedro Alves <palves@redhat.com>
8552
8553 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8554 (top level): Add comment.
8555
cc77b1dc
PA
85562017-10-13 Pedro Alves <palves@redhat.com>
8557
8558 * gdb.base/remote.exp (top level): Fix comment typo and add
8559 missing return.
8560
27c9e813
PA
85612017-10-13 Pedro Alves <palves@redhat.com>
8562 Simon Marchi <simon.marchi@polymtl.ca>
8563
8564 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8565 calls and add comments. Skip test if use_gdb_stub is set.
8566 (top level): Use "set cwd" command instead of "cd" command.
8567
5e830d98
PA
85682017-10-13 Pedro Alves <palves@redhat.com>
8569
8570 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8571 is_remote target check.
8572
f5ca0032
PA
85732017-10-13 Pedro Alves <palves@redhat.com>
8574
8575 * gdb.base/scope.exp: Use build_executable + clean_restart +
8576 gdb_file_cmd instead of prepare_for_testing and no longer skip
8577 "before run" tests on is_remote target boards. Update comments.
8578 * boards/native-extended-gdbserver.exp
8579 (extended_gdbserver_load_last_file): New, factored out from ...
8580 (gdb_load): ... this. Move further below and add comment.
8581 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8582
8aed1c0d
PA
85832017-10-12 Pedro Alves <palves@redhat.com>
8584
8585 * gdb.base/attach.exp: Remove references to gdb64.
8586 * gdb.base/dbx.exp: Remove references to gdb64.
8587
cfa34c87
SM
85882017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8589 Pedro Alves <palves@redhat.com>
8590
8591 * gdb.base/label.exp: Remove is_remote target check.
8592
9192b7de
PA
85932017-10-12 Pedro Alves <palves@redhat.com>
8594
8595 * gdb.base/auvx.exp (coredir): Update comment.
8596 (top level) <core_works>: Use "set cwd" command instead of "cd"
8597 command.
8598
6bf0052d
PA
85992017-10-12 Pedro Alves <palves@redhat.com>
8600 Simon Marchi <simon.marchi@polymtl.ca>
8601
8602 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8603 target boards.
8604
e48ef82d
PA
86052017-10-12 Pedro Alves <palves@redhat.com>
8606 Simon Marchi <simon.marchi@polymtl.ca>
8607
8608 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8609 Instead skip if there's any gdb_protocol set.
8610
8d7aea57
SM
86112017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8612 Pedro Alves <palves@redhat.com>
8613
8614 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8615
30440677
PA
86162017-10-12 Pedro Alves <palves@redhat.com>
8617 Simon Marchi <simon.marchi@polymtl.ca>
8618
8619 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8620 instead of on dejagnu remote boards.
8621
4e04f045 86222017-10-12 Pedro Alves <palves@redhat.com>
175654b9 8623 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
8624
8625 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8626 checks. Use build_executable + clean_restart instead of
8627 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8628 of enabling non-stop after starting gdb.
8629
871a186e
PA
86302017-10-12 Pedro Alves <palves@redhat.com>
8631
8632 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8633 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8634 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8635 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8636
56d704da
AK
86372017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8638
8639 * gdb.arch/arc-tdesc-cpu.exp: New file.
8640 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8641
2f20e312
SM
86422017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8643
8644 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8645
65630365
PA
86462017-10-10 Pedro Alves <palves@redhat.com>
8647
8648 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8649 expect CLI output.
8650
bf469271
PA
86512017-10-10 Pedro Alves <palves@redhat.com>
8652
8653 * lib/selftest-support.exp (selftest_setup): Update for
8654 captured_command_loop's prototype change.
8655
777a42f1
PA
86562017-10-09 Pedro Alves <palves@redhat.com>
8657
8658 Test both arch1=>arch2 and arch2=>arch1.
8659
8660 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8661 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8662 factored out to...
8663 (append_arch1_options, append_arch2_options, append_arch_options)
8664 (build_executables): New procedures.
8665 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8666 local.
8667 (top level): Add new 'first_arch' testing axis.
8668
cbd2b4e3
PA
86692017-10-09 Pedro Alves <palves@redhat.com>
8670
8671 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8672 (barrier): New.
8673 (thread_start, all_started): New functions.
8674 (main): Spawn new thread and wait until it is scheduled.
8675 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8676 option.
8677 (do_test): Add 'selected_thread' parameter. Run to all_started
8678 instead of main. Explicitly set the breakpoint at main. Switch
8679 to the SELECTED_THREAD thread.
8680 (top level): Test handling the exec event with either the main
8681 thread or the second thread selected.
8682
5c9e4427
PA
86832017-10-09 Pedro Alves <palves@redhat.com>
8684
8685 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8686 logic. Move STOP marker after the value checks.
8687 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8688 regexp.
8689
b3b7c423
SL
86902017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8691
8692 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8693
3b4b2f16
UW
86942017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8695
8696 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8697 integer-to-dfp conversion.
8698 * gdb.base/dfp-test.exp: Likewise.
8699
5cd63fda
PA
87002017-10-04 Pedro Alves <palves@redhat.com>
8701
8702 * gdb.multi/hangout.c: Include <unistd.h>.
8703 (hangout_loop): New function.
8704 (main): Call alarm. Call hangout_loop in a loop.
8705 * gdb.multi/hello.c: Include <unistd.h>.
8706 (hello_loop): New function.
8707 (main): Call alarm. Call hangout_loop in a loop.
8708 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8709 inferior with the other selected.
8710
4c71c105
SM
87112017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8712
8713 * gdb.mi/list-thread-groups-available.exp: New file.
8714 * gdb.mi/list-thread-groups-available.c: New file.
8715
bc3b087d
SDJ
87162017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8717
8718 * gdb.base/set-cwd.exp: Make it available on
8719 native-extended-gdbserver.
8720
d092c5a2
SDJ
87212017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8722
8723 * gdb.base/set-cwd.c: New file.
8724 * gdb.base/set-cwd.exp: Likewise.
8725
45320ffa
TT
87262017-10-02 Tom Tromey <tom@tromey.com>
8727
8728 PR rust/22236:
8729 * gdb.rust/simple.rs (main): New variable "fslice".
8730 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8731
b3e3859b
TT
87322017-10-02 Tom Tromey <tom@tromey.com>
8733
8734 * gdb.rust/simple.exp: Test ptype of a slice.
8735
01af5e0d
TT
87362017-10-02 Tom Tromey <tom@tromey.com>
8737
8738 * gdb.rust/simple.exp: Test index of slice.
8739
a9bbfbd8
TT
87402017-09-27 Tom Tromey <tom@tromey.com>
8741
8742 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8743
df8899e5
TP
87442017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8745 Pedro Alves <palves@redhat.com>
8746
8747 * gdb.base/compare-sections.exp (get value of read-only section): Read
8748 as unsigned value.
8749 (corrupt read-only section): Likewise and don't set written if patching
8750 failed.
8751
757bf54b
KB
87522017-09-21 Kevin Buettner <kevinb@redhat.com>
8753
8754 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8755 files.
8756
06871ae8
PA
87572017-09-20 Pedro Alves <palves@redhat.com>
8758
8759 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8760 symbol names in gdb's output.
8761 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8762
e5f25bc5
PA
87632017-09-20 Pedro Alves <palves@redhat.com>
8764
8765 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8766 Rename to ...
8767 (test_list_ambiguous_symbol): ... this and add a symbol name
8768 parameter. Adjust.
8769 (test_list_ambiguous_function): Reimplement on top of
8770 test_list_ambiguous_symbol and also test listing ambiguous
8771 variables.
8772 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8773 (ambiguous_fun): ... this.
8774 (ambiguous_var): New.
8775 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8776 (ambiguous_fun): ... this.
8777 (ambiguous_var): New.
8778
4e5a4f58
JB
87792017-09-19 John Baldwin <jhb@FreeBSD.org>
8780
8781 * gdb.base/starti.c: New file.
8782 * gdb.base/starti.exp: New file.
8783 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8784
26e53f3e
PA
87852017-09-14 Pedro Alves <palves@redhat.com>
8786
8787 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8788 (top level): Use it instead of runto.
8789
cb791d59
TT
87902017-09-11 Tom Tromey <tom@tromey.com>
8791
8792 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8793
7c96f8c1
TT
87942017-09-11 Tom Tromey <tom@tromey.com>
8795
8796 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8797 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8798
469412dd
CW
87992017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8800
8801 * gdb.fortran/printing-types.exp: New file.
8802 * gdb.fortran/printing-types.exp: New file.
8803
e0f86435
BH
88042017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8805
8806 * gdb.fortran/vla-ptype.exp: Fix typos.
8807 * gdb.fortran/vla-value.exp: Same.
8808
9e9af4be
BH
88092017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8810
8811 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8812 * gdb.mi/mi-var-child-f.exp: Likewise.
8813 * gdb.mi/mi-vla-fortran.exp: Likewise.
8814
a5ad232b 88152017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
8816 Christoph Weinmann <christoph.t.weinmann@intel.com>
8817 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
8818
8819 * gdb.fortran/ptr-indentation.f90: New file.
8820 * gdb.fortran/ptr-indentation.exp: New file.
8821
5aec60eb
TT
88222017-09-05 Tom Tromey <tom@tromey.com>
8823
8824 PR gdb/22010:
8825 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8826
8f8f8152
TP
88272017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8828
8829 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8830
fbd1b771
JK
88312017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8832
8833 * gdb.threads/tls-nodebug-pie.c: New file.
8834 * gdb.threads/tls-nodebug-pie.exp: New file.
8835
5eb5f850
TT
88362017-09-05 Tom Tromey <tom@tromey.com>
8837
8838 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8839 for rust.
8840
ae780a21
SM
88412017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8842
8843 * gdb.multi/multi-arch-exec.exp: Test with different
8844 "follow-exec-mode" settings.
8845 (do_test): New procedure.
8846
3693fdb3
PA
88472017-09-04 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.base/func-static.c (S::method const, S::method volatile)
8850 (S::method volatile const): New methods.
8851 (c_s, v_s, cv_s): New instances.
8852 (main): Call method() on them.
8853 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8854 (cannot_resolve): New procedure.
8855 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8856 print-quote-unquoted columns.
8857 (do_test): Test printing each scope too.
8858
e68cb8e0
PA
88592017-09-04 Pedro Alves <palves@redhat.com>
8860
8861 * gdb.base/local-static.exp: Also test with
8862 class::method::variable wholly quoted.
8863 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8864
858be34c
PA
88652017-09-04 Pedro Alves <palves@redhat.com>
8866
8867 * gdb.base/local-static.c: New.
8868 * gdb.base/local-static.cc: New.
8869 * gdb.base/local-static.exp: New.
8870
46a4882b
PA
88712017-09-04 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.asm/asm-source.exp: Add casts to int.
8874 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8875 (dataglobal64_1, dataglobal64_2): New globals.
8876 * gdb.base/nodebug.exp: Test different expressions involving the
8877 new globals, with print, whatis and ptype. Add casts to int.
8878 * gdb.base/solib-display.exp: Add casts to int.
8879 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8880 * gdb.cp/m-static.exp: Add cast to int.
8881 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8882 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8883 tls variable with no debug info without a cast. Test with a cast
8884 to int too.
8885 * gdb.trace/entry-values.exp: Add casts.
8886
2c5a2be1
PA
88872017-09-04 Pedro Alves <palves@redhat.com>
8888
8889 * gdb.base/nodebug.exp: Test that ptype's error about functions
8890 with unknown return type includes the function name too.
8891
7022349d
PA
88922017-09-04 Pedro Alves <palves@redhat.com>
8893
8894 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8895 return type of munmap in infcall.
8896 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8897 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8898 type of ftell in infcall.
8899 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8900 type of getpid in infcall.
8901 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8902 infcall.
8903 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8904 Bail on failure to extract the pid.
8905 * gdb.base/nodebug.c: #include <stdint.h>.
8906 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8907 New functions.
8908 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8909 Change expected output of print/whatis/ptype with functions with
8910 no debug info. Test all supported languages. Call
8911 test_call_promotion.
8912 * gdb.compile/compile.exp: Adjust expected output to expect
8913 warning.
8914 * gdb.threads/siginfo-threads.exp: Likewise.
8915
54990598
PA
89162017-09-04 Pedro Alves <palves@redhat.com>
8917
8918 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8919 "prototypes". Test calling float functions via prototyped and
8920 unprototyped function pointers.
8921 (perform_all_tests): New parameter "prototypes". Pass it down.
8922 (top level): Pass down "prototypes" parameter to
8923 perform_all_tests.
8924
34d16ea2
SM
89252017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8926
8927 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8928 Test with nested loops.
8929
9521ecda
SM
89302017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8931
8932 * gdb.base/commands.exp: Call the new procedures.
8933 (loop_break_test, loop_continue_test): New procedures.
8934
80a65e9b
SM
89352017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8936
8937 * gdb.base/commands.exp: Call new procedure.
8938 (define_if_without_arg_test): New procedure.
8939
e439fa14
PA
89402017-09-04 Pedro Alves <palves@redhat.com>
8941
8942 * gdb.base/list-ambiguous.exp: New file.
8943 * gdb.base/list-ambiguous0.c: New file.
8944 * gdb.base/list-ambiguous1.c: New file.
8945 * gdb.base/list.exp (test_list_range): Adjust expected output.
8946
0a2dde4a
SDJ
89472017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8948
8949 * gdb.base/share-env-with-gdbserver.c: New file.
8950 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8951
5e89eb3a
SM
89522017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8953
8954 * gdb.base/commands.exp (gdbvar_simple_if_test,
8955 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8956 progvar_simple_if_test, progvar_simple_while_test,
8957 progvar_complex_if_while_test, user_defined_command_test,
8958 user_defined_command_args_eval,
8959 user_defined_command_args_stack_test,
8960 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8961 temporary_breakpoint_commands,
8962 gdb_test_no_prompt, redefine_hook_test,
8963 redefine_backtrace_test): Remove "global gdb_prompt".
8964
fd437cbc
SM
89652017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8966
8967 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8968 New proc, call it from toplevel.
8969
87215ad1
SDJ
89702017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8971
8972 PR remote/21852
8973 * gdb.server/normal.c: New file, copied from gdb.base.
8974 * gdb.server/run-without-local-binary.exp: New file.
8975
58afddc6
WP
89762017-08-07 Weimin Pan <weimin.pan@oracle.com>
8977
8978 * gdb.arch/sparc64-adi.exp: New file.
8979 * gdb.arch/sparc64-adi.c: New file.
8980
5277199a
PA
89812017-08-22 Pedro Alves <palves@redhat.com>
8982
8983 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8984 (top level): Add "list all overloads" tests.
8985
14278e1f
TT
89862017-08-22 Tom Tromey <tom@tromey.com>
8987
8988 * gdb.gdb/xfullpath.exp: Remove.
8989
bf223d3e
PA
89902017-08-21 Pedro Alves <palves@redhat.com>
8991
8992 PR gdb/19487
8993 * gdb.base/symbol-alias.c: New.
8994 * gdb.base/symbol-alias2.c: New.
8995 * gdb.base/symbol-alias.exp: New.
8996
c973d0aa
PA
89972017-08-21 Pedro Alves <palves@redhat.com>
8998
8999 * gdb.base/dfp-test.c
9000 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9001 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9002 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9003 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9004 * gdb.base/whatis-ptype-typedefs.c: New.
9005 * gdb.base/whatis-ptype-typedefs.exp: New.
9006 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9007 (an_int, an_int_type, an_int_type2): New globals.
9008 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9009 involving typedefs and cast expressions.
9010 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9011 (lookup_typedefs_function): New.
9012 (typedefs_pretty_printers_dict): New.
9013 (top level): Register lookup_typedefs_function in
9014 gdb.pretty_printers.
9015
6d580b63
YQ
90162017-08-18 Yao Qi <yao.qi@linaro.org>
9017
9018 * gdb.server/unittest.exp: New.
9019
206726fb
SDJ
90202017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9021
9022 PR gdb/21954
9023 * gdb.base/environ.exp: Add test to check if 'unset environment'
9024 works.
9025
bf0ec4c2
AA
90262017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9027
9028 * lib/gdb.exp (universal_compile_options): New caching proc.
9029 (gdb_compile): Suppress GCC's coloring of messages.
9030
d6382fff
TT
90312017-08-14 Tom Tromey <tom@tromey.com>
9032
9033 PR gdb/21675:
9034 * gdb.base/printcmds.exp (test_radices): New function.
9035 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9036 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9037 * lib/gdb.exp (get_integer_valueof): Use p/d.
9038
c2c2dd9f
SM
90392017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9040
9041 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9042 characters.
9043
fdffd6f4
TT
90442017-08-05 Tom Tromey <tom@tromey.com>
9045
9046 * gdb.rust/simple.exp: Allow String to appear in a different
9047 namespace.
9048
27d41eac
YQ
90492017-07-26 Yao Qi <yao.qi@linaro.org>
9050
9051 * gdb.gdb/unittest.exp: Invoke command
9052 "maintenance check xml-descriptions".
9053
031ed05d
AA
90542017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9055
9056 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9057 calling context.
9058 (hex128): Drop erroneous calculation of parameters.
9059
dcd27ddf
SM
90602017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9061
9062 * gdb.python/py-unwind.exp: Disable stack protection when
9063 building test file.
9064
47e77640
PA
90652017-07-20 Pedro Alves <palves@redhat.com>
9066
9067 * gdb.base/default.exp (set language): Adjust expected output.
9068
62d2a18a
PA
90692017-07-20 Pedro Alves <palves@redhat.com>
9070
9071 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9072 (test_minsym): ... this, and make static.
9073 (get_pck__foo__bar__minsym): Rename to ...
9074 (get_test_minsym): ... this.
9075 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9076 symbol names and comments.
9077 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9078 (get_test_minsym): ... this.
9079 (pck__foo__bar__minsym__2): Rename to ...
9080 (test_minsym): ... this.
9081 (main): Adjust.
9082
c45ec17c
PA
90832017-07-17 Pedro Alves <palves@redhat.com>
9084
9085 * gdb.base/completion.exp: Adjust expected output.
9086 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9087 the completer works.
9088
c6756f62
PA
90892017-07-17 Pedro Alves <palves@redhat.com>
9090
9091 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9092
5bd68487
AB
90932017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9094
9095 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9096
8880f2a9
TT
90972017-07-14 Tom Tromey <tom@tromey.com>
9098
9099 PR rust/21764:
9100 * gdb.rust/simple.exp: Add tests.
9101
65547233
TT
91022017-07-14 Tom Tromey <tom@tromey.com>
9103
9104 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9105
8f14146e
PA
91062017-07-14 Pedro Alves <palves@redhat.com>
9107
9108 * gdb.linespec/base/one/thefile.cc (z1): New function.
9109 * gdb.linespec/base/two/thefile.cc (z2): New function.
9110 * gdb.linespec/linespec.exp: Add tests.
9111
b4365d02
AB
91122017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9113
9114 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9115 to mi_create_breakpoint.
9116
5d2cbaa5
AB
91172017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9118
9119 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9120 mi_create_breakpoint.
9121
11cb5716
IB
91222017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9123
9124 * gdb.dlang/demangle.exp: Update for demangling changes.
9125
03278692
TT
91262017-07-09 Tom Tromey <tom@tromey.com>
9127
9128 * gdb.dwarf2/shortpiece.exp: New file.
9129
33c5cd75
DB
91302017-07-06 David Blaikie <dblaikie@gmail.com>
9131
9132 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9133 built from fissiont-multi-cu{1,2}.c.
9134 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9135 except putting 'main' and 'func' in separate CUs in the same DWO file.
9136 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9137 test.
9138 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9139 test.
9140
8455d262
PA
91412017-07-06 Pedro Alves <palves@redhat.com>
9142
9143 * gdb.python/py-unwind.exp: Test flushregs.
9144
dc4bde35
SDJ
91452017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9146
9147 PR cli/21688
9148 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9149 tests for alias commands and trailing whitespace.
9150
51ed89aa
SDJ
91512017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9152
9153 PR cli/21688
9154 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9155 procedure. Call it.
9156
eb17d413
PA
91572017-06-29 Pedro Alves <palves@redhat.com>
9158
9159 * gdb.base/printcmds.exp: Add tests.
9160
41664b45
DG
91612017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9162
9163 PR gdb/21337
9164 * gdb.base/reread-readsym.exp: New file.
9165 * gdb.base/reread-readsym.c: New file.
9166
75312ae3
KB
91672017-06-21 Kevin Buettner <kevinb@redhat.com>
9168
9169 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9170 subpattern.
9171
66953522
PB
91722017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9173
9174 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9175 extended mnemonic.
9176 * gdb.arch/powerpc-power9.s: Likewise.
9177
5524b525
AA
91782017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9179
9180 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9181 on 32-bit x86 targets. Exploit is_*_target macros where
9182 appropriate.
9183
03c8af18
AA
91842017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9185
9186 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9187 register pieces.
9188
3bf31011
AA
91892017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9190
9191 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9192 located in one or more DWARF pieces.
9193
805acca0
AA
91942017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9195
9196 * lib/gdb.exp (get_endianness): New proc.
9197 * gdb.arch/aarch64-fp.exp: Use it.
9198 * gdb.arch/altivec-regs.exp: Likewise.
9199 * gdb.arch/e500-regs.exp: Likewise.
9200 * gdb.arch/vsx-regs.exp: Likewise.
9201 * gdb.base/dump.exp: Likewise.
9202 * gdb.base/funcargs.exp: Likewise.
9203 * gdb.base/gnu_vector.exp: Likewise.
9204 * gdb.dwarf2/formdata16.exp: Likewise.
9205 * gdb.dwarf2/implptrpiece.exp: Likewise.
9206 * gdb.dwarf2/nonvar-access.exp: Likewise.
9207 * gdb.python/py-inferior.exp: Likewise.
9208 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9209
e9352324
AA
92102017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9211
9212 PR gdb/21226
9213 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9214 stack value pieces are taken from the LSB end.
9215
d5d1163e
AA
92162017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9217
9218 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9219 variable at nonzero offset.
9220
0567c986
AA
92212017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9222
9223 * gdb.dwarf2/var-access.c: New file.
9224 * gdb.dwarf2/var-access.exp: New test.
9225 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9226
973e9aab
TT
92272017-06-12 Tom Tromey <tom@tromey.com>
9228
9229 * gdb.dwarf2/formdata16.exp: Add tests.
9230
d9109c80
TT
92312017-06-12 Tom Tromey <tom@tromey.com>
9232
9233 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9234
30a25466
TT
92352017-06-12 Tom Tromey <tom@tromey.com>
9236
9237 PR exp/16225:
9238 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9239 * gdb.arch/vsx-regs.exp: Update tests.
9240 * gdb.arch/s390-vregs.exp (hex128): New proc.
9241 Update test.
9242 * gdb.arch/altivec-regs.exp: Update tests.
9243
aefd8b33
SDJ
92442017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9245
9246 * gdb.base/startup-with-shell.c: New file.
9247 * gdb.base/startup-with-shell.exp: Likewise.
9248
2090129c
SDJ
92492017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9250
9251 * gdb.server/non-existing-program.exp: Update regex in order to
9252 reflect the fact that gdbserver is now using fork_inferior (with a
9253 shell) to startup the inferior.
9254
8e86a419
SM
92552017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9256
9257 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9258 support function calls from GDB.
9259
e6cf65f2
TT
92602017-05-21 Tom Tromey <tom@tromey.com>
9261
9262 PR rust/21466:
9263 * gdb.rust/unsized.exp: New file.
9264 * gdb.rust/unsized.rs: New file.
9265
43cc5389
TT
92662017-05-19 Tom Tromey <tom@tromey.com>
9267
9268 PR rust/21484:
9269 * gdb.rust/watch.exp: New file.
9270 * gdb.rust/watch.rs: New file.
9271
ec8df234
TT
92722017-05-18 Tom Tromey <tom@tromey.com>
9273
9274 * gdb.rust/simple.exp: Allow Box to be qualified.
9275
3e3e7fae
TP
92762017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9277
9278 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9279
59cc050d
PA
92802017-05-18 Pedro Alves <palves@redhat.com>
9281
9282 * gdb.base/fileio.c (test_write, test_read, test_close)
9283 (test_fstat): Don't print 'ret' in the fail path.
9284
c8f6abd1
PA
92852017-05-18 Pedro Alves <palves@redhat.com>
9286
9287 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9288 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9289 (test_system, test_rename, test_unlink, test_time): Change
9290 prototypes.
9291 * gdb.base/fileio.exp (stop_msg): Adjust.
9292
d2a03b77
PA
92932017-05-18 Pedro Alves <palves@redhat.com>
9294
9295 * gdb.base/fileio.c (null_str): New global.
9296 (test_stat): Use it.
9297 * gdb.base/fileio.exp: Remove nowarnings.
9298
0d5c6999
YQ
92992017-05-17 Yao Qi <yao.qi@linaro.org>
9300
9301 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9302
21873064
YQ
93032017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9304
9305 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9306 argument command.
9307 (top-level): Invoke test_set_inferior_tty.
9308
d512d31c
PA
93092017-05-04 Pedro Alves <palves@redhat.com>
9310
9311 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9312 Add parens to print call for Python 3.
9313
90cef2ed
KS
93142017-05-03 Keith Seitz <keiths@redhat.com>
9315
9316 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9317 (main): Call it.
9318
14f819c8
TW
93192017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9320
9321 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9322 to prev and next.
9323
913aeadd
TW
93242017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9325
9326 * gdb.python/py-record-btrace.exp: Remove test for
9327 gdb.BtraceInstruction.error.
9328
a3be24ad
TW
93292017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9330
9331 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9332
ae20e79a
TW
93332017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9334
9335 * gdb.python/py-record-btrace-threads.c: New file.
9336 * gdb.python/py-record-btrace-threads.exp: New file.
9337
45ce1b47
SDJ
93382017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9339
9340 PR testsuite/8595
9341 * gdb.base/environ.exp: Make test available in all architectures.
9342 Move bits related to "info program" testing to
9343 gdb.base/info-program.exp. Rewrite tests to use the two new
9344 procedures mentione below.
9345 (test_set_show_env_var) New procedure.
9346 (test_set_show_env_var_equal): Likewise.
9347 * gdb.base/info-program.exp: New file.
9348
e15c3eb4
KS
93492017-04-27 Keith Seitz <keiths@redhat.com>
9350
9351 * gdb.cp/oranking.cc (test15): New function.
9352 (main): Call test15 and declare additional variables for testing.
9353 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9354 "p foo101('abc')" tests.
9355 Add tests for cv qualifier overloads.
9356 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9357 "lvalue reference overload" test.
9358 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9359 "print value of f1 on Child&& in f2" test.
9360
3a3fd0fd
PA
93612017-04-19 Pedro Alves <palves@redhat.com>
9362
9363 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9364 procedure.
9365 (top level): Call it.
9366 * lib/gdb.exp (gdb_define_cmd): New procedure.
9367
53375380
PA
93682017-04-12 Pedro Alves <palves@redhat.com>
9369
9370 PR gdb/21323
9371 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9372 (wchar): New global.
9373 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9374 (do_test_wide_char, wide_char_types_no_program, top level): Add
9375 wchar_t testing.
9376
53e710ac
PA
93772017-04-12 Pedro Alves <palves@redhat.com>
9378
9379 PR c++/21323
9380 * gdb.cp/wide_char_types.c: New file.
9381 * gdb.cp/wide_char_types.exp: New file.
9382
0ad9d8c7
SDJ
93832017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9384
9385 PR gdb/21352
9386 * gdb.trace/tsv.exp: Add test for "tsave -r".
9387
b1b45502
IB
93882017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9389
9390 * gdb.dlang/watch-loc.c: New file.
9391 * gdb.dlang/watch-loc.exp: New file.
9392
ec13808e
JK
93932017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9394
9395 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9396
fe5f7374
AK
93972017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9398
9399 * gdb.arch/arc-analyze-prologue.S: New file.
9400 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9401
eea78757
AK
94022017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9403
9404 * gdb.arch/arc-decode-insn.S: New file.
9405 * gdb.arch/arc-decode-insn.exp: Likewise.
9406
5badf10a
IR
94072017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9408
9409 PR tdep/20928
9410 * gdb.arch/sparc64-regs.exp: New file.
9411 * gdb.arch/sparc64-regs.S: Likewise.
9412
cee59b3f
TW
94132017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9414
9415 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9416 and memory view on Python 3.
9417
c0f55cc6
AV
94182017-03-20 Artemiy Volkov <artemiyv@acm.org>
9419 Keith Seitz <keiths@redhat.com>
9420
9421 PR gdb/14441
9422 * gdb.cp/demangle.exp: Add rvalue reference tests.
9423 * gdb.cp/rvalue-ref-casts.cc: New file.
9424 * gdb.cp/rvalue-ref-casts.exp: New file.
9425 * gdb.cp/rvalue-ref-overload.cc: New file.
9426 * gdb.cp/rvalue-ref-overload.exp: New file.
9427 * gdb.cp/rvalue-ref-params.cc: New file.
9428 * gdb.cp/rvalue-ref-params.exp: New file.
9429 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9430 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9431 * gdb.cp/rvalue-ref-types.cc: New file.
9432 * gdb.cp/rvalue-ref-types.exp: New file.
9433 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9434 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9435
51457a05
MAL
94362017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9437
9438 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9439 New procedure.
9440
5b291c04
MAL
94412017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9442
9443 * lib/mi-support.exp (mi_gdb_test): Add additional message
9444 for unexpected output.
9445
59a56148
AA
94462017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9447
9448 * gdb.base/examine-backward.c (Barrier): New character array
9449 constant, to ensure that TestStrings is preceded by a string
9450 terminator.
9451
7942e96e
AA
94522017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9453
9454 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9455 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9456 and implicit pointer into such a location.
9457
6ebac3fb
DE
94582017-03-16 Doug Evans <dje@google.com>
9459
9460 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9461
ec3b243d
TP
94622017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9463
9464 * gdb.cp/m-static.exp: Fix expectation for prototype of
9465 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
9466
94672017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
9468
9469 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9470 * gdb.guile/scm-lazy-string.c: New file.
9471 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9472 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9473 for pointer, array, typedef lazy strings.
9474
2cc36e25 94752017-03-16 Doug Evans <dje@google.com>
34b43320
DE
9476
9477 PR python/17728, python/18439, python/18779
9478 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9479 * gdb.python/py-lazy-string.c (pointer): New typedef.
9480 (main): New locals ptr, array, typedef_ptr.
9481 * gdb.python/py-value.exp: Move lazy string tests to ...
9482 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9483 array, typedef lazy strings.
ec3b243d 9484
0efcde63
AK
94852017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9486
9487 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9488 Add optional 'test' parameter.
9489
7978d7c3
SM
94902017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9491
9492 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9493 Skip for versions of DejaGnu < 1.5.
9494
896c0c1e
SM
94952017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9496
9497 * lib/gdb.exp (dejagnu_version): New proc.
9498 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9499 Use dejagnu_version.
9500
5f4d1085
KS
95012017-03-10 Keith Seitz <keiths@redhat.com>
9502
9503 PR c++/8128
9504 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9505 type from destructor regexps.
9506 Add a branch which actually passes the test.
9507 Adjust "ptype t5i" test names.
9508
1de05205
PA
95092017-03-08 Pedro Alves <palves@redhat.com>
9510
9511 * gdb.base/step-over-exit.exp: Add explicit test message.
9512
c65d6b55
PA
95132017-03-08 Pedro Alves <palves@redhat.com>
9514
9515 PR gdb/18360
9516 * gdb.threads/interrupt-while-step-over.c: New file.
9517 * gdb.threads/interrupt-while-step-over.exp: New file.
9518
2e86a283
PA
95192017-03-08 Pedro Alves <palves@redhat.com>
9520
9521 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9522 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9523
25dcbff6
PA
95242017-03-08 Pedro Alves <palves@redhat.com>
9525
9526 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9527 PKRU as not supported as a PASS.
9528
dc9366eb
PA
95292017-03-08 Pedro Alves <palves@redhat.com>
9530
9531 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9532 prefix instead of $binfile1/$binfile2.
9533 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9534 in test message.
9535 * gdb.python/py-completion.exp: Use "load python file" as test
9536 messages instead of unstable path names.
9537
6e5d74e7
PA
95382017-03-08 Pedro Alves <palves@redhat.com>
9539 Jan Kratochvil <jan.kratochvil@redhat.com>
9540
9541 PR cli/21218
9542 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9543 New proc.
9544 (top level): Call it.
9545
9753a2f6
PA
95462017-03-08 Pedro Alves <palves@redhat.com>
9547
9548 PR tui/21216
9549 * gdb.tui/tui-nl-filtered-output.exp: New file.
9550
1a4dd9dd
PA
95512017-03-08 Pedro Alves <palves@redhat.com>
9552
9553 * gdb.base/completion.exp: Move TUI completion tests to ...
9554 * gdb.tui/completion.exp: ... this new file.
9555
7cbbff33
PA
95562017-03-08 Pedro Alves <palves@redhat.com>
9557
9558 * gdb.base/tui-disasm-long-lines.c,
9559 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9560 gdb.base/tui-layout.exp: Move to ...
9561 * gdb.tui/: ... this new directory.
9562
5f6fd321
PA
95632017-03-07 Pedro Alves <palves@redhat.com>
9564
9565 * gdb.base/tui-layout.c: New file.
9566 * gdb.base/tui-layout.exp: New file.
9567
44959fa8
PA
95682017-03-07 Pedro Alves <palves@redhat.com>
9569
9570 * gdb.base/tui-layout.c: Rename to ...
9571 * gdb.base/tui-disasm-long-lines.c: ... this.
9572 * gdb.base/tui-layout.exp: Rename to ...
9573 * gdb.base/tui-disasm-long-lines.exp: ... this.
9574
f8c4e718
PA
95752017-03-07 Pedro Alves <palves@redhat.com>
9576
9577 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9578
6dbb839a 95792017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
9580
9581 * i386-mpx-call.c: New file.
9582 * i386-mpx-call.exp: New file.
9583
65b48a81
PB
95842017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9585
9586 * gdb.arch/powerpc-power.exp: Delete test.
9587 * gdb.arch/powerpc-power.s: Likewise.
9588 * gdb.disasm/disassembler-options.exp: New test.
9589 * gdb.arch/powerpc-altivec.exp: Likewise.
9590 * gdb.arch/powerpc-altivec.s: Likewise.
9591 * gdb.arch/powerpc-altivec2.exp: Likewise.
9592 * gdb.arch/powerpc-altivec2.s: Likewise.
9593 * gdb.arch/powerpc-altivec3.exp: Likewise.
9594 * gdb.arch/powerpc-altivec3.s: Likewise.
9595 * gdb.arch/powerpc-power7.exp: Likewise.
9596 * gdb.arch/powerpc-power7.s: Likewise.
9597 * gdb.arch/powerpc-power8.exp: Likewise.
9598 * gdb.arch/powerpc-power8.s: Likewise.
9599 * gdb.arch/powerpc-power9.exp: Likewise.
9600 * gdb.arch/powerpc-power9.s: Likewise.
9601 * gdb.arch/powerpc-vsx.exp: Likewise.
9602 * gdb.arch/powerpc-vsx.s: Likewise.
9603 * gdb.arch/powerpc-vsx2.exp: Likewise.
9604 * gdb.arch/powerpc-vsx2.s: Likewise.
9605 * gdb.arch/powerpc-vsx3.exp: Likewise.
9606 * gdb.arch/powerpc-vsx3.s: Likewise.
9607 * gdb.arch/arm-disassembler-options.exp: Likewise.
9608 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9609 * gdb.arch/s390-disassembler-options.exp: Likewise.
9610
17cd4947
LM
96112017-02-23 Luis Machado <lgustavo@codesourcery.com>
9612
9613 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9614 (check_supported_features): ... this. Changed return type to void.
9615 (supports_rdseed): New static global.
9616 (rdseed): Check supports_rdseed.
9617 (initialize): Call check_supported_features.
9618
2039d74e
EBM
96192017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9620
9621 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9622 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9623 and lqarx/stqcx.
9624 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9625 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9626
a51d7ecf
EBM
96272017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9628
9629 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9630 uppercase.
9631
0224619f
JK
96322017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9633
9634 * gdb.dwarf2/formdata16.c: New file.
9635 * gdb.dwarf2/formdata16.exp: New file.
9636 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9637
216f72a1
JK
96382017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9639
9640 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9641 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9642 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9643 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9644 DW_AT_GNU_*.
9645
43988095
JK
96462017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9647
9648 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9649
99e8a4f9
SDJ
96502017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9651
9652 PR gdb/21164
9653 * gdb.base/maint.exp: Add testcases for when the commands do
9654 not have arguments.
9655
b58a8c0c
TP
96562017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9657
9658 * gdb.cp/chained-calls.exp: Use p instead of P.
9659
4e746bb6
TW
96602017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9661
9662 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9663 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9664
3f77c769
TT
96652017-02-14 Tom Tromey <tom@tromey.com>
9666
9667 PR python/13598:
9668 * gdb.python/py-events.exp: Add before_prompt event tests.
9669
075beec0
AA
96702017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9671
9672 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9673
bf5f525c
LM
96742017-02-13 Luis Machado <lgustavo@codesourcery.com>
9675
9676 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9677 (main): Call my_unique_function_name.
9678 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9679 completion of patterns with a single match.
9680 Add missing -re switches to gdb_test_multiple calls.
9681
13a66184
LM
96822017-02-13 Luis Machado <lgustavo@codesourcery.com>
9683
9684 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9685 return if core file is not recognized.
9686
26a06916
SM
96872017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9688
9689 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9690 and extra UIs.
9691
b761ca9e
SM
96922017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9693
9694 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9695 proc_with_prefix.
9696
b964bee0
TT
96972017-02-10 Tom Tromey <tom@tromey.com>
9698
9699 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9700
18da0c51
MG
97012017-02-10 Martin Galvan <martingalvan@sourceware.org>
9702
9703 PR gdb/21122
9704 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9705
604c4576
JG
97062017-02-08 Jerome Guitton <guitton@adacore.com>
9707
9708 * gdb.base/define.exp: Add test for command abbreviations
9709 in define.
9710
20b477a7
LM
97112017-02-06 Luis Machado <lgustavo@codesourcery.com>
9712
9713 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9714 * gdb.reverse/insn-reverse-x86.c: New file.
9715
3f7b46f2
IR
97162017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9717
9718 PR tdep/20936
9719 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9720
f0fd41c1
TT
97212017-02-03 Tom Tromey <tom@tromey.com>
9722
9723 PR rust/21097:
9724 * gdb.rust/simple.exp: Add new tests.
9725
5be5dbf0
PA
97262017-02-02 Pedro Alves <palves@redhat.com>
9727
9728 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9729 tests.
9730
7346ef59
AA
97312017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9732
9733 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9734 taking a 2-byte value out of a 4-byte DWARF implicit value on
9735 big-endian targets.
9736 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9737 logic. Add test cases for DW_OP_implicit.
9738
787f0025
MM
97392017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9740
9741 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9742
68777c29
MM
97432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9744
9745 * gdb.btrace/enable.exp: Call gdb_exit before
9746 skip_gdbserver_tests.
9747
0a1c7e28
MM
97482017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9749
9750 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9751 GDBFLAGS.
9752
b5ac99b0
MM
97532017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9754
9755 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9756 the test is skipped.
9757 * gdb.btrace/data.exp: Likewise.
9758 * gdb.btrace/delta.exp: Likewise.
9759 * gdb.btrace/dlopen.exp: Likewise.
9760 * gdb.btrace/enable-running.exp: Likewise.
9761 * gdb.btrace/enable.exp: Likewise.
9762 * gdb.btrace/exception.exp: Likewise.
9763 * gdb.btrace/function_call_history.exp: Likewise.
9764 * gdb.btrace/gcore.exp: Likewise.
9765 * gdb.btrace/instruction_history.exp: Likewise.
9766 * gdb.btrace/multi-thread-step.exp: Likewise.
9767 * gdb.btrace/nohist.exp: Likewise.
9768 * gdb.btrace/non-stop.exp: Likewise.
9769 * gdb.btrace/reconnect.exp: Likewise.
9770 * gdb.btrace/record_goto-step.exp: Likewise.
9771 * gdb.btrace/record_goto.exp: Likewise.
9772 * gdb.btrace/rn-dl-bind.exp: Likewise.
9773 * gdb.btrace/segv.exp: Likewise.
9774 * gdb.btrace/step.exp: Likewise.
9775 * gdb.btrace/stepi.exp: Likewise.
9776 * gdb.btrace/tailcall-only.exp: Likewise.
9777 * gdb.btrace/tailcall.exp: Likewise.
9778 * gdb.btrace/tsx.exp: Likewise.
9779 * gdb.btrace/unknown_functions.exp: Likewise.
9780 * gdb.btrace/vdso.exp: Likewise.
9781
cd4007e4
MM
97822017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9783
9784 * gdb.btrace/enable-running.c: New.
9785 * gdb.btrace/enable-running.exp: New.
9786
2735833d
WT
97872017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9788
9789 * gdb.arch/amd64-gs_base.c: New file.
9790 * gdb.arch/amd64-gs_base.exp: New file.
9791
b51e1e94
LM
97922017-01-26 Luis Machado <lgustavo@codesourcery.com>
9793
9794 * lib/memory.exp: Remove spurious empty newlines.
9795
72ca0410
SM
97962017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9797
9798 * gdb.python/py-bad-printers.exp: Load python file using "source".
9799 * gdb.python/py-events.exp: Likewise.
9800 * gdb.python/py-evsignal.exp: Likewise.
9801 * gdb.python/py-evthreads.exp: Likewise.
9802 * gdb.python/py-frame-args.exp: Likewise.
9803 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9804 * gdb.python/py-framefilter-mi.exp: Likewise.
9805 * gdb.python/py-framefilter.exp: Likewise.
9806 * gdb.python/py-mi.exp: Likewise.
9807 * gdb.python/py-pp-maint.exp: Likewise.
9808 * gdb.python/py-pp-registration.exp: Likewise.
9809 * gdb.python/py-prettyprint.exp: Likewise.
9810 (run_lang_tests): Likewise.
9811 * gdb.python/py-typeprint.exp: Likewise.
9812
e309aa65
LM
98132017-01-26 Luis Machado <lgustavo@codesourcery.com>
9814
9815 * lib/memory.exp: New file.
9816 * lib/gdb.exp: Load memory.exp.
9817 * gdb.base/memattr.exp (delete_memory): Move proc to
9818 lib/memory.exp and rename to delete_memory_regions.
9819 Replace delete_memory with delete_memory_regions.
9820 Cleanup memory regions before tests.
9821 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9822 before tests.
9823
515aff23
LM
98242017-01-26 Luis Machado <lgustavo@codesourcery.com>
9825
9826 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9827 files.
9828 (initialize): New function conditionally defined.
9829 (testcases): Move within conditional block.
9830 (main): Call initialize.
9831 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9832 of gdb.reverse/insn-reverse.c.
9833 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9834 gdb.reverse/insn-reverse.c.
9835
d8b49cf0
YQ
98362017-01-26 Yao Qi <yao.qi@linaro.org>
9837
9838 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9839 disassemble on address 0.
9840
f13a9a0c
YQ
98412017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9842 Yao Qi <yao.qi@linaro.org>
9843
9844 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9845 * gdb.dwarf2/implptr-64bit.S: Remove.
9846 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9847 variables in caller's context. Add DW_OP_implicit_value.
9848
5ac95241
YQ
98492017-01-25 Yao Qi <yao.qi@linaro.org>
9850
9851 * lib/dwarf.exp (Dwarf::_location): Handle
9852 DW_OP_GNU_implicit_pointer with proper size.
9853
23e82930
LM
98542017-01-20 Luis Machado <lgustavo@codesourcery.com>
9855
9856 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9857 and add untested calls.
9858
d334ae25
LM
98592017-01-20 Luis Machado <lgustavo@codesourcery.com>
9860
9861 * gdb.python/python.exp: Check line number against what GDB thinks
9862 the line number is for func1.
9863
f5e6296e
IB
98642017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9865
9866 * gdb.dlang/debug-expr.exp: New file.
9867
5b362f04
LM
98682016-12-23 Luis Machado <lgustavo@codesourcery.com>
9869
9870 Fix test names for the following files:
9871
9872 * gdb.ada/exec_changed.exp
9873 * gdb.ada/info_types.exp
9874 * gdb.arch/aarch64-atomic-inst.exp
9875 * gdb.arch/aarch64-fp.exp
9876 * gdb.arch/altivec-abi.exp
9877 * gdb.arch/altivec-regs.exp
9878 * gdb.arch/amd64-byte.exp
9879 * gdb.arch/amd64-disp-step.exp
9880 * gdb.arch/amd64-dword.exp
9881 * gdb.arch/amd64-entry-value-inline.exp
9882 * gdb.arch/amd64-entry-value-param.exp
9883 * gdb.arch/amd64-entry-value-paramref.exp
9884 * gdb.arch/amd64-entry-value.exp
9885 * gdb.arch/amd64-i386-address.exp
9886 * gdb.arch/amd64-invalid-stack-middle.exp
9887 * gdb.arch/amd64-invalid-stack-top.exp
9888 * gdb.arch/amd64-optimout-repeat.exp
9889 * gdb.arch/amd64-prologue-skip.exp
9890 * gdb.arch/amd64-prologue-xmm.exp
9891 * gdb.arch/amd64-stap-special-operands.exp
9892 * gdb.arch/amd64-stap-wrong-subexp.exp
9893 * gdb.arch/amd64-tailcall-cxx.exp
9894 * gdb.arch/amd64-tailcall-noret.exp
9895 * gdb.arch/amd64-tailcall-ret.exp
9896 * gdb.arch/amd64-tailcall-self.exp
9897 * gdb.arch/amd64-word.exp
9898 * gdb.arch/arm-bl-branch-dest.exp
9899 * gdb.arch/arm-disp-step.exp
9900 * gdb.arch/arm-neon.exp
9901 * gdb.arch/arm-single-step-kernel-helper.exp
9902 * gdb.arch/avr-flash-qualifier.exp
9903 * gdb.arch/disp-step-insn-reloc.exp
9904 * gdb.arch/e500-abi.exp
9905 * gdb.arch/e500-regs.exp
9906 * gdb.arch/ftrace-insn-reloc.exp
9907 * gdb.arch/i386-avx512.exp
9908 * gdb.arch/i386-bp_permanent.exp
9909 * gdb.arch/i386-byte.exp
9910 * gdb.arch/i386-cfi-notcurrent.exp
9911 * gdb.arch/i386-disp-step.exp
9912 * gdb.arch/i386-dr3-watch.exp
9913 * gdb.arch/i386-float.exp
9914 * gdb.arch/i386-gnu-cfi.exp
9915 * gdb.arch/i386-mpx-map.exp
9916 * gdb.arch/i386-mpx-sigsegv.exp
9917 * gdb.arch/i386-mpx-simple_segv.exp
9918 * gdb.arch/i386-mpx.exp
9919 * gdb.arch/i386-permbkpt.exp
9920 * gdb.arch/i386-prologue.exp
9921 * gdb.arch/i386-signal.exp
9922 * gdb.arch/i386-size-overlap.exp
9923 * gdb.arch/i386-unwind.exp
9924 * gdb.arch/i386-word.exp
9925 * gdb.arch/mips-fcr.exp
9926 * gdb.arch/powerpc-d128-regs.exp
9927 * gdb.arch/powerpc-stackless.exp
9928 * gdb.arch/ppc64-atomic-inst.exp
9929 * gdb.arch/s390-stackless.exp
9930 * gdb.arch/s390-tdbregs.exp
9931 * gdb.arch/s390-vregs.exp
9932 * gdb.arch/sparc-sysstep.exp
9933 * gdb.arch/thumb-bx-pc.exp
9934 * gdb.arch/thumb-singlestep.exp
9935 * gdb.arch/thumb2-it.exp
9936 * gdb.arch/vsx-regs.exp
9937 * gdb.asm/asm-source.exp
9938 * gdb.base/a2-run.exp
9939 * gdb.base/advance.exp
9940 * gdb.base/all-bin.exp
9941 * gdb.base/anon.exp
9942 * gdb.base/args.exp
9943 * gdb.base/arithmet.exp
9944 * gdb.base/async-shell.exp
9945 * gdb.base/async.exp
9946 * gdb.base/attach-pie-noexec.exp
9947 * gdb.base/attach-twice.exp
9948 * gdb.base/auto-load.exp
9949 * gdb.base/bang.exp
9950 * gdb.base/bitfields.exp
9951 * gdb.base/break-always.exp
9952 * gdb.base/break-caller-line.exp
9953 * gdb.base/break-entry.exp
9954 * gdb.base/break-inline.exp
9955 * gdb.base/break-on-linker-gcd-function.exp
9956 * gdb.base/break-probes.exp
9957 * gdb.base/break.exp
9958 * gdb.base/breakpoint-shadow.exp
9959 * gdb.base/call-ar-st.exp
9960 * gdb.base/call-sc.exp
9961 * gdb.base/call-signal-resume.exp
9962 * gdb.base/call-strs.exp
9963 * gdb.base/callfuncs.exp
9964 * gdb.base/catch-fork-static.exp
9965 * gdb.base/catch-gdb-caused-signals.exp
9966 * gdb.base/catch-load.exp
9967 * gdb.base/catch-signal-fork.exp
9968 * gdb.base/catch-signal.exp
9969 * gdb.base/catch-syscall.exp
9970 * gdb.base/charset.exp
9971 * gdb.base/checkpoint.exp
9972 * gdb.base/chng-syms.exp
9973 * gdb.base/code-expr.exp
9974 * gdb.base/code_elim.exp
9975 * gdb.base/commands.exp
9976 * gdb.base/completion.exp
9977 * gdb.base/complex.exp
9978 * gdb.base/cond-expr.exp
9979 * gdb.base/condbreak.exp
9980 * gdb.base/consecutive.exp
9981 * gdb.base/continue-all-already-running.exp
9982 * gdb.base/coredump-filter.exp
9983 * gdb.base/corefile.exp
9984 * gdb.base/dbx.exp
9985 * gdb.base/debug-expr.exp
9986 * gdb.base/define.exp
9987 * gdb.base/del.exp
9988 * gdb.base/disabled-location.exp
9989 * gdb.base/disasm-end-cu.exp
9990 * gdb.base/disasm-optim.exp
9991 * gdb.base/display.exp
9992 * gdb.base/duplicate-bp.exp
9993 * gdb.base/ena-dis-br.exp
9994 * gdb.base/ending-run.exp
9995 * gdb.base/enumval.exp
9996 * gdb.base/environ.exp
9997 * gdb.base/eu-strip-infcall.exp
9998 * gdb.base/eval-avoid-side-effects.exp
9999 * gdb.base/eval-skip.exp
10000 * gdb.base/exitsignal.exp
10001 * gdb.base/expand-psymtabs.exp
10002 * gdb.base/filesym.exp
10003 * gdb.base/find-unmapped.exp
10004 * gdb.base/finish.exp
10005 * gdb.base/float.exp
10006 * gdb.base/foll-exec-mode.exp
10007 * gdb.base/foll-exec.exp
10008 * gdb.base/foll-fork.exp
10009 * gdb.base/fortran-sym-case.exp
10010 * gdb.base/freebpcmd.exp
10011 * gdb.base/func-ptr.exp
10012 * gdb.base/func-ptrs.exp
10013 * gdb.base/funcargs.exp
10014 * gdb.base/gcore-buffer-overflow.exp
10015 * gdb.base/gcore-relro-pie.exp
10016 * gdb.base/gcore-relro.exp
10017 * gdb.base/gcore.exp
10018 * gdb.base/gdb1090.exp
10019 * gdb.base/gdb11530.exp
10020 * gdb.base/gdb11531.exp
10021 * gdb.base/gdb1821.exp
10022 * gdb.base/gdbindex-stabs.exp
10023 * gdb.base/gdbvars.exp
10024 * gdb.base/hbreak.exp
10025 * gdb.base/hbreak2.exp
10026 * gdb.base/included.exp
10027 * gdb.base/infcall-input.exp
10028 * gdb.base/inferior-died.exp
10029 * gdb.base/infnan.exp
10030 * gdb.base/info-macros.exp
10031 * gdb.base/info-os.exp
10032 * gdb.base/info-proc.exp
10033 * gdb.base/info-shared.exp
10034 * gdb.base/info-target.exp
10035 * gdb.base/infoline.exp
10036 * gdb.base/interp.exp
10037 * gdb.base/interrupt.exp
10038 * gdb.base/jit-reader.exp
10039 * gdb.base/jit-simple.exp
10040 * gdb.base/kill-after-signal.exp
10041 * gdb.base/kill-detach-inferiors-cmd.exp
10042 * gdb.base/label.exp
10043 * gdb.base/langs.exp
10044 * gdb.base/ldbl_e308.exp
10045 * gdb.base/line-symtabs.exp
10046 * gdb.base/linespecs.exp
10047 * gdb.base/list.exp
10048 * gdb.base/long_long.exp
10049 * gdb.base/longest-types.exp
10050 * gdb.base/maint.exp
10051 * gdb.base/max-value-size.exp
10052 * gdb.base/memattr.exp
10053 * gdb.base/mips_pro.exp
10054 * gdb.base/morestack.exp
10055 * gdb.base/moribund-step.exp
10056 * gdb.base/multi-forks.exp
10057 * gdb.base/nested-addr.exp
10058 * gdb.base/nextoverexit.exp
10059 * gdb.base/noreturn-finish.exp
10060 * gdb.base/noreturn-return.exp
10061 * gdb.base/nostdlib.exp
10062 * gdb.base/offsets.exp
10063 * gdb.base/opaque.exp
10064 * gdb.base/pc-fp.exp
10065 * gdb.base/permissions.exp
10066 * gdb.base/print-symbol-loading.exp
10067 * gdb.base/prologue-include.exp
10068 * gdb.base/psymtab.exp
10069 * gdb.base/ptype.exp
10070 * gdb.base/random-signal.exp
10071 * gdb.base/randomize.exp
10072 * gdb.base/range-stepping.exp
10073 * gdb.base/readline-ask.exp
10074 * gdb.base/recpar.exp
10075 * gdb.base/recurse.exp
10076 * gdb.base/relational.exp
10077 * gdb.base/restore.exp
10078 * gdb.base/return-nodebug.exp
10079 * gdb.base/return.exp
10080 * gdb.base/run-after-attach.exp
10081 * gdb.base/save-bp.exp
10082 * gdb.base/scope.exp
10083 * gdb.base/sect-cmd.exp
10084 * gdb.base/set-lang-auto.exp
10085 * gdb.base/set-noassign.exp
10086 * gdb.base/setvar.exp
10087 * gdb.base/sigall.exp
10088 * gdb.base/sigbpt.exp
10089 * gdb.base/siginfo-addr.exp
10090 * gdb.base/siginfo-infcall.exp
10091 * gdb.base/siginfo-obj.exp
10092 * gdb.base/siginfo.exp
10093 * gdb.base/signals-state-child.exp
10094 * gdb.base/signest.exp
10095 * gdb.base/sigstep.exp
10096 * gdb.base/sizeof.exp
10097 * gdb.base/skip.exp
10098 * gdb.base/solib-corrupted.exp
10099 * gdb.base/solib-nodir.exp
10100 * gdb.base/solib-search.exp
10101 * gdb.base/stack-checking.exp
10102 * gdb.base/stale-infcall.exp
10103 * gdb.base/stap-probe.exp
10104 * gdb.base/start.exp
10105 * gdb.base/step-break.exp
10106 * gdb.base/step-bt.exp
10107 * gdb.base/step-line.exp
10108 * gdb.base/step-over-exit.exp
10109 * gdb.base/step-over-syscall.exp
10110 * gdb.base/step-resume-infcall.exp
10111 * gdb.base/step-test.exp
10112 * gdb.base/store.exp
10113 * gdb.base/structs3.exp
10114 * gdb.base/sym-file.exp
10115 * gdb.base/symbol-without-target_section.exp
10116 * gdb.base/term.exp
10117 * gdb.base/testenv.exp
10118 * gdb.base/ui-redirect.exp
10119 * gdb.base/until.exp
10120 * gdb.base/unwindonsignal.exp
10121 * gdb.base/value-double-free.exp
10122 * gdb.base/vla-datatypes.exp
10123 * gdb.base/vla-ptr.exp
10124 * gdb.base/vla-sideeffect.exp
10125 * gdb.base/volatile.exp
10126 * gdb.base/watch-cond-infcall.exp
10127 * gdb.base/watch-cond.exp
10128 * gdb.base/watch-non-mem.exp
10129 * gdb.base/watch-read.exp
10130 * gdb.base/watch-vfork.exp
10131 * gdb.base/watchpoint-cond-gone.exp
10132 * gdb.base/watchpoint-delete.exp
10133 * gdb.base/watchpoint-hw-hit-once.exp
10134 * gdb.base/watchpoint-hw.exp
10135 * gdb.base/watchpoint-stops-at-right-insn.exp
10136 * gdb.base/watchpoints.exp
10137 * gdb.base/wchar.exp
10138 * gdb.base/whatis-exp.exp
10139 * gdb.btrace/buffer-size.exp
10140 * gdb.btrace/data.exp
10141 * gdb.btrace/delta.exp
10142 * gdb.btrace/dlopen.exp
10143 * gdb.btrace/enable.exp
10144 * gdb.btrace/exception.exp
10145 * gdb.btrace/function_call_history.exp
10146 * gdb.btrace/gcore.exp
10147 * gdb.btrace/instruction_history.exp
10148 * gdb.btrace/nohist.exp
10149 * gdb.btrace/reconnect.exp
10150 * gdb.btrace/record_goto-step.exp
10151 * gdb.btrace/record_goto.exp
10152 * gdb.btrace/rn-dl-bind.exp
10153 * gdb.btrace/segv.exp
10154 * gdb.btrace/step.exp
10155 * gdb.btrace/stepi.exp
10156 * gdb.btrace/tailcall-only.exp
10157 * gdb.btrace/tailcall.exp
10158 * gdb.btrace/tsx.exp
10159 * gdb.btrace/unknown_functions.exp
10160 * gdb.btrace/vdso.exp
10161 * gdb.compile/compile-ifunc.exp
10162 * gdb.compile/compile-ops.exp
10163 * gdb.compile/compile-print.exp
10164 * gdb.compile/compile-setjmp.exp
10165 * gdb.cp/abstract-origin.exp
10166 * gdb.cp/ambiguous.exp
10167 * gdb.cp/annota2.exp
10168 * gdb.cp/annota3.exp
10169 * gdb.cp/anon-ns.exp
10170 * gdb.cp/anon-struct.exp
10171 * gdb.cp/anon-union.exp
10172 * gdb.cp/arg-reference.exp
10173 * gdb.cp/baseenum.exp
10174 * gdb.cp/bool.exp
10175 * gdb.cp/breakpoint.exp
10176 * gdb.cp/bs15503.exp
10177 * gdb.cp/call-c.exp
10178 * gdb.cp/casts.exp
10179 * gdb.cp/chained-calls.exp
10180 * gdb.cp/class2.exp
10181 * gdb.cp/classes.exp
10182 * gdb.cp/cmpd-minsyms.exp
10183 * gdb.cp/converts.exp
10184 * gdb.cp/cp-relocate.exp
10185 * gdb.cp/cpcompletion.exp
10186 * gdb.cp/cpexprs.exp
10187 * gdb.cp/cplabel.exp
10188 * gdb.cp/cplusfuncs.exp
10189 * gdb.cp/cpsizeof.exp
10190 * gdb.cp/ctti.exp
10191 * gdb.cp/derivation.exp
10192 * gdb.cp/destrprint.exp
10193 * gdb.cp/dispcxx.exp
10194 * gdb.cp/enum-class.exp
10195 * gdb.cp/exception.exp
10196 * gdb.cp/exceptprint.exp
10197 * gdb.cp/expand-psymtabs-cxx.exp
10198 * gdb.cp/expand-sals.exp
10199 * gdb.cp/extern-c.exp
10200 * gdb.cp/filename.exp
10201 * gdb.cp/formatted-ref.exp
10202 * gdb.cp/fpointer.exp
10203 * gdb.cp/gdb1355.exp
10204 * gdb.cp/gdb2495.exp
10205 * gdb.cp/hang.exp
10206 * gdb.cp/impl-this.exp
10207 * gdb.cp/infcall-dlopen.exp
10208 * gdb.cp/inherit.exp
10209 * gdb.cp/iostream.exp
10210 * gdb.cp/koenig.exp
10211 * gdb.cp/local.exp
10212 * gdb.cp/m-data.exp
10213 * gdb.cp/m-static.exp
10214 * gdb.cp/mb-ctor.exp
10215 * gdb.cp/mb-inline.exp
10216 * gdb.cp/mb-templates.exp
10217 * gdb.cp/member-name.exp
10218 * gdb.cp/member-ptr.exp
10219 * gdb.cp/meth-typedefs.exp
10220 * gdb.cp/method.exp
10221 * gdb.cp/method2.exp
10222 * gdb.cp/minsym-fallback.exp
10223 * gdb.cp/misc.exp
10224 * gdb.cp/namelessclass.exp
10225 * gdb.cp/namespace-enum.exp
10226 * gdb.cp/namespace-nested-import.exp
10227 * gdb.cp/namespace.exp
10228 * gdb.cp/nextoverthrow.exp
10229 * gdb.cp/no-dmgl-verbose.exp
10230 * gdb.cp/non-trivial-retval.exp
10231 * gdb.cp/noparam.exp
10232 * gdb.cp/nsdecl.exp
10233 * gdb.cp/nsimport.exp
10234 * gdb.cp/nsnested.exp
10235 * gdb.cp/nsnoimports.exp
10236 * gdb.cp/nsrecurs.exp
10237 * gdb.cp/nsstress.exp
10238 * gdb.cp/nsusing.exp
10239 * gdb.cp/operator.exp
10240 * gdb.cp/oranking.exp
10241 * gdb.cp/overload-const.exp
10242 * gdb.cp/overload.exp
10243 * gdb.cp/ovldbreak.exp
10244 * gdb.cp/ovsrch.exp
10245 * gdb.cp/paren-type.exp
10246 * gdb.cp/parse-lang.exp
10247 * gdb.cp/pass-by-ref.exp
10248 * gdb.cp/pr-1023.exp
10249 * gdb.cp/pr-1210.exp
10250 * gdb.cp/pr-574.exp
10251 * gdb.cp/pr10687.exp
10252 * gdb.cp/pr12028.exp
10253 * gdb.cp/pr17132.exp
10254 * gdb.cp/pr17494.exp
10255 * gdb.cp/pr9067.exp
10256 * gdb.cp/pr9167.exp
10257 * gdb.cp/pr9631.exp
10258 * gdb.cp/printmethod.exp
10259 * gdb.cp/psmang.exp
10260 * gdb.cp/psymtab-parameter.exp
10261 * gdb.cp/ptype-cv-cp.exp
10262 * gdb.cp/ptype-flags.exp
10263 * gdb.cp/re-set-overloaded.exp
10264 * gdb.cp/ref-types.exp
10265 * gdb.cp/rtti.exp
10266 * gdb.cp/scope-err.exp
10267 * gdb.cp/shadow.exp
10268 * gdb.cp/smartp.exp
10269 * gdb.cp/static-method.exp
10270 * gdb.cp/static-print-quit.exp
10271 * gdb.cp/temargs.exp
10272 * gdb.cp/templates.exp
10273 * gdb.cp/try_catch.exp
10274 * gdb.cp/typedef-operator.exp
10275 * gdb.cp/typeid.exp
10276 * gdb.cp/userdef.exp
10277 * gdb.cp/using-crash.exp
10278 * gdb.cp/var-tag.exp
10279 * gdb.cp/virtbase.exp
10280 * gdb.cp/virtfunc.exp
10281 * gdb.cp/virtfunc2.exp
10282 * gdb.cp/vla-cxx.exp
10283 * gdb.disasm/t01_mov.exp
10284 * gdb.disasm/t02_mova.exp
10285 * gdb.disasm/t03_add.exp
10286 * gdb.disasm/t04_sub.exp
10287 * gdb.disasm/t05_cmp.exp
10288 * gdb.disasm/t06_ari2.exp
10289 * gdb.disasm/t07_ari3.exp
10290 * gdb.disasm/t08_or.exp
10291 * gdb.disasm/t09_xor.exp
10292 * gdb.disasm/t10_and.exp
10293 * gdb.disasm/t11_logs.exp
10294 * gdb.disasm/t12_bit.exp
10295 * gdb.disasm/t13_otr.exp
10296 * gdb.dlang/circular.exp
10297 * gdb.dwarf2/arr-stride.exp
10298 * gdb.dwarf2/arr-subrange.exp
10299 * gdb.dwarf2/atomic-type.exp
10300 * gdb.dwarf2/bad-regnum.exp
10301 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10302 * gdb.dwarf2/callframecfa.exp
10303 * gdb.dwarf2/clztest.exp
10304 * gdb.dwarf2/corrupt.exp
10305 * gdb.dwarf2/data-loc.exp
10306 * gdb.dwarf2/dup-psym.exp
10307 * gdb.dwarf2/dw2-anon-mptr.exp
10308 * gdb.dwarf2/dw2-anonymous-func.exp
10309 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10310 * gdb.dwarf2/dw2-bad-unresolved.exp
10311 * gdb.dwarf2/dw2-basic.exp
10312 * gdb.dwarf2/dw2-canonicalize-type.exp
10313 * gdb.dwarf2/dw2-case-insensitive.exp
10314 * gdb.dwarf2/dw2-common-block.exp
10315 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10316 * gdb.dwarf2/dw2-compressed.exp
10317 * gdb.dwarf2/dw2-const.exp
10318 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10319 * gdb.dwarf2/dw2-cu-size.exp
10320 * gdb.dwarf2/dw2-dup-frame.exp
10321 * gdb.dwarf2/dw2-entry-value.exp
10322 * gdb.dwarf2/dw2-icycle.exp
10323 * gdb.dwarf2/dw2-ifort-parameter.exp
10324 * gdb.dwarf2/dw2-inline-break.exp
10325 * gdb.dwarf2/dw2-inline-param.exp
10326 * gdb.dwarf2/dw2-intercu.exp
10327 * gdb.dwarf2/dw2-intermix.exp
10328 * gdb.dwarf2/dw2-lexical-block-bare.exp
10329 * gdb.dwarf2/dw2-linkage-name-trust.exp
10330 * gdb.dwarf2/dw2-minsym-in-cu.exp
10331 * gdb.dwarf2/dw2-noloc.exp
10332 * gdb.dwarf2/dw2-op-call.exp
10333 * gdb.dwarf2/dw2-op-out-param.exp
10334 * gdb.dwarf2/dw2-opt-structptr.exp
10335 * gdb.dwarf2/dw2-param-error.exp
10336 * gdb.dwarf2/dw2-producer.exp
10337 * gdb.dwarf2/dw2-ranges-base.exp
10338 * gdb.dwarf2/dw2-ref-missing-frame.exp
10339 * gdb.dwarf2/dw2-reg-undefined.exp
10340 * gdb.dwarf2/dw2-regno-invalid.exp
10341 * gdb.dwarf2/dw2-restore.exp
10342 * gdb.dwarf2/dw2-restrict.exp
10343 * gdb.dwarf2/dw2-single-line-discriminators.exp
10344 * gdb.dwarf2/dw2-strp.exp
10345 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10346 * gdb.dwarf2/dw2-unresolved.exp
10347 * gdb.dwarf2/dw2-var-zero-addr.exp
10348 * gdb.dwarf2/dw4-sig-types.exp
10349 * gdb.dwarf2/dwz.exp
10350 * gdb.dwarf2/dynarr-ptr.exp
10351 * gdb.dwarf2/enum-type.exp
10352 * gdb.dwarf2/gdb-index.exp
10353 * gdb.dwarf2/implptr-64bit.exp
10354 * gdb.dwarf2/implptr-optimized-out.exp
10355 * gdb.dwarf2/implptr.exp
10356 * gdb.dwarf2/implref-array.exp
10357 * gdb.dwarf2/implref-const.exp
10358 * gdb.dwarf2/implref-global.exp
10359 * gdb.dwarf2/implref-struct.exp
10360 * gdb.dwarf2/mac-fileno.exp
10361 * gdb.dwarf2/main-subprogram.exp
10362 * gdb.dwarf2/member-ptr-forwardref.exp
10363 * gdb.dwarf2/method-ptr.exp
10364 * gdb.dwarf2/missing-sig-type.exp
10365 * gdb.dwarf2/nonvar-access.exp
10366 * gdb.dwarf2/opaque-type-lookup.exp
10367 * gdb.dwarf2/pieces-optimized-out.exp
10368 * gdb.dwarf2/pieces.exp
10369 * gdb.dwarf2/pr10770.exp
10370 * gdb.dwarf2/pr13961.exp
10371 * gdb.dwarf2/staticvirtual.exp
10372 * gdb.dwarf2/subrange.exp
10373 * gdb.dwarf2/symtab-producer.exp
10374 * gdb.dwarf2/trace-crash.exp
10375 * gdb.dwarf2/typeddwarf.exp
10376 * gdb.dwarf2/valop.exp
10377 * gdb.dwarf2/watch-notconst.exp
10378 * gdb.fortran/array-element.exp
10379 * gdb.fortran/charset.exp
10380 * gdb.fortran/common-block.exp
10381 * gdb.fortran/complex.exp
10382 * gdb.fortran/derived-type-function.exp
10383 * gdb.fortran/derived-type.exp
10384 * gdb.fortran/logical.exp
10385 * gdb.fortran/module.exp
10386 * gdb.fortran/multi-dim.exp
10387 * gdb.fortran/nested-funcs.exp
10388 * gdb.fortran/print-formatted.exp
10389 * gdb.fortran/subarray.exp
10390 * gdb.fortran/vla-alloc-assoc.exp
10391 * gdb.fortran/vla-datatypes.exp
10392 * gdb.fortran/vla-history.exp
10393 * gdb.fortran/vla-ptr-info.exp
10394 * gdb.fortran/vla-ptype-sub.exp
10395 * gdb.fortran/vla-ptype.exp
10396 * gdb.fortran/vla-sizeof.exp
10397 * gdb.fortran/vla-type.exp
10398 * gdb.fortran/vla-value-sub-arbitrary.exp
10399 * gdb.fortran/vla-value-sub-finish.exp
10400 * gdb.fortran/vla-value-sub.exp
10401 * gdb.fortran/vla-value.exp
10402 * gdb.fortran/whatis_type.exp
10403 * gdb.go/chan.exp
10404 * gdb.go/handcall.exp
10405 * gdb.go/hello.exp
10406 * gdb.go/integers.exp
10407 * gdb.go/methods.exp
10408 * gdb.go/package.exp
10409 * gdb.go/strings.exp
10410 * gdb.go/types.exp
10411 * gdb.go/unsafe.exp
10412 * gdb.guile/scm-arch.exp
10413 * gdb.guile/scm-block.exp
10414 * gdb.guile/scm-breakpoint.exp
10415 * gdb.guile/scm-cmd.exp
10416 * gdb.guile/scm-disasm.exp
10417 * gdb.guile/scm-equal.exp
10418 * gdb.guile/scm-frame-args.exp
10419 * gdb.guile/scm-frame-inline.exp
10420 * gdb.guile/scm-frame.exp
10421 * gdb.guile/scm-iterator.exp
10422 * gdb.guile/scm-math.exp
10423 * gdb.guile/scm-objfile.exp
10424 * gdb.guile/scm-ports.exp
10425 * gdb.guile/scm-symbol.exp
10426 * gdb.guile/scm-symtab.exp
10427 * gdb.guile/scm-value-cc.exp
10428 * gdb.guile/types-module.exp
10429 * gdb.linespec/break-ask.exp
10430 * gdb.linespec/cpexplicit.exp
10431 * gdb.linespec/explicit.exp
10432 * gdb.linespec/keywords.exp
10433 * gdb.linespec/linespec.exp
10434 * gdb.linespec/ls-dollar.exp
10435 * gdb.linespec/ls-errs.exp
10436 * gdb.linespec/skip-two.exp
10437 * gdb.linespec/thread.exp
10438 * gdb.mi/mi-async.exp
10439 * gdb.mi/mi-basics.exp
10440 * gdb.mi/mi-break.exp
10441 * gdb.mi/mi-catch-load.exp
10442 * gdb.mi/mi-cli.exp
10443 * gdb.mi/mi-cmd-param-changed.exp
10444 * gdb.mi/mi-console.exp
10445 * gdb.mi/mi-detach.exp
10446 * gdb.mi/mi-disassemble.exp
10447 * gdb.mi/mi-eval.exp
10448 * gdb.mi/mi-file-transfer.exp
10449 * gdb.mi/mi-file.exp
10450 * gdb.mi/mi-fill-memory.exp
10451 * gdb.mi/mi-inheritance-syntax-error.exp
10452 * gdb.mi/mi-linespec-err-cp.exp
10453 * gdb.mi/mi-logging.exp
10454 * gdb.mi/mi-memory-changed.exp
10455 * gdb.mi/mi-read-memory.exp
10456 * gdb.mi/mi-record-changed.exp
10457 * gdb.mi/mi-reg-undefined.exp
10458 * gdb.mi/mi-regs.exp
10459 * gdb.mi/mi-return.exp
10460 * gdb.mi/mi-reverse.exp
10461 * gdb.mi/mi-simplerun.exp
10462 * gdb.mi/mi-solib.exp
10463 * gdb.mi/mi-stack.exp
10464 * gdb.mi/mi-stepi.exp
10465 * gdb.mi/mi-syn-frame.exp
10466 * gdb.mi/mi-until.exp
10467 * gdb.mi/mi-var-block.exp
10468 * gdb.mi/mi-var-child.exp
10469 * gdb.mi/mi-var-cmd.exp
10470 * gdb.mi/mi-var-cp.exp
10471 * gdb.mi/mi-var-display.exp
10472 * gdb.mi/mi-var-invalidate.exp
10473 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10474 * gdb.mi/mi-vla-fortran.exp
10475 * gdb.mi/mi-watch.exp
10476 * gdb.mi/mi2-var-child.exp
10477 * gdb.mi/user-selected-context-sync.exp
10478 * gdb.modula2/unbounded-array.exp
10479 * gdb.multi/dummy-frame-restore.exp
10480 * gdb.multi/multi-arch-exec.exp
10481 * gdb.multi/multi-arch.exp
10482 * gdb.multi/tids.exp
10483 * gdb.multi/watchpoint-multi.exp
10484 * gdb.opencl/callfuncs.exp
10485 * gdb.opencl/convs_casts.exp
10486 * gdb.opencl/datatypes.exp
10487 * gdb.opencl/operators.exp
10488 * gdb.opencl/vec_comps.exp
10489 * gdb.opt/clobbered-registers-O2.exp
10490 * gdb.opt/inline-break.exp
10491 * gdb.opt/inline-bt.exp
10492 * gdb.opt/inline-cmds.exp
10493 * gdb.opt/inline-locals.exp
10494 * gdb.pascal/case-insensitive-symbols.exp
10495 * gdb.pascal/floats.exp
10496 * gdb.pascal/gdb11492.exp
10497 * gdb.python/lib-types.exp
10498 * gdb.python/py-arch.exp
10499 * gdb.python/py-as-string.exp
10500 * gdb.python/py-bad-printers.exp
10501 * gdb.python/py-block.exp
10502 * gdb.python/py-breakpoint-create-fail.exp
10503 * gdb.python/py-breakpoint.exp
10504 * gdb.python/py-caller-is.exp
10505 * gdb.python/py-cmd.exp
10506 * gdb.python/py-explore-cc.exp
10507 * gdb.python/py-explore.exp
10508 * gdb.python/py-finish-breakpoint.exp
10509 * gdb.python/py-finish-breakpoint2.exp
10510 * gdb.python/py-frame-args.exp
10511 * gdb.python/py-frame-inline.exp
10512 * gdb.python/py-frame.exp
10513 * gdb.python/py-framefilter-mi.exp
10514 * gdb.python/py-infthread.exp
10515 * gdb.python/py-lazy-string.exp
10516 * gdb.python/py-linetable.exp
10517 * gdb.python/py-mi-events.exp
10518 * gdb.python/py-mi-objfile.exp
10519 * gdb.python/py-mi.exp
10520 * gdb.python/py-objfile.exp
10521 * gdb.python/py-pp-integral.exp
10522 * gdb.python/py-pp-maint.exp
10523 * gdb.python/py-pp-re-notag.exp
10524 * gdb.python/py-pp-registration.exp
10525 * gdb.python/py-recurse-unwind.exp
10526 * gdb.python/py-strfns.exp
10527 * gdb.python/py-symbol.exp
10528 * gdb.python/py-symtab.exp
10529 * gdb.python/py-sync-interp.exp
10530 * gdb.python/py-typeprint.exp
10531 * gdb.python/py-unwind-maint.exp
10532 * gdb.python/py-unwind.exp
10533 * gdb.python/py-value-cc.exp
10534 * gdb.python/py-xmethods.exp
10535 * gdb.reverse/amd64-tailcall-reverse.exp
10536 * gdb.reverse/break-precsave.exp
10537 * gdb.reverse/break-reverse.exp
10538 * gdb.reverse/consecutive-precsave.exp
10539 * gdb.reverse/consecutive-reverse.exp
10540 * gdb.reverse/finish-precsave.exp
10541 * gdb.reverse/finish-reverse-bkpt.exp
10542 * gdb.reverse/finish-reverse.exp
10543 * gdb.reverse/fstatat-reverse.exp
10544 * gdb.reverse/getresuid-reverse.exp
10545 * gdb.reverse/i386-precsave.exp
10546 * gdb.reverse/i386-reverse.exp
10547 * gdb.reverse/i386-sse-reverse.exp
10548 * gdb.reverse/i387-env-reverse.exp
10549 * gdb.reverse/i387-stack-reverse.exp
10550 * gdb.reverse/insn-reverse.exp
10551 * gdb.reverse/machinestate-precsave.exp
10552 * gdb.reverse/machinestate.exp
10553 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10554 * gdb.reverse/pipe-reverse.exp
10555 * gdb.reverse/readv-reverse.exp
10556 * gdb.reverse/recvmsg-reverse.exp
10557 * gdb.reverse/rerun-prec.exp
10558 * gdb.reverse/s390-mvcle.exp
10559 * gdb.reverse/step-precsave.exp
10560 * gdb.reverse/step-reverse.exp
10561 * gdb.reverse/time-reverse.exp
10562 * gdb.reverse/until-precsave.exp
10563 * gdb.reverse/until-reverse.exp
10564 * gdb.reverse/waitpid-reverse.exp
10565 * gdb.reverse/watch-precsave.exp
10566 * gdb.reverse/watch-reverse.exp
10567 * gdb.rust/generics.exp
10568 * gdb.rust/methods.exp
10569 * gdb.rust/modules.exp
10570 * gdb.rust/simple.exp
10571 * gdb.server/connect-with-no-symbol-file.exp
10572 * gdb.server/ext-attach.exp
10573 * gdb.server/ext-restart.exp
10574 * gdb.server/ext-wrapper.exp
10575 * gdb.server/file-transfer.exp
10576 * gdb.server/server-exec-info.exp
10577 * gdb.server/server-kill.exp
10578 * gdb.server/server-mon.exp
10579 * gdb.server/wrapper.exp
10580 * gdb.stabs/exclfwd.exp
10581 * gdb.stabs/gdb11479.exp
10582 * gdb.threads/clone-new-thread-event.exp
10583 * gdb.threads/corethreads.exp
10584 * gdb.threads/current-lwp-dead.exp
10585 * gdb.threads/dlopen-libpthread.exp
10586 * gdb.threads/gcore-thread.exp
10587 * gdb.threads/sigstep-threads.exp
10588 * gdb.threads/watchpoint-fork.exp
10589 * gdb.trace/actions-changed.exp
10590 * gdb.trace/backtrace.exp
10591 * gdb.trace/change-loc.exp
10592 * gdb.trace/circ.exp
10593 * gdb.trace/collection.exp
10594 * gdb.trace/disconnected-tracing.exp
10595 * gdb.trace/ftrace.exp
10596 * gdb.trace/mi-trace-frame-collected.exp
10597 * gdb.trace/mi-trace-unavailable.exp
10598 * gdb.trace/mi-traceframe-changed.exp
10599 * gdb.trace/mi-tsv-changed.exp
10600 * gdb.trace/no-attach-trace.exp
10601 * gdb.trace/passc-dyn.exp
10602 * gdb.trace/qtro.exp
10603 * gdb.trace/range-stepping.exp
10604 * gdb.trace/read-memory.exp
10605 * gdb.trace/save-trace.exp
10606 * gdb.trace/signal.exp
10607 * gdb.trace/status-stop.exp
10608 * gdb.trace/tfile.exp
10609 * gdb.trace/trace-break.exp
10610 * gdb.trace/trace-buffer-size.exp
10611 * gdb.trace/trace-condition.exp
10612 * gdb.trace/tracefile-pseudo-reg.exp
10613 * gdb.trace/tstatus.exp
10614 * gdb.trace/unavailable.exp
10615 * gdb.trace/while-dyn.exp
10616 * gdb.trace/while-stepping.exp
10617
34c41c68
DE
106182016-12-22 Doug Evans <xdje42@gmail.com>
10619
10620 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10621 and msymbols.
10622
16e69324
YQ
106232016-12-19 Yao Qi <yao.qi@linaro.org>
10624
10625 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10626 (test_with_self): Don't call do_steps_and_nexts, and remove
10627 code about stepping into xmalloc.
10628
f94f411b
YQ
106292016-12-09 Yao Qi <yao.qi@linaro.org>
10630
10631 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10632
106332016-12-09 Yao Qi <yao.qi@linaro.org>
10634
10635 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10636
f1b5deee
PA
106372016-12-09 Pedro Alves <palves@redhat.com>
10638
10639 * gdb.base/all-architectures-0.exp: New file.
10640 * gdb.base/all-architectures-1.exp: New file.
10641 * gdb.base/all-architectures-2.exp: New file.
10642 * gdb.base/all-architectures-3.exp: New file.
10643 * gdb.base/all-architectures-4.exp: New file.
10644 * gdb.base/all-architectures-5.exp: New file.
10645 * gdb.base/all-architectures-6.exp: New file.
10646 * gdb.base/all-architectures-7.exp: New file.
10647 * gdb.base/all-architectures.exp.in: New file.
10648
364ca42e
YQ
106492016-12-09 Yao Qi <yao.qi@linaro.org>
10650
10651 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10652
107c2d62
LM
106532016-12-02 Luis Machado <lgustavo@codesourcery.com>
10654
10655 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10656 possible.
10657 Remove useless pattern-matching code.
10658
df3ee9ca
PA
106592016-12-02 Pedro Alves <palves@redhat.com>
10660
10661 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10662 procedure.
10663 (top level): Call it.
10664
ec835369
PA
106652016-12-02 Pedro Alves <palves@redhat.com>
10666
10667 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10668 New procedure.
10669 (top level): Call it.
10670
01770bbd
PA
106712016-12-02 Pedro Alves <palves@redhat.com>
10672
10673 PR cli/20559
10674 * gdb.base/commands.exp (user_defined_command_args_eval): New
10675 procedure.
10676 (top level): Call it.
10677
008459ea
LM
106782016-12-02 Luis Machado <lgustavo@codesourcery.com>
10679
10680 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10681 timeout handling.
10682
0c1b455e
TT
106832016-12-02 Tom Tromey <tom@tromey.com>
10684
10685 * gdb.dwarf2/main-subprogram.c: New file.
10686 * gdb.dwarf2/main-subprogram.exp: New file.
10687
018572b8
LM
106882016-12-01 Luis Machado <lgustavo@codesourcery.com>
10689
10690 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10691 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10692 gdb_test_no_output for a couple of cases.
10693 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10694
84c93cd5
LM
106952016-12-01 Luis Machado <lgustavo@codesourcery.com>
10696
10697 Fix test names and standardize compilation error messages throughout
10698 the following files:
10699
10700 * gdb.ada/start.exp
10701 * gdb.arch/alpha-step.exp
10702 * gdb.arch/e500-prologue.exp
10703 * gdb.arch/ftrace-insn-reloc.exp
10704 * gdb.arch/gdb1291.exp
10705 * gdb.arch/gdb1431.exp
10706 * gdb.arch/gdb1558.exp
10707 * gdb.arch/i386-dr3-watch.exp
10708 * gdb.arch/i386-sse-stack-align.exp
10709 * gdb.arch/ia64-breakpoint-shadow.exp
10710 * gdb.arch/pa-nullify.exp
10711 * gdb.arch/powerpc-aix-prologue.exp
10712 * gdb.arch/thumb-bx-pc.exp
10713 * gdb.base/annota1.exp
10714 * gdb.base/annota3.exp
10715 * gdb.base/arrayidx.exp
10716 * gdb.base/assign.exp
10717 * gdb.base/attach.exp
10718 * gdb.base/auxv.exp
10719 * gdb.base/bang.exp
10720 * gdb.base/bfp-test.exp
10721 * gdb.base/bigcore.exp
10722 * gdb.base/bitfields2.exp
10723 * gdb.base/break-fun-addr.exp
10724 * gdb.base/break-probes.exp
10725 * gdb.base/call-rt-st.exp
10726 * gdb.base/callexit.exp
10727 * gdb.base/catch-fork-kill.exp
10728 * gdb.base/charset.exp
10729 * gdb.base/checkpoint.exp
10730 * gdb.base/comprdebug.exp
10731 * gdb.base/constvars.exp
10732 * gdb.base/coredump-filter.exp
10733 * gdb.base/cursal.exp
10734 * gdb.base/cvexpr.exp
10735 * gdb.base/detach.exp
10736 * gdb.base/display.exp
10737 * gdb.base/dmsym.exp
10738 * gdb.base/dprintf-pending.exp
10739 * gdb.base/dso2dso.exp
10740 * gdb.base/dtrace-probe.exp
10741 * gdb.base/dump.exp
10742 * gdb.base/enum_cond.exp
10743 * gdb.base/exe-lock.exp
10744 * gdb.base/exec-invalid-sysroot.exp
10745 * gdb.base/execl-update-breakpoints.exp
10746 * gdb.base/exprs.exp
10747 * gdb.base/fileio.exp
10748 * gdb.base/find.exp
10749 * gdb.base/finish.exp
10750 * gdb.base/fixsection.exp
10751 * gdb.base/foll-vfork.exp
10752 * gdb.base/frame-args.exp
10753 * gdb.base/gcore.exp
10754 * gdb.base/gdb1250.exp
10755 * gdb.base/global-var-nested-by-dso.exp
10756 * gdb.base/gnu-ifunc.exp
10757 * gdb.base/hashline1.exp
10758 * gdb.base/hashline2.exp
10759 * gdb.base/hashline3.exp
10760 * gdb.base/hbreak-in-shr-unsupported.exp
10761 * gdb.base/huge.exp
10762 * gdb.base/infcall-input.exp
10763 * gdb.base/info-fun.exp
10764 * gdb.base/info-shared.exp
10765 * gdb.base/jit-simple.exp
10766 * gdb.base/jit-so.exp
10767 * gdb.base/jit.exp
10768 * gdb.base/jump.exp
10769 * gdb.base/label.exp
10770 * gdb.base/lineinc.exp
10771 * gdb.base/logical.exp
10772 * gdb.base/longjmp.exp
10773 * gdb.base/macscp.exp
10774 * gdb.base/miscexprs.exp
10775 * gdb.base/new-ui-echo.exp
10776 * gdb.base/new-ui-pending-input.exp
10777 * gdb.base/new-ui.exp
10778 * gdb.base/nodebug.exp
10779 * gdb.base/nofield.exp
10780 * gdb.base/offsets.exp
10781 * gdb.base/overlays.exp
10782 * gdb.base/pending.exp
10783 * gdb.base/pointers.exp
10784 * gdb.base/pr11022.exp
10785 * gdb.base/printcmds.exp
10786 * gdb.base/prologue.exp
10787 * gdb.base/ptr-typedef.exp
10788 * gdb.base/realname-expand.exp
10789 * gdb.base/relativedebug.exp
10790 * gdb.base/relocate.exp
10791 * gdb.base/remote.exp
10792 * gdb.base/reread.exp
10793 * gdb.base/return2.exp
10794 * gdb.base/savedregs.exp
10795 * gdb.base/sep.exp
10796 * gdb.base/sepdebug.exp
10797 * gdb.base/sepsymtab.exp
10798 * gdb.base/set-inferior-tty.exp
10799 * gdb.base/setshow.exp
10800 * gdb.base/shlib-call.exp
10801 * gdb.base/sigaltstack.exp
10802 * gdb.base/siginfo-addr.exp
10803 * gdb.base/signals.exp
10804 * gdb.base/signull.exp
10805 * gdb.base/sigrepeat.exp
10806 * gdb.base/so-impl-ld.exp
10807 * gdb.base/solib-display.exp
10808 * gdb.base/solib-overlap.exp
10809 * gdb.base/solib-search.exp
10810 * gdb.base/solib-symbol.exp
10811 * gdb.base/structs.exp
10812 * gdb.base/structs2.exp
10813 * gdb.base/symtab-search-order.exp
10814 * gdb.base/twice.exp
10815 * gdb.base/unload.exp
10816 * gdb.base/varargs.exp
10817 * gdb.base/watchpoint-solib.exp
10818 * gdb.base/watchpoint.exp
10819 * gdb.base/whatis.exp
10820 * gdb.base/wrong_frame_bt_full.exp
10821 * gdb.btrace/dlopen.exp
10822 * gdb.cell/ea-standalone.exp
10823 * gdb.cell/ea-test.exp
10824 * gdb.cp/dispcxx.exp
10825 * gdb.cp/gdb2384.exp
10826 * gdb.cp/method2.exp
10827 * gdb.cp/nextoverthrow.exp
10828 * gdb.cp/pr10728.exp
10829 * gdb.disasm/am33.exp
10830 * gdb.disasm/h8300s.exp
10831 * gdb.disasm/mn10300.exp
10832 * gdb.disasm/sh3.exp
10833 * gdb.dwarf2/dw2-dir-file-name.exp
10834 * gdb.fortran/complex.exp
10835 * gdb.fortran/library-module.exp
10836 * gdb.guile/scm-pretty-print.exp
10837 * gdb.guile/scm-symbol.exp
10838 * gdb.guile/scm-type.exp
10839 * gdb.guile/scm-value.exp
10840 * gdb.linespec/linespec.exp
10841 * gdb.mi/gdb701.exp
10842 * gdb.mi/gdb792.exp
10843 * gdb.mi/mi-breakpoint-changed.exp
10844 * gdb.mi/mi-dprintf-pending.exp
10845 * gdb.mi/mi-dprintf.exp
10846 * gdb.mi/mi-exit-code.exp
10847 * gdb.mi/mi-pending.exp
10848 * gdb.mi/mi-solib.exp
10849 * gdb.mi/new-ui-mi-sync.exp
10850 * gdb.mi/pr11022.exp
10851 * gdb.mi/user-selected-context-sync.exp
10852 * gdb.opt/solib-intra-step.exp
10853 * gdb.python/py-events.exp
10854 * gdb.python/py-finish-breakpoint.exp
10855 * gdb.python/py-mi.exp
10856 * gdb.python/py-prettyprint.exp
10857 * gdb.python/py-shared.exp
10858 * gdb.python/py-symbol.exp
10859 * gdb.python/py-template.exp
10860 * gdb.python/py-type.exp
10861 * gdb.python/py-value.exp
10862 * gdb.reverse/solib-precsave.exp
10863 * gdb.reverse/solib-reverse.exp
10864 * gdb.server/solib-list.exp
10865 * gdb.stabs/weird.exp
10866 * gdb.threads/reconnect-signal.exp
10867 * gdb.threads/stepi-random-signal.exp
10868 * gdb.trace/actions.exp
10869 * gdb.trace/ax.exp
10870 * gdb.trace/backtrace.exp
10871 * gdb.trace/change-loc.exp
10872 * gdb.trace/deltrace.exp
10873 * gdb.trace/ftrace-lock.exp
10874 * gdb.trace/ftrace.exp
10875 * gdb.trace/infotrace.exp
10876 * gdb.trace/mi-tracepoint-changed.exp
10877 * gdb.trace/packetlen.exp
10878 * gdb.trace/passcount.exp
10879 * gdb.trace/pending.exp
10880 * gdb.trace/range-stepping.exp
10881 * gdb.trace/report.exp
10882 * gdb.trace/stap-trace.exp
10883 * gdb.trace/tfind.exp
10884 * gdb.trace/trace-break.exp
10885 * gdb.trace/trace-condition.exp
10886 * gdb.trace/trace-enable-disable.exp
10887 * gdb.trace/trace-mt.exp
10888 * gdb.trace/tracecmd.exp
10889 * gdb.trace/tspeed.exp
10890 * gdb.trace/tsv.exp
10891 * lib/perftest.exp
10892
fb9feb35
LM
108932016-12-01 Luis Machado <lgustavo@codesourcery.com>
10894
10895 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10896 with gdb_test_no_output.
10897 Use command as test name.
10898
cd2ddb6c
LM
108992016-12-01 Luis Machado <lgustavo@codesourcery.com>
10900
10901 Fix test names starting with uppercase throughout the files.
10902
10903 * gdb.ada/assign_1.exp
10904 * gdb.ada/boolean_expr.exp
10905 * gdb.base/arrayidx.exp
10906 * gdb.base/del.exp
10907 * gdb.base/gcore-buffer-overflow.exp
10908 * gdb.base/testenv.exp
10909 * gdb.compile/compile.exp
10910 * gdb.python/py-framefilter-invalidarg.exp
10911 * gdb.python/py-framefilter.exp
10912
bb95117e
LM
109132016-12-01 Luis Machado <lgustavo@codesourcery.com>
10914
10915 Fix test names starting with uppercase throughout the files.
10916
10917 * gdb.ada/array_return.exp
10918 * gdb.ada/expr_delims.exp
10919 * gdb.ada/mi_dyn_arr.exp
10920 * gdb.ada/mi_interface.exp
10921 * gdb.ada/mi_var_array.exp
10922 * gdb.ada/watch_arg.exp
10923 * gdb.arch/alpha-step.exp
10924 * gdb.arch/altivec-regs.exp
10925 * gdb.arch/e500-regs.exp
10926 * gdb.arch/powerpc-d128-regs.exp
10927 * gdb.base/arrayidx.exp
10928 * gdb.base/break.exp
10929 * gdb.base/checkpoint.exp
10930 * gdb.base/debug-expr.exp
10931 * gdb.base/dmsym.exp
10932 * gdb.base/radix.exp
10933 * gdb.base/sepdebug.exp
10934 * gdb.base/testenv.exp
10935 * gdb.base/watch_thread_num.exp
10936 * gdb.base/watchpoint-cond-gone.exp
10937 * gdb.cell/break.exp
10938 * gdb.cell/ea-cache.exp
10939 * gdb.compile/compile.exp
10940 * gdb.cp/gdb2495.exp
10941 * gdb.gdb/selftest.exp
10942 * gdb.gdb/xfullpath.exp
10943 * gdb.go/hello.exp
10944 * gdb.go/integers.exp
10945 * gdb.objc/basicclass.exp
10946 * gdb.pascal/hello.exp
10947 * gdb.pascal/integers.exp
10948 * gdb.python/py-breakpoint.exp
10949 * gdb.python/py-cmd.exp
10950 * gdb.python/py-linetable.exp
10951 * gdb.python/py-xmethods.exp
10952 * gdb.python/python.exp
10953 * gdb.reverse/consecutive-precsave.exp
10954 * gdb.reverse/finish-precsave.exp
10955 * gdb.reverse/i386-precsave.exp
10956 * gdb.reverse/machinestate-precsave.exp
10957 * gdb.reverse/sigall-precsave.exp
10958 * gdb.reverse/solib-precsave.exp
10959 * gdb.reverse/step-precsave.exp
10960 * gdb.reverse/until-precsave.exp
10961 * gdb.reverse/watch-precsave.exp
10962 * gdb.threads/leader-exit.exp
10963 * gdb.threads/pthreads.exp
10964 * gdb.threads/wp-replication.exp
10965 * gdb.trace/actions.exp
10966 * gdb.trace/mi-tsv-changed.exp
10967 * gdb.trace/tsv.exp
10968
de97fdd4
LM
109692016-12-01 Luis Machado <lgustavo@codesourcery.com>
10970
10971 Fix test names starting with uppercase throughout the files.
10972
10973 * gdb.arch/i386-bp_permanent.exp
10974 * gdb.arch/i386-gnu-cfi.exp
10975 * gdb.base/disasm-end-cu.exp
10976 * gdb.base/macscp.exp
10977 * gdb.base/pending.exp
10978 * gdb.base/watch_thread_num.exp
10979 * gdb.cp/exception.exp
10980 * gdb.cp/gdb2495.exp
10981 * gdb.cp/local.exp
10982 * gdb.python/py-evsignal.exp
10983 * gdb.python/python.exp
10984 * gdb.trace/tracecmd.exp
10985
9f058c10
LM
109862016-12-01 Luis Machado <lgustavo@codesourcery.com>
10987
10988 Fix test names starting with uppercase throughout the files.
10989
10990 * gdb.base/charset.exp
10991 * gdb.base/eval.exp
10992 * gdb.base/multi-forks.exp
10993 * gdb.guile/scm-progspace.exp
10994 * gdb.opencl/datatypes.exp
10995 * gdb.python/py-block.exp
10996 * gdb.python/py-function.exp
10997 * gdb.python/py-symbol.exp
10998 * gdb.python/py-symtab.exp
10999 * gdb.python/py-xmethods.exp
11000 * gdb.reverse/break-precsave.exp
11001 * gdb.reverse/break-reverse.exp
11002 * gdb.reverse/consecutive-precsave.exp
11003 * gdb.reverse/consecutive-reverse.exp
11004 * gdb.reverse/finish-precsave.exp
11005 * gdb.reverse/finish-reverse-bkpt.exp
11006 * gdb.reverse/finish-reverse.exp
11007 * gdb.reverse/fstatat-reverse.exp
11008 * gdb.reverse/getresuid-reverse.exp
11009 * gdb.reverse/i386-precsave.exp
11010 * gdb.reverse/i386-reverse.exp
11011 * gdb.reverse/i386-sse-reverse.exp
11012 * gdb.reverse/i387-stack-reverse.exp
11013 * gdb.reverse/insn-reverse.exp
11014 * gdb.reverse/machinestate-precsave.exp
11015 * gdb.reverse/machinestate.exp
11016 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11017 * gdb.reverse/pipe-reverse.exp
11018 * gdb.reverse/readv-reverse.exp
11019 * gdb.reverse/recvmsg-reverse.exp
11020 * gdb.reverse/rerun-prec.exp
11021 * gdb.reverse/s390-mvcle.exp
11022 * gdb.reverse/sigall-precsave.exp
11023 * gdb.reverse/sigall-reverse.exp
11024 * gdb.reverse/solib-precsave.exp
11025 * gdb.reverse/solib-reverse.exp
11026 * gdb.reverse/step-precsave.exp
11027 * gdb.reverse/step-reverse.exp
11028 * gdb.reverse/time-reverse.exp
11029 * gdb.reverse/until-precsave.exp
11030 * gdb.reverse/until-reverse.exp
11031 * gdb.reverse/waitpid-reverse.exp
11032 * gdb.reverse/watch-precsave.exp
11033 * gdb.reverse/watch-reverse.exp
11034
cdc7edd7
LM
110352016-12-01 Luis Machado <lgustavo@codesourcery.com>
11036
11037 Fix test names starting with uppercase throughout the files.
11038
11039 * gdb.arch/i386-mpx-simple_segv.exp
11040 * gdb.arch/i386-mpx.exp
11041 * gdb.arch/i386-permbkpt.exp
11042 * gdb.arch/pa-nullify.exp
11043 * gdb.arch/powerpc-d128-regs.exp
11044 * gdb.arch/vsx-regs.exp
11045 * gdb.base/bfp-test.exp
11046 * gdb.base/break.exp
11047 * gdb.base/breakpoint-shadow.exp
11048 * gdb.base/callfuncs.exp
11049 * gdb.base/charset.exp
11050 * gdb.base/commands.exp
11051 * gdb.base/completion.exp
11052 * gdb.base/dfp-test.exp
11053 * gdb.base/echo.exp
11054 * gdb.base/ending-run.exp
11055 * gdb.base/eval.exp
11056 * gdb.base/expand-psymtabs.exp
11057 * gdb.base/float128.exp
11058 * gdb.base/floatn.exp
11059 * gdb.base/foll-exec-mode.exp
11060 * gdb.base/gdb1056.exp
11061 * gdb.base/gdb11531.exp
11062 * gdb.base/kill-after-signal.exp
11063 * gdb.base/multi-forks.exp
11064 * gdb.base/overlays.exp
11065 * gdb.base/pending.exp
11066 * gdb.base/sepdebug.exp
11067 * gdb.base/testenv.exp
11068 * gdb.base/valgrind-db-attach.exp
11069 * gdb.base/watch_thread_num.exp
11070 * gdb.base/watchpoint-cond-gone.exp
11071 * gdb.base/watchpoint.exp
11072 * gdb.base/watchpoints.exp
11073 * gdb.cp/arg-reference.exp
11074 * gdb.cp/baseenum.exp
11075 * gdb.cp/operator.exp
11076 * gdb.cp/shadow.exp
11077 * gdb.dwarf2/dw2-op-out-param.exp
11078 * gdb.dwarf2/dw2-reg-undefined.exp
11079 * gdb.go/chan.exp
11080 * gdb.go/hello.exp
11081 * gdb.go/integers.exp
11082 * gdb.go/methods.exp
11083 * gdb.go/package.exp
11084 * gdb.guile/scm-parameter.exp
11085 * gdb.guile/scm-progspace.exp
11086 * gdb.guile/scm-value.exp
11087 * gdb.mi/mi-pending.exp
11088 * gdb.mi/user-selected-context-sync.exp
11089 * gdb.multi/multi-attach.exp
11090 * gdb.multi/tids.exp
11091 * gdb.opt/clobbered-registers-O2.exp
11092 * gdb.pascal/floats.exp
11093 * gdb.pascal/integers.exp
11094 * gdb.python/py-block.exp
11095 * gdb.python/py-events.exp
11096 * gdb.python/py-parameter.exp
11097 * gdb.python/py-symbol.exp
11098 * gdb.python/py-symtab.exp
11099 * gdb.python/py-type.exp
11100 * gdb.python/py-value.exp
11101 * gdb.python/py-xmethods.exp
11102 * gdb.python/python.exp
11103 * gdb.reverse/break-precsave.exp
11104 * gdb.reverse/consecutive-precsave.exp
11105 * gdb.reverse/finish-precsave.exp
11106 * gdb.reverse/i386-precsave.exp
11107 * gdb.reverse/machinestate-precsave.exp
11108 * gdb.reverse/sigall-precsave.exp
11109 * gdb.reverse/solib-precsave.exp
11110 * gdb.reverse/step-precsave.exp
11111 * gdb.reverse/until-precsave.exp
11112 * gdb.reverse/watch-precsave.exp
11113 * gdb.server/ext-attach.exp
11114 * gdb.server/ext-restart.exp
11115 * gdb.server/ext-run.exp
11116 * gdb.server/ext-wrapper.exp
11117 * gdb.stabs/gdb11479.exp
11118 * gdb.stabs/weird.exp
11119 * gdb.threads/attach-many-short-lived-threads.exp
11120 * gdb.threads/kill.exp
11121 * gdb.threads/watchpoint-fork.exp
11122
bc6c7af4
LM
111232016-12-01 Luis Machado <lgustavo@codesourcery.com>
11124
11125 Fix test names starting with uppercase throughout all the files below.
11126
11127 * gdb.ada/array_return.exp
11128 * gdb.ada/catch_ex.exp
11129 * gdb.ada/info_exc.exp
11130 * gdb.ada/mi_catch_ex.exp
11131 * gdb.ada/mi_dyn_arr.exp
11132 * gdb.ada/mi_ex_cond.exp
11133 * gdb.ada/mi_exc_info.exp
11134 * gdb.ada/mi_interface.exp
11135 * gdb.ada/mi_task_arg.exp
11136 * gdb.ada/mi_task_info.exp
11137 * gdb.ada/mi_var_array.exp
11138 * gdb.arch/alpha-step.exp
11139 * gdb.arch/amd64-disp-step.exp
11140 * gdb.arch/arm-disp-step.exp
11141 * gdb.arch/disp-step-insn-reloc.exp
11142 * gdb.arch/e500-prologue.exp
11143 * gdb.arch/ftrace-insn-reloc.exp
11144 * gdb.arch/gdb1558.exp
11145 * gdb.arch/i386-bp_permanent.exp
11146 * gdb.arch/i386-disp-step.exp
11147 * gdb.arch/i386-float.exp
11148 * gdb.arch/i386-gnu-cfi.exp
11149 * gdb.arch/ia64-breakpoint-shadow.exp
11150 * gdb.arch/mips16-thunks.exp
11151 * gdb.arch/pa-nullify.exp
11152 * gdb.arch/powerpc-aix-prologue.exp
11153 * gdb.arch/powerpc-power.exp
11154 * gdb.arch/ppc-dfp.exp
11155 * gdb.arch/s390-tdbregs.exp
11156 * gdb.arch/spu-info.exp
11157 * gdb.arch/spu-ls.exp
11158 * gdb.arch/thumb-bx-pc.exp
11159 * gdb.base/advance.exp
11160 * gdb.base/annota-input-while-running.exp
11161 * gdb.base/arrayidx.exp
11162 * gdb.base/asmlabel.exp
11163 * gdb.base/async.exp
11164 * gdb.base/attach-wait-input.exp
11165 * gdb.base/auto-connect-native-target.exp
11166 * gdb.base/batch-preserve-term-settings.exp
11167 * gdb.base/bfp-test.exp
11168 * gdb.base/bigcore.exp
11169 * gdb.base/bp-permanent.exp
11170 * gdb.base/break-always.exp
11171 * gdb.base/break-fun-addr.exp
11172 * gdb.base/break-idempotent.exp
11173 * gdb.base/break-main-file-remove-fail.exp
11174 * gdb.base/break-probes.exp
11175 * gdb.base/break-unload-file.exp
11176 * gdb.base/break.exp
11177 * gdb.base/call-ar-st.exp
11178 * gdb.base/call-rt-st.exp
11179 * gdb.base/call-sc.exp
11180 * gdb.base/call-signal-resume.exp
11181 * gdb.base/call-strs.exp
11182 * gdb.base/callexit.exp
11183 * gdb.base/callfuncs.exp
11184 * gdb.base/catch-gdb-caused-signals.exp
11185 * gdb.base/catch-signal-siginfo-cond.exp
11186 * gdb.base/catch-syscall.exp
11187 * gdb.base/compare-sections.exp
11188 * gdb.base/cond-eval-mode.exp
11189 * gdb.base/condbreak-call-false.exp
11190 * gdb.base/consecutive-step-over.exp
11191 * gdb.base/cursal.exp
11192 * gdb.base/disabled-location.exp
11193 * gdb.base/disasm-end-cu.exp
11194 * gdb.base/display.exp
11195 * gdb.base/double-prompt-target-event-error.exp
11196 * gdb.base/dprintf-bp-same-addr.exp
11197 * gdb.base/dprintf-detach.exp
11198 * gdb.base/dprintf-next.exp
11199 * gdb.base/dprintf-non-stop.exp
11200 * gdb.base/dprintf-pending.exp
11201 * gdb.base/dso2dso.exp
11202 * gdb.base/ending-run.exp
11203 * gdb.base/enum_cond.exp
11204 * gdb.base/examine-backward.exp
11205 * gdb.base/exe-lock.exp
11206 * gdb.base/exec-invalid-sysroot.exp
11207 * gdb.base/execl-update-breakpoints.exp
11208 * gdb.base/execution-termios.exp
11209 * gdb.base/fileio.exp
11210 * gdb.base/fixsection.exp
11211 * gdb.base/foll-exec-mode.exp
11212 * gdb.base/foll-exec.exp
11213 * gdb.base/fork-running-state.exp
11214 * gdb.base/frame-args.exp
11215 * gdb.base/fullpath-expand.exp
11216 * gdb.base/func-ptr.exp
11217 * gdb.base/gcore-relro-pie.exp
11218 * gdb.base/gdb1090.exp
11219 * gdb.base/gdb1555.exp
11220 * gdb.base/global-var-nested-by-dso.exp
11221 * gdb.base/gnu-ifunc.exp
11222 * gdb.base/hbreak-in-shr-unsupported.exp
11223 * gdb.base/hbreak-unmapped.exp
11224 * gdb.base/hook-stop.exp
11225 * gdb.base/infcall-input.exp
11226 * gdb.base/info-fun.exp
11227 * gdb.base/info-shared.exp
11228 * gdb.base/interrupt-noterm.exp
11229 * gdb.base/jit-so.exp
11230 * gdb.base/jit.exp
11231 * gdb.base/line-symtabs.exp
11232 * gdb.base/list.exp
11233 * gdb.base/longjmp.exp
11234 * gdb.base/macscp.exp
11235 * gdb.base/max-value-size.exp
11236 * gdb.base/nodebug.exp
11237 * gdb.base/nofield.exp
11238 * gdb.base/overlays.exp
11239 * gdb.base/paginate-after-ctrl-c-running.exp
11240 * gdb.base/paginate-bg-execution.exp
11241 * gdb.base/paginate-inferior-exit.exp
11242 * gdb.base/pending.exp
11243 * gdb.base/pr11022.exp
11244 * gdb.base/printcmds.exp
11245 * gdb.base/ptr-typedef.exp
11246 * gdb.base/ptype.exp
11247 * gdb.base/randomize.exp
11248 * gdb.base/range-stepping.exp
11249 * gdb.base/realname-expand.exp
11250 * gdb.base/relativedebug.exp
11251 * gdb.base/remote.exp
11252 * gdb.base/savedregs.exp
11253 * gdb.base/sepdebug.exp
11254 * gdb.base/set-noassign.exp
11255 * gdb.base/shlib-call.exp
11256 * gdb.base/shreloc.exp
11257 * gdb.base/sigaltstack.exp
11258 * gdb.base/sigbpt.exp
11259 * gdb.base/siginfo-addr.exp
11260 * gdb.base/siginfo-obj.exp
11261 * gdb.base/siginfo-thread.exp
11262 * gdb.base/signest.exp
11263 * gdb.base/signull.exp
11264 * gdb.base/sigrepeat.exp
11265 * gdb.base/skip.exp
11266 * gdb.base/so-impl-ld.exp
11267 * gdb.base/solib-corrupted.exp
11268 * gdb.base/solib-disc.exp
11269 * gdb.base/solib-display.exp
11270 * gdb.base/solib-overlap.exp
11271 * gdb.base/solib-search.exp
11272 * gdb.base/solib-symbol.exp
11273 * gdb.base/source-execution.exp
11274 * gdb.base/sss-bp-on-user-bp-2.exp
11275 * gdb.base/sss-bp-on-user-bp.exp
11276 * gdb.base/stack-checking.exp
11277 * gdb.base/stale-infcall.exp
11278 * gdb.base/step-break.exp
11279 * gdb.base/step-line.exp
11280 * gdb.base/step-over-exit.exp
11281 * gdb.base/step-test.exp
11282 * gdb.base/structs.exp
11283 * gdb.base/sym-file.exp
11284 * gdb.base/symtab-search-order.exp
11285 * gdb.base/term.exp
11286 * gdb.base/type-opaque.exp
11287 * gdb.base/unload.exp
11288 * gdb.base/until-nodebug.exp
11289 * gdb.base/until.exp
11290 * gdb.base/unwindonsignal.exp
11291 * gdb.base/watch-cond.exp
11292 * gdb.base/watch-non-mem.exp
11293 * gdb.base/watch_thread_num.exp
11294 * gdb.base/watchpoint-reuse-slot.exp
11295 * gdb.base/watchpoint-solib.exp
11296 * gdb.base/watchpoint.exp
11297 * gdb.btrace/dlopen.exp
11298 * gdb.cell/arch.exp
11299 * gdb.cell/break.exp
11300 * gdb.cell/bt.exp
11301 * gdb.cell/core.exp
11302 * gdb.cell/data.exp
11303 * gdb.cell/dwarfaddr.exp
11304 * gdb.cell/ea-cache.exp
11305 * gdb.cell/ea-standalone.exp
11306 * gdb.cell/ea-test.exp
11307 * gdb.cell/f-regs.exp
11308 * gdb.cell/fork.exp
11309 * gdb.cell/gcore.exp
11310 * gdb.cell/mem-access.exp
11311 * gdb.cell/ptype.exp
11312 * gdb.cell/registers.exp
11313 * gdb.cell/sizeof.exp
11314 * gdb.cell/solib-symbol.exp
11315 * gdb.cell/solib.exp
11316 * gdb.compile/compile-tls.exp
11317 * gdb.cp/exception.exp
11318 * gdb.cp/gdb2495.exp
11319 * gdb.cp/local.exp
11320 * gdb.cp/mb-inline.exp
11321 * gdb.cp/mb-templates.exp
11322 * gdb.cp/pr10687.exp
11323 * gdb.cp/pr9167.exp
11324 * gdb.cp/scope-err.exp
11325 * gdb.cp/templates.exp
11326 * gdb.cp/virtfunc.exp
11327 * gdb.dwarf2/dw2-dir-file-name.exp
11328 * gdb.dwarf2/dw2-single-line-discriminators.exp
11329 * gdb.fortran/complex.exp
11330 * gdb.fortran/library-module.exp
11331 * gdb.guile/guile.exp
11332 * gdb.guile/scm-cmd.exp
11333 * gdb.guile/scm-frame-inline.exp
11334 * gdb.guile/scm-objfile.exp
11335 * gdb.guile/scm-pretty-print.exp
11336 * gdb.guile/scm-symbol.exp
11337 * gdb.guile/scm-type.exp
11338 * gdb.guile/scm-value.exp
11339 * gdb.linespec/keywords.exp
11340 * gdb.linespec/ls-errs.exp
11341 * gdb.linespec/macro-relative.exp
11342 * gdb.linespec/thread.exp
11343 * gdb.mi/mi-breakpoint-changed.exp
11344 * gdb.mi/mi-dprintf-pending.exp
11345 * gdb.mi/mi-fullname-deleted.exp
11346 * gdb.mi/mi-logging.exp
11347 * gdb.mi/mi-pending.exp
11348 * gdb.mi/mi-solib.exp
11349 * gdb.mi/new-ui-mi-sync.exp
11350 * gdb.mi/user-selected-context-sync.exp
11351 * gdb.multi/dummy-frame-restore.exp
11352 * gdb.multi/multi-arch-exec.exp
11353 * gdb.multi/remove-inferiors.exp
11354 * gdb.multi/watchpoint-multi-exit.exp
11355 * gdb.opt/solib-intra-step.exp
11356 * gdb.perf/backtrace.exp
11357 * gdb.perf/single-step.exp
11358 * gdb.perf/skip-command.exp
11359 * gdb.perf/skip-prologue.exp
11360 * gdb.perf/solib.exp
11361 * gdb.python/lib-types.exp
11362 * gdb.python/py-as-string.exp
11363 * gdb.python/py-bad-printers.exp
11364 * gdb.python/py-block.exp
11365 * gdb.python/py-breakpoint.exp
11366 * gdb.python/py-cmd.exp
11367 * gdb.python/py-events.exp
11368 * gdb.python/py-evthreads.exp
11369 * gdb.python/py-finish-breakpoint.exp
11370 * gdb.python/py-finish-breakpoint2.exp
11371 * gdb.python/py-frame-inline.exp
11372 * gdb.python/py-frame.exp
11373 * gdb.python/py-inferior.exp
11374 * gdb.python/py-infthread.exp
11375 * gdb.python/py-mi.exp
11376 * gdb.python/py-objfile.exp
11377 * gdb.python/py-pp-maint.exp
11378 * gdb.python/py-pp-registration.exp
11379 * gdb.python/py-prettyprint.exp
11380 * gdb.python/py-recurse-unwind.exp
11381 * gdb.python/py-shared.exp
11382 * gdb.python/py-symbol.exp
11383 * gdb.python/py-symtab.exp
11384 * gdb.python/py-template.exp
11385 * gdb.python/py-type.exp
11386 * gdb.python/py-unwind-maint.exp
11387 * gdb.python/py-unwind.exp
11388 * gdb.python/py-value.exp
11389 * gdb.python/python.exp
11390 * gdb.reverse/finish-reverse-bkpt.exp
11391 * gdb.reverse/insn-reverse.exp
11392 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11393 * gdb.reverse/solib-precsave.exp
11394 * gdb.reverse/solib-reverse.exp
11395 * gdb.stabs/gdb11479.exp
11396 * gdb.stabs/weird.exp
11397 * gdb.threads/fork-child-threads.exp
11398 * gdb.threads/fork-plus-threads.exp
11399 * gdb.threads/fork-thread-pending.exp
11400 * gdb.threads/forking-threads-plus-breakpoint.exp
11401 * gdb.threads/hand-call-in-threads.exp
11402 * gdb.threads/interrupted-hand-call.exp
11403 * gdb.threads/linux-dp.exp
11404 * gdb.threads/local-watch-wrong-thread.exp
11405 * gdb.threads/next-while-other-thread-longjmps.exp
11406 * gdb.threads/non-ldr-exit.exp
11407 * gdb.threads/pending-step.exp
11408 * gdb.threads/print-threads.exp
11409 * gdb.threads/process-dies-while-detaching.exp
11410 * gdb.threads/process-dies-while-handling-bp.exp
11411 * gdb.threads/pthreads.exp
11412 * gdb.threads/queue-signal.exp
11413 * gdb.threads/reconnect-signal.exp
11414 * gdb.threads/signal-command-handle-nopass.exp
11415 * gdb.threads/signal-command-multiple-signals-pending.exp
11416 * gdb.threads/signal-delivered-right-thread.exp
11417 * gdb.threads/signal-sigtrap.exp
11418 * gdb.threads/sigthread.exp
11419 * gdb.threads/staticthreads.exp
11420 * gdb.threads/stepi-random-signal.exp
11421 * gdb.threads/thread-unwindonsignal.exp
11422 * gdb.threads/thread_check.exp
11423 * gdb.threads/thread_events.exp
11424 * gdb.threads/tid-reuse.exp
11425 * gdb.threads/tls-nodebug.exp
11426 * gdb.threads/tls-shared.exp
11427 * gdb.threads/tls-so_extern.exp
11428 * gdb.threads/tls.exp
11429 * gdb.threads/wp-replication.exp
11430 * gdb.trace/actions-changed.exp
11431 * gdb.trace/actions.exp
11432 * gdb.trace/backtrace.exp
11433 * gdb.trace/change-loc.exp
11434 * gdb.trace/collection.exp
11435 * gdb.trace/deltrace.exp
11436 * gdb.trace/disconnected-tracing.exp
11437 * gdb.trace/entry-values.exp
11438 * gdb.trace/ftrace-lock.exp
11439 * gdb.trace/ftrace.exp
11440 * gdb.trace/infotrace.exp
11441 * gdb.trace/mi-trace-frame-collected.exp
11442 * gdb.trace/mi-trace-unavailable.exp
11443 * gdb.trace/mi-traceframe-changed.exp
11444 * gdb.trace/mi-tracepoint-changed.exp
11445 * gdb.trace/mi-tsv-changed.exp
11446 * gdb.trace/no-attach-trace.exp
11447 * gdb.trace/packetlen.exp
11448 * gdb.trace/passc-dyn.exp
11449 * gdb.trace/passcount.exp
11450 * gdb.trace/pending.exp
11451 * gdb.trace/pr16508.exp
11452 * gdb.trace/qtro.exp
11453 * gdb.trace/range-stepping.exp
11454 * gdb.trace/read-memory.exp
11455 * gdb.trace/report.exp
11456 * gdb.trace/save-trace.exp
11457 * gdb.trace/signal.exp
11458 * gdb.trace/stap-trace.exp
11459 * gdb.trace/status-stop.exp
11460 * gdb.trace/strace.exp
11461 * gdb.trace/tfile.exp
11462 * gdb.trace/tfind.exp
11463 * gdb.trace/trace-break.exp
11464 * gdb.trace/trace-condition.exp
11465 * gdb.trace/trace-enable-disable.exp
11466 * gdb.trace/trace-mt.exp
11467 * gdb.trace/tracecmd.exp
11468 * gdb.trace/tracefile-pseudo-reg.exp
11469 * gdb.trace/tspeed.exp
11470 * gdb.trace/tstatus.exp
11471 * gdb.trace/tsv.exp
11472 * gdb.trace/unavailable.exp
11473 * gdb.trace/while-dyn.exp
11474 * gdb.trace/while-stepping.exp
11475 * lib/gdb-guile.exp
11476 * lib/gdb.exp
11477 * lib/mi-support.exp
11478 * lib/pascal.exp
11479 * lib/perftest.exp
11480 * lib/prelink-support.exp
11481 * lib/selftest-support.exp
11482
ad02e4fe
SM
114832016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11484
11485 * Makefile.in: Include disable-implicit-rules.mk.
11486
22347e55
AA
114872016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11488
11489 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11490 non-byte-aligned bit fields.
11491
da5b30da
AA
114922016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11493
11494 PR gdb/12616
11495 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11496 respects the DW_AT_data_bit_offset attribute.
11497
b593ecca
SM
114982016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11499
11500 * gdb.base/default.exp: Fix output of "set language".
11501
3b165252
SM
115022016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11503
11504 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11505 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11506 make.
11507 * configure.ac: Remove checks for the make program.
11508 * configure: Re-generate.
11509
1a2f3d7f
KB
115102016-11-16 Kevin Buettner <kevinb@redhat.com>
11511
11512 * gdb.python/py-recurse-unwind.c (main): Add loop.
11513 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11514 to read_register() and gdb.parse_and_eval(). Make each code
11515 call a separate case that can be individually tested.
11516 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11517 proc. Call cont_and_backtrace for each of the code paths that
11518 we want to test in the unwinder.
11519
b7f38fda
AA
115202016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11521
11522 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11523 the definition of struct S.
11524
1f8db343
CM
115252016-11-11 Catherine Moore <clm@codesourcery.com>
11526
11527 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11528
fad0c9fb
PA
115292016-11-09 Pedro Alves <palves@redhat.com>
11530
11531 * gdb.base/commands.exp (runto_or_return): New procedure.
11532 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11533 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11534 (progvar_simple_while_test, progvar_complex_if_while_test)
11535 (if_while_breakpoint_command_test)
11536 (infrun_breakpoint_command_test, breakpoint_command_test)
11537 (user_defined_command_test, watchpoint_command_test)
11538 (test_command_prompt_position, redefine_hook_test)
11539 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11540 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11541 multi_line_input and multi_line. Remove gdb_expect and
11542 gdb_stop_suppressing_tests uses.
11543 * lib/gdb.exp (valnum_re): New global.
11544 (multi_line_input): New procedure.
11545
8354c62c
SM
115462016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11547
11548 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11549 Remove.
11550 (test_setup): Define with proc_with_prefix.
11551 (test_cli_inferior): Likewise.
11552 (test_cli_thread): Likewise.
11553 (test_cli_frame): Likewise.
11554 (test_cli_select_frame): Likewise.
11555 (test_cli_up_down): Likewise.
11556 (test_mi_thread_select): Likewise.
11557 (test_mi_stack_select_frame): Likewise.
11558 (test_cli_in_mi_inferior): Likewise.
11559 (test_cli_in_mi_thread): Likewise.
11560 (test_cli_in_mi_frame): Likewise.
11561 (top level): Do not use with_test_prefix_procname.
11562
64f367a2
PA
115632016-11-09 Pedro Alves <palves@redhat.com>
11564
11565 * gdb.base/commands.exp (gdbvar_simple_if_test)
11566 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11567 (progvar_simple_if_test, progvar_simple_while_test)
11568 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11569 (infrun_breakpoint_command_test, breakpoint_command_test)
11570 (user_defined_command_test, watchpoint_command_test)
11571 (test_command_prompt_position, deprecated_command_test)
11572 (bp_deleted_in_command, temporary_breakpoint_commands)
11573 (stray_arg0_test, source_file_with_indented_comment)
11574 (recursive_source_test, if_commands_test)
11575 (error_clears_commands_left, redefine_hook_test)
11576 (redefine_backtrace_test): Use proc_with_prefix.
11577 * lib/gdb.exp (proc_with_prefix): New proc.
11578
0bb65f1e
AA
115792016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11580
11581 * gdb.base/tui-layout.c: New file.
11582 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11583 disassembly window contains very long lines.
11584
7353f247
TT
115852016-11-08 Tom Tromey <tom@tromey.com>
11586
11587 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11588 depend on Python 2.
11589
30a7bb83
TT
115902016-11-08 Tom Tromey <tom@tromey.com>
11591
11592 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11593 New method.
11594
cdf5a07c
MG
115952016-10-29 Manish Goregaokar <manish@mozilla.com>
11596
2806dc7e 11597 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 11598
51a789c3
MG
115992016-10-27 Manish Goregaokar <manish@mozilla.com>
11600
2806dc7e
PA
11601 * gdb.rust/simple.rs: Add test for univariant enums without
11602 discriminants and for encoded struct-like enums.
51a789c3 11603
f610ab6d
PA
116042016-10-28 Pedro Alves <palves@redhat.com>
11605
11606 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11607 gdb_test_multiple, tighten regexps and match symtabs and line
11608 tables incrementally.
11609
b129b0ca
LM
116102016-10-28 Luis Machado <lgustavo@codesourcery.com>
11611
11612 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11613 general.
11614
ecf45d2c
SL
116152016-10-25 Luis Machado <lgustavo@codesourcery.com>
11616
11617 * gdb.base/exec-invalid-sysroot.exp: New file.
11618
b8d38ee4
JK
116192016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11620
11621 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11622
f90fd8c2
JK
116232016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11624
11625 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11626
2d2476aa
MR
116272016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11628
2806dc7e
PA
11629 * gdb.base/killed-outside.exp: Remove $options from a call to
11630 `prepare_for_testing'.
2d2476aa 11631
e42b25a0
SM
116322016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11633
11634 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11635 Change test message.
11636
3ccdb432
SM
116372016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11638
11639 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11640 Update comment.
11641
5bad3170
SM
116422016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11643
11644 * gdb.trace/mi-trace-save.exp: New file.
11645
5ad9dba7
YQ
116462016-10-13 Yao Qi <yao.qi@linaro.org>
11647
11648 * gdb.base/code_elim.exp (get_var_address): Remove.
11649 * gdb.base/relocate.exp: Likewise.
11650 * gdb.base/shreloc.exp: Likewise.
11651 * lib/gdb.exp (get_var_address): New.
11652
62df7e21
YQ
116532016-10-13 Yao Qi <yao.qi@linaro.org>
11654
11655 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11656 floating point tests if $skip_float_test is false.
11657
4dac951e
LM
116582016-10-12 Luis Machado <lgustavo@codesourcery.com>
11659
11660 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11661 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11662 argc values.
11663 Add 1 to argc so we guarantee distinct initial/modified argc values.
11664
8f1a8fc4
JK
116652016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11666
11667 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11668
16c85b5d
JK
116692016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11670
11671 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11672 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11673 * gdb.arch/vsx-regs.exp: Likewise.
11674
1d0e042a
YQ
116752016-10-07 Yao Qi <yao.qi@linaro.org>
11676
11677 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11678
68dadef5
MM
116792016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11680
11681 * gdb.python/python.exp: Test decode_line("*0").
11682
33fa2c6e
DE
116832016-10-06 Doug Evans <dje@google.com>
11684
11685 * gdb.python/py-value.exp (test_value_creation): Add test for large
11686 unsigned 64-bit value.
11687
9c37b5ae
TT
116882016-10-06 Tom Tromey <tom@tromey.com>
11689
11690 * gdb.compile/compile.exp: Change java tests to rust.
11691 * gdb.base/setshow.exp: Change java tests to rust.
11692 * gdb.base/default.exp: Remove java from language list.
11693 * README (Examples): Update language example.
11694 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11695 test.
11696 * lib/gdb.exp (skip_java_tests): Remove.
11697 * lib/java.exp: Remove.
11698 * gdb.java: Remove.
11699
78b86327
MR
117002016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11701
11702 * gdb.arch/mips-fcr.exp: New test.
11703 * gdb.arch/mips-fcr.c: Source for the new test.
11704
7470adbb
MR
117052016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11706
11707 * gdb.base/solib-disc.exp: Use `standard_output_file'
11708 throughout.
11709
4a556533
PA
117102016-10-06 Pedro Alves <palves@redhat.com>
11711
11712 * gdb.base/jit-simple-dl.c: New file.
11713 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11714 * gdb.base/jit-simple.c: ... this.
11715 * gdb.base/jit-simple.exp (jit_run): Delete.
11716 (build_jit): New proc.
11717 (jit_test_reread): Recompile either the main program or the shared
11718 library, depending on what is being tested. Skip changing address
11719 if caller wants to. Compare before/after addresses. If testing
11720 standalone, explicitly load the binary. Test "maint info
11721 breakpoints".
11722 (top level): Add "standalone vs shared lib" and "change address"
11723 vs "same address" axes.
11724
5a122fbc
PA
117252016-10-06 Pedro Alves <palves@redhat.com>
11726
11727 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11728 call.
11729 (jit_run): Delete.
11730 (jit_test_reread): Use with_test_prefix. Reload the main binary
11731 explicitly. Compare the before/after addresses of the JIT
11732 descriptor.
11733
ee8da4b8
DE
117342016-08-15 Doug Evans <dje@google.com>
11735
11736 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11737 for single bitfields is bool.
11738 * gdb.xml/tdesc-regs.exp: Ditto.
11739
f389f6fe
JK
117402016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11741
11742 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11743
fdebf1a4
YQ
117442016-10-05 Yao Qi <yao.qi@linaro.org>
11745
11746 * lib/gdb.exp (support_complex_tests): Return zero if
11747 gdb_skip_float_test return true.
11748
9c36d954 117492016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11750 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
11751
11752 PR gdb/20487
11753 * gdb.mi/user-selected-context-sync.exp: New file.
11754 * gdb.mi/user-selected-context-sync.c: New file.
11755
4034d0ff 117562016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11757 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
11758
11759 PR gdb/20487
11760 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11761 =thread-select-event check.
11762
a4297203
PB
117632016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11764
11765 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11766 the compulsory L operand changes.
11767 * gdb.arch/powerpc-power.s: Likewise.
11768
bb805577
JK
117692016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11770
11771 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11772 * gdb.base/jit-attach-pie.c: New file.
11773 * gdb.base/jit-attach-pie.exp: New file.
11774
6d61dee5
PA
117752016-09-28 Pedro Alves <palves@redhat.com>
11776
11777 * gdb.base/infcall-input.c: New file.
11778 * gdb.base/infcall-input.exp: New file.
11779
f73842fc
YQ
117802016-09-22 Yao Qi <yao.qi@linaro.org>
11781
11782 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11783 (gdb_exit): Rename it to ...
11784 (gdbserver_gdb_exit): ... Close GDBserver.
11785 (gdb_exit): New proc, call gdbserver_gdb_exit.
11786 (mi_gdb_exit): Likewise.
11787
90681dab
YQ
117882016-09-22 Yao Qi <yao.qi@linaro.org>
11789
11790 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11791 path.
11792 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11793 Remove duplication.
11794
9c211fd8
YQ
117952016-09-22 Yao Qi <yao.qi@linaro.org>
11796
11797 * lib/gdbserver-support.exp: Check the existence of
11798 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11799
ad0a504f
AK
118002016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11801
11802 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11803
36cf1806
TT
118042016-09-21 Tom Tromey <tom@tromey.com>
11805
11806 PR gdb/20604:
11807 * gdb.base/quit.exp: New file.
11808
74172ecf
SM
118092016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11810
11811 * .gitignore: New file.
11812
3d0ec882
MR
118132016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11814
11815 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11816 throughout.
11817
8193adea
AA
118182016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11819
11820 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11821
d41a5c09
JK
118222016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11823
11824 * gdb.cp/casts.cc (decltype): Move it ...
11825 (main): ... with its call to ...
11826 * gdb.cp/casts03.cc: ... a new file.
11827 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11828
d2dfe700
JK
118292016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11830
11831 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11832
e2a92b16
PB
118332016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11834
11835 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11836 and sync up the test with tests in gas/testsuite/gas/ppc.
11837 * gdb.arch/powerpc-power.exp: Likewise.
11838
49b4de64
JK
118392016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11840
11841 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11842
2c29df25
SDJ
118432016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11844 Jan Kratochvil <jan.kratochvil@redhat.com>
11845
11846 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11847 make m1's definition to be different from m2's. Use 'dummy' as an
11848 argument for probe 'two'.
11849
cc3c2846
JB
118502016-09-10 Jon Beniston <jon@beniston.com>
11851
11852 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11853 for sim target.
11854
e1b2624a
AA
118552016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11856
11857 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11858 variable declaration.
11859 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11860 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11861 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11862 received HWCAP as its argument.
11863
4295e285
PA
118642016-09-06 Pedro Alves <palves@redhat.com>
11865
11866 * gdb.base/new-ui-pending-input.c: New file.
11867 * gdb.base/new-ui-pending-input.exp: New file.
11868 * gdb.exp (clear_gdb_spawn_id): New procedure.
11869 (with_spawn_id): Check whether gdb_spawn_id exists before
11870 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11871 on exit.
11872
00d5215e
UW
118732016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11874
11875 * gdb.base/float128.c: New file.
11876 * gdb.base/float128.exp: Likewise.
11877 * gdb.base/floatn.c: Likewise.
11878 * gdb.base/floatn.exp: Likewise.
11879
a9ff5f12
UW
118802016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11881
11882 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11883
f245535c
PA
118842016-09-05 Pedro Alves <palves@redhat.com>
11885
11886 PR backtrace/19927
11887 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11888 unwinders are immediately called as side effect of "source" or
11889 "disable unwinder" commands.
11890 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11891
ae9cf263
YQ
118922016-09-02 Yao Qi <yao.qi@linaro.org>
11893
11894 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11895 is true and $type is "float" or "double".
11896
27aba047
YQ
118972016-09-02 Yao Qi <yao.qi@linaro.org>
11898
11899 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11900 true.
11901 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11902 * gdb.base/call-rt-st.exp: Likewise.
11903 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11904 return value instead of gdb,skip_float_test.
11905 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11906 (do_function_calls): Use its return value instead of
11907 gdb,skip_float_test.
11908 * gdb.base/finish.exp: Likewise.
11909 * gdb.base/funcargs.exp: Likewise.
11910 * gdb.base/return.exp: Likewise.
11911 * gdb.base/return2.exp: Likewise.
11912 * gdb.base/varargs.exp: Likewise.
11913 * lib/gdb.exp (gdb_skip_float_test): Change it to
11914 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11915
5af962df
AA
119162016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11917
11918 * gdb.multi/tids.exp: Test "thread apply all".
11919
7fac6910
JK
119202016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11921
11922 * gdb.base/default.exp (tty): Remove.
11923
bb1fe4ac
KB
119242016-08-24 Kevin Buettner <kevinb@redhat.com>
11925
2806dc7e
PA
11926 * gdb.python/py-recurse-unwind.c: New file.
11927 * gdb.python/py-recurse-unwind.py: New file.
11928 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 11929
0a1ddfa6
SM
119302016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11931
11932 * gdb.base/set-inferior-tty.exp: New file.
11933 * gdb.base/set-inferior-tty.c: New file.
11934
d9de1fe3
PA
119352016-08-23 Pedro Alves <palves@redhat.com>
11936
11937 PR gdb/20494
11938 * gdb.base/new-ui-echo.c: New file.
11939 * gdb.base/new-ui-echo.exp: New file.
11940
e9d9abd7
YQ
119412016-08-23 Yao Qi <yao.qi@linaro.org>
11942
11943 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11944 gdbserver_spawn.
11945 * gdb.server/connect-without-multi-process.exp (do_test):
11946 Likewise.
11947
3589529e
YQ
119482016-08-23 Yao Qi <yao.qi@linaro.org>
11949
11950 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11951 standalone_txt. Delete gdb_txt and standalone_txt on host
11952 and target. Spawn the binary on target. Copy files from
11953 target to host.
11954
6bb90213
PA
119552016-08-22 Pedro Alves <palves@redhat.com>
11956
11957 PR gdb/20505
11958 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11959 with_test_prefix. Factor out bits to ...
11960 (test_no_vdso): ... this new procedure.
11961
20c2c024
CL
119622016-08-19 Carl Love <cel@us.ibm.com>
11963
11964 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11965 maintaining separate logic for constructing the output path.
11966 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11967 * gdb.arch/ppc-dfp.exp: Likewise.
11968 * gdb.arch/ppc-fp.exp: Likewise.
11969 * gdb.arch/vsx-regs.exp: Likewise.
11970 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11971 binprefix for generating the additional binary files.
11972
0646e07d
PA
119732016-08-19 Pedro Alves <palves@redhat.com>
11974
11975 * gdb.trace/mi-trace-frame-collected.exp
11976 (test_trace_frame_collected): On x32, expect two registers.
11977
46da9242
CL
119782016-08-18 Carl Love <cel@us.ibm.com>
11979
11980 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11981 and sync up the test with tests in gas/testsuite/gas/ppc.
11982 * gdb.arch/powerpc-power.exp: Likewise.
11983
eb2332d7
SM
119842016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11985
11986 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11987 expected error message.
11988
63c61e04
SM
119892016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11990
11991 * gdb.multi/remove-inferiors.exp: New file.
11992 * gdb.multi/remove-inferiors.c: New file.
11993
7b17065f
YQ
119942016-08-12 Yao Qi <yao.qi@linaro.org>
11995
11996 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11997 argument list.
11998
01d3dedf
PA
119992016-08-10 Pedro Alves <palves@redhat.com>
12000
12001 PR gdb/19187
12002 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12003 setup_kfails.
12004
3eb7562a
PA
120052016-08-09 Pedro Alves <palves@redhat.com>
12006 Simon Marchi <simon.marchi@ericsson.com>
12007
12008 PR gdb/20418
12009 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12010 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12011
80614914
PA
120122016-08-09 Pedro Alves <palves@redhat.com>
12013
12014 PR mi/20431
12015 * gdb.mi/mi-cmd-error.exp: New file.
12016
f348d89a
PA
120172016-08-09 Pedro Alves <palves@redhat.com>
12018
12019 PR gdb/18653
12020 * gdb.base/signals-state-child.c: New file.
12021 * gdb.base/signals-state-child.exp: New file.
12022 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12023
e5ca03b4
PA
120242016-08-09 Pedro Alves <palves@redhat.com>
12025
12026 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12027
282a0691
TT
120282016-08-03 Tom Tromey <tom@tromey.com>
12029
12030 PR python/18565:
12031 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12032
41bfcd63
YQ
120332016-08-01 Yao Qi <yao.qi@linaro.org>
12034
12035 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12036 variable mode to "multi-process" if $multi_process is 1, otherwise
12037 set it to "single-process".
12038
e3465b24
YQ
120392016-08-01 Yao Qi <yao.qi@linaro.org>
12040
12041 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12042 * gdb.cp/cpexprs.exp: Likewise.
12043 * gdb.cp/m-static.exp: Likewise.
12044
0b31a4bc
TT
120452016-07-26 Tom Tromey <tom@tromey.com>
12046
12047 PR python/20190:
12048 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12049 test.
12050
e0461dbb
MM
120512016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12052
12053 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12054 selecting assembly source files.
12055 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12056 assembly source files.
12057 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12058 assembly source files.
12059 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12060 selecting assembly source files.
12061
8194e927
SM
120622016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12063
12064 * gdb.base/new-ui.exp (do_test_invalid_args): New
12065 procedure.
12066
c0272db5
TW
120672016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12068
12069 * gdb.btrace/reconnect.c: New file.
12070 * gdb.btrace/reconnect.exp: New file.
12071
e3487908
GKB
120722016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12073
12074 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12075 to test_catch_syscall_group.
12076 (test_catch_syscall_group): New.
12077
12df5c00
TT
120782016-07-21 Tom Tromey <tom@tromey.com>
12079
12080 * gdb.rust/simple.rs (main): Use empty struct expression.
12081 * gdb.rust/simple.exp: Add tests for empty struct expression.
12082
bae62ee2
YQ
120832016-07-21 Yao Qi <yao.qi@linaro.org>
12084
12085 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12086 if gdb_skip_xml_test is true on some targets.
12087
b1b53fb3
YQ
120882016-07-21 Yao Qi <yao.qi@linaro.org>
12089
12090 * gdb.server/solib-list.exp: Unset last_loaded_file.
12091
027d97f8
JK
120922016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12093
12094 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12095 "step into captured_main (args)".
12096
7674d381
JK
120972016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12098
12099 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12100
72b5d099
JK
121012016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12102
12103 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12104
1f960ced
PA
121052016-07-19 Pedro Alves <palves@redhat.com>
12106
12107 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12108 * gdb.opt/inline-bt.exp: Likewise.
12109 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12110 additional_flags=-Winline.
12111 * gdb.opt/inline-locals.exp: Likewise.
12112 * gdb.opt/inline-markers.c (ATTR): Define.
12113 (inlined_fn): Use it.
12114
f25827c1
YQ
121152016-07-19 Yao Qi <yao.qi@linaro.org>
12116
12117 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12118 (test_with_self): Remove some code. Remove argument executable.
12119 (top-level): Use do_self_tests.
12120
37539ebe
DB
121212016-07-15 Zachary Welch <zwelch@codesourcery.com>
12122 Don Breazeal <donb@codesourcery.com>
12123
12124 * gdb.base/maint.exp: Escape paths used in regular expressions.
12125 * gdb.stabs/weird.exp: Likewise.
12126
dac790e1
TT
121272016-07-13 Tom Tromey <tom@tromey.com>
12128
12129 PR python/15620, PR python/18620:
12130 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12131 (test_bkpt_events): New procs.
12132
93daf339
TT
121332016-07-13 Tom Tromey <tom@tromey.com>
12134
12135 PR python/17698:
12136 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12137 test.
12138 (test_watchpoints): Likewise.
12139 (test_bkpt_pending): New proc.
12140
6571a381
TT
121412016-07-13 Tom Tromey <tom@tromey.com>
12142
12143 PR cli/18053:
12144 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12145 completion test.
12146
e8732474
JK
121472016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12148
12149 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12150 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12151 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12152 f_label.
12153 (g): Rename g_end_lbl to g_label.
12154 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12155 low_pc and high_pc.
12156 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12157
e0f3fd7c
TT
121582016-07-12 Tom Tromey <tom@tromey.com>
12159
12160 PR python/19293:
12161 * gdb.python/py-unwind-maint.exp: Update tests.
12162
3cfe46b6
YQ
121632016-07-12 Yao Qi <yao.qi@linaro.org>
12164
12165 * lib/selftest-support.exp (selftest_setup): Match the output
12166 when captured_main is inlined.
12167
4f19a0e6
WT
121682016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12169
12170 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12171 New variables.
12172 (print this%a, print this%b, print this): New tests.
12173 * gdb.fortran/derived-types.f90 (this): New object and
12174 initialization.
12175
986cf455
SM
121762016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12177
12178 * gdb.ada/arraydim.exp: Remove extra directory level in build
12179 directory.
12180
f0464b23
SM
121812016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12182
12183 * lib/ada.exp: Remove extra directory level in build directory.
12184 * gdb.ada/cond_lang.exp: Likewise.
12185 * gdb.ada/exec_changed.exp: Likewise.
12186 * gdb.ada/lang_switch.exp: Likewise.
12187
42d94011
MG
121882016-07-06 Manish Goregaokar <manish@mozilla.com>
12189
2806dc7e
PA
12190 * simple.rs: Add test for raw pointer subscripting.
12191 * simple.exp: Add test expectations.
42d94011 12192
647c264c
YQ
121932016-07-05 Yao Qi <yao.qi@linaro.org>
12194
12195 * gdb.mi/mi-reverse.exp: Match =record-started output.
12196
20aa2c60
PA
121972016-07-01 Pedro Alves <palves@redhat.com>
12198
12199 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12200 procedure.
12201 (jit_reader_test): Test the jit reader's unwinder.
12202 * gdb.base/jithost.c (jit_function_00_code): New global.
12203 (main): Use memcpy to fill in the mmapped code, instead of poking
12204 bytes manually here.
12205 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12206 value.
12207 (read_debug_info): Save the function's range.
12208 (read_sp): New function.
12209 (unwind_frame): Use it. Also unwind RBP.
12210 (get_frame_id): Use read_sp.
12211 (gdb_init_reader): Use calloc instead of malloc.
12212 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12213 parameter. Use gdb_test_multiple.
12214
ced2dffb
PA
122152016-07-01 Pedro Alves <palves@redhat.com>
12216 Antoine Tremblay <antoine.tremblay@ericsson.com>
12217
12218 * gdb.threads/process-dies-while-detaching.c: New file.
12219 * gdb.threads/process-dies-while-detaching.exp: New file.
12220
63000888
PA
122212016-07-01 Pedro Alves <palves@redhat.com>
12222
12223 * gdb.multi/watchpoint-multi-exit.c: New file.
12224 * gdb.multi/watchpoint-multi-exit.exp: New file.
12225
038d4868
PA
122262016-06-30 Pedro Alves <palves@redhat.com>
12227
12228 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12229 unset inferior_spawn_id.
12230
994e9c83
PA
122312016-06-30 Pedro Alves <palves@redhat.com>
12232
12233 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12234 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12235
e5653468
YQ
122362016-06-29 Yao Qi <yao.qi@linaro.org>
12237
12238 * gdb.base/return.c: Add copyright header.
12239
803b47e5
TT
122402016-06-29 Tom Tromey <tom@tromey.com>
12241
12242 PR python/20129:
12243 * gdb.python/py-framefilter.exp: Add tests for setting priority
12244 and disabling of non-existent frame filter.
12245
28244707
YQ
122462016-06-29 Yao Qi <yao.qi@linaro.org>
12247
12248 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12249 0x0f07ff.
12250
a31d2f06
YQ
122512016-06-28 Yao Qi <yao.qi@linaro.org>
12252
12253 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12254 triplets. Start gdb, execute catch syscall, and continue. Check
12255 gdb's output to determine catch syscall is supported.
12256
921d8f54
MG
122572016-06-27 Manish Goregaokar <manish@mozilla.com>
12258
25d49b86
PA
12259 * gdb.rust/simple.rs: Add test for returning unit in a function.
12260 * gdb.rust/simple.exp: Add expectation for functions returning
12261 unit.
921d8f54 12262
f4952523
PMR
122632016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12264
12265 * gdb.python/py-breakpoint-create-fail.c,
12266 gdb.python/py-breakpoint-create-fail.exp,
12267 gdb.python/py-breakpoint-create-fail.py: New testcase.
12268
fccb08f8
MG
122692016-06-25 Manish Goregaokar <manish@mozilla.com>
12270
12271 PR gdb/20239
12272 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12273 * gdb.rust/simple.exp: Add test expectations for new NonZero
12274 tests.
fccb08f8 12275
6b850546
DT
122762016-06-24 David Taylor <dtaylor@emc.com>
12277
12278 * gdb.base/offsets.exp: New file.
12279 * gdb.base/offsets.c: New file.
12280
17621150
TT
122812016-06-23 Tom Tromey <tom@tromey.com>
12282
12283 PR gdb/16483:
12284 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12285 before any filters are loaded.
12286
04d59df6
WT
122872016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12288
12289 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12290 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12291 structs.
12292 * gdb.fortran/derived-type-function.exp: New file.
12293 * gdb.fortran/derived-type-function.f90: New file.
12294
12295
ac69f786
PA
122962016-06-21 Pedro Alves <palves@redhat.com>
12297
12298 * gdb.base/new-ui.exp: New file.
12299 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12300 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12301 (with_spawn_id): New procedure.
12302
49940788
PA
123032016-06-21 Pedro Alves <palves@redhat.com>
12304
12305 * gdb.mi/mi-exec-run.exp: New file.
12306
ef274d26
PA
123072016-06-21 Pedro Alves <palves@redhat.com>
12308
12309 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12310 breakpoint command's output on the main UI.
12311 (test_break): New procedure, factored out from calls in the top
12312 level.
12313 (top level): Use foreach_with_prefix to test MI as main UI and as
12314 separate UI.
12315
468afe6c
PA
123162016-06-21 Pedro Alves <palves@redhat.com>
12317
12318 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12319 (test_awatch_creation_and_listing)
12320 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12321 Remove 'type' parameter.
12322 (test_watchpoint_all): New parameter mi_mode. Remove
12323 with_test_prefix.
12324 (top level): Use foreach_with_prefix, and add main/separate UI MI
12325 testing axis.
12326
51f77c37
PA
123272016-06-21 Pedro Alves <palves@redhat.com>
12328
12329 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12330 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12331 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12332 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12333 (gdb_main_spawn_id, mi_spawn_id): Declare and
12334 comment.
12335 (mi_create_inferior_pty): New procedure,
12336 factored out from default_mi_gdb_start.
12337 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12338 procedures.
12339 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12340 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12341 Use mi_create_inferior_pty.
12342 (mi_gdb_start): Use eval to pass down args list.
12343
8980e177
PA
123442016-06-21 Pedro Alves <palves@redhat.com>
12345
12346 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12347 * gdb.opt/inline-cmds.exp: Add MI tests.
12348
f38d3ad1
PA
123492016-06-21 Pedro Alves <palves@redhat.com>
12350
12351 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12352
45db7c09
PA
123532016-06-21 Pedro Alves <palves@redhat.com>
12354
12355 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12356 (top level): Use it instead of mi_execute_to.
12357
5a069ab3
PA
123582016-06-21 Pedro Alves <palves@redhat.com>
12359
12360 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12361 (cont_handler_str): New.
12362 (signal_stop_handler): Set stop_handler_str instead of printing to
12363 stdout.
12364 (continue_handler): Set cont_handler_str instead of printing to
12365 stdout.
12366 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12367 mi_send_resuming_command. Print stop_handler_str and
12368 cont_handler_str instead of expecting the python events print
12369 directly.
12370
2838cc1d
SD
123712016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12372
12373 * gdb.base/jit-reader.exp: New file.
12374 * gdb.base/jithost.c: New file.
12375 * gdb.base/jithost.h: New file.
12376 * gdb.base/jitreader.c : New file.
12377 * gdb.base/jit-protocol.h: New file.
12378
21a77091
YQ
123792016-06-17 Yao Qi <yao.qi@linaro.org>
12380
12381 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12382 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12383 and detach-on-fork. Adjust tests.
12384 (top level): Invoke break_cond_on_syscall with combinations of
12385 syscall, follow-fork-mode and detach-on-fork.
12386
f50bf8e5
YQ
123872016-06-17 Yao Qi <yao.qi@linaro.org>
12388
12389 * gdb.base/step-over-exit.c: New.
12390 * gdb.base/step-over-exit.exp: New.
12391
a28d8e50
YTL
123922016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12393
12394 * gdb.base/float.exp: Add target check for nds32*-*-*.
12395 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12396
cad8e26d
AB
123972016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12398
12399 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12400 for unsupported target features.
12401 * gdb.base/call-rt-st.exp: Likewise.
12402 * gdb.base/call-sc.exp: Likewise.
12403 * gdb.base/call-signal-resume.exp: Likewise.
12404 * gdb.base/call-strs.exp: Likewise.
12405 * gdb.base/callexit.exp: Likewise.
12406 * gdb.base/callfuncs.exp: Likewise.
12407 * gdb.base/nodebug.exp: Likewise.
12408 * gdb.base/printcmds.exp: Likewise.
12409 * gdb.base/ptype.exp: Likewise.
12410 * gdb.base/structs.exp: Likewise.
12411 * gdb.base/unwindonsignal.exp: Likewise.
12412 * gdb.cp/gdb2495.exp: Likewise.
12413 * gdb.cp/templates.exp: Likewise.
12414 * gdb.cp/virtfunc.exp: Likewise.
12415 * gdb.threads/hand-call-in-threads.exp: Likewise.
12416 * gdb.threads/interrupted-hand-call.exp: Likewise.
12417 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12418
347dc102
TT
124192016-06-10 Tom Tromey <tom@tromey.com>
12420
12421 PR rust/20110:
12422 * gdb.rust/expr.exp: Add test for integer constant larger than
12423 i32.
12424
5e13cf25
BH
124252016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12426
12427 * gdb.fortran/nested-funcs.exp: New.
12428 * gdb.fortran/nested-funcs.f90: New.
12429
bb556f1f
TK
124302016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12431
12432 * gdb.base/examine-backward.c: New file.
12433 * gdb.base/examine-backward.exp: New file.
12434
38b022b4
SM
124352016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12436
12437 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12438 matching.
12439
1b40ec05
TT
124402016-06-02 Tom Tromey <tom@tromey.com>
12441
12442 PR python/18984:
12443 * gdb.python/py-shared.exp: Add solib_name test.
12444
193bd378
SM
124452016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12446
12447 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12448
3326303b
MG
124492016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12450
12451 PR c++/19893
12452 * gdb.dwarf2/implref.exp: Rename to...
12453 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12454 * gdb.dwarf2/implref-array.c: New file.
12455 * gdb.dwarf2/implref-array.exp: Likewise.
12456 * gdb.dwarf2/implref-global.c: Likewise.
12457 * gdb.dwarf2/implref-global.exp: Likewise.
12458 * gdb.dwarf2/implref-struct.c: Likewise.
12459 * gdb.dwarf2/implref-struct.exp: Likewise.
12460
825c8ef2
AT
124612016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12462
12463 * gdb.trace/trace-condition.exp: Add 64bit tests.
12464
2320162a
AT
124652016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12466
12467 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12468 bits types.
12469 (main): Adapt to 8 to 64 bits types.
12470 * gdb.trace/trace-condition.exp: Add new tests.
12471
a7818233
AT
124722016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12473
12474 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12475
0d336466
AT
124762016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12477
12478 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12479 Move condition tests...
12480 * gdb.trace/trace-condition.exp: Here.
12481
7faeb45a
AT
124822016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12483
12484 * gdb.trace/trace-condition.exp: Add counter-case tests.
12485
e385593e
JK
124862016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12487
12488 PR c++/15231
12489 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12490 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12491
744608cc
PA
124922016-05-27 Pedro Alves <palves@redhat.com>
12493
12494 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12495 New procedure.
12496 (top level): Call it, and bail out of DejaGnu is known to be bad.
12497
ac775bf4
AB
124982016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12499
12500 * gdb.base/whatis.c: Extend the test case.
12501 * gdb.base/whatis.exp: Add additional tests.
12502
2bbad2ea
BH
125032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12504
12505* gdb.fortran/type.f90: Add pointer variable.
12506* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12507
8b70175d
BH
125082016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12509
12510 * gdb.fortran/vla-type.exp: Fix testcase name.
12511
86d8a848
BH
125122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12513
12514 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12515
e188eb36
BH
125162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12517
12518 * gdb.fortran/type.f90: Add nested structures.
12519 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12520 * gdb.fortran/derived-type.exp: Adapt expected output.
12521 * gdb.fortran/vla-type.exp: Adapt expected output.
12522
9b2db1fd
BH
125232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12524
12525 * gdb.fortran/whatis_type.exp: Adapt expected output.
12526
72b17055
BH
125272016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12528
12529 * gdb.fortran/print_type.exp: Fix expected output.
12530 * gdb.fortran/whatis_type.exp: Fix expected output.
12531
3cd81d8d
BH
125322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12533
12534 * gdb.fortran/whatis_type.exp: Use multi_line.
12535
ddae9462
TT
125362016-05-24 Tom Tromey <tom@tromey.com>
12537
12538 PR python/17386:
12539 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12540 use value as an index.
12541
1957f6b8
TT
125422016-05-23 Tom Tromey <tom@tromey.com>
12543
12544 PR python/17981:
12545 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12546 no-breakpoint case.
12547
026a9174
PA
125482016-05-24 Pedro Alves <palves@redhat.com>
12549
12550 PR gdb/19828
12551 * gdb.threads/clone-attach-detach.c: New file.
12552 * gdb.threads/clone-attach-detach.exp: New file.
12553
e70a7231
FR
125542016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12555
12556 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12557
0f6ed0e0
TT
125582016-05-23 Tom Tromey <tom@tromey.com>
12559
12560 PR python/19438, PR python/18393:
12561 * gdb.python/py-progspace.exp: Add "dir" test.
12562 * gdb.python/py-objfile.exp: Add "dir" test.
12563
ffd19d61
YQ
125642016-05-23 Yao Qi <yao.qi@linaro.org>
12565
12566 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12567 * gdb.arch/thumb2-it.exp: Likewise.
12568
9e8f9b05
SM
125692016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12570
12571 * gdb.mi/mi-threads-interrupt.c: New file.
12572 * gdb.mi/mi-threads-interrupt.exp: New file.
12573
61c6156d
SM
125742016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12575
12576 PR gdb/18077
12577 * gdb.mi/mi-async-run.exp: New file.
12578 * gdb.mi/mi-async-run.c: New file.
12579
67218854
TT
125802016-05-17 Tom Tromey <tom@tromey.com>
12581 Manish Goregaokar <manishsmail@gmail.com>
12582
12583 * lib/rust-support.exp: New file.
12584 * lib/gdb.exp (skip_rust_tests): New proc.
12585 (build_executable_from_specs): Handle rust.
12586 * lib/future.exp (gdb_find_rustc): New proc.
12587 (gdb_default_target_compile): Handle rust.
12588 * gdb.rust/expr.exp: New file.
12589 * gdb.rust/generics.exp: New file.
12590 * gdb.rust/generics.rs: New file.
12591 * gdb.rust/methods.exp: New file.
12592 * gdb.rust/methods.rs: New file.
12593 * gdb.rust/modules.exp: New file.
12594 * gdb.rust/modules.rs: New file.
12595 * gdb.rust/simple.exp: New file.
12596 * gdb.rust/simple.rs: New file.
12597
c44af4eb
TT
125982016-05-17 Tom Tromey <tom@tromey.com>
12599
12600 * gdb.base/default.exp (set language): Add rust.
12601
dcd1f979
TT
126022016-05-17 Tom Tromey <tom@tromey.com>
12603
12604 * gdb.gdb/unittest.exp: New file.
12605
155b7f57
YQ
126062016-05-16 Yao Qi <yao.qi@linaro.org>
12607
12608 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12609 shell_prompt. Update shell_prompt_re.
12610
8ddd5a6c
DE
126112016-05-12 Doug Evans <dje@google.com>
12612
12613 PR symtab/19999
12614 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12615 $options when building executable.
12616 * gdb.dwarf2/fission-loclists-pie.S: New file.
12617 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12618
02e370d9
SM
126192016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12620
12621 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12622 of [is_remote target],
12623
8929ad8b
SM
126242016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12625
12626 * lib/gdb.exp (use_gdb_stub): New procedure.
12627
6c447423
DE
126282016-05-03 Yunlian Jiang <yunlian@google.com>
12629 Doug Evans <dje@google.com>
12630
12631 PR symtab/19914
12632 * gdb.dwarf2/dwp-sepdebug.c: New file.
12633 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12634
444e826c
SM
126352016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12636
12637 * gdb.base/detach.exp: Remove is_remote check.
12638
740feeaa
SM
126392016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12640
12641 * gdb.base/annota-input-while-running.exp: Don't check for
12642 [is_remote target]. Enable annotations after running to main.
12643 Remove unused "set test..." line.
12644
9080ac9d
SM
126452016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12646
12647 * gdb.trace/trace-enable-disable.exp: New file.
12648 * gdb.trace/trace-enable-disable.c: New file.
12649
952ebca5
SM
126502016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12651
12652 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12653 use it in info sharedlibrary test.
12654 * gdb.trace/ftrace-lock.exp: Likewise.
12655 * gdb.trace/ftrace.exp: Likewise.
12656 * gdb.trace/range-stepping.exp: Likewise.
12657 * gdb.trace/trace-break.exp: Likewise.
12658 * gdb.trace/trace-condition.exp: Likewise.
12659 * gdb.trace/trace-mt.exp: Likewise.
12660
d9019901
SM
126612016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12662
12663 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12664 (gdb_load_shlib): ... this.
12665 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12666 gdb_load_shlib.
12667 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12668 * gdb.base/ctxobj.exp: Likewise.
12669 * gdb.base/dprintf-pending.exp: Likewise.
12670 * gdb.base/dso2dso.exp: Likewise.
12671 * gdb.base/fixsection.exp: Likewise.
12672 * gdb.base/gcore-relro.exp: Likewise.
12673 * gdb.base/gdb1555.exp: Likewise.
12674 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12675 * gdb.base/gnu-ifunc.exp: Likewise.
12676 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12677 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12678 * gdb.base/pending.exp: Likewise.
12679 * gdb.base/print-file-var.exp: Likewise.
12680 * gdb.base/print-symbol-loading.exp: Likewise.
12681 * gdb.base/shlib-call.exp: Likewise.
12682 * gdb.base/shreloc.exp: Likewise.
12683 * gdb.base/so-impl-ld.exp: Likewise.
12684 * gdb.base/solib-disc.exp: Likewise.
12685 * gdb.base/solib-nodir.exp: Likewise.
12686 * gdb.base/solib-overlap.exp: Likewise.
12687 * gdb.base/solib-symbol.exp: Likewise.
12688 * gdb.base/solib-weak.exp (do_test): Likewise.
12689 * gdb.base/sym-file.exp: Likewise.
12690 * gdb.base/symtab-search-order.exp: Likewise.
12691 * gdb.base/type-opaque.exp: Likewise.
12692 * gdb.base/unload.exp: Likewise.
12693 * gdb.base/watchpoint-solib.exp: Likewise.
12694 * gdb.compile/compile.exp: Likewise.
12695 * gdb.cp/gdb2384.exp: Likewise.
12696 * gdb.cp/infcall-dlopen.exp: Likewise.
12697 * gdb.cp/re-set-overloaded.exp: Likewise.
12698 * gdb.fortran/library-module.exp: Likewise.
12699 * gdb.opt/solib-intra-step.exp: Likewise.
12700 * gdb.python/py-finish-breakpoint.exp: Likewise.
12701 * gdb.python/py-shared.exp: Likewise.
12702 * gdb.reverse/solib-precsave.exp: Likewise.
12703 * gdb.reverse/solib-reverse.exp: Likewise.
12704 * gdb.server/solib-list.exp: Likewise.
12705 * gdb.threads/dlopen-libpthread.exp: Likewise.
12706 * gdb.threads/tls-shared.exp: Likewise.
12707 * gdb.threads/tls-so_extern.exp: Likewise.
12708 * gdb.trace/change-loc.exp: Likewise.
12709 * gdb.trace/ftrace-lock.exp: Likewise.
12710 * gdb.trace/ftrace.exp: Likewise.
12711 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12712 * gdb.trace/pending.exp: Likewise.
12713 * gdb.trace/range-stepping.exp: Likewise.
12714 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12715 (strace_info_marker): Likewise.
12716 (strace_probe_marker): Likewise.
12717 (strace_trace_on_same_addr): Likewise.
12718 (strace_trace_on_diff_addr): Likewise.
12719 * gdb.trace/trace-break.exp: Likewise.
12720 * gdb.trace/trace-condition.exp: Likewise.
12721 * gdb.trace/trace-mt.exp: Likewise.
12722
fca4cfd9
SM
127232016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12724
12725 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12726 result of gdb_remote_download.
12727 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12728 * gdb.base/dso2dso.exp: Likewise.
12729 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12730 * gdb.base/print-file-var.exp: Likewise.
12731 * gdb.base/shlib-call.exp: Likewise.
12732 * gdb.base/shreloc.exp: Likewise.
12733 * gdb.base/solib-overlap.exp: Likewise.
12734 * gdb.base/solib-weak.exp (do_test): Likewise.
12735 * gdb.base/unload.exp: Likewise.
12736
11cf4ffb
YQ
127372016-04-27 Yao Qi <yao.qi@linaro.org>
12738
12739 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12740 exists.
12741
3e2e34f8
KB
127422016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12743
12744 * vla-type.exp: Print structure from toplevel.
12745
8f07e298
BH
127462016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12747
12748 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12749 of dynamic types.
12750 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12751 of dynamic types.
12752
9920b434
BH
127532016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12754
12755 * gdb.fortran/vla-type.f90: New file.
12756 * gdb.fortran/vla-type.exp: New file.
12757
f3abeff5
YQ
127582016-04-25 Yao Qi <yao.qi@linaro.org>
12759
12760 * gdb.base/branch-to-self.c: New file.
12761 * gdb.base/branch-to-self.exp: New file.
12762
0a5d52f0
YQ
127632016-04-22 Yao Qi <yao.qi@linaro.org>
12764
12765 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12766 more after $hex.
12767
495346f6
YQ
127682016-04-22 Yao Qi <yao.qi@linaro.org>
12769
12770 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12771 * gdb.base/annota3.exp: Likewise.
12772
4a7e075c
YQ
127732016-04-22 Yao Qi <yao.qi@linaro.org>
12774
12775 * gdb.reverse/step-precsave.exp: Do one step and test program
12776 stops in "callee" and do multiple steps until program goes out
12777 of "callee".
12778 * gdb.reverse/step-reverse.exp: Likewise.
12779
5b061e98
YQ
127802016-04-22 Yao Qi <yao.qi@linaro.org>
12781
12782 * gdb.trace/signal.exp: Also pass if
12783 $tracepoint_hits($i) > $iterations.
12784
5c5dc57f
YQ
127852016-04-22 Yao Qi <yao.qi@linaro.org>
12786
12787 * gdb.trace/signal.c: New file.
12788 * gdb.trace/signal.exp: New file.
12789
a55411b9
DE
127902016-04-19 Doug Evans <xdje42@gmail.com>
12791
12792 * gdb.base/bad-file.exp: New file.
12793
a22df60a
MG
127942016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12795
12796 * gdb.dwarf2/implref.exp: New file.
12797
0c13f7e5
BH
127982016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12799
12800 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12801 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12802 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12803 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12804 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12805 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12806 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12807 * lib/fortran.exp (fortran_int4): New procedure.
12808 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12809 (fortran_logical4): Likewise.
12810
9b9b09e9
BH
128112016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12812
12813 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12814
a14d1f4d
BH
128152016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12816
12817 * lib/compiler.c: Add Intel specific preprocessor macros.
12818 * lib/compiler.cc: Likewise.
25d49b86 12819
7d49b1d0
LM
128202016-04-13 Luis Machado <lgustavo@codesourcery.com>
12821
12822 * gdb.server/connect-with-no-symbol-file.c: New file.
12823 * gdb.server/connect-with-no-symbol-file.exp: New file.
12824
8392fa22
SM
128252016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12826
12827 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12828
8c4c4aeb
SM
128292016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12830
12831 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12832 standard output directory.
12833
45e3745e
AT
128342016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12835
12836 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12837
e26b7e41
MM
128382016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12839
12840 * gdb.btrace/instruction_history.c (loop): Add declaration.
12841
8ce09462
AT
128422016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12843
12844 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12845
2e88a1ea
SM
128462016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12847
12848 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12849 parentheses to print.
12850 (continue_handler): Likewise.
12851
f48e22e3
SM
128522016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12853
12854 * gdb.server/solib-list.exp: Remove is_remote check.
12855 Pass shlib= to gdb_compile. Don't link shared library with
12856 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12857 Run binary filename through "readlink -f" on the target.
12858
096be756
PA
128592016-04-08 Pedro Alves <palves@redhat.com>
12860
12861 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12862 interpreter filename as argument to gdbserver_spawn.
12863 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12864 Return empty if $last_loaded_file does not exist.
12865
06500533
JK
128662016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12867
12868 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12869 * gdb.base/jit-main.c: Use exit after usage.
12870
2d35e871
JK
128712016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12872
12873 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12874 GDBHISTSIZE prior to the tests.
12875 * gdb.base/gdbinit-history.exp: Likewise.
12876
128772016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
12878
12879 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12880 instead of build_executable. Use gdb_load_shlibs.
12881
c8064e7e
YQ
128822016-04-07 Yao Qi <yao.qi@linaro.org>
12883
12884 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12885 Execute "si" command.
12886
bde47561
YQ
128872016-04-07 Yao Qi <yao.qi@linaro.org>
12888
12889 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12890 number instead of the comments on some line.
12891
b16f8a3b
DB
128922016-04-06 Don Breazeal <donb@codesourcery.com>
12893
12894 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12895 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12896
c2f901df
SM
128972016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12898
12899 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12900 standard_output_file. Remove unused binfile variable.
12901
ac17fda0
CU
129022016-04-05 Catalin Udma <catalin.udma@freescale.com>
12903
12904 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12905 * gdb.python/py-mi-objfile.exp: Match "list main" output
12906 in console format.
12907
03a8c4df
SM
129082016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12909
12910 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12911 absolute.
12912
6e774b13
SM
129132016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12914
12915 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12916 absolute.
12917 * gdb.trace/ftrace.exp: Likewise.
12918 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12919 targets as well.
12920 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12921 (gdb_load_shlibs): Copy libraries to test directory when testing
12922 natively. Only set solib-search-path if testing remotely.
12923 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12924
7817ea46
SM
129252016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12926
12927 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12928 gdb_download. Use it even if the target is not remote.
12929 * gdb.base/jit.exp (compile_jit_test): Likewise.
12930 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12931 output directory if the destination board is local, otherwise use
12932 the standard remote_download from DejaGnu.
12933 (gdb_download): Remove.
12934 (gdb_load_shlibs): Use gdb_remote_download instead of
12935 gdb_download.
12936 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12937 Use gdb_remote_download instead of gdb_download. Use it even if
12938 the target is not remote.
12939 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12940 instead of gdb_download.
12941
7beb7f68
SM
129422016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12943
12944 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12945 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12946 run.
12947
cc63428a
AV
129482016-04-01 Artemiy Volkov <artemiyv@acm.org>
12949
12950 PR gdb/19820
12951 * gdb.base/printcmds.exp: Add artificial arrays tests.
12952
64cdf930
PA
129532016-03-31 Pedro Alves <palves@redhat.com>
12954
12955 PR gdb/19858
12956 * gdb.base/jit-main.c: Include unistd.h.
12957 (ATTACH): Define to 0 if not already defined.
12958 (wait_for_gdb, mypid): New globals.
12959 (WAIT_FOR_GDB): New macro.
12960 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12961 some breakpoint locations.
12962 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12963 New procedures.
12964 (one_jit_test): Add REATTACH parameter, and handle it. Use
12965 continue_to_test_location.
12966 (top level): Test attach, and adjusts calls to one_jit_test.
12967
40dea8cb
PA
129682016-03-31 Pedro Alves <palves@redhat.com>
12969
12970 PR gdb/19858
12971 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12972 BINSUFFIX parameter, and handle it.
12973 (top level): Adjust calls compile_jit_test.
12974
e7ea3ec7
CU
129752016-03-31 Catalin Udma <catalin.udma@freescale.com>
12976
12977 PR python/19743
12978 * gdb.python/py-mi-events-gdb.py: New file.
12979 * gdb.python/py-mi-events.c: New file.
12980 * gdb.python/py-mi-events.exp: New file.
12981
e6359af3
YQ
129822016-03-30 Yao Qi <yao.qi@linaro.org>
12983
12984 * gdb.reverse/until-precsave.exp: Match function name only.
12985 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12986 Move malloc to a condition block.
12987 * gdb.reverse/until-reverse.exp: Match function name only.
12988
a4105d04
MK
129892016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12990
12991 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12992 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12993 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12994 variable for GPR 0 instead of assuming it is register 0.
12995 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12996 * lib/trace-support.exp: Add s390 registers.
12997
bfa6adb9
YQ
129982016-03-29 Yao Qi <yao.qi@linaro.org>
12999
13000 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13001
1e6697ea
YQ
130022016-03-24 Yao Qi <yao.qi@linaro.org>
13003
13004 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13005 test message.
13006
64bcd522
AA
130072016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13008
13009 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13010 maintaining separate logic for constructing the output path.
13011
7868401b
DB
130122016-03-16 Don Breazeal <donb@codesourcery.com>
13013
13014 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13015 Retry fork and waitpid on interrupted system call errors.
13016 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13017 Use with_timeout_factor to increase timeout by factor of 10.
13018
1cafadb4
DB
130192016-03-15 Don Breazeal <donb@codesourcery.com>
13020
13021 * gdb.cp/scope-err.cc: New test program.
13022 * gdb.cp/scope-err.exp: New test script.
13023 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13024 lines and "set breakpoint here" comment.
13025 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13026 Fixed some whitespace and format issues.
13027 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13028 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13029
81516450
DE
130302016-03-15 Doug Evans <dje@google.com>
13031
13032 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13033 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13034 All callers updated. Add tests for enums, mixed flags register.
13035
aa52b601
DE
130362016-03-15 Doug Evans <dje@google.com>
13037
13038 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13039 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13040
fa4ff313
SM
130412016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13042
13043 * gdb.base/default.exp: Add $_as_string to the list of expected
13044 convenience functions.
13045
f2403c39
AB
130462016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13047
13048 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13049
f2f3ccb9
SM
130502016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13051
13052 * gdb.python/py-as-string.exp: New file.
13053 * gdb.python/py-as-string.c: New file.
13054
00dbd492
PA
130552016-03-09 Pedro Alves <palves@redhat.com>
13056
13057 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13058 signal" -> "Thread NN received signal" output change.
13059 * gdb.threads/ia64-sigill.exp: Likewise.
13060 * gdb.threads/linux-dp.exp: Likewise.
13061 * gdb.threads/manythreads.exp: Likewise.
13062 * gdb.threads/pending-step.exp: Likewise.
13063 * gdb.threads/print-threads.exp: Likewise.
13064 * gdb.threads/sigstep-threads.exp: Likewise.
13065 * gdb.threads/staticthreads.exp: Likewise.
13066 * gdb.threads/tls.exp: Likewise.
13067
1e6697ea
YQ
130682016-03-09 Pedro Alves <palves@redhat.com>
13069
13070 * gdb.base/command-line-input.exp: New file.
13071
b04fd3be
MK
130722016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13073
13074 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13075 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13076 * gdb.trace/pending.exp: Accept leading dot before function name.
13077 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13078 * lib/trace-support.exp: Set registers for ppc.
13079
98fa59e9
MK
130802016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13081
13082 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13083 use it for disassembly; accept .main in addition to main in backtrace.
13084
f77198c8
MK
130852016-03-09 Wei-cheng Wang <cole945@gmail.com>
13086 Marcin Kościelnicki <koriakin@0x04.net>
13087
13088 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13089 (gdb_recursion_test_ptr): New global variable.
13090 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13091 gdb_recursion_test.
13092 (gdb_c_test): Ditto.
13093
ba84e0da
MK
130942016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13095
13096 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13097 ordering.
13098
4366d36e
MK
130992016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13100
13101 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13102 (bar): Add bar_start_lbl label.
13103 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13104 of foo/bar for emitting DWARF and tracing.
13105
5eb264df
SDJ
131062016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13107
13108 * analyze-racy-logs.py: Set executable bit.
13109
fb6a751f
SDJ
131102016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13111
13112 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13113 (CHECK_TARGET_TMP): Likewise.
13114 (check-single-racy): New rule.
13115 (check-parallel-racy): Likewise.
13116 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13117 (do-check-parallel-racy): New rule.
13118 (check-racy/%.exp): Likewise.
13119 * README (Racy testcases): New section.
13120 * analyze-racy-logs.py: New file.
13121
bdf7e230
DE
131222016-03-03 Doug Evans <dje@google.com>
13123
13124 * gdb.base/skip.exp: Use with_test_prefix.
13125
4719d415
YQ
131262016-03-03 Yao Qi <yao.qi@linaro.org>
13127
13128 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13129 Invoke step_over_syscall "clone" and break_cond_on_syscall
13130 "clone".
13131 * gdb.base/step-over-clone.c: New file.
13132
ea507862
YQ
131332016-03-03 Yao Qi <yao.qi@linaro.org>
13134
13135 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13136 code format.
13137
8fc8cbda
YQ
131382016-03-03 Yao Qi <yao.qi@linaro.org>
13139
13140 * gdb.base/disp-step-fork.c: Rename to ...
13141 * gdb.base/step-over-fork.c: ... it. New file.
13142 * gdb.base/disp-step-vfork.c: Rename to ...
13143 * gdb.base/step-over-vfork.c: ... it. New file.
13144 * gdb.base/disp-step-syscall.exp: Rename to ...
13145 * gdb.base/step-over-syscall.exp: ... it. New file.
13146 (disp_step_cross_syscall): Rename to ...
13147 (step_over_syscall): ... it.
13148
92fa70b0
YQ
131492016-03-03 Yao Qi <yao.qi@linaro.org>
13150
13151 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13152 If target supports condition evaluation on target, invoke
13153 break_cond_on_syscall for fork and vfork.
13154
e197ad3c
YQ
131552016-03-03 Yao Qi <yao.qi@linaro.org>
13156
13157 * gdb.base/disp-step-syscall.exp: Don't invoke
13158 support_displaced_stepping.
13159 (disp_step_cross_syscall): Test with displaced stepping off and
13160 on if supported.
13161
0b47da9f
YQ
131622016-03-03 Yao Qi <yao.qi@linaro.org>
13163
13164 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13165 proc.
13166 (setup): New proc.
13167 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13168 and setup.
13169
065ab6dc
BH
131702016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13171
13172 * gdb.fortran/vla-history.exp: Remove breakpoint.
13173
07e448ad 131742016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13175
25d49b86
PA
13176 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13177 exceeds timeout.
07e448ad 13178
9ac2d526 131792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13180
25d49b86
PA
13181 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13182 breakpoint.
9ac2d526 13183
17807369
BH
131842016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13185
13186 * gdb.mi/vla.f90: Nullify pointer after declaration.
13187
86e501af
PA
131882016-03-01 Pedro Alves <palves@redhat.com>
13189
13190 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13191
1e903e32
PA
131922016-03-01 Pedro Alves <palves@redhat.com>
13193
13194 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13195 before anything else.
13196 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13197 _GNU_SOURCE here.
13198 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13199 before anything else.
13200 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13201
6ccb54e2
PA
132022016-03-01 Pedro Alves <palves@redhat.com>
13203
13204 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13205
30ca9da1
YQ
132062016-03-01 Yao Qi <yao.qi@linaro.org>
13207
13208 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13209 prepare_for_testing.
13210
dc856b38
YQ
132112016-03-01 Yao Qi <yao.qi@linaro.org>
13212
13213 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13214
4a932159
AA
132152016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13216
13217 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13218 manually constructing the output path.
13219
f2489477
AA
132202016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13221
13222 * gdb.arch/s390-stackless.S: New.
13223 * gdb.arch/s390-stackless.exp: New.
13224
38899f16
IB
132252016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13226
13227 * gdb.dlang/circular.c: New file.
13228 * gdb.dlang/circular.exp: New file.
13229
9fde51ed
YQ
132302016-02-26 Yao Qi <yao.qi@linaro.org>
13231
13232 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13233 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13234 (testcases): Update.
13235
ce90fefe
YQ
132362016-02-26 Yao Qi <yao.qi@linaro.org>
13237
13238 * gdb.reverse/aarch64.c: Rename to ...
13239 * gdb.reverse/insn-reverse.c: ... it.
13240 * gdb.reverse/aarch64.exp: Rename to ...
13241 * gdb.reverse/insn-reverse.exp: ... it.
13242
3263bceb
YQ
132432016-02-26 Yao Qi <yao.qi@linaro.org>
13244
13245 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13246 (testcase_ftype): New.
13247 (testcases): New array.
13248 (n_testcases): New.
13249 (main): Call each element in testcases.
13250 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13251 (read_testcase): New.
13252 Do the tests in a loop.
13253
6cb59ff1
YQ
132542016-02-25 Yao Qi <yao.qi@linaro.org>
13255
13256 * gdb.base/branches.c: Remove.
13257
ae91f625
MK
132582016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13259
13260 PR gdb/13808
13261 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13262
678b48b7
MK
132632016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13264
13265 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13266
7337a6f2
MK
132672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13268
13269 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13270 change x86_64 call_insn to 'callq'.
13271
861ca91f
AT
132722016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13273
13274 * gdb.trace/tfile-avx.c: Move to...
13275 * gdb.trace/tracefile-pseudo-reg.c: Here.
13276 * gdb.trace/tfile-avx.exp: Move to...
13277 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13278
bf74e428
GB
132792016-02-24 Gary Benson <gbenson@redhat.com>
13280
13281 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13282 message on attach.
13283
cce0e923
DE
132842016-02-23 Doug Evans <dje@google.com>
13285
13286 * gdb.base/skip.c (test_skip): New function.
13287 (end_test_skip_file_and_function): New function.
13288 (test_skip_file_and_function): New function.
13289 * gdb.base/skip1.c (test_skip): New function.
13290 (skip1_test_skip_file_and_function): New function.
13291 * gdb.base/skip.exp: Add tests for new skip options.
13292 * gdb.base/skip-solib.exp: Update expected output.
13293 * gdb.perf/skip-command.cc: New file.
13294 * gdb.perf/skip-command.exp: New file.
13295 * gdb.perf/skip-command.py: New file.
13296
4000e47e
MK
132972016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13298
13299 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13300 info registers pattern.
13301
24f75ead
IB
133022016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13303
13304 * lib/future.exp: Add D support.
13305 (gdb_find_gdc): New proc.
13306 (gdb_default_target_compile): Add D support.
13307
fbb7bcbe
WW
133082016-02-18 Wei-cheng Wang <cole945@gmail.com>
13309
13310 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13311 user+system time.
13312 (trace_speed_test): Determine the iteration count for a time
13313 between 15..30 seconds.
13314
012b3a21
WT
133152016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13316
13317 * gdb.arch/i386-mpx-sigsegv.c: New file.
13318 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13319 * gdb.arch/i386-mpx-simple_segv.c: New file.
13320 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13321
2d5189bd
YQ
133222016-02-18 Yao Qi <yao.qi@linaro.org>
13323
13324 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13325 Don't call setup_kfail.
13326
40fb20d0
YQ
133272016-02-18 Yao Qi <yao.qi@linaro.org>
13328
13329 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13330 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13331
21b1f8d2
DE
133322016-02-16 Doug Evans <dje@google.com>
13333
13334 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13335 * gdb.base/skip1.c: Ditto.
13336 * gdb.base/skip.exp: Whitespace cleanup.
13337
4041ed77
DB
133382016-02-16 Don Breazeal <donb@codesourcery.com>
13339
13340 PR remote/19496
13341 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13342 Remove kfail for PR remote/19496.
13343
c4ef31bf
SM
133442016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13345
13346 * lib/gdb.exp (standard_temp_file): Return a path specific to
13347 the runtest invocation.
13348
266b65b3
SM
133492016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13350
13351 * gdb.trace/save-trace.exp: Change relative path to be in the
13352 standard output directory.
13353
a7a0a6a9
JK
133542016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13355
13356 * gdb.arch/i386-prologue.c: Add missing prototypes.
13357
c99dbb42
JK
133582016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13359
13360 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13361 * gdb.arch/i386-prologue.exp: Likewise.
13362 * gdb.arch/i386-size.exp: Likewise.
13363
aa480355
SM
133642016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13365
13366 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13367 define object file path.
13368 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13369 file path.
13370 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13371 standard_output_file to define binfile.
13372
ba881f50
JK
133732016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13374
13375 Fix compatibility with recent gfortran-5.3.1.
13376 * gdb.fortran/vla-history.exp (print vla1 allocated)
13377 (print vla2 allocated, print $2, print $3): Remove
13378 (print $4): Rename to ...
13379 (print $2): ... here.
13380 (print $9): Rename to ...
13381 (print $5): ... here.
13382 (print $10): Rename to ...
13383 (print $6): ... here.
13384 * gdb.fortran/vla.f90: Add pvla initialization.
13385
e9fb005c
JK
133862016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13387
13388 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13389 New test.
13390 * gdb.fortran/vla-value-sub.exp: Likewise.
13391
e44e00ff
MK
133922016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13393
13394 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13395
97e94151
SM
133962016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13397
13398 * i386-biarch-core.exp: Define corefile using
13399 standard_output_file.
13400
01113bc1
YQ
134012016-02-12 Yao Qi <yao.qi@linaro.org>
13402
13403 * gdb.arch/arm-single-step-kernel-helper.c: New.
13404 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13405
33b4777c
MM
134062016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13407
13408 * gdb.btrace/tailcall-only.exp: New.
13409 * gdb.btrace/tailcall-only.c: New.
13410 * gdb.btrace/x86_64-tailcall-only.S: New.
13411 * gdb.btrace/i686-tailcall-only.S: New.
13412
acc23c11
PA
134132016-02-11 Pedro Alves <palves@redhat.com>
13414
13415 * README (Parallel testing): Add missing double quotes.
13416
e352bf0a
PA
134172016-02-11 Pedro Alves <palves@redhat.com>
13418
13419 * README (Parallel testing): New section.
13420 (GDB_PARALLEL): Rewrite.
13421 (FORCE_PARALLEL): Document.
13422
9f5fed78
MK
134232016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13424
13425 * gdb.trace/tfile-avx.c: New test.
13426 * gdb.trace/tfile-avx.exp: New test.
13427
9ef9e6a6
KS
134282016-02-09 Keith Seitz <keiths@redhat.com>
13429
13430 PR breakpoints/19546
13431 * gdb.base/infcall-exec.c: New file.
13432 * gdb.base/infcall-exec2.c: New file.
13433 * gdb.base/infcall-exec.exp: New file.
13434
a96e36da
KS
134352016-02-09 Keith Seitz <keiths@redhat.com>
13436
13437 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13438 (toplevel): Call test_bkpt_address.
13439
9f61929f
KS
134402016-02-09 Keith Seitz <keiths@redhat.com>
13441
13442 PR python/19506
13443 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13444 (toplevel): Call test_bkpt_address.
13445
1e94266c
SM
134462016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13447
13448 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13449 to AC_OUTPUT.
13450 * configure: Regenerate.
13451
2a7f3dff
PA
134522016-02-09 Pedro Alves <palves@redhat.com>
13453
13454 PR breakpoints/19548
13455 * gdb.base/execl-update-breakpoints.c (some_function): New
13456 function.
13457 (main): Call it.
13458 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13459 Tighten expected GDB output.
13460
2151ccc5
SM
134612016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13462
13463 * Makefile.in (ALL_SUBDIRS): Remove.
13464 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13465 (distclean maintainer-clean realclean): Likewise.
13466 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13467 * configure: Regenerate.
13468 * gdb.ada/Makefile.in: Delete.
13469 * gdb.arch/Makefile.in: Likewise.
13470 * gdb.asm/Makefile.in: Likewise.
13471 * gdb.base/Makefile.in: Likewise.
13472 * gdb.btrace/Makefile.in: Likewise.
13473 * gdb.cell/Makefile.in: Likewise.
13474 * gdb.compile/Makefile.in: Likewise.
13475 * gdb.cp/Makefile.in: Likewise.
13476 * gdb.disasm/Makefile.in: Likewise.
13477 * gdb.dlang/Makefile.in: Likewise.
13478 * gdb.dwarf2/Makefile.in: Likewise.
13479 * gdb.fortran/Makefile.in: Likewise.
13480 * gdb.gdb/Makefile.in: Likewise.
13481 * gdb.go/Makefile.in: Likewise.
13482 * gdb.guile/Makefile.in: Likewise.
13483 * gdb.java/Makefile.in: Likewise.
13484 * gdb.linespec/Makefile.in: Likewise.
13485 * gdb.mi/Makefile.in: Likewise.
13486 * gdb.modula2/Makefile.in: Likewise.
13487 * gdb.multi/Makefile.in: Likewise.
13488 * gdb.objc/Makefile.in: Likewise.
13489 * gdb.opencl/Makefile.in: Likewise.
13490 * gdb.opt/Makefile.in: Likewise.
13491 * gdb.pascal/Makefile.in: Likewise.
13492 * gdb.perf/Makefile.in: Likewise.
13493 * gdb.python/Makefile.in: Likewise.
13494 * gdb.reverse/Makefile.in: Likewise.
13495 * gdb.server/Makefile.in: Likewise.
13496 * gdb.stabs/Makefile.in: Likewise.
13497 * gdb.threads/Makefile.in: Likewise.
13498 * gdb.trace/Makefile.in: Likewise.
13499 * gdb.xml/Makefile.in: Likewise.
13500 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13501 GDB_PARALLEL.
13502 (standard_output_file): Remove check for GDB_PARALLEL, always
13503 return path in outputs/$subdir/$testname.
13504
437277d4
SM
135052016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13506
13507 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13508 (site.exp): Assign abs_srcdir to tcl's srcdir.
13509
31d913c7
YQ
135102016-02-04 Yao Qi <yao.qi@linaro.org>
13511
13512 * gdb.base/foll-exec-mode.c: Include limits.h.
13513 (main): Add parameters argc and argv. Get directory from
13514 argv[0].
13515 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13516 compilation.
13517 * gdb.base/foll-exec.c: Include limits.h.
13518 (main): Add parameters argc and argv.
13519 Get directory from argv[0].
13520 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13521 Adjust tests on the number of lines as source code changed.
13522 * gdb.base/foll-vfork-exit.c: Include limits.h.
13523 (main): Add one line of statement before vfork.
13524 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13525 (main): Add parameters argc and argv. Get directory from
13526 argv[0].
13527 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13528 (setup_gdb): Set tbreak to skip some source lines.
13529 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13530 (main): Add parameters argc and argv. Get directory from
13531 argv[0].
13532 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13533 compilation.
13534 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13535 (main): Add parameters argc and argv. Get directory from
13536 argv[0].
13537 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13538 compilation.
13539
9482b9fb
DE
135402016-02-01 Doug Evans <dje@google.com>
13541
13542 * gdb.base/skip.exp: Clean up multiple references to same test name.
13543
6b2e4f10
PA
135442016-02-01 Pedro Alves <palves@redhat.com>
13545
ccb6afd6 13546 PR remote/19496
6b2e4f10
PA
13547 * gdb.threads/forking-threads-plus-breakpoint.exp
13548 (displaced_stepping_supported): New global.
13549 (probe_displaced_stepping_support): New procedure.
13550 (do_test): Add 'displaced' parameter, and use it.
13551 (top level): Check for displaced stepping support. Add displaced
13552 stepping on/off testing axis.
13553
37a8db1a
AB
135542016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13555
13556 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13557 pointer. Don't perform further tests on the unassociated pointer
13558 if the first test fails.
13559
5fdf6324
AB
135602016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13561
13562 * gdb.base/max-value-size.c: New file.
13563 * gdb.base/max-value-size.exp: New file.
13564 * gdb.base/huge.exp: Disable max-value-size for this test.
13565
935c6144
IB
135662016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13567
13568 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13569
7fe8399d
YQ
135702016-01-28 Yao Qi <yao.qi@linaro.org>
13571
13572 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13573
a2077e25
PA
135742016-01-25 Pedro Alves <palves@redhat.com>
13575
13576 PR threads/19461
13577 * gdb.base/fork-running-state.c: New file.
13578 * gdb.base/fork-running-state.exp: New file.
13579
1d2736d4
PA
135802016-01-25 Pedro Alves <palves@redhat.com>
13581
13582 PR gdb/19494
13583 * gdb.base/catch-fork-kill.c: New file.
13584 * gdb.base/catch-fork-kill.exp: New file.
13585
f1da4b11
PA
135862016-01-25 Pedro Alves <palves@redhat.com>
13587
13588 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13589 Delete, moved to lib/gdb.exp.
13590 * gdb.threads/forking-threads-plus-breakpoint.exp
13591 (foreach_with_prefix): Likewise.
13592 * gdb.threads/process-dies-while-handling-bp.exp
13593 (foreach_with_prefix): Likewise.
13594 * lib/gdb.exp (foreach_with_prefix): New procedure.
13595
45f38546
MK
135962016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13597
13598 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13599 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13600
dc29a1ce
MK
136012016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13602
13603 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13604 endian targets.
13605
092127d7
JK
136062016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13607 Pedro Alves <palves@redhat.com>
13608
13609 Fix testsuite compatibility with Guile.
13610 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13611 number.
13612
31d765d3
JK
136132016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13614
13615 Fix testsuite compatibility with Guile.
13616 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13617 (thread 1): New test for backtrace through signal handler.
13618
1ac78c04
YQ
136192016-01-22 Yao Qi <yao.qi@linaro.org>
13620
13621 PR testsuite/19491
13622 * gdb.base/multi-forks.c: Include
13623 ../lib/unbuffer_output.c
13624 (main): Call gdb_unbuffer_output.
13625
4f5946a8
DE
136262016-01-21 Doug Evans <dje@google.com>
13627
13628 * lib/ada.exp (gdb_compile_ada): Fix typo.
13629
305e13e6
JB
136302016-01-21 Joel Brobecker <brobecker@adacore.com>
13631
13632 * gdb.base/break-fun-addr.exp: New file.
13633 * gdb.base/break-fun-addr1.c: New file.
13634 * gdb.base/break-fun-addr2.c: New file.
13635
5f5dfff6
SM
136362016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13637
13638 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13639 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13640 enum flag values.
13641
fd356fa2
AA
136422016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13643
13644 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13645 when GDB can not set the vector return value. Add more comments
13646 for clarification.
13647
9df22175
AT
136482016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13649
13650 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13651 command.
13652
41d1845e
SM
136532016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13654
13655 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13656
01ac6840
SM
136572016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13658
13659 * Makefile.in (check-single): Pass --status to runtest.
13660 (check/%.exp): Likewise.
13661
136622016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13663
13664 * Makefile.in (check-parallel): Propagate return code from make
13665 do-check-parallel.
13666
bd0a71fa
MK
136672016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13668
13669 * gdb.trace/ftrace.exp: Fix expected message on continue.
13670 * gdb.trace/pending.exp: Fix expected message on continue.
13671 * gdb.trace/trace-break.exp: Fix expected message on continue.
13672
8bcbad33
SM
136732016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13674
13675 * lib/gdb.exp (gdb_test): Remove unused global references.
13676
f303dbd6
PA
136772016-01-18 Pedro Alves <palves@redhat.com>
13678
13679 * gdb.base/async-shell.exp: Adjust expected output.
13680 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13681 * gdb.base/siginfo-thread.exp: Adjust expected output.
13682 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13683 * gdb.java/jnpe.exp: Adjust expected output.
13684 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13685 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13686 * gdb.threads/leader-exit.exp: Adjust expected output.
13687 * gdb.threads/manythreads.exp: Adjust expected output.
13688 * gdb.threads/pthreads.exp: Adjust expected output.
13689 * gdb.threads/schedlock.exp: Adjust expected output.
13690 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13691 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13692 expected output.
13693 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13694 output.
13695 * gdb.threads/sigthread.exp: Adjust expected output.
13696 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13697
b2789696
YQ
136982016-01-18 Yao Qi <yao.qi@linaro.org>
13699
13700 * gdb.guile/scm-section-script.c: Replace @progbits with
13701 %progbits.
13702 * gdb.python/py-section-script.c: Likewise.
13703
71ef29a8
PA
137042016-01-15 Pedro Alves <palves@redhat.com>
13705
13706 * gdb.multi/tids.exp: Test star wildcard ranges.
13707
3f5b7598
PA
137082016-01-15 Pedro Alves <palves@redhat.com>
13709
13710 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13711 command from "thread apply" invocation.
13712 (thr_apply_info_thr_invalid): Default the expected output to the
13713 input tid list.
13714 (top level): Add tests that use convenience variables. Add tests
13715 for "thread apply" with a valid TID list, but missing the command.
13716
663f6d42
PA
137172016-01-13 Pedro Alves <palves@redhat.com>
13718
13719 * gdb.base/default.exp: Expect $_gthread as well.
13720 * gdb.multi/tids.exp: Test $_gthread.
13721 * gdb.threads/thread-specific.exp: Test $_gthread.
13722
c84f6bbf
PA
137232016-01-13 Pedro Alves <palves@redhat.com>
13724
13725 * gdb.multi/tids.exp: Test "info threads -gid".
13726
22a02324
PA
137272016-01-13 Pedro Alves <palves@redhat.com>
13728
13729 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13730 Breakpoint.thread.
13731 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13732
5d5658a1
PA
137332016-01-07 Pedro Alves <palves@redhat.com>
13734
13735 * gdb.base/break.exp: Adjust to output changes.
13736 * gdb.base/hbreak2.exp: Likewise.
13737 * gdb.base/sepdebug.exp: Likewise.
13738 * gdb.base/watch_thread_num.exp: Likewise.
13739 * gdb.linespec/keywords.exp: Likewise.
13740 * gdb.multi/info-threads.exp: Likewise.
13741 * gdb.threads/thread-find.exp: Likewise.
13742 * gdb.multi/tids.c: New file.
13743 * gdb.multi/tids.exp: New file.
13744
84654457
PA
137452016-01-13 Pedro Alves <palves@redhat.com>
13746
13747 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13748
e3940304
PA
137492016-01-13 Pedro Alves <palves@redhat.com>
13750
13751 * gdb.base/default.exp: Expect $_inferior as well.
13752 * gdb.multi/base.exp: Test $_inferior.
13753
a911d87a
PA
137542016-01-13 Pedro Alves <palves@redhat.com>
13755
13756 PR breakpoints/19388
13757 * gdb.base/catch-signal-siginfo-cond.c: New file.
13758 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13759
82075af2
JS
137602016-01-12 Josh Stone <jistone@redhat.com>
13761 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13762
13763 * gdb.base/catch-syscall.c (do_execve): New variable.
13764 (main): Conditionally trigger an execve.
13765 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13766 (test_catch_syscall_execve): New, check entry/return across execve.
13767 (do_syscall_tests): Call test_catch_syscall_execve.
13768
e46eeedd
PA
137692016-01-12 Pedro Alves <palves@redhat.com>
13770
13771 * gdb.base/random-signal.exp (do_test): New procedure, with body
13772 of testcase moved in.
13773
01d8c27e
JK
137742016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13775 Pedro Alves <palves@redhat.com>
13776
13777 * gdb.base/funcargs.exp (finish from indirectly called function):
13778 Reintroduce the case for 'First'.
13779
9a706302
JK
137802016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13781 Pedro Alves <palves@redhat.com>
13782
13783 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13784 (tcatch_vfork_then_child_follow_exec)
13785 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13786 identification.
13787
c0ecb95f
JK
137882016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13789
13790 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13791 and repeats to unlimited.
13792 * gdb.python/py-value.exp: Likewise.
13793 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13794 and repeats to unlimited.
13795
6cfc1fcb
JK
137962016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13797
13798 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13799 and reordering the functions.
13800 * gdb.multi/hangout.c: Likewise.
13801 * gdb.multi/hello.c: Likewise.
13802
582a1b00
SM
138032016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13804
13805 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13806 absolute.
13807 (SingleStatisticTestResult.report): Use dict.keys instead of
13808 dict.iterkeys.
13809
79bc59cb
PA
138102016-01-06 Pedro Alves <palves@redhat.com>
13811
13812 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13813
43368e1d
MM
138142016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13815
13816 * gdb.btrace/dlopen.exp: New.
13817 * gdb.btrace/dlopen.c: New.
13818 * gdb.btrace/dlopen-dso.c: New.
13819
79fad5b8
SL
138202015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13821
13822 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13823 PATTERN argument is optional.
13824
ab8314b3
JB
138252015-12-24 Joel Brobecker <brobecker@adacore.com>
13826
13827 * lib/ada.exp (target_compile_ada_from_dir): New function.
13828 (gdb_compile_ada): Reimplement avoiding the use of project files.
13829 * gdb.ada/gnat_ada.gpr: Delete.
13830 * gdb.ada/cond_lang.exp: Adjust test to make path before
13831 filename optional.
13832 * gdb.ada/small_reg_param.exp: Likewise.
13833
fe33faff
SM
138342015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13835
13836 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13837
6d265cb4
TP
138382015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13839
13840 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13841 case.
13842
10125099
SM
138432015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13844
13845 * gdb.base/break.exp: Remove dead code.
13846 * gdb.base/sepdebug.exp: Likewise.
13847
3ca22649
SM
138482015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13849
13850 * gdb.asm/asm-source.exp: Remove HP-UX references.
13851 * gdb.base/annota1.exp: Likewise.
13852 * gdb.base/annota3.exp: Likewise.
13853 * gdb.base/attach.exp: Likewise.
13854 * gdb.base/bigcore.exp: Likewise.
13855 * gdb.base/break.exp: Likewise.
13856 * gdb.base/call-ar-st.exp: Likewise.
13857 * gdb.base/callfuncs.exp: Likewise.
13858 * gdb.base/catch-fork-static.exp: Likewise.
13859 * gdb.base/display.exp: Likewise.
13860 * gdb.base/foll-exec-mode.exp: Likewise.
13861 * gdb.base/foll-exec.exp: Likewise.
13862 * gdb.base/foll-fork.exp: Likewise.
13863 * gdb.base/foll-vfork.exp: Likewise.
13864 * gdb.base/funcargs.exp: Likewise.
13865 * gdb.base/hbreak2.exp: Likewise.
13866 * gdb.base/inferior-died.exp: Likewise.
13867 * gdb.base/interrupt.exp: Likewise.
13868 * gdb.base/multi-forks.exp: Likewise.
13869 * gdb.base/nodebug.exp: Likewise.
13870 * gdb.base/sepdebug.exp: Likewise.
13871 * gdb.base/solib1.c: Likewise.
13872 * gdb.base/step-test.exp: Likewise.
13873 * gdb.mi/non-stop.c: Likewise.
13874 * gdb.mi/pthreads.c: Likewise.
13875 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13876 * gdb.threads/pthreads.c: Likewise.
13877 * gdb.threads/staticthreads.exp: Likewise.
13878 * lib/future.exp: Likewise.
13879 * lib/gdb.exp: Likewise.
13880 * gdb.base/so-indr-cl.c: Remove.
13881 * gdb.base/so-indr-cl.exp: Likewise.
13882 * gdb.base/solib.c: Likewise.
13883 * gdb.base/solib.exp: Likewise.
13884 * gdb.base/solib2.c: Likewise.
13885
b6304613
SM
138862015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13887
13888 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13889 * gdb.base/call-ar-st.exp: Likewise.
13890 * gdb.base/callfuncs.exp: Likewise.
13891 * gdb.base/condbreak.exp: Likewise.
13892 * gdb.base/constvars.exp: Likewise.
13893 * gdb.base/hbreak2.exp: Likewise.
13894 * gdb.base/langs.exp: Likewise.
13895 * gdb.base/list.exp: Likewise.
13896 * gdb.base/long_long.exp: Likewise.
13897 * gdb.base/ptype.exp: Likewise.
13898 * gdb.base/scope.exp: Likewise.
13899 * gdb.base/signals.exp: Likewise.
13900 * gdb.base/so-impl-ld.exp: Likewise.
13901 * gdb.base/varargs.exp: Likewise.
13902 * gdb.base/volatile.exp: Likewise.
13903 * gdb.base/whatis.exp: Likewise.
13904 * gdb.cp/cplusfuncs.exp: Likewise.
13905 * gdb.cp/inherit.exp: Likewise.
13906 * gdb.cp/local.exp: Likewise.
13907 * gdb.cp/member-ptr.exp: Likewise.
13908 * gdb.cp/method.exp: Likewise.
13909 * gdb.cp/overload.exp: Likewise.
13910 * gdb.cp/templates.exp: Likewise.
13911 * gdb.stabs/weird.exp: Likewise.
13912 * lib/compiler.c: Likewise.
13913 * lib/compiler.cc: Likewise.
13914 * lib/cp-support.exp: Likewise.
13915 * lib/gdb.exp: Likewise.
13916
bf401b07
SM
139172015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13918
13919 * configure.ac: Remove HP-UX case.
13920 * configure: Regenerate.
13921
aff9c0f8
SM
139222015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13923
13924 * lib/gdb.exp (gdb_compile): Add function doc.
13925
a6904d5a
PA
139262015-12-17 Pedro Alves <palves@redhat.com>
13927
13928 PR threads/19354
13929 * gdb.multi/info-threads.exp: New file.
13930
a22279dd
YQ
139312015-12-15 Yao Qi <yao.qi@linaro.org>
13932
13933 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13934 is aarch64*-*-*.
13935
0588c796
SL
139362015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13937
13938 * gdb.base/history-duplicates.exp: Skip if no readline support.
13939
5d978e17
SL
139402015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13941
13942 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13943
7e763b86
SL
139442015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13945
13946 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13947
87a3a92c
SL
139482015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13949
13950 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13951 ctrl-C if nointerrupts target property is set.
13952 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13953 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13954 * gdb.base/paginate-bg-execution.exp: Likewise.
13955 * gdb.base/paginate-execution-startup.exp: Likewise.
13956 * gdb.base/random-signal.exp: Likewise.
13957 * gdb.base/range-stepping.exp: Likewise.
13958 * gdb.cp/annota2.exp: Likewise.
13959 * gdb.cp/annota3.exp: Likewise.
13960 * gdb.gdb/selftest.exp: Likewise.
13961 * gdb.threads/continue-pending-status.exp: Likewise.
13962 * gdb.threads/leader-exit.exp: Likewise.
13963 * gdb.threads/manythreads.exp: Likewise.
13964 * gdb.threads/pthreads.exp: Likewise.
13965 * gdb.threads/schedlock.exp: Likewise.
13966 * gdb.threads/sigthread.exp: Likewise.
13967
a8f077dc
DB
139682015-12-11 Don Breazeal <donb@codesourcery.com>
13969
13970 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13971 remote.
13972 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13973 * gdb.base/foll-exec.exp (main): Enable for target remote.
13974 * gdb.base/foll-fork.exp (main): Likewise.
13975 * gdb.base/foll-vfork.exp (main): Likewise.
13976 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13977 (proc continue_to_exit_bp_loc): Use clean_restart.
13978 * gdb.base/pie-execl.exp (main): Disable for target remote.
13979 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13980 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13981 * gdb.threads/execl.exp (main): Likewise.
13982 * gdb.threads/fork-child-threads.exp (main): Likewise.
13983 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13984 remote.
13985 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13986 remote.
13987 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13988 pid.tid style ptids, instead of just tid.
13989 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13990 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13991 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13992 ptids, instead of just tid.
13993
3b2464a8
AB
139942015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13995
13996 * gdb.base/list.exp (test_list_forward): Add end of file error
13997 test.
13998 (test_repeat_list_command): Add end of file error test.
13999 (test_list_backwards): Add beginning of file error test.
14000
a0def019
AB
140012015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14002
14003 * gdb.base/list.exp (test_list_invalid_args): New function,
14004 defined, and called.
14005
5c000dff
AB
140062015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14007
14008 * gdb.base/list.exp (test_list): Make test names unique.
14009
f1637ebe
YQ
140102015-12-11 Yao Qi <yao.qi@linaro.org>
14011
14012 * gdb.base/coremaker2.c: Remove.
14013
36d6fc0a
PA
140142015-12-10 Pedro Alves <palves@redhat.com>
14015
14016 * gdb.multi/base.exp: Remove stale "spaces" references.
14017
762f7747
PA
140182015-12-10 Pedro Alves <palves@redhat.com>
14019
14020 * gdb.multi/base.exp: Don't use nowarnings.
14021 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14022 * gdb.multi/hangout.c: Include stdio.h.
14023 * gdb.multi/hello.c: Include stdlib.h.
14024 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14025 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14026 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14027
28d2bfb9
AB
140282015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14029
14030 * gdb.dwarf2/dw2-ranges-base.c: New file.
14031 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14032 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14033 support additional line table, and debug ranges generation.
14034 (Dwarf::ranges): New function, generate .debug_ranges.
14035 (Dwarf::lines): Support generating simple line table programs.
14036 (Dwarf::assemble): Initialise new namespace variables.
14037
5fc2beac
KB
140382015-12-09 Kevin Buettner <kevinb@redhat.com>
14039
14040 * gdb.base/async.exp (proc test_background): Add case for
14041 asynchronous execution not supported.
14042
1c35a88f
LM
140432015-12-09 Luis Machado <lgustavo@codesourcery.com>
14044
14045 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14046 format and change test names to make them unique.
14047
b593e3d9
RK
140482015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14049 Pedro Alves <pedro@redhat.com>
14050
14051 PR gdb/18702
14052 Add checking of floatformats setup on x86_64 hosts.
14053 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14054 (smallval, bigval): New labels/constants.
14055 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14056 float" after loading bigval and smallval.
14057
d72413e6
PMR
140582015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14059
14060 * gdb.ada/fun_overload_menu.exp: New testcase.
14061 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14062
ece66d65
JS
140632015-12-04 Josh Stone <jistone@redhat.com>
14064
14065 * gdb.base/catch-fork-static.exp: New.
14066
41d0efca
YQ
140672015-12-03 Yao Qi <yao.qi@linaro.org>
14068
14069 * gdb.base/sizeof.c: Don't include stdio.h and
14070 ../lib/unbuffer_output.c.
14071 (main): New variable 'size' and 'value'. Remove printf and
14072 gdb_unbuffer_output. Assign return value to size and value.
14073 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14074 at the beginning.
14075 (check_sizeof): Check the result by printing variable 'size'.
14076 (check_valueof): Check the result by printing variable 'value'.
14077
99fd02d9
YQ
140782015-12-01 Yao Qi <yao.qi@linaro.org>
14079
14080 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14081 for aarch64*-*-linux* target.
14082
f2faf941
PA
140832015-11-30 Pedro Alves <palves@redhat.com>
14084
14085 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14086
04bf20c5
PA
140872015-11-30 Pedro Alves <palves@redhat.com>
14088
14089 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14090 Handle non-stop mode vCont replies.
14091
09df4675
PA
140922015-11-30 Pedro Alves <palves@redhat.com>
14093
14094 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14095 prepare_for_testing. Start gdb with "set non-stop on" appended to
14096 GDBFLAGS. Lax expected stop output.
14097
58b584af
YQ
140982015-11-27 Yao Qi <yao.qi@linaro.org>
14099
14100 * gdb.arch/arm-neon.exp: New.
14101 * gdb.arch/arm-neon.c: New.
14102
dfcb77a8
YQ
141032015-11-27 Yao Qi <yao.qi@linaro.org>
14104
14105 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14106
88e8ec1b
YQ
141072015-11-27 Yao Qi <yao.qi@linaro.org>
14108
14109 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14110 frames-invalid annotation.
14111
bfde72c2
YQ
141122015-11-27 Yao Qi <yao.qi@linaro.org>
14113
14114 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14115
f6512a69
SM
141162015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14117
14118 * gdb.threads/names.exp: New file.
14119 * gdb.threads/names.c: New file.
14120 * README: Mention gdb,no_thread_names.
14121
46a3515b
MM
141222015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14123
14124 PR 19297
14125 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14126 support" error.
14127
62147a22
PA
141282015-11-24 Pedro Alves <palves@redhat.com>
14129
14130 PR 17539
14131 * gdb.base/display.exp: Expect displays to be sorted in ascending
14132 order. Use multi_line.
14133 * gdb.base/solib-display.exp: Likewise.
14134
2f341b6e
PA
141352015-11-24 Pedro Alves <palves@redhat.com>
14136
14137 PR 17539
25d49b86
PA
14138 * gdb.base/display.exp: Expect displays to be sorted in ascending
14139 order. Use multi_line.
14140 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14141
7e0aa6aa
PA
141422015-11-24 Pedro Alves <palves@redhat.com>
14143
14144 PR 17539
14145 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14146 threads in ascending order.
14147 * gdb.base/foll-fork.exp: Likewise.
14148 * gdb.base/foll-vfork.exp: Likewise.
14149 * gdb.base/multi-forks.exp: Likewise.
14150 * gdb.mi/mi-nonstop.exp: Likewise.
14151 * gdb.mi/mi-nsintrall.exp: Likewise.
14152 * gdb.multi/base.exp: Likewise.
14153 * gdb.multi/multi-arch.exp: Likewise.
14154 * gdb.python/py-inferior.exp: Likewise.
14155 * gdb.threads/break-while-running.exp: Likewise.
14156 * gdb.threads/execl.exp: Likewise.
14157 * gdb.threads/gcore-thread.exp: Likewise.
14158 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14159 * gdb.threads/kill.exp: Likewise.
14160 * gdb.threads/linux-dp.exp: Likewise.
14161 * gdb.threads/multiple-step-overs.exp: Likewise.
14162 * gdb.threads/next-bp-other-thread.exp: Likewise.
14163 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14164 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14165 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14166 * gdb.threads/thread-find.exp: Likewise.
14167 * gdb.threads/tls.exp: Likewise.
14168 * lib/mi-support.exp (mi_reverse_list): Delete.
14169 (mi_check_thread_states): No longer reverse list.
14170
2cc57ad8
PA
141712015-11-24 Pedro Alves <palves@redhat.com>
14172
14173 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14174 use lowercase.
14175
c93e8391
SM
141762015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14177
14178 * gdb.trace/actions.c: Include trace-common.h.
14179 (main): Add a location for a fast tracepoint.
14180 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14181 the normal tracepoints.
14182 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14183
045ccf91
SM
141842015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14185
14186 * save-trace.exp: Factor out code to these...
14187 (gdb_save_tracepoints): New.
14188 (gdb_load_tracepoints): New.
14189 (do_save_load_test): New.
14190
5506f9f6
KB
141912015-11-23 Kevin Buettner <kevinb@redhat.com>
14192
14193 * gdb.base/asmlabel.exp: New test.
14194 * gdb.base/asmlabel.c: New test case.
14195
16c3b12f
JB
141962015-11-23 Joel Brobecker <brobecker@adacore.com>
14197
14198 * gdb.base/wrong_frame_bt_full-main.c: New file.
14199 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14200 * gdb.base/wrong_frame_bt_full.exp: New file.
14201
155bfbd3
JB
142022015-11-23 Joel Brobecker <brobecker@adacore.com>
14203
14204 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14205
bb097445
JM
142062015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14207
206853a0 14208 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14209 pstate register when comparing registers values in
14210 sparc64-*-linux-gnu targets to avoid spurious differences.
14211
9c88ed8f
JM
142122015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14213
206853a0 14214 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14215
96161e25
SL
142162015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14217
14218 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14219 as type argument to gdb_compile.
14220 * gdb.base/nested-subp2.exp: Likewise.
14221 * gdb.base/nested-subp3.exp: Likewise.
14222
340c2830
DV
142232015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14224
14225 * lib/dwarf.exp (_note): Fix left shift of negative value.
14226 * gdb.trace/trace-condition.exp: Likewise.
14227
c1862d0f
YQ
142282015-11-13 Yao Qi <yao.qi@linaro.org>
14229
14230 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14231 comments about d10v.
14232 (test_scalar_returns): Likewise.
14233 * gdb.base/d10v.ld: Remove.
14234 * gdb.base/overlays.exp: Remove the target triplet checking for
14235 d10v-*-*.
14236 * gdb.base/structs.exp (test_struct_returns): Remove the
14237 comments about d10v.
14238 (test_struct_calls): Likewise.
14239
77ae9c19
YQ
142402015-11-13 Yao Qi <yao.qi@linaro.org>
14241
14242 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14243 * gdb.base/gnu_vector.c: Don't include stdio.h.
14244 (main): Don't print res and call add_some_intvecs.
14245
430e004e
MK
142462015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14247
14248 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14249 macro.
14250 (func5): Removed.
14251 (func4): Use FAST_TRACEPOINT_LABEL.
14252 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14253 macro.
14254 (func): Removed.
14255 (thread_function): Use FAST_TRACEPOINT_LABEL.
14256 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14257 (func): Remove.
14258 (marker): Use FAST_TRACEPOINT_LABEL.
14259 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14260 (pendfunc1): Remove.
14261 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14262 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14263 (foo): Remove.
14264 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14265 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14266 macro.
14267 (func): Remove.
14268 (marker): Use FAST_TRACEPOINT_LABEL.
14269 * gdb.trace/trace-common.h: New header.
14270 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14271 macro.
14272 (func): Remove.
14273 (marker): Use FAST_TRACEPOINT_LABEL.
14274 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14275 (func): Remove.
14276 (thread_function): Use FAST_TRACEPOINT_LABEL.
14277
6e7675a7
MK
142782015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14279
14280 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14281 in front.
14282 * gdb.trace/change-loc.exp: Use global pcreg definition.
14283 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14284 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14285 in front.
14286 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14287 * gdb.trace/pending.exp: Likewise.
14288 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14289 * gdb.trace/trace-break.exp: Likewise.
14290 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14291 in front.
14292 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14293 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14294 in front.
14295 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14296
dddc0e16
JB
142972015-11-09 Joel Brobecker <brobecker@adacore.com>
14298
14299 * gdb.ada/fin_fun_out: New testcase.
14300
c6f0b406
KB
143012015-11-07 Kevin Buettner <kevinb@redhat.com>
14302
14303 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14304 value associated with DW_AT_byte_size.
14305 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14306 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14307 DW_AT_upper_bound.
14308
f01dcfd9
KB
143092015-11-07 Kevin Buettner <kevinb@redhat.com>
14310
14311 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14312 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14313 version.
14314 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14315 gdb.dwarf2/dw2-canonicalize-type.exp,
14316 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14317 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14318 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14319 provided by gdb_target_symbol_prefix_flags_asm.
14320 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14321 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14322 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14323 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14324 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14325 macros where needed). Use this macro for symbols which require
14326 the prefix provided by SYMBOL_PREFIX.
14327
2223449a
KB
143282015-11-05 Kevin Buettner <kevinb@redhat.com>
14329
14330 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14331 New procs.
14332 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14333 representing expressions, of more than one list element.
14334 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14335 to prepend linker symbol prefix to f.
14336 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14337 table_1 and table_2.
14338 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14339 Likewise, for f and g.
14340 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14341 for ptr.
14342 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14343 for main.
14344 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14345 table_1_ptr and table_2_ptr.
14346
6f2f1a3a
JK
143472015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14348 Joel Brobecker <brobecker@adacore.com>
14349
14350 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14351
566c56c9
MK
143522015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14353
14354 * gdb.reverse/s390-mvcle.c: New test.
14355 * gdb.reverse/s390-mvcle.exp: New file.
14356 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14357
d5f0636b
MK
143582015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14359
14360 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14361
7ad8b86c
MK
143622015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14363
14364 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14365 reaching marker2.
14366 * gdb.reverse/getresuid-reverse.exp: Likewise.
14367 * gdb.reverse/pipe-reverse.exp: Likewise.
14368 * gdb.reverse/readv-reverse.exp: Likewise.
14369 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14370 * gdb.reverse/time-reverse.exp: Likewise.
14371 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14372
4081c0f1
YQ
143732015-10-30 Yao Qi <yao.qi@linaro.org>
14374
14375 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14376 (empty_cycle): Remove.
14377 (main): Don't call empty_cycle. Don't use watch_count_done.
14378 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14379 empty_cycle. Rewrite the code counting HW watchpoints.
14380
452b4ba5
MK
143812015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14382
14383 * gdb.reverse/fstatat-reverse.c: New test.
14384 * gdb.reverse/fstatat-reverse.exp: New file.
14385 * gdb.reverse/getresuid-reverse.c: New test.
14386 * gdb.reverse/getresuid-reverse.exp: New file.
14387 * gdb.reverse/pipe-reverse.c: New test.
14388 * gdb.reverse/pipe-reverse.exp: New file.
14389 * gdb.reverse/readv-reverse.c: New test.
14390 * gdb.reverse/readv-reverse.exp: New file.
14391 * gdb.reverse/recvmsg-reverse.c: New test.
14392 * gdb.reverse/recvmsg-reverse.exp: New file.
14393 * gdb.reverse/time-reverse.c: New test.
14394 * gdb.reverse/time-reverse.exp: New file.
14395 * gdb.reverse/waitpid-reverse.c: New test.
14396 * gdb.reverse/waitpid-reverse.exp: New file.
14397
5e2e7507
JK
143982015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14399
14400 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14401
0fde2c53
DE
144022015-10-26 Doug Evans <dje@google.com>
14403
14404 PR symtab/17391
14405 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14406 * gdb.dwarf2/bad-regnum.c: New file.
14407 * gdb.dwarf2/bad-regnum.exp: New file.
14408
1a70ae97
DE
144092015-10-26 Doug Evans <dje@google.com>
14410
14411 PR python/18938
14412 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14413 file.
14414
27dc26ab
JK
144152015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14416
14417 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14418 for a change by "Mention language in compile error message".
14419
bed91f4d
SM
144202015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14421
14422 PR python/18073
14423 * gdb.python/py-type.c (C::a_method): New.
14424 (C::a_const_method): New.
14425 (C::a_static_method): New.
14426 (a_function): New.
14427 * gdb.python/py-type.exp (test_fields): Test getting fields
14428 from function and method.
14429
3f2f83dd
KB
144302015-10-21 Keven Boell <keven.boell@intel.com>
14431
14432 * gdb.fortran/vla-alloc-assoc.exp: New file.
14433 * gdb.fortran/vla-datatypes.exp: New file.
14434 * gdb.fortran/vla-datatypes.f90: New file.
14435 * gdb.fortran/vla-history.exp: New file.
14436 * gdb.fortran/vla-ptype-sub.exp: New file.
14437 * gdb.fortran/vla-ptype.exp: New file.
14438 * gdb.fortran/vla-sizeof.exp: New file.
14439 * gdb.fortran/vla-sub.f90: New file.
14440 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14441 * gdb.fortran/vla-value-sub-finish.exp: New file.
14442 * gdb.fortran/vla-value-sub.exp: New file.
14443 * gdb.fortran/vla-value.exp: New file.
14444 * gdb.fortran/vla-ptr-info.exp: New file.
14445 * gdb.mi/mi-vla-fortran.exp: New file.
14446 * gdb.mi/vla.f90: New file.
14447
27145d50
SL
144482015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14449
14450 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14451 of hardwired timeout value.
14452
5f3ff4f8
JK
144532015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14454 Pedro Alves <palves@redhat.com>
14455
14456 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14457 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14458
bfd09d20
JS
144592015-10-19 Josh Stone <jistone@redhat.com>
14460
14461 * gdb.base/catch-syscall.c: Include <sched.h>.
14462 (unknown_syscall): New variable.
14463 (main): Trigger a vfork and an unknown syscall.
14464 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14465 (unknown_syscall_number): Likewise.
14466 (check_call_to_syscall): Accept an optional syscall pattern.
14467 (check_return_from_syscall): Likewise.
14468 (check_continue): Likewise.
14469 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14470 (test_catch_syscall_skipping_return): New test toggling off 'catch
14471 syscall' to step over the syscall return, then toggling back on.
14472 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14473 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14474 (do_syscall_tests): Call test_catch_syscall_without_args and
14475 test_catch_syscall_mid_vfork.
14476 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14477 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14478
b32b93c6
AS
144792015-10-19 Andrew Stubbs <ams@codesourcery.com>
14480
14481 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14482 print g_vE): Add new pass patterns.
14483 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14484 print various symbol names for vptr fields.
14485
9d622bda
AB
144862015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14487
14488 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14489 results.
14490
0fd8ac1c
YQ
144912015-10-12 Yao Qi <yao.qi@linaro.org>
14492
14493 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14494
34240514
YQ
144952015-10-12 Yao Qi <yao.qi@linaro.org>
14496
14497 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14498 is aarch64*-*-linux*.
14499
8240f442
YQ
145002015-10-12 Yao Qi <yao.qi@linaro.org>
14501
14502 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14503 (can_relocate_bcond_true): ... it.
14504 (can_relocate_bcond_false): New function.
14505 (foo): Likewise.
14506 (can_relocate_bl): Likewise.
14507 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14508 can_relocate_bl.
14509
2520f728
PMR
145102015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14511
14512 * gdb.base/nested-addr.c: New file.
14513 * gdb.base/nested-addr.exp: New testcase.
14514
abcef95a
MM
145152015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14516
14517 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14518 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14519 its output. Ignore the output of "record goto begin" and instead
14520 check that GDB is replaying.
14521
145e3ddb
PA
145222015-10-09 Pedro Alves <palves@redhat.com>
14523
14524 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14525 (top level): Use it in the run with no args test.
14526
d5d8c4e1
IB
145272015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14528
14529 * gdb.dlang/properties.exp: New file.
14530
06e635ef
SL
145312015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14532
14533 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14534 whether or not address 0x1000 is mapped on the target.
14535
e019fd1d
SM
145362015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14537
14538 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14539 build.
14540
77ba2a67
MM
145412015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14542
14543 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14544 instruction-history test.
14545
c60eb31f
DE
145462015-09-28 Doug Evans <dje@google.com>
14547
14548 * gdb.base/gcore.c (array_func): Add reference to static_array.
14549
9a3c8263
SM
145502015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14551
14552 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14553 source line.
14554
9720e656
SL
145552015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14556
14557 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14558 short or char as base type.
14559
938d3bf2
SL
145602015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14561
14562 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14563 to allow any size enum.
14564
e6c2c623
PMR
145652015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14566
14567 * gdb.ada/array_ptr_renaming.exp: New testcase.
14568 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14569 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14570
06da0f77
PL
145712015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14572
14573 * gdb.trace/ftrace-lock.c: New file.
14574 * gdb.trace/ftrace-lock.exp: New file.
14575
4f51c22a
PL
145762015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14577
14578 * gdb.arch/insn-reloc.c: New file.
14579 * gdb.arch/ftrace-insn-reloc.exp: New file.
14580
7041adf4
PL
145812015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14582
14583 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14584 instruction.
14585 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14586 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14587 * gdb.trace/range-stepping.c: Likewise.
14588 * gdb.trace/trace-break.c: Likewise.
14589 * gdb.trace/trace-mt.c (thread_function): Likewise.
14590 * gdb.trace/ftrace.c (marker): Likewise.
14591 * gdb.trace/trace-condition.c (marker): Likewise.
14592 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14593 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14594 is_aarch64_target.
14595
015d2e7e
DE
145962015-09-18 Doug Evans <xdje42@gmail.com>
14597
14598 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14599 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14600
26b188a2
SL
146012015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14602
14603 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14604 the breakpoint.
14605
79dc332b
SL
146062015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14607
14608 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14609 the pending breakpoint. Remove timeout override for "Run till
14610 MI pending breakpoint on pendfunc3 on thread 2" test.
14611
f57929f2
SL
146122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14613
14614 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14615 filename pattern.
14616
3f469b17
SL
146172015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14618
14619 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14620 in breakpoint filename pattern.
14621
515b89b3
SL
146222015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14623
7800dbe4
SL
14624 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14625
146262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14627
515b89b3
SL
14628 * gdb.linespec/explicit.exp: Check for readline support for
14629 tab-completion tests. Fix obvious typo.
14630
d2939ba2
MM
146312015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14632
14633 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14634 and replay.
14635
cbb55fa7
MM
146362015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14637
14638 * gdb.btrace/non-stop.c: New.
14639 * gdb.btrace/non-stop.exp: New.
14640
43691ca1
PL
146412015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14642 Yao Qi <yao.qi@linaro.org>
14643
14644 * gdb.trace/trace-condition.c: New file.
14645 * gdb.trace/trace-condition.exp: New file.
14646
d78908cf
WW
146472015-09-16 Wei-cheng Wang <cole945@gmail.com>
14648
14649 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14650 for testing bytecode compilation.
14651
1ed415e2
PA
146522015-09-16 Pedro Alves <palves@redhat.com>
14653 Sandra Loosemore <sandra@codesourcery.com>
14654
14655 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14656 (SECONDS): Redefine.
14657 (main): Call pthread_kill and alarm early.
14658 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14659 support.
14660 (test): If the target can't hardware step and doesn't support
14661 displaced stepping, increase the timeout.
14662
d136eff5
PA
146632015-09-16 Pedro Alves <palves@redhat.com>
14664
14665 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14666 (enable_debug): New procedures.
14667 (test): Use them. Bail out if waiting for threads fails.
14668 (top level): Bail out if a test fails.
14669
991f019c
YQ
146702015-09-16 Yao Qi <yao.qi@linaro.org>
14671
14672 * gdb.asm/asm-source.exp: Set asm-arch for
14673 aarch64*-*-* target.
14674 * gdb.asm/aarch64.inc: New file.
14675
bfca584f
PMR
146762015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14677
14678 * gdb.ada/array_of_variable_length.exp: New testcase.
14679 * gdb.ada/array_of_variable_length/foo.adb: New file.
14680 * gdb.ada/array_of_variable_length/pck.adb: New file.
14681 * gdb.ada/array_of_variable_length/pck.ads: New file.
14682
b326e587
DE
146832015-09-15 Doug Evans <dje@google.com>
14684
14685 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14686 of function static local variable.
14687
5382cfab
PW
146882015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14689
14690 * gdb.threads/tls-so_extern.exp: New test file.
14691 * gdb.threads/tls-so_extern.c: New test file.
14692 * gdb.threads/tls-so_extern_main.c: New test file.
14693
141c5cc4
JK
146942015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14695
14696 * gdb.opt/solib-intra-step-lib.c: New file.
14697 * gdb.opt/solib-intra-step-main.c: New file.
14698 * gdb.opt/solib-intra-step.exp: New file.
14699
d15dcecd
PA
147002015-09-15 Pedro Alves <palves@redhat.com>
14701
14702 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14703 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14704
4c2f2a79
PA
147052015-09-14 Pedro Alves <palves@redhat.com>
14706
14707 * gdb.base/hook-stop-continue.c: Delete.
14708 * gdb.base/hook-stop-continue.exp: Delete.
14709 * gdb.base/hook-stop-frame.c: Delete.
14710 * gdb.base/hook-stop-frame.exp: Delete.
14711 * gdb.base/hook-stop.c: New file.
14712 * gdb.base/hook-stop.exp: New file.
14713
919e6dbe
PMR
147142015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14715
14716 * gdb.ada/access_to_packed_array.exp: New testcase.
14717 * gdb.ada/access_to_packed_array/foo.adb: New file.
14718 * gdb.ada/access_to_packed_array/pack.adb: New file.
14719 * gdb.ada/access_to_packed_array/pack.ads: New file.
14720
157280a4
MM
147212015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14722
14723 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14724 buffer size test.
14725
2fd33e94
DB
147262015-09-11 Don Breazeal <donb@codesourcery.com>
14727
14728 * gdb.base/foll-exec.c: Add copyright header. Fix
14729 formatting issues.
14730 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14731 (do_exec_tests): Use clean_restart in place of zap_session,
14732 and for test initialization. Fix formatting issues. Use
14733 fail in place of perror.
14734 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14735 an expect statement to match an expression with output from
14736 the program under debug.
14737 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14738 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14739 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14740 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14741 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14742
e70b6e8e
DE
147432015-09-09 Doug Evans <dje@google.com>
14744
14745 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14746
7a551a51
DE
147472015-09-09 Doug Evans <dje@google.com>
14748
14749 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14750
4c666f84
DE
147512015-09-09 Doug Evans <dje@google.com>
14752
14753 * gdb.base/savedregs.exp: Fix typo.
14754
243a9253
PA
147552015-09-09 Pedro Alves <palves@redhat.com>
14756
14757 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14758
c0fa8fbd
SL
147592015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14760
14761 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14762 command actually switches threads. Give up on remaining
14763 tests if target fails to stop at breakpoint.
14764
cd7c1778
PMR
147652015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14766
14767 * gdb.ada/funcall_char.exp: New testcase.
14768 * gdb.ada/funcall_char/foo.adb: New file.
14769
dc5c8746
PMR
147702015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14771
14772 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14773 expected outputs. Add two testcases for completing ambiguous
14774 functions.
14775 * gdb.ada/complete/aux_pck.adb: New file.
14776 * gdb.ada/complete/aux_pck.ads: New file.
14777 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14778 Ambiguous_Func functions.
14779 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14780 * gdb.ada/complete/pck.adb: Likewise.
14781
4e83a1e7
UW
147822015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14783
14784 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14785 failures to run the test program under GDB.
14786
8ce74153
LM
147872015-08-26 Luis Machado <lgustavo@codesourcery.com>
14788
14789 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14790 to C.
14791
e9756d52
PP
147922015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14793
14794 * gdb.base/run-after-attach.exp: New test file.
14795 * gdb.base/run-after-attach.c: New test file.
14796
8d37573b
DB
147972015-08-26 Don Breazeal <donb@codesourcery.com>
14798
14799 * gdb.base/foll-exec-2.c: New test program.
14800 * gdb.base/foll-exec-2.exp: New test.
14801
63e43d3a
PMR
148022015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14803
14804 * gdb.base/nested-subp1.exp: New file.
14805 * gdb.base/nested-subp1.c: New file.
14806 * gdb.base/nested-subp2.exp: New file.
14807 * gdb.base/nested-subp2.c: New file.
14808 * gdb.base/nested-subp3.exp: New file.
14809 * gdb.base/nested-subp3.c: New file.
14810
3d40fbb5
PA
148112015-08-24 Pedro Alves <palves@redhat.com>
14812
14813 * gdb.server/connect-without-multi-process.c: New file.
14814 * gdb.server/connect-without-multi-process.exp: New file.
14815
4422ac93
LM
148162015-08-24 Luis Machado <lgustavo@codesourcery.com>
14817
14818 * gdb.opt/inline-markers.c: Make z int.
14819
91dddb86
LM
148202015-08-24 Luis Machado <lgustavo@codesourcery.com>
14821
14822 * gdb.opt/inline-markers.c: Make z volatile.
14823
a48847ee
LM
148242015-08-24 Luis Machado <lgustavo@codesourcery.com>
14825
14826 * gdb.opt/inline-bt.c: New volatile global z.
14827 * gdb.opt/inline-cmds.c: Likewise.
14828 * gdb.opt/inline-locals.c: Likewise.
14829 * gdb.opt/inline-markers.c: New extern global z.
14830 (marker): Use z.
14831 (inline_fn): Likewise.
14832
0ebbc52b
PA
148332015-08-24 Pedro Alves <palves@redhat.com>
14834
14835 * config/m32r-stub.exp: Remove file.
14836 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14837 * gdb.base/call-rt-st.exp: Likewise.
14838 * gdb.base/call-strs.exp: Likewise.
14839 * gdb.base/default.exp: Remove references to h8300-*-hms and
14840 *-*-udi*.
14841 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14842
77c365df
AA
148432015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14844
14845 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14846 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14847 and "return" use KFAIL when GDB can not read/write the vector
14848 return value.
14849
4313b8c0
GB
148502015-08-21 Gary Benson <gbenson@redhat.com>
14851
14852 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14853
0e433b32
PA
148542015-08-20 Pedro Alves <palves@redhat.com>
14855
14856 * gdb.server/solib-list.exp: No longer expect an interior stop in
14857 non-stop mode.
14858
221e1a37
PA
148592015-08-20 Pedro Alves <palves@redhat.com>
14860
14861 * gdb.server/connect-stopped-target.c: New file.
14862 * gdb.server/connect-stopped-target.exp: New file.
14863
40e3ad0e
PA
148642015-08-20 Pedro Alves <palves@redhat.com>
14865
14866 * gdb.dwarf2/comp-unit-lang.exp: New file.
14867 * gdb.dwarf2/comp-unit-lang.c: New file.
14868
af39b327
PMR
148692015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14870
14871 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14872 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14873
7d45c7c3 148742015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 14875
7d45c7c3
KB
14876 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14877 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14878
4d6cceb4
DE
148792015-08-18 Doug Evans <dje@google.com>
14880 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14881
14882 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14883 skip_python_tests. New arg prompt_regexp.
14884 (skip_python_tests): New function.
14885 * lib/mi-support.exp (mi_skip_python_tests): New function.
14886 * gdb.python/py-mi-objfile-gdb.py: New file.
14887 * gdb.python/py-mi-objfile.c: New file.
14888 * gdb.python/py-mi-objfile.exp: New file.
14889
ad89c2aa
KS
148902015-08-17 Keith Seitz <keiths@redhat.com>
14891
14892 * gdb.linespec/explicit.exp: Move strace test from here ...
14893 * gdb.trace/strace.exp: ... to here.
14894
e3ae3c43
PP
148952015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14896
14897 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14898 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14899
604b2636
DE
149002015-08-14 Doug Evans <xdje42@gmail.com>
14901
14902 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14903 inferior before selecting a new file.
14904
6ff0ba5f
DE
149052015-08-14 Doug Evans <xdje42@gmail.com>
14906
14907 * gdb.mi/mi-disassemble.exp: Update.
14908 * gdb.base/disasm-optim.S: New file.
14909 * gdb.base/disasm-optim.c: New file.
14910 * gdb.base/disasm-optim.h: New file.
14911 * gdb.base/disasm-optim.exp: New file.
14912
9ca98f92
KS
149132015-08-14 Keith Seitz <keiths@redhat.com>
14914
14915 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14916 "evaluated-by".
14917
52bbc560
JB
149182015-08-13 Joel Brobecker <brobecker@adacore.com>
14919
14920 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14921
5d8c3ed3
PMR
149222015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14923
14924 * gdb.ada/fun_renaming.exp: New testcase.
14925 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14926 * gdb.ada/fun_renaming/pack.adb: New file.
14927 * gdb.ada/fun_renaming/pack.ads: New file.
14928
ea8812bc
KS
149292015-08-12 Keith Seitz <keiths@redhat.com>
14930
14931 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14932 gdb_get_line_number.
14933
4dafcdeb
JB
149342015-08-12 Joel Brobecker <brobecker@adacore.com>
14935
14936 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14937 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14938 gdb.base/dso2dso.exp: New files.
14939
5ba32597
SDJ
149402015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14941 Pedro Alves <palves@redhat.com>
14942 Keith Seitz <keiths@redhat.com>
14943
14944 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14945 GDBFLAGS.
14946
b6dafabf
PP
149472015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14948
14949 * gdb.base/gdbhistsize-history.exp
14950 (test_histsize_history_setting): Use save_vars.
14951 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14952 Use save_vars.
14953 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14954 * gdb.base/readline.exp: Use save_vars.
14955
abe8e607
PP
149562015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14957
14958 * lib/gdb.exp (save_vars): New proc.
14959
629500fa
KS
149602015-08-11 Keith Seitz <keiths@redhat.com>
14961
14962 * gdb.base/help.exp: Update help_breakpoint_text.
14963
eb8c4e2e
KS
149642015-08-11 Keith Seitz <keiths@redhat.com>
14965
14966 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14967 (at toplevel): Call test_explicit_breakpoints.
14968 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14969 breakpoints.
14970 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14971 breakpoint conditions, "-cond".
14972
87f0e720
KS
149732015-08-11 Keith Seitz <keiths@redhat.com>
14974
14975 * gdb.linespec/3explicit.c: New file.
14976 * gdb.linespec/cpexplicit.cc: New file.
14977 * gdb.linespec/cpexplicit.exp: New file.
14978 * gdb.linespec/explicit.c: New file.
14979 * gdb.linespec/explicit.exp: New file.
14980 * gdb.linespec/explicit2.c: New file.
14981 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14982 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14983 before using in the matching pattern.
14984 Clarify that `prefix' is a regular expression.
14985
f00aae0f
KS
149862015-08-11 Keith Seitz <keiths@redhat.com>
14987
14988 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14989 test.
14990 Add tests for missing ",FMT" and ",".
14991
e27852be
DE
149922015-08-10 Doug Evans <dje@google.com>
14993 Keith Seitz <keiths@redhat.com>
14994
14995 PR gdb/17960
14996 * gdb.base/completion.exp: Add location completer tests.
14997
7f03bd92
PA
149982015-08-07 Pedro Alves <palves@redhat.com>
14999
15000 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15001 tests here.
15002 (top level): Run do_test with and without displaced stepping.
15003
3fc8eb30
PA
150042015-08-07 Pedro Alves <palves@redhat.com>
15005
15006 * gdb.base/valgrind-disp-step.c: New file.
15007 * gdb.base/valgrind-disp-step.exp: New file.
15008
d4569d7b
PA
150092015-08-07 Pedro Alves <palves@redhat.com>
15010
15011 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15012 Delete function.
15013 (main): Add alarm. Run an infinite loop instead of calling
15014 wait_threads.
15015 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15016 comment.
15017 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15018 Delete function.
15019 (main): Add alarm. Run an infinite loop instead of calling
15020 wait_threads.
15021 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15022 comment.
15023
e1316e60
PA
150242015-08-07 Pedro Alves <palves@redhat.com>
15025
15026 * gdb.base/checkpoint-ns.exp: New file.
15027 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15028 standard_testfile.
15029
da8c46d2
MM
150302015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15031
15032 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15033 * gdb.btrace/instruction_history.exp: Update.
15034 * gdb.btrace/tsx.exp: New.
15035 * gdb.btrace/tsx.c: New.
15036
de1c2c52
PA
150372015-08-06 Pedro Alves <palves@redhat.com>
15038
15039 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15040 increase timeout.
15041 * gdb.reverse/until-precsave.exp: Bump timeouts.
15042
782e0bf4
PA
150432015-08-06 Pedro Alves <palves@redhat.com>
15044
15045 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15046
83e97ed0
PA
150472015-08-06 Pedro Alves <palves@redhat.com>
15048
15049 PR gdb/18749
15050 * gdb.threads/process-dies-while-handling-bp.c: New file.
15051 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15052
863d01bd
PA
150532015-08-06 Pedro Alves <palves@redhat.com>
15054
15055 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15056 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15057
0a39bb32
PA
150582015-08-05 Pedro Alves <palves@redhat.com>
15059
15060 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15061 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15062
ee2d2b10
SL
150632015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15064
15065 * gdb.base/bp-permanent.exp: Report test as unsupported if
15066 the target cannot stop at the permanent breakpoint.
15067
4e1bdb00
DE
150682015-08-03 Doug Evans <dje@google.com>
15069
15070 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15071 10000.
15072
3d338901
DE
150732015-08-03 Doug Evans <dje@google.com>
15074
15075 * Makefile.in (workers/%.worker, build-perf): New rule.
15076 (GDB_PERFTEST_MODE): New variable.
15077 (check-perf): Use it.
15078 (clean): Clean up gdb.perf parallel build subdirs.
15079 * lib/build-piece.exp: New file.
15080 * lib/gdb.exp (make_gdb_parallel_path): New function
15081 (standard_output_file, standard_temp_file): Call it.
15082 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15083 of $GDB_PARALLEL.
15084 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15085
af061d3e
DE
150862015-08-03 Doug Evans <dje@google.com>
15087
8e1afc81 15088 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15089 (LOG_FILE_NAME): New global.
15090 (TextReporter.__init__): Initialize self.txt_sum.
15091 (TextReporter.report): Add support for multiple data-points.
15092 Move report to perftest.sum, put raw data in perftest.log.
15093 (TextReporter.start): Open sum and log files.
15094 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15095 * gdb.perf/lib/perftest/testresult.py
15096 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15097
2c8c5d37
PA
150982015-07-31 Pedro Alves <palves@redhat.com>
15099
15100 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15101 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15102 kill_wait_spawned_process instead of explicit "kill -9".
15103 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15104 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15105 kill_wait_spawned_process.
15106 * gdb.base/attach-twice.exp: Likewise.
15107 * gdb.base/attach.exp: Likewise.
15108 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15109 gdb_test_multiple.
15110 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15111 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15112 kill_wait_spawned_process.
15113 * gdb.base/valgrind-infcall.exp: Likewise.
15114 * gdb.multi/multi-attach.exp: Likewise.
15115 * gdb.python/py-prompt.exp: Likewise.
15116 * gdb.python/py-sync-interp.exp: Likewise.
15117 * gdb.server/ext-attach.exp: Likewise.
15118 * gdb.threads/attach-into-signal.exp (corefunc): Use
15119 spawn_wait_for_attach, spawn_id_get_pid and
15120 kill_wait_spawned_process.
15121 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15122 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15123 spawn_id_get_pid and kill_wait_spawned_process.
15124 * gdb.threads/attach-stopped.exp (corefunc): Use
15125 spawn_wait_for_attach, spawn_id_get_pid and
15126 kill_wait_spawned_process.
15127 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15128 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15129 kill_wait_spawned_process instead of explicit "kill -9".
15130 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15131 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15132 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15133 processes. Don't map cygwin/windows pids here. Now returns a
15134 spawn id list.
15135
032a0fca
SL
151362015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15137
15138 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15139 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15140 correct patch.
15141
61a934ca
SL
151422015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15143
15144 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15145
4bc4d428
SL
151462015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15147
15148 Reapply:
15149 2014-05-21 Mark Wielaard <mjw@redhat.com>
15150
15151 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15152
998d452a
PA
151532015-07-30 Pedro Alves <palves@redhat.com>
15154
15155 * linux-low.c (handle_extended_wait): Set the child's last
15156 reported status to TARGET_WAITKIND_STOPPED.
15157
69dde7dc
PA
151582015-07-30 Pedro Alves <palves@redhat.com>
15159
15160 PR threads/18600
15161 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15162 only shows inferior 1.
15163
4dd63d48
PA
151642015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15165 Pedro Alves <palves@redhat.com>
15166
15167 PR threads/18600
15168 * gdb.threads/fork-plus-threads.c: New file.
15169 * gdb.threads/fork-plus-threads.exp: New file.
15170
d618e4c5
PP
151712015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15172
15173 * gdb.base/batch-preserve-term-settings.exp
15174 (test_terminal_settings_preserved_after_cli_exit): Use
15175 send_quit_command.
15176
1eef6428
PA
151772015-07-29 Pedro Alves <palves@redhat.com>
15178 Don Breazeal <donb@codesourcery.com>
15179
15180 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15181 output from both inferior_spawn_id and gdb_spawn_id.
15182
7da5b897
SDJ
151832015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15184
15185 * gdb.threads/attach-into-signal.exp (corefunc): Use
15186 with_test_prefix on nested loops, uniquefying the test messages.
15187
dac804df
SDJ
151882015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15189
15190 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15191 commit.
15192
06265e53
PP
151932015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15194
15195 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15196 New proc.
15197 (test_terminal_settings_preserved_after_sigterm): New test.
15198
18206ca3
PP
151992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15200
15201 * gdb.base/batch-preserve-term-settings.exp
15202 (test_terminal_settings_preserved_after_cli_exit): New test.
15203
90074d11
PP
152042015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15205
15206 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15207 manipulation of saved_gdbflags.
15208 (test_terminal_settings_preserved): Remove global declaration of
15209 the unused variable pagination_prompt. Remove manipulation of
15210 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15211 GDBFLAGS.
15212
eb1a7902
PA
152132015-07-29 Pedro Alves <palves@redhat.com>
15214
15215 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15216
8b75dd3b
PA
152172015-07-29 Pedro Alves <palves@redhat.com>
15218
15219 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15220 at the top.
15221
dedad4e3
PA
152222015-07-29 Pedro Alves <palves@redhat.com>
15223
15224 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15225 (main): Call gdb_unbuffer_output.
15226 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15227 (main): Call gdb_unbuffer_output.
15228 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15229 (main): Call gdb_unbuffer_output.
15230 * gdb.base/call-strs.exp: Adjust to step over the
15231 gdb_unbuffer_output call.
15232 * gdb.base/catch-gdb-caused-signals.c: Include
15233 "../lib/unbuffer_output.c".
15234 (main): Call gdb_unbuffer_output.
15235 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15236 (main): Call gdb_unbuffer_output.
15237 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15238 (main): Call gdb_unbuffer_output.
15239 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15240 (main): Call gdb_unbuffer_output.
15241 * gdb.base/shlib-call.exp: Adjust to step over the
15242 gdb_unbuffer_output call.
15243 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15244 (main): Call gdb_unbuffer_output.
15245 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15246 (main): Call gdb_unbuffer_output.
15247 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15248 (main): Rename to ...
15249 (test): ... this.
15250 (main): Reimplement.
15251 * gdb.base/varargs.exp: Run to test instead of to main.
15252 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15253 (main): Call gdb_unbuffer_output.
15254
58789a91
PA
152552015-07-29 Pedro Alves <palves@redhat.com>
15256
15257 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15258 factore out from mi_continue_dprintf. For call-style dprintfs,
15259 expect dprintf output out of $inferior_spawn_id.
15260 (mi_continue_dprintf): Use mi_expect_dprintf.
15261 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15262 (main): Call gdb_unbuffer_output.
15263
e8376742
PA
152642015-07-29 Pedro Alves <palves@redhat.com>
15265
15266 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15267 (default_mi_gdb_start): Set inferior_spawn_id instead of
15268 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15269 gdb_spawn_id.
15270 (mi_gdb_test): Always expect inferior output from both
15271 $inferior_spawn_id and $gdb_spawn_id.
15272
08280010
PA
152732015-07-29 Pedro Alves <palves@redhat.com>
15274
15275 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15276 send_inferior and $inferior_spawn_id.
15277
4d30e432
PA
152782015-07-29 Pedro Alves <palves@redhat.com>
15279
15280 * gdb.gdb/complaints.exp (test_initial_complaints)
15281 (test_serial_complaints, test_short_complaints): Use
15282 gdb_test_stdio.
15283 (test_empty_complaint): Handle $inferior_spawn_id !=
15284 $gdb_spawn_id.
15285
0d30a335
PA
152862015-07-29 Pedro Alves <palves@redhat.com>
15287
15288 * gdb.base/varargs.exp: Use gdb_test_stdio.
15289
39413b29
PA
152902015-07-29 Pedro Alves <palves@redhat.com>
15291
15292 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15293
7cb000a9
PA
152942015-07-29 Pedro Alves <palves@redhat.com>
15295
15296 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15297
d7b8ac82
PA
152982015-07-29 Pedro Alves <palves@redhat.com>
15299
15300 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15301 parameter into two new parameters, "inf_result" and "gdb_result".
15302 Expect inferior output and gdb output from $inferior_spawn_id and
15303 $gdb_spawn_id, respectively. Adjust all callers.
15304
789c3a0c
PA
153052015-07-29 Pedro Alves <palves@redhat.com>
15306
15307 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15308 of gdb_test_sequence.
15309
77e760c3
PA
153102015-07-29 Pedro Alves <palves@redhat.com>
15311
15312 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15313 (saw_spurious_output): Expect inferior output from
15314 $inferior_spawn_id. Use gdb_test_stdio.
15315
8396d2cd
PA
153162015-07-29 Pedro Alves <palves@redhat.com>
15317
15318 * gdb.base/dprintf.exp: Use standard_testfile. Change
15319 prepare_for_testing call.
15320 (srcfile): Don't set.
15321 (restart): New procedure.
15322 (test_dprintf): New procecure, use to continue over dprintfs.
15323 (test_call, test_agent): New procedures, tests moved here.
15324 Restart gdb and recreate dprintfs. Adjust expected output.
15325
2051d61f
PA
153262015-07-29 Pedro Alves <palves@redhat.com>
15327
15328 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15329
452397af
PA
153302015-07-29 Pedro Alves <palves@redhat.com>
15331
15332 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15333
8aed9555
PA
153342015-07-29 Pedro Alves <palves@redhat.com>
15335
15336 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15337 gdb_test_stdio.
15338
188a61b4
PA
153392015-07-29 Pedro Alves <palves@redhat.com>
15340
15341 * lib/gdb.exp (gdb_test_stdio): New procedure.
15342
12264a45
PA
153432015-07-29 Pedro Alves <palves@redhat.com>
15344
15345 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15346
23ffc893
PA
153472015-07-29 Pedro Alves <palves@redhat.com>
15348
15349 * gdb.base/call-signal-resume.exp: Remove check for
15350 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15351 * gdb.base/unwindonsignal.exp: Likewise.
15352 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15353 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15354
65566918
PA
153552015-07-29 Pedro Alves <palves@redhat.com>
15356
15357 * gdb.base/siginfo-addr.c (pass): New function.
15358 (handler): Call it iff si_addr is correct.
15359 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15360 Set a breakpoint at "pass" and continue to it.
15361
d60a9221
SDJ
153622015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15363
15364 * gdb.python/py-objfile.exp: Make some tests have unique names.
15365 * gdb.python/py-pp-registration.exp: Likewise.
15366
bde40b8f
PA
153672015-07-28 Pedro Alves <palves@redhat.com>
15368
15369 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15370
13e1dec8
SM
153712015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15372
15373 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15374
da33c9a7
SM
153752015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15376
15377 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15378
077836f7
PP
153792015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15380
15381 * gdb.base/gdb-sigterm-2.exp: New test.
15382
b8cc7b2e
DE
153832015-07-25 Doug Evans <xdje42@gmail.com>
15384
15385 Revert:
15386 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15387 (workers/%.worker, build-perf): New rule.
15388 (GDB_PERFTEST_MODE): New variable.
15389 (check-perf): Use it.
15390 (clean): Clean up gdb.perf parallel build subdirs.
15391 * lib/build-piece.exp: New file.
15392 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15393 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15394 name.
15395 (standard_temp_file): Ditto.
15396 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15397 of $GDB_PARALLEL.
15398
c8bd4544
DE
153992015-07-24 Doug Evans <dje@google.com>
15400
15401 * gdb.perf/lib/perftest/utils.py: New file.
15402 * gdb.perf/gm-hello.cc: New file.
15403 * gdb.perf/gm-pervasive-typedef.cc: New file.
15404 * gdb.perf/gm-pervasive-typedef.h: New file.
15405 * gdb.perf/gm-std.cc: New file.
15406 * gdb.perf/gm-std.h: New file.
15407 * gdb.perf/gm-use-cerr.cc: New file.
15408 * gdb.perf/gm-utils.h: New file.
15409 * gdb.perf/gmonster-null-lookup.py: New file.
15410 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15411 * gdb.perf/gmonster-print-cerr.py: New file.
15412 * gdb.perf/gmonster-ptype-string.py: New file.
15413 * gdb.perf/gmonster-runto-main.py: New file.
15414 * gdb.perf/gmonster-select-file.py: New file.
15415 * gdb.perf/gmonster1-null-lookup.exp: New file.
15416 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15417 * gdb.perf/gmonster1-print-cerr.exp: New file.
15418 * gdb.perf/gmonster1-ptype-string.exp: New file.
15419 * gdb.perf/gmonster1-runto-main.exp: New file.
15420 * gdb.perf/gmonster1-select-file.exp: New file.
15421 * gdb.perf/gmonster1.cc: New file.
15422 * gdb.perf/gmonster1.exp: New file.
15423 * gdb.perf/gmonster2-null-lookup.exp: New file.
15424 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15425 * gdb.perf/gmonster2-print-cerr.exp: New file.
15426 * gdb.perf/gmonster2-ptype-string.exp: New file.
15427 * gdb.perf/gmonster2-runto-main.exp: New file.
15428 * gdb.perf/gmonster2-select-file.exp: New file.
15429 * gdb.perf/gmonster2.cc: New file.
15430 * gdb.perf/gmonster2.exp: New file.
15431
6eab34f3
DE
154322015-07-24 Doug Evans <dje@google.com>
15433
15434 * gdb.perf/README: New file.
15435 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15436 * lib/gen-perf-test.exp: New file.
15437
63738bfd
DE
154382015-07-24 Doug Evans <dje@google.com>
15439
15440 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15441 (PerfTest::startup): New function.
15442 (PerfTest::run): Return result of calling body.
15443 (PerfTest::assemble): Rewrite.
15444 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15445 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15446 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15447 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15448 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15449
7b606f95
DE
154502015-07-24 Doug Evans <dje@google.com>
15451
15452 * lib/gdb.exp (clean_restart): Make executable optional.
15453
a97b16b8
DE
154542015-07-24 Doug Evans <dje@google.com>
15455
15456 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15457 compiler_info references.
15458 * gdb.cp/temargs.exp: Ditto.
15459 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15460 (get_compiler_info): Early exit if already computed. Set compiler_info
15461 to "unknown" if there was a problem.
15462 (test_compiler_info): Add function comment. Call get_compiler_info.
15463
35baa57f
DE
154642015-07-24 Doug Evans <dje@google.com>
15465
15466 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15467 (workers/%.worker, build-perf): New rule.
15468 (GDB_PERFTEST_MODE): New variable.
15469 (check-perf): Use it.
15470 (clean): Clean up gdb.perf parallel build subdirs.
15471 * lib/build-piece.exp: New file.
15472 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15473 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15474 name.
15475 (standard_temp_file): Ditto.
15476 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15477 of $GDB_PARALLEL.
15478
6ebea266
DE
154792015-07-24 Doug Evans <dje@google.com>
15480
15481 * lib/future.exp (gdb_default_target_compile): New option
15482 "early_flags".
15483 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15484 --as-needed.
15485
1e76a7e9
SDJ
154862015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15487
15488 * gdb.base/catch-syscall.exp: Call gdb_exit before
15489 gdb_skip_xml_test.
15490
5068630a
PA
154912015-07-24 Pedro Alves <palves@redhat.com>
15492
15493 * gdb.python/py-events.exp: Accept output between the stop event
15494 and the prompt.
15495 * gdb.python/py-evsignal.exp: Likewise.
15496 * gdb.python/py-evthreads.exp: Likewise.
15497
77598427
PA
154982015-07-24 Pedro Alves <palves@redhat.com>
15499
15500 PR gdb/18717
15501 * gdb.threads/non-ldr-exit.c: New file.
15502 * gdb.threads/non-ldr-exit.exp: New file.
15503
11e6c98f
YQ
155042015-07-24 Yao Qi <yao.qi@linaro.org>
15505
15506 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15507 restarting process.
15508
51aee833
YQ
155092015-07-24 Yao Qi <yao.qi@linaro.org>
15510
15511 * gdb.server/ext-restart.exp: New file.
15512
8cfe207c
YQ
155132015-07-24 Yao Qi <yao.qi@linaro.org>
15514
15515 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15516 argument options.
15517 * gdb.server/ext-wrapper.exp: New file.
15518
cc12ce38
DE
155192015-07-23 Doug Evans <dje@google.com>
15520
15521 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15522 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15523
d0d84780
PMR
155242015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15525
15526 * gdb.ada/var_arr_typedef.exp: New testcase.
15527 * gdb.ada/var_arr_typedef/pack.adb: New file.
15528 * gdb.ada/var_arr_typedef/pack.ads: New file.
15529 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15530
8b558f79
JB
155312015-07-20 Joel Brobecker <brobecker@adacore.com>
15532
15533 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15534
775a3298
JK
155352015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15536
15537 * gdb.arch/i386-biarch-core.exp: Replace istarget
15538 by "complete set gnutarget". Remove expectation for the "core-file"
15539 command.
15540
db1ff28b
JK
155412015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15542
15543 Revert the previous commit:
15544 Tests for validate symbol file using build-id.
15545
0a94970d
JK
155462015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15547
15548 Tests for validate symbol file using build-id.
15549 * gdb.base/solib-mismatch-lib.c: New file.
15550 * gdb.base/solib-mismatch-libmod.c: New file.
15551 * gdb.base/solib-mismatch.c: New file.
15552 * gdb.base/solib-mismatch.exp: New file.
15553
03346981
SL
155542015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15555
15556 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15557 nios2-*-linux*.
15558 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15559 * gdb.base/siginfo.exp: Likewise.
15560 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15561
42422cc7
PL
155622015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15563
15564 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15565 Move it to ...
15566 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15567 ... here.
15568 * gdb.trace/range-stepping.exp: Check that the target supports
15569 range stepping.
15570
cfa68bae
JK
155712015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15572
15573 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15574
8ffdba26
PA
155752015-07-14 Pedro Alves <palves@redhat.com>
15576
15577 * gdb.base/killed-outside.exp: New file.
15578 * gdb.base/killed-outside.c: New file.
15579
218a5a11
JK
155802015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15581
15582 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15583 (n at main): New.
15584 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15585
e03ed3c6
AA
155862015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15587
15588 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15589 infcall tests instead of setting up for KFAIL.
15590
485668e5
MM
155912015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15592
15593 * gdb.btrace/record_goto-step.exp: New.
15594
08464196
JK
155952015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15596
15597 PR compile/18484
15598 * gdb.compile/compile.c (struct struct_type): Add volatile to
15599 selffield's type.
15600 * gdb.compile/compile.exp
15601 (compile code struct_object.selffield = &struct_object): Skip further
15602 struct_object tests if this one xfails.
15603
bcf5c1d9
RC
156042015-07-08 Robert O'Callahan <robert@ocallahan.org>
15605
15606 PR exp/18617
15607 * gdb.trace/ax.exp: Add test.
15608
4931af25
YQ
156092015-07-07 Yao Qi <yao.qi@linaro.org>
15610
15611 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15612 instead of istarget "aarch64*-*-*".
15613 * gdb.arch/aarch64-fp.exp: Likewise.
15614 * gdb.base/float.exp: Likewise.
15615 * gdb.reverse/aarch64.exp: Likewise.
15616 * lib/gdb.exp (is_aarch64_target): New proc.
15617
9fcf688e
YQ
156182015-07-07 Yao Qi <yao.qi@linaro.org>
15619
15620 * lib/gdb.exp (is_aarch32_target): New proc.
15621 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15622 instead of "istarget "arm*-*-*"".
15623 * gdb.arch/arm-disp-step.exp: Likewise.
15624 * gdb.arch/thumb-bx-pc.exp: Likewise.
15625 * gdb.arch/thumb-prologue.exp: Likewise.
15626 * gdb.arch/thumb-singlestep.exp: Likewise.
15627 * gdb.base/disp-step-syscall.exp: Likewise.
15628 * gdb.base/float.exp: Likewise.
15629
fbd8d50d
YQ
156302015-07-07 Yao Qi <yao.qi@linaro.org>
15631
15632 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15633 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15634
71be1fdc
YQ
156352015-07-07 Yao Qi <yao.qi@linaro.org>
15636
15637 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15638 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15639 if it exists.
15640 * gdb.multi/multi-arch.exp: Likewise.
15641
3e221d36
SM
156422015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15643
15644 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15645 print.
15646
d441430b
YQ
156472015-07-07 Yao Qi <yao.qi@linaro.org>
15648
15649 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15650
06f810bd
MG
156512015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15652
15653 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15654 '[' and ']' characters.
15655
5e61e7c0
IB
156562015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15657
15658 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15659
28bf096c
PA
156602015-06-29 Pedro Alves <palves@redhat.com>
15661
15662 PR threads/18127
15663 * gdb.threads/hand-call-new-thread.c: New file.
15664 * gdb.threads/hand-call-new-thread.c: New file.
15665
ee93cd5e
KS
156662015-06-26 Keith Seitz <keiths@redhat.com>
15667 Doug Evans <dje@google.com>
15668
15669 PR 16253
15670 * gdb.cp/var-tag-2.cc: New file.
15671 * gdb.cp/var-tag-3.cc: New file.
15672 * gdb.cp/var-tag-4.cc: New file.
15673 * gdb.cp/var-tag.cc: New file.
15674 * gdb.cp/var-tag.exp: New file.
15675
fc637f04
PP
156762015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15677
15678 * gdb.base/history-duplicates.exp: New test.
15679
2e52ae68
PP
156802015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15681
15682 * gdb.base/completion.exp: Test the completion of the "focus"
15683 command.
15684
6e22494e
JK
156852015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15686
15687 * gdb.arch/amd64-prologue-skip.S: New file.
15688 * gdb.arch/amd64-prologue-skip.exp: New file.
15689
bf7b9cd9
SM
156902015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15691
15692 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15693 is_address_zero_readable check.
15694
201e8dfd
PB
156952015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15696
15697 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15698 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15699
5cd867b4
YQ
157002015-06-24 Yao Qi <yao.qi@linaro.org>
15701
15702 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15703 linux targets.
15704
4d7be007
YQ
157052015-06-24 Yao Qi <yao.qi@linaro.org>
15706
15707 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15708 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15709 * gdb.base/siginfo-thread.exp: Likewise.
15710
07fcd301
YQ
157112015-06-22 Yao Qi <yao.qi@linaro.org>
15712
15713 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15714
52042a00
YQ
157152015-06-22 Yao Qi <yao.qi@linaro.org>
15716
15717 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15718 aarch64*-*-*.
15719 (skip_hw_watchpoint_tests): Likewise.
15720
74bd41ce
PP
157212015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15722
15723 * gdb.base/gdbinit-history.exp: Test the interaction between
15724 setting GDBHISTSIZE and setting the history size via .gdbinit.
15725
bc460514
PP
157262015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15727
15728 PR gdb/16999
15729 * gdb.base/gdbhistsize-history.exp: New test.
15730
b58c513b
PP
157312015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15732
15733 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15734 with GDBHISTSIZE.
15735 * gdb.base/readline.exp: Likewise.
15736
92046791
YQ
157372015-06-17 Yao Qi <yao.qi@linaro.org>
15738
15739 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15740 line.
15741
2093d2d3
PP
157422015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15743
15744 * gdb.base/gdbinit-history.exp: Add test case to check that
15745 an unlimited history file does not get truncated on exit.
15746
e6c693af
AA
157472015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15748
15749 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15750 (VECTOR): New macro. Use it...
15751 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15752 ...for these typedefs.
15753 (int8, char1, int1, double1): New typedefs.
15754 (struct just_int2, struct two_int2): New structures.
15755 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15756 (add_structvecs, add_singlevecs): New functions.
15757 (main): Call add_some_intvecs twice.
15758 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15759 the compile and exit upon failure. Try compiling for the "native"
15760 architecture. Test inferior function calls with vector arguments
15761 and vector return value handling with "finish" and "return".
15762
c74f7d1c
JT
157632015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15764
15765 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15766 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15767 PE file.
15768 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15769
98aa42ee
AT
157702015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15771
15772 PR breakpoints/16465
15773 * gdb.mi/mi-dprintf-pending.c: New file.
15774 * gdb.mi/mi-dprintf-pending.exp: New test.
15775 * gdb.mi/mi-dprintf-pendshr.c: New file.
15776
7d73c23c 157772015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 15778 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
15779
15780 * gdb.arch/i386-mpx-map.c: New file.
15781 * gdb.arch/i386-mpx-map.exp: New File.
15782
157832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15784
15785 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15786 * gdb.arch/i386-mpx.exp: Indentation fixed.
15787
157882015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15789
15790 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15791 function and improved indentation.
15792 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15793 gdb_test_multiple. Added additional tests to skip the test.
15794
157952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15796
15797 * gdb.arch/i386-avx512.c: Change path in include file.
15798 * gdb.arch/i386-avx512.exp: Change include dir path
15799 compilation flag.
15800 * gdb.arch/i386-mpx.c: Change path in include file.
15801 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15802 flag.
15803
d5eba19a
JK
158042015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15805
15806 * gdb.compile/compile-print.exp (compile print *vararray@3)
15807 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15808
7f361056
JK
158092015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15810
15811 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15812 (do not keep jit in memory): ... this.
15813 (expect 5): Change it to ...
15814 (expect no 5): ... this.
15815
3b462ec2
SM
158162015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15817
15818 PR gdb/15564
15819 * gdb.mi/mi-detach.exp: New file.
15820
e0619de6
JK
158212015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15822
15823 PR symtab/18392
15824 * gdb.arch/amd64-tailcall-self.S: New file.
15825 * gdb.arch/amd64-tailcall-self.c: New file.
15826 * gdb.arch/amd64-tailcall-self.exp: New file.
15827
e970cb34
DB
158282015-05-28 Don Breazeal <donb@codesourcery.com>
15829
15830 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15831 tests for remote targets by checking is_target_gdbserver.
15832
b2e2f908
DE
158332015-05-27 Doug Evans <dje@google.com>
15834
15835 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15836 * gdb.dwarf2/opaque-type-lookup.c: New file.
15837 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15838
82c7be31
DE
158392015-05-26 Doug Evans <dje@google.com>
15840
15841 * gdb.cp/iostream.cc: New file.
15842 * gdb.cp/iostream.exp: New file.
15843
b4f54984
DE
158442015-05-26 Doug Evans <dje@google.com>
15845
15846 * gdb.dwarf2/dw2-op-call.exp: Update.
15847 * gdb.dwarf2/dw4-sig-types.exp: Update.
15848 * gdb.dwarf2/implptr.exp: Update.
15849 * gdb.mi/mi-cmd-param-changed.exp: Update.
15850
4ea6efe9
DE
158512015-05-26 Doug Evans <dje@google.com>
15852
15853 * gdb.python/py-lazy-string.c: New file.
15854 * gdb.python/py-lazy-string.exp: New file.
15855 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15856 (main): Update. Add estring3.
15857 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15858 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15859
f6bb7db3
YQ
158602015-05-26 Omair Javaid <omair.javaid@linaro.org>
15861 Yao Qi <yao.qi@linaro.org>
15862
15863 * gdb.reverse/aarch64.c: New.
15864 * gdb.reverse/aarch64.exp: New.
15865
a81bfbd0
OJ
158662015-05-26 Omair Javaid <omair.javaid@linaro.org>
15867
25d49b86
PA
15868 * lib/gdb.exp (supports_process_record): Return true for
15869 aarch64*-linux*.
a81bfbd0
OJ
15870 (supports_reverse): Likewise.
15871
158bf1b4
PP
158722015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15873
15874 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15875 Use with_test_prefix.
15876
a0145030
AB
158772015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15878
15879 * gdb.base/completion.exp: Add test for completion of layout
15880 names.
15881
ebe3b578
AB
158822015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15883
15884 * lib/gdb.exp (skip_tui_tests): New proc.
15885 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15886
84204ed7
PA
158872015-05-19 Pedro Alves <palves@redhat.com>
15888
15889 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15890 Save the whole env array instead of just HOME. Unset HISTSIZE in
15891 the environment while testing. Restore whole environment
15892 afterwards.
15893
37442ce1
DE
158942015-05-16 Doug Evans <xdje42@gmail.com>
15895
15896 * gdb.guile/scm-ports.c: New file.
15897 * gdb.guile/scm-ports.exp: Add memory port tests.
15898
36de76f9
JK
158992015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15900
15901 * gdb.compile/compile-print.c: New file.
15902 * gdb.compile/compile-print.exp: New file.
15903
3a9558c4
JK
159042015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15905
15906 * gdb.compile/compile-ops.exp: Cast param to void.
15907 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15908 (compile code struct_object.selffield = &struct_object): Add xfail.
15909
aa715135
JG
159102015-05-15 Joel Brobecker <brobecker@adacore.com>
15911
15912 * gdb.ada/arr_enum_with_gap: New testcase.
15913
931e5bc3
JG
159142015-05-15 Joel Brobecker <brobecker@adacore.com>
15915
15916 * gdb.ada/byte_packed_arr: New testcase.
15917
9cd4d857
JB
159182015-05-15 Joel Brobecker <brobecker@adacore.com>
15919
15920 * gdb.ada/pckd_neg: New testcase.
15921
ebfd00d2
PP
159222015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15923
15924 PR gdb/17820
15925 * gdb.base/gdbinit-history.exp: New test.
15926 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15927 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15928
4c082a81
SC
159292015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15930
15931 * gdb.python/py-xmethods.cc: Enhance test case.
15932 * gdb.python/py-xmethods.exp: New tests.
15933 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15934 function.
15935 (B_indexoper): Likewise.
15936 (global_dm_list) : Add new xmethod worker functions.
15937
f7797074
SDJ
159382015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15939
15940 * gdb.base/coredump-filter.exp: Correctly unset
15941 "coredump_var_addr" array.
15942
a4674e4e
PA
159432015-05-08 Pedro Alves <palves@redhat.com>
15944
15945 * gdb.server/non-existing-program.exp: Unset spawn_id.
15946
df2eb078
SC
159472015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15948
15949 PR python/18291
15950 * gdb.python/py-xmethods.exp: Add tests.
15951
422349a3
YQ
159522015-05-08 Yao Qi <yao.qi@linaro.org>
15953
15954 PR gdb/18208
15955 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15956 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15957 function set_coredump_filter, and remove remote_exec call.
15958 Remove argument ipid. Callers update.
15959 (top level): Don't get inferior's PID.
15960
63fc80ce
AA
159612015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15962
15963 * gdb.base/watch_thread_num.exp: Skip test on targets without
15964 access watchpoints.
15965
80ad801e
PA
159662015-05-06 Pedro Alves <palves@redhat.com>
15967
15968 PR server/18081
15969 * gdb.server/non-existing-program.exp: New file.
15970
0fa7fe50
JB
159712015-05-05 Joel Brobecker <brobecker@adacore.com>
15972
15973 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15974
3ea89b92
PMR
159752015-05-05 Joel Brobecker <brobecker@adacore.com>
15976
15977 * gdb.ada/out_of_line_in_inlined: New testcase.
15978
87b8eff0
JB
159792015-05-05 Joel Brobecker <brobecker@adacore.com>
15980
15981 * gdb.ada/var_rec_arr: New testcase.
15982
5fccc635
YQ
159832015-04-30 Yao Qi <yao.qi@linaro.org>
15984
15985 * gdb.base/break-idempotent.exp: If
15986 skip_hw_watchpoint_multi_tests returns true, skip the tests
15987 on "rwatch" and "awatch".
15988
42d38f42
YQ
159892015-04-30 Yao Qi <yao.qi@linaro.org>
15990
15991 * gdb.base/relativedebug.exp: Invoke gdb command
15992 "info sharedlibrary", and if libc.so doesn't have debug info,
15993 skip the test.
15994
2ce1cdbf
DE
159952015-04-29 Doug Evans <dje@google.com>
15996
15997 * gdb.python/py-xmethods.exp: Add ptype tests.
15998 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15999 get_result_type method.
16000
f24a38c5
LM
160012015-04-29 Luis Machado <lgustavo@codesourcery.com>
16002
16003 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16004 the target does not support hardware watchpoints.
16005
ecbf2b3c
LM
160062015-04-29 Luis Machado <lgustavo@codesourcery.com>
16007
16008 * gdb.base/break-always.exp: Abort testing if writing to memory
16009 causes an error.
16010
34f5f757
DE
160112015-04-28 Doug Evans <dje@google.com>
16012
16013 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16014 * gdb.python/py-pp-registration.exp: ... here. New file.
16015 * gdb.python/py-pp-registration.c: New file.
16016 * gdb.python/py-pp-registration.py: New file.
16017
69b4374a
DE
160182015-04-28 Doug Evans <dje@google.com>
16019
16020 * gdb.python/py-bad-printers.c: New file.
16021 * gdb.python/py-bad-printers.py: New file.
16022 * gdb.python/py-bad-printers.exp: New file.
16023
59fb7612
SS
160242015-04-28 Sasha Smundak <asmundak@google.com>
16025
16026 * gdb.python/py-type.exp: New test.
16027
2631b16a
AW
160282015-04-28 Andy Wingo <wingo@igalia.com>
16029
16030 * gdb.python/py-parameter.exp:
16031 * gdb.guile/scm-parameter.exp: Escape the path that we are
16032 matching against, as it might contain characters that are special
16033 to regular expressions.
16034
460efde1
JB
160352015-04-27 Joel Brobecker <brobecker@adacore.com>
16036
16037 * gdb.ada/rec_comp: New testcase.
16038
2d369d8e
SDJ
160392015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16040
16041 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16042 before using it.
16043
cf75d6c3
AB
160442015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16045
16046 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16047 new tests for verilog output.
16048
8dbe7ca5
YQ
160492015-04-24 Yao Qi <yao.qi@linaro.org>
16050
16051 * boards/remote-gdbserver-on-localhost.exp: New file.
16052
4ef9fb2f
PA
160532015-04-23 Pedro Alves <palves@redhat.com>
16054
16055 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16056 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16057 "end of file", remove $inferior_spawn_id from the indirect list.
16058
0a803169
PA
160592015-04-23 Pedro Alves <palves@redhat.com>
16060
16061 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16062
749ef8f8
PA
160632015-04-23 Pedro Alves <palves@redhat.com>
16064
16065 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16066 on $any_spawn_id instead of only on $gdb_spawn_id.
16067
8aae4344
PM
160682015-04-21 Pierre Muller <muller@sourceware.org>
16069
16070 PR pascal/17815
16071 * lib/pascal.exp (gpc_compile): Add new option "class".
16072 (fpc_compile): Likewise.
16073 * gdb.pascal/case-insensitive-symbols.pas: New file.
16074 * gdb.pascal/case-insensitive-symbols.exp: New file.
16075
1586c8fb
GB
160762015-04-20 Gary Benson <gbenson@redhat.com>
16077
16078 * gdb.base/attach.exp: Fix three extended remote failures.
16079
1b6e6f5c
GB
160802015-04-17 Gary Benson <gbenson@redhat.com>
16081
16082 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16083 the main executable over the remote protocol.
16084
e797481d
PA
160852015-04-16 Pedro Alves <palves@redhat.com>
16086
16087 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16088 a new gdbserver if gdbserver_reconnect_p is set.
16089
1ca99c42
PA
160902015-04-16 Pedro Alves <palves@redhat.com>
16091
16092 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16093 is set, don't exit gdbserver.
16094
af9fd6f8
AA
160952015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16096
16097 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16098 appropriate .insn, such that an older assembler can be used.
16099 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16100 the z/Architecture instruction set on 31-bit targets as well.
16101
04ff1e61
AA
161022015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16103
16104 * gdb.go/handcall.exp: Remove all logic related to the first
16105 breakpoint and rely on go_runto_main instead.
16106 * gdb.go/strings.exp: Likewise.
16107 * gdb.go/unsafe.exp: Likewise.
16108 * gdb.go/hello.exp: Likewise. Also rename the remaining
16109 breakpoint marker to "breakpoint 1".
16110 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16111 * gdb.go/strings.go: Likewise.
16112 * gdb.go/unsafe.go: Likewise.
16113 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16114 "set breakpoint 2 here" and rename the remaining breakpoint marker
16115 to "breakpoint 1".
16116
40d2f8d6
SM
161172015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16118
16119 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16120 if itertools.imap is not present.
16121 * gdb.python/py-objfile.exp: Add parentheses.
16122 * gdb.python/py-type.exp: Same.
16123 * gdb.python/py-unwind-maint.py: Same.
16124
8cbc97c6
YQ
161252015-04-15 Yao Qi <yao.qi@linaro.org>
16126
16127 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16128 of ":$ptr_size" and set its form explicitly.
16129
45fd756c
YQ
161302015-04-15 Pedro Alves <palves@redhat.com>
16131 Yao Qi <yao.qi@linaro.org>
16132
16133 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16134 timeout by factor of 4.
16135 (test_regular_watch): Likewise.
16136 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16137 * gdb.reverse/sigall-reverse.exp: Likewise.
16138 * gdb.reverse/until-precsave.exp: Likewise.
16139 * lib/gdb.exp (with_timeout_factor): New proc.
16140 (gdb_expect): Move some code to ...
16141 (get_largest_timeout): ... here. New procedure.
16142
9e811bc3
LM
161432015-04-14 Luis Machado <lgustavo@codesourcery.com>
16144
16145 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16146
0ff6fcb2
LM
161472015-04-13 Luis Machado <lgustavo@codesourcery.com>
16148
16149 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16150 to write to the .text section.
16151
7578d5f7
LM
161522015-04-13 Luis Machado <lgustavo@codesourcery.com>
16153
16154 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16155 Handle the case of targets that do not provide PID information.
16156
2efe15c4
YQ
161572015-04-13 Yao Qi <yao.qi@linaro.org>
16158
16159 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16160 and use expect instead of gdb_expect.
16161
8cd8f2f8
SDJ
161622015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16163
16164 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16165 "coredump_var_addr" to avoid naming conflict with other testcases.
16166
9ee41772
PA
161672015-04-10 Pedro Alves <palves@redhat.com>
16168
16169 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16170 gdb_test_sequence and gdb_assert.
16171
07473109
PA
161722015-04-10 Pedro Alves <palves@redhat.com>
16173
16174 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16175 test messages that don't include the breakpoint address.
16176
de3db44c
YQ
161772015-04-10 Yao Qi <yao.qi@linaro.org>
16178
16179 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16180 false for some offset and width combinations which aren't
16181 supported by linux kernel.
16182
c79d856c
PA
161832015-04-10 Pedro Alves <palves@redhat.com>
16184
16185 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16186 procedure, factored out from ...
16187 (top level): ... here. Add "set displaced-stepping" testing axis.
16188 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16189 parameter "displaced". Use it.
16190 (top level): Use foreach and add "set displaced-stepping" testing
16191 axis.
16192
ebc90b50
PA
161932015-04-10 Pedro Alves <palves@redhat.com>
16194
16195 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16196 Remove comment.
16197 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16198 both the address of the instruction that triggers the watchpoint
16199 and the address of the instruction immediately after, and use
16200 those addresses for the test. Fix comment.
16201
8f572e5c
PA
162022015-04-10 Pedro Alves <palves@redhat.com>
16203
16204 * gdb.base/sigstep.exp (breakpoint_to_handler)
16205 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16206 Test "backtrace" in handler.
16207 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16208 (top level): Add new "displaced" test axis to
16209 breakpoint_to_handler, breakpoint_to_handler_entry and
16210 breakpoint_over_handler.
16211
8d707a12
PA
162122015-04-10 Pedro Alves <palves@redhat.com>
16213
16214 PR gdb/18216
16215 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16216
ef713951
YQ
162172015-04-10 Yao Qi <yao.qi@linaro.org>
16218
16219 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16220 (test_add_rn_pc): New function.
16221 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16222 (top level): Invoke test_add_rn_pc.
16223
906d60cf
PA
162242015-04-10 Pedro Alves <palves@redhat.com>
16225
16226 PR gdb/13858
16227 * gdb.base/step-over-no-symbols.exp: New file.
16228
f2983cc3
AW
162292015-04-09 Andy Wingo <wingo@igalia.com>
16230
16231 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16232 after the Python tests.
16233
6d62641c
SDJ
162342015-04-08 Keith Seitz <keiths@redhat.com>
16235
16236 PR python/16699
16237 * gdb.python/py-completion.exp: New tests for completion.
16238 * gdb.python/py-completion.py (CompleteLimit1): New class.
16239 (CompleteLimit2): Likewise.
16240 (CompleteLimit3): Likewise.
16241 (CompleteLimit4): Likewise.
16242 (CompleteLimit5): Likewise.
16243 (CompleteLimit6): Likewise.
16244 (CompleteLimit7): Likewise.
16245
f3770638
PA
162462015-04-08 Pedro Alves <palves@redhat.com>
16247
16248 PR gdb/18214
16249 PR gdb/18216
16250 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16251 function.
16252 (main): Install it as SIGUSR1 handler.
16253 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16254 parameter. Always use "setup" as prefix. Toggle "set
16255 displaced-stepping" off/on depending on global. Don't switch to
16256 thread 1 here.
16257 (top level): Add displaced stepping "off/on" test axis. Update
16258 "setup" calls. Wrap each subtest with with_test_prefix. Test
16259 continuing with a queued signal in each thread.
16260
4496bed7
PA
162612015-04-08 Pedro Alves <palves@redhat.com>
16262
16263 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16264 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16265 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16266 Return early if running to main fails.
16267 * gdb.trace/while-stepping.exp: Likewise.
16268
b97fde92
PA
162692015-04-07 Pedro Alves <palves@redhat.com>
16270
16271 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16272 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16273 interact with inferior program.
16274
f71c18e7
PA
162752015-04-07 Pedro Alves <palves@redhat.com>
16276
16277 * lib/gdb.exp (inferior_spawn_id): New global.
16278 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16279 spawn id after processing the user code.
16280 (default_gdb_start): Set inferior_spawn_id.
16281 (send_inferior): New procedure.
16282 * lib/gdbserver-support.exp (gdbserver_start): Set
16283 inferior_spawn_id.
16284 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16285
6423214f
PA
162862015-04-07 Pedro Alves <palves@redhat.com>
16287
16288 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16289 * lib/gdbserver-support.exp (gdbserver_start): Make
16290 $server_spawn_id global.
16291 (gdbserver_start): Don't wait for gdbserver's spawn id with
16292 expect_background.
16293 (close_gdbserver): New procedure.
16294 (gdb_exit): Rename the default version and reimplement.
16295
71c0ee8c
PA
162962015-04-07 Pedro Alves <palves@redhat.com>
16297
72f4393d 16298 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16299 append the substituted item, not the original item.
16300
203bc29b
PA
163012015-04-07 Pedro Alves <palves@redhat.com>
16302
16303 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16304 gdb_expect.
16305
508a3ddf
PA
163062015-04-07 Pedro Alves <palves@redhat.com>
16307
16308 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16309 output appearing once only.
16310
9f6dbe2b
PA
163112015-04-07 Pedro Alves <palves@redhat.com>
16312
16313 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16314 that doesn't expect anything. Return early if running to main
16315 fails.
16316
337532fa
YQ
163172015-04-07 Yao Qi <yao.qi@linaro.org>
16318
16319 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16320 (child_function): Call alarm.
16321 (main): Move call to alarm into the loop.
16322 * gdb.threads/non-stop-fair-events.exp: Build program with
16323 -DTIMEOUT=$timeout.
16324
01b622d4
DE
163252015-04-06 Doug Evans <xdje42@gmail.com>
16326
16327 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16328 Fix dest parameter to board_info.
16329 (fpc_compile): Ditto.
16330 (gdb_compile_pascal): Rename dest arg to destfile.
16331
961f4160
PMR
163322015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16333
16334 * gdb.ada/funcall_ref.exp: New file.
16335 * gdb.ada/funcall_ref/foo.adb: New file.
16336
cafda597
YQ
163372015-04-02 Yao Qi <yao.qi@linaro.org>
16338
16339 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16340 is remote.
16341
fed040c6
GB
163422015-04-02 Gary Benson <gbenson@redhat.com>
16343
16344 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16345
d11916aa
SS
163462015-04-01 Sasha Smundak <asmundak@google.com>
16347
16348 * gdb.python/py-unwind-maint.c: New file.
16349 * gdb.python/py-unwind-maint.exp: New test.
16350 * gdb.python/py-unwind-maint.py: New file.
16351 * gdb.python/py-unwind.c: New file.
16352 * gdb.python/py-unwind.exp: New test.
16353 * gdb.python/py-unwind.py: New test.
16354
a1471180
PA
163552015-04-01 Pedro Alves <palves@redhat.com>
16356
16357 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16358 to fail instead of non-existent $test.
16359
0bbeccb1
PA
163602015-04-01 Pedro Alves <palves@redhat.com>
16361
16362 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16363 GDBFLAGS if not empty.
16364
3c724c8c
PMR
163652015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16366
16367 * gdb.ada/complete.exp: Remove "multi_line".
16368 * gdb.ada/info_exc.exp: Remove "multi_line".
16369 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16370 * gdb.ada/ptype_field.exp: Remove "multi_line".
16371 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16372 * gdb.ada/tagged.exp: Remove "multi_line".
16373 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16374 [multi_line ...]
16375 * gdb.btrace/delta.exp: Likewise.
16376 * gdb.btrace/exception.exp: Likewise.
16377 * gdb.btrace/function_call_history.exp: Likewise.
16378 * gdb.btrace/instruction_history.exp: Likewise.
16379 * gdb.btrace/nohist.exp: Likewise.
16380 * gdb.btrace/record_goto.exp: Likewise.
16381 * gdb.btrace/segv.exp: Likewise.
16382 * gdb.btrace/stepi.exp: Likewise.
16383 * gdb.btrace/tailcall.exp: Likewise.
16384 * gdb.btrace/unknown_functions.exp: Likewise.
16385 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16386 * lib/gdb.exp: Add the "multi_line" helper.
16387
4eec2deb
PA
163882015-04-01 Pedro Alves <palves@redhat.com>
16389
16390 * gdb.threads/tid-reuse.c: New file.
16391 * gdb.threads/tid-reuse.exp: New file.
16392
df8411da
SDJ
163932015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16394
16395 PR corefiles/16092
16396 * gdb.base/coredump-filter.c: New file.
16397 * gdb.base/coredump-filter.exp: Likewise.
16398
6ef37366
PM
163992015-03-27 Petr Machata <pmachata@redhat.com>
16400
16401 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16402 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16403 (Dwarf::assemble): Initialize them.
16404 (Dwarf::lines): New function.
16405
7ec911b0
JT
164062015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16407
16408 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16409 SYMBOL_PREFIX for x86_64-*-cygwin.
16410
ff908ebf
AW
164112015-03-26 Andy Wingo <wingo@igalia.com>
16412
16413 PR symtab/18148
16414 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16415 const_value but not a location.
16416 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16417 location defined in non-main CUs are visible.
16418
6d5f0679
YQ
164192015-03-26 Yao Qi <yao.qi@linaro.org>
16420
16421 PR testsuite/18139
16422 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16423 Add a line number entry for the same line.
16424 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16425 Add a line number entry for the same line.
16426
2898689b
YQ
164272015-03-26 Yao Qi <yao.qi@linaro.org>
16428
16429 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16430 .int 0.
16431 (func): Likewise. Add .Lfunc_1 label.
16432 Use .Lfunc_1 label.
16433 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16434 .int 0.
16435 (func): Likewise.
16436 Use .Lfunc_1 label.
16437
85180498
YQ
164382015-03-26 Yao Qi <yao.qi@linaro.org>
16439
16440 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16441 Call gdb_compile instead to compile each .s files without debug
16442 information.
16443
8aa08a8d
YQ
164442015-03-26 Yao Qi <yao.qi@linaro.org>
16445
16446 * gdb.base/savedregs.exp (process_saved_regs): Make
16447 "Saved registers:" optional in the pattern.
16448
66849923
MM
164492015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16450
16451 * gdb.btrace/next.exp: Merged into step.exp.
16452 * gdb.btrace/finish.exp: Merged into step.exp.
16453 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16454 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16455 "record goto" and checking the exact replay position.
16456 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16457 check for "Recording format" in "info record" output.
16458 * gdb.btrace/record_goto.exp: Choose test file based on target.
16459 * gdb.btrace/x86-record_goto.S: Renamed into ...
16460 * gdb.btrace/x86_64-record_goto.S: ... this.
16461 * gdb.btrace/i686-record_goto.S: New.
16462 * gdb.btrace/x86-tailcall.S: Renamed into ...
16463 * gdb.btrace/x86_64-tailcall.S: ... this.
16464 * gdb.btrace/i686-tailcall.S: New.
16465 * gdb.btrace/x86-tailcall.c: Renamed into ...
16466 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16467 separate statements. Update test.
16468 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16469 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16470 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16471 * gdb.btrace/tailcall.exp: Choose test file based on target.
16472 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16473
11cc1b74
MM
164742015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16475
16476 * gdb.btrace/exception.exp: Increase BTS buffer size.
16477
a25d8bf9
PA
164782015-03-24 Pedro Alves <palves@redhat.com>
16479
16480 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16481
856e7dd6
PA
164822015-03-24 Pedro Alves <palves@redhat.com>
16483
16484 * gdb.threads/schedlock.exp (test_step): No longer expect that
16485 "set scheduler-locking step" with "next" over a function call runs
16486 threads unlocked.
16487
ad235a41
AT
164882015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16489
16490 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16491
15630549
AT
164922015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16493
16494 PR breakpoints/16466
16495 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16496 * gdb.mi/mi-pending.c (thread_func): New function.
16497 (int main): Add threading support required.
16498 * gdb.mi/mi-pending.exp: Add tests for this issue.
16499 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16500 (pendfunc2): Remove stdio dependency.
16501 * gdb.mi/mi-pendshr2.c: New file.
16502
693dca06
KS
165032015-03-23 Keith Seitz <keiths@redhat.com>
16504
16505 * gdb.linespec/keywords.c: New file.
16506 * gdb.linespec/keywords.exp: New file.
16507
7e993ebf
KS
165082015-03-23 Keith Seitz <keiths@redhat.com>
16509
16510 PR gdb/18021
16511 * gdb.dwarf2/staticvirtual.exp: New test.
16512
bc23328c
JK
165132015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16514
16515 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16516 * README: Remove HP-UX and gdb.hp.
16517 (configuration):
16518 * configure: Regenerate.
16519 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16520 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16521 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16522 gdb.hp/gdb.defects/Makefile.
16523 * gdb.hp/Makefile.in: File deleted.
16524 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16525 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16526 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16527 * gdb.hp/gdb.aCC/run.c: File deleted.
16528 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16529 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16530 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16531 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16532 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16533 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16534 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16535 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16536 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16537 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16538 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16539 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16540 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16541 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16542 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16543 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16544 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16545 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16546 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16547 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16548 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16549 * gdb.hp/gdb.compat/average.c: File deleted.
16550 * gdb.hp/gdb.compat/sum.c: File deleted.
16551 * gdb.hp/gdb.compat/xdb.c: File deleted.
16552 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16553 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16554 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16555 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16556 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16557 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16558 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16559 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16560 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16561 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16562 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16563 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16564 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16565 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16566 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16567 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16568 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16569 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16570 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16571 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16572 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16573 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16574 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16575 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16576 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16577 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16578 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16579 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16580 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16581 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16582 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16583 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16584 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16585 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16586 * gdb.hp/tools/odump: File deleted.
16587
8bf3b159
PA
165882015-03-19 Pedro Alves <palves@redhat.com>
16589
16590 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16591 (saw_thread_3): New globals.
16592 (top level): Increment them when an event for the corresponding
16593 thread is seen.
16594 (no thread starvation): New test.
16595
eb54c8bf
PA
165962015-03-19 Pedro Alves <palves@redhat.com>
16597
16598 * gdb.threads/continue-pending-status.c: New file.
16599 * gdb.threads/continue-pending-status.exp: New file.
16600
32d2e5d6
PA
166012015-03-18 Pedro Alves <palves@redhat.com>
16602
16603 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16604 Use gdb_is_target_remote instead of is_remote. Use
16605 gdb_test_multiple instead of gdb_expect. Exit early if
16606 gdb_test_multiple hits its internal matches. Tighten stepi tests
16607 expected output. Fail on exit with any signal, instead of just
16608 SIGILL.
16609
f68f11b7
YQ
166102015-03-18 Yao Qi <yao.qi@linaro.org>
16611
16612 PR tdep/18107
16613 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16614 variable.
16615 * gdb.base/catch-syscall.exp: Don't skip it on
16616 aarch64*-*-linux* target. Remove elements in all_syscalls.
16617 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16618 target.
16619 (setup_all_syscalls): New proc.
16620
ca5fd19b
YQ
166212015-03-16 Yao Qi <yao.qi@linaro.org>
16622
16623 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16624 (top level): Skip tests if valid_addr_p returns false for
16625 $cmd1 or $cmd2.
16626
85642ba0
AW
166272015-03-11 Andy Wingo <wingo@igalia.com>
16628
16629 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16630
e03f9645
YQ
166312015-03-11 Yao Qi <yao.qi@linaro.org>
16632
16633 * gdb.base/catch-syscall.exp: Fix typo in comments.
16634
5d0962b2
YQ
166352015-03-11 Yao Qi <yao.qi@linaro.org>
16636
16637 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16638
b2df3cef
PA
166392015-03-09 Pedro Alves <palves@redhat.com>
16640
16641 * dg-extract-results.py: Delete.
16642
ef878e53
PA
166432015-03-09 Pedro Alves <palves@redhat.com>
16644
16645 Merge dg-extract-results.sh from GCC upstream (r218843).
16646
16647 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16648 * dg-extract-results.sh: Use --text with grep to avoid issues with
16649 binary files. Fall back to cat -v, if that doesn't work.
16650
9494d219
PA
166512015-03-05 Pedro Alves <palves@redhat.com>
16652
16653 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16654
a8d9763a
SM
166552015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16656
16657 * lib/mi-support.exp (mi_expect_interrupt): Accept
16658 alternative event for when in all-stop mode.
16659
be9957b8
PA
166602015-03-04 Pedro Alves <palves@redhat.com>
16661
16662 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16663
d57be0f4 166642015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16665
16666 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16667
c214c7cf
AA
166682015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16669
16670 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16671 regexps for GDB's current line display, accept a hex address
16672 preceding the line number.
16673
6d74a497
AA
166742015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16675
16676 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16677 the 'arch1' variable for "s390*-linux*" targets.
16678
511aee7c
PA
166792015-03-04 Pedro Alves <palves@redhat.com>
16680
16681 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16682 (main): Pass missing retval argument to pthread_join call.
16683
95e50b27
PA
166842015-03-02 Pedro Alves <palves@redhat.com>
16685
16686 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16687 (top level): Call do_test with non-stop as well.
16688
28054d69
PA
166892015-03-02 Pedro Alves <palves@redhat.com>
16690
16691 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16692 -1.
16693
4fa5d7b4
AA
166942015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16695
16696 * gdb.arch/s390-vregs.exp: New test.
16697 * gdb.arch/s390-vregs.S: New file.
16698
97c18565
PA
166992015-02-27 Pedro Alves <palves@redhat.com>
16700
16701 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16702 call to catch_command_errors.
16703 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16704 catch_command_errors.
16705
a37bfa30
PA
167062015-02-27 Pedro Alves <palves@redhat.com>
16707
16708 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16709 "true" for boolean result.
16710 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16711 prototype of main.
16712
6f98576f
PA
167132015-02-27 Pedro Alves <palves@redhat.com>
16714
16715 * lib/unbuffer_output.c: New file.
16716 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16717 (main): Call gdb_unbuffer_output.
16718
eba5ab56
YQ
167192015-02-27 Yao Qi <yao.qi@linaro.org>
16720
16721 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16722 target.
16723
0def5aaa
DE
167242015-02-26 Doug Evans <dje@google.com>
16725
16726 * gdb.cp/class2.cc (Dbase, D): New classes.
16727 (main): New local delta.
16728 * gdb.cp/class2.exp: Test printing delta.
16729 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16730 (dynbar): New global.
16731 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16732
081a1c2c
JK
167332015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16734
16735 * gdb.compile/compile-ifunc.c: New file.
16736 * gdb.compile/compile-ifunc.exp: New file.
16737
2f41223f
AT
167382015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16739
16740 * gdb.base/structs.exp: Check for correct struct on finish.
16741
03eddd80
YQ
167422015-02-26 Yao Qi <yao.qi@linaro.org>
16743
16744 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16745 is zero.
16746
80c57053
JK
167472015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16748
16749 * gdb.arch/cordic.ko.bz2: New file.
16750 * gdb.arch/cordic.ko.debug.bz2: New file.
16751 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16752
21613c12
YQ
167532015-02-25 Yao Qi <yao.qi@linaro.org>
16754
16755 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16756 aarch64*-*-* target.
16757
d8b901ed
PA
167582015-02-23 Pedro Alves <palves@redhat.com>
16759
16760 * lib/gdb.exp (delete_breakpoints): Rewrite using
16761 gdb_test_multiple.
16762
e5b85ead
PA
167632015-02-23 Pedro Alves <palves@redhat.com>
16764
16765 * gdb.base/info-os.c: Include stdlib.h.
16766
85c3a371
DE
167672015-02-22 Doug Evans <xdje42@gmail.com>
16768
16769 PR symtab/17855
16770 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16771 is read after symbols have been re-read.
16772 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16773 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16774
96553a0c
DE
167752015-02-21 Doug Evans <dje@google.com>
16776
16777 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16778
97a0c697
JK
167792015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16780
16781 PR corefiles/17808
16782 * gdb.arch/i386-biarch-core.core.bz2: New file.
16783 * gdb.arch/i386-biarch-core.exp: New file.
16784
a47cd6e9
PA
167852015-02-21 Pedro Alves <palves@redhat.com>
16786
16787 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16788 runto_main fails.
16789
c5facdc4
PA
167902015-02-20 Pedro Alves <palves@redhat.com>
16791
16792 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16793 info probes.
16794
2db9a427
PA
167952015-02-20 Pedro Alves <palves@redhat.com>
16796
16797 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16798
60fb7e9e
PA
167992015-02-20 Pedro Alves <palves@redhat.com>
16800
16801 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16802 clean_restart before gdb_target_supports_trace.
16803
5c5019c2
PA
168042015-02-20 Pedro Alves <palves@redhat.com>
16805
16806 PR threads/18006
16807 * gdb.threads/clone-thread_db.c: New file.
16808 * gdb.threads/clone-thread_db.exp: New file.
16809
c9587f88
AT
168102015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16811
16812 PR breakpoints/16812
16813 * gdb.base/catch-gdb-caused-signals.c: New file.
16814 * gdb.base/catch-gdb-caused-signals.exp: New file.
16815
f6a88844
JM
168162015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16817
16818 * configure: Regenerated.
16819 * configure.ac: Use GDB_AC_TRANSFORM.
16820 * aclocal.m4: sinclude ../transform.m4.
16821
497c491b
JM
168222015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16823
16824 * lib/dtrace.exp: New file.
16825 * gdb.base/dtrace-probe.exp: Likewise.
16826 * gdb.base/dtrace-probe.d: Likewise.
16827 * gdb.base/dtrace-probe.c: Likewise.
16828 * lib/pdtrace.in: Likewise.
16829 * configure.ac: Output variables with the transformed names of
16830 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16831 * configure: Regenerated.
16832
03e98035
JM
168332015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16834
16835 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16836 expected message when trying to access $_probe_* convenience
16837 variables while not on a probe.
16838
63cc30e9
JK
168392015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16840
16841 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16842
0703599a
PA
168432015-02-11 Pedro Alves <pedro@codesourcery.com>
16844
16845 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16846 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16847
7e60a48e
DE
168482015-02-10 Doug Evans <xdje42@gmail.com>
16849
16850 * lib/gdb.exp (gdb_load): Always return a result.
16851
01b088bc
PA
168522015-02-10 Pedro Alves <palves@redhat.com>
16853
16854 * gdb.threads/signal-sigtrap.c: New file.
16855 * gdb.threads/signal-sigtrap.exp: New file.
16856
b05ec7a5
AT
168572015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16858
16859 * gdb.trace/no-attach-trace.c: New file.
16860 * gdb.trace/no-attach-trace.exp: New file.
16861
a2c2acaf
MW
168622015-02-09 Mark Wielaard <mjw@redhat.com>
16863
16864 * gdb.dwarf2/atomic.c: New file.
16865 * gdb.dwarf2/atomic-type.exp: Likewise.
16866
31fd9caa
MM
168672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16868
16869 * gdb.btrace/buffer-size.exp: Update "info record" output.
16870 * gdb.btrace/delta.exp: Update "info record" output.
16871 * gdb.btrace/enable.exp: Update "info record" output.
16872 * gdb.btrace/finish.exp: Update "info record" output.
16873 * gdb.btrace/instruction_history.exp: Update "info record" output.
16874 * gdb.btrace/next.exp: Update "info record" output.
16875 * gdb.btrace/nexti.exp: Update "info record" output.
16876 * gdb.btrace/step.exp: Update "info record" output.
16877 * gdb.btrace/stepi.exp: Update "info record" output.
16878 * gdb.btrace/nohist.exp: Update "info record" output.
16879
d33501a5
MM
168802015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16881
16882 * gdb.btrace/buffer-size: New.
16883
f4abbc16
MM
168842015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16885
16886 * gdb.btrace/delta.exp: Update "info record" output.
16887 * gdb.btrace/enable.exp: Update "info record" output.
16888 * gdb.btrace/finish.exp: Update "info record" output.
16889 * gdb.btrace/instruction_history.exp: Update "info record" output.
16890 * gdb.btrace/next.exp: Update "info record" output.
16891 * gdb.btrace/nexti.exp: Update "info record" output.
16892 * gdb.btrace/step.exp: Update "info record" output.
16893 * gdb.btrace/stepi.exp: Update "info record" output.
16894 * gdb.btrace/nohist.exp: Update "info record" output.
16895
b9d61307
SM
168962015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16897
16898 PR gdb/15678
16899 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16900
e584fdbc
PA
169012015-02-06 Pedro Alves <palves@redhat.com>
16902
16903 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16904 macro.
16905 (seconds_left, again): New globals.
16906 (main): Wait seconds_left in a 1-second sleep loop instead of
16907 sleeping 180 seconds. If 'again' is set, reset the seconds
16908 counter.
16909 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16910 'again' in the inferior before detaching. Print the seconds left.
16911 (options): New global.
16912 (top level): Build program with -DTIMEOUT=$timeout.
16913
77f41761
PA
169142015-02-06 Pedro Alves <palves@redhat.com>
16915
16916 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16917 determine how many seconds to pass to 'alarm'.
16918 * gdb.base/gdb-sigterm.exp (top level): Build program with
16919 -DTIMEOUT=$timeout.
16920 (do_test): Return success/failure indication. Add more verbose
16921 logging. Don't fail if 200 single steps are seen. Instead, fail
16922 when the test times out.
16923 (passes): New global.
16924 (top level): Break the testing loop if testing fails on any
16925 iteration. Use gdb_assert.
16926
b9394193
DB
169272015-02-04 Don Breazeal <donb@codesourcery.com>
16928
16929 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16930 and initialize them.
16931 (ipc_cleanup): New function.
16932 (main): Don't declare shmid, semid, and msqid. Add a call to
16933 atexit so that we call ipc_cleanup on exit.
16934
42d9e528
PA
169352015-02-04 Pedro Alves <palves@redhat.com>
16936
16937 * boards/native-extended-gdbserver.exp: Remove any target variant
16938 specifications from the board name before clearing the isremote
16939 flag from board_info.
16940
ae6ae975
DE
169412015-01-31 Doug Evans <xdje42@gmail.com>
16942
16943 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16944
cfb069a8
GB
169452015-01-31 Gary Benson <gbenson@redhat.com>
16946
16947 * gdb.base/completion.exp: Disable completion limiting for
16948 existing tests. Add new tests to check completion limiting.
16949 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16950
5dd31d79
DE
169512015-01-31 Doug Evans <xdje42@gmail.com>
16952
16953 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16954
9f050062
DE
169552015-01-31 Doug Evans <xdje42@gmail.com>
16956
16957 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16958 entries. Duplicate file section script entries.
16959 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16960 inlined entries. Add test for safe-path rejection.
16961 * gdb.python/py-section-script.c: Add duplicate inlined section script
16962 entries. Duplicate file section script entries.
16963 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16964 inlined entries. Add test for safe-path rejection.
16965
df25ebbd
JB
169662015-01-29 Joel Brobecker <brobecker@adacore.com>
16967
16968 * gdb.ada/disc_arr_bound: New testcase.
16969
4a0ca9ec
JB
169702015-01-29 Joel Brobecker <brobecker@adacore.com>
16971
16972 * gdb.ada/mi_var_array: New testcase.
16973
3a8b707a
DE
169742015-01-27 Doug Evans <dje@google.com>
16975
16976 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16977 Add test for objfile.filename, objfile.username after objfile
16978 has been unloaded.
16979
f8313f6e
JB
169802015-01-26 Joel Brobecker <brobecker@adacore.com>
16981
16982 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16983 the second test to print the name attribute of value
16984 returned by the call to gdb.lookup_type, and adjust
16985 the expected output accordingly.
16986
37bc665e
MW
169872015-01-25 Mark Wielaard <mjw@redhat.com>
16988
16989 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16990 * gdb.base/disp-step-fork.c: Include unistd.h.
16991 * gdb.base/siginfo-obj.c: Include stdio.h.
16992 * gdb.base/siginfo-thread.c: Likewise.
16993 * gdb.mi/non-stop.c: Include unistd.h.
16994 * gdb.mi/nsthrexec.c: Include stdio.h.
16995 * gdb.mi/pthreads.c: Include unistd.h.
16996 * gdb.modula2/unbounded1.c (main): Declare returns int.
16997 * gdb.reverse/consecutive-reverse.c: Likewise.
16998 * gdb.threads/create-fail.c: Include unistd.h.
16999 * gdb.threads/killed.c: Likewise.
17000 * gdb.threads/linux-dp.c: Likewise.
17001 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17002 * gdb.threads/non-ldr-exc-2.c: Likewise.
17003 * gdb.threads/non-ldr-exc-3.c: Likewise.
17004 * gdb.threads/non-ldr-exc-4.c: Likewise.
17005 * gdb.threads/pthreads.c: Include unistd.h.
17006 (main): Declare returns int.
17007 * gdb.threads/tls-main.c (foo): New declaration.
17008 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17009
f7e5394d
SM
170102015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17011
17012 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17013 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17014
743649fd
MW
170152015-01-15 Mark Wielaard <mjw@redhat.com>
17016
17017 * gdb.base/noreturn-return.c: New file.
17018 * gdb.base/noreturn-return.exp: New file.
17019 * gdb.base/noreturn-finish.c: New file.
17020 * gdb.base/noreturn-finish.exp: New file.
17021
198297aa
PA
170222015-01-23 Pedro Alves <palves@redhat.com>
17023
17024 * gdb.threads/continue-pending-after-query.c: New file.
17025 * gdb.threads/continue-pending-after-query.exp: New file.
17026
717cf30c
AG
170272015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17028 Simon Marchi <simon.marchi@ericsson.com>
17029
17030 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17031 * gdb.base/valgrind-db-attach.exp: Same.
17032 * gdb.base/valgrind-infcall.exp: Same.
17033 * lib/mi-support.exp (default_mi_gdb_start): Same.
17034 * lib/prompt.exp (default_prompt_gdb_start): Same.
17035 * lib/gdb.exp (default_gdb_spawn): Same.
17036 (gdb_interact): New.
17037
17038
4b62a76e
JK
170392015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17040
17041 * gdb.compile/compile.exp (pointer to jit function): New test.
17042
b4cdae6f
WW
170432015-01-17 Wei-cheng Wang <cole945@gmail.com>
17044
17045 * lib/gdb.exp (supports_process_record): Return true for
17046 powerpc*-*-linux*.
17047 (supports_reverse): Likewise.
17048
d221e7ef
DB
170492015-01-15 Don Breazeal <donb@codesourcery.com>
17050
17051 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17052 instead of checking whether the target board is remote and
17053 use spawn_wait_for_attach instead of exec/sleep.
17054 * gdb.base/attach-twice.exp: Likewise.
17055
bafffb51
JB
170562015-01-15 Joel Brobecker <brobecker@adacore.com>
17057
17058 * gdb.ada/var_arr_attrs: New testcase.
17059
5589af0e
PA
170602015-01-14 Pedro Alves <palves@redhat.com>
17061 Joel Brobecker <brobecker@adacore.com>
17062
17063 PR gdb/17525
17064 * gdb.base/bp-cmds-execution-x-script.c: New file.
17065 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17066 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17067
6c400b59
PA
170682015-01-14 Pedro Alves <palves@redhat.com>
17069
17070 PR cli/17828
17071 * gdb.base/batch-preserve-term-settings.c: New file.
17072 * gdb.base/batch-preserve-term-settings.exp: New file.
17073
e02c96a7
DE
170742015-01-13 Doug Evans <dje@google.com>
17075
17076 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17077 binary.
17078
576fd14c
JB
170792015-01-13 Joel Brobecker <brobecker@adacore.com>
17080
17081 * Makefile.in (clean mostlyclean): Do not delete *.py.
17082
04dccad0
JB
170832015-01-13 Joel Brobecker <brobecker@adacore.com>
17084
17085 * gdb.python/py-lookup-type.exp: New file.
17086
3d230f71
PA
170872015-01-12 Pedro Alves <palves@redhat.com>
17088
17089 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17090 restore GDBFLAGS before returning.
17091
7e67715d
JK
170922015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17093
17094 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17095 is_amd64_regs_target and is_x86_like_target.
17096
f2e0d4b4
DE
170972015-01-11 Doug Evans <xdje42@gmail.com>
17098
17099 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17100 is given without an explicit form.
17101 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17102 attributes.
17103 * gdb.dwarf/corrupt.exp: Ditto.
17104 * gdb.dwarf2/enum-type.exp: Ditto.
17105 * gdb.trace/entry-values.exp: Ditto.
17106 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17107
439250fb
DE
171082015-01-11 Doug Evans <xdje42@gmail.com>
17109
17110 PR gdb/15830
17111 * gdb.base/maint.exp: Remove references to "maint demangle".
17112 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17113 Add tests for explicitly specifying language to demangle.
17114 * gdb.dlang/demangle.exp: Ditto.
17115
ede9f622
PA
171162015-01-09 Pedro Alves <palves@redhat.com>
17117
17118 * gdb.threads/non-stop-fair-events.c: New file.
17119 * gdb.threads/non-stop-fair-events.exp: New file.
17120
a7b796db
PA
171212015-01-09 Pedro Alves <palves@redhat.com>
17122
17123 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17124 the global scope. Set a breakpoint after all threads are started
17125 rather than stepping over two source lines. Expect the prompt.
17126 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17127 global.
17128 (NUM): Now 15.
17129 (main): Use threads_started_barrier to wait for all threads to
17130 start. Main thread no longer calls thread_function. Exit after
17131 180 seconds.
17132 (loop): New function.
17133 (thread_function): Wait on threads_started_barrier barrier. Call
17134 'loop' at each iteration.
17135 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17136 threads have started, instead of hardcoding number of "next"
17137 steps. Use an access watchpoint instead of a write watchpoint.
17138
9665ffdd
PA
171392015-01-09 Pedro Alves <palves@redhat.com>
17140
17141 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17142 (thread_func): Wait on barrier.
17143 (main): Wait for all threads to start before stopping GDB.
17144 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17145 global.
17146 (thread1_func, thread2_func): Wait on barrier.
17147 (main): Wait for all threads to start before stopping GDB.
17148 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17149 New global.
17150 (thread1_func, thread2_func): Wait on barrier.
17151 (main): Wait for all threads to start before stopping GDB.
17152
c945a99f
PA
171532015-01-09 Pedro Alves <palves@redhat.com>
17154
17155 * gdb.threads/attach-many-short-lived-threads.c: New file.
17156 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17157
c1a747c1
PA
171582014-01-09 Pedro Alves <palves@redhat.com>
17159
17160 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17161 instead of to thread 2.
17162 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17163 Add barrier around each pthread_create call instead of around all
17164 calls.
17165 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17166 Set a break on thread_function and have the child threads hit it
17167 one at at a time.
17168
60b3033e
PA
171692015-01-09 Pedro Alves <palves@redhat.com>
17170
17171 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17172 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17173 false.
17174 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17175 checking whether the target board is remote.
17176 * gdb.multi/multi-attach.exp: Likewise.
17177 * gdb.python/py-sync-interp.exp: Likewise.
17178 * gdb.server/ext-attach.exp: Likewise.
17179 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17180 tests that need to attach, instead of checking whether the target
17181 board is remote at the top of the file.
17182
acc018ac
YQ
171832015-01-08 Yao Qi <yao@codesourcery.com>
17184
17185 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17186
50a18af8
JK
171872015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17188
17189 Fix testcase compilation.
17190 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17191
8503d6e1
JB
171922015-01-06 Joel Brobecker <brobecker@adacore.com>
17193
17194 * gdb.python/py-type.exp: Add a couple test about empty
17195 array creation, and negative-length array creation.
17196
cc73dbcc
DE
171972015-01-02 Doug Evans <xdje42@gmail.com>
17198
17199 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17200
0300bbc7
DE
172012015-01-02 Doug Evans <dje@google.com>
17202
17203 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17204
9d85a0ec
YQ
172052014-12-29 Yao Qi <yao@codesourcery.com>
17206
17207 * gdb.trace/entry-values.exp: Update comments. Rename variable
17208 bar_call_foo to returned_from_foo.
17209
87186c6a
MMN
172102014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17211
17212 PR gdb/17394
17213 * gdb.linespec/break-asm-file.c: New file.
17214 * gdb.linespec/break-asm-file.exp: New file.
17215 * gdb.linespec/break-asm-file0.s: New file.
17216 * gdb.linespec/break-asm-file1.s: New file.
17217
1bab7383
YQ
172182014-12-18 Nigel Stephens <nigel@mips.com>
17219 Maciej W. Rozycki <macro@codesourcery.com>
17220
17221 * gdb.base/float.exp: Handle the new output from "info float" on
17222 MIPS targets.
17223
1bc1068a
JK
172242014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17225
17226 Fix MinGW compilation.
17227 * gdb.compile/compile-ops.exp: Update untested message if
17228 !skip_compile_feature_tests.
17229 * gdb.compile/compile-setjmp.exp: Likewise.
17230 * gdb.compile/compile-tls.exp: Likewise.
17231 * gdb.compile/compile.exp: Likewise.
17232 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17233 supported on this host".
17234
b6615d10
DE
172352014-12-16 Doug Evans <xdje42@gmail.com>
17236
17237 * boards/stabs.exp: New file.
17238
25dda427
AA
172392014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17240
17241 * gdb.base/completion.exp: Adjust to format changes of "maint
17242 print user-registers".
17243
bf330350
CU
172442014-12-16 Catalin Udma <catalin.udma@freescale.com>
17245
17246 PR server/17457
17247 * gdb.arch/aarch64-fp.c: New file.
17248 * gdb.arch/aarch64-fp.exp: New file.
17249
395cf596
SDJ
172502014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17251
17252 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17253 r210637, r210913, r211666, r215400, r215817).
17254
17255 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17256 * dg-extract-results.py: New file.
17257 * dg-extract-results.sh: Use it if the environment seems
17258 suitable.
17259
17260 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17261
17262 * dg-extract-results.py (parse_run): Handle warnings that
17263 are printed before a test harness is run.
17264
17265 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17266
17267 * dg-extract-results.py (Named): Remove __cmp__ method.
17268 (output_variation): Use a key to sort variation.harnesses.
17269
17270 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17271
17272 * dg-extract-results.py: For Python 3, force sys.stdout to
17273 handle surrogate escape sequences.
17274 (safe_open): New function.
17275 (output_segment, main): Use it.
17276
17277 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17278
17279 * dg-extract-results.py (Prog.result_re): Include options
17280 in test name.
17281
17282 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17283
17284 * dg-extract-results.py (output_variation): Always sort if
17285 do_sum.
17286
e882ef3c
SM
172872014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17288
17289 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17290 as long as we get pagination notifications.
17291
4992aa20
JM
172922014-12-15 Jason Merrill <jason@redhat.com>
17293
17294 * Makefile.in (check-gdb.%): Restore.
17295 * README: Mention it.
17296
c1b5a1a6
JB
172972014-12-13 Joel Brobecker <brobecker@adacore.com>
17298
17299 * gdb.ada/str_uninit: New testcase.
17300
5537b577
JK
173012014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17302
17303 PR symtab/17642
17304 * gdb.base/vla-stub-define.c: New file.
17305 * gdb.base/vla-stub.c: New file.
17306 * gdb.base/vla-stub.exp: New file.
17307
bb2ec1b3
TT
173082014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17309 Jan Kratochvil <jan.kratochvil@redhat.com>
17310 Tom Tromey <tromey@redhat.com>
17311
17312 * configure.ac: Add gdb.compile/.
17313 * configure: Regenerate.
17314 * gdb.compile/Makefile.in: New file.
17315 * gdb.compile/compile-ops.exp: New file.
17316 * gdb.compile/compile-ops.c: New file.
17317 * gdb.compile/compile-tls.c: New file.
17318 * gdb.compile/compile-tls.exp: New file.
17319 * gdb.compile/compile-constvar.S: New file.
17320 * gdb.compile/compile-constvar.c: New file.
17321 * gdb.compile/compile-mod.c: New file.
17322 * gdb.compile/compile-nodebug.c: New file.
17323 * gdb.compile/compile-setjmp-mod.c: New file.
17324 * gdb.compile/compile-setjmp.c: New file.
17325 * gdb.compile/compile-setjmp.exp: New file.
17326 * gdb.compile/compile-shlib.c: New file.
17327 * gdb.compile/compile.c: New file.
17328 * gdb.compile/compile.exp: New file.
17329 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17330
4ff709eb
TT
173312014-12-12 Tom Tromey <tromey@redhat.com>
17332
17333 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17334 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17335
6dddd6a5
DE
173362014-12-12 Doug Evans <dje@google.com>
17337
17338 * lib/gdb-python.exp (get_python_valueof): New function.
17339 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17340
71c24708
AA
173412014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17342
17343 * gdb.base/completion.exp: Add test for completion of "info
17344 registers ".
17345
3e29f34a
MR
173462014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17347
17348 * gdb.base/func-ptrs.c: New file.
17349 * gdb.base/func-ptrs.exp: New file.
17350
fc126975
SM
173512014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17352
17353 PR breakpoints/17012
17354 * gdb.base/dprintf-detach.c: New file.
17355 * gdb.base/dprintf-detach.exp: New file.
17356
0a46d518
SM
173572014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17358
17359 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17360 * lib/gdb.exp (target_is_gdbserver): New procedure.
17361
a0be3e44
DE
173622014-12-08 Doug Evans <dje@google.com>
17363
17364 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17365
df1b803a
YQ
173662014-12-05 Yao Qi <yao@codesourcery.com>
17367
17368 * gdb.guile/scm-error.exp: Remove the third argument to
17369 gdb_remote_download.
17370 * gdb.guile/scm-frame-args.exp: Likewise.
17371 * gdb.guile/scm-section-script.exp: Likewise.
17372
ddb9f679
YQ
173732014-12-05 Yao Qi <yao@codesourcery.com>
17374
17375 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17376
86e4ed39
DE
173772014-12-04 Doug Evans <dje@google.com>
17378
17379 * gdb.python/py-objfile.exp: Add tests for
17380 objfile.add_separate_debug_file.
17381
7c50a931
DE
173822014-12-04 Doug Evans <dje@google.com>
17383
17384 * lib/gdb.exp (get_build_id): New function.
17385 (build_id_debug_filename_get): Rewrite to use it.
17386 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17387
621661e3
MR
173882014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17389
17390 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17391 `method(long)', not just 0x0.
17392 * gdb.cp/nsalias.exp: Align code labels to 4.
17393 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17394 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17395 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17396 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17397 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17398 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17399
29f0c3b7
DE
174002014-12-02 Doug Evans <dje@google.com>
17401
e1e061e7 17402 PR symtab/17602
29f0c3b7 17403 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17404 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17405 * gdb.cp/anon-ns.exp: Update.
17406
162078c8
NB
174072014-12-02 Nick Bull <nicholaspbull@gmail.com>
17408
17409 * gdb.python/py-events.py (inferior_call_handler): New.
17410 (register_changed_handler, memory_changed_handler): New.
17411 (test_events.invoke): Register new handlers.
17412 * gdb.python/py-events.exp: Add tests for inferior call,
17413 memory_changed and register_changed events.
17414
fdb09caf
AA
174152014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17416
17417 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17418 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17419 if the linker doesn't understand this.
17420
55cfb2c4
SM
174212014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17422
17423 * gdb.python/python.exp: Change expected reply to help().
17424
9e8cd6df
YQ
174252014-12-01 Yao Qi <yao@codesourcery.com>
17426
17427 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17428 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17429 * configure: Re-generated.
17430
6c659fc2
SC
174312014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17432
17433 * gdb.cp/chained-calls.cc: New file.
17434 * gdb.cp/chained-calls.exp: New file.
17435 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17436
d7fc3181
SM
174372014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17438
17439 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17440 * gdb.dwarf2/symtab-producer.exp: Same.
17441 * gdb.gdb/python-interrupts.exp: Same.
17442 * gdb.gdb/python-selftest.exp: Same.
17443 * gdb.python/py-linetable.exp: Same.
17444 * gdb.python/py-type.exp: Same.
17445 * gdb.python/py-value-cc.exp: Same.
17446 * gdb.python/py-value.exp: Same.
17447
10e79639
YQ
174482014-11-28 Yao Qi <yao@codesourcery.com>
17449
17450 * gdb.base/break-probes.exp: Match library name prefixed with
17451 sysroot.
17452
f28a0564
SM
174532014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17454
17455 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17456 test expected output. Add parentheses for the call to print.
17457 Remove L suffix from integers.
17458
3fe1ce1d
DE
174592014-11-26 Doug Evans <dje@google.com>
17460
17461 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17462
84429e27
YQ
174632014-11-22 Yao Qi <yao@codesourcery.com>
17464
17465 * gdb.trace/entry-values.c: Remove asms.
17466 (foo): Add foo_label.
17467 (bar): Add bar_label.
17468 * gdb.trace/entry-values.exp: Remove code computing foo's
17469 length and bar's length.
17470 (Dwarf::assemble): Invoke function_range for bar and use
17471 MACRO_AT_func for foo.
17472
26741859
YQ
174732014-11-22 Yao Qi <yao@codesourcery.com>
17474
17475 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17476 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17477 Use .Lgcc43_procstart instead of gcc43.
17478
45e44d27
JB
174792014-11-21 Joel Brobecker <brobecker@adacore.com>
17480
17481 * gdb.ada/n_arr_bound: New testcase.
17482
458c8db8
SDJ
174832014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17484
17485 PR breakpoints/10737
17486 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17487 test_catch_syscall_multi_arch.
17488 (test_catch_syscall_multi_arch): New function.
17489
43f3e411
DE
174902014-11-20 Doug Evans <xdje42@gmail.com>
17491
17492 * gdb.base/maint.exp: Update expected output.
17493
0d7b2549
AA
174942014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17495
17496 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17497 4-byte instruction on S390.
17498
8908fca5
JB
174992014-11-19 Joel Brobecker <brobecker@adacore.com>
17500
17501 * gdb.ada/arr_arr: New testcase.
17502
4a46959e
JB
175032014-11-19 Joel Brobecker <brobecker@adacore.com>
17504
17505 * gdb.ada/pkd_arr_elem: New Testcase.
17506
470e2f4e
LM
175072014-11-18 Luis Machado <lgustavo@codesourcery.com>
17508
17509 * gdb.reverse/break-precsave: Expect completion message for
17510 core file reads.
17511 * gdb.reverse/consecutive-precsave.exp: Likewise.
17512 * gdb.reverse/finish-precsave.exp: Likewise.
17513 * gdb.reverse/i386-precsave.exp: Likewise.
17514 * gdb.reverse/machinestate-precsave.exp: Likewise.
17515 * gdb.reverse/sigall-precsave.exp: Likewise.
17516 * gdb.reverse/solib-precsave.exp: Likewise.
17517 * gdb.reverse/step-precsave.exp: Likewise.
17518 * gdb.reverse/until-precsave.exp: Likewise.
17519 * gdb.reverse/watch-precsave.exp: Likewise.
17520
a267f3ad
AA
175212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17522
17523 * gdb.base/bp-permanent.c: Include unistd.h.
17524 * gdb.python/py-framefilter-mi.c (main): Add return type.
17525 * gdb.python/py-framefilter.c (main): Likewise.
17526 * gdb.trace/actions-changed.c (main): Likewise.
17527
12084a9a
AA
175282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17529
17530 * gdb.mi/until.c: Add eye-catchers.
17531 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17532 line numbers.
17533
dc7e1a77
AA
175342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17535
17536 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17537 function header variants in break1.c.
17538 * gdb.base/ena-dis-br.exp: Likewise.
17539 * gdb.base/hbreak2.exp: Likewise.
17540 * gdb.reverse/until-precsave.exp: Drop references to removed
17541 non-prototype function header variants in ur1.c.
17542 * gdb.reverse/until-reverse.exp: Likewise.
17543
41c77605
PM
175442014-11-17 Petr Machata <pmachata@redhat.com>
17545
17546 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17547 ${_cu_offset_size} bytes abbrev offset.
17548
34248c3a
DE
175492014-11-15 Doug Evans <xdje42@gmail.com>
17550
17551 PR symtab/17559
17552 * gdb.base/line-symtabs.exp: New file.
17553 * gdb.base/line-symtabs.c: New file.
17554 * gdb.base/line-symtabs.h: New file.
17555
646da059
YQ
175562014-11-14 Yao Qi <yao@codesourcery.com>
17557
17558 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17559 (func): Add label func_label.
17560 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17561 Replace low_pc and high_pc with MACRO_AT_range.
17562 Replace name, low_pc and high_pc with MACRO_AT_func.
17563
9301ebe6
YQ
175642014-11-14 Yao Qi <yao@codesourcery.com>
17565
17566 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17567 Replace name, low_pc and high_pc with MACRO_AT_func.
17568
f166b542
YQ
175692014-11-14 Yao Qi <yao@codesourcery.com>
17570
17571 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17572 produce debug information.
17573 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17574
0f6e71e3
YQ
175752014-11-14 Yao Qi <yao@codesourcery.com>
17576
17577 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17578 object and get function length.
17579 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17580 with MACRO_AT_func.
17581 (top-level): Replace gdb_compile and clean_restart with
17582 prepare_for_testing.
17583 * gdb.dwarf2/main.c (main): Add label main_label.
17584
876c4df9
YQ
175852014-11-14 Yao Qi <yao@codesourcery.com>
17586
17587 * lib/dwarf.exp (function_range): New procedure.
17588 (Dwarf::_handle_macro_at_func): New procedure.
17589 (Dwarf::_handle_macro_at_range): New procedure.
17590 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17591
02ad9cf1
YQ
175922014-11-14 Yao Qi <yao@codesourcery.com>
17593
17594 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17595 (_handle_attribute): New procedure.
17596
a59add0c
AA
175972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17598
17599 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17600 * gdb.base/call-sc.c (zed): Likewise.
17601 * gdb.base/checkpoint.c (main): Likewise.
17602 * gdb.base/dump.c (main): Likewise.
17603 * gdb.base/gcore.c (main): Likewise.
17604 * gdb.base/huge.c (main): Likewise.
17605 * gdb.base/multi-forks.c (main): Likewise.
17606 * gdb.base/pr10179-a.c (main): Likewise.
17607 * gdb.base/savedregs.c (main): Likewise.
17608 * gdb.base/sigaltstack.c (main): Likewise.
17609 * gdb.base/siginfo.c (main): Likewise.
17610 * gdb.base/structs.c (zed): Likewise.
17611 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17612 * gdb.mi/mi-syn-frame.c (main): Likewise.
17613 * gdb.mi/until.c (foo, main): Likewise.
17614 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17615 * gdb.base/solib-weak.c (foo): Declare.
17616 * gdb.base/attach-twice.c: Include stdio.h.
17617 * gdb.base/weaklib1.c: Likewise.
17618 * gdb.base/weaklib2.c: Likewise.
17619 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17620 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17621 unistd.h.
17622 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17623 * gdb.mi/mi-exit-code.c: Likewise.
17624 * gdb.base/break-interp-lib.c: Include string.h.
17625 * gdb.base/coremaker.c: Likewise.
17626 * gdb.base/testenv.c: Likewise.
17627 * gdb.python/py-finish-breakpoint.c: Likewise.
17628 * gdb.base/inferior-died.c: Include sys/wait.h.
17629 * gdb.base/fileio.c: Include time.h.
17630 * gdb.base/async-shell.c: Include unistd.h.
17631 * gdb.base/dprintf-non-stop.c: Likewise.
17632 * gdb.base/info-os.c: Likewise.
17633 * gdb.mi/mi-console.c: Likewise.
17634 * gdb.mi/watch-nonstop.c: Likewise.
17635 * gdb.python/py-events.c: Likewise.
17636 * gdb.base/async.c (baz): Move up before its invocation.
17637 * gdb.base/code_elim2.c (my_global_func): Likewise.
17638 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17639 * gdb.base/advance.c (func2): Likewise.
17640
3b5d5997
AA
176412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17642
17643 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17644 variant.
17645 * gdb.base/annota3.c: Likewise.
17646 * gdb.base/async.c: Likewise.
17647 * gdb.base/average.c: Likewise.
17648 * gdb.base/call-ar-st.c: Likewise.
17649 * gdb.base/call-rt-st.c: Likewise.
17650 * gdb.base/call-sc.c: Likewise.
17651 * gdb.base/call-strs.c: Likewise.
17652 * gdb.base/ending-run.c: Likewise.
17653 * gdb.base/execd-prog.c: Likewise.
17654 * gdb.base/exprs.c: Likewise.
17655 * gdb.base/foll-exec.c: Likewise.
17656 * gdb.base/foll-fork.c: Likewise.
17657 * gdb.base/foll-vfork.c: Likewise.
17658 * gdb.base/funcargs.c: Likewise.
17659 * gdb.base/gcore.c: Likewise.
17660 * gdb.base/jump.c: Likewise.
17661 * gdb.base/langs0.c: Likewise.
17662 * gdb.base/langs1.c: Likewise.
17663 * gdb.base/langs2.c: Likewise.
17664 * gdb.base/mips_pro.c: Likewise.
17665 * gdb.base/nodebug.c: Likewise.
17666 * gdb.base/opaque0.c: Likewise.
17667 * gdb.base/opaque1.c: Likewise.
17668 * gdb.base/recurse.c: Likewise.
17669 * gdb.base/run.c: Likewise.
17670 * gdb.base/scope0.c: Likewise.
17671 * gdb.base/scope1.c: Likewise.
17672 * gdb.base/setshow.c: Likewise.
17673 * gdb.base/setvar.c: Likewise.
17674 * gdb.base/shmain.c: Likewise.
17675 * gdb.base/shr1.c: Likewise.
17676 * gdb.base/shr2.c: Likewise.
17677 * gdb.base/sigall.c: Likewise.
17678 * gdb.base/signals.c: Likewise.
17679 * gdb.base/so-indr-cl.c: Likewise.
17680 * gdb.base/solib2.c: Likewise.
17681 * gdb.base/structs.c: Likewise.
17682 * gdb.base/sum.c: Likewise.
17683 * gdb.base/vforked-prog.c: Likewise.
17684 * gdb.base/watchpoint.c: Likewise.
17685 * gdb.reverse/shr2.c: Likewise.
17686 * gdb.reverse/until-reverse.c: Likewise.
17687 * gdb.reverse/ur1.c: Likewise.
17688 * gdb.reverse/watch-reverse.c: Likewise.
17689
066a77c5
AA
176902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17691
17692 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17693 variant.
17694 * gdb.base/sepdebug.exp: Drop references to removed code.
17695
4f204ea5
AA
176962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17697
17698 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17699 variant. Preserve original line numbering.
17700 * gdb.base/list1.c: Likewise.
17701
3b377a3a
AA
177022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17703
17704 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17705 variant.
17706 * gdb.base/break1.c: Likewise.
17707 * gdb.base/break.exp: Drop references to removed code.
17708
e444df73
AA
177092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17710
17711 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17712 variant.
17713
8008f2a7
AA
177142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17715
17716 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17717
a5a06887
AA
177182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17719
17720 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17721 logic into perform_all_tests() and invoke it with and without
17722 function header prototypes.
17723 (do_function_calls): Remove conditional XFAIL for PR 5318.
17724 (rerun_and_prepare): Remove duplicate code.
17725 (perform_all_tests): New. Main logic moved here.
17726
44dba9b9
AA
177272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17728
17729 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17730 code guarded by #ifdef NO_PROTOTYPES.
17731 (t_double_many_args): Likewise.
17732 (DEF_FUNC_MANY_ARGS_1): Likewise.
17733 (DEF_FUNC_VALUES_1): Likewise.
17734 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17735 guarded by #ifdef PROTOTYPES.
17736
d1fbcd56
AA
177372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17738
17739 * gdb.mi/mi-console.c: Add eye-catcher.
17740 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17741 instead of literal line number.
17742
b0e59b8f
AA
177432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17744
17745 * gdb.base/shr2.c: Add eye-catcher.
17746 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17747 line number.
17748
78f98cca
AA
177492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17750
17751 * gdb.base/jump.c: Add eye-catchers.
17752 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17753 numbers.
17754
58fa2af0
AA
177552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17756
17757 * gdb.base/execd-prog.c: Add eye-catchers.
17758 * gdb.base/foll-exec.c: Likewise.
17759 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17760 line numbers.
17761
04e5059b
AA
177622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17763
17764 * gdb.base/ending-run.c: Add eye-catchers.
17765 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17766 literal line numbers.
17767
dbfdb174
AA
177682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17769
17770 * gdb.base/call-rt-st.c: Add eye-catchers.
17771 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17772 literal line numbers.
17773
888a2ade
AA
177742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17775
17776 * gdb.base/call-ar-st.c: Add eye-catchers.
17777 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17778 literal line numbers.
17779
6acc2dde
AA
177802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17781
17782 * gdb.base/average.c: Add eye-catchers.
17783 * gdb.base/sum.c: Likewise.
17784 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17785 regexps dynamically.
17786
9ecfcd1d
AA
177872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17788
17789 * gdb.base/solib1.c: Add eye-catchers.
17790 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17791 literal line numbers.
17792
78708b7c
PA
177932014-11-12 Pedro Alves <palves@redhat.com>
17794
17795 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17796 leader has exited.
17797
af48d08f
PA
177982014-11-12 Pedro Alves <palves@redhat.com>
17799
17800 * gdb.arch/i386-bp_permanent.c: New file.
17801 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17802 (srcfile): Set to i386-bp_permanent.c.
17803 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17804 that stepi does not execute the 'leave' instruction, instead of
17805 testing it does execute.
17806 * gdb.base/bp-permanent.c: New file.
17807 * gdb.base/bp-permanent.exp: New file.
17808
af3768e9
DE
178092014-11-10 Doug Evans <xdje42@gmail.com>
17810
17811 PR symtab/17564
17812 * gdb.base/symtab-search-order.exp: New file.
17813 * gdb.base/symtab-search-order.c: New file.
17814 * gdb.base/symtab-search-order-1.c: New file.
17815 * gdb.base/symtab-search-order-shlib-1.c: New file.
17816
9de00a4a
PA
178172014-11-07 Pedro Alves <palves@redhat.com>
17818
17819 PR gdb/17511
17820 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17821 i?86-*-linux*.
17822
e0f52461
SC
178232014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17824
17825 PR c++/17494
17826 * gdb.cp/pr17494.cc: New file.
17827 * gdb.cp/pr17494.exp: New file.
17828
6ce8c980
YQ
178292014-11-02 Yao Qi <yao@codesourcery.com>
17830
17831 * gdb.python/python.exp: Get working directory and match the
17832 output of "set extended-prompt \\w " with it.
17833
02be9a71
DE
178342014-10-30 Doug Evans <dje@google.com>
17835
17836 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17837 in objfiles.
17838 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17839 in progspaces.
17840
3bdff46b
LM
178412014-10-30 Janis Johnson <janisjo@codesourcery.com>
17842
17843 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17844 * gdb.base/realname-expand.exp: Likewise.
17845 * gdb.linespec/macro-relative.exp: Likewise.
17846
ab917dfb
PA
178472014-10-29 Pedro Alves <palves@redhat.com>
17848
17849 PR gdb/17408
17850 * gdb.threads/schedlock.c (some_function): New function.
17851 (call_function): New global.
17852 (MAYBE_CALL_SOME_FUNCTION): New macro.
17853 (thread_function): Call it.
17854 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17855 and use it instead of a global counter. Adjust all callers.
17856 (get_current_thread): Use "find current thread" for test message
17857 here rather than having all callers pass down the same string.
17858 (goto_loop): New procedure, factored out from ...
17859 (my_continue): ... this.
17860 (step_ten_loops): Change parameter from test message to command to
17861 use. Adjust.
17862 (list_count): Delete global.
17863 (check_result): New procedure, factored out from duplicate top
17864 level code.
17865 (continue tests): Wrap in with_test_prefix.
17866 (test_step): New procedure, factored out from duplicate top level
17867 code.
17868 (top level): Test "step" in combination with all scheduler-locking
17869 modes. Test "next" in combination with all scheduler-locking
17870 modes, and in combination with stepping over a function call or
17871 not.
17872 * gdb.threads/next-bp-other-thread.c: New file.
17873 * gdb.threads/next-bp-other-thread.exp: New file.
17874
d3d4baed
PA
178752014-10-29 Pedro Alves <palves@redhat.com>
17876
17877 PR python/17372
17878 * gdb.python/python.exp: Test a multi-line command that spawns
17879 interactive Python.
17880 * gdb.base/multi-line-starts-subshell.exp: New file.
17881
563e8d85
YQ
178822014-10-29 Yao Qi <yao@codesourcery.com>
17883
17884 * gdb.base/fileio.exp: Make directories on host.
17885
0ea4d52e
YQ
178862014-10-29 Yao Qi <yao@codesourcery.com>
17887
17888 * gdb.base/fileio.c (test_write): Close the file.
17889
7f5ef605
PA
178902014-10-28 Pedro Alves <palves@redhat.com>
17891
17892 PR gdb/12623
17893 * gdb.base/sigstep.c (no_handler): New global.
17894 (main): If 'no_handler is true, set the signal handlers to
17895 SIG_IGN.
17896 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17897 with_sw_watch and no_handler parameters. Handle them.
17898 (top level) <stepping over handler when stopped at a breakpoint
17899 test>: Add a test axis for testing with a software watchpoint, and
17900 another for testing with the signal handler set to SIG_IGN.
17901 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17902 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17903
abbdbd03
PA
179042014-10-28 Pedro Alves <palves@redhat.com>
17905
17906 PR gdb/17511
17907 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17908 * gdb.base/sigstep.exp (other_handler_location): New global.
17909 (advance): Support stepping into the signal handler, and running
17910 commands while in the handler.
17911 (in_handler_map): New global.
17912 (top level): In the advance test, add combinations for getting
17913 into the handler with stepping commands, and for running commands
17914 in the handler. Add comment descripting the advancei tests.
17915
1df4399f
PA
179162014-10-28 Pedro Alves <palves@redhat.com>
17917
17918 * gdb.base/sigstep.exp: Use build_executable instead of
17919 prepare_for_testing.
17920 (top level): Move code that starts GDB, runs to main and creates a
17921 display to ...
17922 (restart): ... this new procedure.
17923 (top level): Move backtrace from signal handler test to ...
17924 (validate_backtrace): ... this new procedure.
17925 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17926 with_test_prefix. Always restart GDB.
17927 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17928 with_test_prefix. Always restart GDB. No need to delete
17929 breakpoints after the test.
17930 (test_skip_handler): Remove prefix parameter.
17931 (skip_over_handler, breakpoint_to_handler)
17932 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17933 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17934 restart GDB. No need to delete breakpoints after the test.
17935 (top level): Use foreach to call the test procedures with
17936 different commands.
17937
a5b6e449
PA
179382014-10-28 Pedro Alves <palves@redhat.com>
17939
17940 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17941 instead of GNATS numbers.
17942 * gdb.base/sigbpt.exp: Likewise.
17943 * gdb.base/siginfo.exp: Likewise.
17944 * gdb.base/sigstep.exp: Likewise.
17945
e5f8a7cc
PA
179462014-10-27 Pedro Alves <palves@redhat.com>
17947
17948 * gdb.base/sigstep.c (dummy): New global.
17949 (main): Issue a couple writes to the new global.
17950 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17951 procedures.
17952 (skip_over_handler): Use test_skip_handler.
17953 (top level): Call skip_over_handler for stepi and nexti too.
17954 (breakpoint_over_handler): Use test_skip_handler.
17955 (top level): Call breakpoint_over_handler for stepi and nexti too.
17956
763905a3
YQ
179572014-10-27 Yao Qi <yao@codesourcery.com>
17958
17959 * gdb.trace/tfile.c (adjust_function_address)
17960 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17961 function descriptor.
17962
6f259a23
DB
179632014-10-24 Don Breazeal <donb@codesourcery.com>
17964
17965 * gdb.base/foll-fork.exp (test_follow_fork,
17966 catch_fork_child_follow): Check for updated fork messages emitted
17967 from infrun.c.
17968 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17969 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17970 vfork_and_exec_child_follow_through_step): Check for updated vfork
17971 messages emitted from infrun.c.
17972
09dd9a69
PA
179732014-10-24 Pedro Alves <palves@redhat.com>
17974
17975 * gdb.base/corefile.exp: Remove references to ultrix.
17976 * gdb.base/interrupt.exp: Likewise.
17977 * gdb.base/whatis.exp: Likewise.
17978 * gdb.gdb/selftest.exp: Likewise.
17979 * gdb.threads/manythreads.exp: Likewise.
17980 * gdb.threads/print-threads.exp: Likewise.
17981 * gdb.threads/pthreads.exp:: Likewise.
17982 * gdb.threads/schedlock.exp: Likewise.
17983
3433cfa5
SC
179842014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17985
17986 * gdb.cp/non-trivial-retval.cc: Add a test case.
17987 * gdb.cp/non-trivial-retval.exp: Add a test.
17988
092f880b
YQ
179892014-10-20 Yao Qi <yao@codesourcery.com>
17990
17991 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17992 * gdb.python/py-objfile-script-gdb.py: New file.
17993 * gdb.python/py-objfile-script.exp: Update reference to
17994 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17995 of remote_download. Remove the dest file.
17996
acbdb7f3
YQ
179972014-10-20 Yao Qi <yao@codesourcery.com>
17998
17999 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18000 * gdb.base/step-line.exp: Likewise.
18001 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18002 * gdb.dwarf2/dw2-basic.exp: Likewise.
18003 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18004 * gdb.dwarf2/dw2-filename.exp: Likewise.
18005 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18006 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18007 * gdb.dwarf2/dw2-producer.exp: Likewise.
18008 * gdb.dwarf2/mac-fileno.exp: Likewise.
18009 * gdb.python/py-frame-args.exp: Likewise.
18010 * gdb.python/py-framefilter.exp: Likewise.
18011 * gdb.python/py-mi.exp: Likewise.
18012 * gdb.python/py-objfile-script.exp: Likewise
18013 * gdb.python/py-pp-integral.exp: Likewise.
18014 * gdb.python/py-pp-re-notag.exp: Likewise.
18015 * gdb.python/py-prettyprint.exp: Likewise.
18016 * gdb.python/py-section-script.exp: Likewise.
18017 * gdb.python/py-typeprint.exp: Likewise.
18018 * gdb.python/py-xmethods.exp: Likewise.
18019 * gdb.stabs/weird.exp: Likewise.
18020 * gdb.xml/tdesc-regs.exp: Likewise.
18021
bd286a29
KCY
180222014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18023
18024 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18025 (out_cu): Use addr_len for the size of addresses.
18026 (out_line): Likewise. Size DW_LNE_set_address instruction
18027 according to addr_len.
18028 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18029 (FUNC): Add START_INSNS to definition.
18030
673dc4a0
YQ
180312014-10-18 Yao Qi <yao@codesourcery.com>
18032
18033 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18034 gdb_has_argv0 return true.
18035 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18036 check [target_info exists noargs], check [gdb_has_argv0]
18037 instead.
18038 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18039 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18040 procedures.
18041
4ffbba72
DE
180422014-10-17 Doug Evans <dje@google.com>
18043
18044 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18045 event.
18046 * gdb.python/py-events.py: Add clear_objfiles event.
18047
d096d8c1
DE
180482014-10-17 Doug Evans <dje@google.com>
18049
18050 * gdb.python/py-objfile.exp: Test progspace attribute.
18051
a80db015
LM
180522014-10-17 Luis Machado <lgustavo@codesourcery.com>
18053
18054 * gdb.guile/scm-breakpoint.exp: Do not assume any
18055 directory separators when matching source file paths.
18056 * gdb.python/py-breakpoint.exp: Likewise.
18057 * gdb.reverse/break-precsave.exp: Likewise.
18058 * gdb.reverse/break-reverse.exp: Likewise.
18059 * gdb.reverse/consecutive-precsave.exp: Likewise.
18060 * gdb.reverse/finish-precsave.exp: Likewise.
18061 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18062 * gdb.reverse/finish-reverse.exp: Likewise.
18063 * gdb.reverse/i386-precsave.exp: Likewise.
18064 * gdb.reverse/i387-env-reverse.exp: Likewise.
18065 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18066 * gdb.reverse/machinestate-precsave.exp: Likewise.
18067 * gdb.reverse/machinestate.exp: Likewise.
18068 * gdb.reverse/sigall-precsave.exp: Likewise.
18069 * gdb.reverse/solib-precsave.exp: Likewise.
18070 * gdb.reverse/step-precsave.exp: Likewise.
18071 * gdb.reverse/until-precsave.exp: Likewise.
18072 * gdb.reverse/watch-precsave.exp: Likewise.
18073 * gdb.reverse/watch-reverse.exp: Likewise.
18074
b22089ab
YQ
180752014-10-17 Yao Qi <yao@codesourcery.com>
18076
18077 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18078 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18079
6c4486e6
PA
180802014-10-17 Pedro Alves <palves@redhat.com>
18081
18082 PR gdb/17471
18083 * gdb.base/bg-execution-repeat.c: New file.
18084 * gdb.base/bg-execution-repeat.exp: New file.
18085
0ff33695
PA
180862014-10-17 Pedro Alves <palves@redhat.com>
18087
18088 PR gdb/17300
18089 * gdb.base/continue-all-already-running.c: New file.
18090 * gdb.base/continue-all-already-running.exp: New file.
18091
6fdebc3d
PA
180922014-10-17 Pedro Alves <palves@redhat.com>
18093
18094 PR gdb/17472
18095 * gdb.base/annota-input-while-running.c: New file.
18096 * gdb.base/annota-input-while-running.exp: New file.
18097
32a8097b
PA
180982014-10-17 Pedro Alves <palves@redhat.com>
18099
18100 * gdb.base/callfuncs.exp: emove references to osf.
18101 * gdb.base/sigall.exp: Likewise.
18102 * gdb.gdb/selftest.exp: Likewise.
18103 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18104 * gdb.mi/non-stop.c: Likewise.
18105 * gdb.mi/pthreads.c: Likewise.
18106 * gdb.reverse/sigall-precsave.exp: Likewise.
18107 * gdb.reverse/sigall-reverse.exp: Likewise.
18108 * gdb.threads/pthreads.c: Likewise.
18109 * gdb.threads/pthreads.exp: Likewise.
18110
7a3517ff
YQ
181112014-10-17 Yao Qi <yao@codesourcery.com>
18112
18113 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18114 check 'target_info exists noargs'.
18115 (test_command_prompt_position): Likewise.
18116 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18117 Remove "set args".
18118 (progvar_simple_while_test): Likewise.
18119 (progvar_complex_if_while_test): Likewise.
18120 (if_while_breakpoint_command_test): Likewise.
18121 (infrun_breakpoint_command_test): Likewise.
18122 (breakpoint_command_test): Likewise.
18123 (watchpoint_command_test): Likewise.
18124 (bp_deleted_in_command_test): Likewise.
18125 (temporary_breakpoint_commands): Likewise.
18126
bb99c472
YQ
181272014-10-16 Yao Qi <yao@codesourcery.com>
18128
18129 * gdb.base/remotetimeout.exp: Remove noargs checking.
18130
7c16b83e
PA
181312014-10-15 Pedro Alves <palves@redhat.com>
18132
18133 PR breakpoints/9649
18134 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18135 * gdb.base/breakpoint-in-ro-region.exp
18136 (probe_target_hardware_step): New procedure.
18137 (top level): Probe hardware stepping and hardware breakpoint
18138 support. Test stepping through a read-only region, with both
18139 "breakpoint auto-hw" on and off and both "always-inserted" on and
18140 off.
18141
35a49624
IB
181422014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18143
18144 * gdb.dlang/demangle.exp: Update for demangling changes.
18145
2d1c107c
SC
181462014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18147
18148 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18149 * gdb.cp/non-trivial-retval.exp: Add new tests.
18150
778811d5
SC
181512014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18152
18153 PR c++/13403
18154 PR c++/15154
18155 * gdb.cp/non-trivial-retval.cc: New file.
18156 * gdb.cp/non-trivial-retval.exp: New file.
18157
10c5f0a8
YQ
181582014-10-15 Yao Qi <yao@codesourcery.com>
18159
18160 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18161 remote host.
18162
65d7b369
YQ
181632014-10-15 Yao Qi <yao@codesourcery.com>
18164
18165 * gdb.python/py-symbol.exp: Match file base name if host is
18166 remote, otherwise match file name with dir name.
18167 * gdb.python/py-symtab.exp: Likewise.
18168 * gdb.python/python.exp: Likewise.
18169
46dc1394
YQ
181702014-10-15 Yao Qi <yao@codesourcery.com>
18171
18172 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18173 pattern.
18174 * gdb.python/py-symtab.exp: Likewise.
18175 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18176 locationn.
18177
c40cc657
JB
181782014-10-14 Joel Brobecker <brobecker@adacore.com>
18179
18180 * gdb.ada/addr_arith: New testcase.
18181
2abf49e1
MR
181822014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18183
18184 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18185 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18186 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18187 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18188
f7088df3
SDJ
181892014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18190
18191 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18192 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18193 * gdb.arch/stap-eval-lang-ada.exp: New file.
18194
4dc06805
YQ
181952014-10-14 Yao Qi <yao@codesourcery.com>
18196
18197 * gdb.mi/mi-var-child.c (nothing1): New function.
18198 (nothing2): New function.
18199 (do_children_tests): Set function pointers by nothing1 and
18200 nothing2.
18201 * gdb.mi/mi-var-child.exp: Step over new added statements.
18202 Update test to match the new output.
18203 * gdb.mi/var-cmd.c (nothing1): New function.
18204 (nothing2): New function.
18205 (do_children_tests): Set function pointers by nothing1 and
18206 nothing2.
18207 * gdb.mi/mi-var-display.exp: Update test to match output.
18208 Step to the line specified by $line_dct_nothing.
18209 Increase the number of lines to step.
18210
46a93de2
YQ
182112014-10-14 Yao Qi <yao@codesourcery.com>
18212
18213 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18214 tests.
18215 * gdb.mi/mi2-var-child.exp: Likewise.
18216
14ea52ee
DE
182172014-10-13 Doug Evans <dje@google.com>
18218
18219 * gdb.python/py-objfile.exp: Change name of file name test.
18220
e5c6e92b
DE
182212014-10-13 Doug Evans <dje@google.com>
18222
18223 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18224 from the start of the CU.
18225
c780cc2f
JK
182262014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18227 Yao Qi <yao@codesourcery.com>
18228
18229 Fix "save breakpoints" for "catch" command.
18230 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18231 Remove -nonewline. Match also the added "main" line.
18232
99894e11
JK
182332014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18234
18235 Fix "save breakpoints" for "disable $bpnum" command.
18236 * gdb.base/save-bp.c (main): Add label.
18237 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18238
6e1ac5a3
JK
182392014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18240
18241 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18242
754dd2b0
YQ
182432014-10-11 Yao Qi <yao@codesourcery.com>
18244
18245 * gdb.server/server-kill.exp: Execute command
18246 "set remote trace-status-packet on" before "tstatus".
18247
f90183d7
YQ
182482014-10-11 Yao Qi <yao@codesourcery.com>
18249
18250 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18251 (main): Call getppid.
18252 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18253 and continue to it. Read variable "server_pid".
18254
bf40a607
YQ
182552014-10-11 Yao Qi <yao@codesourcery.com>
18256
18257 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18258
052ca370
YQ
182592014-10-11 Yao Qi <yao@codesourcery.com>
18260
18261 * gdb.threads/thread-find.exp: Don't execute command
18262 "info threads".
18263 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18264 * gdb.threads/linux-dp.exp: Don't check the condition
18265 $threads_created equals to zero.
18266
3831839c
PA
182672014-10-10 Pedro Alves <palves@redhat.com>
18268
18269 * gdb.base/bigcore.exp: Remove references to IRIX.
18270 * gdb.base/funcargs.exp: Likewise.
18271 * gdb.base/interrupt.exp: Likewise.
18272 * gdb.base/mips_pro.exp: Likewise.
18273 * gdb.base/nodebug.exp: Likewise.
18274 * gdb.base/setvar.exp: Likewise.
18275 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18276
8b9a549d
PA
182772014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18278 Pedro Alves <palves@redhat.com>
18279
18280 PR symtab/14466
18281 * gdb.base/vdso-warning.c: New file.
18282 * gdb.base/vdso-warning.exp: New file.
18283
d48ba5e8
DE
182842014-10-02 Doug Evans <dje@google.com>
18285
18286 * gdb.base/structs.c (main): Don't run forever.
18287
2278c276
PA
182882014-10-02 Pedro Alves <palves@redhat.com>
18289
18290 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18291 (top level) <stop threads 1, stop threads 2>: Use it.
18292
b57bacec
PA
182932014-10-02 Pedro Alves <palves@redhat.com>
18294
18295 * gdb.threads/break-while-running.exp (test): Add new
18296 'update_thread_list' argument. Skip "info threads" if false.
18297 (top level): Add new 'update_thread_list' axis.
18298
13fd3ff3
PA
182992014-10-02 Pedro Alves <palves@redhat.com>
18300
18301 PR breakpoints/17431
18302 * gdb.base/execl-update-breakpoints.c: New file.
18303 * gdb.base/execl-update-breakpoints.exp: New file.
18304
0fec99e8
PA
183052014-10-01 Pedro Alves <palves@redhat.com>
18306
18307 * gdb.base/breakpoint-in-ro-region.c: New file.
18308 * gdb.base/breakpoint-in-ro-region.exp: New file.
18309
2ddf4301
SM
183102014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18311
18312 * gdb.mi/mi-exit-code.exp: New file.
18313 * gdb.mi/mi-exit-code.c: New file.
18314
6a5f3f43
YQ
183152014-09-30 Yao Qi <yao@codesourcery.com>
18316
18317 * lib/prelink-support.exp (build_executable_own_libs): Error if
18318 the target isn't native.
18319
345bcc73
YQ
183202014-09-30 Yao Qi <yao@codesourcery.com>
18321
18322 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18323 false.
18324
a25a5a45
PA
183252014-09-22 Pedro Alves <palves@redhat.com>
18326
18327 * gdb.threads/break-while-running.exp: New file.
18328 * gdb.threads/break-while-running.c: New file.
18329
00ba3162
YQ
183302014-09-19 Yao Qi <yao@codesourcery.com>
18331
18332 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18333 Invoke test. Restart GDB with --readnow and invoke test again.
18334
c3b7b696
YQ
183352014-09-19 Yao Qi <yao@codesourcery.com>
18336
18337 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18338 proc set_breakpoint_on_gcd_function. Invoke
18339 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18340 invoke set_breakpoint_on_gcd_function again.
18341
2b4fd423
DE
183422014-09-18 Doug Evans <dje@google.com>
18343
18344 * gdb.dwarf2/symtab-producer.exp: New file.
18345
a5947601
SDJ
183462014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18347
18348 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18349 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18350 * gdb.base/global-var-nested-by-dso.c: Likewise.
18351 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18352
91c19059
SDJ
183532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18354 Pedro Alves <palves@redhat.com>
18355
18356 * gdb.base/watch-bitfields.exp: Pass string other than test file
18357 name to prepare_for_testing.
18358 (watch): New procedure.
18359 (expect_watchpoint): Use with_test_prefix.
18360 (top level): Factor out tests to ...
18361 (test_watch_location, test_regular_watch): ... these new
18362 procedures, and use with_test_prefix and gdb_continue_to_end.
18363
bb9d5f81
PP
183642014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18365
18366 PR breakpoints/12526
18367 * gdb.base/watch-bitfields.exp: New file.
18368 * gdb.base/watch-bitfields.c: New file.
18369
635856f5
PA
183702014-09-16 Pedro Alves <palves@redhat.com>
18371
18372 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18373 software and hardware addresses, not software address against
18374 itself.
18375
7280ceea
PA
183762014-09-16 Pedro Alves <palves@redhat.com>
18377
18378 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18379 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18380
428b16bd
PA
183812014-09-16 Pedro Alves <palves@redhat.com>
18382
18383 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18384 files.
18385 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18386 "*-*-vxworks*" throughout.
18387 * gdb.base/break.exp: Likewise.
18388 * gdb.base/default.exp: Likewise.
18389 * gdb.base/scope.exp: Likewise.
18390 * gdb.base/sepdebug.exp: Likewise.
18391 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18392 throughout.
18393 * gdb.base/run.c: Likewise.
18394 * gdb.base/sepdebug.c: Likewise.
18395 * gdb.hp/gdb.aCC/run.c: Likewise.
18396 * gdb.reverse/until-reverse.c: Likewise.
18397 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18398
666d413c
YQ
183992014-09-16 Yao Qi <yao@codesourcery.com>
18400
18401 * boards/local-remote-host-native.exp: New file.
18402
57cbd724
DE
184032014-09-14 Doug Evans <xdje42@gmail.com>
18404
18405 * gdb.threads/queue-signal.c (thread_count): New variable.
18406 (thread_count_mutex, thread_count_condvar): New variables.
18407 (incr_thread_count, wait_all_threads_running): New functions.
18408 (main): Wait for all threads to be in their thread functions.
18409
81219e53
DE
184102014-09-13 Doug Evans <xdje42@gmail.com>
18411
18412 * gdb.threads/queue-signal.c: New file.
18413 * gdb.threads/queue-signal.exp: New file.
18414
3714cea7
DE
184152014-09-13 Doug Evans <xdje42@gmail.com>
18416
18417 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18418 be consistent with what default_gdb_init uses.
18419 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18420 the plain text of the prompt. Add some logging printfs.
18421 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18422
fa43b1d7
PA
184232014-09-12 Pedro Alves <palves@redhat.com>
18424
18425 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18426 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18427 * gdb.arch/i386-size-overlap.exp: Likewise.
18428 * gdb.arch/i386-size.exp: Likewise.
18429 * gdb.arch/i386-unwind.exp: Likewise.
18430 * gdb.base/a2-run.exp: Likewise.
18431 * gdb.base/break.exp: Likewise.
18432 * gdb.base/charset.exp: Likewise.
18433 * gdb.base/chng-syms.exp: Likewise.
18434 * gdb.base/commands.exp: Likewise.
18435 * gdb.base/dbx.exp: Likewise.
18436 * gdb.base/find.exp: Likewise.
18437 * gdb.base/funcargs.exp: Likewise.
18438 * gdb.base/jit-simple.exp: Likewise.
18439 * gdb.base/reread.exp: Likewise.
18440 * gdb.base/sepdebug.exp: Likewise.
18441 * gdb.base/step-bt.exp: Likewise.
18442 * gdb.cp/mb-inline.exp: Likewise.
18443 * gdb.cp/mb-templates.exp: Likewise.
18444 * gdb.objc/basicclass.exp: Likewise.
18445 * gdb.threads/killed.exp: Likewise.
18446
9d9bf2df
EBM
184472014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18448
18449 PR tdep/17379
18450 * gdb.arch/powerpc-stackless.S: New file.
18451 * gdb.arch/powerpc-stackless.exp: New file.
18452
1cf2f1b0
JK
184532014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18454
18455 * gdb.base/attach.c: Include unistd.h.
18456 (main): Call alarm. Add label postloop.
18457 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18458 gdb_breakpoint, gdb_continue_to_breakpoint.
18459 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18460
98880d46
PA
184612014-09-11 Pedro Alves <palves@redhat.com>
18462
18463 PR gdb/17347
18464 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18465 * gdb.base/attach.exp (test_command_line_attach_run): New
18466 procedure.
18467 (top level): Call it.
18468
4c92ff2c
PA
184692014-09-11 Pedro Alves <palves@redhat.com>
18470
18471 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18472 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18473 (do_command_attach_tests): Use spawn_wait_for_attach.
18474 * gdb.base/solib-overlap.exp: Likewise.
18475 * gdb.multi/multi-attach.exp: Likewise.
18476 * gdb.python/py-prompt.exp: Likewise.
18477 * gdb.python/py-sync-interp.exp: Likewise.
18478 * gdb.server/ext-attach.exp: Likewise.
18479
3adc1a7d
GKB
184802014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18481
18482 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18483 command in testcase. Simplify testcase.
18484
96334934
JB
184852014-09-10 Joel Brobecker <brobecker@adacore.com>
18486
18487 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18488
eb479039
JB
184892014-09-10 Joel Brobecker <brobecker@adacore.com>
18490
18491 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18492
deede10c
JB
184932014-09-10 Joel Brobecker <brobecker@adacore.com>
18494
18495 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18496
7828a5f5
JB
184972014-09-10 Joel Brobecker <brobecker@adacore.com>
18498
18499 * gdb.dwarf2/dynarr-ptr.c: New file.
18500 * gdb.dwarf2/dynarr-ptr.exp: New file.
18501
33aeebcf
MR
185022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18503
18504 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18505 of 30 rather than hardcoding 120 for a slow test case. Take the
18506 `gdb,timeout' target setting into account for this calculation.
18507 Don't extend the timeout for the test cases that don't need it.
18508
7b415901
MR
185092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18510
18511 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18512 a factor of 2 for a slow test case. Take the `gdb,timeout'
18513 target setting into account for this calculation.
18514 * gdb.reverse/until-precsave.exp: Increase the timeout by
18515 a factor of 15 and 3 respectively rather than adding 120
18516 for a pair of slow test cases. Take the `gdb,timeout'
18517 target setting into account for this calculation.
18518
4a40f85a
MR
185192014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18520
18521 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18522 timeout, don't pass one down to gdb_expect.
18523 (gdb_expect): Rework timeout selection.
18524
09635af7
MR
185252014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18526
18527 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18528 exception on timeout.
18529 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18530 (gdbserver_start_extended): Catch any `gdbserver_start' error
18531 exceptions.
18532 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18533 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18534 `gdbserver_gdb_load' error exceptions.
18535
2bdd10b7
MR
185362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18537
18538 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18539 120 on waiting for the TCP socket to open.
18540
316935f0
DE
185412014-09-09 Doug Evans <xdje42@gmail.com>
18542
18543 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18544 _caller_matches, _any_caller_is, _any_caller_matches.
18545
83740597
DE
185462014-09-09 Doug Evans <xdje42@gmail.com>
18547
18548 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18549
4c122fc3
YQ
185502014-09-09 Yao Qi <yao@codesourcery.com>
18551
18552 * gdb.mi/mi-var-display.exp: Set print symbol off.
18553
a9f116cb
GKB
185542014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18555
18556 PR gdb/17035
18557 * gdb.base/commands.exp: Add tests to verify user-defined
18558 commands with empty bodies.
18559 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18560 python commands in `show user command`.
18561 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18562 scheme commands in `show user command`.
18563
c75bd3a2
JK
185642014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18565
18566 PR python/17355
18567 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18568 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18569 * gdb.python/py-framefilter-invalidarg.exp: New file.
18570 * gdb.python/py-framefilter-invalidarg.py: New file.
18571
faa42425
DE
185722014-09-06 Doug Evans <xdje42@gmail.com>
18573
18574 PR 15276
18575 * gdb.python/py-caller-is.c: New file.
18576 * gdb.python/py-caller-is.exp: New file.
18577
474ca4f6
SDJ
185782014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18579
18580 PR gdb/17235
18581 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18582 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18583
eb0b0463
SDJ
185842014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18585
18586 PR fortran/17237
18587 * gdb.fortran/print-formatted.exp: New file.
18588 * gdb.fortran/print-formatted.f90: Likewise.
18589
5f3b99cf
SS
185902014-09-03 Sasha Smundak <asmundak@google.com>
18591
18592 * gdb.python/py-frame.exp: Test Frame.read_register.
18593
7d793aa9
SDJ
185942014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18595
18596 PR python/16699
18597 * gdb.python/py-completion.exp: New file.
18598 * gdb.python/py-completion.py: Likewise.
18599
fb0576e9
DE
186002014-08-28 Doug Evans <dje@google.com>
18601
18602 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18603 eax,etc. are live with values set by gdb and thus the compiler can't
18604 use them.
18605 * gdb.arch/i386-pseudo.c (main): Ditto.
18606
ee92b0dd
DE
186072014-08-27 Doug Evans <dje@google.com>
18608
18609 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18610
6649db35
DE
186112014-08-25 Doug Evans <dje@google.com>
18612
18613 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18614 (main): Ditto.
18615
564b7600
DE
186162014-08-25 Doug Evans <dje@google.com>
18617
18618 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18619
3881fb67
YQ
186202014-08-24 Yao Qi <yao@codesourcery.com>
18621
18622 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18623 symbol off.
18624 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18625
a05a36a5
DE
186262014-08-22 Doug Evans <dje@google.com>
18627
18628 PR 17276
18629 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18630 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18631 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18632
7c343b48
YQ
186332014-08-22 Yao Qi <yao@codesourcery.com>
18634
18635 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18636 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18637 * gdb.python/python.exp: Likewise. Use .py file on the host
18638 instead of the build.
18639
22fd09ae
JK
186402014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18641
18642 * gdb.threads/gcore-stale-thread.c: New file.
18643 * gdb.threads/gcore-stale-thread.exp: New file.
18644
a8454a7c
PA
186452014-08-21 Pedro Alves <palves@redhat.com>
18646
18647 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18648 * gdb.base/gcore-relro-pie.exp: Likewise.
18649 * gdb.base/gcore-relro.exp: Likewise.
18650 * gdb.base/gcore.exp: Likewise.
18651 * gdb.base/print-symbol-loading.exp: Likewise.
18652 * gdb.threads/gcore-thread.exp: Likewise.
18653 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18654
2a31c623
PA
186552014-08-20 Pedro Alves <palves@redhat.com>
18656 Jan Kratochvil <jan.kratochvil@redhat.com>
18657
18658 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18659 configure.
18660 (EXPECT): Handle READ1 being set.
18661 (all): Depend on EXTRA_RULES.
18662 (check-read1, expect-read1, read1.so, read1): New rules.
18663 * README (Testsuite Parameters): Document the READ1 make variable.
18664 (Race detection): New section.
18665 * configure: Regenerate.
18666 * configure.ac: If build==host==target, and running under a
18667 GNU/glibc system, add read1 to the extra Makefile rules.
18668 (EXTRA_RULES): AC_SUBST it.
18669 * lib/read1.c: New file.
18670
d36430db
JB
186712014-08-20 Joel Brobecker <brobecker@adacore.com>
18672
18673 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18674 the handling of variables declared as a typedef to an array
18675 which a DW_AT_data_location attribute.
18676
9a0dc9e3
PA
186772014-08-19 Andrew Burgess <aburgess@broadcom.com>
18678 Pedro Alves <palves@redhat.com>
18679
18680 PR symtab/14604
18681 PR symtab/14605
18682 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18683 gdb_test.
18684
0718a8da
PA
186852014-08-19 Pedro Alves <palves@redhat.com>
18686
18687 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18688
13b448cd
YQ
186892014-08-19 Yao Qi <yao@codesourcery.com>
18690
18691 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18692 right line.
18693
1cbf5077
DB
186942014-08-18 David Blaikie <dblaikie@gmail.com>
18695
18696 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18697
bf0fae19
JB
186982014-08-18 Joel Brobecker <brobecker@adacore.com>
18699
18700 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18701 attribute in array range.
18702
3c8c5dcc
JB
187032014-08-18 Joel Brobecker <brobecker@adacore.com>
18704
18705 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18706
e66d4446
SC
187072014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18708
18709 PR c++/17132
18710 * gdb.cp/pr17132.cc: New file.
18711 * gdb.cp/pr17132.exp: New file.
18712
940df408
SC
187132014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18714
18715 * gdb.python/py-xmethods.py (A_getarrayind)
18716 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18717 Use 'print' with function call syntax.
18718 (E_method_matcher.match): Fix tab vs space indentation mixup.
18719
ebcc6c3a
YQ
187202014-08-15 Yao Qi <yao@codesourcery.com>
18721
18722 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18723 false.
18724
775e0f04
YQ
187252014-08-15 Yao Qi <yao@codesourcery.com>
18726
18727 * gdb.cp/casts.exp: Set print symbol off.
18728 * gdb.cp/class2.exp: Likewise.
18729 * gdb.cp/overload.exp: Likewise.
18730 * gdb.cp/templates.exp: Likewise.
18731
d769e349
DE
187322014-08-11 Doug Evans <dje@google.com>
18733
18734 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18735 (test_load_shlib): Update.
18736
20c6f1e1
YQ
187372014-08-09 Yao Qi <yao@codesourcery.com>
18738
18739 * gdb.base/display.exp: Invoke is_address_zero_readable.
18740 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18741 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18742 * gdb.base/hbreak-unmapped.exp: Return if
18743 is_address_zero_readable returns true.
18744 * gdb.base/signest.exp: Likewise.
18745 * gdb.base/signull.exp: Likewise.
18746 * gdb.base/sigbpt.exp: Likewise.
18747 * gdb.guile/scm-disasm.exp: Do the test if
18748 is_address_zero_readable returns false.
18749 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18750 * gdb.python/py-arch.exp: Likewise.
18751 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18752 * lib/gdb.exp (is_address_zero_readable): New proc.
18753
5792e8e3
YQ
187542014-08-09 Yao Qi <yao@codesourcery.com>
18755
18756 PR testsuite/13443
18757 * gdb.mi/mi-var-display.exp: Make test messages unique.
18758
3cecbbbe
TT
187592014-08-04 Tom Tromey <tromey@redhat.com>
18760
18761 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18762 target 0".
18763
00b51ff5
TT
187642014-08-04 Tom Tromey <tromey@redhat.com>
18765
18766 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18767 "target_resume".
18768
6908c509
JB
187692014-08-01 Joel Brobecker <brobecker@adacore.com>
18770
18771 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18772 inner_vla_struct_object_size.
18773 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18774 as xfail.
18775
cc6563d2
PA
187762014-07-30 Pedro Alves <palves@redhat.com>
18777
18778 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18779 comment.
18780
7e09a223
YQ
187812014-07-29 Yao Qi <yao@codesourcery.com>
18782
18783 PR gdb/17206
18784 * gdb.base/until-nodebug.exp: New.
18785
7ebdbe92
DE
187862014-07-28 Doug Evans <xdje42@gmail.com>
18787
18788 PR guile/17203
18789 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18790 previously existing parameter, and previously ambiguously spelled
18791 parameter.
18792
fdb1adc6
WN
187932014-07-28 Will Newton <will.newton@linaro.org>
18794
18795 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18796
186fcde0
DE
187972014-07-26 Ludovic Courtès <ludo@gnu.org>
18798 Doug Evans <xdje42@gmail.com>
18799
18800 PR guile/17146
18801 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18802
70509625
PA
188032014-07-25 Pedro Alves <palves@redhat.com>
18804
18805 * gdb.threads/signal-command-handle-nopass.c: New file.
18806 * gdb.threads/signal-command-handle-nopass.exp: New file.
18807 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18808 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18809 * gdb.threads/signal-delivered-right-thread.c: New file.
18810 * gdb.threads/signal-delivered-right-thread.exp: New file.
18811
c3f814a1
PA
188122014-07-25 Pedro Alves <palves@redhat.com>
18813
18814 * gdb.base/double-prompt-target-event-error.exp
18815 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18816 match.
18817 (cancel_pagination_in_target_event): Rework double prompt
18818 detection.
18819 * gdb.base/paginate-after-ctrl-c-running.exp
18820 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18821 <return>' match.
18822 * gdb.base/paginate-bg-execution.exp
18823 (test_bg_execution_pagination_return)
18824 (test_bg_execution_pagination_cancel): Remove '-notransfer
18825 <return>' matches.
18826 * gdb.base/paginate-execution-startup.exp
18827 (test_fg_execution_pagination_return)
18828 (test_fg_execution_pagination_cancel): Remove '-notransfer
18829 <return>' matches.
18830 * gdb.base/paginate-inferior-exit.exp
18831 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18832 match.
18833 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18834 * lib/gdb.exp (pagination_prompt): Run text through
18835 string_to_regexp.
18836 (gdb_test_multiple): Match $pagination_prompt instead of
18837 "<return>".
18838 (string_to_regexp): Move to lib/gdb-utils.exp.
18839
e214cf6c
JK
188402014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18841
18842 * gdb.arch/amd64-entry-value-paramref.S: New file.
18843 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18844 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18845 * gdb.arch/amd64-optimout-repeat.S: New file.
18846 * gdb.arch/amd64-optimout-repeat.c: New file.
18847 * gdb.arch/amd64-optimout-repeat.exp: New file.
18848
17d0c5c8
JK
188492014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18850
18851 PR gdb/17170
18852 * gdb.base/statistics.exp: New file.
18853
b8b8facf
DE
188542014-07-17 Doug Evans <dje@google.com>
18855
74b49205 18856 PR gdb/17170
b8b8facf
DE
18857 * gdb.base/maint.exp: Update testing of per-command stats.
18858
1b5d0ab3
PA
188592014-07-16 Pedro Alves <palves@redhat.com>
18860
18861 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18862 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18863 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18864 (tfile_write_buf): New functions.
18865 (add_memory_block): Rewrite using the above.
18866 (adjust_function_address): New function.
18867 (FUNCTION_ADDRESS): New macro.
18868 (write_basic_trace_file): Remove short_x local, and use
18869 tfile_write_16. Change type of func_addr local to unsigned long
18870 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18871 here. Cast argument of add_memory_block to char pointer.
18872 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18873 (main): Remove parameters.
18874 * gdb.trace/tfile.exp: Remove nowarnings.
18875
4d974e88
SM
188762014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18877
18878 * gdb.base/debug-expr.exp: Test string evaluation with
18879 "debug expression" on.
18880
41e99568
PA
188812014-07-15 Pedro Alves <palves@redhat.com>
18882
18883 * gdb.base/reread.exp: Use clean_restart.
18884
487d9753
PL
188852014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18886
18887 * gdb.arch/avr-flash-qualifer.c: New.
18888 * gdb.arch/avr-flash-qualifer.exp: New.
18889
cc1c52ad
PA
188902014-07-14 Pedro Alves <palves@redhat.com>
18891
18892 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18893 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18894
1e973570
PA
188952014-07-14 Pedro Alves <palves@redhat.com>
18896
18897 * gdb.base/double-prompt-target-event-error.c: New file.
18898 * gdb.base/double-prompt-target-event-error.exp: New file.
18899
93d6eb10
PA
189002014-07-14 Pedro Alves <palves@redhat.com>
18901
18902 PR gdb/17072
18903 * gdb.base/paginate-inferior-exit.c: New file.
18904 * gdb.base/paginate-inferior-exit.exp: New file.
18905
0017922d
PA
189062014-07-14 Pedro Alves <palves@redhat.com>
18907
18908 PR gdb/17072
18909 * gdb.base/paginate-bg-execution.c: New file.
18910 * gdb.base/paginate-bg-execution.exp: New file.
18911
94696ad3
PA
189122014-07-14 Pedro Alves <palves@redhat.com>
18913
18914 PR gdb/17072
18915 * gdb.base/paginate-execution-startup.c: New file.
18916 * gdb.base/paginate-execution-startup.exp: New file.
18917 * lib/gdb.exp (pagination_prompt): New global.
18918 (default_gdb_spawn): New procedure, factored out from
18919 default_gdb_spawn.
18920 (default_gdb_start): Adjust to call default_gdb_spawn.
18921 (gdb_spawn): New procedure.
18922
bd293940
PA
189232014-07-14 Pedro Alves <palves@redhat.com>
18924
18925 * lib/gdb.exp (gdb_assert): New procedure.
18926 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18927
c933f875
PA
189282014-07-14 Pedro Alves <palves@redhat.com>
18929
18930 * gdb.base/execution-termios.c: New file.
18931 * gdb.base/execution-termios.exp: New file.
18932
d98b7a16
TT
189332014-07-14 Tom Tromey <tromey@redhat.com>
18934
18935 * gdb.cp/vla-cxx.cc: New file.
18936 * gdb.cp/vla-cxx.exp: New file.
18937
548740d6
TT
189382014-07-14 Tom Tromey <tromey@redhat.com>
18939
18940 * gdb.reverse/rerun-prec.c: New file.
18941 * gdb.reverse/rerun-prec.exp: New file.
18942
a25eb028
MR
189432014-07-12 Maciej W. Rozycki <macro@mips.com>
18944 Maciej W. Rozycki <macro@codesourcery.com>
18945
18946 * lib/gdb-utils.exp: New file.
18947 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18948 inline `gdb_init_command' processing.
18949 (gdb_start_cmd): Likewise.
18950 * lib/mi-support.exp (mi_run_cmd): Likewise.
18951 * README: Document `gdb_init_command' and `gdb_init_commands'.
18952
218c2655
JK
189532014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18954
18955 Fix false FAIL running under a very long directory name.
18956 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18957 and "set print elements 10000". Twice.
18958
5401fde3
YQ
189592014-07-11 Yao Qi <yao@codesourcery.com>
18960
18961 * gdb.base/exprs.exp: "set print symbol off".
18962
e76126e8
PA
189632014-07-11 Pedro Alves <palves@redhat.com>
18964
18965 * gdb.threads/kill.c: New file.
18966 * gdb.threads/kill.exp: New file.
18967
2d6f0de6
YQ
189682014-07-10 Yao Qi <yao@codesourcery.com>
18969
18970 * gdb.trace/tfile.c (write_basic_trace_file)
18971 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18972 address written to trace file.
18973
7180e04a
PA
189742014-07-09 Pedro Alves <palves@redhat.com>
18975
18976 * gdb.base/attach-wait-input.exp: New file.
18977 * gdb.base/attach-wait-input.c: New file.
18978
9a9a7608
AB
189792014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18980
18981 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18982 setting up test structures.
18983 (main): Call new test function.
18984 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18985 test function, continue into test function and walk test
18986 structures.
18987
161ac41e
YQ
189882014-07-02 Yao Qi <yao@codesourcery.com>
18989
18990 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18991 'bar_start' at the beginning of functions 'foo' and 'bar'
18992 respectively.
18993 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18994 instead of 'foo' and 'bar'.
18995
1f267ae3
MM
189962014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18997
18998 * gdb.btrace/segv.exp: New.
18999 * gdb.btrace/segv.c: New.
19000
2b239efb
LM
190012014-07-02 Luis Machado <lgustavo@codesourcery.com>
19002
19003 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19004 instruction.
19005
cf363f18
MW
190062014-06-30 Mark Wielaard <mjw@redhat.com>
19007
19008 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19009 vulture, vilify, villar): New volatile array constants.
19010 (vindictive, vegetation): New const volatile array constants.
19011 * gdb.base/volatile.exp: Test volatile and const volatile array
19012 types.
19013
aebf9d24
AA
190142014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19015
19016 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19017 target lacks support for awatch, rwatch, or hbreak.
19018
b67a2c6f
YQ
190192014-06-27 Yao Qi <yao@codesourcery.com>
19020
19021 * gdb.multi/dummy-frame-restore.exp: New.
19022 * gdb.multi/dummy-frame-restore.c: New.
19023
aef92902
MM
190242014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19025
19026 * gdb.btrace/gcore.exp: New.
19027
8e9db26e
PA
190282014-06-23 Pedro Alves <palves@redhat.com>
19029
19030 * gdb.base/watchpoint-reuse-slot.c: New file.
19031 * gdb.base/watchpoint-reuse-slot.exp: New file.
19032
70afc5b7
SC
190332014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19034
19035 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19036 progspace's filename in 'info', 'enable' and 'disable' command
19037 tests.
19038
b972bd9c
JK
190392014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19040
19041 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19042 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19043 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19044
125f8a3d
GB
190452014-06-20 Gary Benson <gbenson@redhat.com>
19046
19047 * gdb.arch/i386-avx.exp: Fix include file location.
19048 * gdb.arch/i386-sse.exp: Likewise.
19049
3ed9baed
IB
190502014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19051
19052 * gdb.dlang/expression.exp: New file.
19053
034f788c
PA
190542014-06-19 Pedro Alves <palves@redhat.com>
19055
19056 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19057 out from ...
19058 (top level): ... here. Iterate running tests under different
19059 scheduler-locking settings.
19060
45371d0c
LM
190612014-06-18 Luis Machado <lgustavo@codesourcery.com>
19062
19063 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19064 to DW_FORM_addr and use non-zero addresses.
19065
5d376983
SC
190662014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19067
19068 PR gdb/17017
19069 * gdb.python/py-xmethods.cc: Add global function call counters and
19070 increment them in their respective functions. Remove "cout"
19071 statements.
19072 * gdb.python/py-xmethods.exp: Make tests check the global function
19073 call counters instead of depending on inferior IO.
19074
a1aa2221
LM
190752014-06-18 Don Breazeal <donb@codesourcery.com>
19076
19077 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19078 Deleted procedure.
19079 (explicit_fork_parent_follow): Deleted procedure.
19080 (explicit_fork_child_follow): Deleted procedure.
19081 (test_follow_fork): New procedure.
19082 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19083 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19084 procedure calls.
19085
0fc05997
YQ
190862014-06-17 Yao Qi <yao@codesourcery.com>
19087
19088 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19089 CP1252.
19090
70795c52
LM
190912014-06-17 Luis Machado <lgustavo@codesourcery.com>
19092
19093 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19094 Initialize ptr and S explicitly.
19095 (skip_type_update_when_not_use_rtti_test): Likewise.
19096
6be47f0c
KS
190972014-06-16 Keith Seitz <keiths@redhat.com>
19098
19099 PR mi/15863
19100 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19101 the inferior is started.
19102
d03de421
PA
191032014-06-16 Pedro Alves <palves@redhat.com>
19104
19105 * gdb.base/break-main-file-remove-fail.c: New file.
19106 * gdb.base/break-main-file-remove-fail.exp: New file.
19107 * gdb.base/break-unload-file.exp: Use build_executable instead of
19108 prepare_for_testing.
19109 (test_break): New parameter "initial_load". Handle it.
19110 (top level): Add initial_load cmdline/file axis.
19111
f9579b99
TT
191122014-06-12 Tom Tromey <tromey@redhat.com>
19113
19114 * gdb.base/completion.exp: Don't use directory name in test.
19115
3657956b
GB
191162014-06-09 Gary Benson <gbenson@redhat.com>
19117
19118 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19119 separate the always-available ANSI-standard signals from the
19120 signals that require checking.
19121 (main): Likewise.
19122 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19123 Likewise.
19124 (main): Likewise.
19125
4186eb54
KS
191262014-06-07 Keith Seitz <keiths@redhat.com>
19127
19128 Revert:
19129 PR c++/16253
19130 * gdb.cp/var-tag.cc: New file.
19131 * gdb.cp/var-tag.exp: New file.
19132 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19133 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19134 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19135 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19136
25326a28 191372014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19138
19139 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19140
829155c9
PA
191412014-06-06 Pedro Alves <palves@redhat.com>
19142
19143 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19144 in target debug output instead of looking at RSP packets,
19145 disabling the test on any target that uses hardware stepping.
19146 Update comments.
19147
61c8d22e
PA
191482014-06-06 Pedro Alves <palves@redhat.com>
19149
19150 * gdb.base/break-unload-file.exp: Fix typo.
19151
d9a47287
YQ
191522014-06-06 Yao Qi <yao@codesourcery.com>
19153
19154 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19155 from "jit_function" to "^jit_function".
19156
e5e01dbf
YQ
191572014-06-06 Yao Qi <yao@codesourcery.com>
19158
19159 * gdb.base/async.c (foo): Add one statement.
19160 * gdb.base/async.exp: Get the next instruction address and
19161 match the output of "nexti" by instruction address. Match
19162 the hex address in the output of "finish".
19163
73ba372c
GB
191642014-06-06 Gary Benson <gbenson@redhat.com>
19165
19166 * gdb.base/call-signals.c: Remove preprocessor conditionals
19167 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19168 SIGSEGV and SIGTERM.
19169 * gdb.base/sigall.c: Likewise.
19170 * gdb.base/unwindonsignal.c: Likewise.
19171 * gdb.reverse/sigall-reverse.c: Likewise.
19172
831517df
YQ
191732014-06-06 Yao Qi <yao@codesourcery.com>
19174
19175 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19176 readable, skip the test.
19177
b8b91e98
YQ
191782014-06-06 Yao Qi <yao@codesourcery.com>
19179
19180 * gdb.threads/staticthreads.c (thread_function): Move the line
19181 setting breakpoint on forward.
19182 * gdb.threads/staticthreads.exp: Update comments.
19183
fb934770
LC
191842014-06-05 Ludovic Courtès <ludo@gnu.org>
19185
19186 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19187 "history-append! type error".
19188
6ef284bd
SM
191892014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19190
19191 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19192 erroneous dprintf expected input.
19193
a872e241
DE
191942014-06-04 Doug Evans <xdje42@gmail.com>
19195
19196 * gdb.guile/scm-generics.exp: Delete.
19197
16f691fb
DE
191982014-06-04 Doug Evans <xdje42@gmail.com>
19199
19200 * gdb.guile/scm-breakpoint.exp: Update.
19201 Add tests for breakpoint registration.
19202
012370f6
TT
192032014-06-04 Tom Tromey <tromey@redhat.com>
19204
19205 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19206 VLA-in-union.
19207 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19208 inner_vla_struct, vla_union types. Initialize objects of those
19209 types and compute their sizes.
19210
9f5a4cef
HZ
192112014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19212 Hui Zhu <hui@codesourcery.com>
19213
19214 * gdb.base/fileio.exp: Add test for shell not available as well as
19215 available.
19216 * gdb.base/fileio.c (test_system): Check for shell twice.
19217
90a45c4d
YQ
192182014-06-04 Yao Qi <yao@codesourcery.com>
19219
19220 * gdb.base/auto-connect-native-target.exp: Remove redundant
19221 space from the regexp pattern.
19222
70017e41
YQ
192232014-06-04 Yao Qi <yao@codesourcery.com>
19224
19225 * gdb.base/default.exp: Replace "child" with "native" in
19226 regexp pattern.
19227
883964a7
SC
192282014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19229
19230 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19231 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19232 * gdb.python/py-xmethods.py: Python script supporting the
19233 new testcase and tests.
19234
ef370185
JB
192352014-06-03 Joel Brobecker <brobecker@adacore.com>
19236 Pedro Alves <palves@redhat.com>
19237
19238 PR breakpoints/17000
19239 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19240 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19241
1e2ccb61
BM
192422014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19243
19244 * gdb.base/subst.exp: Add tests to verify partial path matching
19245 output.
19246
c6ec5ab2
PA
192472014-06-03 Pedro Alves <palves@redhat.com>
19248
19249 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19250 target that doesn't use software single-stepping.
19251
835c559f
PA
192522014-06-03 Pedro Alves <palves@redhat.com>
19253
19254 PR breakpoints/17000
19255 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19256 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19257
06eb1586
DE
192582014-06-02 Doug Evans <xdje42@gmail.com>
19259
19260 * gdb.guile/scm-parameter.exp: New file.
19261
e698b8c4
DE
192622014-06-02 Doug Evans <xdje42@gmail.com>
19263
19264 * gdb.guile/scm-cmd.c: New file.
19265 * gdb.guile/scm-cmd.exp: New file.
19266
ded03782
DE
192672014-06-02 Doug Evans <xdje42@gmail.com>
19268
19269 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19270 pretty-printer lookup.
19271 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19272 (make-pp_s-printer): Call it.
19273 (make-pretty-printer-from-dict): New function.
19274 (lookup-pretty-printer-maker-from-dict): New function.
19275 (*pretty-printer*): Simplify.
19276 (make-objfile-pp_s-printer): New function.
19277 (install-objfile-pretty-printers!): New function.
19278 (make-progspace-pp_s-printer): New function.
19279 (install-progspace-pretty-printers!): New function.
19280 * gdb.guile/scm-progspace.c: New file.
19281 * gdb.guile/scm-progspace.exp: New file.
19282
41fac0cf
PA
192832014-06-02 Pedro Alves <palves@redhat.com>
19284
19285 * gdb.base/dprintf-bp-same-addr.c: New file.
19286 * gdb.base/dprintf-bp-same-addr.exp: New file.
19287
96ae5695
EBM
192882014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19289
19290 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19291 * gdb.arch/powerpc-power.s: Likewise.
19292
da02b3a8
JB
192932014-06-02 Joel Brobecker <brobecker@adacore.com>
19294
19295 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19296
c72b2e7b
YQ
192972014-06-01 Yao Qi <yao@codesourcery.com>
19298
19299 * gdb.base/watchpoint.exp (test_watch_location): Check null
19300 pointer can be dereferenced. If not, do the test, otherwise
19301 skip it.
19302
53e8a631
AB
193032014-05-30 Andrew Burgess <aburgess@broadcom.com>
19304
19305 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19306 results.
19307 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19308
938f0e2f
AB
193092014-05-30 Andrew Burgess <aburgess@broadcom.com>
19310
19311 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19312 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19313 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19314 * gdb.arch/amd64-invalid-stack-top.c: New file.
19315 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19316
9ba6657a
PA
193172014-05-30 Pedro Alves <palves@redhat.com>
19318
19319 PR breakpoints/17000
19320 * gdb.base/sss-bp-on-user-bp.c: New file.
19321 * gdb.base/sss-bp-on-user-bp.exp: New file.
19322
522c09bf
DB
193232014-05-30 David Blaikie <dblaikie@gmail.com>
19324
19325 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19326 gnu_inline semantics via attribute.
19327 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19328 source explicitly specifies the required semantics.
19329
bf4ef81e
MR
193302014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19331
19332 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19333
329ea579
PA
193342014-05-29 Pedro Alves <palves@redhat.com>
19335 Tom Tromey <tromey@redhat.com>
19336
19337 * gdb.base/async-shell.exp: Don't enable target-async.
19338 * gdb.base/async.exp
19339 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19340 parameter. Adjust.
19341 (top level): Don't test with "target-async".
19342 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19343 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19344 * gdb.base/inferior-died.exp: Don't enable target-async.
19345 * gdb.base/interrupt-noterm.exp: Likewise.
19346 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19347 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19348 * gdb.mi/mi-nonstop.exp: Likewise.
19349 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19350 * gdb.mi/mi-nsintrall.exp: Likewise.
19351 * gdb.mi/mi-nsmoribund.exp: Likewise.
19352 * gdb.mi/mi-nsthrexec.exp: Likewise.
19353 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19354 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19355 * gdb.python/py-evsignal.exp: Don't enable target-async.
19356 * gdb.python/py-evthreads.exp: Likewise.
19357 * gdb.python/py-prompt.exp: Likewise.
19358 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19359 * gdb.server/solib-list.exp: Don't enable target-async.
19360 * gdb.threads/thread-specific-bp.exp: Likewise.
19361 * lib/mi-support.exp: Adjust to use mi-async.
19362
fd664c91
PA
193632014-05-29 Pedro Alves <palves@redhat.com>
19364
19365 PR gdb/13860
19366 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19367 reason, even in sync mode.
19368
251bde03
PA
193692014-05-29 Pedro Alves <palves@redhat.com>
19370 Hui Zhu <hui@codesourcery.com>
19371
19372 PR PR15693
19373 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19374 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19375 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19376 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19377
7f3c0343
JB
193782014-05-28 Joel Brobecker <brobecker@adacore.com>
19379
19380 * config/monitor.exp (gdb_target_monitor): Replace use of
19381 "set remotebaud" by "set serial baud".
19382
b2715b27
AW
193832014-05-26 Andy Wingo <wingo@igalia.com>
19384
19385 * gdb.guile/scm-breakpoint.exp:
19386 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19387 properties instead of gdb-object-properties.
19388
498a4489
YQ
193892014-05-26 Yao Qi <yao@codesourcery.com>
19390
19391 * gdb.server/no-thread-db.exp: Specify source file name
19392 explicitly when setting a breakpoint.
19393
589fdceb
MM
193942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19395
19396 * gdb.btrace/vdso.c: New.
19397 * gdb.btrace/vdso.exp: New.
19398
e9089e05
MM
193992014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19400
19401 * gdb.base/gcore.exp (capture_command_output): Move ...
19402 * lib/gdb.exp (capture_command_output): ... here.
19403
67b5c0c1
MM
194042014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19405
19406 * gdb.btrace/data.exp: Test memory access during btrace replay.
19407
a2199296
SM
194082014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19409
19410 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19411
17b2616c
PA
194122014-05-21 Pedro Alves <palves@redhat.com>
19413
19414 PR gdb/13860
19415 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19416 (top level): Test that output related to execution commands is
19417 sent to the console with CLI commands, but not with MI commands.
19418 Test that breakpoint events are always mirrored to the console.
19419 Also expect the new source line to be output after a "next" in
19420 async mode too. Make it a pass/fail test.
19421 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19422 output.
19423 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19424
5166082f
PA
194252014-05-21 Pedro Alves <palves@redhat.com>
19426
19427 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19428 Use them to test variations of "list" after reaching a breakpoint.
19429 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19430 Test "list" with listsize 10 after reaching a breakpoint.
19431 * gdb.python/python.exp (decode_line current location line
19432 number): Adjust expected line number.
19433
2f25d70f
SM
194342014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19435
19436 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19437 behavior for $args, pass it directly to "run".
19438
ff604a67
MR
194392014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19440
19441 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19442 30000 to 65536.
19443
6a3cb8e8
PA
194442014-05-21 Pedro Alves <palves@redhat.com>
19445
19446 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19447 auto-connect-native-target off".
19448 * gdb.base/auto-connect-native-target.c: New file.
19449 * gdb.base/auto-connect-native-target.exp: New file.
19450
4ebfc96e
PA
194512014-05-21 Pedro Alves <palves@redhat.com>
19452
19453 * gdb.base/default.exp: Test "target native" instead of "target
19454 child".
19455
36d46afb
MW
194562014-05-21 Mark Wielaard <mjw@redhat.com>
19457
19458 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19459
5876f503
JK
194602014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19461
19462 Fix TLS access for -static -pthread.
19463 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19464 <HAVE_TLS> (thread_function, main): Initialize it.
19465 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19466 Add clean_restart.
19467 <$have_tls != "">: Check TLSVAR.
19468
0256a6ac
PA
194692014-05-21 Pedro Alves <palves@redhat.com>
19470
19471 * gdb.base/dcache-line-read-error.c: New.
19472 * gdb.base/dcache-line-read-error.exp: New.
19473
936d2992
PA
194742014-05-20 Pedro Alves <palves@redhat.com>
19475
19476 * gdb.base/compare-sections.c: New file.
19477 * gdb.base/compare-sections.exp: New file.
19478
802e8e6d
PA
194792014-05-20 Pedro Alves <palves@redhat.com>
19480
19481 * gdb.base/break-idempotent.c: New file.
19482 * gdb.base/break-idempotent.exp: New file.
19483
e59fa00f
MM
194842014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19485
19486 * gdb.btrace/nohist.exp: New.
19487
8b696e31
YQ
194882014-05-20 Yao Qi <yao@codesourcery.com>
19489
19490 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19491 gdb.reverse directory and gdb_reverse_timeout exists in board
19492 setting.
19493 * README: Document gdb_reverse_timeout.
19494
73c9764f
YQ
194952014-05-20 Yao Qi <yao@codesourcery.com>
19496
19497 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19498 'test_file_name'. Treat args as a string instead of a list.
19499 (gdb_init): Rename argument 'args' by 'test_file_name'.
19500
f1f4348a
JK
195012014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19502
19503 * gdb.arch/powerpc-power.exp: New file.
19504 * gdb.arch/powerpc-power.s: New file.
19505
0dbe70ce
DE
195062014-05-16 Doug Evans <dje@google.com>
19507
19508 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
19509 * gdb.base/completion.exp: Check that all expected files exist
19510 before doing file completion.
0dbe70ce 19511
8d551b02
DE
195122014-05-16 Doug Evans <dje@google.com>
19513
19514 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19515 Update.
19516 (do_syscall_tests_without_xml): Update.
19517
73eb7709
PA
195182014-05-16 Pedro Alves <palves@redhat.com>
19519
19520 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19521 instead of "unknown output after running".
19522
3fae92fc
YQ
195232014-05-16 Yao Qi <yao@codesourcery.com>
19524
19525 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19526 file1.txt from host at the end.
19527 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19528
c2b2ccc5
DE
195292014-05-15 Doug Evans <dje@google.com>
19530
19531 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19532 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19533 loading file. Add test for TU lookup.
19534
8c217a4b
SM
195352014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19536
19537 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19538 calling "-exec-arguments" or "set args" before running the
19539 inferior.
19540
3deb39c6
SM
195412014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19542
19543 * lib/mi-support.exp (mi_expect_stop): Expect message for
19544 inferiors that exit with non-zero exit code.
19545
71a79f8c
YQ
195462014-05-14 Yao Qi <yao@codesourcery.com>
19547
19548 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19549 match absolute path on remote host.
19550 (test_file_list_exec_source_files): Remove "/" from the
19551 pattern.
19552
f23fcd46
YQ
195532014-05-14 Yao Qi <yao@codesourcery.com>
19554
19555 * boards/local-remote-host-notty.exp (${board}_file): New
19556 proc.
19557
9404b58f
KM
195582014-05-07 Kyle McMartin <kyle@redhat.com>
19559
19560 Pushed by Joel Brobecker <brobecker@adacore.com>.
19561 * gdb.arch/aarch64-atomic-inst.c: New file.
19562 * gdb.arch/aarch64-atomic-inst.exp: New file.
19563
5e45f04c
YQ
195642014-05-07 Yao Qi <yao@codesourcery.com>
19565
19566 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19567 in current context" too.
19568
c888a17d
KS
195692014-05-05 Keith Seitz <keiths@redhat.com>
19570
19571 * gdb.linespec/ls-dollar.exp: Add test for linespec
19572 file:convenience_variable.
19573
290a839c
YQ
195742014-05-05 Yao Qi <yao@codesourcery.com>
19575
19576 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19577 traceframes into tfile and ctf trace files. Read data from
19578 trace file and test collected data.
19579 (gdb_collect_locals_test): Likewise.
19580 (gdb_unavailable_registers_test): Likewise.
19581 (gdb_unavailable_floats): Likewise.
19582 (gdb_collect_globals_test): Likewise.
19583 (top-level): Append "ctf" to trace_file_targets if GDB
19584 supports.
19585
b5262cd0
YQ
195862014-05-05 Yao Qi <yao@codesourcery.com>
19587
19588 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19589 code to ...
19590 (gdb_collect_args_test_1): ... it. New proc.
19591 (gdb_collect_locals_test): Move some code to ...
19592 (gdb_collect_locals_test_1): ... it. New proc.
19593 (gdb_unavailable_registers_test): Move some code to ...
19594 (gdb_unavailable_registers_test_1): ... it. New proc.
19595 (gdb_unavailable_floats): Move some code to ...
19596 (gdb_unavailable_floats_1): ... it. New proc.
19597
30a1e6cc
SDJ
195982014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19599
19600 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19601 probes to test for bitness recognition.
19602 * gdb.arch/amd64-stap-optional-prefix.exp
19603 (test_probe_value_without_reg): New procedure.
19604 Add code to test for different kinds of bitness.
19605
f33da99a
SDJ
196062014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19607
19608 PR breakpoints/16889
19609 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19610 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19611
5b80f00d
PA
196122014-05-01 Pedro Alves <palves@redhat.com>
19613
19614 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19615 gdb_file_cmd if no file is specified.
19616 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19617 last_loaded_file to set the remote exec-file.
19618
f8c2a73c
PA
196192014-05-01 Pedro Alves <palves@redhat.com>
19620
19621 * boards/local-remote-host.exp: New file.
19622
be6e8ac7
PA
196232014-05-01 Pedro Alves <palves@redhat.com>
19624
19625 * boards/local-remote-host.exp: Rename to ...
19626 * boards/local-remote-host-notty.exp: ... this.
19627
cac0dc8f
JB
196282014-04-28 Joel Brobecker <brobecker@adacore.com>
19629
19630 * gdb.ada/dyn_arrayidx: New testcase.
19631
9730e6cc
YQ
196322014-04-26 Yao Qi <yao@codesourcery.com>
19633
19634 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19635 and compute the length of function main. Save it in
19636 $main_length.
19637 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19638 (top-level): Use gdb_compile to compile objects into
19639 executable and restart GDB. Remove invocation to
19640 prepare_for_testing.
19641
7ae1a6a6
PA
196422014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19643 Pedro Alves <palves@redhat.com>
19644
19645 PR server/16255
19646 * gdb.multi/multi-attach.c: New file.
19647 * gdb.multi/multi-attach.exp: New file.
19648
4082afcc
PA
196492014-04-25 Pedro Alves <palves@redhat.com>
19650
19651 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19652 user.
19653 (top level): Test that "set remote conditional-breakpoints-packet
19654 off" works as intended.
19655 * gdb.base/dprintf.exp: Test that "set remote
19656 breakpoint-commands-packet off" works as intended.
19657 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19658 New function.
19659 (top level): Call it.
19660 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19661 remote fast-tracepoints-packet off" works as intended.
19662 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19663 * lib/gdb.exp (gdb_is_target_remote): ... here.
19664
2abc3f8d
DB
196652014-04-24 David Blaikie <dblaikie@gmail.com>
19666
19667 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19668 ensure clang would not discard them.
19669 * gdb.base/gdbvars.c: Ditto.
19670 * gdb.base/memattr.c: Ditto.
19671 * gdb.base/whatis.c: Ditto.
19672 * gdb.python/py-prettyprint.c: Ditto.
19673 * gdb.trace/actions.c: Ditto.
19674 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19675 ensure clang would not discard it.
19676
bfd39632
DB
196772014-04-24 David Blaikie <dblaikie@gmail.com>
19678
19679 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19680 clang to emit the full definition of type required by the test
19681 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19682
22842ff6
DB
196832014-04-24 David Blaikie <dblaikie@gmail.com>
19684
19685 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19686 coax Clang into emitting the definition of the type.
19687 * gdb.cp/pr10728-x.h (y): Ditto.
19688 * gdb.cp/pr10728-y.cc (y): Ditto.
19689
c2e827ad
DB
196902014-04-24 David Blaikie <dblaikie@gmail.com>
19691
19692 * gdb.base/label.exp: XFAIL label related tests under Clang.
19693 * gdb.cp/cplabel.exp: Ditto.
19694 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19695 under Clang those using labels.
19696
4c2d33e7
YQ
196972014-04-25 Yao Qi <yao@codesourcery.com>
19698
19699 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19700 double_label.
19701 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19702 partial_label and double_label.
19703
56083b99
DB
197042014-04-24 David Blaikie <dblaikie@gmail.com>
19705
19706 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19707
25d4e99d
DB
197082014-04-24 David Blaikie <dblaikie@gmail.com>
19709
19710 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19711 of the function to work across GCC and Clang.
19712 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19713 pointer types (const void ** const V void **).
19714
01f9f808
MS
197152014-04-24 Michael Sturm <michael.sturm@mintel.com>
19716 Walfred Tedeschi <walfred.tedeschi@intel.com>
19717
19718 * Makefile.in (EXECUTABLES): Added i386-avx512.
19719 * gdb.arch/i386-avx512.c: New file.
19720 * gdb.arch/i386-avx512.exp: Likewise.
19721
4b48d439
KS
197222014-04-23 Keith Seitz <keiths@redhat.com>
19723
19724 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19725 (mi_make_breakpoint_table): New procedure.
19726 (mi_create_breakpoint): Use mi_make_breakpoint
19727 and return the result.
19728 (mi_make_breakpoint): New procedure.
19729 (mi_build_kv_pairs): New procedure.
19730
19731 * gdb.mi/mi-break.exp: Remove unused globals,
19732 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19733 All callers updated.
19734 * gdb.mi/mi-dprintf.exp: Use variable to track command
19735 number.
19736 Update all callers of mi_create_breakpoint and use
19737 mi_make_breakpoint_table.
19738 Remove any unused global variables.
19739 * gdb.mi/mi-nonstop.exp: Likewise.
19740 * gdb.mi/mi-nsintrall.exp: Likewise.
19741 * gdb.mi/mi-nsmoribund.exp: Likewise.
19742 * gdb.mi/mi-nsthrexec.exp: Likewise.
19743 * gdb.mi/mi-reverse.exp: Likewise.
19744 * gdb.mi/mi-simplerun.exp: Likewise.
19745 * gdb.mi/mi-stepn.exp: Likewise.
19746 * gdb.mi/mi-syn-frame.exp: Likewise.
19747 * gdb.mi/mi-until.exp: Likewise.
19748 * gdb.mi/mi-var-cp.exp: Likewise.
19749 * gdb.mi/mi-var-display.exp: Likewise.
19750 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19751 * gdb.mi/mi2-var-child.exp: Likewise.
19752 * gdb.mi/mi-vla-c99.exp: Likewise.
19753 * lib/mi-support.exp: Likewise.
19754
19755 From Ian Lance Taylor <iant@cygnus.com>:
19756 * lib/gdb.exp (parse_args): New procedure.
19757
08351840
PA
197582014-04-23 Pedro Alves <palves@redhat.com>
19759
19760 * gdb.base/break-unload-file.c: New file.
19761 * gdb.base/break-unload-file.exp: New file.
19762 * gdb.base/sym-file-lib.c (baz): New function.
19763 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19764 field.
19765 (load): Store the segment's mapped size.
19766 (unload): New function.
19767 (unload_shlib): New function.
19768 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19769 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19770 set a breakpoint at baz, and call it.
19771 * gdb.base/sym-file.exp: New tests for stale breakpoint
19772 instructions.
19773
076855f9
PA
197742014-04-23 Pedro Alves <palves@redhat.com>
19775
19776 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19777 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19778 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19779 * gdb.base/hbreak-unmapped.c: New file.
19780 * gdb.base/hbreak-unmapped.exp: New file.
19781 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19782 * lib/gdb.exp (gdb_is_target_remote): ... here.
19783
483805cf
PA
197842014-04-22 Pedro Alves <palves@redhat.com>
19785
19786 * gdb.base/consecutive-step-over.c: New file.
19787 * gdb.base/consecutive-step-over.exp: New file.
19788
06d97543
PA
197892014-04-22 Pedro Alves <palves@redhat.com>
19790
19791 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19792 instead of send_gdb/gdb_expect.
19793
b4429ea2
YQ
197942014-04-22 Yao Qi <yao@codesourcery.com>
19795
19796 * lib/trace-support.exp (generate_tracefile): New procedure.
19797 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19798 return 0.
19799 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19800 if generate_tracefile returns 1.
19801
51d48146
PA
198022014-04-18 Tom Tromey <palves@redhat.com>
19803 Pedro alves <tromey@redhat.com>
19804
19805 PR backtrace/15558
19806 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19807 with a backtrace limit.
19808 * gdb.python/py-frame-inline.exp: Test running to an inline
19809 function with a backtrace limit, and printing the newest frame.
19810 * gdb.python/py-frame-inline.c (main): Call f.
19811
bd1dce5f
MS
198122014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19813
19814 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19815
40d1a503
MS
198162014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19817
19818 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19819 Drop prefix from unsupported source file path.
19820
389b98f7
YQ
198212014-04-17 Yao Qi <yao@codesourcery.com>
19822
19823 * lib/gdb.exp (with_target_charset): New proc.
19824 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19825 with_target_charset.
19826 (test_print_strings): Likewise.
19827 (test_repeat_bytes): Likewise.
19828 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19829 for some tests.
19830
22869d73
KS
198312014-04-16 Keith Seitz <keiths@redhat.com>
19832
19833 PR gdb/15827
19834 * gdb.dwarf2/corrupt.c: New file.
19835 * gdb.dwarf2/corrupt.exp: New file.
19836
c4f87ca6
KS
198372014-04-16 Keith Seitz <keiths@redhat.com>
19838
19839 PR c++/16597
19840 * gdb.cp/namelessclass.cc: New file.
19841 * gdb.cp/namelessclass.exp: New file.
19842 * gdb.cp/namelessclass.S: New file.
19843
ab19de87
DE
198442014-04-16 Doug Evans <dje@google.com>
19845
19846 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19847 Add comment.
19848 (gdbserver_default_get_comm_port): New function.
19849 (gdbserver_start): Check if board file provided
19850 "gdbserver,get_comm_port" and use it if so.
19851 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19852 (gdb,socketport): Set to "stdio".
19853 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19854 (stdio_gdbserver_template): Delete.
19855 (${board}_get_remote_address): Update.
19856 (${board}_build_remote_cmd): Delete.
19857 (${board}_get_comm_port): New function.
19858 (${board}_spawn): Update.
19859 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19860 Delete.
19861 (${board}_get_remote_address): Update.
19862 (${board}_get_comm_port): New function.
19863
fc98a809
AB
198642014-04-16 Andrew Burgess <aburgess@broadcom.com>
19865
19866 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19867 appearing in any order.
19868
87fd9e6e
DE
198692014-04-15 Doug Evans <dje@google.com>
19870
19871 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19872 uninitialized value of "description".
19873
099fc3ea
KS
198742014-04-15 Keith Seitz <keiths@redhat.com>
19875
19876 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19877 Remove unused globals.
19878 (test_running_the_program): Likewise.
19879 (test_controlled_execution): Likewise.
19880 (test_controlling_breakpoints): Likewise.
19881 (test_program_termination): Likewise.
19882
5da151d4
KS
198832014-04-15 Keith Seitz <keiths@redhat.com>
19884
19885 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19886 unused globals.
19887 (test_rbreak_creation_and_listing): Likewise.
19888 (test_ignore_count): Likewise.
19889 (test_error): Likewise.
19890
35e5d2f0
PA
198912014-04-15 Pedro Alves <palves@redhat.com>
19892
19893 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19894 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19895 sym-file-loader.c.
19896 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19897 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19898 to sym-file-loader.c.
19899 (struct library): Forward declare.
19900 (load_shlib, lookup_function): Change prototypes.
19901 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19902 (translate_offset): Remove declarations.
19903 (get_text_addr): New declaration.
19904 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19905 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19906 sym-file-loader.h.
19907 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19908 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19909 here from sym-file-loader.h.
19910 (struct library): New structure.
19911 (load_shlib, lookup_function): Change prototypes and adjust to
19912 work with a struct library.
19913 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19914 (translate_offset): Make static.
19915 (get_text_addr): New function.
19916 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19917
eb4c1710
PA
199182014-04-15 Pedro Alves <palves@redhat.com>
19919
19920 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19921
2d1baf52
PA
199222014-04-15 Pedro Alves <palves@redhat.com>
19923
19924 * gdb.base/sym-file-loader.c: Include <limits.h>.
19925 (SELF_LINK): New define.
19926 (get_origin): New function.
19927 (load_shlib): Use it.
19928 * gdb.base/sym-file.exp: Don't early return if the target is
19929 remote. Use runto_main, and issue fail is that fails. Use
19930 gdb_load_shlibs.
19931 (shlib_name): Delete.
19932 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19933
7dd6df01
PA
199342014-04-15 Pedro Alves <palves@redhat.com>
19935
19936 * gdb.base/sym-file.exp: Remove regex characters from test
19937 message. Don't refer to breakpoint numbers in test messages.
19938
b50c8614
KS
199392014-04-14 Keith Seitz <keiths@redhat.com>
19940
19941 PR c++/16253
19942 * gdb.cp/var-tag.cc: New file.
19943 * gdb.cp/var-tag.exp: New file.
19944 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19945 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19946 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19947 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19948
3d567982
TT
199492014-04-14 Tom Tromey <tromey@redhat.com>
19950
19951 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19952 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19953 type.
19954 * gdb.cp/enum-class.exp: New file.
19955 * gdb.cp/enum-class.cc: New file.
19956
0626fc76
TT
199572014-04-14 Tom Tromey <tromey@redhat.com>
19958
19959 * gdb.dwarf2/enum-type.exp: New file.
19960
dca325b3
SA
199612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19962
19963 * gdb.mi/mi-vla-c99.exp: New file.
19964 * gdb.mi/vla.c: New file.
19965
5854b38a
SA
199662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19967
19968 * gdb.base/vla-datatypes.c: New file.
19969 * gdb.base/vla-datatypes.exp: New file.
19970
463bb957
SA
199712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19972
19973 * gdb.base/vla-ptr.c: New file.
19974 * gdb.base/vla-ptr.exp: New file.
19975
3dd170be
SA
199762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19977
19978 * gdb.dwarf2/count.exp: New file.
19979
5ecaaa66
SA
199802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19981
19982 * gdb.base/vla-sideeffect.c: New file.
19983 * gdb.base/vla-sideeffect.exp: New file.
19984
41f1ada5
DB
199852014-04-14 David Blaikie <dblaikie@gmail.com>
19986
19987 * gdb.mi/non-stop.c: Add return value for non-void function return
19988 statement.
19989 * gdb.threads/staticthreads.c: Ditto.
19990
0be03e84
DE
199912014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19992 Doug Evans <xdje42@gmail.com>
19993
19994 * gdb.guile/scm-value.c: Improve test case.
19995 * gdb.guile/scm-value.exp: Add new test.
19996
f180a1fb
DB
199972014-04-11 David Blaikie <dblaikie@gmail.com>
19998
19999 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20000 override Clang's default.
20001
6b662e19
JB
200022014-04-11 Joel Brobecker <brobecker@adacore.com>
20003
20004 Revert the following changes (regressions):
20005
20006 * gdb.base/vla-sideeffect.c: New file.
20007 * gdb.base/vla-sideeffect.exp: New file.
20008
20009 * gdb.dwarf2/count.exp: New file.
20010
20011 * gdb.base/vla-multi.c: New file.
20012 * gdb.base/vla-multi.exp: New file.
20013
20014 * gdb.base/vla-ptr.c: New file.
20015 * gdb.base/vla-ptr.exp: New file.
20016
20017 * gdb.base/vla-datatypes.c: New file.
20018 * gdb.base/vla-datatypes.exp: New file.
20019
20020 * gdb.mi/mi-vla-c99.exp: New file.
20021 * gdb.mi/vla.c: New file.
20022
245a5f0b
KS
200232014-04-11 Keith Seitz <keiths@redhat.com>
20024
20025 PR c++/16675
20026 * gdb.cp/cpsizeof.exp: New file.
20027 * gdb.cp/cpsizeof.cc: New file.
20028
58a84dcf
SA
200292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20030
191a8a90
JB
20031 * gdb.mi/mi-vla-c99.exp: New file.
20032 * gdb.mi/vla.c: New file.
58a84dcf 20033
c8655f75
SA
200342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20035
20036 * gdb.base/vla-datatypes.c: New file.
20037 * gdb.base/vla-datatypes.exp: New file.
20038
024e13b4
SA
200392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20040
20041 * gdb.base/vla-ptr.c: New file.
20042 * gdb.base/vla-ptr.exp: New file.
20043
1a237e0e
SA
200442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20045
20046 * gdb.base/vla-multi.c: New file.
20047 * gdb.base/vla-multi.exp: New file.
20048
504f3432
SA
200492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20050
20051 * gdb.dwarf2/count.exp: New file.
20052
3bce8237
SA
200532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20054
191a8a90
JB
20055 * gdb.base/vla-sideeffect.c: New file.
20056 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20057
322f9c21
YQ
200582014-04-11 Yao Qi <yao@codesourcery.com>
20059
20060 * gdb.base/completion.exp: Check file exists before running tests
20061 on file completion.
20062
d708bcd1
PA
200632014-04-10 Pedro Alves <palves@redhat.com>
20064
20065 * gdb.base/cond-eval-mode.c: New file.
20066 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20067 prepare_for_testing to build the new file. Check result of
20068 runto_main.
20069 (test_break, test_watch): New procedures.
20070 (top level): Use them.
20071
ae1d2761
PM
200722014-04-08 Pierre Muller <muller@sourceware.org>
20073
20074 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20075 Ctrl-V use for mingw hosts.
20076
7af389b8
SC
200772014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20078
20079 * gdb.python/py-value.c: Improve test case.
20080 * gdb.python/py-value.exp: Add new test.
20081
5e703181
DE
200822014-04-07 David Blaikie <dblaikie@gmail.com>
20083
20084 * lib/compiler.c: Identify the clang compiler.
20085 * lib/compiler.cc: Ditto.
20086
9810b410
YQ
200872014-04-03 Yao Qi <yao@codesourcery.com>
20088
20089 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20090
98d1b8dc
AB
200912014-04-01 Anton Blanchard <anton@samba.org>
20092
20093 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20094 messages unique.
20095
3114cea1
AB
200962014-04-01 Anton Blanchard <anton@samba.org>
20097
20098 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20099 prepare_for_testing.
20100
62f7182c
AB
201012014-04-01 Anton Blanchard <anton@samba.org>
20102
20103 * gdb.arch/ppc64-atomic-inst.c: Remove.
20104 * gdb.arch/ppc64-atomic-inst.S: New file.
20105 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20106
770e7fc7
DE
201072014-03-31 Doug Evans <dje@google.com>
20108
20109 * gdb.base/print-symbol-loading-lib.c: New file.
20110 * gdb.base/print-symbol-loading-main.c: New file.
20111 * gdb.base/print-symbol-loading.exp: New file.
20112
46e2bafa
YQ
201132014-03-31 Yao Qi <yao@codesourcery.com>
20114
20115 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20116
8776cfe9
JB
201172014-03-28 Joel Brobecker <brobecker@adacore.com>
20118
20119 * gdb.ada/mi_dyn_arr: New testcase.
20120
5d1ef361
DE
201212014-03-27 Doug Evans <dje@google.com>
20122
20123 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20124
b5bee914
YQ
201252014-03-27 Yao Qi <yao@codesourcery.com>
20126
20127 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20128 if target is nios2-*-*.
20129
0d4d0e77
YQ
201302014-03-26 Yao Qi <yao@codesourcery.com>
20131
20132 * lib/gdb.exp (readline_is_used): New proc.
20133 * gdb.base/completion.exp: Move tests on command complete up.
20134 Skip the rest of tests if readline is not used.
20135 * gdb.ada/complete.exp: Skp the test if readline is not
20136 used.
20137 * gdb.base/filesym.exp: Likewise.
20138 * gdb.base/macscp.exp: Likewise.
20139 * gdb.base/readline-ask.exp: Likewise.
20140 * gdb.base/readline.exp: Likewise.
20141 * gdb.python/py-cmd.exp: Likewise.
20142 * gdb.trace/tfile.exp: Likewise.
20143
29361eee
YQ
201442014-03-26 Yao Qi <yao@codesourcery.com>
20145
20146 * gdb.base/macscp.exp: Fix code format issues.
20147
bc9a5525
UW
201482014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20149
20150 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20151 * gdb.asm/powerpc64le.inc: New file.
20152
d3839ede
PA
201532014-03-25 Pedro Alves <palves@redhat.com>
20154 Doug Evans <dje@google.com>
20155
20156 * gdb.base/source-execution.c: New file.
20157 * gdb.base/source-execution.exp: New file.
20158 * gdb.base/source-execution.gdb: New file.
20159
01672a57
DE
201602014-03-24 Doug Evans <dje@google.com>
20161
20162 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20163 using fission.
20164
88bbeca9
HZ
201652014-03-24 Hui Zhu <hui@codesourcery.com>
20166 Pedro Alves <palves@redhat.com>
20167
20168 PR breakpoints/16101
20169 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20170 test pass/fail messages. Detect missing support for dprintf when
20171 breakpoints are actually inserted.
20172 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20173 breakpoints are actually inserted.
20174 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20175 fails.
20176
d2348791
JK
201772014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20178
20179 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20180
feef67ab
DE
201812014-03-22 Doug Evans <xdje42@gmail.com>
20182
20183 * gdb.python/python.exp (python not supported): Verify multi-line
20184 python command issues an error.
25d743f9 20185 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20186 guile command issues an error.
feef67ab 20187
ecebef6a
MR
201882014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20189
20190 * gdb.threads/thread-specific.exp: Handle the lack of usable
20191 $this_breakpoint and $this_thread.
20192
ccdd1909
HZ
201932014-03-21 Hui Zhu <hui@codesourcery.com>
20194
20195 * gdb.base/attach.exp (do_command_attach_tests): New.
20196
beb460e8
PA
201972014-03-20 Tom Tromey <tromey@redhat.com>
20198 Pedro Alves <palves@redhat.com>
20199
20200 PR cli/15718
20201 * gdb.base/condbreak-call-false.c: New file.
20202 * gdb.base/condbreak-call-false.exp: New file.
20203
40acf43a
PA
202042014-03-20 Pedro Alves <palves@redhat.com>
20205
20206 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20207 Delete.
20208 (block_signals, unblock_signals): Delete.
20209 (child_function_2, main): Remove references to deleted variable
20210 and functions.
20211
9f5e1e02
PA
202122014-03-20 Pedro Alves <palves@redhat.com>
20213
20214 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20215 Use pthread_kill to signal thread 2.
20216 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20217 Adjust to make the test send itself a signal rather than using the
20218 host's "kill" command.
20219
99619bea
PA
202202014-03-20 Pedro Alves <palves@redhat.com>
20221
20222 * gdb.threads/multiple-step-overs.c: New file.
20223 * gdb.threads/multiple-step-overs.exp: New file.
20224 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20225 Adjust expected infrun debug output.
20226
2adfaa28
PA
202272014-03-20 Pedro Alves <palves@redhat.com>
20228
20229 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20230 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20231
31e77af2
PA
202322014-03-20 Pedro Alves <palves@redhat.com>
20233
20234 PR breakpoints/7143
20235 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20236 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20237 of gdb_test_multiple.
20238 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20239 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20240
b9f437de
PA
202412014-03-20 Pedro Alves <palves@redhat.com>
20242
20243 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20244 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20245
05adc73e
PA
202462014-03-19 Pedro Alves <palves@redhat.com>
20247
20248 * gdb.base/async.exp: Remove early return.
20249
6048b950
PA
202502014-03-19 Pedro Alves <palves@redhat.com>
20251
20252 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20253
8bcfb00a
PA
202542014-03-19 Pedro Alves <palves@redhat.com>
20255
20256 * gdb.base/async.exp (test_background): Expect \r\n after
20257 "completed." in the fail pattern.
20258
884e37dc
PA
202592014-03-19 Pedro Alves <palves@redhat.com>
20260
20261 * gdb.base/async.exp (test_background): New procedure.
20262 Use it for all background execution command tests.
20263
148e57e2
PA
202642014-03-19 Pedro Alves <palves@redhat.com>
20265
20266 * gdb.base/async.exp: Use prepare_for_testing.
20267
f48088c7
PA
202682014-03-19 Pedro Alves <palves@redhat.com>
20269
20270 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20271 the same line.
20272
e2f6c966
PA
202732014-03-19 Pedro Alves <palves@redhat.com>
20274
20275 * gdb.base/async.c (main): Add "jump here" and "until here" line
20276 marker comments.
20277 * gdb.base/async.exp (jump_here): New global.
20278 (jump& test): Use it.
20279 (until_here): New global.
20280 (until& test): Use it.
20281
c30568d4
PA
202822014-03-19 Pedro Alves <palves@redhat.com>
20283
20284 * gdb.base/async.exp: Don't frob gdb_protocol.
20285
0172b6a7
DE
202862014-03-18 Doug Evans <xdje42@gmail.com>
20287
20288 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20289 Fix spelling of exec-done-display.
20290
06c868a8
JK
202912014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20292
20293 PR gdb/15358
20294 * gdb.base/gdb-sigterm.c: New file.
20295 * gdb.base/gdb-sigterm.exp: New file.
20296
0c7e1a46
PA
202972014-03-18 Pedro Alves <palves@redhat.com>
20298
20299 PR gdb/13860
20300 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20301 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20302 solib-event.
20303
f7c77d93
JB
203042014-03-17 Joel Brobecker <brobecker@adacore.com>
20305
20306 * gdb.ada/pckd_arr_ren: New testcase.
20307
5a1e8c7a
DE
203082014-03-13 Doug Evans <xdje42@gmail.com>
20309
20310 PR guile/16612
20311 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20312 collect after discarding symbols.
20313
350e1a76
DE
203142014-03-13 Ludovic Courtès <ludo@gnu.org>
20315 Doug Evans <xdje42@gmail.com>
20316
20317 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20318 to history survives a gc.
20319
a69900ae
PA
203202014-03-13 Pedro Alves <palves@redhat.com>
20321
20322 * gdb.base/default.exp: Don't test "target procfs".
20323
5db9f0bd
PA
203242014-03-13 Pedro Alves <palves@redhat.com>
20325
20326 * gdb.base/default.exp: Update "target child" and "target procfs"
20327 tests to not expect "Unix".
20328
b3ccfe11
TT
203292014-03-12 Tom Tromey <tromey@redhat.com>
20330
20331 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20332 New procs. Add target-async tests.
20333 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20334 Add target-async tests.
20335
646f4417
AA
203362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20337
20338 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20339 'func_start' and 'func_end' for the beginning and end of the
20340 function code, respectively.
20341 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20342 'func_end' instead of 'func' and 'main'.
20343
288c211f
AA
203442014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20345
20346 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20347 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20348 generate the debug info assembler source.
20349
e0c0f156
AA
203502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20351
20352 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20353 * gdb.dwarf2/arr-subrange.exp: Likewise.
20354 * gdb.dwarf2/dwz.exp: Likewise.
20355 * gdb.dwarf2/method-ptr.exp: Likewise.
20356 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20357 * gdb.dwarf2/subrange.exp: Likewise.
20358 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20359 * gdb.dwarf2/implptrpiece.exp: Likewise.
20360 * gdb.dwarf2/nostaticblock.exp: Likewise.
20361
0e5c4555
AA
203622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20363
20364 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20365 directory to absolute path name arguments.
20366
5ec18f2b
JG
203672014-03-10 Joel Brobecker <brobecker@adacore.com>
20368
20369 * gdb.ada/tagged_access: New testcase.
20370
847fc4f2
MM
203712014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20372
20373 * gdb.btrace/data.exp: Update expected output.
20374
cc3da688
YQ
203752014-03-06 Yao Qi <yao@codesourcery.com>
20376
20377 * gdb.trace/pr16508.exp: New file.
20378
0f26cec1
PA
203792014-03-05 Pedro Alves <palves@redhat.com>
20380
20381 PR gdb/16575
20382 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20383 procedure.
20384 (top level): Adjust to use it. Add tests that exercise breakpoint
20385 interaction with the code-cache.
20386
7a5a839f
LC
203872014-02-26 Ludovic Courtès <ludo@gnu.org>
20388
20389 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20390 test for 'history-append!'.
20391
31aa7e4e
JB
203922014-02-26 Joel Brobecker <brobecker@adacore.com>
20393
20394 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20395 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20396 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20397 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20398 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20399 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20400
1b588015
JB
204012014-02-26 Joel Brobecker <brobecker@adacore.com>
20402
20403 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20404 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20405 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20406
55426c9d
JB
204072014-02-26 Joel Brobecker <brobecker@adacore.com>
20408
20409 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20410
dc53a7ad
JB
204112014-02-26 Joel Brobecker <brobecker@adacore.com>
20412
20413 * gdb.dwarf2/arr-stride.c: New file.
20414 * gdb.dwarf2/arr-stride.exp: New file.
20415
12ab52e9
PA
204162014-02-26 Pedro Alves <palves@redhat.com>
20417
20418 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20419 that won't ever trigger. Make sure that GDB reports the correct
20420 breakpoint that caused the stop.
20421
849c862e
JK
204222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20423
20424 PR gdb/16626
20425 * gdb.base/auto-load-script: New file.
20426 * gdb.base/auto-load.c: New file.
20427 * gdb.base/auto-load.exp: New file.
20428
71b7d793
JK
20429 PR gdb/16626
20430 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20431
e2f0d509
JK
204322014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20433
20434 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20435 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20436
50cc37c8
DE
204372014-02-24 Doug Evans <dje@google.com>
20438
20439 * lib/gdb.exp (run_on_host): Log error output if program fails.
20440
ea4758f2
PA
204412014-02-21 Pedro Alves <palves@redhat.com>
20442
20443 * gdb.threads/step-after-sr-lock.c: Rename to ...
20444 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20445 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20446 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20447 ... this.
20448
d7b30f67
SDJ
204492014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20450
20451 PR tdep/16397
20452 * gdb.arch/amd64-stap-special-operands.exp: New file.
20453 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20454 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20455 * gdb.arch/amd64-stap-triplet.S: Likewise.
20456 * gdb.arch/amd64-stap-triplet.c: Likewise.
20457
83deb43f
JB
204582014-02-20 Joel Brobecker <brobecker@adacore.com>
20459
20460 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20461 in .section pseudo-op.
20462
adde2bff
DE
204632014-02-20 lin zuojian <manjian2006@gmail.com>
20464 Joel Brobecker <brobecker@adacore.com>
20465 Doug Evans <xdje42@gmail.com>
20466
20467 PR symtab/16581
20468 * gdb.dwarf2/dw2-icycle.S: New file.
20469 * gdb.dwarf2/dw2-icycle.c: New file.
20470 * gdb.dwarf2/dw2-icycle.exp: New file.
20471
f7bd0f78
SC
204722014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20473
20474 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20475 operations on gdb.Value objects.
20476 * gdb.python/py-value-cc.exp: Add new test to test operations on
20477 gdb.Value objects.
20478
c17ef0d5
DE
204792014-02-18 Doug Evans <dje@google.com>
20480
20481 * Makefile.in (TESTS): New variable.
20482 (expanded_tests, expanded_tests_or_none): New variables
20483 (check-single): Pass $(expanded_tests_or_none) to runtest.
20484 (check-parallel): Only run tests in $(TESTS) if non-empty.
20485 (check/no-matching-tests-found): New rule.
20486 * README: Document TESTS makefile variable.
20487
5dd3176f
DE
204882014-02-18 Doug Evans <dje@google.com>
20489
20490 * Makefile.in (check-parallel): rm -rf outputs temp.
20491
0b10be4f
JK
204922014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20493
20494 Fix "ERROR: no fileid for" in the testsuite.
20495 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20496
85f224e7
DE
204972014-02-12 Doug Evans <dje@google.com>
20498
20499 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20500 (MISCELLANEOUS): New variable.
20501 (clean): rm -rf $(MISCELLANEOUS).
20502 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20503 dwp live in the same directory as symlinks, with each symlink pointed
20504 to a differently named file in a different directory.
20505
149b30ff
DE
205062014-02-11 Doug Evans <dje@google.com>
20507
20508 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20509 of Tcl file commands.
20510
1dfdac32
MK
205112014-02-10 Mark Kettenis <kettenis@gnu.org>
20512
20513 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20514 "kill -SIGUSR1 -1".
20515
aa4fb036
JB
205162014-02-10 Joel Brobecker <brobecker@adacore.com>
20517
20518 * gdb.ada/tick_length_array_enum_idx: New testcase.
20519
ed3ef339
DE
205202014-02-10 Doug Evans <xdje42@gmail.com>
20521
20522 * configure.ac (AC_OUTPUT): Add gdb.guile.
20523 * configure: Regenerate.
20524 * lib/gdb-guile.exp: New file.
20525 * lib/gdb.exp (get_target_charset): New function.
20526 * gdb.base/help.exp: Update expected output from "apropos apropos".
20527 * gdb.guile/Makefile.in: New file.
20528 * gdb.guile/guile.exp: New file.
20529 * gdb.guile/scm-arch.c: New file.
20530 * gdb.guile/scm-arch.exp: New file.
20531 * gdb.guile/scm-block.c: New file.
20532 * gdb.guile/scm-block.exp: New file.
20533 * gdb.guile/scm-breakpoint.c: New file.
20534 * gdb.guile/scm-breakpoint.exp: New file.
20535 * gdb.guile/scm-disasm.c: New file.
20536 * gdb.guile/scm-disasm.exp: New file.
20537 * gdb.guile/scm-equal.c: New file.
20538 * gdb.guile/scm-equal.exp: New file.
20539 * gdb.guile/scm-error.exp: New file.
20540 * gdb.guile/scm-error.scm: New file.
20541 * gdb.guile/scm-frame-args.c: New file.
20542 * gdb.guile/scm-frame-args.exp: New file.
20543 * gdb.guile/scm-frame-args.scm: New file.
20544 * gdb.guile/scm-frame-inline.c: New file.
20545 * gdb.guile/scm-frame-inline.exp: New file.
20546 * gdb.guile/scm-frame.c: New file.
20547 * gdb.guile/scm-frame.exp: New file.
20548 * gdb.guile/scm-generics.exp: New file.
20549 * gdb.guile/scm-gsmob.exp: New file.
20550 * gdb.guile/scm-iterator.c: New file.
20551 * gdb.guile/scm-iterator.exp: New file.
20552 * gdb.guile/scm-math.c: New file.
20553 * gdb.guile/scm-math.exp: New file.
20554 * gdb.guile/scm-objfile-script-gdb.in: New file.
20555 * gdb.guile/scm-objfile-script.c: New file.
20556 * gdb.guile/scm-objfile-script.exp: New file.
20557 * gdb.guile/scm-objfile.c: New file.
20558 * gdb.guile/scm-objfile.exp: New file.
20559 * gdb.guile/scm-ports.exp: New file.
20560 * gdb.guile/scm-pretty-print.c: New file.
20561 * gdb.guile/scm-pretty-print.exp: New file.
20562 * gdb.guile/scm-pretty-print.scm: New file.
20563 * gdb.guile/scm-section-script.c: New file.
20564 * gdb.guile/scm-section-script.exp: New file.
20565 * gdb.guile/scm-section-script.scm: New file.
20566 * gdb.guile/scm-symbol.c: New file.
20567 * gdb.guile/scm-symbol.exp: New file.
20568 * gdb.guile/scm-symtab-2.c: New file.
20569 * gdb.guile/scm-symtab.c: New file.
20570 * gdb.guile/scm-symtab.exp: New file.
20571 * gdb.guile/scm-type.c: New file.
20572 * gdb.guile/scm-type.exp: New file.
20573 * gdb.guile/scm-value-cc.cc: New file.
20574 * gdb.guile/scm-value-cc.exp: New file.
20575 * gdb.guile/scm-value.c: New file.
20576 * gdb.guile/scm-value.exp: New file.
20577 * gdb.guile/source2.scm: New file.
20578 * gdb.guile/types-module.cc: New file.
20579 * gdb.guile/types-module.exp: New file.
20580
7026a7c1
YQ
205812014-02-10 Yao Qi <yao@codesourcery.com>
20582
20583 PR testsuite/16543
20584 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20585 * configure: Regenerated.
20586 * Makefile.in: New file.
20587
6c466447
AS
205882014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20589
20590 * gdb.python/py-framefilter.exp: Fix typo.
20591
6e854735
YQ
205922014-02-08 Yao Qi <yao@codesourcery.com>
20593
20594 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20595 that no =breakpoint-modified is emitted when breakpoints are
20596 modified through MI commands.
20597
d137e6dc
PA
205982014-02-07 Pedro Alves <pedro@codesourcery.com>
20599 Pedro Alves <palves@redhat.com>
20600
20601 * gdb.threads/step-after-sr-lock.c: New file.
20602 * gdb.threads/step-after-sr-lock.exp: New file.
20603
b5ee5a50
PA
206042014-02-07 Pedro Alves <palves@redhat.com>
20605
20606 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20607
3c77faf3
JK
206082014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20609
20610 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20611 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20612
6dddc817
DE
206132014-02-06 Doug Evans <xdje42@gmail.com>
20614
20615 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20616 output.
20617
20618 * gdb.gdb/python-interrupts.exp: New file.
20619
de7b2893
YQ
206202014-02-05 Yao Qi <yao@codesourcery.com>
20621
20622 * gdb.trace/report.exp (use_collected_data): Test the output
20623 of "info threads" and "info inferiors".
20624
66d032ac
YQ
206252014-02-05 Yao Qi <yao@codesourcery.com>
20626
20627 Revert this patch:
20628
20629 2013-05-24 Yao Qi <yao@codesourcery.com>
20630
20631 * gdb.trace/tfile.exp: Test inferior and thread.
20632
591a12a1
UW
206332014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20634
20635 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20636 on a function.
20637 * gdb.base/step-bt.c: Call hello via function pointer to make
20638 sure its first instruction is executed on powerpc64le-linux.
20639
0ff3e01f
UW
206402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20641
20642 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20643
084ee545
UW
206442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20645
20646 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20647 of the test patterns for use on little-endian systems.
20648
6ed14ff3
UW
206492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20650
20651 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20652 (decimal_vector): Fix for little-endian.
20653
401e27fd
JM
206542014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20655
20656 * gdb.arch/sparc-sysstep.exp: New file.
20657 * gdb.arch/sparc-sysstep.c: Likewise.
20658
20659 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20660
8b924729
EBM
206612014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20662
20663 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20664
fb151210
JB
206652014-01-23 Tom Tromey <tromey@redhat.com>
20666
20667 * gdb.ada/array_char_idx: New testcase.
20668
0740f8d8
TT
206692014-01-23 Tom Tromey <tromey@redhat.com>
20670
20671 PR python/16487:
20672 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20673 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20674 classes.
20675
21909fa1
TT
206762014-01-23 Tom Tromey <tromey@redhat.com>
20677
20678 PR python/16491:
20679 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20680 string from an inferior frame.
20681 * gdb.python/py-framefilter-mi.exp: Update.
20682
87ce2a04
DE
206832014-01-22 Doug Evans <dje@google.com>
20684
20685 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20686
237b092b
AA
206872014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20688
20689 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20690
d674a709
AA
206912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20692
20693 * gdb.trace/entry-values.exp: Remove excess space character from
20694 regex patterns. Handle s390 call instruction.
20695
20fa3390
AA
206962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20697
20698 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20699 define "*_start" label. Make "name" static.
20700 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20701 ${name} by references to ${name}_start.
20702
78466714
AA
207032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20704
20705 * gdb.base/info-macros.exp: Remove "debug" from the compile
20706 options.
20707
ec9f644a
IB
207082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20709
20710 * gdb.dlang/demangle.exp: New file.
20711
94b1b47e
IB
207122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20713
20714 * gdb.dlang/primitive-types.exp: New file.
20715
7f420862
IB
207162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20717
20718 * configure.ac: Create gdb.dlang/Makefile.
20719 * configure: Regenerate.
20720 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20721 * gdb.dlang/Makefile.in: New file.
20722 * lib/d-support.exp: New file.
20723 * lib/gdb.exp (skip_d_tests): New proc.
20724
52834460
MM
207252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20726
20727 * gdb.btrace/delta.exp: Check reverse stepi.
20728 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20729 * gdb.btrace/finish.exp: New.
20730 * gdb.btrace/next.exp: New.
20731 * gdb.btrace/nexti.exp: New.
20732 * gdb.btrace/record_goto.c: Add comments.
20733 * gdb.btrace/step.exp: New.
20734 * gdb.btrace/stepi.exp: New.
20735 * gdb.btrace/multi-thread-step.c: New.
20736 * gdb.btrace/multi-thread-step.exp: New.
20737 * gdb.btrace/rn-dl-bind.c: New.
20738 * gdb.btrace/rn-dl-bind.exp: New.
20739 * gdb.btrace/data.c: New.
20740 * gdb.btrace/data.exp: New.
20741 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20742
6e07b1d2
MM
207432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20744
20745 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20746 * gdb.btrace/exception.exp: Update.
20747 * gdb.btrace/instruction_history.exp: Update.
20748 * gdb.btrace/record_goto.exp: Update.
20749 * gdb.btrace/tailcall.exp: Update.
20750 * gdb.btrace/unknown_functions.exp: Update.
20751 * gdb.btrace/delta.exp: New.
20752
0b722aec
MM
207532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20754
20755 * gdb.btrace/record_goto.exp: Add backtrace test.
20756 * gdb.btrace/tailcall.exp: Add backtrace test.
20757
066ce621
MM
207582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20759
20760 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20761 * gdb.btrace/record_goto.c: New.
20762 * gdb.btrace/record_goto.exp: New.
20763 * gdb.btrace/x86-record_goto.S: New.
20764
0688d04e
MM
207652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20766
20767 * gdb.btrace/function_call_history.exp: Update tests.
20768 * gdb.btrace/instruction_history.exp: Update tests.
20769
8710b709
MM
207702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20771
20772 * gdb.btrace/function_call_history.exp: Fix expected field
20773 order for "record function-call-history".
20774 Add new tests for "record function-call-history /c".
20775 * gdb.btrace/exception.cc: New.
20776 * gdb.btrace/exception.exp: New.
20777 * gdb.btrace/tailcall.exp: New.
20778 * gdb.btrace/x86-tailcall.S: New.
20779 * gdb.btrace/x86-tailcall.c: New.
20780 * gdb.btrace/unknown_functions.c: New.
20781 * gdb.btrace/unknown_functions.exp: New.
20782 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20783
5de9129b
MM
207842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20785
20786 * gdb.btrace/instruction_history.exp: Update.
20787 * gdb.btrace/function_call_history.exp: Update.
20788
23a7fe75
MM
207892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20790
20791 * gdb.btrace/function_call_history.exp: Fix expected function
20792 trace.
20793 * gdb.btrace/instruction_history.exp: Initialize traced.
20794 Remove traced_functions.
20795
724c7dd8
MM
207962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20797
20798 * gdb.btrace/function_call_history.exp: Update
20799 * gdb.btrace/instruction_history.exp: Update.
20800
6d78d93b
MM
208012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20802
20803 * gdb.btrace/enable.exp: Update expected text.
20804
93a360cc
OJ
208052014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20806
20807 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20808 bytes.
20809
3772b53f
MR
208102014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20811
20812 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20813
596662fa
OJ
208142014-01-15 Omair Javaid <omair.javaid@linaro.org>
20815
20816 * lib/gdb.exp (supports_process_record): Return true for
20817 arm*-linux*. (supports_reverse): Likewise.
20818
b5b08fb4
SC
208192014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20820
20821 PR python/15464
20822 PR python/16113
20823 * gdb.python/py-type.c: Enhance test case.
20824 * gdb.python/py-value-cc.cc: Likewise
20825 * gdb.python/py-type.exp: Add new tests.
20826 * gdb.python/py-value-cc.exp: Likewise
20827
52d7fb13
AA
208282014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20829 Pedro Alves <palves@redhat.com>
20830
20831 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20832 Make "name" extern.
20833 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20834 references to ${name}_start by references to ${name}.
20835
a2cd8cfe
JB
208362014-01-10 Joel Brobecker <brobecker@adacore.com>
20837
20838 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20839
4e23fced
JB
208402014-01-10 Joel Brobecker <brobecker@adacore.com>
20841
20842 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20843
c6a9e42c
PA
208442014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20845 Pedro Alves <palves@redhat.com>
20846
20847 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 20848 mi_gdb_target_load.
c6a9e42c 20849
b7ea362b
PA
208502014-01-08 Pedro Alves <palves@redhat.com>
20851
20852 * gdb.threads/reconnect-signal.c: New file.
20853 * gdb.threads/reconnect-signal.exp: New file.
20854
5e3f4fab
EBM
208552014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20856
20857 * gdb.base/source-dir.exp: New file.
20858
79301218
JB
208592014-01-07 Joel Brobecker <brobecker@adacore.com>
20860
20861 * gdb.ada/mi_interface: New testcase.
20862
8e355c5d
JB
208632014-01-07 Joel Brobecker <brobecker@adacore.com>
20864
20865 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20866 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20867 gdb.ada/pp-rec-component/pck.ads: New files.
20868
c0d48811
JB
208692014-01-07 Joel Brobecker <brobecker@adacore.com>
20870
20871 * gdb.python/py-pp-integral.c: New file.
20872 * gdb.python/py-pp-integral.py: New file.
20873 * gdb.python/py-pp-integral.exp: New file.
20874
17b609c3 20875For older changes see ChangeLog-1993-2013.
c906108c 20876\f
8d8cb839
EZ
20877;; Local Variables:
20878;; mode: change-log
20879;; left-margin: 8
20880;; fill-column: 74
20881;; version-control: never
20882;; End:
902f2ccb 20883
b811d2c2 20884 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
20885 Copying and distribution of this file, with or without modification,
20886 are permitted provided the copyright notice and this notice are preserved.