]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Revert "x86: Replace evex-no-scale.s with evex-no-scale-[32|64].s"
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f0f9e75a
TV
12020-07-21 Tom de Vries <tdevries@suse.de>
2
3 * gdb.opt/inline-locals.c (init_array): New func.
4 (func1): Use init_array.
5 * gdb.opt/inline-locals.exp: Update pattern.
6
bd460ecb
TV
72020-07-21 Tom de Vries <tdevries@suse.de>
8
9 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
10 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
11
ae5369e7
LC
122020-07-20 Ludovic Courtès <ludo@gnu.org>
13
14 * gdb.guile/source2.scm: Add #f first argument to 'format'.
15 * gdb.guile/types-module.exp: Remove "ERROR:" from
16 regexps since Guile 3.0 no longer prints that.
17
68cf161c
LC
182020-07-20 Ludovic Courtès <ludo@gnu.org>
19
20 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
21 error regexp to match on Guile 2.2.
22
c14b4913
GB
232020-07-20 Gary Benson <gbenson@redhat.com>
24
25 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
26 with clang.
27
b243ba58
TV
282020-07-20 Tom de Vries <tdevries@suse.de>
29
30 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
31 (omp_set_lock_in_order): New function.
32 (single_scope, multi_scope, nested_func, nested_parallel): Use
33 omp_set_lock_in_order and omp_unset_lock.
34 (main): Init and destroy lock and lock2.
35
c06ad8b5
TV
362020-07-20 Tom de Vries <tdevries@suse.de>
37
38 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
39
6e22f117
TV
402020-07-20 Tom de Vries <tdevries@suse.de>
41
42 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
43
33176ea7
TV
442020-07-17 Tom de Vries <tdevries@suse.de>
45
46 * gdb.base/valgrind-infcall-2.c: New test.
47 * gdb.base/valgrind-infcall-2.exp: New file.
48 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
49
90c3ec2d
TV
502020-07-17 Tom de Vries <tdevries@suse.de>
51
52 * gdb.dlang/circular.c (found): Use found_label as label name.
53 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
54 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
55 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
56 * gdb.dwarf2/ada-linkage-name.exp: Same.
57 * gdb.dwarf2/arr-subrange.exp: Same.
58 * gdb.dwarf2/atomic-type.exp: Same.
59 * gdb.dwarf2/comp-unit-lang.exp: Same.
60 * gdb.dwarf2/cpp-linkage-name.exp: Same.
61 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
62 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
63 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
64 * gdb.dwarf2/implptr-64bit.exp: Same.
65 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
66 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
67 * gdb.dwarf2/imported-unit.exp: Same.
68 * gdb.dwarf2/main-subprogram.exp: Same.
69 * gdb.dwarf2/missing-type-name.exp: Same.
70 * gdb.dwarf2/nonvar-access.exp: Same.
71 * gdb.dwarf2/struct-with-sig.exp: Same.
72 * gdb.dwarf2/typedef-void-finish.exp: Same.
73 * gdb.dwarf2/void-type.exp: Same.
74
10da644d
TV
752020-07-17 Tom de Vries <tdevries@suse.de>
76
77 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
78 src parameter.
79 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
80 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
81 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
82 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
83 * gdb.dwarf2/dwz.exp: Same.
84 * gdb.dwarf2/implptr-optimized-out.exp: Same.
85 * gdb.dwarf2/implref-array.exp: Same.
86 * gdb.dwarf2/implref-const.exp: Same.
87 * gdb.dwarf2/implref-global.exp: Same.
88 * gdb.dwarf2/implref-struct.exp: Same.
89 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
90 * gdb.dwarf2/opaque-type-lookup.exp: Same.
91 * gdb.dwarf2/var-access.exp: Same.
92 * gdb.dwarf2/varval.exp: Same.
93 * gdb.trace/entry-values.exp: Same.
94
315e6afc
TV
952020-07-17 Tom de Vries <tdevries@suse.de>
96
97 * lib/dwarf.exp (Dwarf::extern): Remove.
98 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
99 * gdb.dlang/circular.exp: Same.
100 * gdb.dwarf2/comp-unit-lang.exp: Same.
101 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
102 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
103 * gdb.dwarf2/dwz.exp: Same.
104 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
105 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
106 * gdb.dwarf2/imported-unit.exp: Same.
107 * gdb.dwarf2/opaque-type-lookup.exp: Same.
108
5597c940
SL
1092020-07-16 Sandra Loosemore <sandra@codesourcery.com>
110
111 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
112 Use double quotes instead of single quotes.
113
d0ce17d8
CT
1142020-07-16 Caroline Tice <cmtice@google.com>
115
116 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
117 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
118
853772cc
TV
1192020-07-16 Tom de Vries <tdevries@suse.de>
120
121 * lib/dwarf.exp (program): Initialize _line.
122 (DW_LNE_end_sequence): Reinitialize _line.
123 (DW_LNS_advance_line): Update _line.
124 (line): New proc.
125 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
126 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
127 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
128 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
129 * gdb.dwarf2/dw2-is-stmt.exp: Same.
130 * gdb.dwarf2/dw2-ranges-func.exp: Same.
131
fe07b572
AB
1322020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
133
134 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
135 generic.
136
52781cce
TV
1372020-07-15 Tom de Vries <tdevries@suse.de>
138
139 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
140 is_amd64_regs_target.
141
3dcc261c
AB
1422020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
143
144 * gdb.fortran/ptype-on-functions.exp: Add more tests.
145 * gdb.fortran/ptype-on-functions.f90: Likewise.
146
054a0959
SM
1472020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
148
149 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
150 values in documentation for addr_size to 4 and 8.
151
ccb9eba6
AB
1522020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
153
154 * gdb.arch/amd64-osabi.exp: Update.
155 * gdb.arch/arm-disassembler-options.exp: Update.
156 * gdb.arch/powerpc-disassembler-options.exp: Update.
157 * gdb.arch/ppc64-symtab-cordic.exp: Update.
158 * gdb.arch/s390-disassembler-options.exp: Update.
159 * gdb.base/all-architectures.exp.tcl: Update.
160 * gdb.base/attach-pie-noexec.exp: Update.
161 * gdb.base/catch-syscall.exp: Update.
162 * gdb.xml/tdesc-arch.exp: Update.
163
025a39a7
TV
1642020-07-14 Tom de Vries <tdevries@suse.de>
165
166 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
167 (local_gettid): ... this.
168 (fn): Update.
169
74e4b667
SL
1702020-07-13 Sandra Loosemore <sandra@codesourcery.com>
171
172 * gdb.base/info_sources.exp: Skip directory match tests on
173 remote hosts.
174
f413dd74
GB
1752020-07-13 Gary Benson <gbenson@redhat.com>
176
177 * gdb.base/savedregs.exp (caller): Use parentheses to
178 make expected expression evaluation ordering explicit.
179
915771bb
GB
1802020-07-13 Gary Benson <gbenson@redhat.com>
181
182 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
183
2a122642
GB
1842020-07-13 Gary Benson <gbenson@redhat.com>
185
186 * gdb.base/bigcore.c (main): Use a volatile pointer when
187 attempting to trigger a SIGSEGV.
188 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
189 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
190 * gdb.base/savedregs.c (thrower): Likewise.
191 * gdb.mi/mi-syn-frame.c (bar): Likewise.
192
3f00c730
GB
1932020-07-13 Gary Benson <gbenson@redhat.com>
194
195 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
196 defining and using VLA structure fields into...
197 * gdb.base/vla-struct-fields.c: New file.
198 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
199 tests into...
200 * gdb.base/vla-struct-fields.exp: New file.
201
963eeee4
TV
2022020-07-13 Tom de Vries <tdevries@suse.de>
203
204 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
205 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
206 * gdb.base/gold-gdb-index.exp: Same.
207 * gdb.base/morestack.exp: Same.
208
0ed35c9a
DX
2092020-07-11 Daniel Xu <dxu@dxuuu.xyz>
210
211 PR rust/26121
212 * gdb.rust/modules.rs: Prevent linker from discarding test
213 symbol.
214
4fdba23d
PA
2152020-07-10 Pedro Alves <pedro@palves.net>
216
217 PR gdb/26199
218 * gdb.multi/multi-target.c (exit_thread): New.
219 (thread_start): Break loop if EXIT_THREAD.
220 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
221 (top level) Call test_no_resumed.
222
15f3b077
TT
2232020-07-08 Tom Tromey <tromey@adacore.com>
224
225 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
226 * gdb.ada/catch_ex.exp: Examine catchpoint text.
227
9fc501fd
AB
2282020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
229
230 PR python/22748
231 * gdb.opt/inline-frame-tailcall.c: New file.
232 * gdb.opt/inline-frame-tailcall.exp: New file.
233 * gdb.python/py-unwind-inline.c: New file.
234 * gdb.python/py-unwind-inline.exp: New file.
235 * gdb.python/py-unwind-inline.py: New file.
236
64cb3757
AB
2372020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
238
239 * gdb.python/py-arch-reg-groups.exp: New file.
240
0f767f94
AB
2412020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
242
243 * gdb.python/py-arch-reg-names.exp: New file.
244
87dbc774
AB
2452020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
248 gdb.PendingFrame.architecture method.
249
d8cc8af6
TV
2502020-07-06 Tom de Vries <tdevries@suse.de>
251
252 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
253
3c8ea5be
PA
2542020-07-03 Pedro Alves <palves@redhat.com>
255
256 * gdb.base/structs2.c (main): Adjust second parem_reg call to
257 explicitly write negative numbers.
258 * gdb.base/structs2.exp: Adjust expected output.
259
bf90c83a
PA
2602020-07-03 Pedro Alves <palves@redhat.com>
261
262 * gdb.base/charset.c (init_string): Change all char parameters to
263 unsigned char parameters.
264
2eb82157
PA
2652020-07-03 Pedro Alves <palves@redhat.com>
266
267 * gdb.base/call-sc.exp (start_scalars_test): Use
268 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
269 * gdb.base/overlays.c: Remove references to PARAMS.
270 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
271 * gdb.base/reread.exp: Don't set 'prototypes' global.
272 * gdb.base/structs.exp (start_structs_test): Use
273 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
274 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
275 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
276 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
277 call.
278 * gdb.base/varargs.exp: Don't set 'prototypes' global.
279
9adda7af
PA
2802020-07-03 Pedro Alves <palves@redhat.com>
281
282 * gdb.base/m32rovly.c: Delete.
283 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
284
2a17c803
PW
2852020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
286
287 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
288 of gdb_py_test_multiple.
289 * gdb.python/py-cmd.exp: Likewise.
290 * gdb.python/py-events.exp: Likewise.
291 * gdb.python/py-function.exp: Likewise.
292 * gdb.python/py-inferior.exp: Likewise.
293 * gdb.python/py-infthread.exp: Likewise.
294 * gdb.python/py-linetable.exp: Likewise.
295 * gdb.python/py-parameter.exp: Likewise.
296 * gdb.python/py-value.exp: Likewise.
297
b011fe1a
TV
2982020-06-30 Tom de Vries <tdevries@suse.de>
299
300 PR testsuite/26175
301 * lib/future.exp (gdb_default_target_compile): Detect and handle
302 early_flags.
303
df5b8876
SM
3042020-06-29 Simon Marchi <simon.marchi@efficios.com>
305
306 * boards/simavr.exp (gdb_load): Catch errors when closing
307 previous connection. Close connection, wait for process and
308 unset simavr_spawn_id on failure.
309
a3ca48cd
TV
3102020-06-29 Tom de Vries <tdevries@suse.de>
311
312 * lib/gdb.exp (unknown): Make test-case unresolved.
313
b0237c0e
TV
3142020-06-29 Tom de Vries <tdevries@suse.de>
315
316 PR gdb/25475
317 * gdb.server/solib-list.exp: Verify that the symbol reload
318 confirmation question is asked.
319
c0b3b3bd
PW
3202020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
321
322 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
323 have a input seq nr in each pass message.
324 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
325 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
326 * gdb.python/python.exp: Make test names unique,
327 use gdb_test_multiline instead of gdb_py_test_multiple,
328 use $gdb_test_name.
329 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
330
1776e3e5
NA
3312020-06-26 Nick Alcock <nick.alcock@oracle.com>
332
333 * configure.ac: Add --enable-libctf.
334 * aclocal.m4: sinclude ../config/enable.m4.
335 * Makefile.in (site.exp): Add enable_libctf to site.exp.
336 * lib/gdb.exp (skip_ctf_tests): Use it.
337 * gdb.base/ctf-constvars.exp: Error message tweak.
338 * gdb.base/ctf-ptype.exp: Likewise.
339 * configure: Regenerate.
340
f53b3eeb
GB
3412020-06-26 Gary Benson <gbenson@redhat.com>
342
343 * gdb.cp/try_catch.cc: Include string.h.
344 (main): Replace comparison against string literal with
345 strcmp, avoiding build failure with -Wstring-compare.
346 Add "marker test-complete".
347 * gdb.cp/try_catch.exp: Run the test to the above marker,
348 then verify that the value of "test" is still true.
349
6d74da72
AB
3502020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
351
352 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
353
2e52d038
AB
3542020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
355
356 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
357
3b9fce96
AB
3582020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
359
360 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
361 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
362 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
363 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
364 * gdb.arch/riscv-tdesc-loading.exp: New file.
365
ed69cbc8
AB
3662020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
367
368 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
369
767a879e
AB
3702020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
373 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
374 * gdb.arch/riscv-tdesc-regs.c: New file.
375 * gdb.arch/riscv-tdesc-regs.exp: New file.
376
221db974
PA
3772020-06-24 Pedro Alves <palves@redhat.com>
378
379 * gdb.arch/amd64-entry-value-paramref.exp: Use
380 prepare_for_testing_full and don't pass "c++" for the .S file
381 build spec.
382 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
383 $options, since it's an assembly file. Remove -Wno-deprecated.
384 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
385 compiling C++ programs.
386
331733cd
PA
3872020-06-24 Pedro Alves <palves@redhat.com>
388
389 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
390 Clang, add "-Wno-unknown-warning-option" to the options.
391
caa7fd04
AB
3922020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
393
394 * gdb.xml/tdesc-reload.c: New file.
395 * gdb.xml/tdesc-reload.exp: New file.
396 * gdb.xml/maint-xml-dump-01.xml: New file.
397 * gdb.xml/maint-xml-dump-02.xml: New file.
398 * gdb.xml/maint-xml-dump.exp: New file.
399
bb8d1260
SL
4002020-06-23 Sandra Loosemore <sandra@codesourcery.com>
401
402 * lib/completion-support.exp (test_gdb_completion_offers_commands):
403 Adjust for omitted commands when TUI is disabled.
404
7e4b9c4c
GB
4052020-06-23 Gary Benson <gbenson@redhat.com>
406 Pedro Alves <palves@redhat.com>
407
408 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
409 * gdb.cp/nsimport.cc: Likewise.
410 * gdb.cp/nsnested.cc: Likewise.
411 * gdb.cp/nsnoimports.cc: Likewise.
412 * gdb.cp/nsusing.cc: Likewise.
413 * gdb.cp/smartp.cc: Likewise.
414 * gdb.python/py-pp-integral.c: Likewise.
415 * gdb.python/py-pp-re-notag.c: Likewise.
416
2e573c0a
GB
4172020-06-23 Gary Benson <gbenson@redhat.com>
418
419 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
420 * gdb.cp/nsimport.cc: Likewise.
421 * gdb.cp/nsnested.cc: Likewise.
422 * gdb.cp/nsnoimports.cc: Likewise.
423 * gdb.cp/nsusing.cc: Likewise.
424 * gdb.cp/smartp.cc: Likewise.
425 * gdb.python/py-pp-integral.c: Likewise.
426 * gdb.python/py-pp-re-notag.c: Likewise.
427
746ebfe8
PW
4282020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
429
430 * gdb.base/default-args.exp: New test.
431 * gdb.base/default-args.c: New file.
432 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
433 * gdb.base/default.exp: Update to new help text.
434 * gdb.base/help.exp: Likewise.
435 * gdb.base/page.exp: Likewise.
436 * gdb.base/style.exp: Likewise.
437 * gdb.guile/guile.exp: Likewise.
438 * gdb.python/python.exp: Likewise.
439
e822f2cd
SL
4402020-06-22 Sandra Loosemore <sandra@codesourcery.com>
441
442 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
443 remote host. Fix search path syntax on Windows host.
444
48e9cc84
PW
4452020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
446
447 * gdb.base/attach.exp: Test priority of 'exec-file' changed
448 over 'exec-file-mismatch'.
449 * gdb.base/attach.c: Mark should_exit volatile.
450 * gdb.base/attach2.c: Likewise. Add a comment explaining
451 why the sleep cannot be big.
452 * gdb.base/attach3.c: New file.
453
160f8a8f
SL
4542020-06-20 Sandra Loosemore <sandra@codesourcery.com>
455
456 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
457 prefix optional.
458
4d91c2a4
SL
4592020-06-20 Sandra Loosemore <sandra@codesourcery.com>
460
461 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
462 for remote host.
463
87f83f20
SL
4642020-06-19 Sandra Loosemore <sandra@codesourcery.com>
465 Hafiz Abid Qadeer <abidh@codesourcery.com>
466
467 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
468 file sent to remote host.
469 (top level): Allow int32_t as type of 32-bit register.
470
37ab8655
TV
4712020-06-19 Tom de Vries <tdevries@suse.de>
472
473 * lib/gdb.exp (gdb_note): New proc.
474 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
475 (gdb_default_target_compile): ... here. Only call
476 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
477 (use_gdb_compile): Change to array.
478 (toplevel): Update sets of use_gdb_compile to specify language.
479 Warn about default_target_compile override. Store dejagnu's version
480 of default_target_compile in dejagnu_default_target_compile.
481
a8a56685
TV
4822020-06-18 Tom de Vries <tdevries@suse.de>
483
484 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
485 (default_gdb_init): ... here.
486
581bea2c
SL
4872020-06-17 Sandra Loosemore <sandra@codesourcery.com>
488
489 Fix TUI support checks in gdb.tui tests.
490
491 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
492 just say UNSUPPORTED.
493 * gdb.tui/corefile-run.exp: Likewise.
494 * gdb.tui/empty.exp: Likewise.
495 * gdb.tui/list-before.exp: Likewise.
496 * gdb.tui/list.exp: Likewise.
497 * gdb.tui/main.exp: Likewise.
498 * gdb.tui/regs.exp: Likewise.
499 * gdb.tui/resize.exp: Likewise.
500 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
501 * gdb.tui/tui-layout-asm.exp: Likewise.
502 * gdb.tui/tui-missing-src.exp: Likewise.
503 * gdb.tui/winheight.exp: Likewise.
504 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
505
05e682e3
SL
5062020-06-17 Sandra Loosemore <sandra@codesourcery.com>
507
508 Fix TCL error in gdb.python/py-format-string.exp.
509
510 * gdb.python/py-format-string.exp: Move test for python support
511 earlier, out of function body.
512
efb763a5
SM
5132020-06-15 Simon Marchi <simon.marchi@efficios.com>
514
515 * gdb.base/index-cache-load-twice.c: New.
516 * gdb.base/index-cache-load-twice.exp: New.
517
43327b20
KS
5182020-06-17 Keith Seitz <keiths@redhat.com>
519
99cf27cf 520 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
521 when executing "gdb --configuration".
522
081e778c
TV
5232020-06-17 Tom de Vries <tdevries@suse.de>
524
525 * lib/gdb.exp (gdb_tcl_unknown): New proc.
526 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
527 conditional on presence of gdb_tcl_unknown.
528 (gdb_finish): Make override undo conditional on presence of
529 gdb_tcl_unknown.
530
d2d1ea20
TT
5312020-06-16 Tom Tromey <tom@tromey.com>
532
533 * gdb.python/tui-window.py (failwin): New function. Register it
534 as a TUI window type.
535 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
536
c802e8a7
GB
5372020-06-16 Gary Benson <gbenson@redhat.com>
538
539 * gdb.python/py-nested-maps.c (create_map): Add missing return
540 value.
541 (create_map_map): Likewise.
542
ff08abb8
TBA
5432020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
544
545 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
546 variable.
547 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
548 and use the already-defined 'options' variable.
549
a29d5112
AB
5502020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
551 Tom de Vries <tdevries@suse.de>
552
553 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
554 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
555 (gdb_setup_known_globals): New proc.
556 (gdb_cleanup_globals): New proc.
557 * lib/gdb.exp (load_lib): New override proc.
558 (gdb_stdin_log_init): Set var in_file as persistent global.
559 * lib/pascal.exp (gdb_stdin_log_init): Set vars
560 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
561 fpc_compiler as persistent global.
562
8c74a764
TV
5632020-06-12 Tom de Vries <tdevries@suse.de>
564
565 * lib/tuiterm.exp (spawn): Rename to ...
566 (tui_spawn): ... this.
567 (toplevel): Move rename of spawn ...
568 (gdb_init_tuiterm): ... here. New proc.
569 (gdb_finish_tuiterm): New proc.
570 * lib/gdb.exp (gdb_finish_hooks): New global var.
571 (gdb_finish): Handle gdb_finish_hooks.
572 (tuiterm_env): New proc.
573 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
574 tuiterm_env.
575 * gdb.tui/basic.exp: Same.
576 * gdb.tui/corefile-run.exp: Same.
577 * gdb.tui/empty.exp: Same.
578 * gdb.tui/list-before.exp: Same.
579 * gdb.tui/list.exp: Same.
580 * gdb.tui/main.exp: Same.
581 * gdb.tui/new-layout.exp: Same.
582 * gdb.tui/regs.exp: Same.
583 * gdb.tui/resize.exp: Same.
584 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
585 * gdb.tui/tui-layout-asm.exp: Same.
586 * gdb.tui/tui-missing-src.exp: Same.
587 * gdb.tui/winheight.exp: Same.
588
26783bce
TV
5892020-06-12 Tom de Vries <tdevries@suse.de>
590
591 PR testsuite/26110
592 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
593 (gdb_finish): Reinstall dejagnu's override of ::unknown.
594
2b4e6a3f
TT
5952020-06-11 Tom Tromey <tom@tromey.com>
596
597 PR gdb/18318:
598 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
599 floating point tests.
600
2f33032a
KS
6012020-06-11 Keith Seitz <keiths@redhat.com>
602
603 PR gdb/21356
604 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
605 vla_struct.
606 Add new struct vla_typedef and union vla_typedef_union and
607 corresponding instantiation objects.
608 Initialize new objects.
609 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
610 and vla_typedef_union_object.
611 Fixup type for vla_struct_object.
612
a8baf0a3
TV
6132020-06-11 Tom de Vries <tdevries@suse.de>
614
615 * lib/gdb.exp (with_override): New proc, factored out of ...
616 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
617
7ab96794
TV
6182020-06-10 Tom de Vries <tdevries@suse.de>
619
620 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
621
cab5c3b7
SM
6222020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
623
624 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
625 parameter, update callers.
626
f8c41851
SM
6272020-06-04 Simon Marchi <simon.marchi@efficios.com>
628
629 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
630 * gdb.dwarf2/share-psymtabs-bt.c: New file.
631 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
632
1c07a73f
TV
6332020-06-04 Tom de Vries <tdevries@suse.de>
634
635 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
636
95146b5d
TV
6372020-06-04 Tom de Vries <tdevries@suse.de>
638
639 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
640 exp_continue.
641
0cfcd4f0
TV
6422020-06-04 Tom de Vries <tdevries@suse.de>
643
644 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
645
f9b5d5ea
TV
6462020-06-03 Tom de Vries <tdevries@suse.de>
647
648 PR symtab/26046
649 * gdb.cp/breakpoint-locs-2.cc: New test.
650 * gdb.cp/breakpoint-locs.cc: New test.
651 * gdb.cp/breakpoint-locs.exp: New file.
652 * gdb.cp/breakpoint-locs.h: New test.
653
5144dfba
TV
6542020-06-03 Tom de Vries <tdevries@suse.de>
655
656 PR testsuite/25609
657 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
658 value of global verbose.
659 * gdb.base/jit-elf.exp: Same.
660 * gdb.base/jit-reader.exp: Same.
661
621eacdf
TV
6622020-06-02 Tom de Vries <tdevries@suse.de>
663
664 * gdb.dwarf2/multidictionary.exp: Don't use
665 gdb_spawn_with_cmdline_opts.
666
1313c56e
AB
6672020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
668
669 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
670 use_header case.
671 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
672 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
673 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
674 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
675 * gdb.dwarf2/dw2-inline-header.c: New file.
676 * gdb.dwarf2/dw2-inline-header.h: New file.
677
f68f85b5
PA
6782020-05-30 Pedro Alves <palves@redhat.com>
679
680 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
681 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
682
678048e8
GB
6832020-05-29 Gary Benson <gbenson@redhat.com>
684
685 * gdb.compile/compile-cplus.exp (additional_flags): Also
686 set when building with clang.
687 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
688 when building with clang.
689
9fcafd23
GB
6902020-05-29 Gary Benson <gbenson@redhat.com>
691
692 * gdb.arch/i386-avx.exp (additional_flags): Also set when
693 building with clang.
694 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
695
735d5a07
GB
6962020-05-29 Gary Benson <gbenson@redhat.com>
697
698 * gdb.cp/koenig.exp (prepare_for_testing): Add
699 additional_flags=-Wno-unused-comparison.
700 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
701
4ad2c6a0
GB
7022020-05-28 Gary Benson <gbenson@redhat.com>
703
704 * gdb.base/sigaltstack.c (catcher): Add default case to switch
705 statement.
706
09fe663e
GB
7072020-05-28 Gary Benson <gbenson@redhat.com>
708
709 * gdb.cp/classes.exp (prepare_for_testing): Add
710 additional_flags=-Wno-deprecated-register.
711 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
712 * gdb.cp/misc.exp: Likewise.
713
cee00f17
GB
7142020-05-28 Gary Benson <gbenson@redhat.com>
715
716 * gdb.linespec/cpls-ops.cc (dummy): New static global.
717 (test_op_new::operator new): Add return statement.
718 (test_op_new_array::operator new[]): Likewise.
719
636edd00
PA
7202020-05-27 Pedro Alves <palves@redhat.com>
721
722 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
723 check. Use test_gdb_complete_unique instead of
724 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
725 test_gdb_complete_multiple instead of
726 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
727
c2b75043
LM
7282020-05-27 Luis Machado <luis.machado@linaro.org>
729
730 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
731 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
732 * gdb.arch/arm-disassembler-options.exp: Likewise.
733 * gdb.arch/arm-disp-step.exp: Likewise.
734 * gdb.arch/thumb-prologue.exp: Likewise.
735 * gdb.base/async.exp: Likewise.
736 * gdb.base/auxv.exp: Likewise.
737 * gdb.base/complex-parts.exp: Likewise.
738 * gdb.base/ena-dis-br.exp: Likewise.
739 * gdb.base/foll-exec.exp: Likewise.
740 * gdb.base/permissions.exp: Likewise.
741 * gdb.base/relocate.exp: Likewise.
742 * gdb.base/return2.exp: Likewise.
743 * gdb.base/sigbpt.exp: Likewise.
744 * gdb.base/siginfo-obj.exp: Likewise.
745 * gdb.cp/converts.exp: Likewise.
746 * gdb.cp/exceptprint.exp: Likewise.
747 * gdb.cp/inherit.exp: Likewise.
748 * gdb.cp/nsnoimports.exp: Likewise.
749 * gdb.cp/virtbase2.exp: Likewise.
750 * gdb.mi/mi-var-cmd.exp: Likewise.
751 * gdb.mi/var-cmd.c: Likewise.
752
53a47a3e
TT
7532020-05-26 Tom Tromey <tromey@adacore.com>
754
755 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
756
0bc2354b
TT
7572020-05-26 Tom Tromey <tromey@adacore.com>
758
759 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
760 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
761 type.
762 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
763 variable.
764
0db49895
CBG
7652020-05-26 Christian Biesinger <cbiesinger@google.com>
766
767 * Makefile.in: Use = instead of == for the test command
768 for portability.
769
40d22035
TV
7702020-05-26 Tom de Vries <tdevries@suse.de>
771
772 * gdb.base/gold-gdb-index-2.c: New test.
773 * gdb.base/gold-gdb-index.c: New test.
774 * gdb.base/gold-gdb-index.exp: New file.
775 * gdb.base/gold-gdb-index.h: New test.
776
043e2e02
TV
7772020-05-25 Tom de Vries <tdevries@suse.de>
778
779 * boards/gold-gdb-index.exp: New file.
780
462f72c5
SM
7812020-05-25 Simon Marchi <simon.marchi@efficios.com>
782
783 * boards/simavr.exp: New file.
784
6cf66e76
SM
7852020-05-25 Simon Marchi <simon.marchi@efficios.com>
786
787 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
788 * gdb.base/inferior-args.exp: New file.
789 * gdb.base/inferior-args.c: New file.
790
75d04512
SM
7912020-05-25 Simon Marchi <simon.marchi@efficios.com>
792
793 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
794 inferior_args. Pass it to gdb_reload.
795 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
796 inferior_args.
797 (gdb_reload): Add inferior_args argument.
798 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
799 pass it to gdbserver_run.
800 * boards/native-gdbserver.exp: Do not set noargs.
801 * boards/native-extended-gdbserver.exp (gdb_reload): Add
802 inferior_args argument.
803 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
804 * gdb.base/a2-run.exp: Check for use_gdb_stub.
805 * gdb.base/args.exp: Likewise.
806
42cf1844
TV
8072020-05-25 Tom de Vries <tdevries@suse.de>
808
809 * lib/gdb.exp (exec_is_pie): Add comment.
810
8f7d38ef
TV
8112020-05-25 Tom de Vries <tdevries@suse.de>
812
813 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
814 instead of $binfile in the untested message.
815
465e1b0f
TV
8162020-05-25 Tom de Vries <tdevries@suse.de>
817
818 PR testsuite/26031
819 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
820
3c5a0e02
TV
8212020-05-25 Tom de Vries <tdevries@suse.de>
822
823 * boards/gold.exp: New file.
824
0a4f5f8c
TT
8252020-05-23 Tom Tromey <tom@tromey.com>
826
827 * gdb.base/style.exp: Remove completion styling test.
828 * lib/gdb-utils.exp (style): Remove completion styles.
829
eca1f90c
TT
8302020-05-23 Tom Tromey <tom@tromey.com>
831
832 * gdb.base/style.exp: Add completion styling test.
833 * lib/gdb-utils.exp (style): Add completion styles.
834
7c13f4e8
AB
8352020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
836
837 * gdb.base/annota1.exp: Update expected results.
838 * gdb.cp/annota2.exp: Update expected results, remove duplicate
839 test name.
840 * gdb.cp/annota3.exp: Update expected results.
841
41977d16
SM
8422020-05-20 Simon Marchi <simon.marchi@efficios.com>
843
844 PR gdb/26016
845 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
846 against MAP_FAILED.
847 * gdb.base/coremaker.c (mmapdata): Likewise.
848 * gdb.base/jit-reader-host.c (main): Likewise.
849 * gdb.base/sym-file-loader.c (load): Likewise.
850 (load_shlib): Likewise.
851
b4757f2e
TT
8522020-05-20 Tom Tromey <tromey@adacore.com>
853
854 * gdb.ada/array_char_idx.exp: Recognize initialized array.
855
9a0bacfb
TV
8562020-05-20 Tom de Vries <tdevries@suse.de>
857
858 PR symtab/25833
859 * gdb.base/with-mf-inc.c: New test.
860 * gdb.base/with-mf-main.c: New test.
861 * gdb.base/with-mf.exp: New file.
862
76571211
TT
8632020-05-19 Tom Tromey <tromey@adacore.com>
864
865 * gdb.rust/simple.exp: Restore missing test result.
866
4cd9f3d5
TV
8672020-05-19 Tom de Vries <tdevries@suse.de>
868
869 * gdb.base/gdb-caching-proc.exp: Fix typo.
870
7d874253
TT
8712020-05-19 Tom Tromey <tromey@adacore.com>
872
873 * gdb.rust/simple.exp: Add some test descriptions.
874 (test_one_slice): Use with_test_prefix.
875
1d727695
TV
8762020-05-18 Tom de Vries <tdevries@suse.de>
877
878 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
879
7f32a4d5
PA
8802020-05-17 Pedro Alves <palves@redhat.com>
881
882 PR gdb/25741
883 * gdb.base/hw-sw-break-same-address.exp: New file.
884
7cfd74cf
PA
8852020-05-16 Pedro Alves <palves@redhat.com>
886
887 * gdb.multi/multi-re-run.exp (test_re_run): Switch
888 LAST_LOADED_FILE accordingly.
889
57b4f16e
PW
8902020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
891
892 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
893
7c05caf7
PW
8942020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
895
896 * gdb.base/help.exp: Test apropos and help for commands
897 having aliases. Fixed comments not starting with an
898 upper-case letter or not finishing with a dot.
899
7aa1b46f
PW
9002020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
901
3b3aaacb
PW
902 * gdb.base/alias.exp: Update help output check.
903
57b4f16e 9042020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 905
7aa1b46f
PW
906 * gdb.base/default.exp: Update output following fixes.
907
0605465f
PW
9082020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
909
910 * gdb.base/alias.exp: Test aliases starting with a prefix of
911 another alias.
912
86e4e63d
GB
9132020-05-15 Gary Benson <gbenson@redhat.com>
914
915 * gdb.base/info-os.c (main): Add return statement.
916 * gdb.base/info_minsym.c (minsym_fun): Likewise.
917 * gdb.base/large-frame-2.c (func): Likewise.
918 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
919 * gdb.base/pr10179-b.c (foo2): Likewise.
920 * gdb.base/valgrind-disp-step.c (foo): Likewise.
921 * gdb.base/watch-cond.c (func): Likewise.
922 * gdb.multi/goodbye.c (verylongfun): Likewise.
923 * gdb.multi/hello.c (commonfun): Likewise.
924 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
925 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
926 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
927 Likewise.
928 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
929 * gdb.threads/interrupt-while-step-over.c (child_function):
930 Likewise.
931 * gdb.trace/actions-changed.c (end): Likewise.
932
163df4df
GB
9332020-05-15 Gary Benson <gbenson@redhat.com>
934
935 * gdb.opencl/callfuncs.exp: Report when test skipped.
936 * gdb.opencl/convs_casts.exp: Likewise.
937 * gdb.opencl/datatypes.exp: Likewise.
938 * gdb.opencl/operators.exp: Likewise.
939 * gdb.opencl/vec_comps.exp: Likewise.
940
6dbc505a
TV
9412020-05-15 Tom de Vries <tdevries@suse.de>
942
943 * gdb.base/align.exp.in: Rename to ...
944 * gdb.base/align.exp.tcl: ... this.
945 * gdb.base/align-c++.exp: Update.
946 * gdb.base/align-c.exp: Update.
947 * gdb.base/all-architectures.exp.in: Rename to ...
948 * gdb.base/all-architectures.exp: ... this.
949 * gdb.base/all-architectures-0.exp: Update.
950 * gdb.base/all-architectures-1.exp: Update.
951 * gdb.base/all-architectures-2.exp: Update.
952 * gdb.base/all-architectures-3.exp: Update.
953 * gdb.base/all-architectures-4.exp: Update.
954 * gdb.base/all-architectures-5.exp: Update.
955 * gdb.base/all-architectures-6.exp: Update.
956 * gdb.base/all-architectures-7.exp: Update.
957 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
958 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
959 * gdb.base/infcall-nested-structs-c++.exp: Update.
960 * gdb.base/infcall-nested-structs-c.exp: Update.
961 * gdb.base/info-types.exp.in: Rename to ...
962 * gdb.base/info-types.exp.tcl: ... this.
963 * gdb.base/info-types-c++.exp: Update.
964 * gdb.base/info-types-c.exp: Update.
965 * gdb.base/max-depth.exp.in: Rename to ...
966 * gdb.base/max-depth.exp.tcl: ... this.
967 * gdb.base/max-depth-c++.exp: Update.
968 * gdb.base/max-depth-c.exp: Update.
969 * gdb.cp/cpexprs.exp.in: Rename to ...
970 * gdb.cp/cpexprs.exp.tcl: ... this.
971 * gdb.cp/cpexprs-debug-types.exp: Update.
972 * gdb.cp/cpexprs.exp: Update.
973 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
974 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
975 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
976 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
977 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
978 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
979 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
980 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
981 * gdb.dwarf2/clang-debug-names-2.exp: Update.
982 * gdb.dwarf2/clang-debug-names.exp: Update.
983
d1034d78
AB
9842020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
985
986 * lib/check-test-names.exp: Remove code that prevents this file
987 loading when tests are run in parallel.
988
3c5c3649
PA
9892020-05-15 Pedro Alves <palves@redhat.com>
990
991 * gdb.multi/multi-kill.exp (start_inferior): Remove
992 'testpid' parameter. Refer to namespace variable directly.
993 (testpid): Declare as namespace variable.
994
272c36b8
PA
9952020-05-15 Pedro Alves <palves@redhat.com>
996
997 * gdb.multi/multi-kill.exp: Wrap in namespace.
998 (start_inferior): Add TESTPID parameter. Use it instead of the
999 testpid global.
1000 (top level): Define empty TESTPID array, and pass it down to
1001 start_inferior.
1002
02eba61a
TV
10032020-05-14 Tom de Vries <tdevries@suse.de>
1004
1005 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1006 output.
1007
971a3747
TV
10082020-05-14 Tom de Vries <tdevries@suse.de>
1009
1010 * gdb.base/align.exp: Split into ...
1011 * gdb.base/align.exp.in: ...
1012 * gdb.base/align-c++.exp: ...
1013 * gdb.base/align-c.exp: ... these.
1014 * gdb.base/infcall-nested-structs.exp: Split into ...
1015 * gdb.base/infcall-nested-structs.exp.in: ...
1016 * gdb.base/infcall-nested-structs-c++.exp: ...
1017 * gdb.base/infcall-nested-structs-c.exp: ... these.
1018 * gdb.base/info-types.exp: Split into ...
1019 * gdb.base/info-types.exp.in: ...
1020 * gdb.base/info-types-c++.exp: ...
1021 * gdb.base/info-types-c.exp: ... these.
1022 * gdb.base/max-depth.exp: Split into ...
1023 * gdb.base/max-depth.exp.in: ...
1024 * gdb.base/max-depth-c++.exp: ...
1025 * gdb.base/max-depth-c.exp: ... these.
1026 * gdb.cp/infcall-nodebug.exp: Split into ...
1027 * gdb.cp/infcall-nodebug.exp.in: ...
1028 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1029 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1030 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1031 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1032
a05575d3
TBA
10332020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1034 Pedro Alves <palves@redhat.com>
1035
1036 * gdb.multi/multi-exit.c: New file.
1037 * gdb.multi/multi-exit.exp: New file.
1038 * gdb.multi/multi-kill.c: New file.
1039 * gdb.multi/multi-kill.exp: New file.
1040
6ad82919
TBA
10412020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1042
1043 * gdb.base/annota1.exp: Update the expected output.
1044 * gdb.cp/annota2.exp: Ditto.
1045
843f4d93
AB
10462020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1047
1048 * lib/check-test-names.exp: Disable when testing is being run in
1049 parallel.
1050
c7c66341
TV
10512020-05-12 Tom de Vries <tdevries@suse.de>
1052
1053 * gdb.base/jit-elf.exp: Fix string concat.
1054
1b59ca1c
TV
10552020-05-12 Tom de Vries <tdevries@suse.de>
1056
1057 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1058 messages.
1059
b4991d29
TV
10602020-05-12 Tom de Vries <tdevries@suse.de>
1061
1062 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1063
dbb0ab10
TV
10642020-05-12 Tom de Vries <tdevries@suse.de>
1065
1066 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1067 * gdb.ada/mi_catch_ex.exp: Same.
1068 * gdb.ada/mi_catch_ex_hand.exp: Same.
1069
7549fed8
TV
10702020-05-12 Tom de Vries <tdevries@suse.de>
1071
1072 * gdb.fortran/complex.exp: Use with_test_prefix.
1073
af2d5cd8
TV
10742020-05-12 Tom de Vries <tdevries@suse.de>
1075
1076 * gdb.trace/passcount.exp: Fix test-names.
1077
7c121311
TV
10782020-05-12 Tom de Vries <tdevries@suse.de>
1079
1080 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1081
c9f3b40e
TV
10822020-05-12 Tom de Vries <tdevries@suse.de>
1083
1084 * gdb.gdb/complaints.exp: Use with_test_prefix.
1085 * gdb.xml/tdesc-regs.exp: Same.
1086 * gdb.opt/inline-locals.exp: Fix test name.
1087
111b33f0
TV
10882020-05-12 Tom de Vries <tdevries@suse.de>
1089
1090 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1091 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1092 * gdb.dwarf2/implref-struct.exp: Same.
1093 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1094 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1095
ebf47080
SM
10962020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1097
1098 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1099
d30dcd12
AB
11002020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1101
1102 * lib/check-test-names.exp (all_test_names): New module variable.
1103 (counts): Add 'duplicates' field.
1104 (_check_duplicates): New procedure.
1105 (check): Also check for duplicates.
1106 (do_log_summary): Print duplicates count.
1107 (do_reset_vars): Reset counter for duplicate test names, and
1108 discard all know test names.
1109
34584c09
AB
11102020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1111
1112 * lib/gdb.exp: Include check-test-names.exp library.
1113 * lib/check-test-names.exp: New file.
1114
e0002117
TV
11152020-05-11 Tom de Vries <tdevries@suse.de>
1116
1117 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1118
53f539a3
KS
11192020-05-11 Keith Seitz <keiths@redhat.com>
1120
1121 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1122
113ee09a
TV
11232020-05-11 Tom de Vries <tdevries@suse.de>
1124
1125 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1126 * gdb.cp/cpexprs.exp.in: .. here.
1127 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1128 cpexprs.exp.
1129
ba3e70b0
KS
11302020-05-11 Keith Seitz <keiths@redhat.com>
1131
1132 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1133 test names.
1134 * gdb.ada/arrayptr.exp: Likewise.
1135 * gdb.ada/assign_arr.exp: Likewise.
1136 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1137 * gdb.ada/bp_on_var.exp: Likewise.
1138 * gdb.ada/call_pn.exp: Likewise.
1139 * gdb.ada/complete.exp: Likewise.
1140 * gdb.ada/fun_overload_menu.exp: Likewise.
1141 * gdb.ada/funcall_param.exp: Likewise.
1142 * gdb.ada/funcall_ref.exp: Likewise.
1143 * gdb.ada/packed_array_assign.exp: Likewise.
1144 * gdb.ada/same_component_name.exp: Likewise.
1145 * gdb.ada/type_coercion.exp: Likewise.
1146 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1147 * gdb.ada/variant_record_packed_array.exp: Likewise.
1148
3ee6bb11
TV
11492020-05-11 Tom de Vries <tdevries@suse.de>
1150
1151 PR symtab/25941
1152 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1153 out of ...
1154 * gdb.dwarf2/clang-debug-names.exp: ... here.
1155 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1156 clang-debug-names.exp.in.
1157 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1158 * gdb.dwarf2/clang-debug-names-2.c: New test.
1159
86cd6bc8
AKS
11602020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1161
1162 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1163 (fortran_runto_main): New Proc, fortran version of runto_main.
1164 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1165 * gdb.fortran/array-bounds.exp: Likewise.
1166 * gdb.fortran/array-slices.exp: Likewise.
1167 * gdb.fortran/block-data.exp: Likewise.
1168 * gdb.fortran/charset.exp: Likewise.
1169 * gdb.fortran/common-block.exp: Likewise.
1170 * gdb.fortran/complex.exp: Likewise.
1171 * gdb.fortran/derived-type-function.exp: Likewise.
1172 * gdb.fortran/derived-type.exp: Likewise.
1173 * gdb.fortran/info-modules.exp: Likewise.
1174 * gdb.fortran/info-types.exp: Likewise.
1175 * gdb.fortran/intrinsics.exp: Likewise.
1176 * gdb.fortran/library-module.exp: Likewise.
1177 * gdb.fortran/logical.exp: Likewise.
1178 * gdb.fortran/max-depth.exp: Likewise.
1179 * gdb.fortran/module.exp: Likewise.
1180 * gdb.fortran/multi-dim.exp: Likewise.
1181 * gdb.fortran/nested-funcs.exp: Likewise.
1182 * gdb.fortran/print-formatted.exp: Likewise.
1183 * gdb.fortran/print_type.exp: Likewise.
1184 * gdb.fortran/printing-types.exp: Likewise.
1185 * gdb.fortran/ptr-indentation.exp: Likewise.
1186 * gdb.fortran/ptype-on-functions.exp: Likewise.
1187 * gdb.fortran/subarray.exp: Likewise.
1188 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1189 * gdb.fortran/vla-datatypes.exp: Likewise.
1190 * gdb.fortran/vla-history.exp: Likewise.
1191 * gdb.fortran/vla-ptr-info.exp: Likewise.
1192 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1193 * gdb.fortran/vla-ptype.exp: Likewise.
1194 * gdb.fortran/vla-sizeof.exp: Likewise.
1195 * gdb.fortran/vla-type.exp: Likewise.
1196 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1197 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1198 * gdb.fortran/vla-value-sub.exp: Likewise.
1199 * gdb.fortran/vla-value.exp: Likewise.
1200 * gdb.fortran/whatis_type.exp: Likewise.
1201 * gdb.mi/mi-var-child-f.exp: Likewise.
1202
6dc55ce9 12032020-05-09 Tom de Vries <tdevries@suse.de>
1204
1205 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1206
283cb58c
TV
12072020-05-08 Tom de Vries <tdevries@suse.de>
1208
1209 * gdb.dwarf2/clang-debug-names.c: New test.
1210 * gdb.dwarf2/clang-debug-names.exp: New file.
1211
ac4a4f1c
SM
12122020-05-06 Simon Marchi <simon.marchi@efficios.com>
1213
1214 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1215 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1216
24fe640b
TV
12172020-05-06 Tom de Vries <tdevries@suse.de>
1218
1219 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1220 breakpoint is at a "recommended breakpoint location".
1221 * gdb.reverse/consecutive-reverse.exp: Same.
1222
0d8683a3
TV
12232020-05-06 Tom de Vries <tdevries@suse.de>
1224
1225 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1226 address.
1227
b8983c46
TV
12282020-05-06 Tom de Vries <tdevries@suse.de>
1229
1230 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1231
abf6d805
TV
12322020-05-06 Tom de Vries <tdevries@suse.de>
1233
1234 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1235 info for r.
1236
0fc2a808
TV
12372020-05-06 Tom de Vries <tdevries@suse.de>
1238
1239 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1240 necessary.
1241
873dd427
TV
12422020-05-06 Tom de Vries <tdevries@suse.de>
1243
1244 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1245 void.
1246
7c99e7e2
TV
12472020-05-06 Tom de Vries <tdevries@suse.de>
1248
1249 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1250 of ...
1251 * gdb.base/async.exp: ... here.
1252 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1253 "recommended breakpoint location".
1254
6173d6a6
TV
12552020-05-06 Tom de Vries <tdevries@suse.de>
1256
1257 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1258
6015a067
TV
12592020-05-04 Tom de Vries <tdevries@suse.de>
1260
1261 * gdb.base/async.exp: Check whether instruction addresses are a
1262 "recommended breakpoint location".
1263
3b6acaee
TT
12642020-05-03 Tom Tromey <tom@tromey.com>
1265
1266 * gdb.base/sepdebug.exp: Remove "catch" test.
1267 * gdb.base/break.exp: Remove "catch" test.
1268 * gdb.base/default.exp: Update expected output.
1269
5beb4d17
TV
12702020-05-02 Tom de Vries <tdevries@suse.de>
1271
1272 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1273 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1274 * gdb.arch/i386-mpx-map.exp: Same.
1275 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1276 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1277 * gdb.arch/i386-mpx.exp: Same.
1278
8caf140d
TV
12792020-05-02 Tom de Vries <tdevries@suse.de>
1280
1281 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1282
693196cb
TV
12832020-05-01 Tom de Vries <tdevries@suse.de>
1284
1285 * gdb.ada/operator_bp.exp: Allow more than required amount of
1286 breakpoint.
1287
53ae0aa9
TV
12882020-05-01 Tom de Vries <tdevries@suse.de>
1289
1290 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1291
ee9d1e5f
HD
12922020-04-30 Hannes Domani <ssbssa@yahoo.de>
1293
1294 PR gdb/18706
1295 * gdb.cp/stub-array-size.cc: New test.
1296 * gdb.cp/stub-array-size.exp: New file.
1297 * gdb.cp/stub-array-size.h: New test.
1298 * gdb.cp/stub-array-size2.cc: New test.
1299
d5cf82c0
HD
13002020-04-30 Hannes Domani <ssbssa@yahoo.de>
1301
1302 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1303 output to the new format.
1304
42e165c3
SM
13052020-04-29 Simon Marchi <simon.marchi@efficios.com>
1306
1307 * gdb.base/break.exp: Use with_test_prefix.
1308
6e4e3fe1
TV
13092020-04-29 Tom de Vries <tdevries@suse.de>
1310
1311 * lib/gdb.exp (debug_types): New proc.
1312 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1313 * gdb.python/py-symtab.exp: Same.
1314
d642b692
HD
13152020-04-29 Hannes Domani <ssbssa@yahoo.de>
1316
1317 PR gdb/17320
1318 * gdb.base/pretty-array.c: New test.
1319 * gdb.base/pretty-array.exp: New file.
1320
ea90f227
TV
13212020-04-29 Tom de Vries <tdevries@suse.de>
1322
1323 PR symtab/25889
1324 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1325 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1326 and include cpexprs.exp.
1327
a65189c9
TV
13282020-04-28 Mark Williams <mark@myosotissp.com>
1329
1330 PR gdb/24480
1331 * dw4-toplevel-types.exp: Test for top level types.
1332 * dw4-toplevel-types.cc: Test for top level types.
1333
32d1f47a
TBA
13342020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1335
1336 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1337 (theads -> threads).
1338
56a4f5a1
TV
13392020-04-28 Tom de Vries <tdevries@suse.de>
1340
1341 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1342
0b2f8a3b
TV
13432020-04-28 Tom de Vries <tdevries@suse.de>
1344
1345 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1346
5390c717
TV
13472020-04-28 Tom de Vries <tdevries@suse.de>
1348
1349 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1350
15cd93d0
TV
13512020-04-28 Tom de Vries <tdevries@suse.de>
1352
1353 * gdb.dwarf2/main-foo.c: New test.
1354 * gdb.dwarf2/struct-with-sig.exp: New file.
1355
d472f0fb
TV
13562020-04-25 Tom de Vries <tdevries@suse.de>
1357
1358 * boards/debug-types.exp: New file.
1359
8d840e05
AB
13602020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1361
1362 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1363
bcfe6157
TT
13642020-04-24 Tom Tromey <tom@tromey.com>
1365
1366 PR symtab/12707:
1367 * gdb.python/py-symbol.exp: Update expected results for
1368 linkage_name test.
1369 * gdb.cp/print-demangle.exp: New file.
1370 * gdb.base/c-linkage-name.exp: Fix test.
1371 * gdb.guile/scm-symbol.exp: Update expected results for
1372 linkage_name test.
1373
f049a313
TT
13742020-04-24 Tom Tromey <tom@tromey.com>
1375
1376 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1377 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1378 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1379 assembler.
1380
7cf28874
TV
13812020-04-24 Tom de Vries <tdevries@suse.de>
1382
1383 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1384 C++.
1385
dac2fef7
TT
13862020-04-24 Tom Tromey <tromey@adacore.com>
1387
1388 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1389 values.
1390 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1391 values. Update test for minimal encodings.
1392 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1393 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1394 values. Update test for minimal encodings.
1395
1acda803
TT
13962020-04-24 Tom Tromey <tromey@adacore.com>
1397
1398 PR python/23662:
1399 * gdb.ada/variant.exp: Add Python checks.
1400 * gdb.rust/simple.exp: Add dynamic type checks.
1401
adfb9815
TT
14022020-04-24 Tom Tromey <tromey@adacore.com>
1403
1404 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1405 Make array type matching more lax.
1406 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1407 * gdb.ada/mi_variant.exp: New file.
1408 * gdb.ada/mi_variant/pck.ads: New file.
1409 * gdb.ada/mi_variant/pkg.adb: New file.
1410 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1411 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1412
7d79de9a
TT
14132020-04-24 Tom Tromey <tromey@adacore.com>
1414
1415 * gdb.ada/variant.exp: Add dynamic field offset tests.
1416 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1417 * gdb.ada/variant/pkg.adb: Add new variables.
1418
f8e89861
TT
14192020-04-24 Tom Tromey <tromey@adacore.com>
1420
1421 * gdb.ada/variant.exp: New file
1422 * gdb.ada/variant/pkg.adb: New file
1423 * gdb.ada/variant/pck.adb: New file
1424
86e887ae
TV
14252020-04-24 Tom de Vries <tdevries@suse.de>
1426
1427 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1428
88428775
TV
14292020-04-24 Tom de Vries <tdevries@suse.de>
1430
1431 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1432 flags.
1433
4e86f6e7
TV
14342020-04-24 Tom de Vries <tdevries@suse.de>
1435
1436 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1437
2016d3e6
TV
14382020-04-24 Tom de Vries <tdevries@suse.de>
1439
1440 * lib/gdb.exp (default_gdb_start): Handle eof.
1441 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1442 failure.
1443 * gdb.base/readnever.exp: Handle clean_restart failure.
1444
70bc38f5
TV
14452020-04-23 Tom de Vries <tdevries@suse.de>
1446
1447 * gdb.base/decl-before-def.exp: Run to main and print a again.
1448
de82891c
TV
14492020-04-23 Tom de Vries <tdevries@suse.de>
1450
1451 * gdb.base/decl-before-def-decl.c: New test.
1452 * gdb.base/decl-before-def-def.c: New test.
1453 * gdb.base/decl-before-def.exp: New file.
1454
96038148
TV
14552020-04-23 Tom de Vries <tdevries@suse.de>
1456
1457 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1458
54ac3df1
TV
14592020-04-22 Tom de Vries <tdevries@suse.de>
1460
1461 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1462 debug_info_offset.
1463 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1464 before $objsfile in the line line.
1465
714534e1
TV
14662020-04-22 Tom de Vries <tdevries@suse.de>
1467
1468 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1469
16a7dbf4
MS
14702020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1471
1472 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1473 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1474 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1475 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1476 * gdb.base/jit-protocol.h: Update definitions to match all usage
1477 contexts.
1478
14792020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1480
1481 * gdb.base: Rename all jit related test and source files.
1482
14832020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1484
1485 * gdb.base/jit-reader.exp: Relax register output check.
1486
317d2668
TV
14872020-04-22 Tom de Vries <tdevries@suse.de>
1488
1489 PR symtab/25764
1490 * gdb.base/psym-external-decl-2.c: New test.
1491 * gdb.base/psym-external-decl.c: New test.
1492 * gdb.base/psym-external-decl.exp: New file.
1493 * gdb.threads/tls.exp: Add PR25807 kfail.
1494
eea9e357
TV
14952020-04-22 Tom de Vries <tdevries@suse.de>
1496
1497 PR symtab/25801
1498 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1499 in "info source" output.
1500
3d5afab3
TV
15012020-04-22 Tom de Vries <tdevries@suse.de>
1502
1503 PR symtab/25700
1504 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1505 symtab for imported_unit.c.
1506
b32102f6
GB
15072020-04-21 Gary Benson <gbenson@redhat.com>
1508
1509 * gdb.base/advance.c (func): New argument, to match call site.
1510 (func2, func3): Add return statements.
1511
d43b7a2d
TBA
15122020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1513
1514 * gdb.multi/run-only-second-inf.c: New file.
1515 * gdb.multi/run-only-second-inf.exp: New file.
1516
d89edf9b
MM
15172020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1518
1519 * gdb.btrace/multi-inferior.c: New test.
1520 * gdb.btrace/multi-inferior.exp: New file.
1521
1a476b6d
MM
15222020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1523
1524 * gdb.btrace/enable-new-thread.c: New test.
1525 * gdb.btrace/enable-new-thread.exp: New file.
1526
4778a5f8
TV
15272020-04-21 Tom de Vries <tdevries@suse.de>
1528
1529 PR gdb/25471
1530 * gdb.threads/killed-outside.c: New test.
1531 * gdb.threads/killed-outside.exp: New file.
1532
9b2c992c
GB
15332020-04-20 Gary Benson <gbenson@redhat.com>
1534
1535 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1536 * gdb.base/nested-subp2.exp: Likewise.
1537 * gdb.base/nested-subp3.exp: Likewise.
1538
b5d1d6f7
GB
15392020-04-20 Gary Benson <gbenson@redhat.com>
1540
1541 * gdb.base/nested-subp1.exp: Disable test when using clang.
1542 * gdb.base/nested-subp2.exp: Likewise.
1543 * gdb.base/nested-subp3.exp: Likewise.
1544
25230285
GB
15452020-04-20 Gary Benson <gbenson@redhat.com>
1546
1547 * gdb.cp/exception.cc: Fix compilation error with clang.
1548
fa93cc8f
GB
15492020-04-20 Gary Benson <gbenson@redhat.com>
1550
809730f3 1551 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 1552
e0c45f30
GB
15532020-04-20 Gary Benson <gbenson@redhat.com>
1554
1555 * gdb.base/jit-main.c: Fix compilation error with clang.
1556
4ddfec93
KR
15572020-04-17 Kamil Rytarowski <n54@gmx.com>
1558
1559 * gdb.base/attach-twice.c: Include "sys/types.h".
1560 (PTRACE_ATTACH): Add fallback definition.
1561 (main): Pass `0' to the 4th argument of `ptrace'.
1562
2bed205e
KR
15632020-04-17 Kamil Rytarowski <n54@gmx.com>
1564
1565 * gdb.base/fork-running-state.c: Include "signal.h".
1566
0743fc83
TT
15672020-04-17 Tom Tromey <tromey@adacore.com>
1568
1569 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1570 Update tests.
1571 * gdb.btrace/cpu.exp: Update tests.
1572 * gdb.base/maint.exp: Update tests.
1573 * gdb.base/default.exp: Update tests.
1574 * gdb.base/completion.exp: Update tests.
1575
efba5c23
TV
15762020-04-16 Tom de Vries <tdevries@suse.de>
1577
1578 PR symtab/25791
1579 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1580 (ensure_gdb_index): and factor out and move ...
1581 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1582 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1583
d191d716
TV
15842020-04-16 Tom de Vries <tdevries@suse.de>
1585
1586 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1587 loading exec.
1588
99f1bc6a
AB
15892020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1590
1591 * gdb.base/many-completions.exp: New file.
1592
194d088f
TV
15932020-04-14 Tom de Vries <tdevries@suse.de>
1594
1595 PR symtab/25718
1596 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1597
c1a66c06
TV
15982020-04-14 Tom de Vries <tdevries@suse.de>
1599
1600 PR symtab/25720
1601 * gdb.base/maint-expand-symbols-header-file.c: New test.
1602 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1603 * gdb.base/maint-expand-symbols-header-file.h: New test.
1604
21b0982c
AB
16052020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1606
1607 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1608 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1609 get_func_info.
1610 (get_func_info): Delete.
1611 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1612 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1613 * lib/dwarf.exp (get_func_info): New function.
1614
dd1cab06
TV
16152020-04-13 Tom de Vries <tdevries@suse.de>
1616
1617 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1618 to what find_gnatmake does.
1619
71ea2b6b
TV
16202020-04-10 Tom de Vries <tdevries@suse.de>
1621
1622 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1623 -readnow.
1624
bdfc1e8a
TV
16252020-04-10 Tom de Vries <tdevries@suse.de>
1626
1627 PR cli/25808
1628 * gdb.base/style.c: Add leading newlines.
1629 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1630 Check listing of main's one-line body.
1631
14ca8ecf
TV
16322020-04-08 Tom de Vries <tdevries@suse.de>
1633
1634 * lib/gdb.exp (psymtabs_p): New proc.
1635 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1636 importing unit" unsupported if there are no partial symbols.
1637
e21d048f
TV
16382020-04-08 Tom de Vries <tdevries@suse.de>
1639
1640 PR testsuite/25760
1641 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1642
25c11aca
TV
16432020-04-07 Tom de Vries <tdevries@suse.de>
1644
1645 PR symtab/25796
1646 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1647
5707e24b
TV
16482020-04-07 Tom de Vries <tdevries@suse.de>
1649
1650 * gdb.base/check-psymtab.c: New test.
1651 * gdb.base/check-psymtab.exp: New file.
1652
6ee448cc
TT
16532020-04-06 Tom Tromey <tromey@adacore.com>
1654
1655 * gdb.ada/variant-record/proc.adb: New file.
1656 * gdb.ada/variant-record/value.adb: New file.
1657 * gdb.ada/variant-record/value.s: New file.
1658 * gdb.ada/variant-record.exp: New file.
1659
9e7c9a03
HD
16602020-04-03 Hannes Domani <ssbssa@yahoo.de>
1661
1662 PR gdb/25325
1663 * gdb.cp/typed-enum.cc: New test.
1664 * gdb.cp/typed-enum.exp: New file.
1665
c90d28ac
AB
16662020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1667
1668 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1669 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1670 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1671 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1672 * gdb.opt/inline-small-func.c: New file.
1673 * gdb.opt/inline-small-func.exp: New file.
1674 * gdb.opt/inline-small-func.h: New file.
1675
34e9a9fa
AB
16762020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1677
1678 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1679 function.
1680
6a354911
AB
16812020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1682
1683 * lib/dwarf.exp (function_range): Allow compiler options to be
1684 specified.
1685
880d9777
TV
16862020-04-02 Tom de Vries <tdevries@suse.de>
1687
1688 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1689 __attribute__((always_inline)).
1690 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1691
f32682ea
TV
16922020-04-02 Tom de Vries <tdevries@suse.de>
1693
1694 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1695 (gdbserver_gdb_exit): ... here. Add timeout warning.
1696 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1697 (connect_target_extended_remote): Append new server_spawn_id to
1698 server_spawn_ids.
1699 (cleanup): New proc.
1700 (setup, <toplevel>): Call cleanup.
1701
d3214198
TV
17022020-04-02 Tom de Vries <tdevries@suse.de>
1703
1704 * gdb.base/main-psymtab.exp: New file.
1705
cc77ed24
TV
17062020-04-02 Tom de Vries <tdevries@suse.de>
1707
1708 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1709
3638a098
TT
17102020-04-01 Tom Tromey <tom@tromey.com>
1711
1712 * gdb.base/complex-parts.exp: Add type tests.
1713
c34e8714
TT
17142020-04-01 Tom Tromey <tom@tromey.com>
1715
1716 * gdb.base/complex-parts.exp: Add arithmetic tests.
1717
981c08ce
TT
17182020-04-01 Tom Tromey <tom@tromey.com>
1719
1720 * gdb.compile/compile.exp: Update.
1721 * gdb.compile/compile-cplus.exp: Update.
1722 * gdb.base/varargs.exp: Update.
1723 * gdb.base/floatn.exp: Update.
1724 * gdb.base/endianity.exp: Update.
1725 * gdb.base/callfuncs.exp (do_function_calls): Update.
1726 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1727 (complex_float_integral_args): Update.
1728 * gdb.base/complex.exp: Update.
1729 * gdb.base/complex-parts.exp: Update.
1730
3d1cfd43
TT
17312020-04-01 Tom Tromey <tromey@adacore.com>
1732
1733 * gdb.rust/union.rs: New file.
1734 * gdb.rust/union.exp: New file.
1735 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1736 (main): Update.
1737 * gdb.rust/simple.exp: Move union tests to union.exp.
1738
e033dfa9
TT
17392020-04-01 Tom Tromey <tromey@adacore.com>
1740
1741 * gdb.rust/simple.rs (main): Remove "y0".
1742
53cccef1
TBA
17432020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1744
1745 * gdb.multi/stop-all-on-exit.c: New test.
1746 * gdb.multi/stop-all-on-exit.exp: New file.
1747
60e22c1e
HD
17482020-04-01 Hannes Domani <ssbssa@yahoo.de>
1749
1750 PR gdb/24789
1751 * gdb.cp/misc.cc: Add integer reference variable.
1752 * gdb.cp/misc.exp: Add test.
1753
e139a727
TBA
17542020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1755
1756 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1757 scenario to cover execution until the end and also the case
1758
16b0db75
TV
17592020-03-31 Tom de Vries <tdevries@suse.de>
1760
1761 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1762 c. Use "maint info symtabs" to check symtab expansion.
1763
c0502da6
TV
17642020-03-30 Tom de Vries <tdevries@suse.de>
1765
1766 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1767 unsupported.
1768 (verify_psymtab_expanded): Move ...
1769 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1770 test.
1771 (readnow): New proc.
1772
5935fd15
AB
17732020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1774
1775 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1776 with $hex.
1777
1773be9e
TT
17782020-03-20 Tom Tromey <tromey@adacore.com>
1779
1780 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1781
70304be9
TT
17822020-03-20 Tom Tromey <tromey@adacore.com>
1783
1784 * gdb.ada/sub_variant/subv.adb: New file.
1785 * gdb.ada/sub_variant.exp: New file.
1786
0dd7b8f7
TV
17872020-03-20 Tom de Vries <tdevries@suse.de>
1788
1789 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1790 first break fails.
1791 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1792
cada5fc9
AB
17932020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1794
1795 * gdb.server/exit-multiple-threads.c: New file.
1796 * gdb.server/exit-multiple-threads.exp: New file.
1797
6b8c53f2
AB
17982020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1799
1800 * gdb.fortran/mixed-lang-stack.c: New file.
1801 * gdb.fortran/mixed-lang-stack.cpp: New file.
1802 * gdb.fortran/mixed-lang-stack.exp: New file.
1803 * gdb.fortran/mixed-lang-stack.f90: New file.
1804
19a2740f
AB
18052020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1806
1807 * gdb.linespec/cp-completion-aliases.cc: New file.
1808 * gdb.linespec/cp-completion-aliases.exp: New file.
1809
d8c8b848
TV
18102020-03-19 Tom de Vries <tdevries@suse.de>
1811
1812 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1813 more precise.
1814
a9933ccf
TV
18152020-03-18 Tom de Vries <tdevries@suse.de>
1816
1817 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1818 * gdb.dwarf2/break-inline-psymtab.c: New test.
1819 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1820
2f89101f
TV
18212020-03-16 Tom de Vries <tdevries@suse.de>
1822
1823 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1824 cache_verify and cache_verify_proc.
1825
6b9374f1
TV
18262020-03-15 Tom de Vries <tdevries@suse.de>
1827
1828 * gdb.server/solib-list.exp: Handle
1829 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1830
eaeaf44c
TV
18312020-03-15 Tom de Vries <tdevries@suse.de>
1832
1833 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1834 objfiles".
1835
3293bbaf
TT
18362020-03-14 Tom Tromey <tom@tromey.com>
1837
1838 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1839
ab44624c
TV
18402020-03-14 Tom de Vries <tdevries@suse.de>
1841
1842 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1843
54c43825
TV
18442020-03-14 Tom de Vries <tdevries@suse.de>
1845
1846 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1847 result in line-by-line fashion.
1848
2ac70237
TV
18492020-03-14 Tom de Vries <tdevries@suse.de>
1850
1851 * lib/gdb.exp (supports_statement_frontiers): New proc.
1852 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1853
09546b56
TV
18542020-03-14 Tom de Vries <tdevries@suse.de>
1855
1856 * gdb.base/printcmds.exp: Add missing quoting for "print
1857 teststring2".
1858
a1f6a07c
TT
18592020-03-13 Tom Tromey <tom@tromey.com>
1860
1861 * gdb.base/printcmds.exp (test_print_strings): Add regression
1862 test.
1863 * gdb.base/printcmds.c (charptr): New typedef.
1864 (teststring2): New global.
1865
1b83d09c
AB
18662020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1867
1868 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1869 full path in the test name.
1870 (test_ld): Add some with_test_prefix blocks to make test names
1871 unique.
1872
2d61316c
TV
18732020-03-13 Tom de Vries <tdevries@suse.de>
1874
1875 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1876
2e9145ac
TV
18772020-03-13 Tom de Vries <tdevries@suse.de>
1878
1879 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1880
96c7f873
TV
18812020-03-13 Tom de Vries <tdevries@suse.de>
1882
1883 PR symtab/25646
1884 * gdb.dwarf2/imported-unit.exp: Add test.
1885
49ba92c0
TV
18862020-03-13 Tom de Vries <tdevries@suse.de>
1887
1888 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1889 (var1, var2): New variable.
1890 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1891 matching symbols.
1892
301b21e0
TV
18932020-03-13 Tom de Vries <tdevries@suse.de>
1894
1895 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1896 (Term::command): Use prompt prefix.
1897 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1898 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1899 command_no_prompt_prefix instead of prefix.
1900 * gdb.tui/tui-layout-asm.exp: Same.
1901
3f512721
SM
19022020-03-12 Simon Marchi <simon.marchi@efficios.com>
1903
1904 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1905
40310f30
SM
19062020-03-12 Simon Marchi <simon.marchi@efficios.com>
1907
1908 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1909 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1910 on" while stepping over the test instruction, match printed
1911 message.
1912
09252140
TV
19132020-03-12 Tom de Vries <tdevries@suse.de>
1914
1915 * gdb.base/info-types.exp: Use exp_continue during matching of output
1916 of "info types".
1917
14e9c72c
TV
19182020-03-12 Tom de Vries <tdevries@suse.de>
1919
1920 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1921
e515d67e
TV
19222020-03-12 Tom de Vries <tdevries@suse.de>
1923
1924 * gdb.fortran/module.exp: Use exp_continue during matching of output
1925 of "info variable -n".
1926
307eafd8
TV
19272020-03-12 Tom de Vries <tdevries@suse.de>
1928
1929 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1930 gdb.dwarf2/dw2-ranges-base.c.
1931
9a2de3fc
TV
19322020-03-12 Tom de Vries <tdevries@suse.de>
1933
1934 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1935 in presence of GLIBC debuginfo.
1936
3217502e
TV
19372020-03-12 Tom de Vries <tdevries@suse.de>
1938
1939 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1940 $core.
1941
1281424c
TV
19422020-03-12 Tom de Vries <tdevries@suse.de>
1943
1944 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1945 more precise.
1946
038b97fc
SM
19472020-03-11 Simon Marchi <simon.marchi@efficios.com>
1948
1949 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1950 from Unix to Windows path.
1951
5308d1e7
TV
19522020-03-11 Tom de Vries <tdevries@suse.de>
1953
1954 * gdb.ada/minsyms.exp: Set language to ada.
1955
f870f78f
TV
19562020-03-11 Tom de Vries <tdevries@suse.de>
1957
1958 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1959
5a13315d
TV
19602020-03-11 Tom de Vries <tdevries@suse.de>
1961
1962 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1963
976862ed
TT
19642020-03-11 Tom Tromey <tromey@adacore.com>
1965
1966 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1967
7462c383
TV
19682020-03-11 Tom de Vries <tdevries@suse.de>
1969
1970 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1971
1c6c46a0
TV
19722020-03-11 Tom de Vries <tdevries@suse.de>
1973
1974 * gdb.base/break-interp.exp: Limit verbose scope.
1975
44f41bb7
TV
19762020-03-11 Tom de Vries <tdevries@suse.de>
1977
1978 * gdb.fortran/logical.f90: Define variable with character type.
1979 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1980
b76f3a42
TV
19812020-03-11 Tom de Vries <tdevries@suse.de>
1982
1983 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1984
1c33af77
TV
19852020-03-11 Tom de Vries <tdevries@suse.de>
1986
1987 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1988 symtabs.
1989
8c95582d
AB
19902020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1991 Bernd Edlinger <bernd.edlinger@hotmail.de>
1992
1993 * gdb.cp/step-and-next-inline.cc: New file.
1994 * gdb.cp/step-and-next-inline.exp: New file.
1995 * gdb.cp/step-and-next-inline.h: New file.
1996 * gdb.dwarf2/dw2-is-stmt.c: New file.
1997 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1998 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1999 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2000 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2001
cecf8547
AB
20022020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2003
2004 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2005 is-stmt flag in the line table.
2006
0ba678c9
TV
20072020-03-09 Tom de Vries <tdevries@suse.de>
2008
2009 * lib/gdb.exp (cached_file): Create cache dir.
2010
72fbdf83
TV
20112020-03-07 Tom de Vries <tdevries@suse.de>
2012
2013 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2014 * gdb.cp/rvalue-ref-params.exp: Same.
2015
436b5e99
TV
20162020-03-06 Tom de Vries <tdevries@suse.de>
2017
2018 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2019 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2020
09f2921c
TV
20212020-03-06 Tom de Vries <tdevries@suse.de>
2022
2023 * README: Fix "the the".
2024 * gdb.base/dprintf.exp: Same.
2025
50a3cc5d
TV
20262020-03-05 Tom de Vries <tdevries@suse.de>
2027
2028 * gdb.base/maint.exp: Update "main print statistics" expected output.
2029
0a709cba
AKS
20302020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2031
2032 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2033 (fortran_int8): Likewise.
2034 (fortran_real4): Likewise.
2035 (fortran_real8): Likewise.
2036 (fortran_complex4): Likewise.
2037 (fortran_logical4): Likewise.
2038 (fortran_character1): Likewise.
2039
5e5d66b6
AB
20402020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2041
2042 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2043 printed as true.
2044
7b973adc
SDJ
20452020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2046
2047 * gdb.base/printcmds.exp: Add test to verify printf of a
2048 variable holding an address.
2049
478e490a
TV
20502020-03-03 Tom de Vries <tdevries@suse.de>
2051
2052 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2053
1ef44e86
TV
20542020-03-03 Tom de Vries <tdevries@suse.de>
2055
2056 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2057 gdb_test_multiple call.
2058
b98cc2cf
TV
20592020-03-03 Tom de Vries <tdevries@suse.de>
2060
2061 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2062 gdb_test_multiple calls.
2063
63e163f2
AB
20642020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2065
2066 * gdb.base/default.exp: Remove test of 'set history filename'.
2067 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2068 filename to the empty string.
2069 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2070 and GDBHISTSIZE.
2071
24ed6739
AB
20722020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2073
2074 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2075 disabled.
2076
590003dc
TV
20772020-03-02 Pedro Alves <palves@redhat.com>
2078 Tom de Vries <tdevries@suse.de>
2079
2080 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2081 -prompt prefix, before user_code argument. Add -lbl option likewise.
2082 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2083 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2084 argument.
2085 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2086 have "\r\n" at start-of-line, instead of at end-of-line.
2087
f5e46084
SM
20882020-02-28 Simon Marchi <simon.marchi@efficios.com>
2089
2090 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2091 libinproctrace.so.
2092
f7a7000d
LM
20932020-02-28 Luis Machado <luis.machado@linaro.org>
2094
2095 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2096 to "p/x".
2097
718e0816
LM
20982020-02-28 Luis Machado <luis.machado@linaro.org>
2099
2100 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2101 asm/ptrace.h and error.h.
2102
13c3a74a
TV
21032020-02-28 Tom de Vries <tdevries@suse.de>
2104
2105 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2106 (struct wrapper, do_something, mundane/symada__cS): Move ...
2107 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2108 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2109 Update "print symada__cS before partial symtab expansion" regexp.
2110 Update breakpoint location. Flush symbol cache after expansion.
2111
85d2d5bb
LM
21122020-02-28 Luis Machado <luis.machado@linaro.org>
2113
2114 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2115
3608f86c
TV
21162020-02-27 Tom de Vries <tdevries@suse.de>
2117
2118 * config/sid.exp: Remove unused globals.
2119 * gdb.base/attach.exp: Same.
2120 * gdb.base/catch-load.exp: Same.
2121 * gdb.base/dbx.exp: Same.
2122 * lib/gdb.exp: Same.
2123 * lib/mi-support.exp: Same.
2124 * lib/prompt.exp: Same.
2125
c8d4f6df
TV
21262020-02-27 Tom de Vries <tdevries@suse.de>
2127
2128 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2129 not set.
2130
0d79cdc4
AM
21312020-02-26 Aaron Merey <amerey@redhat.com>
2132
2133 * gdb.debuginfod: New directory for debuginfod tests.
2134 * gdb.debuginfod/main.c: New test file.
2135 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2136
0dce4280
TV
21372020-02-26 Tom de Vries <tdevries@suse.de>
2138
2139 PR gdb/25603
2140 * gdb.base/persistent-lang.cc: New test.
2141 * gdb.base/persistent-lang.exp: New file.
2142
9e80cfa1
AB
21432020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2144
2145 * gdb.fortran/derived-type-striding.exp: Add a new test.
2146 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2147 new test.
2148
2078dbb2
AB
21492020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2150
2151 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2152 names.
2153
70d49700
TV
21542020-02-25 Tom de Vries <tdevries@suse.de>
2155
2156 PR go/18926
2157 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2158
a88ef40d
TV
21592020-02-24 Tom de Vries <tdevries@suse.de>
2160
2161 PR gdb/25592
2162 * gdb.base/info-locals-unused-static-var.c: New test.
2163 * gdb.base/info-locals-unused-static-var.exp: New file.
2164
01b1af32
TT
21652020-02-22 Tom Tromey <tom@tromey.com>
2166
2167 * gdb.python/tui-window.exp: New file.
2168 * gdb.python/tui-window.py: New file.
2169
7c043ba6
TT
21702020-02-22 Tom Tromey <tom@tromey.com>
2171
2172 PR tui/17850:
2173 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2174 tests.
2175
c22fef7e
TT
21762020-02-22 Tom Tromey <tom@tromey.com>
2177
2178 * gdb.tui/new-layout.exp: Add sub-layout tests.
2179
ee325b61
TT
21802020-02-22 Tom Tromey <tom@tromey.com>
2181
2182 * gdb.tui/new-layout.exp: New file.
2183
3f0cbb04
TT
21842020-02-22 Tom Tromey <tom@tromey.com>
2185
2186 * gdb.rust/rust-style.rs: New file.
2187 * gdb.rust/rust-style.exp: New file.
2188 * gdb.base/style.exp: Test structure printing.
2189 * gdb.base/style.c (struct some_struct): New type.
2190 (enum etype): New type.
2191 (struct_value): New global.
2192
75525152
TV
21932020-02-21 Tom de Vries <tdevries@suse.de>
2194
2195 PR go/18926
2196 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2197 Remove blanket xfails. Use message argument for gdb_breakpoint.
2198 Make continuing to breakpoint test conditional on setting breakpoint.
2199 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2200 DW_AT_name attribute. Add xfail for GCC PR93866.
2201
bd360d30
AB
22022020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2203
2204 * gdb.dwarf2/cpp-linkage-name.c: New file.
2205 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2206
c7adb09f 22072020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2208
2209 * lib/gdb.exp (gdb_wrapper_init): Reset
2210 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2211 not exist.
2212
a9c79803
TV
22132020-02-20 Tom de Vries <tdevries@suse.de>
2214
2215 PR go/17018
2216 * gdb.go/hello.exp: Copy ...
2217 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2218 print of st to print value of global definition. Add xfail for GCC
2219 PR93844.
2220 * gdb.go/hello.exp: Remove printing of st before definition.
2221 * gdb.go/hello.go: Copy ...
2222 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2223 to st.
2224 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2225
d7445728
TV
22262020-02-20 Tom de Vries <tdevries@suse.de>
2227
2228 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2229 (gdb_simple_compile): Handle compile_flags go by using .go extension
2230 for source file.
2231 * gdb.go/chan.exp: Use support_go_compile.
2232 * gdb.go/handcall.exp: Same.
2233 * gdb.go/hello.exp: Same.
2234 * gdb.go/integers.exp: Same.
2235 * gdb.go/max-depth.exp: Same.
2236 * gdb.go/methods.exp: Same.
2237 * gdb.go/package.exp: Same.
2238 * gdb.go/strings.exp: Same.
2239 * gdb.go/types.exp: Same.
2240 * gdb.go/unsafe.exp: Same.
2241
c9c41e6d
TV
22422020-02-19 Tom de Vries <tdevries@suse.de>
2243
2244 * gdb.python/lib-types.exp: Make xfail more strict.
2245
f20ff837
TV
22462020-02-19 Tom de Vries <tdevries@suse.de>
2247
2248 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2249
08410482
DE
22502020-02-19 Doug Evans <dje@google.com>
2251
2252 PR rust/25535
2253 * gdb.rust/simple.exp: Add test.
2254 * gdb.rust/simple.rs: Add test.
2255
623563f7
TV
22562020-02-19 Tom de Vries <tdevries@suse.de>
2257
2258 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2259 output line-by-line.
2260
d3308cfd
TV
22612020-02-19 Tom de Vries <tdevries@suse.de>
2262
2263 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2264
86cbc5dc
TV
22652020-02-19 Tom de Vries <tdevries@suse.de>
2266
2267 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2268 prelink.
2269
9db2b96b
TV
22702020-02-19 Tom de Vries <tdevries@suse.de>
2271
2272 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2273 (gdb_do_cache): Use gdb_do_cache_wrap.
2274 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2275
89e2fdc5
TV
22762020-02-19 Tom de Vries <tdevries@suse.de>
2277
2278 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2279 gdb_compile option.
2280
373d7ac0
SM
22812020-02-18 Simon Marchi <simon.marchi@efficios.com>
2282
2283 * gdb.base/printcmds.exp (test_print_enums): Update expected
2284 output.
2285
b29a2df0
SM
22862020-02-18 Simon Marchi <simon.marchi@efficios.com>
2287
2288 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2289 for "unknown".
2290
6740f0cc
SM
22912020-02-18 Simon Marchi <simon.marchi@efficios.com>
2292
2293 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2294 enumerator.
2295
edd45eb0
SM
22962020-02-18 Simon Marchi <simon.marchi@efficios.com>
2297
2298 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2299 FE_, add FE_NONE.
2300 (three): Update.
2301 (enum flag_enum_without_zero): New enum.
2302 (flag_enum_without_zero): New variable.
2303 (enum not_flag_enum): New enum.
2304 (three_not_flag): New variable.
2305 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2306 (test_print_enums): Add more tests for printing flag enums.
2307
d4295de4
TV
23082020-02-18 Tom de Vries <tdevries@suse.de>
2309
2310 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2311 (gdb_compile_ada): ... here.
2312 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2313 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2314
f251f505
TT
23152020-02-14 Tom Tromey <tom@tromey.com>
2316
2317 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2318 build directory.
2319 * boards/gdbserver-base.exp: Update path to gdbserver.
2320
8f432634
TV
23212020-02-13 Tom de Vries <tdevries@suse.de>
2322
2323 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2324
92b6eaf7
TV
23252020-02-13 Tom de Vries <tdevries@suse.de>
2326
2327 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2328 are missing.
2329
f3b0f7fe
TV
23302020-02-13 Tom de Vries <tdevries@suse.de>
2331
2332 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2333 call.
2334
f6be8713
SDJ
23352020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2336
2337 PR tui/25126
2338 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2339 * gdb.base/cached-source-file.c: New file.
2340 * gdb.base/cached-source-file.exp: New file.
2341
b2770d5e
TV
23422020-02-11 Tom de Vries <tdevries@suse.de>
2343
2344 PR testsuite/25488
2345 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2346
44f6938e
TV
23472020-02-10 Tom de Vries <tdevries@suse.de>
2348
2349 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2350
5f0e2eb7
MR
23512020-02-10 Maciej W. Rozycki <macro@wdc.com>
2352
2353 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2354 and $after_addr are both integers before making a comparison.
2355
46ce2b6f
TV
23562020-02-09 Tom de Vries <tdevries@suse.de>
2357
2358 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2359 command output and paste it into gdb.log. If any, paste catch message
2360 to gdb.log.
2361
5abbbe1d
TT
23622020-02-07 Tom Tromey <tromey@adacore.com>
2363
2364 PR breakpoints/24915:
2365 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2366
1d5d29e7
SV
23672020-02-06 Shahab Vahedi <shahab@synopsys.com>
2368
2369 * gdb.tui/tui-missing-src.exp: Add the "missing source
2370 file" test for the TUI.
2371
b0999b9b
AB
23722020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2373
2374 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2375 including a port number in the output.
2376
c3b149eb
AKS
23772020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2378
2379 * lib/fortran.exp (fortran_int4): Handle clang.
2380 (fortran_int8): Likewise.
2381 (fortran_real4): Likewise.
2382 (fortran_real8): Likewise.
2383 (fortran_complex4): Likewise.
2384 (fortran_logical4): Likewise.
2385 (fortran_character1): Likewise.
2386
f8dcc90b
TV
23872020-02-04 Tom de Vries <tdevries@suse.de>
2388
2389 * README (Race detection): Add note.
2390
f90ac7c2
TV
23912020-02-04 Tom de Vries <tdevries@suse.de>
2392
2393 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2394
780636ae
TV
23952020-02-04 Tom de Vries <tdevries@suse.de>
2396
2397 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2398
5d2e1193
RA
23992020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2400
2401 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2402 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2403 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2404 blttar, bnetarl.
2405 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2406 binary for blttar, bnetarl.
2407 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2408 wait instruction. Delete ldmx test.
2409 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2410
e409c542
AKS
24112020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2412
2413 * gdb.fortran/array-bounds-high.exp: New file.
2414 * gdb.fortran/array-bounds-high.f90: New file.
2415
b0029748
LD
24162020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2417
2418 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2419 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2420
195a8287
TV
24212020-02-01 Tom de Vries <tdevries@suse.de>
2422
2423 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2424
42330a68
AB
24252020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2426
2427 PR tui/9765
2428 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2429 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2430
b62a8028
LM
24312020-01-29 Luis Machado <luis.machado@linaro.org>
2432
2433 * gdb.arch/aarch64-brk-patterns.c: New source file.
2434 * gdb.arch/aarch64-brk-patterns.exp: New test.
2435
5f440116
TBA
24362020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2437
2438 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2439 GCC/Clang version.
2440 * gdb.cp/pass-by-ref.exp: Ditto.
2441
ee2a6fc6
TV
24422020-01-29 Tom de Vries <tdevries@suse.de>
2443
2444 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2445 * gdb.threads/watchpoint-fork-mt.c: Same.
2446 * gdb.threads/watchpoint-fork-parent.c: Same.
2447 * gdb.threads/watchpoint-fork-st.c: Same.
2448 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2449
16b10d6e
LM
24502020-01-27 Luis Machado <luis.machado@linaro.org>
2451
2452 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2453 sitting at a syscall instruction when we hit the syscall function's
2454 breakpoint.
2455 Check PC against one obtained with the x command.
2456 Validate syscall number.
2457 (step_over_syscall): Don't continue to the syscall instruction if
2458 we're already there.
2459
b1468492
PW
24602020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2461
2462 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2463
7ffa82e1
AB
24642020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2465
2466 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2467 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2468
3d92a3e3
AB
24692020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2470
2471 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2472 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2473
94a72be7
AB
24742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2475
2476 * gdb.base/maint.exp: Update line table parsing test.
2477 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2478
53af73bf
PA
24792020-01-24 Pedro Alves <palves@redhat.com>
2480
2481 PR gdb/25410
2482 * gdb.multi/multi-re-run-1.c: New.
2483 * gdb.multi/multi-re-run-2.c: New.
2484 * gdb.multi/multi-re-run.exp: New.
2485
1ba1ac88
AB
24862020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2487
2488 PR gdb/23718
2489 * gdb.server/server-kill-python.exp: New file.
2490
f3364a6d
AB
24912020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2492
2493 * gdb.server/multi-ui-errors.c: New file.
2494 * gdb.server/multi-ui-errors.exp: New file.
2495
733d0a67
AB
24962020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2497
2498 PR tui/9765
2499 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2500
4f13c1c0
TT
25012020-01-19 Tom Tromey <tom@tromey.com>
2502
2503 * gdb.tui/main.exp: Add check for plain "file".
2504
40c94099
CB
25052020-01-16 Christian Biesinger <cbiesinger@google.com>
2506
2507 * lib/gdb.exp: Fix spelling error (seperatelly).
2508
ff47f4f0
TT
25092020-01-14 Tom Tromey <tom@tromey.com>
2510
2511 PR symtab/12535:
2512 * gdb.python/python.exp: Test decode_line with empty string
2513 argument.
2514
717c684d
BE
25152020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2516
2517 * gdb.base/skip-inline.exp: Extend test.
2518
44e4c775
AB
25192020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2520
2521 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2522 * gdb.dwarf2/dw2-bad-elf.c: New file.
2523 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2524
d93c6db7
AB
25252020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2526
2527 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2528 _line_saw_file.
2529
9a6d629c
AB
25302020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2531
2532 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2533 border.
2534
d9ebdab7
TBA
25352020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2536
2537 * gdb.multi/multi-target.exp (setup): Factor out "info
2538 connections" and "info inferiors" tests to ...
2539 (test_info_inferiors): ... this new procedure.
2540 (top level): Run new "info-inferiors" tests.
2541
f3c469b9
PA
25422020-01-10 Pedro Alves <palves@redhat.com>
2543
2544 * gdb.server/bkpt-other-inferior.exp: New file.
2545
121b3efd
PA
25462020-01-10 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2549 of "add-inferior".
2550 * gdb.base/quit-live.exp: Likewise.
2551 * gdb.base/remote-exec-file.exp: Likewise.
2552 * gdb.guile/scm-progspace.exp: Likewise.
2553 * gdb.linespec/linespec.exp: Likewise.
2554 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2555 * gdb.mi/user-selected-context-sync.exp: Likewise.
2556 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2557 "info inferiors" tests.
2558 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2559 "add-inferior".
2560 * gdb.multi/watchpoint-multi.exp: Likewise.
2561 * gdb.python/py-inferior.exp: Likewise.
2562 * gdb.server/extended-remote-restart.exp: Likewise.
2563 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2564 "info inferiors".
2565 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2566 * gdb.trace/report.exp: Likewise.
2567
1dadb1dd
PA
25682020-01-10 Pedro Alves <palves@redhat.com>
2569
2570 * gdb.multi/multi-target.c: New file.
2571 * gdb.multi/multi-target.exp: New file.
2572 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2573 mode requested, but remote does not support non-stop".
2574
78f2c40a
PA
25752020-01-10 Pedro Alves <palves@redhat.com>
2576
2577 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2578 disconnect before reconnecting.
2579
e7af6c70
TBA
25802020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2581 Pedro Alves <palves@redhat.com>
2582
2583 * gdb.server/connect-without-multi-process.exp: Also test
2584 continuing to end.
2585
acdf84a6
PA
25862020-01-10 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.base/remote-exec-file.exp: New file.
2589
873657b9
PA
25902020-01-10 Pedro Alves <palves@redhat.com>
2591
2592 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2593 output.
2594 * gdb.threads/async.c: New.
2595 * gdb.threads/async.exp: New.
2596 * gdb.multi/tids-gid-reset.c: New.
2597 * gdb.multi/tids-gid-reset.exp: New.
2598
7f0ae84c
GB
25992020-01-10 George Barrett <bob@bob131.so>
2600
2601 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2602 to help in finding the image relocation offset.
2603 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2604 options in arguments.
2605 (stap_test_no_debuginfo): Likewise.
2606 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2607 test variants.
2608 (stap_test): Add null semaphore relocation test.
2609
47e9d49d
GB
26102020-01-10 George Barrett <bob@bob131.so>
2611
2612 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2613 * gdb.base/stap-probe.exp: Likewise.
2614 (stap_test): Pass argument as an additional flag.
2615 (stap_test_no_debuginfo): Likewise.
2616 (stap_test): Check `info probes stap' output for semaphore
2617 addresses if the test binary is supposed to have them.
2618
f5a7c406
AB
26192020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2620
2621 * gdb.tui/basic.exp: Add more scrolling tests.
2622
9ae6bf64
TT
26232020-01-09 Tom Tromey <tom@tromey.com>
2624
2625 PR tui/18932:
2626 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2627 meangingful value.
2628 (Term::command, Term::resize): Update.
2629 * gdb.tui/basic.exp: Add scrolling test.
2630
b2efe70c
AB
26312020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2632
2633 * gdb.tui/tui-layout-asm.exp: New file.
2634
3804da7e
AB
26352020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2636
2637 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2638
b40aa28f
AB
26392020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2640
2641 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2642 (Term::enter_tui): Use Term::prepare_for_tui.
2643
63ffd7c9
AB
26442020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2645
2646 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2647 called.
2648
3be966f6
AB
26492020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2650
2651 * gdb.base/skip.exp: Fix race condition in test.
2652
153d79c4
AB
26532020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2654
2655 * gdb.base/backtrace.c: New file.
2656 * gdb.base/backtrace.exp: New file.
2657
f2302a34
AB
26582020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2659
2660 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2661
6ec1d75e
PW
26622020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2663
2664 * gdb.base/style.exp: Test that warnings are styled.
2665
c296cbe6
BE
26662019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2667
2668 * gdb.base/line65535.exp: New file.
2669 * gdb.base/line65535.c: New file.
2670
b28a729d
SM
26712019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2672
2673 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2674 * lib/gnat_debug_info_test.adb: New file.
2675 * gdb.ada/ptype_tagged_param.exp: Use
2676 gnat_runtime_has_debug_info, expect a different output if
2677 runtime does not have debug info.
2678
7f2d7a0d
SM
26792019-12-20 Simon Marchi <simon.marchi@efficios.com>
2680
2681 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2682 (another) quote in test name.
2683
f3bce483
SM
26842019-12-20 Simon Marchi <simon.marchi@efficios.com>
2685
2686 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2687 Add quote in test name.
2688
c855a912
TBA
26892019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2690
2691 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2692 directory instead.
2693 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2694 * gdb.cp/pass-by-ref-2.cc: New file.
2695 * gdb.cp/pass-by-ref-2.exp: New file.
2696
fc9d2d72
TT
26972019-12-20 Tom Tromey <tom@tromey.com>
2698
2699 * gdb.tui/list-before.exp: New file.
2700
77b97e00
TT
27012019-12-20 Tom Tromey <tom@tromey.com>
2702
2703 * gdb.tui/list.exp: Check for source on initial listing.
2704
f69656d0
TT
27052019-12-11 Tom Tromey <tromey@adacore.com>
2706
2707 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2708 Add crlf test.
2709
99a55965
SM
27102019-12-18 Simon Marchi <simon.marchi@efficios.com>
2711
2712 * gdb.base/default.exp: Update value of $_gdb_major.
2713
5024637f
BE
27142019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2715
2716 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2717
b63634be
BE
27182019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2719
2720 * gdb.base/skip.exp: Whitespace fix.
2721
45d73523
BE
27222019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2723
2724 * gdb.base/skip-inline.c: New file.
2725 * gdb.base/skip-inline.exp: New file.
2726
d043f8c8
SM
27272019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2728
2729 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2730 jit_function_00 to jit_function_stack_mangle.
2731 * gdb.base/jithost.c (jit_function_t): Rename to...
2732 (jit_function_stack_mangle_t): ... this.
2733 (jit_function_add_t): New typedef.
2734 (jit_function_00_code): Rename to...
2735 (jit_function_stack_mangle_code): ... this, make static.
2736 (jit_function_add_code): New.
2737 (main): Generate "add" function and call it. Adjust to changes
2738 in jithost_abi.
2739 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2740 (struct jithost_abi) <begin, end>: Remove fields.
2741 <object, function_stack_mangle, function_add>: New fields.
2742 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2743 code_end>: Remove fields.
2744 <func_stack_mangle>: New field.
2745 (read_debug_info): Adjust to renaming, create block for "add"
2746 function.
2747 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2748
873de05c
TT
27492019-12-11 Tom Tromey <tom@tromey.com>
2750
2751 * gdb.tui/resize.exp: Fix regexp.
2752 * gdb.tui/regs.exp: Fix regexps.
2753 * gdb.tui/main.exp: Fix regexp.
2754
3d979945
TT
27552019-12-11 Tom Tromey <tom@tromey.com>
2756
2757 * gdb.tui/resize.exp: Update.
2758 * gdb.tui/empty.exp (layouts): Update.
2759
2192a9d3
TT
27602019-12-11 Tom Tromey <tom@tromey.com>
2761
2762 * gdb.tui/regs.exp: Update.
2763 * gdb.tui/empty.exp (layouts): Update.
2764 * gdb.tui/basic.exp: Update.
2765 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2766
d8edc8b7
PW
27672019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2768
2769 * gdb.base/options.exp: Add -raw-values in the print completion list.
2770 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2771
4c12d936
KB
27722019-12-10 Kevin Buettner <kevinb@redhat.com>
2773
2774 * gdb.threads/omp-par-scope.c: New file.
2775 * gdb/threads/omp-par-scope.exp: New file.
2776
26b911fb
KB
27772019-12-10 Kevin Buettner <kevinb@redhat.com>
2778
bb47f919
KB
2779 * lib/gdb.exp (support_nested_function_tests): New proc.
2780
27812019-12-10 Kevin Buettner <kevinb@redhat.com>
2782
2783 * lib/gdb.exp (gdb_compile_openmp): New proc.
2784 (build_executable_from_specs): Add an "openmp" option.
2785 (gdb_compile_pthreads): Add non-executable case.
26b911fb 2786
6c71eb7d
TT
27872019-12-10 Tom Tromey <tromey@adacore.com>
2788
2789 * gdb.ada/unchecked_union.exp: New file.
2790 * gdb.ada/unchecked_union/pck.adb: New file.
2791 * gdb.ada/unchecked_union/pck.ads: New file.
2792 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2793 * gdb-utils.exp (string_to_regexp): Also quote "?".
2794
bac7c5cf
GB
27952019-12-10 George Barrett <bob@bob131.so>
2796
2797 Test scripted probe breakpoints.
2798 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2799 * gdb.python/py-breakpoint.c (main): Likewise.
2800 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2801 specifier test.
2802 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2803
330f1d38
TBA
28042019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2805
2806 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2807 an rvalue parameter.
2808 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2809 parameter.
2810
b43315e2
AB
28112019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2812
2813 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2814 modules.
2815
54f73dad
AB
28162019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2817
2818 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2819 broken version of GCC.
2820
d57cbee9
AB
28212019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2822
2823 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2824 sym-info-cmds library.
2825 * gdb.fortran/info-types.exp: Likewise.
2826 * lib/sym-info-cmds.exp: New file.
2827
c14aab8c
TV
28282019-12-08 Tom de Vries <tdevries@suse.de>
2829
2830 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2831
aa2d5a42
KS
28322019-12-07 Keith Seitz <keiths@redhat.com>
2833
2834 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2835 * gdb.base/corefile-buildid-shlib.c: New file.
2836 * gdb.base/corefile-buildid.c: New file.
2837 * gdb.base/corefile-buildid.exp: New file.
2838
93e55f0a
TV
28392019-12-06 Tom de Vries <tdevries@suse.de>
2840
2841 * gdb.dwarf2/varval.exp: Add decl before def test.
2842
c7d12402
TBA
28432019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2844
2845 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2846
06acc08f
TBA
28472019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2848
2849 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2850 CV and reference conversion for overload resolution.
2851 * gdb.cp/rvalue-ref-overload.exp: Test it.
2852
e0fad1ea
PW
28532019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2854
2855 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2856 * gdb.base/frameapply.exp: Test faas without command.
2857
8d70a9f0
AB
28582019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2859
2860 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2861 Fortran tests.
2862 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2863 order.
2864
36c8fb93
AB
28652019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2866
2867 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2868 casting to type with no kind specified.
2869 (test_basic_parsing_of_type_kinds): Additional tests for types
2870 with no kind specified, and add tests for single/double
2871 precision/complex types.
2872
4139ff00
TT
28732019-12-04 Tom Tromey <tromey@adacore.com>
2874
2875 * gdb.base/endianity.c (struct other) <x>: New field.
2876 (main): Initialize it.
2877 * gdb.base/endianity.exp: Update.
2878
a05cf17a
TT
28792019-12-04 Tom Tromey <tromey@adacore.com>
2880
2881 * gdb.ada/scalar_storage/storage.adb: New file.
2882 * gdb.ada/scalar_storage/pck.adb: New file.
2883 * gdb.ada/scalar_storage/pck.ads: New file.
2884 * gdb.ada/scalar_storage.exp: New file.
2885
103a685e
TT
28862019-12-04 Tom Tromey <tromey@adacore.com>
2887
2888 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2889 (main): Initialize it.
2890 * gdb.base/endianity.exp: Update.
2891
c2512106
AB
28922019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2893
2894 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2895
293b38d6
AB
28962019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2897
2898 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2899 -symbol-info-module-functions and -symbol-info-module-variables.
2900
216a7e6b
AB
29012019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2902
2903 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2904
5bbd8269
AB
29052019-12-01 Richard Bunt <richard.bunt@arm.com>
2906 Andrew Burgess <andrew.burgess@embecosm.com>
2907
2908 * gdb.fortran/derived-type-striding.exp: New file.
2909 * gdb.fortran/derived-type-striding.f90: New file.
2910 * gdb.fortran/array-slices.exp: New file.
2911 * gdb.fortran/array-slices.f90: New file.
2912
be09caf1
PW
29132019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2914
2915 * gdb.base/define.exp: Test . in command names.
2916 * gdb.base/setshow.exp: Update test, as . is now part of
2917 command name.
2918
643c0cbe
PW
29192019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2920
2921 * gdb.base/define-prefix.exp: New file.
2922
dcdec678
AB
29232019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2924
2925 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2926 compile.
2927 (skip_btrace_pt_tests): Likewise.
2928
640ab947
AB
29292019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2930
2931 * gdb.fortran/info-modules.exp: Compile source files in correct
2932 order.
2933
d22670f0
KB
29342019-11-27 Kevin Buettner <kevinb@redhat.com>
2935
2936 * gdb.dwarf2/imported-unit.exp: New file.
2937 * gdb.dwarf2/imported-unit.c: New file.
2938
db5960b4
AB
29392019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2940
2941 * gdb.mi/mi-fortran-modules-2.f90: New file.
2942 * gdb.mi/mi-fortran-modules.exp: New file.
2943 * gdb.mi/mi-fortran-modules.f90: New file.
2944
7dc42066
AB
29452019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2946
2947 * gdb.mi/mi-sym-info-1.c: New file.
2948 * gdb.mi/mi-sym-info-2.c: New file.
2949 * gdb.mi/mi-sym-info.exp: New file.
2950
0dfeecca
TT
29512019-11-22 Tom Tromey <tromey@adacore.com>
2952
2953 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2954 * gdb.ada/tasks/foo.adb: Add another stopping location.
2955
34877895
PJ
29562019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2957
2958 * gdb.base/endianity.c: New test.
2959 * gdb.base/endianity.exp: New file.
2960
2e84f897
LD
29612019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2962
2963 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2964
65d1cd5f
TV
29652019-11-21 Tom de Vries <tdevries@suse.de>
2966
2967 PR gdb/24956
2968 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2969
4f22c3f4
SDJ
29702019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2971
2972 * gdb.python/py-progspace.exp: Add missing parentheses on some
2973 'print' commands.
2974
9f6ad286
TT
29752019-11-19 Tom Tromey <tom@tromey.com>
2976
2977 * gdb.tui/winheight.exp: New file.
2978
0b8dbf3f
AB
29792019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2980
2981 * gdb.base/ctf-whatis.c: Delete.
2982 * gdb.base/ctf-whatis.exp: Delete.
2983 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2984
f833b7a7
AB
29852019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2986
2987 * gdb.base/ctf-cvexpr.exp: Delete.
2988 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2989
30d0a636
AB
29902019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2991
2992 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2993 the compiler. Clean up header comment a little.
2994 * gdb.base/ctf-ptype.exp: Likewise.
2995 * gdb.base/ctf-whatis.exp: Likewise.
2996 * lib/gdb.exp (skip_ctf_tests): New proc.
2997
494409bb
SDJ
29982019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2999
3000 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3001 * gdb.tui/corefile-run.exp: New file.
3002
55708e99
TT
30032019-11-14 Tom Tromey <tromey@adacore.com>
3004
3005 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3006 regression tests.
3007
45e42163
TT
30082019-11-12 Tom Tromey <tom@tromey.com>
3009
3010 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3011 after any command. Expect prompt after WAIT_FOR is seen.
3012 (enter_tui): Enable resize messages.
3013 (command): Expect command in output.
3014 (get_line): Avoid error when cursor appears to be off-screen.
3015 (dump_screen): Include screen size in title.
3016 (_do_resize): New proc, from "resize".
3017 (resize): Rewrite. Do resize in two steps.
3018 * gdb.tui/empty.exp (layouts): Fix entries.
3019 (check_boxes): Remove xfail.
3020 (check_text): Dump screen on failure.
3021
086baaf1
AB
30222019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3023
3024 * gdb.python/py-symbol.exp: Add test for
3025 gdb.lookup_static_symbols.
3026
09ff83af
AB
30272019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3028
3029 * gdb.python/py-symbol.c: Declare and call function from new
3030 py-symbol-2.c file.
3031 * gdb.python/py-symbol.exp: Compile both source files, and add new
3032 tests for gdb.lookup_static_symbol.
3033 * gdb.python/py-symbol-2.c: New file.
3034
11af934b
TV
30352019-11-02 Tom de Vries <tdevries@suse.de>
3036
3037 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3038 * gdb.base/anon.exp: Same.
3039 * gdb.base/auto-connect-native-target.exp: Same.
3040 * gdb.base/call-ar-st.exp: Same.
3041 * gdb.base/catch-syscall.exp: Same.
3042 * gdb.base/commands.exp: Same.
3043 * gdb.base/default.exp: Same.
3044 * gdb.base/display.exp: Same.
3045 * gdb.base/float.exp: Same.
3046 * gdb.base/foll-fork.exp: Same.
3047 * gdb.base/help.exp: Same.
3048 * gdb.base/info-macros.exp: Same.
3049 * gdb.base/info-proc.exp: Same.
3050 * gdb.base/info-target.exp: Same.
3051 * gdb.base/long_long.exp: Same.
3052 * gdb.base/macscp.exp: Same.
3053 * gdb.base/memattr.exp: Same.
3054 * gdb.base/nofield.exp: Same.
3055 * gdb.base/pointers.exp: Same.
3056 * gdb.base/printcmds.exp: Same.
3057 * gdb.base/ptype.exp: Same.
3058 * gdb.base/restore.exp: Same.
3059 * gdb.base/return.exp: Same.
3060 * gdb.base/scope.exp: Same.
3061 * gdb.base/set-noassign.exp: Same.
3062 * gdb.base/setshow.exp: Same.
3063 * gdb.base/shlib-call.exp: Same.
3064 * gdb.base/signals.exp: Same.
3065 * gdb.base/sigstep.exp: Same.
3066 * gdb.base/skip.exp: Same.
3067 * gdb.base/solib-symbol.exp: Same.
3068 * gdb.base/stap-probe.exp: Same.
3069 * gdb.base/step-line.exp: Same.
3070 * gdb.base/step-test.exp: Same.
3071 * gdb.base/style.exp: Same.
3072 * gdb.base/varargs.exp: Same.
3073 * gdb.base/vla-datatypes.exp: Same.
3074 * gdb.base/vla-ptr.exp: Same.
3075 * gdb.base/vla-sideeffect.exp: Same.
3076 * gdb.base/volatile.exp: Same.
3077 * gdb.base/watch-cond-infcall.exp: Same.
3078 * gdb.base/watchpoint.exp: Same.
3079
e96ec2ba
TV
30802019-11-02 Tom de Vries <tdevries@suse.de>
3081
3082 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3083 * gdb.cp/cpexprs.exp: Same.
3084 * gdb.cp/except-multi-location.exp: Same.
3085 * gdb.cp/exceptprint.exp: Same.
3086 * gdb.cp/gdb2384.exp: Same.
3087 * gdb.cp/inherit.exp: Same.
3088 * gdb.cp/m-static.exp: Same.
3089 * gdb.cp/meth-typedefs.exp: Same.
3090 * gdb.cp/misc.exp: Same.
3091 * gdb.cp/namespace.exp: Same.
3092 * gdb.cp/non-trivial-retval.exp: Same.
3093 * gdb.cp/overload.exp: Same.
3094 * gdb.cp/pr17132.exp: Same.
3095 * gdb.cp/re-set-overloaded.exp: Same.
3096 * gdb.cp/rvalue-ref-types.exp: Same.
3097 * gdb.cp/templates.exp: Same.
3098
bd5766ec
LM
30992019-11-01 Luis Machado <luis.machado@linaro.org>
3100
3101 PR gdb/25124
3102
3103 * gdb.arch/pr25124.S: New file.
3104 * gdb.arch/pr25124.exp: New file.
3105
165f8965
AB
31062019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3107
3108 * gdb.fortran/info-modules.exp: Update expected results, and add
3109 additional tests for 'info module functinos', and 'info module
3110 variables'.
3111 * gdb.fortran/info-types.exp: Update expected results.
3112 * gdb.fortran/info-types.f90: Extend testcase with additional
3113 module variables and functions.
3114
59c35742
AB
31152019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3116
3117 * gdb.fortran/info-modules.exp: New file.
3118 * gdb.fortran/info-types.exp: Build with new file.
3119 * gdb.fortran/info-types.f90: Include and use new module.
3120 * gdb.fortran/info-types-2.f90: New file.
3121
f3fb2519
PW
31222019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3123
3124 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3125 * gdb.base/settings.exp: Test all settings types using
3126 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3127 that now verifies that the value of "maint show" is the same as
3128 returned by the settings functions. Test the type of the
3129 maintenance settings.
3130 * gdb.base/default.exp: Update show_conv_list.
3131
d1e36019
TV
31322019-10-31 Tom de Vries <tdevries@suse.de>
3133
3134 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3135 gdb_test.
3136 * gdb.arch/amd64-disp-step.exp: Same.
3137 * gdb.asm/asm-source.exp: Same.
3138 * gdb.btrace/buffer-size.exp: Same.
3139 * gdb.btrace/cpu.exp: Same.
3140 * gdb.btrace/enable.exp: Same.
3141 * gdb.dwarf2/count.exp: Same.
3142 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3143 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3144 * gdb.fortran/vla-datatypes.exp: Same.
3145 * gdb.fortran/vla-history.exp: Same.
3146 * gdb.fortran/vla-ptype.exp: Same.
3147 * gdb.fortran/vla-value.exp: Same.
3148 * gdb.fortran/whatis_type.exp: Same.
3149 * gdb.guile/guile.exp: Same.
3150 * gdb.multi/tids.exp: Same.
3151 * gdb.python/py-finish-breakpoint.exp: Same.
3152 * gdb.python/py-framefilter.exp: Same.
3153 * gdb.python/py-pp-registration.exp: Same.
3154 * gdb.python/py-xmethods.exp: Same.
3155 * gdb.python/python.exp: Same.
3156 * gdb.server/connect-with-no-symbol-file.exp: Same.
3157 * gdb.server/no-thread-db.exp: Same.
3158 * gdb.server/run-without-local-binary.exp: Same.
3159 * gdb.stabs/weird.exp: Same.
3160 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3161 * gdb.threads/thread-find.exp: Same.
3162 * gdb.threads/tls-shared.exp: Same.
3163 * gdb.threads/tls.exp: Same.
3164 * gdb.threads/wp-replication.exp: Same.
3165 * gdb.trace/ax.exp: Same.
3166 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3167
3d11e68e
TV
31682019-10-31 Tom de Vries <tdevries@suse.de>
3169
3170 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3171 * gdb.ada/array_subscript_addr.exp: Same.
3172 * gdb.ada/arrayidx.exp: Same.
3173 * gdb.ada/arrayparam.exp: Same.
3174 * gdb.ada/arrayptr.exp: Same.
3175 * gdb.ada/boolean_expr.exp: Same.
3176 * gdb.ada/call_pn.exp: Same.
3177 * gdb.ada/complete.exp: Same.
3178 * gdb.ada/fixed_cmp.exp: Same.
3179 * gdb.ada/fun_addr.exp: Same.
3180 * gdb.ada/funcall_param.exp: Same.
3181 * gdb.ada/interface.exp: Same.
3182 * gdb.ada/mod_from_name.exp: Same.
3183 * gdb.ada/null_array.exp: Same.
3184 * gdb.ada/packed_array.exp: Same.
3185 * gdb.ada/packed_tagged.exp: Same.
3186 * gdb.ada/print_chars.exp: Same.
3187 * gdb.ada/print_pc.exp: Same.
3188 * gdb.ada/ptype_arith_binop.exp: Same.
3189 * gdb.ada/ptype_field.exp: Same.
3190 * gdb.ada/ptype_tagged_param.exp: Same.
3191 * gdb.ada/rec_return.exp: Same.
3192 * gdb.ada/ref_tick_size.exp: Same.
3193 * gdb.ada/str_ref_cmp.exp: Same.
3194 * gdb.ada/taft_type.exp: Same.
3195 * gdb.ada/tagged.exp: Same.
3196 * gdb.ada/type_coercion.exp: Same.
3197 * gdb.ada/uninitialized_vars.exp: Same.
3198
60b6ede8
TV
31992019-10-30 Tom de Vries <tdevries@suse.de>
3200
3201 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3202
30baf67b
TV
32032019-10-26 Tom de Vries <tdevries@suse.de>
3204
3205 * gdb.base/bigcore.c: Fix typos in comments.
3206 * gdb.base/ctf-ptype.c: Same.
3207 * gdb.base/long_long.c: Same.
3208 * gdb.dwarf2/dw2-op-out-param.S: Same.
3209 * gdb.python/py-evthreads.c: Same.
3210 * gdb.reverse/i387-stack-reverse.c: Same.
3211 * gdb.trace/tfile.c: Same.
3212 * lib/compiler.c: Same.
3213 * lib/compiler.cc: Same.
3214
158da0d1
TV
32152019-10-25 Tom de Vries <tdevries@suse.de>
3216
3217 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3218 gdb_test_multiple calls.
3219 * gdb.reverse/sigall-reverse.exp: Same.
3220 * gdb.reverse/solib-precsave.exp: Same.
3221 * gdb.reverse/solib-reverse.exp: Same.
3222 * gdb.reverse/until-precsave.exp: Same.
3223 * gdb.reverse/until-reverse.exp: Same.
3224
4ccdfbec
TV
32252019-10-24 Tom de Vries <tdevries@suse.de>
3226
3227 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3228 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3229 kfail using -wrap pattern flag and convenience variable
3230 gdb_test_name.
3231
33d569b7
AB
32322019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3233
3234 * gdb.python/py-progspace.exp: Add tests for the
3235 Progspace.block_for_pc method.
3236
4d0b984b
TT
32372019-10-23 Tom Tromey <tom@tromey.com>
3238
3239 * configure: Rebuild.
3240 * aclocal.m4: Use m4_include, not sinclude.
3241
94cb3754
TV
32422019-10-21 Tom de Vries <tdevries@suse.de>
3243
3244 * gdb.base/infcall-nested-structs.c: Add
3245 __attribute__((noinline,noclone)) to all functions.
3246 (call_all): Add missing variable initialization. Simplify return value.
3247 (breakpt): Increment volatile variable, to prevent call from being
3248 optimized out.
3249 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3250
062f1fc1
TV
32512019-10-17 Tom de Vries <tdevries@suse.de>
3252
3253 * gdb.fortran/module.exp: Allow info variables to print info for files
3254 other than module.f90.
3255
0b54364d
AB
32562019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3257
3258 * gdb.fortran/module.exp: Extend with 'info variables' test.
3259
7ff5fae7
AB
32602019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3261
3262 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3263 F77_FOR_TARGET.
3264
d10eccaa
TV
32652019-10-16 Tom de Vries <tdevries@suse.de>
3266
3267 PR tdep/25096
3268 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3269
745ff14e
TV
32702019-10-16 Tom de Vries <tdevries@suse.de>
3271
3272 PR tdep/24104
3273 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3274 Add KFAIL for PR tdep/25096.
3275
03e1ab94
TV
32762019-10-16 Tom de Vries <tdevries@suse.de>
3277
3278 PR testsuite/25059
3279 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3280
b17fcc10
TV
32812019-10-16 Tom de Vries <tdevries@suse.de>
3282
3283 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3284 as signed.
3285
9223170f
SM
32862019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3287
3288 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3289 one instead of increasing timeout.
3290
d6e76313
TV
32912019-10-13 Tom de Vries <tdevries@suse.de>
3292
3293 PR record/25038
3294 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3295 * gdb.reverse/sigall-reverse.exp: Same.
3296 * gdb.reverse/solib-precsave.exp: Same.
3297 * gdb.reverse/solib-reverse.exp: Same.
3298 * gdb.reverse/step-precsave.exp: Same.
3299 * gdb.reverse/until-precsave.exp: Same.
3300 * gdb.reverse/until-reverse.exp: Same.
3301 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3302
6dfc0041
AA
33032019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3304
3305 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3306 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3307 (cmp_struct_05_01, cmp_struct_static_02_01)
3308 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3309 comparisons.
3310
abcf2cc8
TV
33112019-10-10 Tom de Vries <tdevries@suse.de>
3312
3313 PR testsuite/24888
3314 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3315 gnatlink.
3316
a50faaf6
TV
33172019-10-09 Tom de Vries <tdevries@suse.de>
3318
3319 PR testsuite/25048
3320 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3321
60ff3cd7
AB
33222019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3323
3324 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3325 exceptions due to missing debug information.
3326
dfee8566
TV
33272019-10-07 Tom de Vries <tdevries@suse.de>
3328
3329 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3330
3d63690a
AB
33312019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3332
3333 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3334 * gdb.base/annota1.exp: Update to use gdb_test_name.
3335
30d1f018
WP
33362019-10-07 Weimin Pan <weimin.pan@oracle.com>
3337
3338 * gdb.base/ctf-whatis.exp: New file.
3339 * gdb.base/ctf-whatis.c: New file.
3340 * gdb.base/ctf-ptype.exp: New file.
3341 * gdb.base/ctf-ptype.c: New file.
3342 * gdb.base/ctf-constvars.exp: New file.
3343 * gdb.base/ctf-constvars.c: New file.
3344 * gdb.base/ctf-cvexpr.exp: New file.
3345
4dbbb47c
TV
33462019-10-04 Tom de Vries <tdevries@suse.de>
3347
3348 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3349 for loop.
3350
77c2dba3
TT
33512019-10-03 Tom Tromey <tom@tromey.com>
3352
3353 PR rust/24976:
3354 * gdb.rust/simple.rs (Union2): New type.
3355 (main): Use Union2.
3356 * gdb.rust/simple.exp: Add test.
3357
179aed7f
AB
33582019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3359
3360 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3361 nested function prefix.
3362
0a4b0913
AB
33632019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3364 Richard Bunt <richard.bunt@arm.com>
3365 Andrew Burgess <andrew.burgess@embecosm.com>
3366
3367 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3368 nested functions.
3369 * gdb.fortran/nested-funcs.f90: Update expected results.
3370 * gdb.fortran/nested-funcs-2.exp: New file.
3371 * gdb.fortran/nested-funcs-2.f90: New file.
3372
082cce05
AB
33732019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3374
3375 * gdb.python/py-parameter.exp: Make test names unique.
3376 * gdb.python/py-template.exp: Likewise.
3377 * gdb.python/py-value.exp: Likewise.
3378
2b74ba5a
AB
33792019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3380
3381 * gdb.base/break-interp.exp: Reduce test name duplication.
3382 * gdb.base/call-sc.exp: Likewise.
3383 * gdb.base/callfuncs.exp: Likewise.
3384 * gdb.base/charset.exp: Likewise.
3385 * gdb.base/dump.exp: Likewise.
3386 * gdb.base/ena-dis-br.exp: Likewise.
3387 * gdb.base/relational.exp: Likewise.
3388 * gdb.base/step-over-syscall.exp: Likewise.
3389 * gdb.base/structs.exp: Likewise.
3390
58eb20d5
AB
33912019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3392
3393 * gdb.linespec/explicit.exp: Make test names unique.
3394 * gdb.linespec/ls-errs.exp: Likewise.
3395
4d421147
AB
33962019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3397
3398 * gdb.reverse/break-precsave.exp: Make test names unique.
3399 * gdb.reverse/break-reverse.exp: Likewise.
3400 * gdb.reverse/finish-precsave.exp: Likewise.
3401 * gdb.reverse/finish-reverse.exp: Likewise.
3402 * gdb.reverse/machinestate-precsave.exp: Likewise.
3403 * gdb.reverse/machinestate.exp: Likewise.
3404 * gdb.reverse/readv-reverse.exp: Likewise.
3405 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3406 * gdb.reverse/sigall-precsave.exp: Likewise.
3407 * gdb.reverse/sigall-reverse.exp: Likewise.
3408 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3409 * gdb.reverse/watch-precsave.exp: Likewise.
3410 * gdb.reverse/watch-reverse.exp: Likewise.
3411
d8c06f22
AB
34122019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3413
3414 * gdb.threads/stop-with-handle.c: New file.
3415 * gdb.threads/stop-with-handle.exp: New file.
3416
3a56ed86
TV
34172019-10-03 Tom de Vries <tdevries@suse.de>
3418
3419 PR testsuite/25059
3420 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3421 directory" line to be missing.
3422
42275044
TV
34232019-10-03 Tom de Vries <tdevries@suse.de>
3424
3425 PR testsuite/25059
3426 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3427 type optional.
3428
9ef62df0
AA
34292019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3430
3431 * gdb.python/py-format-string.c (string.h): New include.
3432 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3433 the same value, for endianness-independence.
3434 * gdb.python/py-format-string.exp (default_regexp_dict)
3435 (test_pretty_structs, test_format): Adjust expected output to the
3436 changed initialization.
3437
37f6a7f4
TT
34382019-10-02 Tom Tromey <tromey@adacore.com>
3439
3440 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3441
1d58d6a2
PA
34422019-10-02 Pedro Alves <palves@redhat.com>
3443 Andrew Burgess <andrew.burgess@embecosm.com>
3444
3445 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3446 "print-file-var.h".
3447 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3448 (get_version_1): Print this_version_id and its address.
3449 Add extern "C" wrappers around interface functions.
3450 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3451 "print-file-var.h".
3452 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3453 (get_version_2): Print this_version_id and its address.
3454 Add extern "C" wrappers around interface functions.
3455 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3456 <stddef.h> and "print-file-var.h".
3457 Add extern "C" wrappers around interface functions.
3458 [VERSION_ID_MAIN] (this_version_id): Define.
3459 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3460 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3461 up extern "C" blocks.
3462 * gdb.base/print-file-var.exp (test): New, factored out from top
3463 level.
3464 (top level): Test all combinations of attribute hidden or not,
3465 dlopen or not, and this_version_id symbol in main file or not.
3466 Compile tests as both C++ and C, make test names unique.
3467
d770d56f
TT
34682019-10-01 Tom Tromey <tom@tromey.com>
3469
3470 * gdb.base/style.exp: Test "show logging filename".
3471
7f6aba03
TT
34722019-10-01 Tom Tromey <tom@tromey.com>
3473
3474 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3475 * gdb.base/style.exp: Add metadata style test.
3476
14309bb6
TT
34772019-10-01 Tom Tromey <tom@tromey.com>
3478
3479 * gdb.base/style.exp: Test "pwd".
3480
2a3c1174
PA
34812019-10-01 Tom Tromey <tom@tromey.com>
3482
3483 * gdb.base/style.exp: Update tests.
3484
53d666ec
AA
34852019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3486
3487 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3488 'six' to unsigned.
3489 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3490 'five'. Use an all-ones bit pattern for each.
3491 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3492 to its changed values.
3493
4a56a520
TT
34942019-09-30 Tom Tromey <tromey@adacore.com>
3495
3496 * gdb.rust/traits.rs: Disable all warnings.
3497
0df0352a
TV
34982019-09-29 Tom de Vries <tdevries@suse.de>
3499
aac66a4c 3500 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3501
73d9a918
TV
35022019-09-29 Tom de Vries <tdevries@suse.de>
3503
3504 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3505
060b3ab4
TV
35062019-09-27 Tom de Vries <tdevries@suse.de>
3507
3508 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3509
68f7d34d
TV
35102019-09-27 Tom de Vries <tdevries@suse.de>
3511
3512 PR record/23188
3513 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3514
5d63b30a
TT
35152019-09-26 Tom Tromey <tromey@adacore.com>
3516
3517 * gdb.ada/py_taft.exp: New file.
3518 * gdb.ada/py_taft/main.adb: New file.
3519 * gdb.ada/py_taft/pkg.adb: New file.
3520 * gdb.ada/py_taft/pkg.ads: New file.
3521
3d435220
TV
35222019-09-24 Tom de Vries <tdevries@suse.de>
3523
3524 PR gdb/24598
3525 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3526
77d03678
TV
35272019-09-22 Tom de Vries <tdevries@suse.de>
3528
3529 * gdb.base/restore.exp: Allow register variables to be optimized out at
3530 -O0.
3531
abf516c6
UW
35322019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3533
3534 * gdb.arch/spu-info.exp: Remove file.
3535 * gdb.arch/spu-info.c: Remove file.
3536 * gdb.arch/spu-ls.exp: Remove file.
3537 * gdb.arch/spu-ls.c: Remove file.
3538
3539 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3540 * gdb.asm/spu.inc: Remove file.
3541
3542 * gdb.base/dump.exp: Remove support for spu*-*-*.
3543 * gdb.base/stack-checking.exp: Likewise.
3544 * gdb.base/overlays.exp: Likewise.
3545 * gdb.base/ovlymgr.c: Likewise.
3546 * gdb.base/spu.ld: Remove file.
3547
3548 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3549 * gdb.cp/cpexprs.exp: Likewise.
3550 * gdb.cp/exception.exp: Likewise.
3551 * gdb.cp/gdb2495.exp: Likewise.
3552 * gdb.cp/mb-templates.exp: Likewise.
3553 * gdb.cp/pr9167.exp: Likewise.
3554 * gdb.cp/userdef.exp: Likewise.
3555
3556 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3557
3558 * gdb.cell: Remove directory.
3559 * lib/cell.exp: Remove file.
3560
e452e88f
TV
35612019-09-19 Tom de Vries <tdevries@suse.de>
3562
3563 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3564
8a625130
TV
35652019-09-19 Tom de Vries <tdevries@suse.de>
3566
3567 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3568
81dc3ab5
TV
35692019-09-19 Tom de Vries <tdevries@suse.de>
3570
3571 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3572 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3573 (gdb_target_cmd): ... here.
3574 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3575 value 2.
3576
b078f3ac
AB
35772019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3578
3579 * gdb.base/source-dir.exp: Avoid having directory names in test
3580 names.
3581
f1b620e9
MG
35822019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3583
3584 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3585 directory.
3586
67f3ed6a
AB
35872019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3588
3589 * gdb.base/list-missing-source.exp: New file.
3590
d1b70248
TV
35912019-09-14 Tom de Vries <tdevries@suse.de>
3592
3593 PR teststuite/24599
3594 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3595 * lib/ada.exp (gnatmake_version_at_least): New proc.
3596
5fabdcd6
AB
35972019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3598
3599 * gdb.base/maint.exp: Use exec_has_index_section.
3600
aa17805f
AB
36012019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3602
3603 * gdb.base/maint.exp: Add test for 'maint info sections'.
3604
25e5c209
TV
36052019-09-12 Tom de Vries <tdevries@suse.de>
3606
3607 * gdb.base/store.exp: Allow register variables to be optimized out at
3608 -O0.
3609
4993045d
PW
36102019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3611
3612 * gdb.ada/rdv_wait.exp: Update to new task names.
3613 * gdb.base/task_switch_in_core.exp: Likewise.
3614 * gdb.base/info_sources_base.c: Likewise.
3615
8a516164
TT
36162019-09-10 Tom Tromey <tromey@adacore.com>
3617
3618 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3619
aa391654
TT
36202019-09-10 Tom Tromey <tromey@adacore.com>
3621
3622 * gdb.ada/dgopt.exp: New file.
3623 * gdb.ada/dgopt/x.adb: New file.
3624
8634b462
TT
36252019-09-08 Tom Tromey <tom@tromey.com>
3626
3627 * gdb.tui/resize.exp: Remove setup_xfail.
3628 * gdb.tui/regs.exp: Remove setup_xfail.
3629 * gdb.tui/basic.exp: Remove setup_xfail.
3630
736b0f76
DB
36312019-09-06 David Blaikie <dblaikie@gmail.com>
3632
3633 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3634 * gdb.cp/cplabel.exp: Ditto.
3635 * gdb.linespec/ls-errs.exp: Ditto.
3636
30331a6c
TV
36372019-09-05 Tom de Vries <tdevries@suse.de>
3638
3639 * lib/gdb.exp (cmp_file_string): New proc.
3640 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3641 runto_main. Verify save breakpoints output.
3642
98b0ebab
PW
36432019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3644
3645 * gdb.base/info-var.exp: Test info variables without running
3646 to main, to avoid expect's buffer overflow.
3647
4e962e74
TT
36482019-09-03 Tom Tromey <tromey@adacore.com>
3649
3650 * gdb.ada/bias.exp: New file.
3651 * gdb.ada/bias/bias.adb: New file.
3652 * gdb.ada/print_chars.exp: Add regression test.
3653 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3654 (MC): New variable.
3655
2ea1a07a
SL
36562019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3657
3658 * gdb.base/argv0-symlink.exp: Run only on native target
3659 and local host.
3660
8077c50d
TV
36612019-08-29 Tom de Vries <tdevries@suse.de>
3662
3663 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3664 diverse debug info.
3665 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3666
48352473
TV
36672019-08-28 Tom de Vries <tdevries@suse.de>
3668
3669 * gdb.base/info-var.exp: Allow info variables to print info for files
3670 other than info-var-f1.c and info-var-f2.c.
3671
d8f27c60
AB
36722019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3673
3674 * gdb.fortran/info-types.exp: Add module.
3675 * gdb.fortran/info-types.f90: Update expected results.
3676
1f20c35e
AB
36772019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3678
3679 * gdb.fortran/info-types.exp: New file.
3680 * gdb.fortran/info-types.f90: New file.
3681 * lib/fortran.exp (fortran_character1): New proc.
3682
4acfdd20
AB
36832019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3684
3685 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3686 functions'. Reindent as needed.
3687 * gdb.base/info-var-f1.c: New file.
3688 * gdb.base/info-var-f2.c: New file.
3689 * gdb.base/info-var.exp: New file.
3690 * gdb.base/info-var.h: New file.
3691
5c31b358
TV
36922019-08-26 Tom de Vries <tdevries@suse.de>
3693
3694 PR c++/24852
3695 * gdb.cp/no-libstdcxx-probe.exp: New test.
3696
b694989f
TV
36972019-08-26 Tom de Vries <tdevries@suse.de>
3698
3699 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3700 * tests need to be skipped.
3701 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3702 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3703 mi_skip_libstdcxx_probe_tests.
3704
d9c4ba53
SDJ
37052019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3706
3707 * gdb.python/py-xmethods.exp: Use raw strings when passing
3708 arguments to SimpleXMethodMatcher.
3709
395fad09
TV
37102019-08-22 Tom de Vries <tdevries@suse.de>
3711
3712 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3713 more informative.
3714
26c957f1
PA
37152019-08-21 Pedro Alves <palves@redhat.com>
3716
3717 * gdb.base/with.exp: Test "with" with no arguments.
3718
61f80d5d
TV
37192019-08-21 Tom de Vries <tdevries@suse.de>
3720
3721 * gdb.base/gdb-caching-proc.exp: Sort files.
3722
d7a11d13
TV
37232019-08-20 Tom de Vries <tdevries@suse.de>
3724
3725 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3726 compilation.
3727
34dafe9f
TV
37282019-08-16 Tom de Vries <tdevries@suse.de>
3729
3730 * gdb.base/compare-sections.exp ("after run to main"): Allow
3731 mismatched read-only sections for PIE executables.
3732
398fdd60
TT
37332019-08-16 Tom Tromey <tom@tromey.com>
3734
3735 * lib/tuiterm.exp (_csi_Z): New proc.
3736 * gdb.tui/basic.exp: Update window positions.
3737 * gdb.tui/empty.exp: Update window positions.
3738
d8f9e51c
SL
37392019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3740
3741 * gdb.base/examine-backward.exp: Correct regexp for
3742 "examine 3 bytes backward from ${address_zero}".
3743
3df505f6
TT
37442019-08-15 Tom Tromey <tom@tromey.com>
3745
3746 * gdb.tui/empty.exp: Enable resizing tests.
3747
272560b5
TT
37482019-08-15 Tom Tromey <tromey@adacore.com>
3749
3750 * gdb.ada/char_enum.exp: Add regression tests.
3751 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3752 and '0'.
3753 (Char, Gchar): Update.
3754 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3755
08235187
CB
37562019-08-15 Christian Biesinger <cbiesinger@google.com>
3757
3758 * gdb.python/python.exp: Expect a leading underscore on
3759 GdbOutput{,Error}File.
3760
22a2ab04
SL
37612019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3762
3763 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3764 Windows host.
3765
835b995b
SL
37662019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3767
3768 * gdb.base/batch-preserve-term-settings.exp
3769 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3770
97dd8e07
CB
37712019-08-15 Christian Biesinger <cbiesinger@google.com>
3772
3773 * lib/gdb.exp: When running on a mingw target, replace
3774 /x/ with x:/.
3775
75faf5c4
AH
37762019-08-14 Alan Hayward <alan.hayward@arm.com>
3777
3778 * gdb.arch/aarch64-prologue.c: New test.
3779 * gdb.arch/aarch64-prologue.exp: New file.
3780
abc6c00f
TV
37812019-08-13 Tom de Vries <tdevries@suse.de>
3782
3783 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3784 Thread.
3785
74c2c1f4
SL
37862019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3787
3788 * gdb.python/py-completion.exp: Download the .py file to the host
3789 and use its host pathname. Conditionalize tests that use
3790 tab completion and manipulate files on the build machine.
3791 * gdb.python/py-events.exp: Download the .py file to the host
3792 and use its host pathname.
3793 * gdb.python/py-evsignal.exp: Likewise.
3794 * gdb.python/py-evthreads.exp: Likewise.
3795 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3796 pathname syntax.
3797 * gdb.python/py-framefilter.exp: Download the .py file to the right
3798 place on the host. Match Windows pathname syntax.
3799 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3800 .py file to the host and use its host pathname.
3801 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3802 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3803 build pathname. Skip symlink test on Windows host. Add missing
3804 newline at end of file.
3805 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3806 and use its host pathname.
3807 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3808 * gdb.python/py-section-script.exp: Use host location of binfile
3809 on safe-path. Use correct path separator on Windows host.
3810 Reorder alternatives in gdb_test_multiple to prevent matching
3811 the wrong alternative on success.
3812 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3813
ca2589f3
PP
38142019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3815
3816 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3817 expect the GDB inferior to no longer immediately stop after
3818 being resumed with "signal SIGINT".
3819
020a839d
SL
38202019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3821
3822 * gdb.linespec/break-ask.exp: Generalize regexps to match
3823 Windows pathnames too.
3824
128d6509
TV
38252019-08-08 Tom de Vries <tdevries@suse.de>
3826
3827 PR testsuite/24862
3828 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3829
590042fc
PW
38302019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3831
3832 * gdb.base/style.exp: Update tests for help doc new invariants.
3833 * gdb.base/help.exp: Likewise.
3834
046bebe1
TT
38352019-08-06 Tom Tromey <tom@tromey.com>
3836
3837 * gdb.base/style.exp: Add disassemble test.
3838 * gdb.base/style.c (some_called_function): New function.
3839 (main): Use it.
3840
0b27c27d
CB
38412019-08-05 Christian Biesinger <cbiesinger@google.com>
3842
3843 * gdb.python/py-block.exp: Test dictionary access on blocks.
3844
580f1034
SM
38452019-08-05 Simon Marchi <simon.marchi@efficios.com>
3846
3847 PR gdb/24863
3848 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3849 -list-thread-groups --available test when running under
3850 check-read1.
3851
d86bd7cb
TV
38522019-08-05 Tom de Vries <tdevries@suse.de>
3853
3854 PR testsuite/24863
3855 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3856 * gdb.base/help.exp: Use with_read1_timeout_factor.
3857 * gdb.base/info-macros.exp: Same.
3858 * gdb.cp/nested-types.exp: Same.
3859
a80cf5d8
TV
38602019-08-05 Tom de Vries <tdevries@suse.de>
3861
3862 * lib/gdb.exp (version_at_least): Factor out of ...
3863 (tcl_version_at_least): ... here.
3864 (gdb_compile): Fail if pie results in non-PIE executable.
3865 (readelf_version, readelf_prints_pie): New proc.
3866 (exec_is_pie): Return -1 if unknown.
3867
d0962838
TV
38682019-08-05 Tom de Vries <tdevries@suse.de>
3869
3870 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3871
2252ff3d
SL
38722019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3873
3874 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3875
26655f53
SL
38762019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3877
3878 * lib/completion-support.exp (test_gdb_complete_none): Skip
3879 tab completion tests if no readline support.
3880 (test_gdb_complete_unique_re): Likewise.
3881 (test_gdb_complete_multiple): Likewise.
3882
db4dc13e
PW
38832019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3884
3885 * gdb.base/info_sources.exp: New file.
3886 * gdb.base/info_sources.c: New file.
3887 * gdb.base/info_sources_base.c: New file.
3888
0eba165a
PFC
38892019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3890
3891 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3892 prefix argument.
3893 (test_exit_status): Add prefix argument.
3894
59bd512b
TV
38952019-08-01 Tom de Vries <tdevries@suse.de>
3896
3897 PR testsuite/24863
3898 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3899 calling exp_continue for new thread and thread exited messages.
3900
2a3ad588
TV
39012019-08-01 Tom de Vries <tdevries@suse.de>
3902
3903 PR testsuite/24863
3904 * gdb.base/structs.exp: Fix check-read1 timeout using
3905 gdb_test_sequence.
3906 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3907
117eb594
TV
39082019-08-01 Tom de Vries <tdevries@suse.de>
3909
3910 PR testsuite/24863
3911 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3912 line.
3913
ed591340
TV
39142019-08-01 Tom de Vries <tdevries@suse.de>
3915
3916 PR testsuite/24863
3917 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3918
aa3b6533
TT
39192019-07-30 Tom Tromey <tromey@adacore.com>
3920
3921 * gdb.ada/display_nested.exp: New file.
3922 * gdb.ada/display_nested/foo.adb: New file.
3923 * gdb.ada/display_nested/pack.adb: New file.
3924 * gdb.ada/display_nested/pack.ads: New file.
3925
2906593f
CB
39262019-07-30 Christian Biesinger <cbiesinger@google.com>
3927
3928 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3929 namespace.
3930 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3931
0f575925
TV
39322019-07-30 Tom de Vries <tdevries@suse.de>
3933
3934 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3935 instead.
3936
b13057d9
TV
39372019-07-30 Tom de Vries <tdevries@suse.de>
3938
3939 PR testsuite/24834
3940 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3941 (exec_is_pie): New proc.
3942
5c4dde85
CB
39432019-07-29 Christian Biesinger <cbiesinger@google.com>
3944
3945 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3946
c620ed88
CB
39472019-07-29 Christian Biesinger <cbiesinger@google.com>
3948
3949 * gdb.python/py-objfile.c: Add global and static vars.
3950 * gdb.python/py-objfile.exp: Test new functions Objfile.
3951 lookup_global_symbol and lookup_static_symbol.
3952
3d235706
TT
39532019-07-29 Tom Tromey <tom@tromey.com>
3954
3955 * lib/tuiterm.exp (Term::_csi_@): New proc.
3956 (Term::_csi_X): Don't move cursor.
3957
c7e4c0a6
PW
39582019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3959
3960 * gdb.base/options.exp: Update backtrace - completion to
3961 new option -frame-info.
3962 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3963 Test new 'set print frame-info'. Test backtrace -frame-info
3964 overriding 'set print frame-info'.
3965 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3966 Test new 'set print frame-info'.
3967 Verify consistency of backtrace with and without filters, with and
3968 without -no-filters.
3969 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3970 default.
3971
de28a3b7
TV
39722019-07-29 Tom de Vries <tdevries@suse.de>
3973
3974 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3975 no arguments".
3976
507dd60e
TV
39772019-07-29 Tom de Vries <tdevries@suse.de>
3978
3979 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3980 is a substring of the first for "complete non-unique file name".
3981
5beafce9
TV
39822019-07-29 Tom de Vries <tdevries@suse.de>
3983
3984 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3985 with ".*".
3986
2d274232
TV
39872019-07-29 Tom de Vries <tdevries@suse.de>
3988
3989 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3990 Pass prompt_regexp parameter to gdb_test_multiple calls.
3991
9197cd8b
TV
39922019-07-29 Tom de Vries <tdevries@suse.de>
3993
3994 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3995 print registers" regexps.
9197cd8b 3996
b528dae0
TV
39972019-07-29 Tom de Vries <tdevries@suse.de>
3998
3999 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4000
d17725d7
TV
40012019-07-29 Tom de Vries <tdevries@suse.de>
4002
4003 PR gdb/24855
4004 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4005 (skip_python_tests_prompt): Add prompt_regexp argument to
4006 gdb_test_multiple calls.
4007
52b75bf1
TT
40082019-07-27 Tom Tromey <tom@tromey.com>
4009
4010 * gdb.tui/main.exp: New file.
4011
2b1d00c2
TT
40122019-07-27 Tom Tromey <tom@tromey.com>
4013
4014 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4015 optional.
4016 * gdb.tui/empty.exp: New file.
4017
ded631d5
TT
40182019-07-27 Tom Tromey <tom@tromey.com>
4019
4020 * lib/tuiterm.exp (spawn): New proc.
4021 (Term::resize): New proc.
4022 * gdb.tui/resize.exp: New file.
4023
58ac439d
TT
40242019-07-27 Tom Tromey <tom@tromey.com>
4025
4026 * gdb.tui/list.exp: New file.
4027
fe1f56ee
TT
40282019-07-27 Tom Tromey <tom@tromey.com>
4029
4030 * gdb.tui/regs.exp: New file.
4031
f790b310
TT
40322019-07-27 Tom Tromey <tom@tromey.com>
4033
4034 * gdb.tui/basic.exp: Add "layout split" test.
4035
d95fc6ee
TT
40362019-07-27 Tom Tromey <tom@tromey.com>
4037
4038 * gdb.tui/basic.exp: Add "layout asm" test.
4039
c3786b3a
TT
40402019-07-27 Tom Tromey <tom@tromey.com>
4041
4042 * lib/tuiterm.exp: New file.
4043 * gdb.tui/basic.exp: New file.
4044
98a617f8
KB
40452019-07-27 Kevin Buettner <kevinb@redhat.com>
4046
4047 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4048 Enable tests associated with this flag. Adjust regex
4049 referencing "foo_low" to now refer to "foo_cold" instead.
4050
5c076da4
KB
40512019-07-27 Kevin Buettner <kevinb@redhat.com>
4052
4053 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4054 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4055 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4056 foo_cold. Revise comments to match.
4057 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4058 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4059 were wrapped into this proc; Call do_test in loop from outermost
4060 level.
4061 (foo_low): Rename all occurrences to "foo_cold".
4062 (backtrace from baz): New test.
4063 (x2/i foo_cold): New test.
4064 (info line *foo_cold): New test.
4065
1512d3b7
TV
40662019-07-26 Tom de Vries <tdevries@suse.de>
4067
4068 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4069
297989a1
TV
40702019-07-25 Tom de Vries <tdevries@suse.de>
4071
4072 PR testsuite/24830
4073 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4074 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4075 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4076 (skip_libstdcxx_probe_tests): ... here.
4077 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4078
b3b965fb
TV
40792019-07-24 Tom de Vries <tdevries@suse.de>
4080
4081 PR testsuite/24807
4082 * gdb.objc/basicclass.m: Include stdio.h.
4083 * gdb.objc/nondebug.m: Same.
4084 * gdb.objc/objcdecode.m: Same.
4085
4625b4d0
TV
40862019-07-24 Tom de Vries <tdevries@suse.de>
4087
4088 PR testsuite/24612
4089 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4090 additional_flags.
4091
024a5840
TV
40922019-07-24 Tom de Vries <tdevries@suse.de>
4093
4094 PR testsuite/24831
4095 * gdb.multi/tids.exp: Update error messages for info threads.
4096
c76ddaa3
TV
40972019-07-24 Tom de Vries <tdevries@suse.de>
4098
4099 * gdb.base/info-types.exp: Allow info types to print info for more than
4100 one file.
4101
9a618ef6
TV
41022019-07-23 Tom de Vries <tdevries@suse.de>
4103
4104 PR testsuite/24842
4105 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4106 gdb_spawn_with_cmdline_opts.
4107
40eadf04
SP
41082019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4109
4110 * gdb.arch/arm-cmse-sgstubs.c: New test.
4111 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4112
5ba29434
TV
41132019-07-23 Tom de Vries <tdevries@suse.de>
4114
4115 PR testsuite/24711
4116 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4117 issuing next command.
4118
a8e9d247
AB
41192019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4120
4121 * gdb.ada/info_auto_lang.exp: Update expected results.
4122 * gdb.base/info-types.c: Add additional types to check.
4123 * gdb.base/info-types.exp: Update expected results.
4124
eb86c5e2
AB
41252019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4126
4127 * gdb.base/info-types.c: New file.
4128 * gdb.base/info-types.exp: New file.
4129
01e175fe
AB
41302019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4131
4132 * gdb.arch/riscv-bp-infcall.c: New file.
4133 * gdb.arch/riscv-bp-infcall.exp: New file.
4134
6b78c3f8
AB
41352019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4136
4137 PR breakpoints/24541
4138 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4139
da738167
TV
41402019-07-14 Tom de Vries <tdevries@suse.de>
4141
4142 PR testsuite/24760
4143 * gdb.objc/basicclass.exp: Fix unterminated string.
4144
0d4e84ed
AB
41452019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4146 Andrew Burgess <andrew.burgess@embecosm.com>
4147
4148 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4149 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4150 negative bounds.
4151 * gdb.fortran/vla-value.exp: Print elements of an array with
4152 negative bounds.
4153 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4154 testing.
4155
021d8588
AB
41562019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4157
4158 * gdb.base/options.exp (expect_string): Dequote strings in
4159 results.
4160 (test-string): Test strings with different quoting and reindent.
4161
f06f1252
TT
41622019-07-10 Tom Tromey <tromey@adacore.com>
4163
4164 * gdb.ada/mi_ex_cond.exp: Update expected results.
4165 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4166 * gdb.ada/mi_catch_ex.exp: Update expected results.
4167 * gdb.ada/mi_catch_assert.exp: Update expected results.
4168 * gdb.ada/catch_ex.exp (catch_exception_info)
4169 (catch_exception_entry, catch_assert_entry)
4170 (catch_unhandled_entry): Update.
4171 * gdb.ada/catch_assert_if.exp: Update expected results.
4172
b863685d
RB
41732019-07-10 Richard Bunt <richard.bunt@arm.com>
4174 Stephen Roberts <stephen.roberts@arm.com>
4175
4176 * gdb.base/define.exp: Restore original prompt.
4177
cb1e4e32
PA
41782019-07-09 Pedro Alves <palves@redhat.com>
4179
4180 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4181 breakpoints" output.
4182 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4183 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4184 throw" creates breakpoint.
4185 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4186 'type="catchpoint"'.
4187
b58a68fe
PA
41882019-07-09 Pedro Alves <palves@redhat.com>
4189
4190 PR c++/15468
4191 * gdb.cp/except-multi-location-lib.cc: New.
4192 * gdb.cp/except-multi-location-main.cc: New.
4193 * gdb.cp/except-multi-location.exp: New.
4194
0826779b
PW
41952019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4196
4197 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4198 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4199 argument and update callers.
4200
5b0e2db4
AB
42012019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4202
4203 * gdb.arch/amd64-break-on-asm-line.S: New file.
4204 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4205
1f6f6e21
PW
42062019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4207
4208 * gdb.base/printcmds.exp: Test printing C string and
4209 C wide string convenience vars without transiting via the inferior.
4210 Also make test names unique.
4211
ea142fbf
AH
42122019-07-08 Alan Hayward <alan.hayward@arm.com>
4213
5862c886 4214 PR breakpoints/25011
ea142fbf
AH
4215 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4216
213fd9fa
PA
42172019-07-04 Pedro Alves <palves@redhat.com>
4218
4219 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4220 body returned ok(0), break(3) or continue(4).
4221 * gdb.testsuite/foreach_with_prefix.exp: New file.
4222
2b40fda7
AH
42232019-07-04 Alan Hayward <alan.hayward@arm.com>
4224
4225 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4226
a26c8de0
PA
42272019-07-03 Pedro Alves <palves@redhat.com>
4228
4229 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4230 "return -code".
4231
5f4ba3e7
PA
42322019-07-03 Pedro Alves <palves@redhat.com>
4233
4234 PR cli/24732
4235 * gdb.base/shell.exp: Load completion-support.exp.
4236 Adjust expected error output. Add completion tests.
4237
a994424f
PA
42382019-07-03 Pedro Alves <palves@redhat.com>
4239
4240 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4241 string_to_regexp.
4242
3d9be6f5
PA
42432019-07-03 Pedro Alves <palves@redhat.com>
4244
4245 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4246 (expect_integer): Adjust to expect "-string".
4247 (expect_string): New.
4248 (all_options): Expect "-string".
4249 (test-flag, test-boolean): Adjust to expect "-string".
4250 (test-string): New proc.
4251 (top level): Call it.
4252
41fc454c
PA
42532019-07-03 Pedro Alves <palves@redhat.com>
4254
4255 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4256 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4257 the expected output in the success.
4258
b2b2a215
PA
42592019-07-03 Pedro Alves <palves@redhat.com>
4260
4261 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4262 Split one gdb_test_multiple call in two to avoid a race.
4263
fdbc9870
PA
42642019-07-03 Pedro Alves <palves@redhat.com>
4265
4266 * gdb.base/with.c: New file.
4267 * gdb.base/with.exp: New file.
4268
c6ac8931
PA
42692019-07-03 Pedro Alves <palves@redhat.com>
4270
4271 * gdb.base/settings.exp: Replace all references to "maint
4272 test-settings set" with references to "maint set test-settings",
4273 and all references to "maint test-settings show" with references
4274 to "maint show test-settings".
4275
970f9d09
PA
42762019-07-03 Pedro Alves <palves@redhat.com>
4277
4278 * gdb.base/settings.exp (test-string): Adjust expected out when
4279 testing "maint test-settings show filename"
4280
54d66006
PA
42812019-07-02 Pedro Alves <palves@redhat.com>
4282
4283 * gdb.base/options.exp (test-info-threads): New procedure.
4284 (top level): Call it.
4285
10d06d82
TT
42862019-06-28 Tom Tromey <tromey@adacore.com>
4287
4288 * gdb.dwarf2/ada-linkage-name.c: New file.
4289 * gdb.dwarf2/ada-linkage-name.exp: New file.
4290
3d507ff2
TT
42912019-06-27 Tom Tromey <tromey@adacore.com>
4292
d039f014 4293 PR c++/20020:
3d507ff2
TT
4294 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4295
8af58ffe
TV
42962019-06-26 Tom de Vries <tdevries@suse.de>
4297
4298 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4299
22e21752
TV
43002019-06-26 Tom de Vries <tdevries@suse.de>
4301
4302 * gdb.base/index-cache.exp: Add back missing debug option.
4303
b65b566c
PW
43042019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4305
4306 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4307
5c2c8c69
TV
43082019-06-25 Tom de Vries <tdevries@suse.de>
4309
4310 PR testsuite/24727
4311 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4312
164e3873
TV
43132019-06-24 Tom de Vries <tdevries@suse.de>
4314
4315 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4316
824eacee
TV
43172019-06-24 Tom de Vries <tdevries@suse.de>
4318
4319 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4320 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4321 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4322
385b97d3
TV
43232019-06-24 Tom de Vries <tdevries@suse.de>
4324
4325 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4326
c596f180
TV
43272019-06-21 Tom de Vries <tdevries@suse.de>
4328
4329 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4330
b13a7d03
TV
43312019-06-21 Tom de Vries <tdevries@suse.de>
4332
4333 PR testsuite/24518
4334 PR ada/24713
4335 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4336 index.
4337
899277ae
TT
43382019-06-19 Tom Tromey <tromey@adacore.com>
4339
4340 * gdb.ada/length_cond.exp: Add intro comment.
4341
680e1bee
TT
43422019-06-19 Tom Tromey <tromey@adacore.com>
4343
4344 * gdb.ada/length_cond.exp: New file.
4345 * gdb.ada/length_cond/length_cond.adb: New file.
4346 * gdb.ada/length_cond/pck.adb: New file.
4347 * gdb.ada/length_cond/pck.ads: New file.
4348
0ed4690a
TV
43492019-06-18 Tom de Vries <tdevries@suse.de>
4350
4351 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4352
d20ed5fd
TT
43532019-06-18 Tom Tromey <tromey@adacore.com>
4354
4355 * gdb.base/list0.h: Add comment explaining control character.
4356
86e04673
TV
43572019-06-18 Tom de Vries <tdevries@suse.de>
4358
4359 * boards/fission.exp: Break up long debug_flags line.
4360
c4973306
SM
43612019-06-16 Tom de Vries <tdevries@suse.de>
4362
4363 PR gdb/24445
4364 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4365 generated index.
4366
93cb9841
AB
43672019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4368
4369 PR gdb/24686
4370 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4371 improve detection of bug gdb/24541.
4372
399aaebd
SM
43732019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4374
4375 PR gdb/24669
4376 * gdb.base/index-cache.exp (uses_readnow,
4377 expecting_index_cache_use): Define global variable.
4378 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4379 expecting_index_cache_use.
4380
584a927c
AB
43812019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4382 Andrew Burgess <andrew.burgess@embecosm.com>
4383
4384 * gdb.fortran/pointers.f90: New file.
4385 * gdb.fortran/print_type.exp: New file.
4386 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4387 * gdb.fortran/vla-type.exp: Likewise.
4388 * gdb.fortran/vla-value.exp: Likewise.
4389 * gdb.mi/mi-vla-fortran.exp: Likewise.
4390
30056ea0
AB
43912019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4394 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4395 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4396 as a stop reason.
4397
ec8e2b6d
AB
43982019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4399
4400 * gdb.base/annota1.exp: Update expected results.
4401 * gdb.cp/annota2.exp: Likewise.
4402 * gdb.cp/annota3.exp: Likewise.
4403
09e4c4e1
AB
44042019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4405
4406 * gdb.base/style-logging.exp: Remove path from test name.
4407
0735b091
TT
44082019-06-14 Tom Tromey <tromey@adacore.com>
4409
4410 PR gdb/24502:
4411 * gdb.base/style-logging.exp: New file.
4412
f5686554
TT
44132019-06-14 Tom Tromey <tromey@adacore.com>
4414
4415 * gdb.base/symfile-warn.exp: New file.
4416 * gdb.base/symfile-warn.c: New file.
4417
a0c1ffed
TT
44182019-06-14 Tom Tromey <tromey@adacore.com>
4419
4420 * gdb.base/annotate-symlink.exp: New file.
4421
f411722c
TT
44222019-06-14 Tom Tromey <tromey@adacore.com>
4423
4424 * gdb.ada/set_wstr.exp: Add reassignment test.
4425
4268ec18
TT
44262019-06-14 Tom Tromey <tromey@adacore.com>
4427
4428 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4429 'unchecked_access and 'unrestricted_access as well.
4430
9a9e394b
TT
44312019-06-14 Tom Tromey <tromey@adacore.com>
4432
4433 PR ada/24539:
4434 * gdb.ada/vla.exp: Update tests.
4435 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4436 pragma.
4437
4c048731
PA
44382019-06-13 Pedro Alves <palves@redhat.com>
4439
4440 * gdb.base/settings.exp (test-integer): Test junk after
4441 "unlimited".
4442
6665660a
PA
44432019-06-13 Pedro Alves <palves@redhat.com>
4444
4445 * gdb.base/options.exp (test-thread-apply): New.
4446 (top level): Call it.
4447
5d707134
PA
44482019-06-13 Pedro Alves <palves@redhat.com>
4449
4450 * gdb.base/options.exp (test-frame-apply): New.
4451 (top level): Test print commands with different "frame apply"
4452 prefixes.
4453
e2a689da
PA
44542019-06-13 Pedro Alves <palves@redhat.com>
4455
e79be6e5 4456 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
4457 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4458 'max_completions' parameter and handle it.
4459 (test_gdb_completion_offers_commands): New.
4460
90a1ef87
PA
44612019-06-13 Pedro Alves <palves@redhat.com>
4462
4463 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4464
d4c16835
PA
44652019-06-13 Pedro Alves <palves@redhat.com>
4466
4467 * gdb.base/options.exp (test-backtrace): New.
4468 (top level): Call it.
4469
2daf894e
PA
44702019-06-13 Pedro Alves <palves@redhat.com>
4471
4472 * gdb.guile/scm-frame-args.exp: Use "set print
4473 raw-frame-arguments" instead of "set print raw frame-arguments".
4474 * gdb.python/py-frame-args.exp: Likewise.
4475
e6ed716c
PA
44762019-06-13 Pedro Alves <palves@redhat.com>
4477
4478 * gdb.compile/compile.exp: Adjust expected output to option
4479 processing changes.
4480
7d8062de
PA
44812019-06-13 Pedro Alves <palves@redhat.com>
4482
4483 * gdb.base/options.exp: Build executable.
4484 (test-print): New procedure.
4485 (top level): Call it, once for "print" and another for "compile
4486 print".
4487
9d0faba9
PA
44882019-06-13 Pedro Alves <palves@redhat.com>
4489
4490 * gdb.base/options.c: New file.
4491 * gdb.base/options.exp: New file.
4492
dee7b4c8
PA
44932019-06-13 Pedro Alves <palves@redhat.com>
4494
4495 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4496 that "o" is ambiguous.
4497
dca0f6c0
PA
44982019-06-13 Pedro Alves <palves@redhat.com>
4499
4500 * gdb.base/settings.c: New file.
4501 * gdb.base/settings.exp: New file.
4502
ccf46844
PA
45032019-06-13 Pedro Alves <palves@redhat.com>
4504
4505 * gdb.base/completion.exp: Fix comment typo.
4506
b9a3f842
PA
45072019-06-13 Pedro Alves <palves@redhat.com>
4508
4509 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4510 foo --1" test.
4511
d106773e
PA
45122019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4513
4514 * gdb.fortran/block-data.f: New.
4515 * gdb.fortran/block-data.exp: New.
4516
fea82da0
TV
45172019-06-11 Tom de Vries <tdevries@suse.de>
4518
4519 PR testsuite/24521
4520 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4521 message.
4522
8c2e74f1
TV
45232019-06-11 Tom de Vries <tdevries@suse.de>
4524
4525 PR testsuite/24521
4526 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4527
b49851c8
TV
45282019-06-11 Tom de Vries <tdevries@suse.de>
4529
4530 * boards/readnow.exp: New file.
4531
a7067863
AB
45322019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4533
4534 * gdb.fortran/vla-sizeof.exp: Update expected results.
4535
1a3da2cd
AB
45362019-06-06 Amos Bird <amosbird@gmail.com>
4537
4538 * gdb.base/annota1.exp (thread_switch): Add test for
4539 thread-exited annotation.
4540
3847a7bf
TT
45412019-06-06 Tom Tromey <tromey@adacore.com>
4542
4543 * gdb.base/maint.exp: Expect command started/finished output.
4544
0088ba59
AB
45452019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4546
4547 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4548 comment.
4549 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4550
312617a3
AB
45512019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4552
4553 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4554 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4555 * gdb.arch/riscv-unwind-long-insn.c: New file.
4556 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4557
e1f2e1a2
CB
45582019-06-04 Christian Biesinger <cbiesinger@google.com>
4559
d3238f7d 4560 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 4561
206584bd
PW
45622019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4563
4564 * lib/gdb.exp (help_list_trailer): New regexp variable
4565 factorizing the help trailer message.
4566 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4567 arg to allow to better factorize various tests.
4568 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4569 (test_prefix_command_help): Use help_list_trailer.
4570 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4571 * gdb.guile/scm-cmd.exp: Likewise.
4572 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4573 * gdb.base/help.exp: Use test_user_defined_class_help.
4574 * gdb.base/style.exp: Add tests for styling of help and apropos.
4575 * lib/gdb-utils.exp (style): Add title and highlight styles.
4576
708dc93e
PW
45772019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4578
4579 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4580 $_shell_exitsignal.
4581 * gdb.base/default.exp: Update for new convenience variables.
4582
f49055a5
TT
45832019-05-29 Tom Tromey <tromey@adacore.com>
4584
4585 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4586 to "break complete ada" test case's regexp.
4587
4330d61d
TT
45882019-05-29 Tom Tromey <tromey@adacore.com>
4589
4590 PR c++/20020:
4591 * gdb.cp/constexpr-field.exp: New file.
4592 * gdb.cp/constexpr-field.cc: New file.
4593
000439d5
TT
45942019-05-29 Tom Tromey <tromey@adacore.com>
4595
4596 * gdb.base/finish.exp (finish_no_print): New proc.
4597 (finish_tests): Call it.
4598
5a01c34c
TV
45992019-05-24 Tom de Vries <tdevries@suse.de>
4600
4601 * gdb.dwarf2/gdb-add-index.exp: New file.
4602
18125b16
TT
46032019-05-22 Tom Tromey <tromey@adacore.com>
4604
4605 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4606 * gdb.base/style.exp: Use "style".
4607 * lib/gdb-utils.exp (style): New proc.
4608
af1a8d03
TV
46092019-05-22 Tom de Vries <tdevries@suse.de>
4610
4611 * gdb.base/align.exp: Require c++11.
4612
e7fe496b
TV
46132019-05-22 Tom de Vries <tdevries@suse.de>
4614
4615 PR testsuite/24586
4616 * gdb.python/py-mi-var-info-path-expression.exp: Call
4617 mi_skip_python_tests to check if python is supported.
4618
8fca4da0
AH
46192019-05-22 Alan Hayward <alan.hayward@arm.com>
4620
4621 * gdb.arch/aarch64-pauth.c: New test.
4622 * gdb.arch/aarch64-pauth.exp: New file.
4623
b7060614
AH
46242019-05-22 Alan Hayward <alan.hayward@arm.com>
4625
4626 * README (Re-running Tests Outside The Testsuite): New section.
4627
669d0468
TV
46282019-05-21 Tom de Vries <tdevries@suse.de>
4629
4630 * gdb.arch/amd64-eval.exp: Require c++11.
4631 * gdb.base/max-depth.exp: Same.
4632 * gdb.compile/compile-cplus-array-decay.exp: Same.
4633 * gdb.cp/meth-typedefs.exp: Same.
4634 * gdb.cp/subtypes.exp: Same.
4635 * gdb.cp/temargs.exp: Same.
4636
ce3ebcaa
AH
46372019-05-21 Alan Hayward <alan.hayward@arm.com>
4638
4639 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4640
34d11c68
AB
46412019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4642
4643 PR gdb/18644
4644 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4645 * gdb.fortran/printing-types.exp: Add new test.
4646 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4647 testing.
4648 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4649 setup_kfail call.
4650
87781e84
AH
46512019-05-17 Alan Hayward <alan.hayward@arm.com>
4652
4653 * README (Running the Testsuite): Change example.
4654 (Testsuite Parameters): Remove TRANSCRIPT.
4655 * lib/gdb.exp: Remove TRANSCRIPT check.
4656
b420b89e
AH
46572019-05-17 Alan Hayward <alan.hayward@arm.com>
4658
4659 * README (Testsuite Parameters): Add replay logging to
4660 GDBSERVER_DEBUG.
4661 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4662 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4663 as a comma separated list.
4664 (gdb_debug_init): Override procedure.
4665
408e9b8b
AH
46662019-05-17 Alan Hayward <alan.hayward@arm.com>
4667
4668 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4669 (gdb_write_cmd_file): New procedure.
4670 * lib/gdbserver-support.exp (gdbserver_start): Call
4671 gdbserver_write_cmd_file.
4672 (gdbserver_write_cmd_file): New procedure.
4673
f9e2e39d
AH
46742019-05-17 Alan Hayward <alan.hayward@arm.com>
4675
4676 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4677 (delete_breakpoints): Likewise.
4678 (gdb_run_cmd): Likewise.
4679 (gdb_start_cmd): Likewise.
4680 (gdb_starti_cmd): Likewise.
4681 (gdb_internal_error_resync): Likewise.
4682 (gdb_test_multiple): Likewise.
4683 (gdb_reinitialize_dir): Likewise.
4684 (default_gdb_exit): Likewise.
4685 (gdb_file_cmd): Mark kill as optional.
4686 (default_gdb_start): Call gdb_stdin_log_init.
4687 (send_gdb): Call gdb_stdin_log_write.
4688 (rerun_to_main): Mark Y as an answer.
4689 (gdb_stdin_log_init): New function.
4690 (gdb_stdin_log_write): Likewise.
4691
81f47ac2
AH
46922019-05-17 Alan Hayward <alan.hayward@arm.com>
4693
4694 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4695 * gdb.base/debug-expr.exp: Likewise.
4696 * gdb.base/foll-fork.exp: Likewise.
4697 * gdb.base/foll-vfork.exp: Likewise.
4698 * gdb.base/fork-print-inferior-events.exp: Likewise.
4699 * gdb.base/gdb-sigterm.exp: Likewise.
4700 * gdb.base/gdbinit-history.exp: Likewise.
4701 * gdb.base/osabi.exp: Likewise.
4702 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4703 * gdb.base/ui-redirect.exp: Likewise.
4704 * gdb.gdb/unittest.exp: Likewise.
4705 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4706 * gdb.mi/mi-watch.exp: Likewise.
4707 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4708 * gdb.mi/user-selected-context-sync.exp: Likewise.
4709 * gdb.python/python.exp: Disable debug test when debugging.
4710 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4711 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4712 Likewise.
4713 * gdb.threads/stepi-random-signal.exp: Likewise.
4714
29b52314
AH
47152019-05-17 Alan Hayward <alan.hayward@arm.com>
4716
4717 * Makefile.in: Pass through GDB_DEBUG.
4718 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4719 (gdb,debug): Add board setting.
4720 * lib/gdb.exp (default_gdb_start): Start debugging.
4721 (gdb_debug_enabled): New procedure.
4722 (gdb_debug_init): Likewise.
29b52314
AH
4723
47242019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 4725
29b52314
AH
4726 * Makefile.in: Pass through GDB_DEBUG.
4727 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4728 (gdb,debug): Add board setting.
4729 * lib/gdb.exp (default_gdb_start): Start debugging.
4730 (gdb_debug_enabled): New procedure.
4731 (gdb_debug_init): Likewise.
29b52314 4732
ca1285d1
AH
47332019-05-17 Alan Hayward <alan.hayward@arm.com>
4734
4735 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4736
f3a09c80
AH
47372019-05-17 Alan Hayward <alan.hayward@arm.com>
4738
4739 * gdb.base/ui-redirect.exp: Test redirection.
4740
26648588
JV
47412019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4742
4743 * gdb.mi/mi-complete.exp: New file.
4744 * gdb.mi/mi-complete.cc: Likewise.
4745
14237686
AB
47462019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4747
4748 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4749 indexed and sliced arrays, and pointers to arrays.
4750
e7bd7fba
TT
47512019-05-14 Tom Tromey <tromey@adacore.com>
4752
4753 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4754 styling test.
4755
2764128d
TV
47562019-05-14 Tom de Vries <tdevries@suse.de>
4757
4758 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4759 selection entry encoding.
4760
71bed2db
TT
47612019-05-10 Tom Tromey <tromey@adacore.com>
4762
4763 * gdb.ada/info_exc.exp: Add "complete" test.
4764
63b667ad
TV
47652019-05-09 Tom de Vries <tdevries@suse.de>
4766
4767 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4768 CU-relative.
4769
9cfd2b89
TV
47702019-05-09 Tom de Vries <tdevries@suse.de>
4771
4772 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4773 CU-relative.
4774
2228ef77
XR
47752019-05-08 Joel Brobecker <brobecker@adacore.com>
4776
4777 * gdb.ada/frame_arg_lang.exp: New testcase.
4778 * gdb.ada/frame_arg_lang/bla.adb: New file.
4779 * gdb.ada/frame_arg_lang/pck.ads: New file.
4780 * gdb.ada/frame_arg_lang/pck.adb: New file.
4781 * gdb.ada/frame_arg_lang/foo.c: New file.
4782
80e55b13
TT
47832019-05-08 Tom Tromey <tromey@adacore.com>
4784
4785 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4786
9d3421af
TT
47872019-05-08 Tom Tromey <tromey@adacore.com>
4788
4789 * gdb.base/ptype-offsets.exp: Update tests.
4790
844333e2
TT
47912019-05-08 Tom Tromey <tromey@adacore.com>
4792
4793 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4794 cases.
4795 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4796 "short".
4797
988915ee
TT
47982019-05-08 Tom Tromey <tromey@adacore.com>
4799
4800 * gdb.ada/vla.exp: New file.
4801 * gdb.ada/vla/vla.adb: New file.
4802
7bd55dac
TV
48032019-05-07 Tom de Vries <tdevries@suse.de>
4804
4805 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4806
75f06e9d
TV
48072019-05-07 Tom de Vries <tdevries@suse.de>
4808
4809 PR testsuite/24522
4810 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4811 section.
4812
77e7aaa4
TV
48132019-05-07 Tom de Vries <tdevries@suse.de>
4814
4815 PR testsuite/24522
4816 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4817 .debug_aranges section.
4818
456ba0fa
TV
48192019-05-07 Tom de Vries <tdevries@suse.de>
4820
4821 PR testsuite/24159
4822 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4823
5a56d6a6
TV
48242019-05-06 Tom de Vries <tdevries@suse.de>
4825
4826 * lib/gdb.exp (exec_has_index_section): New proc.
4827 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4828 section.
4829
9d6d4be8
TV
48302019-05-04 Tom de Vries <tdevries@suse.de>
4831
4832 * boards/cc-with-debug-names.exp: New file.
4833
222a8d25
TT
48342019-05-03 Tom Tromey <tromey@adacore.com>
4835
4836 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4837 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4838 * gdb.ada/char_enum.exp: Add test.
4839
0fdfd794
TV
48402019-05-03 Tom de Vries <tdevries@suse.de>
4841
4842 * boards/cc-with-gdb-index.exp: New file.
4843
80062eb9
AB
48442019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4845
4846 * gdb.rust/simple.exp: Add new test case.
4847 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4848 (main): Initialise an instance of the new struct.
4849
4504bbde
TT
48502019-05-01 Tom Tromey <tromey@adacore.com>
4851
4852 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4853 record.
4854 (NPR): New variable.
4855 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4856 test.
4857
d48e62f4
TT
48582019-05-01 Tom Tromey <tromey@adacore.com>
4859
4860 * gdb.ada/packed_array_assign.exp: Add packed assignment
4861 regression test.
4862
f59f30f5
TV
48632019-05-01 Tom de Vries <tdevries@suse.de>
4864
4865 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4866
b70bfc54
TV
48672019-05-01 Tom de Vries <tdevries@suse.de>
4868
4869 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4870
15f18d14
AT
48712019-04-30 Ali Tamur <tamur@google.com>
4872
4873 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4874
2ff0a947
TT
48752019-04-30 Tom Tromey <tromey@adacore.com>
4876
4877 * lib/ada.exp (find_ada_tool): New proc.
4878 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4879 * gdb.ada/catch_ex_std.exp: New file.
4880 * gdb.ada/catch_ex_std/foo.adb: New file.
4881 * gdb.ada/catch_ex_std/some_package.adb: New file.
4882 * gdb.ada/catch_ex_std/some_package.ads: New file.
4883
a776957c
TT
48842019-04-30 Tom Tromey <tromey@adacore.com>
4885
4886 PR c++/24470:
4887 * gdb.cp/temargs.cc: Add test code from PR.
4888
bc68014d
AB
48892019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4890
4891 * gdb.fortran/vla-datatypes.exp: Update expected results.
4892 * gdb.fortran/vla-ptype.exp: Likewise.
4893 * gdb.fortran/vla-type.exp: Likewise.
4894 * gdb.fortran/vla-value.exp: Likewise.
4895
f1fdc960
AB
48962019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4897
4898 * gdb.fortran/ptr-indentation.exp: Update expected results.
4899 * gdb.fortran/ptype-on-functions.exp: Likewise.
4900 * gdb.fortran/vla-ptr-info.exp: Likewise.
4901 * gdb.fortran/vla-value.exp: Likewise.
4902
bf7a4de1
AB
49032019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4904
4905 * gdb.fortran/ptype-on-functions.exp: New file.
4906 * gdb.fortran/ptype-on-functions.f90: New file.
4907
bbe75b9d
AB
49082019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4909
4910 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4911 case void string.
4912
1db455a7
AB
49132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4914
4915 * gdb.fortran/complex.exp: Expand.
4916 * gdb.fortran/complex.f: Renamed to...
4917 * gdb.fortran/complex.f90: ...this, and extended to add more
4918 complex values.
4919
b6d03bb2
AB
49202019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4921
4922 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4923 MODULO, CMPLX.
4924
2e62ab40
AB
49252019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4926 Richard Bunt <richard.bunt@arm.com>
4927
4928 * gdb.base/max-depth.c: New file.
4929 * gdb.base/max-depth.exp: New file.
4930 * gdb.python/py-nested-maps.c: New file.
4931 * gdb.python/py-nested-maps.exp: New file.
4932 * gdb.python/py-nested-maps.py: New file.
4933 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4934 (test_all_common): Call test_max_depth.
4935 * gdb.fortran/max-depth.exp: New file.
4936 * gdb.fortran/max-depth.f90: New file.
4937 * gdb.go/max-depth.exp: New file.
4938 * gdb.go/max-depth.go: New file.
4939 * gdb.modula2/max-depth.exp: New file.
4940 * gdb.modula2/max-depth.c: New file.
4941 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4942
d2b584a5
TV
49432019-04-29 Tom de Vries <tdevries@suse.de>
4944
4945 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4946
136afab8
PW
49472019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4948
4949 * gdb.base/callexit.exp: Test may-call-functions off.
4950
725cbb63
KS
49512019-04-25 Keith Seitz <keiths@redhat.com>
4952
4953 PR c++/24367
4954 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4955 (another_incomplete_struct, test_incomplete): New definitions.
4956 (main): Use new definitions.
4957 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4958 functions.
4959
701adfb0
PA
49602019-04-25 Ali Tamur <tamur@google.com>
4961
4962 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4963
82433e3e
SDJ
49642019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4965
4966 PR corefiles/11608
4967 PR corefiles/18187
4968 * gdb.base/coredump-filter-build-id.exp: New file.
4969
dd06d4d6
AH
49702019-04-25 Alan Hayward <alan.hayward@arm.com>
4971
e79be6e5
SM
4972 * Makefile.in: Pass through GDBSERVER_DEBUG.
4973 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4974 (gdbserver,debug): Add board setting.
4975 * gdb.trace/tspeed.exp: Skip when debugging.
4976 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4977 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4978
1670072e
TT
49792019-04-24 Tom Tromey <tromey@adacore.com>
4980
4981 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4982 Rust.
4983
a59240a4
TT
49842019-04-24 Tom Tromey <tromey@adacore.com>
4985
4986 * gdb.arch/amd64-eval.exp: Test bitfield return.
4987 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4988 (class Foo) <return_bitfields>: New method.
4989 (main): Call it.
4990
b907456c
AB
49912019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4992
4993 * gdb.cp/many-args.cc: New file.
4994 * gdb.cp/many-args.exp: New file.
4995
5c565afd
TV
49962019-04-23 Tom de Vries <tdevries@suse.de>
4997
4998 PR gdb/24433
4999 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5000
ba22ff86
AH
50012019-04-23 Alan Hayward <alan.hayward@arm.com>
5002
5003 * gdb.trace/backtrace.exp: Use nopie flag.
5004 * gdb.trace/circ.exp: Likewise.
5005 * gdb.trace/collection.exp: Likewise.
5006 * gdb.trace/ftrace.exp: Likewise.
5007 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5008 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5009 * gdb.trace/qtro.exp: Likewise.
5010 * gdb.trace/read-memory.exp: Likewise.
5011 * gdb.trace/report.exp: Likewise.
5012 * gdb.trace/tfile.exp: Likewise.
5013 * gdb.trace/tfind.exp: Likewise.
5014 * gdb.trace/unavailable.exp: Likewise.
5015
7905fc35
PA
50162019-04-22 Pedro Alves <palves@redhat.com>
5017
5018 * gdb.base/solib-probes-nosharedlibrary.c,
5019 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5020
8ecb59f8
TT
50212019-04-19 Tom Tromey <tromey@adacore.com>
5022
5023 * gdb.ada/ptype_union.c: New file.
5024 * gdb.ada/ptype_union.exp: New file.
5025
62160ec9
TT
50262019-04-19 Tom Tromey <tromey@adacore.com>
5027
5028 PR symtab/24423:
5029 * gdb.base/list0.h (foo): Add a control-l character.
5030
36cd4ba5
TV
50312019-04-18 Tom de Vries <tdevries@suse.de>
5032
5033 PR gdb/24433
5034 * boards/local-board.exp: Set sysroot to "".
5035
b73715df
TV
50362019-04-18 Tom de Vries <tdevries@suse.de>
5037 Pedro Alves <palves@redhat.com>
5038
5039 PR gdb/24454
5040 * gdb.threads/vfork-follow-child-exec.c: New file.
5041 * gdb.threads/vfork-follow-child-exec.exp: New file.
5042 * gdb.threads/vfork-follow-child-exit.c: New file.
5043 * gdb.threads/vfork-follow-child-exit.exp: New file.
5044
4aa866af
LS
50452019-04-15 Leszek Swirski <leszeks@google.com>
5046
5047 * gdb.arch/amd64-eval.cc: New file.
5048 * gdb.arch/amd64-eval.exp: New file.
5049
e5a1a79a
AH
50502019-04-11 Alan Hayward <alan.hayward@arm.com>
5051
5052 * gdb.server/sysroot.c: New test.
5053 * gdb.server/sysroot.exp: New file.
5054 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5055 matching param.
5056
41077b66
AB
50572019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5058
5059 * gdb.base/align.exp: Extend test to cover structures containing
5060 only static fields.
5061
c30391f8
TV
50622019-04-11 Tom de Vries <tdevries@suse.de>
5063
5064 * boards/cc-with-dwz-m.exp: New file.
5065 * boards/cc-with-dwz.exp: New file.
5066 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5067
e242fd12
SM
50682019-04-09 Simon Marchi <simon.marchi@efficios.com>
5069
5070 * gdb.base/start-cpp.exp: New file.
5071 * gdb.base/start-cpp.cc: New file.
5072
2b0c8b01
KB
50732019-04-08 Kevin Buettner <kevinb@redhat.com>
5074
5075 * gdb.python/py-thrhandle.exp: Adjust tests to call
5076 thread_from_handle instead of thread_from_thread_handle.
5077
947210e5
KB
50782019-04-08 Kevin Buettner <kevinb@redhat.com>
5079
5080 * gdb.python/py-thrhandle.exp: Add tests for
5081 gdb.InferiorThread.handle.
5082
d7df6549
AB
50832019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5084
5085 * gdb.python/py-function.exp: Check calling helper function from
5086 all languages.
5087 * lib/gdb.exp (gdb_supported_languages): New proc.
5088
8bdc1658
AB
50892019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5090
5091 * gdb.base/complex-parts.c: New file.
5092 * gdb.base/complex-parts.exp: New file.
5093
05caa1d2
TT
50942019-04-01 Tom Tromey <tromey@adacore.com>
5095
5096 PR symtab/23331:
5097 * gdb.dwarf2/dw2-ranges-main.c: New file.
5098 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5099 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5100
7734102d
EZ
51012019-03-30 Simon Marchi <simark@simark.ca>
5102
5103 * gdb.base/default.exp: Add values for $_gdb_major and
5104 $_gdb_minor.
5105
188e1fa9
TT
51062019-03-29 Tom Tromey <tromey@adacore.com>
5107
5108 * gdb.base/help.exp: Tighten apropos regexp.
5109
2880242d
KS
51102019-03-29 Keith Seitz <keiths@redhat.com>
5111
5112 * gdb.fortran/array-bounds.exp: New file.
5113 * gdb.fortran/array-bounds.f90: New file.
5114
077cad8e
PW
51152019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5116
5117 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5118
80047cfc
PW
51192019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5120
5121 * gdb.multi/hello.c (main): Increase alarm timer.
5122
f489207e
SL
51232019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5124
5125 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5126 factor when no hardware watchpoint support.
5127
c92df149
AH
51282019-03-28 Alan Hayward <alan.hayward@arm.com>
5129 Pedro Alves <palves@redhat.com>
5130
5131 * boards/local-board.exp: set sysroot to /.
5132
933aebfa
AH
51332019-03-27 Alan Hayward <alan.hayward@arm.com>
5134
5135 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5136 in child.
5137
9f9aa852
AB
51382019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5139
5140 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5141 field.
5142 (make_container): Initialise new field.
5143 * gdb.python/py-prettyprint.exp: Add new tests.
5144 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5145 <display_hint>: New method.
5146
3714a195
AB
51472019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5148
5149 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5150 gdb_continue_to_breakpoint more throughout this test.
5151 (run_lang_tests) Supply unique test names, and use
5152 gdb_test_no_output.
5153
18c77628
AB
51542019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5155
5156 * gdb.base/finish-pretty.exp: Update expected results.
5157 * gdb.base/pretty-print.c: New file.
5158 * gdb.base/pretty-print.exp: New file.
5159
9a93502f
PA
51602019-03-25 Pedro Alves <palves@redhat.com>
5161
5162 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5163 move comments outside list. Append '-i "" eof' section.
5164
968aa7ae
AH
51652019-03-22 Alan Hayward <alan.hayward@arm.com>
5166
34a7f2a4 5167 PR testsuite/25016
968aa7ae
AH
5168 * README: Add pie options.
5169 * gdb.base/break-interp.exp: Ensure pie is disabled.
5170 * gdb.base/dump.exp: Likewise.
5171 * lib/gdb.exp (gdb_compile): Add pie option.
5172
4c7d57e7
TT
51732019-03-19 Tom Tromey <tromey@adacore.com>
5174
5175 * gdb.mi/mi2-cli-display.c: New file.
5176 * gdb.mi/mi2-cli-display.exp: New file.
5177
bff8c71f
TT
51782019-03-18 Joel Brobecker <brobecker@adacore.com>
5179 Tom Tromey <tromey@adacore.com>
5180
5181 * gdb.ada/ptype_array/pck.adb: New file.
5182 * gdb.ada/ptype_array/pck.ads: New file.
5183 * gdb.ada/ptype_array/foo.adb: New file.
5184 * gdb.ada/ptype_array.exp: New file.
5185
d085f989
TT
51862019-03-14 Tom Tromey <tromey@adacore.com>
5187
5188 * gdb.base/style.exp: Add "set style sources" test.
5189
b4be1b06
SM
51902019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5191
5192 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5193 * mi-breakpoint-multiple-locations.exp: ... this.
5194 (make_breakpoints_pattern): New proc.
5195 (do_test): Add mi_version parameter, test -break-insert,
5196 -break-info and =breakpoint-created.
5197
7cde5fc2
AB
51982019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5199
5200 * config/default.exp: Remove 'load_lib gdb.exp'.
5201 * config/monitor.exp: Likewise.
5202 * config/sid.exp: Likewise.
5203 * config/sim.exp: Likewise.
5204 * config/slite.exp: Likewise.
5205 * config/unix.exp: Likewise.
5206 * gdb.base/default.exp: Remove unhelpful comment.
5207
efbecbc1
AB
52082019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5209
5210 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5211
0841c79a
AB
52122019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5213
5214 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5215
4a270568
AB
52162019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5217
5218 * gdb.fortran/type-kinds.exp: Update expected results.
5219
067630bd
AB
52202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5221
5222 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5223
3be47f7a
AB
52242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5225
5226 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5227 function.
5228 (test_basic_parsing_of_type_kinds): Expand types tested.
5229 (test_parsing_invalid_type_kinds): New function.
5230
4d00f5d8
AB
52312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5232
5233 * gdb.fortran/intrinsics.exp: New file.
5234 * gdb.fortran/intrinsics.f90: New file.
5235 * gdb.fortran/type-kinds.exp: New file.
5236
c8f91604
AB
52372019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5238
5239 * gdb.fortran/dot-ops.exp: New file.
5240
dd9f2c76
AB
52412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5242
5243 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5244 Check upper and lower case logical literals.
5245
84ec9724
AB
52462019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5247
5248 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5249 Remove duplicate tests.
5250
c3734e09
AH
52512019-03-06 Alan Hayward <alan.hayward@arm.com>
5252
5253 * lib/gdb.exp (builtin_cd): rename of cd.
5254 (cd): Override builtin.
5255
aa3cfbda
RB
52562019-03-06 Richard Bunt <richard.bunt@arm.com>
5257
5258 * gdb.fortran/function-calls.exp: New file.
5259 * gdb.fortran/function-calls.f90: New test.
5260
7b63ad86
RB
52612019-03-04 Richard Bunt <richard.bunt@arm.com>
5262
5263 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5264 on user program standard output.
5265 * gdb.fortran/short-circuit-argument-list.f90: Record function
5266 calls.
5267
01abb042
AH
52682019-02-28 Alan Hayward <alan.hayward@arm.com>
5269
c3734e09
AH
5270 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5271 failure.
01abb042 5272
92137da0
RO
52732019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5274
5275 PR gdb/8527
5276 * gdb.base/interrupt-daemon-attach.c,
5277 gdb.base/interrupt-daemon-attach.exp: New test.
5278
5862844d
PA
52792019-02-27 Pedro Alves <palves@redhat.com>
5280
5281 * gdb.base/page.exp: Add tests for "set width/height -1".
5282
8ed25214
PA
52832019-02-27 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.base/page.exp: Add tests for "set/show width/height" with
5286 "infinite" values.
5287
6c28e44a
TT
52882019-02-27 Tom Tromey <tromey@adacore.com>
5289
5290 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5291 2.4.
5292 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5293 workaround.
5294
bf9a735e
AB
52952019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5296
5297 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5298 tests for structs with static members.
5299
8791793c
TT
53002019-02-26 Tom Tromey <tromey@adacore.com>
5301
5302 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5303 ValueError, not TypeError.
5304
bc2a507e
KB
53052019-02-26 Kevin Buettner <kevinb@redhat.com>
5306
5307 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5308 call from main program.
5309
e0e7d3bd
JB
53102019-02-23 Joel Brobecker <brobecker@adacore.com>
5311
5312 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5313 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5314 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5315 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5316 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5317
9600246d
KS
53182019-02-22 Keith Seitz <keiths@redhat.com>
5319
5320 PR symtab/23853
5321 * gdb.base/symlink-sourcefile.c: New file.
5322 * gdb.base/symlink-sourcefile.exp: New file.
5323
0c95f9ed
TT
53242019-02-20 Tom Tromey <tom@tromey.com>
5325
5326 * gdb.base/info_qt.exp: Update.
5327
6caa91b6
SM
53282019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5329
5330 * gdb.base/source.exp: Move "error in sourced script" code to
5331 the end.
5332 * gdb.base/source-error.gdb: Move contents to
5333 source-error-1.gdb. Add new code to source source-error-1.gdb.
5334 * gdb.base/source-error-1.gdb: New file, from previous
5335 source-error.gdb.
5336
6506371f
TT
53372019-02-17 Tom Tromey <tom@tromey.com>
5338
5339 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5340 for macro styling.
5341 * gdb.base/style.c (SOME_MACRO): New macro.
5342
a0087920
TT
53432019-02-17 Tom Tromey <tom@tromey.com>
5344
5345 * gdb.base/style.exp: Add line-wrapping tests.
5346 * gdb.base/page.exp: Add test for quitting during pagination.
5347
a2cd4f14
JB
53482019-02-17 Joel Brobecker <brobecker@adacore.com>
5349
5350 * gdb.ada/big_packed_array: New testcase.
5351 * gdb.ada/homonym.exp: Fix incorrect expected output for
5352 "break <homonym__get_value>" test.
5353
9d70ffbc
WP
53542019-02-13 Weimin Pan <weimin.pan@oracle.com>
5355
5356 PR breakpoints/21870
5357 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5358 and prepare_for_testing. Add comment.
5359 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5360 redundant cleanup call. Clean up comment.
5361
01c7ae81
WP
53622019-02-12 Weimin Pan <weimin.pan@oracle.com>
5363
5364 PR breakpoints/21870
5365 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5366 * gdb.arch/aarch64-dbreg-contents.c: New file.
5367
aff29d1c
JB
53682019-02-10 Joel Brobecker <brobecker@adacore.com>
5369
5370 * gdb.ada/mi_ref_changeable: New testcase.
5371
df0da8a2
AH
53722019-02-07 Alan Hayward <alan.hayward@arm.com>
5373
5374 * gdb.base/attach.exp: Add double attach test.
5375
bd447abb
SM
53762019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5377
5378 * lib/gdb.exp (default_gdb_start): Don't match pagination
5379 prompt.
5380 (gdb_init): Set stty_init.
5381
1dbc40b9
TT
53822019-01-27 Tom Tromey <tom@tromey.com>
5383
5384 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5385 skip_python_tests.
5386
353229bf
AH
53872019-01-24 Alan Hayward <alan.hayward@arm.com>
5388
5389 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5390 New structure.
5391 (struct struct_static_02_02): Likewise.
5392 (struct struct_static_02_03): Likewise.
5393 (struct struct_static_02_04): Likewise.
5394 (struct struct_static_04_01): Likewise.
5395 (struct struct_static_04_02): Likewise.
5396 (struct struct_static_04_03): Likewise.
5397 (struct struct_static_04_04): Likewise.
5398 (struct struct_static_06_01): Likewise.
5399 (struct struct_static_06_02): Likewise.
5400 (struct struct_static_06_03): Likewise.
5401 (struct struct_static_06_04): Likewise.
5402 (cmp_struct_static_02_01): Likewise.
5403 (cmp_struct_static_02_02): Likewise.
5404 (cmp_struct_static_02_03): Likewise.
5405 (cmp_struct_static_02_04): Likewise.
5406 (cmp_struct_static_04_01): Likewise.
5407 (cmp_struct_static_04_02): Likewise.
5408 (cmp_struct_static_04_03): Likewise.
5409 (cmp_struct_static_04_04): Likewise.
5410 (cmp_struct_static_06_01): Likewise.
5411 (cmp_struct_static_06_02): Likewise.
5412 (cmp_struct_static_06_03): Likewise.
5413 (cmp_struct_static_06_04): Likewise.
5414 (call_all): Test new structs.
5415 * gdb.base/infcall-nested-structs.exp: Likewise.
5416
73021deb
AH
54172019-01-21 Alan Hayward <alan.hayward@arm.com>
5418 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5419
fc65c7db
AH
54202019-01-21 Alan Hayward <alan.hayward@arm.com>
5421 * gdb.base/stack-protector.c: New test.
5422 * gdb.base/stack-protector.exp: New file.
5423 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5424 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5425 option.
5426 (gdb_compile): Remove stack protector for GCC and prevent
5427 recursion.
5428
c24bdb02
KS
54292019-01-16 Keith Seitz <keiths@redhat.com>
5430
5431 PR gdb/23773
5432 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5433
6f072a10
PFC
54342019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5435
5436 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5437 aliases.
5438 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5439 tests.
5440 * gdb.arch/powerpc-vector-regs.c: New file.
5441 * gdb.arch/powerpc-vector-regs.exp: New file.
5442
a7b8d682
PFC
54432019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5444
5445 * gdb.arch/altivec-regs.exp: Fix the list passed to
5446 gdb_expect_list when testing "info vector".
5447
6eb6fb67
AB
54482019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5449
5450 * gdb.base/style.exp: Don't include path in testname.
5451
b56f80d8
KS
54522019-01-10 Keith Seitz <keiths@redhat.com>
5453
5454 PR gdb/23712
5455 PR symtab/23010
5456 * gdb.dwarf2/multidictionary.exp: New file.
5457
041be526
SM
54582019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5459
5460 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5461 (test_gnuv3_style_demangling): ... this.
5462 (test_lucid_style_demangling): Remove.
5463 (test_arm_style_demangling): Remove.
5464 (test_hp_style_demangling): Remove.
5465 (do_tests): Remove calls to the above.
5466
d820d0c3
AB
54672019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5468
5469 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5470 case.
5471
f097f5ad
TT
54722019-01-06 Tom Tromey <tom@tromey.com>
5473
5474 PR gdb/28155:
5475 * gdb.dwarf2/typedef-void-finish.exp: New file.
5476
2cd8cc0b
TT
54772018-12-28 Tom Tromey <tom@tromey.com>
5478 Simon Marchi <simark@simark.ca>
5479
5480 * gdb.base/jit-exec.exp: New file.
5481 * gdb.base/jit-exec.c: New file.
5482 * gdb.base/jit-execd.c: New file.
5483
35fb8261
TT
54842018-12-28 Tom Tromey <tom@tromey.com>
5485
5486 * gdb.base/style.exp: Update test to check for address styling.
5487
47fd17cd
TT
54882018-12-28 Tom Tromey <tom@tromey.com>
5489
5490 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5491 message.
5492
d47032b7
TT
54932018-12-28 Tom Tromey <tom@tromey.com>
5494
5495 * gdb.base/style.exp: Add test for version number styling.
5496
af79b68d
TT
54972018-12-28 Tom Tromey <tom@tromey.com>
5498
5499 * gdb.base/style.exp: Add test for print_address_symbolic.
5500
0bb296cb
TT
55012018-12-28 Tom Tromey <tom@tromey.com>
5502
5503 * gdb.base/style.exp: Add test for breakpoint setting.
5504
80ae2043
TT
55052018-12-28 Tom Tromey <tom@tromey.com>
5506
5507 * gdb.base/style.exp: Add test for variable names.
5508
cbe56571
TT
55092018-12-28 Tom Tromey <tom@tromey.com>
5510
5511 * gdb.base/style.exp: New file.
5512 * gdb.base/style.c: New file.
5513
9162a27c
TT
55142018-12-28 Tom Tromey <tom@tromey.com>
5515
5516 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5517 "dumb".
5518 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5519 the TERM environment variable.
5520
bc543c90
TT
55212018-12-27 Tom Tromey <tom@tromey.com>
5522
5523 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5524 pagination test.
5525
6f0ffe50
AB
55262018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5527
5528 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5529 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5530
b5a1e557
PW
55312018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5532
5533 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5534 Filename a.adb changed to bp_fun_addr.adb.
5535 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5536
6e8b1ab2
JV
55372018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5538
5539 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5540 non-PIE executables.
5541 * README: Mention the gdb,nopie_flag board setting.
5542 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5543 non-PIE executable.
5544 * gdb.arch/amd64-entry-value.exp: Likewise.
5545 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5546 * gdb.arch/i386-float.exp: Likewise.
5547 * gdb.arch/i386-signal.exp: Likewise.
5548 * gdb.mi/mi-reg-undefined.exp: Likewise.
5549
d00a27c5
PM
55502018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5551
5552 PR gdb/23974
5553 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5554
161d081c
PW
55552018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5556
5557 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5558 Update order of results accordingly.
5559
b001de23
AB
55602018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5561
5562 * gdb.base/annota1.exp: Update a test regexp.
5563
99e1a184
AB
55642018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5565
5566 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5567
7a81c1e2
PW
55682018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5569
5570 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5571 (reuse_time): Initialize to REUSE_TIME_CAP.
5572 (check_rc): New function.
5573 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5574 Check pthread_create rc.
5575 (spawner_thread_func): Check pthread_create and pthread_join rc.
5576
73e8dc90
PA
55772018-12-08 Pedro Alves <palves@redhat.com>
5578
5579 * gdb.base/list.exp (test_forward_search): Rename to ...
5580 (test_forward_reverse_search): ... this. Also test reverse-search
5581 and the forward-search alias.
5582
13f2ed32
AB
55832018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5584
5585 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5586 local timeout variable before return, and remove all local timeout
5587 variable entirely.
5588 (gdb_load): Likewise.
5589
64d27cfc
TV
55902018-12-01 Tom de Vries <tdevries@suse.de>
5591
5592 * gdb.base/gdb-caching-proc.exp: New file.
5593
f63c03b4
SDJ
55942018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5595
5596 * Makefile.in (TIMESTAMP): New variable.
5597 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5598 command.
5599 (check-single-racy): Likewise.
5600 (check/%.exp): Likewise.
5601 (check-racy/%.exp): Likewise.
5602 (workers/%.worker): Likewise.
5603 (build-perf): Likewise.
5604 (check-perf): Likewise.
5605 * README: Describe new "TS" and "TS_FORMAT" variables.
5606 * print-ts.py: New file.
5607
1c97054b
BF
56082018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5609
5610 PR python/23714
5611 * gdb.python/python.exp: Test command repetition after
5612 gdb.execute.
5613
1871a62d
AB
56142018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5615
5616 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5617 is correctly aligned.
5618
fb5e1ed9
PW
56192018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5620
5621 * gdb.ada/info_auto_lang.exp: New testcase.
5622 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5623 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5624 * gdb.ada/info_auto_lang/some_c.c: New file.
5625
43d397ca
PW
56262018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5627
5628 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5629 FUNC_lang language syntax.
5630
beddd671
PW
56312018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5632
5633 * gdb.base/info_minsym.c: New file.
5634 * gdb.base/info_minsym.exp: New file.
5635
73fc52c4
TT
56362018-11-19 Tom Tromey <tom@tromey.com>
5637
5638 PR rust/23625:
5639 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5640 * gdb.rust/expr.exp: Update expected output. Change one test.
5641
994b876a
TT
56422018-11-19 Tom Tromey <tom@tromey.com>
5643
5644 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5645
6769f276
PA
56462018-11-19 Pedro Alves <palves@redhat.com>
5647
5648 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5649 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5650 see the expected warning.
5651
38a72da0
AH
56522018-11-16 Alan Hayward <alan.hayward@arm.com>
5653
5654 PR gdb/22736:
5655 * gdb.cp/infcall-nodebug-lib.c: New test.
5656 * gdb.cp/infcall-nodebug-main.c: New test.
5657 * gdb.cp/infcall-nodebug.exp: New file.
5658
53a89d6e
SM
56592018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5660
5661 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5662 completer tests.
5663
9325300d
TV
56642018-11-09 Tom de Vries <tdevries@suse.de>
5665
5666 * gdb.base/msym-lang.c: New test.
5667 * gdb.base/msym-lang.exp: New file.
5668 * gdb.base/msym-lang-main.c: New test.
5669
20f0d60d
TT
56702018-11-08 Tom Tromey <tom@tromey.com>
5671
5672 PR gdb/23555:
5673 PR gdb/23838:
5674 * gdb.base/warning.exp: New file.
5675
b5420128
JB
56762018-11-08 Jan Beulich <jbeulich@suse.com>
5677
5678 * testsuite/gdb.arch/i386-avx512.c,
5679 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5680
cd115d61
AB
56812018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5682
5683 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5684 point hardware.
5685
35ee2dc2
AB
56862018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5687
5688 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5689 * gdb.dwarf2/missing-type-name.exp: New file.
5690
31aceee8
TV
56912018-11-06 Tom de Vries <tdevries@suse.de>
5692
5693 * gdb.base/many-headers.c: New test.
5694 * gdb.base/many-headers.exp: New file.
5695
109be305
JW
56962018-11-06 Jim Wilson <jimw@sifive.com>
5697
5698 * gdb.base/code_elim.exp: For riscv, set additional_flags
5699 to include -msmall-data-limit=0.
5700
e2b7af72
JB
57012018-11-01 Joel Brobecker <brobecker@adacore.com>
5702
5703 * gdb.ada/watch_minus_l: New testcase.
5704
cdcda965
SM
57052018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5706
5707 * gdb.arch/aix-sighandle.c: New file.
5708 * gdb.arch/aix-sighandle.exp: New file.
5709
92dcebf3
AB
57102018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5711
5712 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5713 registers being unions.
5714
68b9ac18
TV
57152018-10-31 Tom de Vries <tdevries@suse.de>
5716
5717 * lib/valgrind.exp: New file.
5718 (vgdb_start, vgdb_stop): New procs, factored out of ...
5719 * gdb.base/valgrind-bt.exp: ... here, ...
5720 * gdb.base/valgrind-disp-step.exp: ... here and ...
5721 * gdb.base/valgrind-infcall.exp: ... here.
5722
1443936e
TV
57232018-10-31 Tom de Vries <tdevries@suse.de>
5724
5725 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5726
eb77c9df
AB
57272018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5728
5729 * gdb.dwarf2/void-type.c: New file.
5730 * gdb.dwarf2/void-type.exp: New file.
5731
82b5e646
PW
57322018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5733
5734 * gdb.base/info_qt.c: New file.
5735 * gdb.base/info_qt.exp: New file.
5736
8d619c01
EBM
57372018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5738
5739 * gdb.arch/powerpc-htm-regs.c: New file.
5740 * gdb.arch/powerpc-htm-regs.exp: New file.
5741
f2cf6173
EBM
57422018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5743
5744 * gdb.arch/powerpc-tar.c: New file.
5745 * gdb.arch/powerpc-tar.exp: New file.
5746
7ca18ed6
EBM
57472018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5748
5749 * gdb.arch/powerpc-ppr-dscr.c: New file.
5750 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5751
bfcc0eba
TV
57522018-10-25 Tom de Vries <tdevries@suse.de>
5753
5754 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5755
fe1a5cad
TV
57562018-10-24 Tom de Vries <tdevries@suse.de>
5757
5758 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5759 longer exists error.
5760
a76dc3b7
TV
57612018-10-24 Tom de Vries <tdevries@suse.de>
5762
5763 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5764
4df46df7
TV
57652018-10-24 Tom de Vries <tdevries@suse.de>
5766
5767 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5768 --db-attach in valgrind.
5769
0dbfcfff
AB
57702018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5771
5772 * gdb.arch/riscv-reg-aliases.c: New file.
5773 * gdb.arch/riscv-reg-aliases.exp: New file.
5774
b04480b1
AH
57752018-10-19 Alan Hayward <alan.hayward@arm.com>
5776
5777 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5778
2c6ac8d7
AH
57792018-10-19 Alan Hayward <alan.hayward@arm.com>
5780
5781 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5782
2bc69f25
AH
57832018-10-19 Alan Hayward <alan.hayward@arm.com>
5784
5785 * gdb.cp/ovldbreak.exp: Fix regexps.
5786
1f1ae3a3
AH
57872018-10-19 Alan Hayward <alan.hayward@arm.com>
5788
5789 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5790
94c18618
SDJ
57912018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5792
5793 PR cli/23785
5794 * gdb.base/restore.exp: New test to check if "restore" with an
5795 invalid file doesn't segfault.
5796
812cd6eb
TV
57972018-10-18 Tom de Vries <tdevries@suse.de>
5798
5799 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5800 * gdb.ada/excep_handle.exp: Same.
5801 * gdb.ada/mi_string_access.exp: Same.
5802 * gdb.ada/mi_var_union.exp: Same.
5803 * gdb.arch/arc-analyze-prologue.exp: Same.
5804 * gdb.arch/arc-decode-insn.exp: Same.
5805 * gdb.base/readnever.exp: Same.
5806 * gdb.fortran/printing-types.exp: Same.
5807 * gdb.guile/scm-lazy-string.exp: Same.
5808
c4b90788
TV
58092018-10-16 Tom de Vries <tdevries@suse.de>
5810
5811 PR gdb/23730
5812 * gdb.base/catch-follow-exec.c: Add copyright notice.
5813 * gdb.base/catch-follow-exec.exp: Rewrite to use
5814 gdb_spawn_with_cmdline_opts. Require gdb-native.
5815
8bca2978
SL
58162018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5817
5818 * gdb.trace/actions-changed.exp: Check for arch support.
5819 * gdb.trace/actions.exp: Likewise.
5820 * gdb.trace/ax.exp: Likewise.
5821 * gdb.trace/backtrace.exp: Likewise.
5822 * gdb.trace/change-loc.exp: Likewise.
5823 * gdb.trace/deltrace.exp: Likewise.
5824 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5825 * gdb.trace/ftrace.exp: Likewise.
5826 * gdb.trace/infotrace.exp: Check for arch support.
5827 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5828 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5829 * gdb.trace/mi-tsv-changed.exp: Likewise.
5830 * gdb.trace/packetlen.exp: Likewise.
5831 * gdb.trace/passc-dyn.exp: Likewise.
5832 * gdb.trace/passcount.exp: Likewise.
5833 * gdb.trace/pending.exp: Likewise.
5834 * gdb.trace/range-stepping.exp: Check for shlib support.
5835 * gdb.trace/report.exp: Check for arch support.
5836 * gdb.trace/save-trace.exp: Likewise.
5837 * gdb.trace/signal.exp: Check for signal support.
5838 * gdb.trace/tfind.exp: Check for arch support.
5839 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5840 * gdb.trace/trace-common.h: Add comment.
5841 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5842 * gdb.trace/trace-enable-disable.exp: Likewise.
5843 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5844 * gdb.trace/tracecmd.exp: Check for arch support.
5845 * gdb.trace/tspeed.exp: Check for shlib and target support.
5846 * gdb.trace/tstatus.exp: Check for arch support.
5847 * gdb.trace/tsv.exp: Likewise.
5848 * gdb.trace/while-dyn.exp: Likewise.
5849 * gdb.trace/while-stepping.exp: Likewise.
5850 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5851
f9c49bff
SM
58522018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5853
5854 * gdb.trace/tspeed.exp: Remove nowarnings.
5855 (prepare_for_trace_test): Declare "global ipalib".
5856 * gdb.trace/tspeed.c: Include unistd.h.
5857 (main): Remove superfluous printf argument.
5858
d4330bde
SL
58592018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5860
5861 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5862 directory prefix on the filename.
5863
8ecfd7bd
SDJ
58642018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5865
5866 * gdb.gdb/unittest.exp: Update expected message informing that
5867 selftests have been disabled.
5868 * gdb.server/unittest.exp: Likewise.
5869
58bbcd02
TV
58702018-10-09 Tom de Vries <tdevries@suse.de>
5871
5872 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5873 with runto_main.
5874
9f6b697b
WP
58752018-10-08 Weimin Pan <weimin.pan@oracle.com>
5876
5877 PR c++/16841
5878 * gdb.cp/virtbase2.cc: New file.
5879 * gdb.cp/virtbase2.exp: New file.
5880
add5ded5
TT
58812018-10-06 Tom Tromey <tom@tromey.com>
5882
5883 PR python/19399:
5884 * gdb.python/py-inferior.exp: Add architecture test.
5885
f9e48344
TT
58862018-10-06 Tom Tromey <tom@tromey.com>
5887
5888 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5889 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5890
2a8be203
TT
58912018-10-06 Tom Tromey <tom@tromey.com>
5892
5893 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5894 of a "throw" catchpoint.
5895
e04caa70
SDJ
58962018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5897
5898 * gdb.base/info-proc.exp: Update string expected from "help info
5899 proc".
5900
5ca8c39f
TT
59012018-10-04 Tom Tromey <tom@tromey.com>
5902
5903 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5904 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5905 (test_initial_complaints, test_empty_complaints): Update.
5906 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5907
3453e7e4
TT
59082018-10-04 Tom Tromey <tom@tromey.com>
5909
5910 PR cli/19551:
5911 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5912 * lib/gdb.exp (gdb_file_cmd): Update.
5913 * gdb.stabs/weird.exp (print_weird_var): Update.
5914 * gdb.server/solib-list.exp: Update.
5915 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5916 * gdb.mi/mi-cli.exp: Update.
5917 * gdb.linespec/linespec.exp: Update.
5918 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5919 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5920 * gdb.cp/cp-relocate.exp: Update.
5921 * gdb.base/sym-file.exp: Update.
5922 * gdb.base/relocate.exp: Update.
5923 * gdb.base/readnever.exp: Update.
5924 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5925 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5926 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5927 * gdb.base/code_elim.exp: Update.
5928 * gdb.base/break-unload-file.exp (test_break): Update.
5929 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5930 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5931 Update.
5932 * gdb.base/attach.exp (do_attach_tests): Update.
5933 * gdb.base/sepdebug.exp: Update.
5934 * gdb.python/py-section-script.exp: Update.
5935
6afcf761
TT
59362018-10-04 Tom Tromey <tom@tromey.com>
5937
5938 PR cli/22234:
5939 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5940 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5941 output.
5942
fef1b293
TT
59432018-10-04 Tom Tromey <tom@tromey.com>
5944
5945 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5946 set width and height to 0.
5947 (test_command_line_attach_run): Use -quiet.
5948
ca98345e
SL
59492018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5950
5951 * lib/gdb.exp (skip_ifunc_tests): New.
5952 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5953 other compile failures.
5954 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5955
ff34e6ae
SM
59562018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5957
5958 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5959 is_amd64_regs_target.
5960
6bb8890e
AH
59612018-10-01 Alan Hayward <alan.hayward@arm.com>
5962
5963 * gdb.arch/aarch64-sighandler-regs.c: New test.
5964 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5965 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5966
224d30d3
MM
59672018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5968
5969 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5970 assembly.
5971
f67ffa6a
AB
59722018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5973
5974 * gdb.base/frame-selection.exp: New file.
5975 * gdb.base/frame-selection.c: New file.
5976
9fc3183f
AH
59772018-09-27 Alan Hayward <alan.hayward@arm.com>
5978
5979 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5980 pthread barrier.
5981 (main): Likewise.
5982
d354055e
AB
59832018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5984
5985 * gdb.base/large-frame-1.c: New file.
5986 * gdb.base/large-frame-2.c: New file.
5987 * gdb.base/large-frame.exp: New file.
5988 * gdb.base/large-frame.h: New file.
5989
db727370
JL
59902018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5991
5992 PR gdb/20948
5993 * gdb.base/write_mem.exp: New test.
5994 * gdb.base/write_mem.c: Likewise.
5995
ae778caf
TT
59962018-09-23 Tom Tromey <tom@tromey.com>
5997
5998 PR python/18852:
5999 * gdb.python/py-parameter.exp: Add test for parameter that throws
6000 on "set".
6001
fd3ba736
TT
60022018-09-23 Tom Tromey <tom@tromey.com>
6003
6004 PR python/17284:
6005 * gdb.python/py-template.exp (test_template_arg): Add test for
6006 negative template argument number.
6007
39a24317
TT
60082018-09-23 Tom Tromey <tom@tromey.com>
6009
6010 PR python/14062:
6011 * gdb.python/python.exp: Add test for post_event error.
6012
f5769a2c
TT
60132018-09-23 Tom Tromey <tom@tromey.com>
6014
6015 PR python/18170:
6016 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6017 convert pointers to int and long.
6018
1c1e54f6
TT
60192018-09-23 Tom Tromey <tom@tromey.com>
6020
6021 PR python/20126:
6022 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6023 signed-ness conversion tests.
6024
fb4fa946
TT
60252018-09-23 Tom Tromey <tom@tromey.com>
6026
6027 PR python/18352;
6028 * gdb.python/py-value.exp (test_float_conversion): New proc.
6029 Use it.
6030
a466edac
HAQ
60312018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6032
6033 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6034
4ee9b0c5
SL
60352018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6036
6037 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6038 no readline.
6039 * gdb.base/utf8-identifiers.exp: Likewise.
6040 * gdb.cp/cpcompletion.exp: Likewise.
6041 * gdb.linespec/cpcompletion.exp: Likewise.
6042 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6043 * gdb.linespec/cpls-ops.exp: Likewise.
6044
23be8da7
RB
60452018-09-19 Richard Bunt <richard.bunt@arm.com>
6046 Chris January <chris.january@arm.com>
6047
6048 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6049 * gdb.fortran/short-circuit-argument-list.exp: New file.
6050 * gdb.fortran/short-circuit-argument-list.f90: New test.
6051
5031d0ae
SDJ
60522018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6053
6054 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6055 "arch=" keyword when executing "-stack-list-frames".
6056
b4c0d1a4
SDJ
60572018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6058
6059 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6060 "arch=" keyword when executing "-stack-list-frames".
6061
7a6d2b45
SDJ
60622018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6063
6064 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6065 break ada".
6066
8588b356
SM
60672018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6068
6069 PR python/23669
6070 * gdb.python/python.exp: Test gdb.execute("show commands").
6071
65e65158
TT
60722018-09-16 Tom Tromey <tom@tromey.com>
6073
6074 * gdb.base/new-ui.exp (do_execution_tests): Update.
6075 * gdb.base/dbx.exp (test_breakpoints): Update.
6076
bf326452
AH
60772018-09-14 Alan Hayward <alan.hayward@arm.com>
6078
6079 * lib/gdb.exp (gdb_simple_compile): Add proc.
6080 (is_elf_target): Use gdb_simple_compile.
6081 (skip_altivec_tests): Likewise.
6082 (skip_vsx_tests): Likewise.
6083 (skip_tsx_tests): Likewise.
6084 (skip_btrace_tests): Likewise.
6085 (skip_btrace_pt_tests): Likewise.
6086 (gdb_can_simple_compile): Likewise.
6087 (gdb_has_argv0): Likewise.
6088 (gdb_target_symbol_prefix): Likewise.
6089 (target_supports_scheduler_locking): Likewise.
6090
2361b0fb
TT
60912018-09-13 Tom Tromey <tom@tromey.com>
6092
6093 * Makefile.in (TAGS): Recognize proc_with_prefix and
6094 gdb_caching_proc.
6095
0ae1a321
SM
60962018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6097
6098 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6099 method.
6100
a40bf0c2
SM
61012018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6102
6103 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6104 and a few other Inferior properties when the Inferior is no
6105 longer valid.
6106
4a3fe98f
TT
61072018-09-13 Tom Tromey <tom@tromey.com>
6108
6109 PR rust/23650:
6110 * gdb.rust/simple.exp: Add test for enum field access error.
6111
098b2108
TT
61122018-09-13 Tom Tromey <tom@tromey.com>
6113
6114 PR rust/23626:
6115 * gdb.rust/simple.rs (EmptyEnum): New type.
6116 (main): Use it.
6117 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6118
1256af7d
SM
61192018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6120
6121 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6122 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6123 * gdb.python/py-symtab.exp: Update test printing an objfile.
6124
4aa8e6c2
SM
61252018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6126
6127 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6128 object.
6129
c221b2f7
AH
61302018-09-12 Alan Hayward <alan.hayward@arm.com>
6131
6132 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6133 (support_complex_tests): Use gdb_can_simple_compile.
6134 (is_ilp32_target): Likewise.
6135 (is_lp64_target): Likewise.
6136 (is_64_target): Likewise.
6137 (is_amd64_regs_target): Likewise.
6138 (is_aarch32_target): Likewise.
6139 (gdb_int128_helper): Likewise.
6140
6f1107b5
JK
61412018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6142
6143 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6144
1f5d1570
JG
61452018-09-10 Jerome Guitton <guitton@adacore.com>
6146
6147 * gdb.ada/same_component_name: Add test for case of tagged record
6148 with variable-length fields.
6149
cc330e39
XR
61502018-09-10 Xavier Roirand <roirand@adacore.com>
6151
6152 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6153 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6154 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6155 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6156
b9c50e9a
XR
61572018-09-10 Xavier Roirand <roirand@adacore.com>
6158
6159 * gdb.ada/mi_string_access.exp: New testcase.
6160 * gdb.ada/mi_string_access/bar.adb: New file.
6161 * gdb.ada/mi_string_access/pck.adb: New file.
6162 * gdb.ada/mi_string_access/pck.asd: New file.
6163
2963898f
XR
61642018-09-10 Xavier Roirand <roirand@adacore.com>
6165
6166 * gdb.ada/mi_var_union.exp: New testcase.
6167 * gdb.ada/mi_var_union/bar.adb: New file.
6168 * gdb.ada/mi_var_union/pck.adb: New file.
6169 * gdb.ada/mi_var_union/pck.asd: New file.
6170
1aac008f
TT
61712018-09-08 Tom Tromey <tom@tromey.com>
6172
6173 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6174
332cf4c9
TT
61752018-09-08 Tom Tromey <tom@tromey.com>
6176
6177 PR python/16047:
6178 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6179 (register_pretty_printers): Register new printer.
6180 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6181 test.
6182 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6183 (an_int_type3): New global.
6184
424da6cf
JB
61852018-09-08 Joel Brobecker <brobecker@adacore.com>
6186
6187 * gdb.ada/expr_with_funcall: New testcase.
6188
2a62dfa9
JB
61892018-09-08 Joel Brobecker <brobecker@adacore.com>
6190
6191 * gdb.ada/packed_array_assign: New testcase.
6192
96b6697f
AB
61932018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6194
6195 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6196 names, and add test prefixes to make test names unique.
6197
e4a62c65
TV
61982018-09-05 Tom de Vries <tdevries@suse.de>
6199
6200 * gdb.dwarf2/varval.exp: Add test.
6201
dd083ee2
GB
62022018-09-04 Gary Benson <gbenson@redhat.com>
6203
6204 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6205 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6206
aef9346c
TT
62072018-08-31 Tom Tromey <tom@tromey.com>
6208
6209 * gdb.rust/simple.rs: Rename second variable "v".
6210
c67f2e15
AB
62112018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6212
6213 * gdb.base/funcargs.c (use_a): New function.
6214 (recurse): Call use_a.
6215
078a0207
KS
62162018-08-29 Keith Seitz <keiths@redhat.com>
6217
6218 * gdb.compile/compile-cplus-anonymous.cc: New file.
6219 * gdb.compile/compile-cplus-anonymous.exp: New file.
6220 * gdb.compile/compile-cplus-array-decay.cc: New file.
6221 * gdb.compile/compile-cplus-array-decay.exp: New file.
6222 * gdb.compile/compile-cplus-inherit.cc: New file.
6223 * gdb.compile/compile-cplus-inherit.exp: New file.
6224 * gdb.compile/compile-cplus-member.cc: New file.
6225 * gdb.compile/compile-cplus-member.exp: New file.
6226 * gdb.compile/compile-cplus-method.cc: New file.
6227 * gdb.compile/compile-cplus-method.exp: New file.
6228 * gdb.compile/compile-cplus-mod.c: "New" file.
6229 * gdb.compile/compile-cplus-namespace.cc: New file.
6230 * gdb.compile/compile-cplus-namespace.exp: New file.
6231 * gdb.compile/compile-cplus-nested.cc: New file.
6232 * gdb.compile/compile-cplus-nested.exp: New file.
6233 * gdb.compile/compile-cplus-print.c: "New" file.
6234 * gdb.compile/compile-cplus-print.exp: "New" file.
6235 * gdb.compile/compile-cplus-virtual.cc: New file.
6236 * gdb.compile/compile-cplus-virtual.exp: New file.
6237 * gdb.compile/compile-cplus.c: "New" file.
6238 * gdb.compile/compile-cplus.exp: "New" file.
6239 * lib/compile-support.exp: New file.
6240
b0f492b9
GB
62412018-08-16 Gary Benson <gbenson@redhat.com>
6242
6243 PR gdb/13000:
6244 * gdb.base/batch-exit-status.exp: New file.
6245 * gdb.base/batch-exit-status.good-commands: Likewise.
6246 * gdb.base/batch-exit-status.bad-commands: Likewise.
6247
36eb4c5f
AH
62482018-08-29 Alan Hayward <alan.hayward@arm.com>
6249
6250 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6251 (struct struct02): Likewise.
6252 (struct struct03): Likewise.
6253 (struct struct04): Likewise.
6254 (struct struct_01_01): New struct.
6255 (struct struct_01_02): Likewise.
6256 (struct struct_01_03): Likewise.
6257 (struct struct_01_04): Likewise.
6258 (struct struct_02_01): Likewise.
6259 (struct struct_02_02): Likewise.
6260 (struct struct_02_03): Likewise.
6261 (struct struct_02_04): Likewise.
6262 (struct struct_04_01): Likewise.
6263 (struct struct_04_02): Likewise.
6264 (struct struct_04_03): Likewise.
6265 (struct struct_04_04): Likewise.
6266 (struct struct_05_01): Likewise.
6267 (struct struct_05_02): Likewise.
6268 (struct struct_05_03): Likewise.
6269 (struct struct_05_04): Likewise.
6270 (cmp_struct01): Remove function.
6271 (cmp_struct02): Likewise.
6272 (cmp_struct03): Likewise.
6273 (cmp_struct04): Likewise.
6274 (cmp_struct_01_01): Add Function.
6275 (cmp_struct_01_02): Likewise.
6276 (cmp_struct_01_03): Likewise.
6277 (cmp_struct_01_04): Likewise.
6278 (cmp_struct_02_01): Likewise.
6279 (cmp_struct_02_02): Likewise.
6280 (cmp_struct_02_03): Likewise.
6281 (cmp_struct_02_04): Likewise.
6282 (cmp_struct_04_01): Likewise.
6283 (cmp_struct_04_02): Likewise.
6284 (cmp_struct_04_03): Likewise.
6285 (cmp_struct_04_04): Likewise.
6286 (cmp_struct_05_01): Likewise.
6287 (cmp_struct_05_02): Likewise.
6288 (cmp_struct_05_03): Likewise.
6289 (cmp_struct_05_04): Likewise.
6290 (call_all): Add new structs.
6291 * gdb.base/infcall-nested-structs.exp: Likewise.
6292
3bf9c013
JV
62932018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6294
6295 * gdb.python/py-framefilter-mi.exp: Update regexp to
6296 check for "arch" field in frame output.
6297
450d1e88
KB
62982018-08-23 Kevin Buettner <kevinb@redhat.com>
6299
6300 * gdb.dwarf2/dw2-ranges-func.c: New file.
6301 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6302
ae739fe7
SM
63032018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6304
6305 * gdb.base/term.exp: Compare terminal settings with values from
6306 the inferior.
6307 * gdb.base/term.c: Get and set terminal settings.
6308
6d52907e
JV
63092018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6310
6311 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6312 accommodate new "arch" field in frame output.
6313 * gdb.mi/mi-return.exp: Likewise.
6314 * gdb.mi/mi-stack.exp: Likewise.
6315 * gdb.mi/mi-syn-frame.exp: Likewise.
6316 * gdb.mi/user-selected-context-sync.exp: Likewise.
6317
be2d111a
MS
63182018-08-19 Michael Spang <spang@google.com>
6319
6320 PR gdb/11786
6321 * gdb.base/gcore-tls-pie.c: New file.
6322 * gdb.base/gcore-tls-pie.exp: New file.
6323
ae3a7c47
KB
63242018-08-18 Kevin Buettner <kevinb@redhat.com>
6325
6326 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
6327 * gdb.dwarf2/varval.c: New file.
6328 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 6329
2ecae92e
AH
63302018-08-17 Alan Hayward <alan.hayward@arm.com>
6331
6332 PR gdb/18931
6333 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6334
c1854f1d
KS
63352018-08-16 Keith Seitz <keiths@redhat.com>
6336
6337 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6338 tests expected to pass.
6339
26fb3983
JV
63402018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6341
6342 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6343 -data-disassemble -a.
6344 (test_disassembly_bogus_args): Likewise.
6345
67943c00
AB
63462018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6347
6348 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6349
5ff2bbae
AB
63502018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6351
6352 * gdb.base/vla-optimized-out.exp: Add new test.
6353
e5bbcd0f
AB
63542018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6355
6356 * gdb.base/vla-optimized-out-o3.exp: Delete.
6357 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6358 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6359 deleted tests.
6360
9d4a934c
AB
63612018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6362
6363 PR gdb/18050:
6364 * gdb.server/extended-remote-restart.c: New file.
6365 * gdb.server/extended-remote-restart.exp: New file.
6366
045cf012
SM
63672018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6368
6369 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6370 "set variable index = 42".
6371
87d6a7aa
SM
63722018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6373
6374 * boards/index-cache-gdb.exp: New file.
6375 * gdb.dwarf2/index-cache.exp: New file.
6376 * gdb.dwarf2/index-cache.c: New file.
6377 * gdb.base/maint.exp: Check if we are using the index cache.
6378
96d68bd4
RO
63792018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6380
6381 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6382 MAKEFLAGS.
6383
5a699617
RO
63842018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6385
6386 * dg-extract-results.sh: Move to toplevel contrib.
6387 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6388 * Makefile.in (check-parallel-racy): Likewise.
6389
5bd18990
AB
63902018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6391
6392 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6393 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6394 tests if the target supports scheduler locking.
6395
3fbbcf47
TV
63962018-08-04 Tom de Vries <tdevries@suse.de>
6397
6398 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6399
3e1d3d8c
TT
64002018-08-02 Tom Tromey <tom@tromey.com>
6401
6402 PR symtab/16842.
6403 * gdb.cp/temargs.exp: Test "info address" of a template
6404 parameter.
6405
5abe0f0c
JV
64062018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6407
6408 * gdb.python/py-mi-var-info-path-expression.c: New file.
6409 * gdb.python/py-mi-var-info-path-expression.py: New file.
6410 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6411
fb66cde8
SDJ
64122018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6413
6414 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6415 error after "cannot resolve name" string.
6416
c708f4d2
AB
64172018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6418
6419 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6420 started.
6421 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6422
37cc0cae
TV
64232018-07-28 Tom de Vries <tdevries@suse.de>
6424
6425 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6426
63b4ecf7
TV
64272018-07-26 Tom de Vries <tdevries@suse.de>
6428
6429 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6430
3c3bb058
AB
64312018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6432
6433 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6434 is visible.
6435
9e7f3bbb
TV
64362018-07-26 Tom de Vries <tdevries@suse.de>
6437
6438 PR breakpoints/23366
6439 * gdb.base/catch-follow-exec.c: New test.
6440 * gdb.base/catch-follow-exec.exp: New file.
6441
16f808ec
TV
64422018-07-25 Tom de Vries <tdevries@suse.de>
6443
6444 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6445 vla-optimized-out.c.
6446
d7154a8d
JV
64472018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6448
6449 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6450 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6451
232a0032
TV
64522018-07-20 Tom de Vries <tdevries@suse.de>
6453
6454 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6455 NOCLONE macro.
6456 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6457
fbb1d502
TV
64582018-07-19 Tom de Vries <tdevries@suse.de>
6459
6460 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6461 regular expression.
6462
42dc7699
TV
64632018-07-18 Tom de Vries <tdevries@suse.de>
6464
6465 * gdb.base/vla-optimized-out.c: New test.
6466 * gdb.base/vla-optimized-out.exp: New file.
6467
7f1f7e23
SDJ
64682018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6469
6470 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6471 message "No address associated with hostname" when gdbserver
6472 cannot resolve the hostname.
6473
5759ebb3
PW
64742018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6475
6476 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6477 Add some test prefixes to make tests unique.
6478
3606ccab
PW
64792018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6480
6481 * gdb.base/frameapply.c: New file.
6482 * gdb.base/frameapply.exp: New file.
6483
529c08b2
PW
64842018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6485
6486 * gdb.base/skip.exp: Update expected error message.
6487
c7ab0aef
SDJ
64882018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6489 Jan Kratochvil <jan.kratochvil@redhat.com>
6490 Paul Fertser <fercerpav@gmail.com>
6491 Tsutomu Seki <sekiriki@gmail.com>
6492
6493 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6494 parameter.
6495 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6496 by default.
6497 * boards/native-gdbserver.exp: Likewise.
6498 * gdb.server/run-without-local-binary.exp: Improve regexp used
6499 for detecting when a remote debugging connection succeeds.
6500 * gdb.server/server-connect.exp: New file.
6501 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6502 Do not prefix the port number with ":".
6503 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6504 support for detecting and using it. Add '$debughost_gdbserver'
6505 to the list of arguments used to start gdbserver. Handle case
6506 when gdbserver cannot resolve a network name.
6507
16ff70dd
SDJ
65082018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6509
6510 PR c++/23373
6511 * gdb.base/ptype-offsets.cc (struct static_member): New
6512 struct.
6513 (main) <stmember>: New variable.
6514 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6515 with a static member in it.
6516
3541979f
AB
65172018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6518
6519 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6520 watchpoints enabled and disabled.
6521
c8ad9b9a
AB
65222018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6523
6524 * gdb.base/examine-backward.exp: Still run tests around address
6525 0x0, even if address 0x0 is not readable. Update the pattern for
6526 matching address 0x0 in expected output.
6527
e0e5e971
AB
65282018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6529
6530 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6531 malloc/free.
6532
1ea5da02
TV
65332018-07-04 Tom de Vries <tdevries@suse.de>
6534
6535 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6536
471b9d15
MR
65372018-07-02 Maciej W. Rozycki <macro@mips.com>
6538
6539 PR tdep/8282
6540 * gdb.arch/mips-disassembler-options.exp: New test.
6541 * gdb.arch/mips-disassembler-options.s: New test source.
6542
75acb486
PA
65432018-06-29 Pedro Alves <palves@redhat.com>
6544
6545 * gdb.threads/names.exp: Adjust expected "info threads" output.
6546
cd2bb709
PA
65472018-06-29 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.opt/inline-break.exp (line number, address): Add "info
6550 break" tests.
6551
991ff292
PA
65522018-06-29 Pedro Alves <palves@redhat.com>
6553
6554 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6555 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6556 number and address and running to them.
6557
356819b6 65582018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
6559
6560 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6561
2512d7ef
JK
65622018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6563
6564 * lib/compiler.c: Remove executable permission flag.
6565
be1b6474
RB
65662018-06-28 Richard Bunt <richard.bunt@arm.com>
6567
6568 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6569 code.
6570 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6571
291f9a96
PT
65722018-06-28 Petr Tesarik <ptesarik@suse.cz>
6573
6574 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6575
ed6dfe51
PT
65762018-06-28 Petr Tesarik <ptesarik@suse.cz>
6577
6578 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6579 address argument is omitted.
6580
d4d429d5
PT
65812018-06-28 Petr Tesarik <ptesarik@suse.cz>
6582
6583 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6584
7ab6656f
OJ
65852018-06-27 Omair Javaid <omair.javaid@linaro.org>
6586
6587 PR gdb/21695
6588 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6589 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6590
a33ccfc7
TT
65912018-06-26 Tom Tromey <tom@tromey.com>
6592
6593 PR rust/22574:
6594 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6595 * gdb.rust/simple.rs (struct SimpleLayout): New.
6596
6d72d289
SM
65972018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6598
6599 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6600 "info registers" output.
6601
8363f9d5
RB
66022018-06-21 Richard Bunt <richard.bunt@arm.com>
6603
6604 * gdb.base/watchpoint-hw-attach.c: New test.
6605 * gdb.base/watchpoint-hw-attach.exp: New file.
6606
f00674fe
SM
66072018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6608
6609 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6610 through /bin/sh.
6611 * boards/dwarf4-gdb-index.exp: Likewise.
6612 * boards/fission-dwp.exp: Likewise.
6613
1d554008
UW
66142018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6615
6616 * gdb.base/float128.exp: Add comment and improved fail message
6617 to the failure case of "print large128" test.
6618
d0ac1c44
SM
66192018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6620
6621 * configure.ac: Remove AC_PREREQ.
6622 * configure: Re-generate.
6623
61b04dd0
PA
66242018-06-19 Pedro Alves <palves@redhat.com>
6625
6626 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6627 (func_extern_caller): New.
6628 (main): Call func_extern_caller.
6629 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6630 logic change.
6631
f63b508a
SM
66322018-06-18 Weimin Pan <weimin.pan@oracle.com>
6633
6634 PR gdb/16841
6635 * gdb.cp/typedef-base.cc: New file.
6636 * gdb.cp/typedef-base.exp: New file.
6637
0fe3a558
TV
66382018-06-18 Tom de Vries <tdevries@suse.de>
6639
6640 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6641
7010835a
AB
66422018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6643 Richard Bunt <Richard.Bunt@arm.com>
6644
6645 * gdb.threads/attach-slow-waitpid.c: New file.
6646 * gdb.threads/attach-slow-waitpid.exp: New file.
6647 * gdb.threads/slow-waitpid.c: New file.
6648
14897d65
PA
66492018-06-14 Pedro Alves <palves@redhat.com>
6650
6651 * gdb.base/fork-running-state.c: Include <errno.h>.
6652 (exit_if_relative_exits): New.
6653 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6654 exits.
6655 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6656 child exits.
6657
5d9a0608
TV
66582018-06-14 Tom de Vries <tdevries@suse.de>
6659
6660 PR cli/22573
6661 * gdb.base/finish-pretty.c: New test.
6662 * gdb.base/finish-pretty.exp: New file.
6663
11ae5818
PA
66642018-06-14 Pedro Alves <palves@redhat.com>
6665
6666 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6667 gdb's expected startup output.
6668
1d39de44
PA
66692018-06-14 Pedro Alves <palves@redhat.com>
6670
6671 * lib/selftest-support.exp (selftest_setup): Remove inlined
6672 function handling.
6673
70ee0000
TV
66742018-06-14 Tom de Vries <tdevries@suse.de>
6675
6676 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6677 matching of breakpoint printing.
6678
11f4b608
TV
66792018-06-13 Tom de Vries <tdevries@suse.de>
6680
6681 PR testsuite/23269
6682 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6683 (fork_child): ... here, and ...
6684 (fork_parent): ... here.
6685
66862018-06-12 Tom de Vries <tdevries@suse.de>
6687
6688 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6689
9516f85a
AB
66902018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6691 Stephen Roberts <stephen.roberts@arm.com>
6692
6693 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6694 rewrite test to describe action performed, rather than possible
6695 failure.
6696
5045b3d7
GB
66972018-06-08 Gary Benson <gbenson@redhat.com>
6698
6699 * gdb.threads/check-libthread-db.exp: New file.
6700 * gdb.threads/check-libthread-db.c: Likewise.
6701
c61b06a1
TT
67022018-06-05 Tom Tromey <tom@tromey.com>
6703
6704 * gdb.base/default.exp: Update expected "show version" output.
6705
eb6af809
TT
67062018-06-05 Tom Tromey <tom@tromey.com>
6707
6708 PR cli/12326:
6709 * gdb.cp/static-print-quit.exp: Update.
6710 * lib/gdb.exp (pagination_prompt): Update.
6711 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6712 * gdb.python/python.exp: Update.
6713
178d6a63
JB
67142018-06-04 Joel Brobecker <brobecker@adacore.com>
6715
6716 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6717
8e817061
JB
67182018-06-01 Joel Brobecker <brobecker@adacore.com>
6719
6720 * gdb.ada/bp_fun_addr: New testcase.
6721
e86ca25f
TT
67222018-06-01 Tom Tromey <tom@tromey.com>
6723
6724 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6725 results.
6726 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6727 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6728 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6729 * gdb.base/maint.exp (maint_pass_if): Update.
6730
4b2dfa9d
MR
67312018-05-31 Maciej W. Rozycki <macro@mips.com>
6732
6733 * gdb.base/endian.exp: New test.
6734 * gdb.base/endian.c: New test source.
6735
45f25d6c
AB
67362018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6737
6738 PR gdb/23203
6739 * gdb.base/bt-selected-frame.c: New file.
6740 * gdb.base/bt-selected-frame.exp: New file.
6741 * lib/gdb.exp (get_current_frame_number): New function.
6742
d9f6d7f8
MR
67432018-05-24 Maciej W. Rozycki <macro@mips.com>
6744 Pedro Alves <palves@redhat.com>
6745
6746 * gdb.threads/tls-core.c: Include <stdlib.h>
6747 (thread_proc): Call `abort'.
6748 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6749 (tls_core_test): New procedure, bits factored out from ...
6750 (top level): ... here. Test both native cores and gcore cores.
6751
ff1cf532
TT
67522018-05-23 Tom Tromey <tom@tromey.com>
6753
6754 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6755
b98664d3
TT
67562018-05-23 Tom Tromey <tom@tromey.com>
6757
6758 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6759 symfile_complaints.
6760 (test_short_complaints): Likewise.
6761 (test_empty_complaints): Likewise.
6762 (test_initial_complaints): Update.
6763
4e9668d0
TT
67642018-05-23 Tom Tromey <tom@tromey.com>
6765
6766 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6767
43ba33c7
TT
67682018-05-23 Tom Tromey <tom@tromey.com>
6769
6770 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6771 (test_short_complaints): Update.
6772
035522c0
PA
67732018-05-22 Pedro Alves <palves@redhat.com>
6774
6775 * gdb.base/remote.exp: Only gdb_start after compiling the
6776 testcase. Issue "disconnect" before testing "set remote" command
6777 defaults. Issue clean_restart before running to main.
6778
cc0be08f
PA
67792018-05-22 Pedro Alves <palves@redhat.com>
6780
6781 * gdb.base/remote.exp: Adjust expected output of "show remote
6782 memory-write-packet-size". Add tests for "set remote
6783 memory-write-packet-size 0" and "set remote
6784 memory-write-packet-size fixed/limit".
6785
b1b60145
PA
67862018-05-22 Pedro Alves <palves@redhat.com>
6787
6788 PR gdb/22973
6789 * gdb.base/utf8-identifiers.c: New file.
6790 * gdb.base/utf8-identifiers.exp: New file.
6791
0ec848ad
PFC
67922018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6793
6794 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6795
2c3305f6
PFC
67962018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6797
6798 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6799
ce1e8424
TT
68002018-05-18 Tom Tromey <tom@tromey.com>
6801
6802 * gdb.base/ptype-offsets.exp: Update.
6803
ddfe970e
KS
68042018-05-17 Keith Seitz <keiths@redhat.com>
6805
6806 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6807 in expected breakpoint stop locations.
6808 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6809 move to proper scope to test variable values.
6810 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6811 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6812 New functions.
6813 (main): Call not_inline_func3.
6814 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6815 inline_func1, inline_func2, and inline_func3. Test that when each
6816 breakpoint is hit, GDB properly reports both the stop location
6817 and the backtrace. Repeat tests for temporary breakpoints.
6818
0726fcc6
MR
68192018-05-15 Maciej W. Rozycki <macro@mips.com>
6820
6821 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6822 rather then trying to access it in determining whether the PID
6823 of `gdbserver' could have been retrieved.
6824
8ee22052
AB
68252018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6826
6827 * gdb.arch/amd64-init-x87-values.S: New file.
6828 * gdb.arch/amd64-init-x87-values.exp: New file.
6829
7785df48
JK
68302018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6831
6832 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6833
56bcdbea
TT
68342018-05-04 Tom Tromey <tom@tromey.com>
6835
6836 PR python/22730:
6837 * gdb.python/python.exp: Test multi-line execute.
6838
a913fffb
TT
68392018-05-04 Tom Tromey <tom@tromey.com>
6840
6841 PR python/22731:
6842 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6843
7a2c85f2
TT
68442018-05-04 Tom Tromey <tom@tromey.com>
6845
6846 PR gdb/11750:
6847 * gdb.base/define.exp: Test defining a user command inside a user
6848 command.
6849 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6850
a3b60e45
JK
68512018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6852 Pedro Alves <palves@redhat.com>
6853
6854 PR breakpoints/19806 and support for PR external/20207.
6855 * gdb.base/watchpoint-unaligned.c: New file.
6856 * gdb.base/watchpoint-unaligned.exp: New file.
6857
45fe4a03
AB
68582018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6859
6860 * gdb.base/maint.exp: Make test names unique, use
6861 test_prefix_command_help to test 'help maint info', and remove
6862 repeated test of 'help maint'.
6863
9be2ae8f
TT
68642018-05-04 Tom Tromey <tom@tromey.com>
6865
6866 PR gdb/22619:
6867 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6868 behavior.
6869
11859c31
AB
68702018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6871
6872 * gdb.base/maint.exp: Process output from 'maint print registers'
6873 line at a time.
6874
089a9490
AB
68752018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6876
6877 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6878 timeout.
6879
9b0797e2
AB
68802018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6881
6882 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6883 filter pattern.
6884
f6ac5f3d
PA
68852018-05-02 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6888 to_log_command renames.
6889 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6890
77d3c63b
TT
68912018-05-02 Tom Tromey <tom@tromey.com>
6892
6893 * gdb.python/py-parameter.exp: Set test message.
6894
0489430a
TT
68952018-05-02 Tom Tromey <tom@tromey.com>
6896
6897 PR python/20084:
6898 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6899 PARAM_ZUINTEGER_UNLIMITED tests.
6900
1632f8ba
DR
69012018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6902
6903 PR rust/23124
6904 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6905 when casting.
6906
6d7bb824
TT
69072018-04-30 Tom Tromey <tom@tromey.com>
6908
6909 * gdb.python/py-type.exp: Check align attribute.
6910 * gdb.python/py-type.c: New "aligncheck" global.
6911
007e1530
TT
69122018-04-30 Tom Tromey <tom@tromey.com>
6913
6914 PR exp/17095:
6915 * gdb.dwarf2/dw2-align.exp: New file.
6916 * gdb.cp/align.exp: New file.
6917 * gdb.base/align.exp: New file.
6918 * lib/gdb.exp (gdb_int128_helper): New proc.
6919 (has_int128_c, has_int128_cxx): New caching procs.
6920
6873858b
TT
69212018-04-27 Tom Tromey <tom@tromey.com>
6922
6923 PR rust/22545:
6924 * gdb.rust/simple.exp: Add inclusive range tests.
6925
79188d8d
PA
69262018-04-26 Pedro Alves <palves@redhat.com>
6927
6928 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6929 ifunc breakpoint locations correctly of ifunc breakpoints set
6930 while the program resolves the ifunc.
6931
c7075ad5
PA
69322018-04-26 Pedro Alves <palves@redhat.com>
6933
6934 * gdb.base/gnu-ifunc-final.c: New file.
6935 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6936 * gdb.base/gnu-ifunc.exp (executable): Delete.
6937 (staticexecutable): Adjust.
6938 (lib_opts, exec_opts): Delete.
6939 (make_binsuffix, build, set-break): New procedures.
6940 (misc_tests): New, with tests factored out from the top level.
6941 (top level): Test different combinations of ifunc resolver name,
6942 resolver with and with debug info, and ifunc target with and
6943 without debug info. Wrap static tests with with_target_prefix.
6944
8388016d
PA
69452018-04-26 Pedro Alves <palves@redhat.com>
6946
6947 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6948 return type" warnings.
6949
249b5733
PA
69502018-04-25 Pedro Alves <palves@redhat.com>
6951
6952 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6953 killed".
6954 * gdb.base/kill-after-signal.exp: Likewise.
6955 * gdb.threads/kill.exp: Likewise.
6956
f67c0c91
SDJ
69572018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6958 Sergio Durigan Junior <sergiodj@redhat.com>
6959 Pedro Alves <palves@redhat.com>
6960
6961 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6962 regexps to expect for '[Inferior ... detached]' as well.
6963 * gdb.base/attach.exp: Likewise.
6964 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6965 "gdb_continue_to_end".
6966 (test_catch_syscall_with_wrong_args): Likewise.
6967 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6968 ']'. Don't set 'verbose' on.
6969 * gdb.base/foll-vfork.exp: Likewise.
6970 * gdb.base/fork-print-inferior-events.c: New file.
6971 * gdb.base/fork-print-inferior-events.exp: New file.
6972 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6973 '[Inferior ... has been killed]' message.
6974 * gdb.base/kill-after-signal.exp: Likewise.
6975 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6976 detach message.
6977 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6978 message.
6979 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6980 regexps to expect for '[Inferior ... detached]' as well.
6981 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6982
0a8ddac4
SM
69832018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6984
6985 PR gdb/23104
6986 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6987
701adfb0
PA
69882018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6989
6990 PR gdb/23095
6991 * gdb.base/break-probes.exp: Pass shlib_load to
6992 prepare_for_testing. Set normal_bp to r_debug_state if target is
6993 bsd.
6994
d27d16bf
RB
69952018-04-19 Richard Bunt <richard.bunt@arm.com>
6996
6997 * gdb.threads/multiple-successive-infcall.c: New test.
6998 * gdb.threads/multiple-successive-infcall.exp: New file.
6999
a037790e
TT
70002018-04-17 Tom Tromey <tom@tromey.com>
7001
7002 * gdb.rust/simple.rs (Union): New type.
7003 (main): New local "u".
7004 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7005
e3a91079
AA
70062018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7007
7008 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7009 number information in output of "whereis" command.
7010 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7011
b744723f
AA
70122018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7013
7014 * gdb.ada/info_types.exp: Adjust expected output to the line
7015 numbers now printed by "info var/func/type".
7016 * gdb.base/completion.exp: Likewise.
7017 * gdb.base/included.exp: Likewise.
7018 * gdb.cp/cp-relocate.exp: Likewise.
7019 * gdb.cp/cplusfuncs.exp: Likewise.
7020 * gdb.cp/namespace.exp: Likewise.
7021 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7022
4a4495d6
MM
70232018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7024
7025 * gdb.btrace/cpu.exp: New.
7026
1d509aa6
MM
70272018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7028
7029 * gdb.base/step-indirect-call-thunk.exp: New.
7030 * gdb.base/step-indirect-call-thunk.c: New.
7031 * gdb.reverse/step-indirect-call-thunk.exp: New.
7032 * gdb.reverse/step-indirect-call-thunk.c: New.
7033
6295b6da
SM
70342018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7035
7036 * gdb.base/pie-fork.c: New file.
7037 * gdb.base/pie-fork.exp: New file.
7038
50146e70
TT
70392018-04-11 Tom Tromey <tom@tromey.com>
7040
7041 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7042
f50d8a2e
PA
70432018-04-10 Pedro Alves <palves@redhat.com>
7044
7045 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7046 exits. Instead loop running forever.
7047 (fork_parent): Run forever too.
7048
a0be7a36
SM
70492018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7050
7051 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7052 mi_continue_to_line.
7053 * gdb.mi/mi-stack.c (callee4): Add comment.
7054
9b73db36
SM
70552018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7056
7057 * gdb.mi/mi-stack.exp: Fix indentation.
7058
c912f608
SM
70592018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7060
7061 PR gdb/22979
7062 * gdb.arch/amd64-osabi.exp: New file.
7063
26540402
SM
70642018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7065
7066 PR gdb/22980
7067 * gdb.base/osabi.exp: New file.
7068
121ad66c 70692018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7070
7071 * gdb.cp/static-typedef-print.exp: New file.
7072 * gdb.cp/static-typedef-print.cc: New file.
7073
3fcded8f
JB
70742018-03-27 Joel Brobecker <brobecker@adacore.com>
7075
7076 * gdb.ada/varsize_limit: New testcase.
7077
59cc4834
JB
70782018-03-27 Joel Brobecker <brobecker@adacore.com>
7079
7080 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7081
7082 * gdb.ada/notcplusplus: New testcase.
7083
7084 * gdb.base/c-linkage-name.c: New file.
7085 * gdb.base/c-linkage-name.exp: New testcase.
7086
4ca59a9f
TT
70872018-03-26 Tom Tromey <tom@tromey.com>
7088
7089 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7090 * gdb.python/py-framefilter.py (name_error): New global.
7091 (ErrorInName.function): Use name_error.
7092
978d6c75
TT
70932018-03-26 Tom Tromey <tom@tromey.com>
7094
7095 PR backtrace/15582:
7096 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7097
b7fee5a3
KS
70982018-03-23 Keith Seitz <keiths@redhat.com>
7099
7100 PR c++/22968
7101 * gdb.cp/subtypes.exp: New file.
7102 * gdb.cp/subtypes.h: New file.
7103 * gdb.cp/subtypes.cc: New file.
7104 * gdb.cp/subtypes-2.cc: New file.
7105
376be529
AB
71062018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7107
7108 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7109 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7110 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7111 -nostartfiles when compiling the test. Confirm that all registers
7112 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7113
066cfa98
AB
71142018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7115
7116 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7117 option, syntax was wrong anyway.
7118 * gdb.arch/arm-disp-step.exp: Likewise.
7119 * gdb.arch/sparc64-regs.exp: Likewise.
7120 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7121 option, syntax was wrong anyway, switch to use
7122 prepare_for_testing.
7123 * gdb.arch/i386-disp-step.exp: Likewise.
7124
079670b9
AA
71252018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7126
7127 * gdb.ada/exec_changed.exp: Replace "target_info exists
7128 use_gdb_stub" by "use_gdb_stub".
7129 * gdb.ada/start.exp: Likewise.
7130 * gdb.base/async-shell.exp: Likewise.
7131 * gdb.base/attach-pie-misread.exp: Likewise.
7132 * gdb.base/attach-wait-input.exp: Likewise.
7133 * gdb.base/break-entry.exp: Likewise.
7134 * gdb.base/break-interp.exp: Likewise.
7135 * gdb.base/dprintf-detach.exp: Likewise.
7136 * gdb.base/nostdlib.exp: Likewise.
7137 * gdb.base/solib-nodir.exp: Likewise.
7138 * gdb.base/statistics.exp: Likewise.
7139 * gdb.base/testenv.exp: Likewise.
7140 * gdb.mi/mi-exec-run.exp: Likewise.
7141 * gdb.mi/mi-start.exp: Likewise.
7142 * gdb.multi/dummy-frame-restore.exp: Likewise.
7143 * gdb.multi/multi-arch-exec.exp: Likewise.
7144 * gdb.multi/multi-arch.exp: Likewise.
7145 * gdb.multi/tids.exp: Likewise.
7146 * gdb.multi/watchpoint-multi.exp: Likewise.
7147 * gdb.python/py-events.exp: Likewise.
7148 * gdb.threads/attach-into-signal.exp: Likewise.
7149 * gdb.threads/attach-stopped.exp: Likewise.
7150 * gdb.threads/threadapply.exp: Likewise.
7151 * lib/selftest-support.exp: Likewise.
7152
26d6cec4
AA
71532018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7154
7155 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7156
4ee89e90
SR
71572018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7158
7159 * gdb.perf/template-breakpoints.cc: New file.
7160 * gdb.perf/template-breakpoints.exp: New file.
7161 * gdb.perf/template-breakpoints.py: New file.
7162
92630041
TT
71632018-03-19 Tom Tromey <tom@tromey.com>
7164
7165 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7166 y0.
7167 * gdb.rust/simple.exp: Test bare identifier form of struct
7168 initializer.
7169
76727919
TT
71702018-03-19 Tom Tromey <tom@tromey.com>
7171
7172 * gdb.gdb/observer.exp: Remove.
7173
194ed413
AA
71742018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7175
7176 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7177 "qualified" option when setting breakpoints.
7178 * gdb.trace/backtrace.exp: Likewise.
7179 * gdb.trace/circ.exp: Likewise.
7180 * gdb.trace/collection.exp: Likewise.
7181 * gdb.trace/disconnected-tracing.exp: Likewise.
7182 * gdb.trace/ftrace-lock.exp: Likewise.
7183 * gdb.trace/ftrace.exp: Likewise.
7184 * gdb.trace/infotrace.exp: Likewise.
7185 * gdb.trace/packetlen.exp: Likewise.
7186 * gdb.trace/passc-dyn.exp: Likewise.
7187 * gdb.trace/qtro.exp: Likewise.
7188 * gdb.trace/read-memory.exp: Likewise.
7189 * gdb.trace/report.exp: Likewise.
7190 * gdb.trace/signal.exp: Likewise.
7191 * gdb.trace/status-stop.exp: Likewise.
7192 * gdb.trace/strace.exp: Likewise.
7193 * gdb.trace/tfind.exp: Likewise.
7194 * gdb.trace/trace-break.exp: Likewise.
7195 * gdb.trace/trace-condition.exp: Likewise.
7196 * gdb.trace/trace-mt.exp: Likewise.
7197 * gdb.trace/tstatus.exp: Likewise.
7198 * gdb.trace/tsv.exp: Likewise.
7199 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7200 * gdb.trace/unavailable.exp: Likewise.
7201 * gdb.trace/while-dyn.exp: Likewise.
7202
8b067d2c
AA
72032018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7204
7205 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7206 that libinproctrace is copied to the target.
7207
3ae9ce5d
TT
72082018-03-14 Tom Tromey <tom@tromey.com>
7209
7210 PR cli/14977:
7211 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7212 a null pointer.
7213 * gdb.base/wchar.exp: Likewise.
7214
b8c2339b
TT
72152018-03-14 Tom Tromey <tom@tromey.com>
7216
7217 PR cli/19918:
7218 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7219 flag.
7220
4872dc46
SM
72212018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7222
7223 PR gdb/22841
7224 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7225 "target" to remote_exec.
7226
e4fe3756
SM
72272018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7228
7229 PR gdb/22841
7230 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7231 ${board}_upload): Remove.
7232
e95a97d4
AA
72332018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7234
7235 * gdb.cp/watch-cp.cc: New test.
7236 * gdb.cp/watch-cp.exp: New file.
7237
dbbb1059
AB
72382018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7239
7240 * gdb.base/infcall-nested-structs.exp: New file.
7241 * gdb.base/infcall-nested-structs.c: New file.
7242 * gdb.base/float.exp: Add riscv support.
7243
ecc054c0
TP
72442018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7245
7246 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7247 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7248
25e3c82c
SDJ
72492018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7250
7251 * gdb.server/abspath.exp: New file.
7252 * lib/gdb.exp (with_cwd): New procedure.
7253
3083294d
SM
72542018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7255
7256 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7257 use it.
7258 (gdb_is_target_remote_prompt): New proc.
7259 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7260 (gdb_is_target_native): Pass prompt parameter to
7261 gdb_is_target_1.
7262
3275ef47
SM
72632018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7264
7265 * gdb.base/load-command.c: New file.
7266 * gdb.base/load-command.exp: New file.
7267 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7268 (gdb_is_target_1): ...this, and generalize for other targets
7269 than just remote.
7270 (gdb_is_target_remote): Use gdb_is_target_1.
7271 (gdb_is_target_native): use gdb_is_target_1.
7272
6893c19a
TT
72732018-02-26 Tom Tromey <tom@tromey.com>
7274
7275 PR python/16497:
7276 * gdb.python/py-framefilter.exp: Update test.
7277
2ddeaf8a
TT
72782018-02-26 Tom Tromey <tom@tromey.com>
7279
7280 * gdb.dwarf2/variant.c: New file.
7281 * gdb.dwarf2/variant.exp: New file.
7282
c9317f21
TT
72832018-02-26 Tom Tromey <tom@tromey.com>
7284
7285 * gdb.rust/simple.exp: Accept more possible results in enum test.
7286
6f6d0c26
SM
72872018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7288
7289 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7290 parentheses.
7291
11b03145
MR
72922018-02-23 Maciej W. Rozycki <macro@mips.com>
7293
7294 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7295 name of a variable: $actual_linejj -> $actual_line.
7296
54a27fe5
JB
72972018-02-21 John Baldwin <jhb@FreeBSD.org>
7298
7299 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7300
de65820c
MM
73012018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7302
7303 * gdb.btrace/buffer-size.exp: Do not force BTS.
7304
980548fd
PA
73052018-02-14 Pedro Alves <palves@redhat.com>
7306
7307 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7308 getting a "Quit".
7309
c4e12631
MM
73102018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7311
7312 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7313 Fix test name.
7314
c2e0e465
SM
73152018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7316
7317 * gdb.cp/m-static.exp: Check type of optimized out static
7318 member.
7319
f7216783
AB
73202018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7321
7322 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7323 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7324
0625771b
LS
73252018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7326 Leszek Swirski <leszeks@google.com>
7327
7328 * gdb.python/py-prettyprint.c
7329 (struct to_string_returns_value_inner,
7330 struct to_string_returns_value_wrapper): New.
7331 (main): Add tsrvw variable.
7332 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7333 ToStringReturnsValueWrapper): New classes.
7334 (register_pretty_printers): Register new pretty-printers.
7335 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7336 recursive pretty printer.
7337 * gdb.python/py-mi.exp: Likewise.
7338
59498c30
LS
73392018-02-01 Leszek Swirski <leszeks@google.com>
7340
7341 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7342 functions with the same name as an include file are parsed
7343 correctly.
7344
d4d38844
YQ
73452018-02-01 Yao Qi <yao.qi@linaro.org>
7346
7347 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7348 "\[^\r\n\]*".
7349
07e5f5cf
NP
73502018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7351
7352 * gdb.arch/powerpc-prologue-frame.s: New file.
7353 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7354 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7355
929b5ad4
JB
73562018-01-31 Joel Brobecker <brobecker@adacore.com>
7357
7358 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7359
e671cd59
PA
73602018-01-30 Pedro Alves <palves@redhat.com>
7361
7362 PR gdb/13211
7363 * gdb.base/interrupt-daemon.c: New.
7364 * gdb.base/interrupt-daemon.exp: New.
7365 * gdb.multi/multi-term-settings.c: New.
7366 * gdb.multi/multi-term-settings.exp: New.
7367
fc413dc4
JB
73682018-01-30 Joel Brobecker <brobecker@adacore.com>
7369
7370 * gdb.base/break.exp: Save the location where the breakpoint
7371 on break.c:47 was actually inserted when debugging the version
7372 compiled at -O2 and use it in the expected output of the "info
7373 break" test performed soon after.
7374
5c319bb2
PA
73752018-01-22 Pedro Alves <palves@redhat.com>
7376 Sergio Durigan Junior <sergiodj@redhat.com>
7377
7378 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7379 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7380
a9e40818
JB
73812018-01-22 Joel Brobecker <brobecker@adacore.com>
7382
7383 * gdb.base/break-include.c, gdb.base/break-include.inc,
7384 gdb.base/break-include.exp: New files.
7385 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7386 line number now being the actual line number where the breakpoint
7387 was inserted.
7388 * gdb.mi/mi-break.exp: Likewise.
7389 * gdb.mi/mi-reverse.exp: Likewise.
7390 * gdb.mi/mi-simplerun.exp: Ditto.
7391
e707fc44
AB
73922018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7393
7394 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7395 varobj.
7396 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7397
ae451627
AB
73982018-01-21 Don Breazeal <donb@codesourcery.com>
7399 Andrew Burgess <andrew.burgess@embecosm.com>
7400
7401 * gdb.mi/basics.c: Add new global.
7402 * gdb.mi/mi-frame-regs.exp: New file.
7403 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7404 case.
7405
b1b189e0
AB
74062018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7407
7408 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7409 non-parameter, and on an unknown symbol.
7410
fcfcc376
TT
74112018-01-19 Tom Tromey <tom@tromey.com>
7412
7413 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7414 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7415
634c1c31
AA
74162018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7417
7418 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7419 setrlimit and chdir to int.
7420
d6ad07fd
AA
74212018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7422
7423 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7424 function.
7425 (my_tend): Likewise.
7426 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7427 rationale of avoiding FP- and vector instructions.
7428
adf8243b
RK
74292018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7430
7431 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7432 "info reg" with "\[ \t\]*".
7433 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7434 "\[ \t\]+".
7435 * gdb.arch/s390-multiarch.exp: Ditto.
7436 * gdb.base/pc-fp.exp: Ditto.
7437 * gdb.reverse/i386-precsave.exp: Ditto.
7438 * gdb.reverse/i386-reverse.exp: Ditto.
7439 * gdb.reverse/i387-env-reverse.exp: Ditto.
7440 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7441
dcc06925
AA
74422018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7443
7444 * lib/gdb.exp (gdb_compile): Re-enable use of
7445 universal_compile_options for languages other than Rust.
7446
25d4fd80
AA
74472018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7448
7449 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7450
ee7f689e 74512018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
7452
7453 PR gdb/16577
7454 * gdb.base/solib-vanish.exp: New.
7455 * gdb.base/solib-vanish-main.c: New.
7456 * gdb.base/solib-vanish-lib1.c: New.
7457 * gdb.base/solib-vanish-lib2.c: New.
7458
d8447b6b
YQ
74592018-01-17 Yao Qi <yao.qi@linaro.org>
7460
7461 * gdb.compile/compile.exp: Match the address printed for
7462 frame in the output of command "bt".
7463
86d6a90c
TT
74642018-01-15 Tom Tromey <tom@tromey.com>
7465
7466 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7467 compute sp_reg.
7468
cbcdb1aa
AB
74692018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7470
7471 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7472 to prepare.
7473 (prepare): Return 0 on error, 1 on success.
7474
eea61984
PA
74752018-01-12 Pedro Alves <palves@redhat.com>
7476
7477 * gdb.base/continue-after-aborted-step-over.c: New.
7478 * gdb.base/continue-after-aborted-step-over.exp: New.
7479
6181e9c2
SM
74802018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7481
7482 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7483 options when not creating an executable.
7484
3cada740
PA
74852018-01-11 Pedro Alves <palves@redhat.com>
7486
7487 PR remote/22597
7488 * gdb.server/stop-reply-no-thread.c: New file.
7489 * gdb.server/stop-reply-no-thread.exp: New file.
7490
c63d3e8d
PA
74912018-01-10 Pedro Alves <palves@redhat.com>
7492
7493 PR gdb/22670
7494 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7495 functions too. Test setting breakpoints and printing C functions
7496 with no debug info too.
7497 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7498
d4c2a405
PA
74992018-01-10 Pedro Alves <palves@redhat.com>
7500
7501 PR gdb/22670
7502 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7503 a fail.
7504
8825213e
PA
75052018-01-10 Pedro Alves <palves@redhat.com>
7506
7507 PR gdb/22670
7508 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7509
605fd3c6
YQ
75102018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7511
7512 * gdb.server/unittest.exp: Match the output in non-development
7513 mode.
7514
1e5ded6c
YQ
75152018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7516
7517 * gdb.gdb/unittest.exp: Match output in non-development mode.
7518
30066b0b
JB
75192018-01-08 Joel Brobecker <brobecker@adacore.com>
7520
7521 * gdb.ada/access_tagged_param.exp: Relax expected output
7522 for value of "ObjL" in "continue" to pck.inspect breakpoint
7523 test.
7524
04bafb1e
XR
75252018-01-08 Joel Brobecker <brobecker@adacore.com>
7526
9f86398b
JB
7527 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7528 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 7529
e379cee6
PA
75302018-01-05 Pedro Alves <palves@redhat.com>
7531
7532 PR gdb/18653
7533 * gdb.base/libsegfault.exp: New.
7534
de63c46b
PA
75352018-01-05 Joel Brobecker <brobecker@adacore.com>
7536
7537 PR gdb/22670
7538 * gdb.ada/access_tagged_param.exp: New file.
7539 * gdb.ada/access_tagged_param/foo.adb: New file.
7540
f98fc17b
PA
75412018-01-05 Pedro Alves <palves@redhat.com>
7542
7543 PR gdb/22670
7544 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7545 exercise lower case too, and to exercise both full matching and
7546 wild matching.
7547
342f8240
JB
75482018-01-05 Joel Brobecker <brobecker@adacore.com>
7549
7550 * gdb.ada/rename_subscript_param: New testcase.
7551
7150d33c
JG
75522018-01-05 Jerome Guitton <guitton@adacore.com>
7553
7554 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7555
cc0e770c
JB
75562018-01-05 Joel Brobecker <brobecker@adacore.com>
7557
7558 * gdb.ada/convvar_comp: New testcase.
7559
672a41aa 75602018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
7561
7562 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7563 (My_Table): New global variable.
7564 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7565
7365ec2f
JB
75662018-01-04 Joel Brobecker <brobecker@adacore.com>
7567
7568 PR gdb/22670
7569 * gdb.ada/maint_with_ada: New testcase.
7570
289483b6
JB
75712018-01-04 Joel Brobecker <brobecker@adacore.com>
7572
7573 PR gdb/22670
7574 * gdb.ada/bp_c_mixed_case: New testcase.
7575
344420da
JB
75762018-01-04 Joel Brobecker <brobecker@adacore.com>
7577
7578 PR gdb/22670
7579 * gdb.ada/complete.exp: Add "complete break ada" test.
7580
66fc87a0
JB
75812018-01-04 Joel Brobecker <brobecker@adacore.com>
7582
7583 PR gdb/22670
7584 * gdb.ada/info_addr_mixed_case: New testcase.
7585
9f757bf7
XR
75862018-01-03 Xavier Roirand <roirand@adacore.com>
7587
7588 * gdb.ada/excep_handle.exp: New testcase.
7589 * gdb.ada/excep_handle/foo.adb: New file.
7590 * gdb.ada/excep_handle/pck.ads: New file.
7591
bd570f80
JB
75922018-01-03 Joel Brobecker <brobecker@adacore.com>
7593
7594 * gdb.base/step-line.c: Add extra empty line in copyright header.
7595 * gdb.base/step-line.inp: Likewise.
7596
9fe561ab
JB
75972018-01-02 Joel Brobecker <brobecker@adacore.com>
7598
7599 * gdb.ada/dyn_stride.exp: Add slice test.
7600
a405673c
JB
76012018-01-02 Joel Brobecker <brobecker@adacore.com>
7602
7603 * gdb.ada/dyn_stride: New testcase.
7604
cef0f868
SH
76052017-12-27 Stafford Horne <shorne@gmail.com>
7606
7607 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7608 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7609
b67d92b0
SH
76102017-12-27 Stafford Horne <shorne@gmail.com>
7611
7612 * gdb.base/reggroups.c: New file.
7613 * gdb.base/reggroups.exp: New file.
7614
eccab96d
JB
76152017-12-18 Joel Brobecker <brobecker@adacore.com>
7616
7617 * gdb.dwarf2/ada-valprint-error.c: New file.
7618 * gdb.dwarf2/ada-valprint-error.exp: New file.
7619
0e2da9f0
JB
76202017-12-18 Joel Brobecker <brobecker@adacore.com>
7621
7622 * gdb.ada/assign_arr: New testcase.
7623
cb923fcc
XR
76242017-12-18 Xavier Roirand <roirand@adacore.com>
7625
7626 * gdb.ada/funcall_ptr: New testcase.
7627
7c161838
SDJ
76282017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7629
7630 PR cli/16224
7631 * gdb.base/ptype-offsets.cc: New file.
7632 * gdb.base/ptype-offsets.exp: New file.
7633
1af17fd9
YQ
76342017-12-15 Yao Qi <yao.qi@linaro.org>
7635
7636 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7637 if XML is disabled.
7638
828d5846
XR
76392017-12-15 Xavier Roirand <roirand@adacore.com>
7640
7641 * gdb.ada/same_component_name: New testcase.
7642
79e8fcaa
JB
76432017-12-14 Joel Brobecker <brobecker@adacore.com>
7644
7645 * gdb.ada/str_binop_equal: New testcase.
7646
e05fa6f9
JB
76472017-12-14 Joel Brobecker <brobecker@adacore.com>
7648
7649 * gdb.ada/task_switch_in_core: New testcase.
7650
b89641ba
SM
76512017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7652
7653 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7654 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7655 call test_bkpt_qualified.
7656 (test_bkpt_qualified): New proc.
7657
6892d2e4
PA
76582017-12-13 Pedro Alves <palves@redhat.com>
7659
7660 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7661 Tighten regexp by matching with an anchor.
7662
a22ecf70
PA
76632017-12-13 Pedro Alves <palves@redhat.com>
7664
7665 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7666 ("expression with namespace"): New set of tests.
7667 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7668 (Nested::Test_NS::qux): New.
7669 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7670 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7671
9937536c
JB
76722017-12-13 Joel Brobecker <brobecker@adacore.com>
7673
7674 * gdb.base/server-del-break.c: New file.
7675 * gdb.base/server-del-break.exp: New file.
7676
fe49c6f5
SH
76772017-12-12 Stafford Horne <shorne@gmail.com>
7678
7679 * gdb.xml/tdesc-regs.exp: Add or1k support.
7680
c3d18620
SH
76812017-12-12 Stafford Horne <shorne@gmail.com>
7682
7683 * gdb.base/bp-permanent.c: Define nop of or1k.
7684
c5f9cfc8
JB
76852017-12-11 Joel Brobecker <brobecker@adacore.com>
7686
7687 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7688 output with components being reordered.
7689
a9c135fc
JB
76902017-12-11 Joel Brobecker <brobecker@adacore.com>
7691
7692 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7693 output with components being reordered.
7694
927aa2e7
JK
76952017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7696 Pedro Alves <palves@redhat.com>
7697
7698 * gdb.base/maint.exp (check for .gdb_index): Check also for
7699 .debug_names.
7700 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7701 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7702 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7703 (.gdb_index used after symbol reloading): Support also .debug_names.
7704 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7705
f17d9474
YQ
77062017-12-08 Yao Qi <yao.qi@linaro.org>
7707
7708 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7709 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7710
a0de8c21
YQ
77112017-12-08 Yao Qi <yao.qi@linaro.org>
7712
7713 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7714 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7715
a738ea1d
YQ
77162017-12-08 Yao Qi <yao.qi@linaro.org>
7717
7718 * gdb.arch/aarch64-tagged-pointer.c: New file.
7719 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7720
1cd9a73b
SDJ
77212017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7722
7723 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7724 "int".
7725
fa6eb693
KS
77262017-12-07 Keith Seitz <keiths@redhat.com>
7727
7728 PR breakpoints/22569
7729 * gdb.linespec/ls-errs.exp: Change expected result of "break
7730 -source this file has spaces.c -line 3".
7731 Check that an explicit source file followed by whitespace is
7732 identified as an invalid explicit location.
7733
883fd55a
KS
77342017-12-07 Keith Seitz <keiths@redhat.com>
7735
7736 * gdb.cp/nested-types.cc: New file.
7737 * gdb.cp/nested-types.exp: New file.
7738 * lib/cp-support.exp: Load data-structures.exp library.
7739 (debug_cp_test_ptype_class): New global.
7740 (cp_ptype_class_verbose, next_line): New procedures.
7741 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7742 Add and document new return value.
7743 Switch the list of lines to a queue.
7744 Add support for new `type' key for nested type definitions.
7745 Add debugging/troubleshooting messages.
7746 * lib/data-structures.exp: New file.
7747
ec72db3e
SM
77482017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7749
7750 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7751 with proc_with_prefix, don't use with_test_prefix.
7752
99598d71
TT
77532017-12-07 Tom Tromey <tom@tromey.com>
7754
7755 * gdb.base/break.exp: Add test for empty "commands".
7756
a8806230
YQ
77572017-12-07 Yao Qi <yao.qi@linaro.org>
7758
7759 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7760 malloc and catch syscall.
7761
824cc835
PM
77622017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7763
e79be6e5 7764 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
7765 tests for explicit locations.
7766
7cc244de
PA
77672017-12-06 Pedro Alves <palves@redhat.com>
7768
7769 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7770 force-disabling XML descriptions.
7771
50a1fdd5
PA
77722017-12-04 Pedro Alves <palves@redhat.com>
7773
7774 PR gdb/22499
7775 * gdb.arch/amd64-disp-step-avx.S: New file.
7776 * gdb.arch/amd64-disp-step-avx.exp: New file.
7777
f0fb2488
PA
77782017-12-03 Pedro Alves <palves@redhat.com>
7779
7780 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7781 and <string.h>.
7782 (parent_function): Print distinct messages when waitpid fails, or
7783 the child exits with a signal, or the child exits for an unhandled
7784 reason.
7785 * gdb.threads/process-dies-while-detaching.exp
7786 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7787 it. Wait for both inferior output and GDB's prompt. Use an
7788 indirect spawn id list.
7789 (do_detach): New parameter 'child_exit'. Use it to compute
7790 expected inferior output.
7791 (test_detach, test_detach_watch, test_detach_killed_outside):
7792 Adjust to pass down the expected child exit kind.
7793
97cbe998
SDJ
77942017-12-01 Joel Brobecker <brobecker@adacore.com>
7795 Sergio Durigan Junior <sergiodj@redhat.com>
7796 Pedro Alves <palves@redhat.com>
7797
7798 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7799
40fc416f
SDJ
78002017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7801
7802 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7803 to 'symbol-file' and 'add-symbol-file' can be
7804 position-independent.
7805
1cc75e92
YQ
78062017-12-01 Yao Qi <yao.qi@linaro.org>
7807
7808 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7809 the URL in copyright header.
7810 * gdb.arch/aarch64-fp.exp: Likewise.
7811 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7812 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7813 * gdb.base/expand-psymtabs.exp: Likewise.
7814 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7815 * gdb.fortran/common-block.exp: Likewise.
7816 * gdb.fortran/common-block.f90: Likewise.
7817 * gdb.fortran/logical.exp: Likewise.
7818 * gdb.fortran/vla-datatypes.f90: Likewise.
7819 * gdb.fortran/vla-sub.f90: Likewise.
7820
875fb7a7
JB
78212017-11-30 Joel Brobecker <brobecker@adacore.com>
7822
7823 * gdb.ada/repeat_dyn: New testcase.
7824
6f14765f
UW
78252017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7826
7827 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7828 Update for changed thread numbering.
7829 * gdb.cell/bt.exp: Update for changed GDB output.
7830
f1af7b94
SM
78312017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7832
7833 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7834 setting isremote by hand.
7835 * boards/dwarf4-gdb-index.exp: Likewise.
7836 * boards/fission.exp: Likewise.
7837 * boards/stabs.exp: Likewise.
7838
e3919f3e
PA
78392017-11-30 Pedro Alves <palves@redhat.com>
7840
7841 * gdb.linespec/cpls-ops.exp
7842 (check_explicit_skips_function_argument): Extract the underlying
7843 type of size_t instead of hardcoding it.
7844
bd69330d
PA
78452017-11-29 Pedro Alves <palves@redhat.com>
7846
7847 PR c++/19436
7848 * gdb.linespec/cpls-abi-tag.cc: New file.
7849 * gdb.linespec/cpls-abi-tag.exp: New file.
7850
a20714ff
PA
78512017-11-29 Pedro Alves <palves@redhat.com>
7852
7853 * gdb.base/langs.exp: Use -qualified.
7854 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7855 it.
7856 * gdb.cp/namespace.exp: Use -qualified.
7857 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7858 (overload-3, template-overload, template-ret-type, const-overload)
7859 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7860 procedures.
7861 (test_driver): Call them.
7862 * gdb.cp/save-bp-qualified.cc: New.
7863 * gdb.cp/save-bp-qualified.exp: New.
7864 * gdb.linespec/explicit.exp: Test -qualified.
7865 * lib/completion-support.exp (completion::explicit_opts_list): Add
7866 "-qualified".
7867 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7868
f6f1d339
PM
78692017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7870
7871 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7872
02ca603a
TT
78732017-11-29 Tom Tromey <tom@tromey.com>
7874
7875 * gdb.base/relocate.exp: Update invalid argument test.
7876 Add new tests for invalid arguments.
7877
ed6c0bfb
TP
78782017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7879
7880 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7881 Return 0 as a long.
7882 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7883
f106e10e
TP
78842017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7885
7886 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7887 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7888 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7889 func ().
7890 * gdb.cp/shadow.cc (B.func): Return 0.
7891
10329bb2
JB
78922017-11-27 Joel Brobecker <brobecker@adacore.com>
7893
7894 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7895 expected output in gdb_expect call to allow the exception
7896 message to be present as well. Fix syntax confusion to avoid
7897 TCL thinking that exception_name is an array.
7898
617cd4bc
UW
78992017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7900
7901 * gdb.arch/spu-info.c: Include <unistd.h>.
7902 (do_signal_test): Fix broken calls to write.
7903 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7904 Fix checks for empty mailboxes. Update signal tests for corrected
7905 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
7906 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7907 * gdb.cell/arch.exp: Use standard_output_file.
7908 * gdb.cell/break.exp: Likewise.
7909 * gdb.cell/bt.exp: Likewise.
7910 * gdb.cell/core.exp: Likewise.
7911 * gdb.cell/dwarfaddr.exp: Likewise.
7912 * gdb.cell/ea-cache.exp: Likewise.
7913 * gdb.cell/ea-standalone.exp: Likewise.
7914 * gdb.cell/f-regs.exp: Likewise.
7915 * gdb.cell/fork.exp: Likewise.
7916 * gdb.cell/gcore.exp: Likewise.
7917 * gdb.cell/mem-access.exp: Likewise.
7918 * gdb.cell/ptype.exp: Likewise.
7919 * gdb.cell/registers.exp: Likewise.
7920 * gdb.cell/sizeof.exp: Likewise.
7921 * gdb.cell/solib-symbol.exp: Likewise.
7922 * gdb.cell/solib.exp: Likewise.
617cd4bc 7923
a81aaca0
PA
79242017-11-25 Pedro Alves <palves@redhat.com>
7925
7926 * gdb.base/complete-empty.exp: New file.
7927 * gdb.base/completion.exp: Adjust.
7928
6a3c6ee4
PA
79292017-11-25 Pedro Alves <palves@redhat.com>
7930
7931 * gdb.linespec/cpls-ops.cc: New file.
7932 * gdb.linespec/cpls-ops.exp: New file.
7933 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7934 factored out from ...
7935 (test_complete_prefix_range): ... this.
7936
8955eb2d
PA
79372017-11-24 Pedro Alves <palves@redhat.com>
7938
7939 * gdb.linespec/cpcompletion.exp: New file.
7940 * gdb.linespec/cpls-hyphen.cc: New file.
7941 * gdb.linespec/cpls.cc: New file.
7942 * gdb.linespec/cpls2.cc: New file.
7943 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7944 test to use test_gdb_complete_unique. Add label completion,
7945 keyword completion and explicit location completion tests.
7946 * lib/completion-support.exp: New file.
7947
e547c119
JB
79482017-11-24 Joel Brobecker <brobecker@adacore.com>
7949
7950 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7951 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7952 when hitting an exception catchpoint.
7953
7c3c1aa8
YQ
79542017-11-22 Yao Qi <yao.qi@linaro.org>
7955
7956 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7957
41bd68f5
SM
79582017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7959
7960 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7961 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7962 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7963
1daad298
YQ
79642017-11-22 Yao Qi <yao.qi@linaro.org>
7965
7966 * gdb.base/info-os.exp: Pass pthreads.
7967 * gdb.multi/multi-attach.exp: Likewise.
7968
88465e87
YQ
79692017-11-22 Yao Qi <yao.qi@linaro.org>
7970
7971 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7972 compiler.
7973
dc196b23
YQ
79742017-11-22 Yao Qi <yao.qi@linaro.org>
7975
7976 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7977 * gdb.base/break-interp.exp: Likewise.
7978 * gdb.base/jit-attach-pie.exp: Likewise.
7979
2400729e
UW
79802017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7981
7982 * gdb.base/float128.c (large128): New variable.
7983 * gdb.base/float128.exp: Add test to print largest __float128 value.
7984
7a26362d
UW
79852017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7986
7987 * gdb.arch/vsx-regs.exp: Update register content checks.
7988
ed0f4273
UW
79892017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7990
7991 * gdb.arch/ppc-longdouble.exp: New file.
7992 * gdb.arch/ppc-longdouble.c: Likewise.
7993
a25d69c6
PA
79942017-11-21 Pedro Alves <palves@redhat.com>
7995
7996 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7997
73fcf641
PA
79982017-11-20 Pedro Alves <palves@redhat.com>
7999
8000 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8001 (long_double_typedef): New typedefs.
8002 Use DEF on double and long double.
8003 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8004 cases.
8005 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8006 and 'long_double_ptr_same_size' locals. Use them to decide
8007 whether cast from array/function to float is valid/invalid.
8008
71a3c369
TT
80092017-11-17 Tom Tromey <tom@tromey.com>
8010
8011 * gdb.rust/traits.rs: New file.
8012 * gdb.rust/traits.exp: New file.
8013
ced9779b
JB
80142017-11-17 Joel Brobecker <brobecker@adacore.com>
8015
8016 * gdb.ada/minsyms: New testcase.
8017
a0922d80
PA
80182017-11-16 Pedro Alves <palves@redhat.com>
8019
8020 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8021 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8022
ea04e54c
PA
80232017-11-16 Pedro Alves <palves@redhat.com>
8024
8025 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8026 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8027
e849ea89
PA
80282017-11-16 Pedro Alves <palves@redhat.com>
8029
8030 * gdb.server/reconnect-ctrl-c.c: New file.
8031 * gdb.server/reconnect-ctrl-c.exp: New file.
8032
d8ae99a7
PM
80332017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8034
8035 * gdb.python/py-rbreak.exp: New file.
8036 * gdb.python/py-rbreak.c: New file.
8037 * gdb.python/py-rbreak-func2.c: New file.
8038
968a13f8
PA
80392017-11-16 Pedro Alves <palves@redhat.com>
8040
8041 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8042 pattern.
8043 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8044 GDB.
8045
71774bc9
SM
80462017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8047
8048 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8049 regex.
8050
ddbb44cf
SM
80512017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8052
8053 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8054 test names.
8055
584a564f
PA
80562017-11-09 Pedro Alves <palves@redhat.com>
8057
8058 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8059 factored out from ...
8060 (top level): ... here, and adjusted to avoid expecting beyond the
8061 prompt in a single gdb_test_multiple.
8062
5ed7a928
PA
80632017-11-09 Pedro Alves <palves@redhat.com>
8064
8065 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8066 output.
8067 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8068 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8069 * gdb.server/ext-run.exp ("kill" test): Likewise.
8070 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8071
a60e0738
PA
80722017-11-09 Pedro Alves <palves@redhat.com>
8073
8074 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8075 match till end of line.
8076
2c88253f
PA
80772017-11-09 Pedro Alves <palves@redhat.com>
8078
8079 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8080
c7a38517
PA
80812017-11-09 Pedro Alves <palves@redhat.com>
8082
8083 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8084 New procedures, factored out from ...
8085 (top level): ... here, and adjusted to avoid expecting beyond the
8086 prompt in one go.
8087
f29f4b6b
PA
80882017-11-09 Pedro Alves <palves@redhat.com>
8089
8090 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8091 output. Fix '?' match.
8092
286acbb5
JB
80932017-11-08 Joel Brobecker <brobecker@adacore.com>
8094
8095 * gdb.ada/scoped_watch: New testcase.
8096 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8097 which is actually correct.
8098 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8099 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8100
62d7ae92
PA
81012017-11-08 Pedro Alves <palves@redhat.com>
8102
8103 * gdb.gdb/complaints.exp (test_initial_complaints)
8104 (test_serial_complaints, test_short_complaints): Call
8105 complaint_internal instead of complaint.
8106
280ca31f
DT
81072017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8108
8109 * gdb.threads/tls-core.c: New file.
8110 * gdb.threads/tls-core.exp: Likewise.
8111
b5ec771e
PA
81122017-11-08 Pedro Alves <palves@redhat.com>
8113
8114 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8115 (p Exported_Capitalized): New test.
8116 (p exported_capitalized): New test.
8117
a02b41a7
PA
81182017-11-07 Pedro Alves <palves@redhat.com>
8119
8120 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8121
95e95a6d
PA
81222017-11-07 Pedro Alves <palves@redhat.com>
8123
8124 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8125 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8126 (disable_invalid, disable_inverted, disable_negative): New
8127 procedures.
8128 ("bad numbers"): New set of tests.
8129
cee62dbd
PA
81302017-11-07 Pedro Alves <palves@redhat.com>
8131
8132 * gdb.cp/ena-dis-br-range.exp: Add tests.
8133
cc638e86
PA
81342017-11-07 Pedro Alves <palves@redhat.com>
8135
8136 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8137
d0fe4701
XR
81382017-11-07 Xavier Roirand <roirand@adacore.com>
8139 Pedro Alves <palves@redhat.com>
8140
8141 * gdb.base/ena-dis-br.exp: Add reference to
8142 gdb.cp/ena-dis-br-range.exp.
8143 * gdb.cp/ena-dis-br-range.exp: New file.
8144 * gdb.cp/ena-dis-br-range.cc: New file.
8145
46f67f80
PA
81462017-11-06 Pedro Alves <palves@redhat.com>
8147
8148 * gdb.base/attach-non-pgrp-leader.c: New.
8149 * gdb.base/attach-non-pgrp-leader.exp: New.
8150
726e1356
PA
81512017-11-06 Pedro Alves <palves@redhat.com>
8152
8153 * configure.ac: No longer check for termio.h and sgtty.h.
8154 * configure: Regenerate.
8155 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8156 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8157 Remove termio and sgtty code.
8158
50ab6ace
YQ
81592017-11-03 Yao Qi <yao.qi@linaro.org>
8160
8161 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8162 in GDB is disabled.
8163
8e68731c
YQ
81642017-11-03 Yao Qi <yao.qi@linaro.org>
8165
8166 * gdb.python/py-thrhandle.exp: Skip it if python is not
8167 enabled.
8168
3a87ae65
SM
81692017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8170
8171 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8172 as a breakpoint command.
8173
484d8d36
MD
81742017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8175
8176 PR python/21213
8177 * gdb.python/py-infthread.exp: Test calling
8178 InferiorThread.inferior () multiple times in a row.
8179
4a27f119
KS
81802017-10-27 Keith Seitz <keiths@redhat.com>
8181
8182 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8183 Test "info break" for every inlined function breakpoint.
8184
bb11dd58
YQ
81852017-10-27 Yao Qi <yao.qi@linaro.org>
8186
8187 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8188
a43f3893
PF
81892017-10-26 Patrick Frants <osscontribute@gmail.com>
8190
8191 * gdb.cp/classes.exp (test_static_members): Test printing
8192 Outer::instance.
8193 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8194 (Inner::instance, Outer::instance): New.
8195
792ccf00
PA
81962017-10-24 Pedro Alves <palves@redhat.com>
8197
8198 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8199 extra console" test in two stages.
8200
eb2bfbad
PA
82012017-10-24 Pedro Alves <palves@redhat.com>
8202
8203 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8204
1f75a651
PA
82052017-10-24 Pedro Alves <palves@redhat.com>
8206
8207 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8208 loop.
8209
779990d9
PA
82102017-10-24 Pedro Alves <palves@redhat.com>
8211
8212 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8213 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8214
ad9b8f5d
PA
82152017-10-24 Pedro Alves <palves@redhat.com>
8216
8217 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8218 parameter and handle it. Don't output read value in test name.
8219
fee6da6e
PA
82202017-10-24 Pedro Alves <palves@redhat.com>
8221
8222 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8223 custom test name.
8224
10389c2c
PA
82252017-10-24 Pedro Alves <palves@redhat.com>
8226
8227 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8228 include the unstable output directory name in the test's name.
8229 (initial_setup_simple) <'set args'>: Use custom test name.
8230
a80e65a9
PA
82312017-10-24 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8234 with explicit test name.
8235
15763a09
PA
82362017-10-20 Pedro Alves <palves@redhat.com>
8237
8238 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8239 'wait -i'. Use gdb_assert and remote_close.
8240
49a4ce2e
AB
82412017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8242
8243 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8244 number from variable rather than hard-coded.
8245
a75868f5
PA
82462017-10-19 Pedro Alves <palves@redhat.com>
8247
8248 * gdb.base/long-inferior-output.c: New file.
8249 * gdb.base/long-inferior-output.exp: New file.
8250
c8ba13ad
KS
82512017-11-18 Keith Seitz <keiths@redhat.com>
8252
8253 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8254 method.
8255 (main): Call it.
8256 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8257 Add additional user-defined conversion operator tests.
8258
b27de576
PA
82592017-10-17 Pedro Alves <palves@redhat.com>
8260
8261 * boards/native-stdio-gdbserver.exp: Load "local-board".
8262
8484c955
PA
82632017-10-17 Pedro Alves <palves@redhat.com>
8264
8265 * gdb.base/quit-live.c: New file.
8266 * gdb.base/quit-live.exp: New file.
8267
83d5a34d
KS
82682017-10-16 Keith Seitz <keiths@redhat.com>
8269
8270 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8271 (class_with_protected_typedef, class_with_private_typedef)
8272 (struct_with_public_typedef, struct_with_protected_typedef)
8273 (struct_with_private_typedef): New classes/structs.
8274 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8275 typedefs and access specifiers.
8276
739b3f1d
PA
82772017-10-16 Pedro Alves <palves@redhat.com>
8278 Simon Marchi <simon.marchi@polymtl.ca>
8279
8280 * README (Local vs Remote vs Native): New section.
8281 * boards/local-board.exp: New file, with bits factored out from
8282 ...
8283 * boards/native-extended-gdbserver.exp: ... here. Load
8284 "local-board".
8285 * boards/native-gdbserver.exp: Load "local-board".
8286 (${board}_spawn, ${board}_exec): Delete.
8287 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8288 ...
8289 * boards/stdio-gdbserver-base.exp: ... this new file.
8290 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8291 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8292 procedure.
8293 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8294 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8295 stdio_gdbserver_command.
8296 (${board}_get_remote_address, ${board}_get_comm_port)
8297 (${board}_download, ${board}_upload): Delete.
8298 (get_target_remote_pipe_cmd): New.
8299
fe68b953
SM
83002017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8301
8302 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8303 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8304 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8305 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8306 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8307 remove with_test_prefix.
8308
300b6685
PA
83092017-10-13 Pedro Alves <palves@redhat.com>
8310
8311 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8312 * gdb.base/annota1.exp: Use it instead of is_remote.
8313 * gdb.base/annota3.exp: Use it instead of is_remote.
8314 * gdb.cp/annota2.exp: Use it instead of is_remote.
8315 * gdb.cp/annota3.exp: Use it instead of is_remote.
8316 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8317
50500caf
PA
83182017-10-13 Pedro Alves <palves@redhat.com>
8319
8320 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8321 (test_num_test_vars, run_and_count_vars, find_env)
8322 (test_set_unset_env, test_inherit_env_var): New procedures.
8323 (top level): Use them.
8324
dad0c6d2
PA
83252017-10-13 Pedro Alves <palves@redhat.com>
8326
8327 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8328 also skip on stub-like targets.
8329
8b0553c1
PA
83302017-10-13 Pedro Alves <palves@redhat.com>
8331
8332 PR gdb/22293
8333 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8334 (top level): Move some tests to ...
8335 (test_not_found): ... this new procedure.
8336 (top level): Call it.
8337
7594f623
PA
83382017-10-13 Pedro Alves <palves@redhat.com>
8339
8340 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8341 expect different "info terminal" output if testing with a
8342 non-native target.
8343
ebe3b402
PA
83442017-10-13 Pedro Alves <palves@redhat.com>
8345 Simon Marchi <simon.marchi@polymtl.ca>
8346
8347 PR python/12966
8348 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8349
42f1b161
PA
83502017-10-13 Pedro Alves <palves@redhat.com>
8351
8352 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8353 already.
8354
8d6ef72b
PA
83552017-10-13 Pedro Alves <palves@redhat.com>
8356
8357 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8358 is_remote.
8359
d7bcd5b8
PA
83602017-10-13 Pedro Alves <palves@redhat.com>
8361
8362 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8363 is_remote.
8364
df479dc6
PA
83652017-10-13 Pedro Alves <palves@redhat.com>
8366
8367 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8368 is set.
8369 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8370 instead of is_remote.
8371
23fb630a
PA
83722017-10-13 Pedro Alves <palves@redhat.com>
8373
8374 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8375 (top level): Add comment.
8376
cc77b1dc
PA
83772017-10-13 Pedro Alves <palves@redhat.com>
8378
8379 * gdb.base/remote.exp (top level): Fix comment typo and add
8380 missing return.
8381
27c9e813
PA
83822017-10-13 Pedro Alves <palves@redhat.com>
8383 Simon Marchi <simon.marchi@polymtl.ca>
8384
8385 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8386 calls and add comments. Skip test if use_gdb_stub is set.
8387 (top level): Use "set cwd" command instead of "cd" command.
8388
5e830d98
PA
83892017-10-13 Pedro Alves <palves@redhat.com>
8390
8391 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8392 is_remote target check.
8393
f5ca0032
PA
83942017-10-13 Pedro Alves <palves@redhat.com>
8395
8396 * gdb.base/scope.exp: Use build_executable + clean_restart +
8397 gdb_file_cmd instead of prepare_for_testing and no longer skip
8398 "before run" tests on is_remote target boards. Update comments.
8399 * boards/native-extended-gdbserver.exp
8400 (extended_gdbserver_load_last_file): New, factored out from ...
8401 (gdb_load): ... this. Move further below and add comment.
8402 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8403
8aed1c0d
PA
84042017-10-12 Pedro Alves <palves@redhat.com>
8405
8406 * gdb.base/attach.exp: Remove references to gdb64.
8407 * gdb.base/dbx.exp: Remove references to gdb64.
8408
cfa34c87
SM
84092017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8410 Pedro Alves <palves@redhat.com>
8411
8412 * gdb.base/label.exp: Remove is_remote target check.
8413
9192b7de
PA
84142017-10-12 Pedro Alves <palves@redhat.com>
8415
8416 * gdb.base/auvx.exp (coredir): Update comment.
8417 (top level) <core_works>: Use "set cwd" command instead of "cd"
8418 command.
8419
6bf0052d
PA
84202017-10-12 Pedro Alves <palves@redhat.com>
8421 Simon Marchi <simon.marchi@polymtl.ca>
8422
8423 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8424 target boards.
8425
e48ef82d
PA
84262017-10-12 Pedro Alves <palves@redhat.com>
8427 Simon Marchi <simon.marchi@polymtl.ca>
8428
8429 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8430 Instead skip if there's any gdb_protocol set.
8431
8d7aea57
SM
84322017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8433 Pedro Alves <palves@redhat.com>
8434
8435 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8436
30440677
PA
84372017-10-12 Pedro Alves <palves@redhat.com>
8438 Simon Marchi <simon.marchi@polymtl.ca>
8439
8440 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8441 instead of on dejagnu remote boards.
8442
4e04f045 84432017-10-12 Pedro Alves <palves@redhat.com>
175654b9 8444 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
8445
8446 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8447 checks. Use build_executable + clean_restart instead of
8448 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8449 of enabling non-stop after starting gdb.
8450
871a186e
PA
84512017-10-12 Pedro Alves <palves@redhat.com>
8452
8453 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8454 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8455 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8456 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8457
56d704da
AK
84582017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8459
8460 * gdb.arch/arc-tdesc-cpu.exp: New file.
8461 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8462
2f20e312
SM
84632017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8464
8465 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8466
65630365
PA
84672017-10-10 Pedro Alves <palves@redhat.com>
8468
8469 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8470 expect CLI output.
8471
bf469271
PA
84722017-10-10 Pedro Alves <palves@redhat.com>
8473
8474 * lib/selftest-support.exp (selftest_setup): Update for
8475 captured_command_loop's prototype change.
8476
777a42f1
PA
84772017-10-09 Pedro Alves <palves@redhat.com>
8478
8479 Test both arch1=>arch2 and arch2=>arch1.
8480
8481 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8482 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8483 factored out to...
8484 (append_arch1_options, append_arch2_options, append_arch_options)
8485 (build_executables): New procedures.
8486 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8487 local.
8488 (top level): Add new 'first_arch' testing axis.
8489
cbd2b4e3
PA
84902017-10-09 Pedro Alves <palves@redhat.com>
8491
8492 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8493 (barrier): New.
8494 (thread_start, all_started): New functions.
8495 (main): Spawn new thread and wait until it is scheduled.
8496 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8497 option.
8498 (do_test): Add 'selected_thread' parameter. Run to all_started
8499 instead of main. Explicitly set the breakpoint at main. Switch
8500 to the SELECTED_THREAD thread.
8501 (top level): Test handling the exec event with either the main
8502 thread or the second thread selected.
8503
5c9e4427
PA
85042017-10-09 Pedro Alves <palves@redhat.com>
8505
8506 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8507 logic. Move STOP marker after the value checks.
8508 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8509 regexp.
8510
b3b7c423
SL
85112017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8512
8513 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8514
3b4b2f16
UW
85152017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8516
8517 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8518 integer-to-dfp conversion.
8519 * gdb.base/dfp-test.exp: Likewise.
8520
5cd63fda
PA
85212017-10-04 Pedro Alves <palves@redhat.com>
8522
8523 * gdb.multi/hangout.c: Include <unistd.h>.
8524 (hangout_loop): New function.
8525 (main): Call alarm. Call hangout_loop in a loop.
8526 * gdb.multi/hello.c: Include <unistd.h>.
8527 (hello_loop): New function.
8528 (main): Call alarm. Call hangout_loop in a loop.
8529 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8530 inferior with the other selected.
8531
4c71c105
SM
85322017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8533
8534 * gdb.mi/list-thread-groups-available.exp: New file.
8535 * gdb.mi/list-thread-groups-available.c: New file.
8536
bc3b087d
SDJ
85372017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8538
8539 * gdb.base/set-cwd.exp: Make it available on
8540 native-extended-gdbserver.
8541
d092c5a2
SDJ
85422017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8543
8544 * gdb.base/set-cwd.c: New file.
8545 * gdb.base/set-cwd.exp: Likewise.
8546
45320ffa
TT
85472017-10-02 Tom Tromey <tom@tromey.com>
8548
8549 PR rust/22236:
8550 * gdb.rust/simple.rs (main): New variable "fslice".
8551 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8552
b3e3859b
TT
85532017-10-02 Tom Tromey <tom@tromey.com>
8554
8555 * gdb.rust/simple.exp: Test ptype of a slice.
8556
01af5e0d
TT
85572017-10-02 Tom Tromey <tom@tromey.com>
8558
8559 * gdb.rust/simple.exp: Test index of slice.
8560
a9bbfbd8
TT
85612017-09-27 Tom Tromey <tom@tromey.com>
8562
8563 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8564
df8899e5
TP
85652017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8566 Pedro Alves <palves@redhat.com>
8567
8568 * gdb.base/compare-sections.exp (get value of read-only section): Read
8569 as unsigned value.
8570 (corrupt read-only section): Likewise and don't set written if patching
8571 failed.
8572
757bf54b
KB
85732017-09-21 Kevin Buettner <kevinb@redhat.com>
8574
8575 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8576 files.
8577
06871ae8
PA
85782017-09-20 Pedro Alves <palves@redhat.com>
8579
8580 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8581 symbol names in gdb's output.
8582 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8583
e5f25bc5
PA
85842017-09-20 Pedro Alves <palves@redhat.com>
8585
8586 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8587 Rename to ...
8588 (test_list_ambiguous_symbol): ... this and add a symbol name
8589 parameter. Adjust.
8590 (test_list_ambiguous_function): Reimplement on top of
8591 test_list_ambiguous_symbol and also test listing ambiguous
8592 variables.
8593 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8594 (ambiguous_fun): ... this.
8595 (ambiguous_var): New.
8596 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8597 (ambiguous_fun): ... this.
8598 (ambiguous_var): New.
8599
4e5a4f58
JB
86002017-09-19 John Baldwin <jhb@FreeBSD.org>
8601
8602 * gdb.base/starti.c: New file.
8603 * gdb.base/starti.exp: New file.
8604 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8605
26e53f3e
PA
86062017-09-14 Pedro Alves <palves@redhat.com>
8607
8608 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8609 (top level): Use it instead of runto.
8610
cb791d59
TT
86112017-09-11 Tom Tromey <tom@tromey.com>
8612
8613 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8614
7c96f8c1
TT
86152017-09-11 Tom Tromey <tom@tromey.com>
8616
8617 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8618 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8619
469412dd
CW
86202017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8621
8622 * gdb.fortran/printing-types.exp: New file.
8623 * gdb.fortran/printing-types.exp: New file.
8624
e0f86435
BH
86252017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8626
8627 * gdb.fortran/vla-ptype.exp: Fix typos.
8628 * gdb.fortran/vla-value.exp: Same.
8629
9e9af4be
BH
86302017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8631
8632 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8633 * gdb.mi/mi-var-child-f.exp: Likewise.
8634 * gdb.mi/mi-vla-fortran.exp: Likewise.
8635
a5ad232b 86362017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
8637 Christoph Weinmann <christoph.t.weinmann@intel.com>
8638 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
8639
8640 * gdb.fortran/ptr-indentation.f90: New file.
8641 * gdb.fortran/ptr-indentation.exp: New file.
8642
5aec60eb
TT
86432017-09-05 Tom Tromey <tom@tromey.com>
8644
8645 PR gdb/22010:
8646 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8647
8f8f8152
TP
86482017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8649
8650 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8651
fbd1b771
JK
86522017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8653
8654 * gdb.threads/tls-nodebug-pie.c: New file.
8655 * gdb.threads/tls-nodebug-pie.exp: New file.
8656
5eb5f850
TT
86572017-09-05 Tom Tromey <tom@tromey.com>
8658
8659 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8660 for rust.
8661
ae780a21
SM
86622017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8663
8664 * gdb.multi/multi-arch-exec.exp: Test with different
8665 "follow-exec-mode" settings.
8666 (do_test): New procedure.
8667
3693fdb3
PA
86682017-09-04 Pedro Alves <palves@redhat.com>
8669
8670 * gdb.base/func-static.c (S::method const, S::method volatile)
8671 (S::method volatile const): New methods.
8672 (c_s, v_s, cv_s): New instances.
8673 (main): Call method() on them.
8674 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8675 (cannot_resolve): New procedure.
8676 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8677 print-quote-unquoted columns.
8678 (do_test): Test printing each scope too.
8679
e68cb8e0
PA
86802017-09-04 Pedro Alves <palves@redhat.com>
8681
8682 * gdb.base/local-static.exp: Also test with
8683 class::method::variable wholly quoted.
8684 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8685
858be34c
PA
86862017-09-04 Pedro Alves <palves@redhat.com>
8687
8688 * gdb.base/local-static.c: New.
8689 * gdb.base/local-static.cc: New.
8690 * gdb.base/local-static.exp: New.
8691
46a4882b
PA
86922017-09-04 Pedro Alves <palves@redhat.com>
8693
8694 * gdb.asm/asm-source.exp: Add casts to int.
8695 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8696 (dataglobal64_1, dataglobal64_2): New globals.
8697 * gdb.base/nodebug.exp: Test different expressions involving the
8698 new globals, with print, whatis and ptype. Add casts to int.
8699 * gdb.base/solib-display.exp: Add casts to int.
8700 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8701 * gdb.cp/m-static.exp: Add cast to int.
8702 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8703 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8704 tls variable with no debug info without a cast. Test with a cast
8705 to int too.
8706 * gdb.trace/entry-values.exp: Add casts.
8707
2c5a2be1
PA
87082017-09-04 Pedro Alves <palves@redhat.com>
8709
8710 * gdb.base/nodebug.exp: Test that ptype's error about functions
8711 with unknown return type includes the function name too.
8712
7022349d
PA
87132017-09-04 Pedro Alves <palves@redhat.com>
8714
8715 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8716 return type of munmap in infcall.
8717 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8718 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8719 type of ftell in infcall.
8720 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8721 type of getpid in infcall.
8722 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8723 infcall.
8724 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8725 Bail on failure to extract the pid.
8726 * gdb.base/nodebug.c: #include <stdint.h>.
8727 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8728 New functions.
8729 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8730 Change expected output of print/whatis/ptype with functions with
8731 no debug info. Test all supported languages. Call
8732 test_call_promotion.
8733 * gdb.compile/compile.exp: Adjust expected output to expect
8734 warning.
8735 * gdb.threads/siginfo-threads.exp: Likewise.
8736
54990598
PA
87372017-09-04 Pedro Alves <palves@redhat.com>
8738
8739 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8740 "prototypes". Test calling float functions via prototyped and
8741 unprototyped function pointers.
8742 (perform_all_tests): New parameter "prototypes". Pass it down.
8743 (top level): Pass down "prototypes" parameter to
8744 perform_all_tests.
8745
34d16ea2
SM
87462017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8747
8748 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8749 Test with nested loops.
8750
9521ecda
SM
87512017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8752
8753 * gdb.base/commands.exp: Call the new procedures.
8754 (loop_break_test, loop_continue_test): New procedures.
8755
80a65e9b
SM
87562017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8757
8758 * gdb.base/commands.exp: Call new procedure.
8759 (define_if_without_arg_test): New procedure.
8760
e439fa14
PA
87612017-09-04 Pedro Alves <palves@redhat.com>
8762
8763 * gdb.base/list-ambiguous.exp: New file.
8764 * gdb.base/list-ambiguous0.c: New file.
8765 * gdb.base/list-ambiguous1.c: New file.
8766 * gdb.base/list.exp (test_list_range): Adjust expected output.
8767
0a2dde4a
SDJ
87682017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8769
8770 * gdb.base/share-env-with-gdbserver.c: New file.
8771 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8772
5e89eb3a
SM
87732017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8774
8775 * gdb.base/commands.exp (gdbvar_simple_if_test,
8776 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8777 progvar_simple_if_test, progvar_simple_while_test,
8778 progvar_complex_if_while_test, user_defined_command_test,
8779 user_defined_command_args_eval,
8780 user_defined_command_args_stack_test,
8781 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8782 temporary_breakpoint_commands,
8783 gdb_test_no_prompt, redefine_hook_test,
8784 redefine_backtrace_test): Remove "global gdb_prompt".
8785
fd437cbc
SM
87862017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8787
8788 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8789 New proc, call it from toplevel.
8790
87215ad1
SDJ
87912017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8792
8793 PR remote/21852
8794 * gdb.server/normal.c: New file, copied from gdb.base.
8795 * gdb.server/run-without-local-binary.exp: New file.
8796
58afddc6
WP
87972017-08-07 Weimin Pan <weimin.pan@oracle.com>
8798
8799 * gdb.arch/sparc64-adi.exp: New file.
8800 * gdb.arch/sparc64-adi.c: New file.
8801
5277199a
PA
88022017-08-22 Pedro Alves <palves@redhat.com>
8803
8804 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8805 (top level): Add "list all overloads" tests.
8806
14278e1f
TT
88072017-08-22 Tom Tromey <tom@tromey.com>
8808
8809 * gdb.gdb/xfullpath.exp: Remove.
8810
bf223d3e
PA
88112017-08-21 Pedro Alves <palves@redhat.com>
8812
8813 PR gdb/19487
8814 * gdb.base/symbol-alias.c: New.
8815 * gdb.base/symbol-alias2.c: New.
8816 * gdb.base/symbol-alias.exp: New.
8817
c973d0aa
PA
88182017-08-21 Pedro Alves <palves@redhat.com>
8819
8820 * gdb.base/dfp-test.c
8821 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8822 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8823 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8824 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8825 * gdb.base/whatis-ptype-typedefs.c: New.
8826 * gdb.base/whatis-ptype-typedefs.exp: New.
8827 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8828 (an_int, an_int_type, an_int_type2): New globals.
8829 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8830 involving typedefs and cast expressions.
8831 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8832 (lookup_typedefs_function): New.
8833 (typedefs_pretty_printers_dict): New.
8834 (top level): Register lookup_typedefs_function in
8835 gdb.pretty_printers.
8836
6d580b63
YQ
88372017-08-18 Yao Qi <yao.qi@linaro.org>
8838
8839 * gdb.server/unittest.exp: New.
8840
206726fb
SDJ
88412017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8842
8843 PR gdb/21954
8844 * gdb.base/environ.exp: Add test to check if 'unset environment'
8845 works.
8846
bf0ec4c2
AA
88472017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8848
8849 * lib/gdb.exp (universal_compile_options): New caching proc.
8850 (gdb_compile): Suppress GCC's coloring of messages.
8851
d6382fff
TT
88522017-08-14 Tom Tromey <tom@tromey.com>
8853
8854 PR gdb/21675:
8855 * gdb.base/printcmds.exp (test_radices): New function.
8856 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8857 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8858 * lib/gdb.exp (get_integer_valueof): Use p/d.
8859
c2c2dd9f
SM
88602017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8861
8862 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8863 characters.
8864
fdffd6f4
TT
88652017-08-05 Tom Tromey <tom@tromey.com>
8866
8867 * gdb.rust/simple.exp: Allow String to appear in a different
8868 namespace.
8869
27d41eac
YQ
88702017-07-26 Yao Qi <yao.qi@linaro.org>
8871
8872 * gdb.gdb/unittest.exp: Invoke command
8873 "maintenance check xml-descriptions".
8874
031ed05d
AA
88752017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8876
8877 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8878 calling context.
8879 (hex128): Drop erroneous calculation of parameters.
8880
dcd27ddf
SM
88812017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8882
8883 * gdb.python/py-unwind.exp: Disable stack protection when
8884 building test file.
8885
47e77640
PA
88862017-07-20 Pedro Alves <palves@redhat.com>
8887
8888 * gdb.base/default.exp (set language): Adjust expected output.
8889
62d2a18a
PA
88902017-07-20 Pedro Alves <palves@redhat.com>
8891
8892 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8893 (test_minsym): ... this, and make static.
8894 (get_pck__foo__bar__minsym): Rename to ...
8895 (get_test_minsym): ... this.
8896 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8897 symbol names and comments.
8898 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8899 (get_test_minsym): ... this.
8900 (pck__foo__bar__minsym__2): Rename to ...
8901 (test_minsym): ... this.
8902 (main): Adjust.
8903
c45ec17c
PA
89042017-07-17 Pedro Alves <palves@redhat.com>
8905
8906 * gdb.base/completion.exp: Adjust expected output.
8907 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8908 the completer works.
8909
c6756f62
PA
89102017-07-17 Pedro Alves <palves@redhat.com>
8911
8912 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8913
5bd68487
AB
89142017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8915
8916 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8917
8880f2a9
TT
89182017-07-14 Tom Tromey <tom@tromey.com>
8919
8920 PR rust/21764:
8921 * gdb.rust/simple.exp: Add tests.
8922
65547233
TT
89232017-07-14 Tom Tromey <tom@tromey.com>
8924
8925 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8926
8f14146e
PA
89272017-07-14 Pedro Alves <palves@redhat.com>
8928
8929 * gdb.linespec/base/one/thefile.cc (z1): New function.
8930 * gdb.linespec/base/two/thefile.cc (z2): New function.
8931 * gdb.linespec/linespec.exp: Add tests.
8932
b4365d02
AB
89332017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8934
8935 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8936 to mi_create_breakpoint.
8937
5d2cbaa5
AB
89382017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8939
8940 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8941 mi_create_breakpoint.
8942
11cb5716
IB
89432017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8944
8945 * gdb.dlang/demangle.exp: Update for demangling changes.
8946
03278692
TT
89472017-07-09 Tom Tromey <tom@tromey.com>
8948
8949 * gdb.dwarf2/shortpiece.exp: New file.
8950
33c5cd75
DB
89512017-07-06 David Blaikie <dblaikie@gmail.com>
8952
8953 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8954 built from fissiont-multi-cu{1,2}.c.
8955 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8956 except putting 'main' and 'func' in separate CUs in the same DWO file.
8957 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8958 test.
8959 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8960 test.
8961
8455d262
PA
89622017-07-06 Pedro Alves <palves@redhat.com>
8963
8964 * gdb.python/py-unwind.exp: Test flushregs.
8965
dc4bde35
SDJ
89662017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8967
8968 PR cli/21688
8969 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8970 tests for alias commands and trailing whitespace.
8971
51ed89aa
SDJ
89722017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8973
8974 PR cli/21688
8975 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8976 procedure. Call it.
8977
eb17d413
PA
89782017-06-29 Pedro Alves <palves@redhat.com>
8979
8980 * gdb.base/printcmds.exp: Add tests.
8981
41664b45
DG
89822017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8983
8984 PR gdb/21337
8985 * gdb.base/reread-readsym.exp: New file.
8986 * gdb.base/reread-readsym.c: New file.
8987
75312ae3
KB
89882017-06-21 Kevin Buettner <kevinb@redhat.com>
8989
8990 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8991 subpattern.
8992
66953522
PB
89932017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8994
8995 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8996 extended mnemonic.
8997 * gdb.arch/powerpc-power9.s: Likewise.
8998
5524b525
AA
89992017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9000
9001 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9002 on 32-bit x86 targets. Exploit is_*_target macros where
9003 appropriate.
9004
03c8af18
AA
90052017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9006
9007 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9008 register pieces.
9009
3bf31011
AA
90102017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9011
9012 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9013 located in one or more DWARF pieces.
9014
805acca0
AA
90152017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9016
9017 * lib/gdb.exp (get_endianness): New proc.
9018 * gdb.arch/aarch64-fp.exp: Use it.
9019 * gdb.arch/altivec-regs.exp: Likewise.
9020 * gdb.arch/e500-regs.exp: Likewise.
9021 * gdb.arch/vsx-regs.exp: Likewise.
9022 * gdb.base/dump.exp: Likewise.
9023 * gdb.base/funcargs.exp: Likewise.
9024 * gdb.base/gnu_vector.exp: Likewise.
9025 * gdb.dwarf2/formdata16.exp: Likewise.
9026 * gdb.dwarf2/implptrpiece.exp: Likewise.
9027 * gdb.dwarf2/nonvar-access.exp: Likewise.
9028 * gdb.python/py-inferior.exp: Likewise.
9029 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9030
e9352324
AA
90312017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9032
9033 PR gdb/21226
9034 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9035 stack value pieces are taken from the LSB end.
9036
d5d1163e
AA
90372017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9038
9039 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9040 variable at nonzero offset.
9041
0567c986
AA
90422017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9043
9044 * gdb.dwarf2/var-access.c: New file.
9045 * gdb.dwarf2/var-access.exp: New test.
9046 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9047
973e9aab
TT
90482017-06-12 Tom Tromey <tom@tromey.com>
9049
9050 * gdb.dwarf2/formdata16.exp: Add tests.
9051
d9109c80
TT
90522017-06-12 Tom Tromey <tom@tromey.com>
9053
9054 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9055
30a25466
TT
90562017-06-12 Tom Tromey <tom@tromey.com>
9057
9058 PR exp/16225:
9059 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9060 * gdb.arch/vsx-regs.exp: Update tests.
9061 * gdb.arch/s390-vregs.exp (hex128): New proc.
9062 Update test.
9063 * gdb.arch/altivec-regs.exp: Update tests.
9064
aefd8b33
SDJ
90652017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9066
9067 * gdb.base/startup-with-shell.c: New file.
9068 * gdb.base/startup-with-shell.exp: Likewise.
9069
2090129c
SDJ
90702017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9071
9072 * gdb.server/non-existing-program.exp: Update regex in order to
9073 reflect the fact that gdbserver is now using fork_inferior (with a
9074 shell) to startup the inferior.
9075
8e86a419
SM
90762017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9077
9078 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9079 support function calls from GDB.
9080
e6cf65f2
TT
90812017-05-21 Tom Tromey <tom@tromey.com>
9082
9083 PR rust/21466:
9084 * gdb.rust/unsized.exp: New file.
9085 * gdb.rust/unsized.rs: New file.
9086
43cc5389
TT
90872017-05-19 Tom Tromey <tom@tromey.com>
9088
9089 PR rust/21484:
9090 * gdb.rust/watch.exp: New file.
9091 * gdb.rust/watch.rs: New file.
9092
ec8df234
TT
90932017-05-18 Tom Tromey <tom@tromey.com>
9094
9095 * gdb.rust/simple.exp: Allow Box to be qualified.
9096
3e3e7fae
TP
90972017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9098
9099 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9100
59cc050d
PA
91012017-05-18 Pedro Alves <palves@redhat.com>
9102
9103 * gdb.base/fileio.c (test_write, test_read, test_close)
9104 (test_fstat): Don't print 'ret' in the fail path.
9105
c8f6abd1
PA
91062017-05-18 Pedro Alves <palves@redhat.com>
9107
9108 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9109 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9110 (test_system, test_rename, test_unlink, test_time): Change
9111 prototypes.
9112 * gdb.base/fileio.exp (stop_msg): Adjust.
9113
d2a03b77
PA
91142017-05-18 Pedro Alves <palves@redhat.com>
9115
9116 * gdb.base/fileio.c (null_str): New global.
9117 (test_stat): Use it.
9118 * gdb.base/fileio.exp: Remove nowarnings.
9119
0d5c6999
YQ
91202017-05-17 Yao Qi <yao.qi@linaro.org>
9121
9122 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9123
21873064
YQ
91242017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9125
9126 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9127 argument command.
9128 (top-level): Invoke test_set_inferior_tty.
9129
d512d31c
PA
91302017-05-04 Pedro Alves <palves@redhat.com>
9131
9132 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9133 Add parens to print call for Python 3.
9134
90cef2ed
KS
91352017-05-03 Keith Seitz <keiths@redhat.com>
9136
9137 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9138 (main): Call it.
9139
14f819c8
TW
91402017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9141
9142 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9143 to prev and next.
9144
913aeadd
TW
91452017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9146
9147 * gdb.python/py-record-btrace.exp: Remove test for
9148 gdb.BtraceInstruction.error.
9149
a3be24ad
TW
91502017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9151
9152 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9153
ae20e79a
TW
91542017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9155
9156 * gdb.python/py-record-btrace-threads.c: New file.
9157 * gdb.python/py-record-btrace-threads.exp: New file.
9158
45ce1b47
SDJ
91592017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9160
9161 PR testsuite/8595
9162 * gdb.base/environ.exp: Make test available in all architectures.
9163 Move bits related to "info program" testing to
9164 gdb.base/info-program.exp. Rewrite tests to use the two new
9165 procedures mentione below.
9166 (test_set_show_env_var) New procedure.
9167 (test_set_show_env_var_equal): Likewise.
9168 * gdb.base/info-program.exp: New file.
9169
e15c3eb4
KS
91702017-04-27 Keith Seitz <keiths@redhat.com>
9171
9172 * gdb.cp/oranking.cc (test15): New function.
9173 (main): Call test15 and declare additional variables for testing.
9174 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9175 "p foo101('abc')" tests.
9176 Add tests for cv qualifier overloads.
9177 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9178 "lvalue reference overload" test.
9179 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9180 "print value of f1 on Child&& in f2" test.
9181
3a3fd0fd
PA
91822017-04-19 Pedro Alves <palves@redhat.com>
9183
9184 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9185 procedure.
9186 (top level): Call it.
9187 * lib/gdb.exp (gdb_define_cmd): New procedure.
9188
53375380
PA
91892017-04-12 Pedro Alves <palves@redhat.com>
9190
9191 PR gdb/21323
9192 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9193 (wchar): New global.
9194 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9195 (do_test_wide_char, wide_char_types_no_program, top level): Add
9196 wchar_t testing.
9197
53e710ac
PA
91982017-04-12 Pedro Alves <palves@redhat.com>
9199
9200 PR c++/21323
9201 * gdb.cp/wide_char_types.c: New file.
9202 * gdb.cp/wide_char_types.exp: New file.
9203
0ad9d8c7
SDJ
92042017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9205
9206 PR gdb/21352
9207 * gdb.trace/tsv.exp: Add test for "tsave -r".
9208
b1b45502
IB
92092017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9210
9211 * gdb.dlang/watch-loc.c: New file.
9212 * gdb.dlang/watch-loc.exp: New file.
9213
ec13808e
JK
92142017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9215
9216 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9217
fe5f7374
AK
92182017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9219
9220 * gdb.arch/arc-analyze-prologue.S: New file.
9221 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9222
eea78757
AK
92232017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9224
9225 * gdb.arch/arc-decode-insn.S: New file.
9226 * gdb.arch/arc-decode-insn.exp: Likewise.
9227
5badf10a
IR
92282017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9229
9230 PR tdep/20928
9231 * gdb.arch/sparc64-regs.exp: New file.
9232 * gdb.arch/sparc64-regs.S: Likewise.
9233
cee59b3f
TW
92342017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9235
9236 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9237 and memory view on Python 3.
9238
c0f55cc6
AV
92392017-03-20 Artemiy Volkov <artemiyv@acm.org>
9240 Keith Seitz <keiths@redhat.com>
9241
9242 PR gdb/14441
9243 * gdb.cp/demangle.exp: Add rvalue reference tests.
9244 * gdb.cp/rvalue-ref-casts.cc: New file.
9245 * gdb.cp/rvalue-ref-casts.exp: New file.
9246 * gdb.cp/rvalue-ref-overload.cc: New file.
9247 * gdb.cp/rvalue-ref-overload.exp: New file.
9248 * gdb.cp/rvalue-ref-params.cc: New file.
9249 * gdb.cp/rvalue-ref-params.exp: New file.
9250 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9251 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9252 * gdb.cp/rvalue-ref-types.cc: New file.
9253 * gdb.cp/rvalue-ref-types.exp: New file.
9254 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9255 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9256
51457a05
MAL
92572017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9258
9259 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9260 New procedure.
9261
5b291c04
MAL
92622017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9263
9264 * lib/mi-support.exp (mi_gdb_test): Add additional message
9265 for unexpected output.
9266
59a56148
AA
92672017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9268
9269 * gdb.base/examine-backward.c (Barrier): New character array
9270 constant, to ensure that TestStrings is preceded by a string
9271 terminator.
9272
7942e96e
AA
92732017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9274
9275 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9276 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9277 and implicit pointer into such a location.
9278
6ebac3fb
DE
92792017-03-16 Doug Evans <dje@google.com>
9280
9281 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9282
ec3b243d
TP
92832017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9284
9285 * gdb.cp/m-static.exp: Fix expectation for prototype of
9286 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
9287
92882017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
9289
9290 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9291 * gdb.guile/scm-lazy-string.c: New file.
9292 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9293 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9294 for pointer, array, typedef lazy strings.
9295
2cc36e25 92962017-03-16 Doug Evans <dje@google.com>
34b43320
DE
9297
9298 PR python/17728, python/18439, python/18779
9299 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9300 * gdb.python/py-lazy-string.c (pointer): New typedef.
9301 (main): New locals ptr, array, typedef_ptr.
9302 * gdb.python/py-value.exp: Move lazy string tests to ...
9303 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9304 array, typedef lazy strings.
ec3b243d 9305
0efcde63
AK
93062017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9307
9308 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9309 Add optional 'test' parameter.
9310
7978d7c3
SM
93112017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9312
9313 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9314 Skip for versions of DejaGnu < 1.5.
9315
896c0c1e
SM
93162017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9317
9318 * lib/gdb.exp (dejagnu_version): New proc.
9319 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9320 Use dejagnu_version.
9321
5f4d1085
KS
93222017-03-10 Keith Seitz <keiths@redhat.com>
9323
9324 PR c++/8128
9325 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9326 type from destructor regexps.
9327 Add a branch which actually passes the test.
9328 Adjust "ptype t5i" test names.
9329
1de05205
PA
93302017-03-08 Pedro Alves <palves@redhat.com>
9331
9332 * gdb.base/step-over-exit.exp: Add explicit test message.
9333
c65d6b55
PA
93342017-03-08 Pedro Alves <palves@redhat.com>
9335
9336 PR gdb/18360
9337 * gdb.threads/interrupt-while-step-over.c: New file.
9338 * gdb.threads/interrupt-while-step-over.exp: New file.
9339
2e86a283
PA
93402017-03-08 Pedro Alves <palves@redhat.com>
9341
9342 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9343 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9344
25dcbff6
PA
93452017-03-08 Pedro Alves <palves@redhat.com>
9346
9347 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9348 PKRU as not supported as a PASS.
9349
dc9366eb
PA
93502017-03-08 Pedro Alves <palves@redhat.com>
9351
9352 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9353 prefix instead of $binfile1/$binfile2.
9354 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9355 in test message.
9356 * gdb.python/py-completion.exp: Use "load python file" as test
9357 messages instead of unstable path names.
9358
6e5d74e7
PA
93592017-03-08 Pedro Alves <palves@redhat.com>
9360 Jan Kratochvil <jan.kratochvil@redhat.com>
9361
9362 PR cli/21218
9363 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9364 New proc.
9365 (top level): Call it.
9366
9753a2f6
PA
93672017-03-08 Pedro Alves <palves@redhat.com>
9368
9369 PR tui/21216
9370 * gdb.tui/tui-nl-filtered-output.exp: New file.
9371
1a4dd9dd
PA
93722017-03-08 Pedro Alves <palves@redhat.com>
9373
9374 * gdb.base/completion.exp: Move TUI completion tests to ...
9375 * gdb.tui/completion.exp: ... this new file.
9376
7cbbff33
PA
93772017-03-08 Pedro Alves <palves@redhat.com>
9378
9379 * gdb.base/tui-disasm-long-lines.c,
9380 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9381 gdb.base/tui-layout.exp: Move to ...
9382 * gdb.tui/: ... this new directory.
9383
5f6fd321
PA
93842017-03-07 Pedro Alves <palves@redhat.com>
9385
9386 * gdb.base/tui-layout.c: New file.
9387 * gdb.base/tui-layout.exp: New file.
9388
44959fa8
PA
93892017-03-07 Pedro Alves <palves@redhat.com>
9390
9391 * gdb.base/tui-layout.c: Rename to ...
9392 * gdb.base/tui-disasm-long-lines.c: ... this.
9393 * gdb.base/tui-layout.exp: Rename to ...
9394 * gdb.base/tui-disasm-long-lines.exp: ... this.
9395
f8c4e718
PA
93962017-03-07 Pedro Alves <palves@redhat.com>
9397
9398 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9399
6dbb839a 94002017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
9401
9402 * i386-mpx-call.c: New file.
9403 * i386-mpx-call.exp: New file.
9404
65b48a81
PB
94052017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9406
9407 * gdb.arch/powerpc-power.exp: Delete test.
9408 * gdb.arch/powerpc-power.s: Likewise.
9409 * gdb.disasm/disassembler-options.exp: New test.
9410 * gdb.arch/powerpc-altivec.exp: Likewise.
9411 * gdb.arch/powerpc-altivec.s: Likewise.
9412 * gdb.arch/powerpc-altivec2.exp: Likewise.
9413 * gdb.arch/powerpc-altivec2.s: Likewise.
9414 * gdb.arch/powerpc-altivec3.exp: Likewise.
9415 * gdb.arch/powerpc-altivec3.s: Likewise.
9416 * gdb.arch/powerpc-power7.exp: Likewise.
9417 * gdb.arch/powerpc-power7.s: Likewise.
9418 * gdb.arch/powerpc-power8.exp: Likewise.
9419 * gdb.arch/powerpc-power8.s: Likewise.
9420 * gdb.arch/powerpc-power9.exp: Likewise.
9421 * gdb.arch/powerpc-power9.s: Likewise.
9422 * gdb.arch/powerpc-vsx.exp: Likewise.
9423 * gdb.arch/powerpc-vsx.s: Likewise.
9424 * gdb.arch/powerpc-vsx2.exp: Likewise.
9425 * gdb.arch/powerpc-vsx2.s: Likewise.
9426 * gdb.arch/powerpc-vsx3.exp: Likewise.
9427 * gdb.arch/powerpc-vsx3.s: Likewise.
9428 * gdb.arch/arm-disassembler-options.exp: Likewise.
9429 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9430 * gdb.arch/s390-disassembler-options.exp: Likewise.
9431
17cd4947
LM
94322017-02-23 Luis Machado <lgustavo@codesourcery.com>
9433
9434 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9435 (check_supported_features): ... this. Changed return type to void.
9436 (supports_rdseed): New static global.
9437 (rdseed): Check supports_rdseed.
9438 (initialize): Call check_supported_features.
9439
2039d74e
EBM
94402017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9441
9442 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9443 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9444 and lqarx/stqcx.
9445 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9446 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9447
a51d7ecf
EBM
94482017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9449
9450 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9451 uppercase.
9452
0224619f
JK
94532017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9454
9455 * gdb.dwarf2/formdata16.c: New file.
9456 * gdb.dwarf2/formdata16.exp: New file.
9457 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9458
216f72a1
JK
94592017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9460
9461 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9462 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9463 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9464 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9465 DW_AT_GNU_*.
9466
43988095
JK
94672017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9468
9469 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9470
99e8a4f9
SDJ
94712017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9472
9473 PR gdb/21164
9474 * gdb.base/maint.exp: Add testcases for when the commands do
9475 not have arguments.
9476
b58a8c0c
TP
94772017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9478
9479 * gdb.cp/chained-calls.exp: Use p instead of P.
9480
4e746bb6
TW
94812017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9482
9483 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9484 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9485
3f77c769
TT
94862017-02-14 Tom Tromey <tom@tromey.com>
9487
9488 PR python/13598:
9489 * gdb.python/py-events.exp: Add before_prompt event tests.
9490
075beec0
AA
94912017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9492
9493 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9494
bf5f525c
LM
94952017-02-13 Luis Machado <lgustavo@codesourcery.com>
9496
9497 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9498 (main): Call my_unique_function_name.
9499 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9500 completion of patterns with a single match.
9501 Add missing -re switches to gdb_test_multiple calls.
9502
13a66184
LM
95032017-02-13 Luis Machado <lgustavo@codesourcery.com>
9504
9505 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9506 return if core file is not recognized.
9507
26a06916
SM
95082017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9509
9510 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9511 and extra UIs.
9512
b761ca9e
SM
95132017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9514
9515 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9516 proc_with_prefix.
9517
b964bee0
TT
95182017-02-10 Tom Tromey <tom@tromey.com>
9519
9520 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9521
18da0c51
MG
95222017-02-10 Martin Galvan <martingalvan@sourceware.org>
9523
9524 PR gdb/21122
9525 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9526
604c4576
JG
95272017-02-08 Jerome Guitton <guitton@adacore.com>
9528
9529 * gdb.base/define.exp: Add test for command abbreviations
9530 in define.
9531
20b477a7
LM
95322017-02-06 Luis Machado <lgustavo@codesourcery.com>
9533
9534 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9535 * gdb.reverse/insn-reverse-x86.c: New file.
9536
3f7b46f2
IR
95372017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9538
9539 PR tdep/20936
9540 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9541
f0fd41c1
TT
95422017-02-03 Tom Tromey <tom@tromey.com>
9543
9544 PR rust/21097:
9545 * gdb.rust/simple.exp: Add new tests.
9546
5be5dbf0
PA
95472017-02-02 Pedro Alves <palves@redhat.com>
9548
9549 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9550 tests.
9551
7346ef59
AA
95522017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9553
9554 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9555 taking a 2-byte value out of a 4-byte DWARF implicit value on
9556 big-endian targets.
9557 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9558 logic. Add test cases for DW_OP_implicit.
9559
787f0025
MM
95602017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9561
9562 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9563
68777c29
MM
95642017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9565
9566 * gdb.btrace/enable.exp: Call gdb_exit before
9567 skip_gdbserver_tests.
9568
0a1c7e28
MM
95692017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9570
9571 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9572 GDBFLAGS.
9573
b5ac99b0
MM
95742017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9575
9576 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9577 the test is skipped.
9578 * gdb.btrace/data.exp: Likewise.
9579 * gdb.btrace/delta.exp: Likewise.
9580 * gdb.btrace/dlopen.exp: Likewise.
9581 * gdb.btrace/enable-running.exp: Likewise.
9582 * gdb.btrace/enable.exp: Likewise.
9583 * gdb.btrace/exception.exp: Likewise.
9584 * gdb.btrace/function_call_history.exp: Likewise.
9585 * gdb.btrace/gcore.exp: Likewise.
9586 * gdb.btrace/instruction_history.exp: Likewise.
9587 * gdb.btrace/multi-thread-step.exp: Likewise.
9588 * gdb.btrace/nohist.exp: Likewise.
9589 * gdb.btrace/non-stop.exp: Likewise.
9590 * gdb.btrace/reconnect.exp: Likewise.
9591 * gdb.btrace/record_goto-step.exp: Likewise.
9592 * gdb.btrace/record_goto.exp: Likewise.
9593 * gdb.btrace/rn-dl-bind.exp: Likewise.
9594 * gdb.btrace/segv.exp: Likewise.
9595 * gdb.btrace/step.exp: Likewise.
9596 * gdb.btrace/stepi.exp: Likewise.
9597 * gdb.btrace/tailcall-only.exp: Likewise.
9598 * gdb.btrace/tailcall.exp: Likewise.
9599 * gdb.btrace/tsx.exp: Likewise.
9600 * gdb.btrace/unknown_functions.exp: Likewise.
9601 * gdb.btrace/vdso.exp: Likewise.
9602
cd4007e4
MM
96032017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9604
9605 * gdb.btrace/enable-running.c: New.
9606 * gdb.btrace/enable-running.exp: New.
9607
2735833d
WT
96082017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9609
9610 * gdb.arch/amd64-gs_base.c: New file.
9611 * gdb.arch/amd64-gs_base.exp: New file.
9612
b51e1e94
LM
96132017-01-26 Luis Machado <lgustavo@codesourcery.com>
9614
9615 * lib/memory.exp: Remove spurious empty newlines.
9616
72ca0410
SM
96172017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9618
9619 * gdb.python/py-bad-printers.exp: Load python file using "source".
9620 * gdb.python/py-events.exp: Likewise.
9621 * gdb.python/py-evsignal.exp: Likewise.
9622 * gdb.python/py-evthreads.exp: Likewise.
9623 * gdb.python/py-frame-args.exp: Likewise.
9624 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9625 * gdb.python/py-framefilter-mi.exp: Likewise.
9626 * gdb.python/py-framefilter.exp: Likewise.
9627 * gdb.python/py-mi.exp: Likewise.
9628 * gdb.python/py-pp-maint.exp: Likewise.
9629 * gdb.python/py-pp-registration.exp: Likewise.
9630 * gdb.python/py-prettyprint.exp: Likewise.
9631 (run_lang_tests): Likewise.
9632 * gdb.python/py-typeprint.exp: Likewise.
9633
e309aa65
LM
96342017-01-26 Luis Machado <lgustavo@codesourcery.com>
9635
9636 * lib/memory.exp: New file.
9637 * lib/gdb.exp: Load memory.exp.
9638 * gdb.base/memattr.exp (delete_memory): Move proc to
9639 lib/memory.exp and rename to delete_memory_regions.
9640 Replace delete_memory with delete_memory_regions.
9641 Cleanup memory regions before tests.
9642 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9643 before tests.
9644
515aff23
LM
96452017-01-26 Luis Machado <lgustavo@codesourcery.com>
9646
9647 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9648 files.
9649 (initialize): New function conditionally defined.
9650 (testcases): Move within conditional block.
9651 (main): Call initialize.
9652 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9653 of gdb.reverse/insn-reverse.c.
9654 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9655 gdb.reverse/insn-reverse.c.
9656
d8b49cf0
YQ
96572017-01-26 Yao Qi <yao.qi@linaro.org>
9658
9659 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9660 disassemble on address 0.
9661
f13a9a0c
YQ
96622017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9663 Yao Qi <yao.qi@linaro.org>
9664
9665 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9666 * gdb.dwarf2/implptr-64bit.S: Remove.
9667 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9668 variables in caller's context. Add DW_OP_implicit_value.
9669
5ac95241
YQ
96702017-01-25 Yao Qi <yao.qi@linaro.org>
9671
9672 * lib/dwarf.exp (Dwarf::_location): Handle
9673 DW_OP_GNU_implicit_pointer with proper size.
9674
23e82930
LM
96752017-01-20 Luis Machado <lgustavo@codesourcery.com>
9676
9677 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9678 and add untested calls.
9679
d334ae25
LM
96802017-01-20 Luis Machado <lgustavo@codesourcery.com>
9681
9682 * gdb.python/python.exp: Check line number against what GDB thinks
9683 the line number is for func1.
9684
f5e6296e
IB
96852017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9686
9687 * gdb.dlang/debug-expr.exp: New file.
9688
5b362f04
LM
96892016-12-23 Luis Machado <lgustavo@codesourcery.com>
9690
9691 Fix test names for the following files:
9692
9693 * gdb.ada/exec_changed.exp
9694 * gdb.ada/info_types.exp
9695 * gdb.arch/aarch64-atomic-inst.exp
9696 * gdb.arch/aarch64-fp.exp
9697 * gdb.arch/altivec-abi.exp
9698 * gdb.arch/altivec-regs.exp
9699 * gdb.arch/amd64-byte.exp
9700 * gdb.arch/amd64-disp-step.exp
9701 * gdb.arch/amd64-dword.exp
9702 * gdb.arch/amd64-entry-value-inline.exp
9703 * gdb.arch/amd64-entry-value-param.exp
9704 * gdb.arch/amd64-entry-value-paramref.exp
9705 * gdb.arch/amd64-entry-value.exp
9706 * gdb.arch/amd64-i386-address.exp
9707 * gdb.arch/amd64-invalid-stack-middle.exp
9708 * gdb.arch/amd64-invalid-stack-top.exp
9709 * gdb.arch/amd64-optimout-repeat.exp
9710 * gdb.arch/amd64-prologue-skip.exp
9711 * gdb.arch/amd64-prologue-xmm.exp
9712 * gdb.arch/amd64-stap-special-operands.exp
9713 * gdb.arch/amd64-stap-wrong-subexp.exp
9714 * gdb.arch/amd64-tailcall-cxx.exp
9715 * gdb.arch/amd64-tailcall-noret.exp
9716 * gdb.arch/amd64-tailcall-ret.exp
9717 * gdb.arch/amd64-tailcall-self.exp
9718 * gdb.arch/amd64-word.exp
9719 * gdb.arch/arm-bl-branch-dest.exp
9720 * gdb.arch/arm-disp-step.exp
9721 * gdb.arch/arm-neon.exp
9722 * gdb.arch/arm-single-step-kernel-helper.exp
9723 * gdb.arch/avr-flash-qualifier.exp
9724 * gdb.arch/disp-step-insn-reloc.exp
9725 * gdb.arch/e500-abi.exp
9726 * gdb.arch/e500-regs.exp
9727 * gdb.arch/ftrace-insn-reloc.exp
9728 * gdb.arch/i386-avx512.exp
9729 * gdb.arch/i386-bp_permanent.exp
9730 * gdb.arch/i386-byte.exp
9731 * gdb.arch/i386-cfi-notcurrent.exp
9732 * gdb.arch/i386-disp-step.exp
9733 * gdb.arch/i386-dr3-watch.exp
9734 * gdb.arch/i386-float.exp
9735 * gdb.arch/i386-gnu-cfi.exp
9736 * gdb.arch/i386-mpx-map.exp
9737 * gdb.arch/i386-mpx-sigsegv.exp
9738 * gdb.arch/i386-mpx-simple_segv.exp
9739 * gdb.arch/i386-mpx.exp
9740 * gdb.arch/i386-permbkpt.exp
9741 * gdb.arch/i386-prologue.exp
9742 * gdb.arch/i386-signal.exp
9743 * gdb.arch/i386-size-overlap.exp
9744 * gdb.arch/i386-unwind.exp
9745 * gdb.arch/i386-word.exp
9746 * gdb.arch/mips-fcr.exp
9747 * gdb.arch/powerpc-d128-regs.exp
9748 * gdb.arch/powerpc-stackless.exp
9749 * gdb.arch/ppc64-atomic-inst.exp
9750 * gdb.arch/s390-stackless.exp
9751 * gdb.arch/s390-tdbregs.exp
9752 * gdb.arch/s390-vregs.exp
9753 * gdb.arch/sparc-sysstep.exp
9754 * gdb.arch/thumb-bx-pc.exp
9755 * gdb.arch/thumb-singlestep.exp
9756 * gdb.arch/thumb2-it.exp
9757 * gdb.arch/vsx-regs.exp
9758 * gdb.asm/asm-source.exp
9759 * gdb.base/a2-run.exp
9760 * gdb.base/advance.exp
9761 * gdb.base/all-bin.exp
9762 * gdb.base/anon.exp
9763 * gdb.base/args.exp
9764 * gdb.base/arithmet.exp
9765 * gdb.base/async-shell.exp
9766 * gdb.base/async.exp
9767 * gdb.base/attach-pie-noexec.exp
9768 * gdb.base/attach-twice.exp
9769 * gdb.base/auto-load.exp
9770 * gdb.base/bang.exp
9771 * gdb.base/bitfields.exp
9772 * gdb.base/break-always.exp
9773 * gdb.base/break-caller-line.exp
9774 * gdb.base/break-entry.exp
9775 * gdb.base/break-inline.exp
9776 * gdb.base/break-on-linker-gcd-function.exp
9777 * gdb.base/break-probes.exp
9778 * gdb.base/break.exp
9779 * gdb.base/breakpoint-shadow.exp
9780 * gdb.base/call-ar-st.exp
9781 * gdb.base/call-sc.exp
9782 * gdb.base/call-signal-resume.exp
9783 * gdb.base/call-strs.exp
9784 * gdb.base/callfuncs.exp
9785 * gdb.base/catch-fork-static.exp
9786 * gdb.base/catch-gdb-caused-signals.exp
9787 * gdb.base/catch-load.exp
9788 * gdb.base/catch-signal-fork.exp
9789 * gdb.base/catch-signal.exp
9790 * gdb.base/catch-syscall.exp
9791 * gdb.base/charset.exp
9792 * gdb.base/checkpoint.exp
9793 * gdb.base/chng-syms.exp
9794 * gdb.base/code-expr.exp
9795 * gdb.base/code_elim.exp
9796 * gdb.base/commands.exp
9797 * gdb.base/completion.exp
9798 * gdb.base/complex.exp
9799 * gdb.base/cond-expr.exp
9800 * gdb.base/condbreak.exp
9801 * gdb.base/consecutive.exp
9802 * gdb.base/continue-all-already-running.exp
9803 * gdb.base/coredump-filter.exp
9804 * gdb.base/corefile.exp
9805 * gdb.base/dbx.exp
9806 * gdb.base/debug-expr.exp
9807 * gdb.base/define.exp
9808 * gdb.base/del.exp
9809 * gdb.base/disabled-location.exp
9810 * gdb.base/disasm-end-cu.exp
9811 * gdb.base/disasm-optim.exp
9812 * gdb.base/display.exp
9813 * gdb.base/duplicate-bp.exp
9814 * gdb.base/ena-dis-br.exp
9815 * gdb.base/ending-run.exp
9816 * gdb.base/enumval.exp
9817 * gdb.base/environ.exp
9818 * gdb.base/eu-strip-infcall.exp
9819 * gdb.base/eval-avoid-side-effects.exp
9820 * gdb.base/eval-skip.exp
9821 * gdb.base/exitsignal.exp
9822 * gdb.base/expand-psymtabs.exp
9823 * gdb.base/filesym.exp
9824 * gdb.base/find-unmapped.exp
9825 * gdb.base/finish.exp
9826 * gdb.base/float.exp
9827 * gdb.base/foll-exec-mode.exp
9828 * gdb.base/foll-exec.exp
9829 * gdb.base/foll-fork.exp
9830 * gdb.base/fortran-sym-case.exp
9831 * gdb.base/freebpcmd.exp
9832 * gdb.base/func-ptr.exp
9833 * gdb.base/func-ptrs.exp
9834 * gdb.base/funcargs.exp
9835 * gdb.base/gcore-buffer-overflow.exp
9836 * gdb.base/gcore-relro-pie.exp
9837 * gdb.base/gcore-relro.exp
9838 * gdb.base/gcore.exp
9839 * gdb.base/gdb1090.exp
9840 * gdb.base/gdb11530.exp
9841 * gdb.base/gdb11531.exp
9842 * gdb.base/gdb1821.exp
9843 * gdb.base/gdbindex-stabs.exp
9844 * gdb.base/gdbvars.exp
9845 * gdb.base/hbreak.exp
9846 * gdb.base/hbreak2.exp
9847 * gdb.base/included.exp
9848 * gdb.base/infcall-input.exp
9849 * gdb.base/inferior-died.exp
9850 * gdb.base/infnan.exp
9851 * gdb.base/info-macros.exp
9852 * gdb.base/info-os.exp
9853 * gdb.base/info-proc.exp
9854 * gdb.base/info-shared.exp
9855 * gdb.base/info-target.exp
9856 * gdb.base/infoline.exp
9857 * gdb.base/interp.exp
9858 * gdb.base/interrupt.exp
9859 * gdb.base/jit-reader.exp
9860 * gdb.base/jit-simple.exp
9861 * gdb.base/kill-after-signal.exp
9862 * gdb.base/kill-detach-inferiors-cmd.exp
9863 * gdb.base/label.exp
9864 * gdb.base/langs.exp
9865 * gdb.base/ldbl_e308.exp
9866 * gdb.base/line-symtabs.exp
9867 * gdb.base/linespecs.exp
9868 * gdb.base/list.exp
9869 * gdb.base/long_long.exp
9870 * gdb.base/longest-types.exp
9871 * gdb.base/maint.exp
9872 * gdb.base/max-value-size.exp
9873 * gdb.base/memattr.exp
9874 * gdb.base/mips_pro.exp
9875 * gdb.base/morestack.exp
9876 * gdb.base/moribund-step.exp
9877 * gdb.base/multi-forks.exp
9878 * gdb.base/nested-addr.exp
9879 * gdb.base/nextoverexit.exp
9880 * gdb.base/noreturn-finish.exp
9881 * gdb.base/noreturn-return.exp
9882 * gdb.base/nostdlib.exp
9883 * gdb.base/offsets.exp
9884 * gdb.base/opaque.exp
9885 * gdb.base/pc-fp.exp
9886 * gdb.base/permissions.exp
9887 * gdb.base/print-symbol-loading.exp
9888 * gdb.base/prologue-include.exp
9889 * gdb.base/psymtab.exp
9890 * gdb.base/ptype.exp
9891 * gdb.base/random-signal.exp
9892 * gdb.base/randomize.exp
9893 * gdb.base/range-stepping.exp
9894 * gdb.base/readline-ask.exp
9895 * gdb.base/recpar.exp
9896 * gdb.base/recurse.exp
9897 * gdb.base/relational.exp
9898 * gdb.base/restore.exp
9899 * gdb.base/return-nodebug.exp
9900 * gdb.base/return.exp
9901 * gdb.base/run-after-attach.exp
9902 * gdb.base/save-bp.exp
9903 * gdb.base/scope.exp
9904 * gdb.base/sect-cmd.exp
9905 * gdb.base/set-lang-auto.exp
9906 * gdb.base/set-noassign.exp
9907 * gdb.base/setvar.exp
9908 * gdb.base/sigall.exp
9909 * gdb.base/sigbpt.exp
9910 * gdb.base/siginfo-addr.exp
9911 * gdb.base/siginfo-infcall.exp
9912 * gdb.base/siginfo-obj.exp
9913 * gdb.base/siginfo.exp
9914 * gdb.base/signals-state-child.exp
9915 * gdb.base/signest.exp
9916 * gdb.base/sigstep.exp
9917 * gdb.base/sizeof.exp
9918 * gdb.base/skip.exp
9919 * gdb.base/solib-corrupted.exp
9920 * gdb.base/solib-nodir.exp
9921 * gdb.base/solib-search.exp
9922 * gdb.base/stack-checking.exp
9923 * gdb.base/stale-infcall.exp
9924 * gdb.base/stap-probe.exp
9925 * gdb.base/start.exp
9926 * gdb.base/step-break.exp
9927 * gdb.base/step-bt.exp
9928 * gdb.base/step-line.exp
9929 * gdb.base/step-over-exit.exp
9930 * gdb.base/step-over-syscall.exp
9931 * gdb.base/step-resume-infcall.exp
9932 * gdb.base/step-test.exp
9933 * gdb.base/store.exp
9934 * gdb.base/structs3.exp
9935 * gdb.base/sym-file.exp
9936 * gdb.base/symbol-without-target_section.exp
9937 * gdb.base/term.exp
9938 * gdb.base/testenv.exp
9939 * gdb.base/ui-redirect.exp
9940 * gdb.base/until.exp
9941 * gdb.base/unwindonsignal.exp
9942 * gdb.base/value-double-free.exp
9943 * gdb.base/vla-datatypes.exp
9944 * gdb.base/vla-ptr.exp
9945 * gdb.base/vla-sideeffect.exp
9946 * gdb.base/volatile.exp
9947 * gdb.base/watch-cond-infcall.exp
9948 * gdb.base/watch-cond.exp
9949 * gdb.base/watch-non-mem.exp
9950 * gdb.base/watch-read.exp
9951 * gdb.base/watch-vfork.exp
9952 * gdb.base/watchpoint-cond-gone.exp
9953 * gdb.base/watchpoint-delete.exp
9954 * gdb.base/watchpoint-hw-hit-once.exp
9955 * gdb.base/watchpoint-hw.exp
9956 * gdb.base/watchpoint-stops-at-right-insn.exp
9957 * gdb.base/watchpoints.exp
9958 * gdb.base/wchar.exp
9959 * gdb.base/whatis-exp.exp
9960 * gdb.btrace/buffer-size.exp
9961 * gdb.btrace/data.exp
9962 * gdb.btrace/delta.exp
9963 * gdb.btrace/dlopen.exp
9964 * gdb.btrace/enable.exp
9965 * gdb.btrace/exception.exp
9966 * gdb.btrace/function_call_history.exp
9967 * gdb.btrace/gcore.exp
9968 * gdb.btrace/instruction_history.exp
9969 * gdb.btrace/nohist.exp
9970 * gdb.btrace/reconnect.exp
9971 * gdb.btrace/record_goto-step.exp
9972 * gdb.btrace/record_goto.exp
9973 * gdb.btrace/rn-dl-bind.exp
9974 * gdb.btrace/segv.exp
9975 * gdb.btrace/step.exp
9976 * gdb.btrace/stepi.exp
9977 * gdb.btrace/tailcall-only.exp
9978 * gdb.btrace/tailcall.exp
9979 * gdb.btrace/tsx.exp
9980 * gdb.btrace/unknown_functions.exp
9981 * gdb.btrace/vdso.exp
9982 * gdb.compile/compile-ifunc.exp
9983 * gdb.compile/compile-ops.exp
9984 * gdb.compile/compile-print.exp
9985 * gdb.compile/compile-setjmp.exp
9986 * gdb.cp/abstract-origin.exp
9987 * gdb.cp/ambiguous.exp
9988 * gdb.cp/annota2.exp
9989 * gdb.cp/annota3.exp
9990 * gdb.cp/anon-ns.exp
9991 * gdb.cp/anon-struct.exp
9992 * gdb.cp/anon-union.exp
9993 * gdb.cp/arg-reference.exp
9994 * gdb.cp/baseenum.exp
9995 * gdb.cp/bool.exp
9996 * gdb.cp/breakpoint.exp
9997 * gdb.cp/bs15503.exp
9998 * gdb.cp/call-c.exp
9999 * gdb.cp/casts.exp
10000 * gdb.cp/chained-calls.exp
10001 * gdb.cp/class2.exp
10002 * gdb.cp/classes.exp
10003 * gdb.cp/cmpd-minsyms.exp
10004 * gdb.cp/converts.exp
10005 * gdb.cp/cp-relocate.exp
10006 * gdb.cp/cpcompletion.exp
10007 * gdb.cp/cpexprs.exp
10008 * gdb.cp/cplabel.exp
10009 * gdb.cp/cplusfuncs.exp
10010 * gdb.cp/cpsizeof.exp
10011 * gdb.cp/ctti.exp
10012 * gdb.cp/derivation.exp
10013 * gdb.cp/destrprint.exp
10014 * gdb.cp/dispcxx.exp
10015 * gdb.cp/enum-class.exp
10016 * gdb.cp/exception.exp
10017 * gdb.cp/exceptprint.exp
10018 * gdb.cp/expand-psymtabs-cxx.exp
10019 * gdb.cp/expand-sals.exp
10020 * gdb.cp/extern-c.exp
10021 * gdb.cp/filename.exp
10022 * gdb.cp/formatted-ref.exp
10023 * gdb.cp/fpointer.exp
10024 * gdb.cp/gdb1355.exp
10025 * gdb.cp/gdb2495.exp
10026 * gdb.cp/hang.exp
10027 * gdb.cp/impl-this.exp
10028 * gdb.cp/infcall-dlopen.exp
10029 * gdb.cp/inherit.exp
10030 * gdb.cp/iostream.exp
10031 * gdb.cp/koenig.exp
10032 * gdb.cp/local.exp
10033 * gdb.cp/m-data.exp
10034 * gdb.cp/m-static.exp
10035 * gdb.cp/mb-ctor.exp
10036 * gdb.cp/mb-inline.exp
10037 * gdb.cp/mb-templates.exp
10038 * gdb.cp/member-name.exp
10039 * gdb.cp/member-ptr.exp
10040 * gdb.cp/meth-typedefs.exp
10041 * gdb.cp/method.exp
10042 * gdb.cp/method2.exp
10043 * gdb.cp/minsym-fallback.exp
10044 * gdb.cp/misc.exp
10045 * gdb.cp/namelessclass.exp
10046 * gdb.cp/namespace-enum.exp
10047 * gdb.cp/namespace-nested-import.exp
10048 * gdb.cp/namespace.exp
10049 * gdb.cp/nextoverthrow.exp
10050 * gdb.cp/no-dmgl-verbose.exp
10051 * gdb.cp/non-trivial-retval.exp
10052 * gdb.cp/noparam.exp
10053 * gdb.cp/nsdecl.exp
10054 * gdb.cp/nsimport.exp
10055 * gdb.cp/nsnested.exp
10056 * gdb.cp/nsnoimports.exp
10057 * gdb.cp/nsrecurs.exp
10058 * gdb.cp/nsstress.exp
10059 * gdb.cp/nsusing.exp
10060 * gdb.cp/operator.exp
10061 * gdb.cp/oranking.exp
10062 * gdb.cp/overload-const.exp
10063 * gdb.cp/overload.exp
10064 * gdb.cp/ovldbreak.exp
10065 * gdb.cp/ovsrch.exp
10066 * gdb.cp/paren-type.exp
10067 * gdb.cp/parse-lang.exp
10068 * gdb.cp/pass-by-ref.exp
10069 * gdb.cp/pr-1023.exp
10070 * gdb.cp/pr-1210.exp
10071 * gdb.cp/pr-574.exp
10072 * gdb.cp/pr10687.exp
10073 * gdb.cp/pr12028.exp
10074 * gdb.cp/pr17132.exp
10075 * gdb.cp/pr17494.exp
10076 * gdb.cp/pr9067.exp
10077 * gdb.cp/pr9167.exp
10078 * gdb.cp/pr9631.exp
10079 * gdb.cp/printmethod.exp
10080 * gdb.cp/psmang.exp
10081 * gdb.cp/psymtab-parameter.exp
10082 * gdb.cp/ptype-cv-cp.exp
10083 * gdb.cp/ptype-flags.exp
10084 * gdb.cp/re-set-overloaded.exp
10085 * gdb.cp/ref-types.exp
10086 * gdb.cp/rtti.exp
10087 * gdb.cp/scope-err.exp
10088 * gdb.cp/shadow.exp
10089 * gdb.cp/smartp.exp
10090 * gdb.cp/static-method.exp
10091 * gdb.cp/static-print-quit.exp
10092 * gdb.cp/temargs.exp
10093 * gdb.cp/templates.exp
10094 * gdb.cp/try_catch.exp
10095 * gdb.cp/typedef-operator.exp
10096 * gdb.cp/typeid.exp
10097 * gdb.cp/userdef.exp
10098 * gdb.cp/using-crash.exp
10099 * gdb.cp/var-tag.exp
10100 * gdb.cp/virtbase.exp
10101 * gdb.cp/virtfunc.exp
10102 * gdb.cp/virtfunc2.exp
10103 * gdb.cp/vla-cxx.exp
10104 * gdb.disasm/t01_mov.exp
10105 * gdb.disasm/t02_mova.exp
10106 * gdb.disasm/t03_add.exp
10107 * gdb.disasm/t04_sub.exp
10108 * gdb.disasm/t05_cmp.exp
10109 * gdb.disasm/t06_ari2.exp
10110 * gdb.disasm/t07_ari3.exp
10111 * gdb.disasm/t08_or.exp
10112 * gdb.disasm/t09_xor.exp
10113 * gdb.disasm/t10_and.exp
10114 * gdb.disasm/t11_logs.exp
10115 * gdb.disasm/t12_bit.exp
10116 * gdb.disasm/t13_otr.exp
10117 * gdb.dlang/circular.exp
10118 * gdb.dwarf2/arr-stride.exp
10119 * gdb.dwarf2/arr-subrange.exp
10120 * gdb.dwarf2/atomic-type.exp
10121 * gdb.dwarf2/bad-regnum.exp
10122 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10123 * gdb.dwarf2/callframecfa.exp
10124 * gdb.dwarf2/clztest.exp
10125 * gdb.dwarf2/corrupt.exp
10126 * gdb.dwarf2/data-loc.exp
10127 * gdb.dwarf2/dup-psym.exp
10128 * gdb.dwarf2/dw2-anon-mptr.exp
10129 * gdb.dwarf2/dw2-anonymous-func.exp
10130 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10131 * gdb.dwarf2/dw2-bad-unresolved.exp
10132 * gdb.dwarf2/dw2-basic.exp
10133 * gdb.dwarf2/dw2-canonicalize-type.exp
10134 * gdb.dwarf2/dw2-case-insensitive.exp
10135 * gdb.dwarf2/dw2-common-block.exp
10136 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10137 * gdb.dwarf2/dw2-compressed.exp
10138 * gdb.dwarf2/dw2-const.exp
10139 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10140 * gdb.dwarf2/dw2-cu-size.exp
10141 * gdb.dwarf2/dw2-dup-frame.exp
10142 * gdb.dwarf2/dw2-entry-value.exp
10143 * gdb.dwarf2/dw2-icycle.exp
10144 * gdb.dwarf2/dw2-ifort-parameter.exp
10145 * gdb.dwarf2/dw2-inline-break.exp
10146 * gdb.dwarf2/dw2-inline-param.exp
10147 * gdb.dwarf2/dw2-intercu.exp
10148 * gdb.dwarf2/dw2-intermix.exp
10149 * gdb.dwarf2/dw2-lexical-block-bare.exp
10150 * gdb.dwarf2/dw2-linkage-name-trust.exp
10151 * gdb.dwarf2/dw2-minsym-in-cu.exp
10152 * gdb.dwarf2/dw2-noloc.exp
10153 * gdb.dwarf2/dw2-op-call.exp
10154 * gdb.dwarf2/dw2-op-out-param.exp
10155 * gdb.dwarf2/dw2-opt-structptr.exp
10156 * gdb.dwarf2/dw2-param-error.exp
10157 * gdb.dwarf2/dw2-producer.exp
10158 * gdb.dwarf2/dw2-ranges-base.exp
10159 * gdb.dwarf2/dw2-ref-missing-frame.exp
10160 * gdb.dwarf2/dw2-reg-undefined.exp
10161 * gdb.dwarf2/dw2-regno-invalid.exp
10162 * gdb.dwarf2/dw2-restore.exp
10163 * gdb.dwarf2/dw2-restrict.exp
10164 * gdb.dwarf2/dw2-single-line-discriminators.exp
10165 * gdb.dwarf2/dw2-strp.exp
10166 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10167 * gdb.dwarf2/dw2-unresolved.exp
10168 * gdb.dwarf2/dw2-var-zero-addr.exp
10169 * gdb.dwarf2/dw4-sig-types.exp
10170 * gdb.dwarf2/dwz.exp
10171 * gdb.dwarf2/dynarr-ptr.exp
10172 * gdb.dwarf2/enum-type.exp
10173 * gdb.dwarf2/gdb-index.exp
10174 * gdb.dwarf2/implptr-64bit.exp
10175 * gdb.dwarf2/implptr-optimized-out.exp
10176 * gdb.dwarf2/implptr.exp
10177 * gdb.dwarf2/implref-array.exp
10178 * gdb.dwarf2/implref-const.exp
10179 * gdb.dwarf2/implref-global.exp
10180 * gdb.dwarf2/implref-struct.exp
10181 * gdb.dwarf2/mac-fileno.exp
10182 * gdb.dwarf2/main-subprogram.exp
10183 * gdb.dwarf2/member-ptr-forwardref.exp
10184 * gdb.dwarf2/method-ptr.exp
10185 * gdb.dwarf2/missing-sig-type.exp
10186 * gdb.dwarf2/nonvar-access.exp
10187 * gdb.dwarf2/opaque-type-lookup.exp
10188 * gdb.dwarf2/pieces-optimized-out.exp
10189 * gdb.dwarf2/pieces.exp
10190 * gdb.dwarf2/pr10770.exp
10191 * gdb.dwarf2/pr13961.exp
10192 * gdb.dwarf2/staticvirtual.exp
10193 * gdb.dwarf2/subrange.exp
10194 * gdb.dwarf2/symtab-producer.exp
10195 * gdb.dwarf2/trace-crash.exp
10196 * gdb.dwarf2/typeddwarf.exp
10197 * gdb.dwarf2/valop.exp
10198 * gdb.dwarf2/watch-notconst.exp
10199 * gdb.fortran/array-element.exp
10200 * gdb.fortran/charset.exp
10201 * gdb.fortran/common-block.exp
10202 * gdb.fortran/complex.exp
10203 * gdb.fortran/derived-type-function.exp
10204 * gdb.fortran/derived-type.exp
10205 * gdb.fortran/logical.exp
10206 * gdb.fortran/module.exp
10207 * gdb.fortran/multi-dim.exp
10208 * gdb.fortran/nested-funcs.exp
10209 * gdb.fortran/print-formatted.exp
10210 * gdb.fortran/subarray.exp
10211 * gdb.fortran/vla-alloc-assoc.exp
10212 * gdb.fortran/vla-datatypes.exp
10213 * gdb.fortran/vla-history.exp
10214 * gdb.fortran/vla-ptr-info.exp
10215 * gdb.fortran/vla-ptype-sub.exp
10216 * gdb.fortran/vla-ptype.exp
10217 * gdb.fortran/vla-sizeof.exp
10218 * gdb.fortran/vla-type.exp
10219 * gdb.fortran/vla-value-sub-arbitrary.exp
10220 * gdb.fortran/vla-value-sub-finish.exp
10221 * gdb.fortran/vla-value-sub.exp
10222 * gdb.fortran/vla-value.exp
10223 * gdb.fortran/whatis_type.exp
10224 * gdb.go/chan.exp
10225 * gdb.go/handcall.exp
10226 * gdb.go/hello.exp
10227 * gdb.go/integers.exp
10228 * gdb.go/methods.exp
10229 * gdb.go/package.exp
10230 * gdb.go/strings.exp
10231 * gdb.go/types.exp
10232 * gdb.go/unsafe.exp
10233 * gdb.guile/scm-arch.exp
10234 * gdb.guile/scm-block.exp
10235 * gdb.guile/scm-breakpoint.exp
10236 * gdb.guile/scm-cmd.exp
10237 * gdb.guile/scm-disasm.exp
10238 * gdb.guile/scm-equal.exp
10239 * gdb.guile/scm-frame-args.exp
10240 * gdb.guile/scm-frame-inline.exp
10241 * gdb.guile/scm-frame.exp
10242 * gdb.guile/scm-iterator.exp
10243 * gdb.guile/scm-math.exp
10244 * gdb.guile/scm-objfile.exp
10245 * gdb.guile/scm-ports.exp
10246 * gdb.guile/scm-symbol.exp
10247 * gdb.guile/scm-symtab.exp
10248 * gdb.guile/scm-value-cc.exp
10249 * gdb.guile/types-module.exp
10250 * gdb.linespec/break-ask.exp
10251 * gdb.linespec/cpexplicit.exp
10252 * gdb.linespec/explicit.exp
10253 * gdb.linespec/keywords.exp
10254 * gdb.linespec/linespec.exp
10255 * gdb.linespec/ls-dollar.exp
10256 * gdb.linespec/ls-errs.exp
10257 * gdb.linespec/skip-two.exp
10258 * gdb.linespec/thread.exp
10259 * gdb.mi/mi-async.exp
10260 * gdb.mi/mi-basics.exp
10261 * gdb.mi/mi-break.exp
10262 * gdb.mi/mi-catch-load.exp
10263 * gdb.mi/mi-cli.exp
10264 * gdb.mi/mi-cmd-param-changed.exp
10265 * gdb.mi/mi-console.exp
10266 * gdb.mi/mi-detach.exp
10267 * gdb.mi/mi-disassemble.exp
10268 * gdb.mi/mi-eval.exp
10269 * gdb.mi/mi-file-transfer.exp
10270 * gdb.mi/mi-file.exp
10271 * gdb.mi/mi-fill-memory.exp
10272 * gdb.mi/mi-inheritance-syntax-error.exp
10273 * gdb.mi/mi-linespec-err-cp.exp
10274 * gdb.mi/mi-logging.exp
10275 * gdb.mi/mi-memory-changed.exp
10276 * gdb.mi/mi-read-memory.exp
10277 * gdb.mi/mi-record-changed.exp
10278 * gdb.mi/mi-reg-undefined.exp
10279 * gdb.mi/mi-regs.exp
10280 * gdb.mi/mi-return.exp
10281 * gdb.mi/mi-reverse.exp
10282 * gdb.mi/mi-simplerun.exp
10283 * gdb.mi/mi-solib.exp
10284 * gdb.mi/mi-stack.exp
10285 * gdb.mi/mi-stepi.exp
10286 * gdb.mi/mi-syn-frame.exp
10287 * gdb.mi/mi-until.exp
10288 * gdb.mi/mi-var-block.exp
10289 * gdb.mi/mi-var-child.exp
10290 * gdb.mi/mi-var-cmd.exp
10291 * gdb.mi/mi-var-cp.exp
10292 * gdb.mi/mi-var-display.exp
10293 * gdb.mi/mi-var-invalidate.exp
10294 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10295 * gdb.mi/mi-vla-fortran.exp
10296 * gdb.mi/mi-watch.exp
10297 * gdb.mi/mi2-var-child.exp
10298 * gdb.mi/user-selected-context-sync.exp
10299 * gdb.modula2/unbounded-array.exp
10300 * gdb.multi/dummy-frame-restore.exp
10301 * gdb.multi/multi-arch-exec.exp
10302 * gdb.multi/multi-arch.exp
10303 * gdb.multi/tids.exp
10304 * gdb.multi/watchpoint-multi.exp
10305 * gdb.opencl/callfuncs.exp
10306 * gdb.opencl/convs_casts.exp
10307 * gdb.opencl/datatypes.exp
10308 * gdb.opencl/operators.exp
10309 * gdb.opencl/vec_comps.exp
10310 * gdb.opt/clobbered-registers-O2.exp
10311 * gdb.opt/inline-break.exp
10312 * gdb.opt/inline-bt.exp
10313 * gdb.opt/inline-cmds.exp
10314 * gdb.opt/inline-locals.exp
10315 * gdb.pascal/case-insensitive-symbols.exp
10316 * gdb.pascal/floats.exp
10317 * gdb.pascal/gdb11492.exp
10318 * gdb.python/lib-types.exp
10319 * gdb.python/py-arch.exp
10320 * gdb.python/py-as-string.exp
10321 * gdb.python/py-bad-printers.exp
10322 * gdb.python/py-block.exp
10323 * gdb.python/py-breakpoint-create-fail.exp
10324 * gdb.python/py-breakpoint.exp
10325 * gdb.python/py-caller-is.exp
10326 * gdb.python/py-cmd.exp
10327 * gdb.python/py-explore-cc.exp
10328 * gdb.python/py-explore.exp
10329 * gdb.python/py-finish-breakpoint.exp
10330 * gdb.python/py-finish-breakpoint2.exp
10331 * gdb.python/py-frame-args.exp
10332 * gdb.python/py-frame-inline.exp
10333 * gdb.python/py-frame.exp
10334 * gdb.python/py-framefilter-mi.exp
10335 * gdb.python/py-infthread.exp
10336 * gdb.python/py-lazy-string.exp
10337 * gdb.python/py-linetable.exp
10338 * gdb.python/py-mi-events.exp
10339 * gdb.python/py-mi-objfile.exp
10340 * gdb.python/py-mi.exp
10341 * gdb.python/py-objfile.exp
10342 * gdb.python/py-pp-integral.exp
10343 * gdb.python/py-pp-maint.exp
10344 * gdb.python/py-pp-re-notag.exp
10345 * gdb.python/py-pp-registration.exp
10346 * gdb.python/py-recurse-unwind.exp
10347 * gdb.python/py-strfns.exp
10348 * gdb.python/py-symbol.exp
10349 * gdb.python/py-symtab.exp
10350 * gdb.python/py-sync-interp.exp
10351 * gdb.python/py-typeprint.exp
10352 * gdb.python/py-unwind-maint.exp
10353 * gdb.python/py-unwind.exp
10354 * gdb.python/py-value-cc.exp
10355 * gdb.python/py-xmethods.exp
10356 * gdb.reverse/amd64-tailcall-reverse.exp
10357 * gdb.reverse/break-precsave.exp
10358 * gdb.reverse/break-reverse.exp
10359 * gdb.reverse/consecutive-precsave.exp
10360 * gdb.reverse/consecutive-reverse.exp
10361 * gdb.reverse/finish-precsave.exp
10362 * gdb.reverse/finish-reverse-bkpt.exp
10363 * gdb.reverse/finish-reverse.exp
10364 * gdb.reverse/fstatat-reverse.exp
10365 * gdb.reverse/getresuid-reverse.exp
10366 * gdb.reverse/i386-precsave.exp
10367 * gdb.reverse/i386-reverse.exp
10368 * gdb.reverse/i386-sse-reverse.exp
10369 * gdb.reverse/i387-env-reverse.exp
10370 * gdb.reverse/i387-stack-reverse.exp
10371 * gdb.reverse/insn-reverse.exp
10372 * gdb.reverse/machinestate-precsave.exp
10373 * gdb.reverse/machinestate.exp
10374 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10375 * gdb.reverse/pipe-reverse.exp
10376 * gdb.reverse/readv-reverse.exp
10377 * gdb.reverse/recvmsg-reverse.exp
10378 * gdb.reverse/rerun-prec.exp
10379 * gdb.reverse/s390-mvcle.exp
10380 * gdb.reverse/step-precsave.exp
10381 * gdb.reverse/step-reverse.exp
10382 * gdb.reverse/time-reverse.exp
10383 * gdb.reverse/until-precsave.exp
10384 * gdb.reverse/until-reverse.exp
10385 * gdb.reverse/waitpid-reverse.exp
10386 * gdb.reverse/watch-precsave.exp
10387 * gdb.reverse/watch-reverse.exp
10388 * gdb.rust/generics.exp
10389 * gdb.rust/methods.exp
10390 * gdb.rust/modules.exp
10391 * gdb.rust/simple.exp
10392 * gdb.server/connect-with-no-symbol-file.exp
10393 * gdb.server/ext-attach.exp
10394 * gdb.server/ext-restart.exp
10395 * gdb.server/ext-wrapper.exp
10396 * gdb.server/file-transfer.exp
10397 * gdb.server/server-exec-info.exp
10398 * gdb.server/server-kill.exp
10399 * gdb.server/server-mon.exp
10400 * gdb.server/wrapper.exp
10401 * gdb.stabs/exclfwd.exp
10402 * gdb.stabs/gdb11479.exp
10403 * gdb.threads/clone-new-thread-event.exp
10404 * gdb.threads/corethreads.exp
10405 * gdb.threads/current-lwp-dead.exp
10406 * gdb.threads/dlopen-libpthread.exp
10407 * gdb.threads/gcore-thread.exp
10408 * gdb.threads/sigstep-threads.exp
10409 * gdb.threads/watchpoint-fork.exp
10410 * gdb.trace/actions-changed.exp
10411 * gdb.trace/backtrace.exp
10412 * gdb.trace/change-loc.exp
10413 * gdb.trace/circ.exp
10414 * gdb.trace/collection.exp
10415 * gdb.trace/disconnected-tracing.exp
10416 * gdb.trace/ftrace.exp
10417 * gdb.trace/mi-trace-frame-collected.exp
10418 * gdb.trace/mi-trace-unavailable.exp
10419 * gdb.trace/mi-traceframe-changed.exp
10420 * gdb.trace/mi-tsv-changed.exp
10421 * gdb.trace/no-attach-trace.exp
10422 * gdb.trace/passc-dyn.exp
10423 * gdb.trace/qtro.exp
10424 * gdb.trace/range-stepping.exp
10425 * gdb.trace/read-memory.exp
10426 * gdb.trace/save-trace.exp
10427 * gdb.trace/signal.exp
10428 * gdb.trace/status-stop.exp
10429 * gdb.trace/tfile.exp
10430 * gdb.trace/trace-break.exp
10431 * gdb.trace/trace-buffer-size.exp
10432 * gdb.trace/trace-condition.exp
10433 * gdb.trace/tracefile-pseudo-reg.exp
10434 * gdb.trace/tstatus.exp
10435 * gdb.trace/unavailable.exp
10436 * gdb.trace/while-dyn.exp
10437 * gdb.trace/while-stepping.exp
10438
34c41c68
DE
104392016-12-22 Doug Evans <xdje42@gmail.com>
10440
10441 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10442 and msymbols.
10443
16e69324
YQ
104442016-12-19 Yao Qi <yao.qi@linaro.org>
10445
10446 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10447 (test_with_self): Don't call do_steps_and_nexts, and remove
10448 code about stepping into xmalloc.
10449
f94f411b
YQ
104502016-12-09 Yao Qi <yao.qi@linaro.org>
10451
10452 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10453
104542016-12-09 Yao Qi <yao.qi@linaro.org>
10455
10456 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10457
f1b5deee
PA
104582016-12-09 Pedro Alves <palves@redhat.com>
10459
10460 * gdb.base/all-architectures-0.exp: New file.
10461 * gdb.base/all-architectures-1.exp: New file.
10462 * gdb.base/all-architectures-2.exp: New file.
10463 * gdb.base/all-architectures-3.exp: New file.
10464 * gdb.base/all-architectures-4.exp: New file.
10465 * gdb.base/all-architectures-5.exp: New file.
10466 * gdb.base/all-architectures-6.exp: New file.
10467 * gdb.base/all-architectures-7.exp: New file.
10468 * gdb.base/all-architectures.exp.in: New file.
10469
364ca42e
YQ
104702016-12-09 Yao Qi <yao.qi@linaro.org>
10471
10472 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10473
107c2d62
LM
104742016-12-02 Luis Machado <lgustavo@codesourcery.com>
10475
10476 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10477 possible.
10478 Remove useless pattern-matching code.
10479
df3ee9ca
PA
104802016-12-02 Pedro Alves <palves@redhat.com>
10481
10482 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10483 procedure.
10484 (top level): Call it.
10485
ec835369
PA
104862016-12-02 Pedro Alves <palves@redhat.com>
10487
10488 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10489 New procedure.
10490 (top level): Call it.
10491
01770bbd
PA
104922016-12-02 Pedro Alves <palves@redhat.com>
10493
10494 PR cli/20559
10495 * gdb.base/commands.exp (user_defined_command_args_eval): New
10496 procedure.
10497 (top level): Call it.
10498
008459ea
LM
104992016-12-02 Luis Machado <lgustavo@codesourcery.com>
10500
10501 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10502 timeout handling.
10503
0c1b455e
TT
105042016-12-02 Tom Tromey <tom@tromey.com>
10505
10506 * gdb.dwarf2/main-subprogram.c: New file.
10507 * gdb.dwarf2/main-subprogram.exp: New file.
10508
018572b8
LM
105092016-12-01 Luis Machado <lgustavo@codesourcery.com>
10510
10511 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10512 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10513 gdb_test_no_output for a couple of cases.
10514 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10515
84c93cd5
LM
105162016-12-01 Luis Machado <lgustavo@codesourcery.com>
10517
10518 Fix test names and standardize compilation error messages throughout
10519 the following files:
10520
10521 * gdb.ada/start.exp
10522 * gdb.arch/alpha-step.exp
10523 * gdb.arch/e500-prologue.exp
10524 * gdb.arch/ftrace-insn-reloc.exp
10525 * gdb.arch/gdb1291.exp
10526 * gdb.arch/gdb1431.exp
10527 * gdb.arch/gdb1558.exp
10528 * gdb.arch/i386-dr3-watch.exp
10529 * gdb.arch/i386-sse-stack-align.exp
10530 * gdb.arch/ia64-breakpoint-shadow.exp
10531 * gdb.arch/pa-nullify.exp
10532 * gdb.arch/powerpc-aix-prologue.exp
10533 * gdb.arch/thumb-bx-pc.exp
10534 * gdb.base/annota1.exp
10535 * gdb.base/annota3.exp
10536 * gdb.base/arrayidx.exp
10537 * gdb.base/assign.exp
10538 * gdb.base/attach.exp
10539 * gdb.base/auxv.exp
10540 * gdb.base/bang.exp
10541 * gdb.base/bfp-test.exp
10542 * gdb.base/bigcore.exp
10543 * gdb.base/bitfields2.exp
10544 * gdb.base/break-fun-addr.exp
10545 * gdb.base/break-probes.exp
10546 * gdb.base/call-rt-st.exp
10547 * gdb.base/callexit.exp
10548 * gdb.base/catch-fork-kill.exp
10549 * gdb.base/charset.exp
10550 * gdb.base/checkpoint.exp
10551 * gdb.base/comprdebug.exp
10552 * gdb.base/constvars.exp
10553 * gdb.base/coredump-filter.exp
10554 * gdb.base/cursal.exp
10555 * gdb.base/cvexpr.exp
10556 * gdb.base/detach.exp
10557 * gdb.base/display.exp
10558 * gdb.base/dmsym.exp
10559 * gdb.base/dprintf-pending.exp
10560 * gdb.base/dso2dso.exp
10561 * gdb.base/dtrace-probe.exp
10562 * gdb.base/dump.exp
10563 * gdb.base/enum_cond.exp
10564 * gdb.base/exe-lock.exp
10565 * gdb.base/exec-invalid-sysroot.exp
10566 * gdb.base/execl-update-breakpoints.exp
10567 * gdb.base/exprs.exp
10568 * gdb.base/fileio.exp
10569 * gdb.base/find.exp
10570 * gdb.base/finish.exp
10571 * gdb.base/fixsection.exp
10572 * gdb.base/foll-vfork.exp
10573 * gdb.base/frame-args.exp
10574 * gdb.base/gcore.exp
10575 * gdb.base/gdb1250.exp
10576 * gdb.base/global-var-nested-by-dso.exp
10577 * gdb.base/gnu-ifunc.exp
10578 * gdb.base/hashline1.exp
10579 * gdb.base/hashline2.exp
10580 * gdb.base/hashline3.exp
10581 * gdb.base/hbreak-in-shr-unsupported.exp
10582 * gdb.base/huge.exp
10583 * gdb.base/infcall-input.exp
10584 * gdb.base/info-fun.exp
10585 * gdb.base/info-shared.exp
10586 * gdb.base/jit-simple.exp
10587 * gdb.base/jit-so.exp
10588 * gdb.base/jit.exp
10589 * gdb.base/jump.exp
10590 * gdb.base/label.exp
10591 * gdb.base/lineinc.exp
10592 * gdb.base/logical.exp
10593 * gdb.base/longjmp.exp
10594 * gdb.base/macscp.exp
10595 * gdb.base/miscexprs.exp
10596 * gdb.base/new-ui-echo.exp
10597 * gdb.base/new-ui-pending-input.exp
10598 * gdb.base/new-ui.exp
10599 * gdb.base/nodebug.exp
10600 * gdb.base/nofield.exp
10601 * gdb.base/offsets.exp
10602 * gdb.base/overlays.exp
10603 * gdb.base/pending.exp
10604 * gdb.base/pointers.exp
10605 * gdb.base/pr11022.exp
10606 * gdb.base/printcmds.exp
10607 * gdb.base/prologue.exp
10608 * gdb.base/ptr-typedef.exp
10609 * gdb.base/realname-expand.exp
10610 * gdb.base/relativedebug.exp
10611 * gdb.base/relocate.exp
10612 * gdb.base/remote.exp
10613 * gdb.base/reread.exp
10614 * gdb.base/return2.exp
10615 * gdb.base/savedregs.exp
10616 * gdb.base/sep.exp
10617 * gdb.base/sepdebug.exp
10618 * gdb.base/sepsymtab.exp
10619 * gdb.base/set-inferior-tty.exp
10620 * gdb.base/setshow.exp
10621 * gdb.base/shlib-call.exp
10622 * gdb.base/sigaltstack.exp
10623 * gdb.base/siginfo-addr.exp
10624 * gdb.base/signals.exp
10625 * gdb.base/signull.exp
10626 * gdb.base/sigrepeat.exp
10627 * gdb.base/so-impl-ld.exp
10628 * gdb.base/solib-display.exp
10629 * gdb.base/solib-overlap.exp
10630 * gdb.base/solib-search.exp
10631 * gdb.base/solib-symbol.exp
10632 * gdb.base/structs.exp
10633 * gdb.base/structs2.exp
10634 * gdb.base/symtab-search-order.exp
10635 * gdb.base/twice.exp
10636 * gdb.base/unload.exp
10637 * gdb.base/varargs.exp
10638 * gdb.base/watchpoint-solib.exp
10639 * gdb.base/watchpoint.exp
10640 * gdb.base/whatis.exp
10641 * gdb.base/wrong_frame_bt_full.exp
10642 * gdb.btrace/dlopen.exp
10643 * gdb.cell/ea-standalone.exp
10644 * gdb.cell/ea-test.exp
10645 * gdb.cp/dispcxx.exp
10646 * gdb.cp/gdb2384.exp
10647 * gdb.cp/method2.exp
10648 * gdb.cp/nextoverthrow.exp
10649 * gdb.cp/pr10728.exp
10650 * gdb.disasm/am33.exp
10651 * gdb.disasm/h8300s.exp
10652 * gdb.disasm/mn10300.exp
10653 * gdb.disasm/sh3.exp
10654 * gdb.dwarf2/dw2-dir-file-name.exp
10655 * gdb.fortran/complex.exp
10656 * gdb.fortran/library-module.exp
10657 * gdb.guile/scm-pretty-print.exp
10658 * gdb.guile/scm-symbol.exp
10659 * gdb.guile/scm-type.exp
10660 * gdb.guile/scm-value.exp
10661 * gdb.linespec/linespec.exp
10662 * gdb.mi/gdb701.exp
10663 * gdb.mi/gdb792.exp
10664 * gdb.mi/mi-breakpoint-changed.exp
10665 * gdb.mi/mi-dprintf-pending.exp
10666 * gdb.mi/mi-dprintf.exp
10667 * gdb.mi/mi-exit-code.exp
10668 * gdb.mi/mi-pending.exp
10669 * gdb.mi/mi-solib.exp
10670 * gdb.mi/new-ui-mi-sync.exp
10671 * gdb.mi/pr11022.exp
10672 * gdb.mi/user-selected-context-sync.exp
10673 * gdb.opt/solib-intra-step.exp
10674 * gdb.python/py-events.exp
10675 * gdb.python/py-finish-breakpoint.exp
10676 * gdb.python/py-mi.exp
10677 * gdb.python/py-prettyprint.exp
10678 * gdb.python/py-shared.exp
10679 * gdb.python/py-symbol.exp
10680 * gdb.python/py-template.exp
10681 * gdb.python/py-type.exp
10682 * gdb.python/py-value.exp
10683 * gdb.reverse/solib-precsave.exp
10684 * gdb.reverse/solib-reverse.exp
10685 * gdb.server/solib-list.exp
10686 * gdb.stabs/weird.exp
10687 * gdb.threads/reconnect-signal.exp
10688 * gdb.threads/stepi-random-signal.exp
10689 * gdb.trace/actions.exp
10690 * gdb.trace/ax.exp
10691 * gdb.trace/backtrace.exp
10692 * gdb.trace/change-loc.exp
10693 * gdb.trace/deltrace.exp
10694 * gdb.trace/ftrace-lock.exp
10695 * gdb.trace/ftrace.exp
10696 * gdb.trace/infotrace.exp
10697 * gdb.trace/mi-tracepoint-changed.exp
10698 * gdb.trace/packetlen.exp
10699 * gdb.trace/passcount.exp
10700 * gdb.trace/pending.exp
10701 * gdb.trace/range-stepping.exp
10702 * gdb.trace/report.exp
10703 * gdb.trace/stap-trace.exp
10704 * gdb.trace/tfind.exp
10705 * gdb.trace/trace-break.exp
10706 * gdb.trace/trace-condition.exp
10707 * gdb.trace/trace-enable-disable.exp
10708 * gdb.trace/trace-mt.exp
10709 * gdb.trace/tracecmd.exp
10710 * gdb.trace/tspeed.exp
10711 * gdb.trace/tsv.exp
10712 * lib/perftest.exp
10713
fb9feb35
LM
107142016-12-01 Luis Machado <lgustavo@codesourcery.com>
10715
10716 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10717 with gdb_test_no_output.
10718 Use command as test name.
10719
cd2ddb6c
LM
107202016-12-01 Luis Machado <lgustavo@codesourcery.com>
10721
10722 Fix test names starting with uppercase throughout the files.
10723
10724 * gdb.ada/assign_1.exp
10725 * gdb.ada/boolean_expr.exp
10726 * gdb.base/arrayidx.exp
10727 * gdb.base/del.exp
10728 * gdb.base/gcore-buffer-overflow.exp
10729 * gdb.base/testenv.exp
10730 * gdb.compile/compile.exp
10731 * gdb.python/py-framefilter-invalidarg.exp
10732 * gdb.python/py-framefilter.exp
10733
bb95117e
LM
107342016-12-01 Luis Machado <lgustavo@codesourcery.com>
10735
10736 Fix test names starting with uppercase throughout the files.
10737
10738 * gdb.ada/array_return.exp
10739 * gdb.ada/expr_delims.exp
10740 * gdb.ada/mi_dyn_arr.exp
10741 * gdb.ada/mi_interface.exp
10742 * gdb.ada/mi_var_array.exp
10743 * gdb.ada/watch_arg.exp
10744 * gdb.arch/alpha-step.exp
10745 * gdb.arch/altivec-regs.exp
10746 * gdb.arch/e500-regs.exp
10747 * gdb.arch/powerpc-d128-regs.exp
10748 * gdb.base/arrayidx.exp
10749 * gdb.base/break.exp
10750 * gdb.base/checkpoint.exp
10751 * gdb.base/debug-expr.exp
10752 * gdb.base/dmsym.exp
10753 * gdb.base/radix.exp
10754 * gdb.base/sepdebug.exp
10755 * gdb.base/testenv.exp
10756 * gdb.base/watch_thread_num.exp
10757 * gdb.base/watchpoint-cond-gone.exp
10758 * gdb.cell/break.exp
10759 * gdb.cell/ea-cache.exp
10760 * gdb.compile/compile.exp
10761 * gdb.cp/gdb2495.exp
10762 * gdb.gdb/selftest.exp
10763 * gdb.gdb/xfullpath.exp
10764 * gdb.go/hello.exp
10765 * gdb.go/integers.exp
10766 * gdb.objc/basicclass.exp
10767 * gdb.pascal/hello.exp
10768 * gdb.pascal/integers.exp
10769 * gdb.python/py-breakpoint.exp
10770 * gdb.python/py-cmd.exp
10771 * gdb.python/py-linetable.exp
10772 * gdb.python/py-xmethods.exp
10773 * gdb.python/python.exp
10774 * gdb.reverse/consecutive-precsave.exp
10775 * gdb.reverse/finish-precsave.exp
10776 * gdb.reverse/i386-precsave.exp
10777 * gdb.reverse/machinestate-precsave.exp
10778 * gdb.reverse/sigall-precsave.exp
10779 * gdb.reverse/solib-precsave.exp
10780 * gdb.reverse/step-precsave.exp
10781 * gdb.reverse/until-precsave.exp
10782 * gdb.reverse/watch-precsave.exp
10783 * gdb.threads/leader-exit.exp
10784 * gdb.threads/pthreads.exp
10785 * gdb.threads/wp-replication.exp
10786 * gdb.trace/actions.exp
10787 * gdb.trace/mi-tsv-changed.exp
10788 * gdb.trace/tsv.exp
10789
de97fdd4
LM
107902016-12-01 Luis Machado <lgustavo@codesourcery.com>
10791
10792 Fix test names starting with uppercase throughout the files.
10793
10794 * gdb.arch/i386-bp_permanent.exp
10795 * gdb.arch/i386-gnu-cfi.exp
10796 * gdb.base/disasm-end-cu.exp
10797 * gdb.base/macscp.exp
10798 * gdb.base/pending.exp
10799 * gdb.base/watch_thread_num.exp
10800 * gdb.cp/exception.exp
10801 * gdb.cp/gdb2495.exp
10802 * gdb.cp/local.exp
10803 * gdb.python/py-evsignal.exp
10804 * gdb.python/python.exp
10805 * gdb.trace/tracecmd.exp
10806
9f058c10
LM
108072016-12-01 Luis Machado <lgustavo@codesourcery.com>
10808
10809 Fix test names starting with uppercase throughout the files.
10810
10811 * gdb.base/charset.exp
10812 * gdb.base/eval.exp
10813 * gdb.base/multi-forks.exp
10814 * gdb.guile/scm-progspace.exp
10815 * gdb.opencl/datatypes.exp
10816 * gdb.python/py-block.exp
10817 * gdb.python/py-function.exp
10818 * gdb.python/py-symbol.exp
10819 * gdb.python/py-symtab.exp
10820 * gdb.python/py-xmethods.exp
10821 * gdb.reverse/break-precsave.exp
10822 * gdb.reverse/break-reverse.exp
10823 * gdb.reverse/consecutive-precsave.exp
10824 * gdb.reverse/consecutive-reverse.exp
10825 * gdb.reverse/finish-precsave.exp
10826 * gdb.reverse/finish-reverse-bkpt.exp
10827 * gdb.reverse/finish-reverse.exp
10828 * gdb.reverse/fstatat-reverse.exp
10829 * gdb.reverse/getresuid-reverse.exp
10830 * gdb.reverse/i386-precsave.exp
10831 * gdb.reverse/i386-reverse.exp
10832 * gdb.reverse/i386-sse-reverse.exp
10833 * gdb.reverse/i387-stack-reverse.exp
10834 * gdb.reverse/insn-reverse.exp
10835 * gdb.reverse/machinestate-precsave.exp
10836 * gdb.reverse/machinestate.exp
10837 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10838 * gdb.reverse/pipe-reverse.exp
10839 * gdb.reverse/readv-reverse.exp
10840 * gdb.reverse/recvmsg-reverse.exp
10841 * gdb.reverse/rerun-prec.exp
10842 * gdb.reverse/s390-mvcle.exp
10843 * gdb.reverse/sigall-precsave.exp
10844 * gdb.reverse/sigall-reverse.exp
10845 * gdb.reverse/solib-precsave.exp
10846 * gdb.reverse/solib-reverse.exp
10847 * gdb.reverse/step-precsave.exp
10848 * gdb.reverse/step-reverse.exp
10849 * gdb.reverse/time-reverse.exp
10850 * gdb.reverse/until-precsave.exp
10851 * gdb.reverse/until-reverse.exp
10852 * gdb.reverse/waitpid-reverse.exp
10853 * gdb.reverse/watch-precsave.exp
10854 * gdb.reverse/watch-reverse.exp
10855
cdc7edd7
LM
108562016-12-01 Luis Machado <lgustavo@codesourcery.com>
10857
10858 Fix test names starting with uppercase throughout the files.
10859
10860 * gdb.arch/i386-mpx-simple_segv.exp
10861 * gdb.arch/i386-mpx.exp
10862 * gdb.arch/i386-permbkpt.exp
10863 * gdb.arch/pa-nullify.exp
10864 * gdb.arch/powerpc-d128-regs.exp
10865 * gdb.arch/vsx-regs.exp
10866 * gdb.base/bfp-test.exp
10867 * gdb.base/break.exp
10868 * gdb.base/breakpoint-shadow.exp
10869 * gdb.base/callfuncs.exp
10870 * gdb.base/charset.exp
10871 * gdb.base/commands.exp
10872 * gdb.base/completion.exp
10873 * gdb.base/dfp-test.exp
10874 * gdb.base/echo.exp
10875 * gdb.base/ending-run.exp
10876 * gdb.base/eval.exp
10877 * gdb.base/expand-psymtabs.exp
10878 * gdb.base/float128.exp
10879 * gdb.base/floatn.exp
10880 * gdb.base/foll-exec-mode.exp
10881 * gdb.base/gdb1056.exp
10882 * gdb.base/gdb11531.exp
10883 * gdb.base/kill-after-signal.exp
10884 * gdb.base/multi-forks.exp
10885 * gdb.base/overlays.exp
10886 * gdb.base/pending.exp
10887 * gdb.base/sepdebug.exp
10888 * gdb.base/testenv.exp
10889 * gdb.base/valgrind-db-attach.exp
10890 * gdb.base/watch_thread_num.exp
10891 * gdb.base/watchpoint-cond-gone.exp
10892 * gdb.base/watchpoint.exp
10893 * gdb.base/watchpoints.exp
10894 * gdb.cp/arg-reference.exp
10895 * gdb.cp/baseenum.exp
10896 * gdb.cp/operator.exp
10897 * gdb.cp/shadow.exp
10898 * gdb.dwarf2/dw2-op-out-param.exp
10899 * gdb.dwarf2/dw2-reg-undefined.exp
10900 * gdb.go/chan.exp
10901 * gdb.go/hello.exp
10902 * gdb.go/integers.exp
10903 * gdb.go/methods.exp
10904 * gdb.go/package.exp
10905 * gdb.guile/scm-parameter.exp
10906 * gdb.guile/scm-progspace.exp
10907 * gdb.guile/scm-value.exp
10908 * gdb.mi/mi-pending.exp
10909 * gdb.mi/user-selected-context-sync.exp
10910 * gdb.multi/multi-attach.exp
10911 * gdb.multi/tids.exp
10912 * gdb.opt/clobbered-registers-O2.exp
10913 * gdb.pascal/floats.exp
10914 * gdb.pascal/integers.exp
10915 * gdb.python/py-block.exp
10916 * gdb.python/py-events.exp
10917 * gdb.python/py-parameter.exp
10918 * gdb.python/py-symbol.exp
10919 * gdb.python/py-symtab.exp
10920 * gdb.python/py-type.exp
10921 * gdb.python/py-value.exp
10922 * gdb.python/py-xmethods.exp
10923 * gdb.python/python.exp
10924 * gdb.reverse/break-precsave.exp
10925 * gdb.reverse/consecutive-precsave.exp
10926 * gdb.reverse/finish-precsave.exp
10927 * gdb.reverse/i386-precsave.exp
10928 * gdb.reverse/machinestate-precsave.exp
10929 * gdb.reverse/sigall-precsave.exp
10930 * gdb.reverse/solib-precsave.exp
10931 * gdb.reverse/step-precsave.exp
10932 * gdb.reverse/until-precsave.exp
10933 * gdb.reverse/watch-precsave.exp
10934 * gdb.server/ext-attach.exp
10935 * gdb.server/ext-restart.exp
10936 * gdb.server/ext-run.exp
10937 * gdb.server/ext-wrapper.exp
10938 * gdb.stabs/gdb11479.exp
10939 * gdb.stabs/weird.exp
10940 * gdb.threads/attach-many-short-lived-threads.exp
10941 * gdb.threads/kill.exp
10942 * gdb.threads/watchpoint-fork.exp
10943
bc6c7af4
LM
109442016-12-01 Luis Machado <lgustavo@codesourcery.com>
10945
10946 Fix test names starting with uppercase throughout all the files below.
10947
10948 * gdb.ada/array_return.exp
10949 * gdb.ada/catch_ex.exp
10950 * gdb.ada/info_exc.exp
10951 * gdb.ada/mi_catch_ex.exp
10952 * gdb.ada/mi_dyn_arr.exp
10953 * gdb.ada/mi_ex_cond.exp
10954 * gdb.ada/mi_exc_info.exp
10955 * gdb.ada/mi_interface.exp
10956 * gdb.ada/mi_task_arg.exp
10957 * gdb.ada/mi_task_info.exp
10958 * gdb.ada/mi_var_array.exp
10959 * gdb.arch/alpha-step.exp
10960 * gdb.arch/amd64-disp-step.exp
10961 * gdb.arch/arm-disp-step.exp
10962 * gdb.arch/disp-step-insn-reloc.exp
10963 * gdb.arch/e500-prologue.exp
10964 * gdb.arch/ftrace-insn-reloc.exp
10965 * gdb.arch/gdb1558.exp
10966 * gdb.arch/i386-bp_permanent.exp
10967 * gdb.arch/i386-disp-step.exp
10968 * gdb.arch/i386-float.exp
10969 * gdb.arch/i386-gnu-cfi.exp
10970 * gdb.arch/ia64-breakpoint-shadow.exp
10971 * gdb.arch/mips16-thunks.exp
10972 * gdb.arch/pa-nullify.exp
10973 * gdb.arch/powerpc-aix-prologue.exp
10974 * gdb.arch/powerpc-power.exp
10975 * gdb.arch/ppc-dfp.exp
10976 * gdb.arch/s390-tdbregs.exp
10977 * gdb.arch/spu-info.exp
10978 * gdb.arch/spu-ls.exp
10979 * gdb.arch/thumb-bx-pc.exp
10980 * gdb.base/advance.exp
10981 * gdb.base/annota-input-while-running.exp
10982 * gdb.base/arrayidx.exp
10983 * gdb.base/asmlabel.exp
10984 * gdb.base/async.exp
10985 * gdb.base/attach-wait-input.exp
10986 * gdb.base/auto-connect-native-target.exp
10987 * gdb.base/batch-preserve-term-settings.exp
10988 * gdb.base/bfp-test.exp
10989 * gdb.base/bigcore.exp
10990 * gdb.base/bp-permanent.exp
10991 * gdb.base/break-always.exp
10992 * gdb.base/break-fun-addr.exp
10993 * gdb.base/break-idempotent.exp
10994 * gdb.base/break-main-file-remove-fail.exp
10995 * gdb.base/break-probes.exp
10996 * gdb.base/break-unload-file.exp
10997 * gdb.base/break.exp
10998 * gdb.base/call-ar-st.exp
10999 * gdb.base/call-rt-st.exp
11000 * gdb.base/call-sc.exp
11001 * gdb.base/call-signal-resume.exp
11002 * gdb.base/call-strs.exp
11003 * gdb.base/callexit.exp
11004 * gdb.base/callfuncs.exp
11005 * gdb.base/catch-gdb-caused-signals.exp
11006 * gdb.base/catch-signal-siginfo-cond.exp
11007 * gdb.base/catch-syscall.exp
11008 * gdb.base/compare-sections.exp
11009 * gdb.base/cond-eval-mode.exp
11010 * gdb.base/condbreak-call-false.exp
11011 * gdb.base/consecutive-step-over.exp
11012 * gdb.base/cursal.exp
11013 * gdb.base/disabled-location.exp
11014 * gdb.base/disasm-end-cu.exp
11015 * gdb.base/display.exp
11016 * gdb.base/double-prompt-target-event-error.exp
11017 * gdb.base/dprintf-bp-same-addr.exp
11018 * gdb.base/dprintf-detach.exp
11019 * gdb.base/dprintf-next.exp
11020 * gdb.base/dprintf-non-stop.exp
11021 * gdb.base/dprintf-pending.exp
11022 * gdb.base/dso2dso.exp
11023 * gdb.base/ending-run.exp
11024 * gdb.base/enum_cond.exp
11025 * gdb.base/examine-backward.exp
11026 * gdb.base/exe-lock.exp
11027 * gdb.base/exec-invalid-sysroot.exp
11028 * gdb.base/execl-update-breakpoints.exp
11029 * gdb.base/execution-termios.exp
11030 * gdb.base/fileio.exp
11031 * gdb.base/fixsection.exp
11032 * gdb.base/foll-exec-mode.exp
11033 * gdb.base/foll-exec.exp
11034 * gdb.base/fork-running-state.exp
11035 * gdb.base/frame-args.exp
11036 * gdb.base/fullpath-expand.exp
11037 * gdb.base/func-ptr.exp
11038 * gdb.base/gcore-relro-pie.exp
11039 * gdb.base/gdb1090.exp
11040 * gdb.base/gdb1555.exp
11041 * gdb.base/global-var-nested-by-dso.exp
11042 * gdb.base/gnu-ifunc.exp
11043 * gdb.base/hbreak-in-shr-unsupported.exp
11044 * gdb.base/hbreak-unmapped.exp
11045 * gdb.base/hook-stop.exp
11046 * gdb.base/infcall-input.exp
11047 * gdb.base/info-fun.exp
11048 * gdb.base/info-shared.exp
11049 * gdb.base/interrupt-noterm.exp
11050 * gdb.base/jit-so.exp
11051 * gdb.base/jit.exp
11052 * gdb.base/line-symtabs.exp
11053 * gdb.base/list.exp
11054 * gdb.base/longjmp.exp
11055 * gdb.base/macscp.exp
11056 * gdb.base/max-value-size.exp
11057 * gdb.base/nodebug.exp
11058 * gdb.base/nofield.exp
11059 * gdb.base/overlays.exp
11060 * gdb.base/paginate-after-ctrl-c-running.exp
11061 * gdb.base/paginate-bg-execution.exp
11062 * gdb.base/paginate-inferior-exit.exp
11063 * gdb.base/pending.exp
11064 * gdb.base/pr11022.exp
11065 * gdb.base/printcmds.exp
11066 * gdb.base/ptr-typedef.exp
11067 * gdb.base/ptype.exp
11068 * gdb.base/randomize.exp
11069 * gdb.base/range-stepping.exp
11070 * gdb.base/realname-expand.exp
11071 * gdb.base/relativedebug.exp
11072 * gdb.base/remote.exp
11073 * gdb.base/savedregs.exp
11074 * gdb.base/sepdebug.exp
11075 * gdb.base/set-noassign.exp
11076 * gdb.base/shlib-call.exp
11077 * gdb.base/shreloc.exp
11078 * gdb.base/sigaltstack.exp
11079 * gdb.base/sigbpt.exp
11080 * gdb.base/siginfo-addr.exp
11081 * gdb.base/siginfo-obj.exp
11082 * gdb.base/siginfo-thread.exp
11083 * gdb.base/signest.exp
11084 * gdb.base/signull.exp
11085 * gdb.base/sigrepeat.exp
11086 * gdb.base/skip.exp
11087 * gdb.base/so-impl-ld.exp
11088 * gdb.base/solib-corrupted.exp
11089 * gdb.base/solib-disc.exp
11090 * gdb.base/solib-display.exp
11091 * gdb.base/solib-overlap.exp
11092 * gdb.base/solib-search.exp
11093 * gdb.base/solib-symbol.exp
11094 * gdb.base/source-execution.exp
11095 * gdb.base/sss-bp-on-user-bp-2.exp
11096 * gdb.base/sss-bp-on-user-bp.exp
11097 * gdb.base/stack-checking.exp
11098 * gdb.base/stale-infcall.exp
11099 * gdb.base/step-break.exp
11100 * gdb.base/step-line.exp
11101 * gdb.base/step-over-exit.exp
11102 * gdb.base/step-test.exp
11103 * gdb.base/structs.exp
11104 * gdb.base/sym-file.exp
11105 * gdb.base/symtab-search-order.exp
11106 * gdb.base/term.exp
11107 * gdb.base/type-opaque.exp
11108 * gdb.base/unload.exp
11109 * gdb.base/until-nodebug.exp
11110 * gdb.base/until.exp
11111 * gdb.base/unwindonsignal.exp
11112 * gdb.base/watch-cond.exp
11113 * gdb.base/watch-non-mem.exp
11114 * gdb.base/watch_thread_num.exp
11115 * gdb.base/watchpoint-reuse-slot.exp
11116 * gdb.base/watchpoint-solib.exp
11117 * gdb.base/watchpoint.exp
11118 * gdb.btrace/dlopen.exp
11119 * gdb.cell/arch.exp
11120 * gdb.cell/break.exp
11121 * gdb.cell/bt.exp
11122 * gdb.cell/core.exp
11123 * gdb.cell/data.exp
11124 * gdb.cell/dwarfaddr.exp
11125 * gdb.cell/ea-cache.exp
11126 * gdb.cell/ea-standalone.exp
11127 * gdb.cell/ea-test.exp
11128 * gdb.cell/f-regs.exp
11129 * gdb.cell/fork.exp
11130 * gdb.cell/gcore.exp
11131 * gdb.cell/mem-access.exp
11132 * gdb.cell/ptype.exp
11133 * gdb.cell/registers.exp
11134 * gdb.cell/sizeof.exp
11135 * gdb.cell/solib-symbol.exp
11136 * gdb.cell/solib.exp
11137 * gdb.compile/compile-tls.exp
11138 * gdb.cp/exception.exp
11139 * gdb.cp/gdb2495.exp
11140 * gdb.cp/local.exp
11141 * gdb.cp/mb-inline.exp
11142 * gdb.cp/mb-templates.exp
11143 * gdb.cp/pr10687.exp
11144 * gdb.cp/pr9167.exp
11145 * gdb.cp/scope-err.exp
11146 * gdb.cp/templates.exp
11147 * gdb.cp/virtfunc.exp
11148 * gdb.dwarf2/dw2-dir-file-name.exp
11149 * gdb.dwarf2/dw2-single-line-discriminators.exp
11150 * gdb.fortran/complex.exp
11151 * gdb.fortran/library-module.exp
11152 * gdb.guile/guile.exp
11153 * gdb.guile/scm-cmd.exp
11154 * gdb.guile/scm-frame-inline.exp
11155 * gdb.guile/scm-objfile.exp
11156 * gdb.guile/scm-pretty-print.exp
11157 * gdb.guile/scm-symbol.exp
11158 * gdb.guile/scm-type.exp
11159 * gdb.guile/scm-value.exp
11160 * gdb.linespec/keywords.exp
11161 * gdb.linespec/ls-errs.exp
11162 * gdb.linespec/macro-relative.exp
11163 * gdb.linespec/thread.exp
11164 * gdb.mi/mi-breakpoint-changed.exp
11165 * gdb.mi/mi-dprintf-pending.exp
11166 * gdb.mi/mi-fullname-deleted.exp
11167 * gdb.mi/mi-logging.exp
11168 * gdb.mi/mi-pending.exp
11169 * gdb.mi/mi-solib.exp
11170 * gdb.mi/new-ui-mi-sync.exp
11171 * gdb.mi/user-selected-context-sync.exp
11172 * gdb.multi/dummy-frame-restore.exp
11173 * gdb.multi/multi-arch-exec.exp
11174 * gdb.multi/remove-inferiors.exp
11175 * gdb.multi/watchpoint-multi-exit.exp
11176 * gdb.opt/solib-intra-step.exp
11177 * gdb.perf/backtrace.exp
11178 * gdb.perf/single-step.exp
11179 * gdb.perf/skip-command.exp
11180 * gdb.perf/skip-prologue.exp
11181 * gdb.perf/solib.exp
11182 * gdb.python/lib-types.exp
11183 * gdb.python/py-as-string.exp
11184 * gdb.python/py-bad-printers.exp
11185 * gdb.python/py-block.exp
11186 * gdb.python/py-breakpoint.exp
11187 * gdb.python/py-cmd.exp
11188 * gdb.python/py-events.exp
11189 * gdb.python/py-evthreads.exp
11190 * gdb.python/py-finish-breakpoint.exp
11191 * gdb.python/py-finish-breakpoint2.exp
11192 * gdb.python/py-frame-inline.exp
11193 * gdb.python/py-frame.exp
11194 * gdb.python/py-inferior.exp
11195 * gdb.python/py-infthread.exp
11196 * gdb.python/py-mi.exp
11197 * gdb.python/py-objfile.exp
11198 * gdb.python/py-pp-maint.exp
11199 * gdb.python/py-pp-registration.exp
11200 * gdb.python/py-prettyprint.exp
11201 * gdb.python/py-recurse-unwind.exp
11202 * gdb.python/py-shared.exp
11203 * gdb.python/py-symbol.exp
11204 * gdb.python/py-symtab.exp
11205 * gdb.python/py-template.exp
11206 * gdb.python/py-type.exp
11207 * gdb.python/py-unwind-maint.exp
11208 * gdb.python/py-unwind.exp
11209 * gdb.python/py-value.exp
11210 * gdb.python/python.exp
11211 * gdb.reverse/finish-reverse-bkpt.exp
11212 * gdb.reverse/insn-reverse.exp
11213 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11214 * gdb.reverse/solib-precsave.exp
11215 * gdb.reverse/solib-reverse.exp
11216 * gdb.stabs/gdb11479.exp
11217 * gdb.stabs/weird.exp
11218 * gdb.threads/fork-child-threads.exp
11219 * gdb.threads/fork-plus-threads.exp
11220 * gdb.threads/fork-thread-pending.exp
11221 * gdb.threads/forking-threads-plus-breakpoint.exp
11222 * gdb.threads/hand-call-in-threads.exp
11223 * gdb.threads/interrupted-hand-call.exp
11224 * gdb.threads/linux-dp.exp
11225 * gdb.threads/local-watch-wrong-thread.exp
11226 * gdb.threads/next-while-other-thread-longjmps.exp
11227 * gdb.threads/non-ldr-exit.exp
11228 * gdb.threads/pending-step.exp
11229 * gdb.threads/print-threads.exp
11230 * gdb.threads/process-dies-while-detaching.exp
11231 * gdb.threads/process-dies-while-handling-bp.exp
11232 * gdb.threads/pthreads.exp
11233 * gdb.threads/queue-signal.exp
11234 * gdb.threads/reconnect-signal.exp
11235 * gdb.threads/signal-command-handle-nopass.exp
11236 * gdb.threads/signal-command-multiple-signals-pending.exp
11237 * gdb.threads/signal-delivered-right-thread.exp
11238 * gdb.threads/signal-sigtrap.exp
11239 * gdb.threads/sigthread.exp
11240 * gdb.threads/staticthreads.exp
11241 * gdb.threads/stepi-random-signal.exp
11242 * gdb.threads/thread-unwindonsignal.exp
11243 * gdb.threads/thread_check.exp
11244 * gdb.threads/thread_events.exp
11245 * gdb.threads/tid-reuse.exp
11246 * gdb.threads/tls-nodebug.exp
11247 * gdb.threads/tls-shared.exp
11248 * gdb.threads/tls-so_extern.exp
11249 * gdb.threads/tls.exp
11250 * gdb.threads/wp-replication.exp
11251 * gdb.trace/actions-changed.exp
11252 * gdb.trace/actions.exp
11253 * gdb.trace/backtrace.exp
11254 * gdb.trace/change-loc.exp
11255 * gdb.trace/collection.exp
11256 * gdb.trace/deltrace.exp
11257 * gdb.trace/disconnected-tracing.exp
11258 * gdb.trace/entry-values.exp
11259 * gdb.trace/ftrace-lock.exp
11260 * gdb.trace/ftrace.exp
11261 * gdb.trace/infotrace.exp
11262 * gdb.trace/mi-trace-frame-collected.exp
11263 * gdb.trace/mi-trace-unavailable.exp
11264 * gdb.trace/mi-traceframe-changed.exp
11265 * gdb.trace/mi-tracepoint-changed.exp
11266 * gdb.trace/mi-tsv-changed.exp
11267 * gdb.trace/no-attach-trace.exp
11268 * gdb.trace/packetlen.exp
11269 * gdb.trace/passc-dyn.exp
11270 * gdb.trace/passcount.exp
11271 * gdb.trace/pending.exp
11272 * gdb.trace/pr16508.exp
11273 * gdb.trace/qtro.exp
11274 * gdb.trace/range-stepping.exp
11275 * gdb.trace/read-memory.exp
11276 * gdb.trace/report.exp
11277 * gdb.trace/save-trace.exp
11278 * gdb.trace/signal.exp
11279 * gdb.trace/stap-trace.exp
11280 * gdb.trace/status-stop.exp
11281 * gdb.trace/strace.exp
11282 * gdb.trace/tfile.exp
11283 * gdb.trace/tfind.exp
11284 * gdb.trace/trace-break.exp
11285 * gdb.trace/trace-condition.exp
11286 * gdb.trace/trace-enable-disable.exp
11287 * gdb.trace/trace-mt.exp
11288 * gdb.trace/tracecmd.exp
11289 * gdb.trace/tracefile-pseudo-reg.exp
11290 * gdb.trace/tspeed.exp
11291 * gdb.trace/tstatus.exp
11292 * gdb.trace/tsv.exp
11293 * gdb.trace/unavailable.exp
11294 * gdb.trace/while-dyn.exp
11295 * gdb.trace/while-stepping.exp
11296 * lib/gdb-guile.exp
11297 * lib/gdb.exp
11298 * lib/mi-support.exp
11299 * lib/pascal.exp
11300 * lib/perftest.exp
11301 * lib/prelink-support.exp
11302 * lib/selftest-support.exp
11303
ad02e4fe
SM
113042016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11305
11306 * Makefile.in: Include disable-implicit-rules.mk.
11307
22347e55
AA
113082016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11309
11310 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11311 non-byte-aligned bit fields.
11312
da5b30da
AA
113132016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11314
11315 PR gdb/12616
11316 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11317 respects the DW_AT_data_bit_offset attribute.
11318
b593ecca
SM
113192016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11320
11321 * gdb.base/default.exp: Fix output of "set language".
11322
3b165252
SM
113232016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11324
11325 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11326 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11327 make.
11328 * configure.ac: Remove checks for the make program.
11329 * configure: Re-generate.
11330
1a2f3d7f
KB
113312016-11-16 Kevin Buettner <kevinb@redhat.com>
11332
11333 * gdb.python/py-recurse-unwind.c (main): Add loop.
11334 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11335 to read_register() and gdb.parse_and_eval(). Make each code
11336 call a separate case that can be individually tested.
11337 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11338 proc. Call cont_and_backtrace for each of the code paths that
11339 we want to test in the unwinder.
11340
b7f38fda
AA
113412016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11342
11343 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11344 the definition of struct S.
11345
1f8db343
CM
113462016-11-11 Catherine Moore <clm@codesourcery.com>
11347
11348 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11349
fad0c9fb
PA
113502016-11-09 Pedro Alves <palves@redhat.com>
11351
11352 * gdb.base/commands.exp (runto_or_return): New procedure.
11353 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11354 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11355 (progvar_simple_while_test, progvar_complex_if_while_test)
11356 (if_while_breakpoint_command_test)
11357 (infrun_breakpoint_command_test, breakpoint_command_test)
11358 (user_defined_command_test, watchpoint_command_test)
11359 (test_command_prompt_position, redefine_hook_test)
11360 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11361 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11362 multi_line_input and multi_line. Remove gdb_expect and
11363 gdb_stop_suppressing_tests uses.
11364 * lib/gdb.exp (valnum_re): New global.
11365 (multi_line_input): New procedure.
11366
8354c62c
SM
113672016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11368
11369 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11370 Remove.
11371 (test_setup): Define with proc_with_prefix.
11372 (test_cli_inferior): Likewise.
11373 (test_cli_thread): Likewise.
11374 (test_cli_frame): Likewise.
11375 (test_cli_select_frame): Likewise.
11376 (test_cli_up_down): Likewise.
11377 (test_mi_thread_select): Likewise.
11378 (test_mi_stack_select_frame): Likewise.
11379 (test_cli_in_mi_inferior): Likewise.
11380 (test_cli_in_mi_thread): Likewise.
11381 (test_cli_in_mi_frame): Likewise.
11382 (top level): Do not use with_test_prefix_procname.
11383
64f367a2
PA
113842016-11-09 Pedro Alves <palves@redhat.com>
11385
11386 * gdb.base/commands.exp (gdbvar_simple_if_test)
11387 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11388 (progvar_simple_if_test, progvar_simple_while_test)
11389 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11390 (infrun_breakpoint_command_test, breakpoint_command_test)
11391 (user_defined_command_test, watchpoint_command_test)
11392 (test_command_prompt_position, deprecated_command_test)
11393 (bp_deleted_in_command, temporary_breakpoint_commands)
11394 (stray_arg0_test, source_file_with_indented_comment)
11395 (recursive_source_test, if_commands_test)
11396 (error_clears_commands_left, redefine_hook_test)
11397 (redefine_backtrace_test): Use proc_with_prefix.
11398 * lib/gdb.exp (proc_with_prefix): New proc.
11399
0bb65f1e
AA
114002016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11401
11402 * gdb.base/tui-layout.c: New file.
11403 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11404 disassembly window contains very long lines.
11405
7353f247
TT
114062016-11-08 Tom Tromey <tom@tromey.com>
11407
11408 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11409 depend on Python 2.
11410
30a7bb83
TT
114112016-11-08 Tom Tromey <tom@tromey.com>
11412
11413 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11414 New method.
11415
cdf5a07c
MG
114162016-10-29 Manish Goregaokar <manish@mozilla.com>
11417
2806dc7e 11418 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 11419
51a789c3
MG
114202016-10-27 Manish Goregaokar <manish@mozilla.com>
11421
2806dc7e
PA
11422 * gdb.rust/simple.rs: Add test for univariant enums without
11423 discriminants and for encoded struct-like enums.
51a789c3 11424
f610ab6d
PA
114252016-10-28 Pedro Alves <palves@redhat.com>
11426
11427 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11428 gdb_test_multiple, tighten regexps and match symtabs and line
11429 tables incrementally.
11430
b129b0ca
LM
114312016-10-28 Luis Machado <lgustavo@codesourcery.com>
11432
11433 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11434 general.
11435
ecf45d2c
SL
114362016-10-25 Luis Machado <lgustavo@codesourcery.com>
11437
11438 * gdb.base/exec-invalid-sysroot.exp: New file.
11439
b8d38ee4
JK
114402016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11441
11442 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11443
f90fd8c2
JK
114442016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11445
11446 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11447
2d2476aa
MR
114482016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11449
2806dc7e
PA
11450 * gdb.base/killed-outside.exp: Remove $options from a call to
11451 `prepare_for_testing'.
2d2476aa 11452
e42b25a0
SM
114532016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11454
11455 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11456 Change test message.
11457
3ccdb432
SM
114582016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11459
11460 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11461 Update comment.
11462
5bad3170
SM
114632016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11464
11465 * gdb.trace/mi-trace-save.exp: New file.
11466
5ad9dba7
YQ
114672016-10-13 Yao Qi <yao.qi@linaro.org>
11468
11469 * gdb.base/code_elim.exp (get_var_address): Remove.
11470 * gdb.base/relocate.exp: Likewise.
11471 * gdb.base/shreloc.exp: Likewise.
11472 * lib/gdb.exp (get_var_address): New.
11473
62df7e21
YQ
114742016-10-13 Yao Qi <yao.qi@linaro.org>
11475
11476 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11477 floating point tests if $skip_float_test is false.
11478
4dac951e
LM
114792016-10-12 Luis Machado <lgustavo@codesourcery.com>
11480
11481 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11482 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11483 argc values.
11484 Add 1 to argc so we guarantee distinct initial/modified argc values.
11485
8f1a8fc4
JK
114862016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11487
11488 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11489
16c85b5d
JK
114902016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11491
11492 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11493 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11494 * gdb.arch/vsx-regs.exp: Likewise.
11495
1d0e042a
YQ
114962016-10-07 Yao Qi <yao.qi@linaro.org>
11497
11498 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11499
68dadef5
MM
115002016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11501
11502 * gdb.python/python.exp: Test decode_line("*0").
11503
33fa2c6e
DE
115042016-10-06 Doug Evans <dje@google.com>
11505
11506 * gdb.python/py-value.exp (test_value_creation): Add test for large
11507 unsigned 64-bit value.
11508
9c37b5ae
TT
115092016-10-06 Tom Tromey <tom@tromey.com>
11510
11511 * gdb.compile/compile.exp: Change java tests to rust.
11512 * gdb.base/setshow.exp: Change java tests to rust.
11513 * gdb.base/default.exp: Remove java from language list.
11514 * README (Examples): Update language example.
11515 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11516 test.
11517 * lib/gdb.exp (skip_java_tests): Remove.
11518 * lib/java.exp: Remove.
11519 * gdb.java: Remove.
11520
78b86327
MR
115212016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11522
11523 * gdb.arch/mips-fcr.exp: New test.
11524 * gdb.arch/mips-fcr.c: Source for the new test.
11525
7470adbb
MR
115262016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11527
11528 * gdb.base/solib-disc.exp: Use `standard_output_file'
11529 throughout.
11530
4a556533
PA
115312016-10-06 Pedro Alves <palves@redhat.com>
11532
11533 * gdb.base/jit-simple-dl.c: New file.
11534 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11535 * gdb.base/jit-simple.c: ... this.
11536 * gdb.base/jit-simple.exp (jit_run): Delete.
11537 (build_jit): New proc.
11538 (jit_test_reread): Recompile either the main program or the shared
11539 library, depending on what is being tested. Skip changing address
11540 if caller wants to. Compare before/after addresses. If testing
11541 standalone, explicitly load the binary. Test "maint info
11542 breakpoints".
11543 (top level): Add "standalone vs shared lib" and "change address"
11544 vs "same address" axes.
11545
5a122fbc
PA
115462016-10-06 Pedro Alves <palves@redhat.com>
11547
11548 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11549 call.
11550 (jit_run): Delete.
11551 (jit_test_reread): Use with_test_prefix. Reload the main binary
11552 explicitly. Compare the before/after addresses of the JIT
11553 descriptor.
11554
ee8da4b8
DE
115552016-08-15 Doug Evans <dje@google.com>
11556
11557 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11558 for single bitfields is bool.
11559 * gdb.xml/tdesc-regs.exp: Ditto.
11560
f389f6fe
JK
115612016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11562
11563 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11564
fdebf1a4
YQ
115652016-10-05 Yao Qi <yao.qi@linaro.org>
11566
11567 * lib/gdb.exp (support_complex_tests): Return zero if
11568 gdb_skip_float_test return true.
11569
9c36d954 115702016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11571 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
11572
11573 PR gdb/20487
11574 * gdb.mi/user-selected-context-sync.exp: New file.
11575 * gdb.mi/user-selected-context-sync.c: New file.
11576
4034d0ff 115772016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11578 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
11579
11580 PR gdb/20487
11581 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11582 =thread-select-event check.
11583
a4297203
PB
115842016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11585
11586 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11587 the compulsory L operand changes.
11588 * gdb.arch/powerpc-power.s: Likewise.
11589
bb805577
JK
115902016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11591
11592 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11593 * gdb.base/jit-attach-pie.c: New file.
11594 * gdb.base/jit-attach-pie.exp: New file.
11595
6d61dee5
PA
115962016-09-28 Pedro Alves <palves@redhat.com>
11597
11598 * gdb.base/infcall-input.c: New file.
11599 * gdb.base/infcall-input.exp: New file.
11600
f73842fc
YQ
116012016-09-22 Yao Qi <yao.qi@linaro.org>
11602
11603 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11604 (gdb_exit): Rename it to ...
11605 (gdbserver_gdb_exit): ... Close GDBserver.
11606 (gdb_exit): New proc, call gdbserver_gdb_exit.
11607 (mi_gdb_exit): Likewise.
11608
90681dab
YQ
116092016-09-22 Yao Qi <yao.qi@linaro.org>
11610
11611 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11612 path.
11613 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11614 Remove duplication.
11615
9c211fd8
YQ
116162016-09-22 Yao Qi <yao.qi@linaro.org>
11617
11618 * lib/gdbserver-support.exp: Check the existence of
11619 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11620
ad0a504f
AK
116212016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11622
11623 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11624
36cf1806
TT
116252016-09-21 Tom Tromey <tom@tromey.com>
11626
11627 PR gdb/20604:
11628 * gdb.base/quit.exp: New file.
11629
74172ecf
SM
116302016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11631
11632 * .gitignore: New file.
11633
3d0ec882
MR
116342016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11635
11636 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11637 throughout.
11638
8193adea
AA
116392016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11640
11641 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11642
d41a5c09
JK
116432016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11644
11645 * gdb.cp/casts.cc (decltype): Move it ...
11646 (main): ... with its call to ...
11647 * gdb.cp/casts03.cc: ... a new file.
11648 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11649
d2dfe700
JK
116502016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11651
11652 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11653
e2a92b16
PB
116542016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11655
11656 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11657 and sync up the test with tests in gas/testsuite/gas/ppc.
11658 * gdb.arch/powerpc-power.exp: Likewise.
11659
49b4de64
JK
116602016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11661
11662 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11663
2c29df25
SDJ
116642016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11665 Jan Kratochvil <jan.kratochvil@redhat.com>
11666
11667 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11668 make m1's definition to be different from m2's. Use 'dummy' as an
11669 argument for probe 'two'.
11670
cc3c2846
JB
116712016-09-10 Jon Beniston <jon@beniston.com>
11672
11673 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11674 for sim target.
11675
e1b2624a
AA
116762016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11677
11678 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11679 variable declaration.
11680 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11681 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11682 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11683 received HWCAP as its argument.
11684
4295e285
PA
116852016-09-06 Pedro Alves <palves@redhat.com>
11686
11687 * gdb.base/new-ui-pending-input.c: New file.
11688 * gdb.base/new-ui-pending-input.exp: New file.
11689 * gdb.exp (clear_gdb_spawn_id): New procedure.
11690 (with_spawn_id): Check whether gdb_spawn_id exists before
11691 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11692 on exit.
11693
00d5215e
UW
116942016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11695
11696 * gdb.base/float128.c: New file.
11697 * gdb.base/float128.exp: Likewise.
11698 * gdb.base/floatn.c: Likewise.
11699 * gdb.base/floatn.exp: Likewise.
11700
a9ff5f12
UW
117012016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11702
11703 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11704
f245535c
PA
117052016-09-05 Pedro Alves <palves@redhat.com>
11706
11707 PR backtrace/19927
11708 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11709 unwinders are immediately called as side effect of "source" or
11710 "disable unwinder" commands.
11711 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11712
ae9cf263
YQ
117132016-09-02 Yao Qi <yao.qi@linaro.org>
11714
11715 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11716 is true and $type is "float" or "double".
11717
27aba047
YQ
117182016-09-02 Yao Qi <yao.qi@linaro.org>
11719
11720 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11721 true.
11722 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11723 * gdb.base/call-rt-st.exp: Likewise.
11724 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11725 return value instead of gdb,skip_float_test.
11726 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11727 (do_function_calls): Use its return value instead of
11728 gdb,skip_float_test.
11729 * gdb.base/finish.exp: Likewise.
11730 * gdb.base/funcargs.exp: Likewise.
11731 * gdb.base/return.exp: Likewise.
11732 * gdb.base/return2.exp: Likewise.
11733 * gdb.base/varargs.exp: Likewise.
11734 * lib/gdb.exp (gdb_skip_float_test): Change it to
11735 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11736
5af962df
AA
117372016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11738
11739 * gdb.multi/tids.exp: Test "thread apply all".
11740
7fac6910
JK
117412016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11742
11743 * gdb.base/default.exp (tty): Remove.
11744
bb1fe4ac
KB
117452016-08-24 Kevin Buettner <kevinb@redhat.com>
11746
2806dc7e
PA
11747 * gdb.python/py-recurse-unwind.c: New file.
11748 * gdb.python/py-recurse-unwind.py: New file.
11749 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 11750
0a1ddfa6
SM
117512016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11752
11753 * gdb.base/set-inferior-tty.exp: New file.
11754 * gdb.base/set-inferior-tty.c: New file.
11755
d9de1fe3
PA
117562016-08-23 Pedro Alves <palves@redhat.com>
11757
11758 PR gdb/20494
11759 * gdb.base/new-ui-echo.c: New file.
11760 * gdb.base/new-ui-echo.exp: New file.
11761
e9d9abd7
YQ
117622016-08-23 Yao Qi <yao.qi@linaro.org>
11763
11764 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11765 gdbserver_spawn.
11766 * gdb.server/connect-without-multi-process.exp (do_test):
11767 Likewise.
11768
3589529e
YQ
117692016-08-23 Yao Qi <yao.qi@linaro.org>
11770
11771 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11772 standalone_txt. Delete gdb_txt and standalone_txt on host
11773 and target. Spawn the binary on target. Copy files from
11774 target to host.
11775
6bb90213
PA
117762016-08-22 Pedro Alves <palves@redhat.com>
11777
11778 PR gdb/20505
11779 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11780 with_test_prefix. Factor out bits to ...
11781 (test_no_vdso): ... this new procedure.
11782
20c2c024
CL
117832016-08-19 Carl Love <cel@us.ibm.com>
11784
11785 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11786 maintaining separate logic for constructing the output path.
11787 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11788 * gdb.arch/ppc-dfp.exp: Likewise.
11789 * gdb.arch/ppc-fp.exp: Likewise.
11790 * gdb.arch/vsx-regs.exp: Likewise.
11791 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11792 binprefix for generating the additional binary files.
11793
0646e07d
PA
117942016-08-19 Pedro Alves <palves@redhat.com>
11795
11796 * gdb.trace/mi-trace-frame-collected.exp
11797 (test_trace_frame_collected): On x32, expect two registers.
11798
46da9242
CL
117992016-08-18 Carl Love <cel@us.ibm.com>
11800
11801 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11802 and sync up the test with tests in gas/testsuite/gas/ppc.
11803 * gdb.arch/powerpc-power.exp: Likewise.
11804
eb2332d7
SM
118052016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11806
11807 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11808 expected error message.
11809
63c61e04
SM
118102016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11811
11812 * gdb.multi/remove-inferiors.exp: New file.
11813 * gdb.multi/remove-inferiors.c: New file.
11814
7b17065f
YQ
118152016-08-12 Yao Qi <yao.qi@linaro.org>
11816
11817 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11818 argument list.
11819
01d3dedf
PA
118202016-08-10 Pedro Alves <palves@redhat.com>
11821
11822 PR gdb/19187
11823 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11824 setup_kfails.
11825
3eb7562a
PA
118262016-08-09 Pedro Alves <palves@redhat.com>
11827 Simon Marchi <simon.marchi@ericsson.com>
11828
11829 PR gdb/20418
11830 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11831 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11832
80614914
PA
118332016-08-09 Pedro Alves <palves@redhat.com>
11834
11835 PR mi/20431
11836 * gdb.mi/mi-cmd-error.exp: New file.
11837
f348d89a
PA
118382016-08-09 Pedro Alves <palves@redhat.com>
11839
11840 PR gdb/18653
11841 * gdb.base/signals-state-child.c: New file.
11842 * gdb.base/signals-state-child.exp: New file.
11843 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11844
e5ca03b4
PA
118452016-08-09 Pedro Alves <palves@redhat.com>
11846
11847 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11848
282a0691
TT
118492016-08-03 Tom Tromey <tom@tromey.com>
11850
11851 PR python/18565:
11852 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11853
41bfcd63
YQ
118542016-08-01 Yao Qi <yao.qi@linaro.org>
11855
11856 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11857 variable mode to "multi-process" if $multi_process is 1, otherwise
11858 set it to "single-process".
11859
e3465b24
YQ
118602016-08-01 Yao Qi <yao.qi@linaro.org>
11861
11862 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11863 * gdb.cp/cpexprs.exp: Likewise.
11864 * gdb.cp/m-static.exp: Likewise.
11865
0b31a4bc
TT
118662016-07-26 Tom Tromey <tom@tromey.com>
11867
11868 PR python/20190:
11869 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11870 test.
11871
e0461dbb
MM
118722016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11873
11874 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11875 selecting assembly source files.
11876 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11877 assembly source files.
11878 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11879 assembly source files.
11880 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11881 selecting assembly source files.
11882
8194e927
SM
118832016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11884
11885 * gdb.base/new-ui.exp (do_test_invalid_args): New
11886 procedure.
11887
c0272db5
TW
118882016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11889
11890 * gdb.btrace/reconnect.c: New file.
11891 * gdb.btrace/reconnect.exp: New file.
11892
e3487908
GKB
118932016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11894
11895 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11896 to test_catch_syscall_group.
11897 (test_catch_syscall_group): New.
11898
12df5c00
TT
118992016-07-21 Tom Tromey <tom@tromey.com>
11900
11901 * gdb.rust/simple.rs (main): Use empty struct expression.
11902 * gdb.rust/simple.exp: Add tests for empty struct expression.
11903
bae62ee2
YQ
119042016-07-21 Yao Qi <yao.qi@linaro.org>
11905
11906 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11907 if gdb_skip_xml_test is true on some targets.
11908
b1b53fb3
YQ
119092016-07-21 Yao Qi <yao.qi@linaro.org>
11910
11911 * gdb.server/solib-list.exp: Unset last_loaded_file.
11912
027d97f8
JK
119132016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11914
11915 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11916 "step into captured_main (args)".
11917
7674d381
JK
119182016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11919
11920 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11921
72b5d099
JK
119222016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11923
11924 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11925
1f960ced
PA
119262016-07-19 Pedro Alves <palves@redhat.com>
11927
11928 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11929 * gdb.opt/inline-bt.exp: Likewise.
11930 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11931 additional_flags=-Winline.
11932 * gdb.opt/inline-locals.exp: Likewise.
11933 * gdb.opt/inline-markers.c (ATTR): Define.
11934 (inlined_fn): Use it.
11935
f25827c1
YQ
119362016-07-19 Yao Qi <yao.qi@linaro.org>
11937
11938 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11939 (test_with_self): Remove some code. Remove argument executable.
11940 (top-level): Use do_self_tests.
11941
37539ebe
DB
119422016-07-15 Zachary Welch <zwelch@codesourcery.com>
11943 Don Breazeal <donb@codesourcery.com>
11944
11945 * gdb.base/maint.exp: Escape paths used in regular expressions.
11946 * gdb.stabs/weird.exp: Likewise.
11947
dac790e1
TT
119482016-07-13 Tom Tromey <tom@tromey.com>
11949
11950 PR python/15620, PR python/18620:
11951 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11952 (test_bkpt_events): New procs.
11953
93daf339
TT
119542016-07-13 Tom Tromey <tom@tromey.com>
11955
11956 PR python/17698:
11957 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11958 test.
11959 (test_watchpoints): Likewise.
11960 (test_bkpt_pending): New proc.
11961
6571a381
TT
119622016-07-13 Tom Tromey <tom@tromey.com>
11963
11964 PR cli/18053:
11965 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11966 completion test.
11967
e8732474
JK
119682016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11969
11970 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11971 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11972 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11973 f_label.
11974 (g): Rename g_end_lbl to g_label.
11975 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11976 low_pc and high_pc.
11977 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11978
e0f3fd7c
TT
119792016-07-12 Tom Tromey <tom@tromey.com>
11980
11981 PR python/19293:
11982 * gdb.python/py-unwind-maint.exp: Update tests.
11983
3cfe46b6
YQ
119842016-07-12 Yao Qi <yao.qi@linaro.org>
11985
11986 * lib/selftest-support.exp (selftest_setup): Match the output
11987 when captured_main is inlined.
11988
4f19a0e6
WT
119892016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11990
11991 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11992 New variables.
11993 (print this%a, print this%b, print this): New tests.
11994 * gdb.fortran/derived-types.f90 (this): New object and
11995 initialization.
11996
986cf455
SM
119972016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11998
11999 * gdb.ada/arraydim.exp: Remove extra directory level in build
12000 directory.
12001
f0464b23
SM
120022016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12003
12004 * lib/ada.exp: Remove extra directory level in build directory.
12005 * gdb.ada/cond_lang.exp: Likewise.
12006 * gdb.ada/exec_changed.exp: Likewise.
12007 * gdb.ada/lang_switch.exp: Likewise.
12008
42d94011
MG
120092016-07-06 Manish Goregaokar <manish@mozilla.com>
12010
2806dc7e
PA
12011 * simple.rs: Add test for raw pointer subscripting.
12012 * simple.exp: Add test expectations.
42d94011 12013
647c264c
YQ
120142016-07-05 Yao Qi <yao.qi@linaro.org>
12015
12016 * gdb.mi/mi-reverse.exp: Match =record-started output.
12017
20aa2c60
PA
120182016-07-01 Pedro Alves <palves@redhat.com>
12019
12020 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12021 procedure.
12022 (jit_reader_test): Test the jit reader's unwinder.
12023 * gdb.base/jithost.c (jit_function_00_code): New global.
12024 (main): Use memcpy to fill in the mmapped code, instead of poking
12025 bytes manually here.
12026 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12027 value.
12028 (read_debug_info): Save the function's range.
12029 (read_sp): New function.
12030 (unwind_frame): Use it. Also unwind RBP.
12031 (get_frame_id): Use read_sp.
12032 (gdb_init_reader): Use calloc instead of malloc.
12033 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12034 parameter. Use gdb_test_multiple.
12035
ced2dffb
PA
120362016-07-01 Pedro Alves <palves@redhat.com>
12037 Antoine Tremblay <antoine.tremblay@ericsson.com>
12038
12039 * gdb.threads/process-dies-while-detaching.c: New file.
12040 * gdb.threads/process-dies-while-detaching.exp: New file.
12041
63000888
PA
120422016-07-01 Pedro Alves <palves@redhat.com>
12043
12044 * gdb.multi/watchpoint-multi-exit.c: New file.
12045 * gdb.multi/watchpoint-multi-exit.exp: New file.
12046
038d4868
PA
120472016-06-30 Pedro Alves <palves@redhat.com>
12048
12049 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12050 unset inferior_spawn_id.
12051
994e9c83
PA
120522016-06-30 Pedro Alves <palves@redhat.com>
12053
12054 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12055 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12056
e5653468
YQ
120572016-06-29 Yao Qi <yao.qi@linaro.org>
12058
12059 * gdb.base/return.c: Add copyright header.
12060
803b47e5
TT
120612016-06-29 Tom Tromey <tom@tromey.com>
12062
12063 PR python/20129:
12064 * gdb.python/py-framefilter.exp: Add tests for setting priority
12065 and disabling of non-existent frame filter.
12066
28244707
YQ
120672016-06-29 Yao Qi <yao.qi@linaro.org>
12068
12069 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12070 0x0f07ff.
12071
a31d2f06
YQ
120722016-06-28 Yao Qi <yao.qi@linaro.org>
12073
12074 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12075 triplets. Start gdb, execute catch syscall, and continue. Check
12076 gdb's output to determine catch syscall is supported.
12077
921d8f54
MG
120782016-06-27 Manish Goregaokar <manish@mozilla.com>
12079
25d49b86
PA
12080 * gdb.rust/simple.rs: Add test for returning unit in a function.
12081 * gdb.rust/simple.exp: Add expectation for functions returning
12082 unit.
921d8f54 12083
f4952523
PMR
120842016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12085
12086 * gdb.python/py-breakpoint-create-fail.c,
12087 gdb.python/py-breakpoint-create-fail.exp,
12088 gdb.python/py-breakpoint-create-fail.py: New testcase.
12089
fccb08f8
MG
120902016-06-25 Manish Goregaokar <manish@mozilla.com>
12091
12092 PR gdb/20239
12093 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12094 * gdb.rust/simple.exp: Add test expectations for new NonZero
12095 tests.
fccb08f8 12096
6b850546
DT
120972016-06-24 David Taylor <dtaylor@emc.com>
12098
12099 * gdb.base/offsets.exp: New file.
12100 * gdb.base/offsets.c: New file.
12101
17621150
TT
121022016-06-23 Tom Tromey <tom@tromey.com>
12103
12104 PR gdb/16483:
12105 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12106 before any filters are loaded.
12107
04d59df6
WT
121082016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12109
12110 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12111 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12112 structs.
12113 * gdb.fortran/derived-type-function.exp: New file.
12114 * gdb.fortran/derived-type-function.f90: New file.
12115
12116
ac69f786
PA
121172016-06-21 Pedro Alves <palves@redhat.com>
12118
12119 * gdb.base/new-ui.exp: New file.
12120 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12121 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12122 (with_spawn_id): New procedure.
12123
49940788
PA
121242016-06-21 Pedro Alves <palves@redhat.com>
12125
12126 * gdb.mi/mi-exec-run.exp: New file.
12127
ef274d26
PA
121282016-06-21 Pedro Alves <palves@redhat.com>
12129
12130 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12131 breakpoint command's output on the main UI.
12132 (test_break): New procedure, factored out from calls in the top
12133 level.
12134 (top level): Use foreach_with_prefix to test MI as main UI and as
12135 separate UI.
12136
468afe6c
PA
121372016-06-21 Pedro Alves <palves@redhat.com>
12138
12139 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12140 (test_awatch_creation_and_listing)
12141 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12142 Remove 'type' parameter.
12143 (test_watchpoint_all): New parameter mi_mode. Remove
12144 with_test_prefix.
12145 (top level): Use foreach_with_prefix, and add main/separate UI MI
12146 testing axis.
12147
51f77c37
PA
121482016-06-21 Pedro Alves <palves@redhat.com>
12149
12150 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12151 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12152 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12153 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12154 (gdb_main_spawn_id, mi_spawn_id): Declare and
12155 comment.
12156 (mi_create_inferior_pty): New procedure,
12157 factored out from default_mi_gdb_start.
12158 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12159 procedures.
12160 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12161 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12162 Use mi_create_inferior_pty.
12163 (mi_gdb_start): Use eval to pass down args list.
12164
8980e177
PA
121652016-06-21 Pedro Alves <palves@redhat.com>
12166
12167 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12168 * gdb.opt/inline-cmds.exp: Add MI tests.
12169
f38d3ad1
PA
121702016-06-21 Pedro Alves <palves@redhat.com>
12171
12172 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12173
45db7c09
PA
121742016-06-21 Pedro Alves <palves@redhat.com>
12175
12176 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12177 (top level): Use it instead of mi_execute_to.
12178
5a069ab3
PA
121792016-06-21 Pedro Alves <palves@redhat.com>
12180
12181 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12182 (cont_handler_str): New.
12183 (signal_stop_handler): Set stop_handler_str instead of printing to
12184 stdout.
12185 (continue_handler): Set cont_handler_str instead of printing to
12186 stdout.
12187 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12188 mi_send_resuming_command. Print stop_handler_str and
12189 cont_handler_str instead of expecting the python events print
12190 directly.
12191
2838cc1d
SD
121922016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12193
12194 * gdb.base/jit-reader.exp: New file.
12195 * gdb.base/jithost.c: New file.
12196 * gdb.base/jithost.h: New file.
12197 * gdb.base/jitreader.c : New file.
12198 * gdb.base/jit-protocol.h: New file.
12199
21a77091
YQ
122002016-06-17 Yao Qi <yao.qi@linaro.org>
12201
12202 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12203 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12204 and detach-on-fork. Adjust tests.
12205 (top level): Invoke break_cond_on_syscall with combinations of
12206 syscall, follow-fork-mode and detach-on-fork.
12207
f50bf8e5
YQ
122082016-06-17 Yao Qi <yao.qi@linaro.org>
12209
12210 * gdb.base/step-over-exit.c: New.
12211 * gdb.base/step-over-exit.exp: New.
12212
a28d8e50
YTL
122132016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12214
12215 * gdb.base/float.exp: Add target check for nds32*-*-*.
12216 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12217
cad8e26d
AB
122182016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12219
12220 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12221 for unsupported target features.
12222 * gdb.base/call-rt-st.exp: Likewise.
12223 * gdb.base/call-sc.exp: Likewise.
12224 * gdb.base/call-signal-resume.exp: Likewise.
12225 * gdb.base/call-strs.exp: Likewise.
12226 * gdb.base/callexit.exp: Likewise.
12227 * gdb.base/callfuncs.exp: Likewise.
12228 * gdb.base/nodebug.exp: Likewise.
12229 * gdb.base/printcmds.exp: Likewise.
12230 * gdb.base/ptype.exp: Likewise.
12231 * gdb.base/structs.exp: Likewise.
12232 * gdb.base/unwindonsignal.exp: Likewise.
12233 * gdb.cp/gdb2495.exp: Likewise.
12234 * gdb.cp/templates.exp: Likewise.
12235 * gdb.cp/virtfunc.exp: Likewise.
12236 * gdb.threads/hand-call-in-threads.exp: Likewise.
12237 * gdb.threads/interrupted-hand-call.exp: Likewise.
12238 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12239
347dc102
TT
122402016-06-10 Tom Tromey <tom@tromey.com>
12241
12242 PR rust/20110:
12243 * gdb.rust/expr.exp: Add test for integer constant larger than
12244 i32.
12245
5e13cf25
BH
122462016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12247
12248 * gdb.fortran/nested-funcs.exp: New.
12249 * gdb.fortran/nested-funcs.f90: New.
12250
bb556f1f
TK
122512016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12252
12253 * gdb.base/examine-backward.c: New file.
12254 * gdb.base/examine-backward.exp: New file.
12255
38b022b4
SM
122562016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12257
12258 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12259 matching.
12260
1b40ec05
TT
122612016-06-02 Tom Tromey <tom@tromey.com>
12262
12263 PR python/18984:
12264 * gdb.python/py-shared.exp: Add solib_name test.
12265
193bd378
SM
122662016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12267
12268 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12269
3326303b
MG
122702016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12271
12272 PR c++/19893
12273 * gdb.dwarf2/implref.exp: Rename to...
12274 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12275 * gdb.dwarf2/implref-array.c: New file.
12276 * gdb.dwarf2/implref-array.exp: Likewise.
12277 * gdb.dwarf2/implref-global.c: Likewise.
12278 * gdb.dwarf2/implref-global.exp: Likewise.
12279 * gdb.dwarf2/implref-struct.c: Likewise.
12280 * gdb.dwarf2/implref-struct.exp: Likewise.
12281
825c8ef2
AT
122822016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12283
12284 * gdb.trace/trace-condition.exp: Add 64bit tests.
12285
2320162a
AT
122862016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12287
12288 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12289 bits types.
12290 (main): Adapt to 8 to 64 bits types.
12291 * gdb.trace/trace-condition.exp: Add new tests.
12292
a7818233
AT
122932016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12294
12295 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12296
0d336466
AT
122972016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12298
12299 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12300 Move condition tests...
12301 * gdb.trace/trace-condition.exp: Here.
12302
7faeb45a
AT
123032016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12304
12305 * gdb.trace/trace-condition.exp: Add counter-case tests.
12306
e385593e
JK
123072016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12308
12309 PR c++/15231
12310 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12311 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12312
744608cc
PA
123132016-05-27 Pedro Alves <palves@redhat.com>
12314
12315 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12316 New procedure.
12317 (top level): Call it, and bail out of DejaGnu is known to be bad.
12318
ac775bf4
AB
123192016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12320
12321 * gdb.base/whatis.c: Extend the test case.
12322 * gdb.base/whatis.exp: Add additional tests.
12323
2bbad2ea
BH
123242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12325
12326* gdb.fortran/type.f90: Add pointer variable.
12327* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12328
8b70175d
BH
123292016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12330
12331 * gdb.fortran/vla-type.exp: Fix testcase name.
12332
86d8a848
BH
123332016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12334
12335 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12336
e188eb36
BH
123372016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12338
12339 * gdb.fortran/type.f90: Add nested structures.
12340 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12341 * gdb.fortran/derived-type.exp: Adapt expected output.
12342 * gdb.fortran/vla-type.exp: Adapt expected output.
12343
9b2db1fd
BH
123442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12345
12346 * gdb.fortran/whatis_type.exp: Adapt expected output.
12347
72b17055
BH
123482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12349
12350 * gdb.fortran/print_type.exp: Fix expected output.
12351 * gdb.fortran/whatis_type.exp: Fix expected output.
12352
3cd81d8d
BH
123532016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12354
12355 * gdb.fortran/whatis_type.exp: Use multi_line.
12356
ddae9462
TT
123572016-05-24 Tom Tromey <tom@tromey.com>
12358
12359 PR python/17386:
12360 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12361 use value as an index.
12362
1957f6b8
TT
123632016-05-23 Tom Tromey <tom@tromey.com>
12364
12365 PR python/17981:
12366 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12367 no-breakpoint case.
12368
026a9174
PA
123692016-05-24 Pedro Alves <palves@redhat.com>
12370
12371 PR gdb/19828
12372 * gdb.threads/clone-attach-detach.c: New file.
12373 * gdb.threads/clone-attach-detach.exp: New file.
12374
e70a7231
FR
123752016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12376
12377 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12378
0f6ed0e0
TT
123792016-05-23 Tom Tromey <tom@tromey.com>
12380
12381 PR python/19438, PR python/18393:
12382 * gdb.python/py-progspace.exp: Add "dir" test.
12383 * gdb.python/py-objfile.exp: Add "dir" test.
12384
ffd19d61
YQ
123852016-05-23 Yao Qi <yao.qi@linaro.org>
12386
12387 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12388 * gdb.arch/thumb2-it.exp: Likewise.
12389
9e8f9b05
SM
123902016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12391
12392 * gdb.mi/mi-threads-interrupt.c: New file.
12393 * gdb.mi/mi-threads-interrupt.exp: New file.
12394
61c6156d
SM
123952016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12396
12397 PR gdb/18077
12398 * gdb.mi/mi-async-run.exp: New file.
12399 * gdb.mi/mi-async-run.c: New file.
12400
67218854
TT
124012016-05-17 Tom Tromey <tom@tromey.com>
12402 Manish Goregaokar <manishsmail@gmail.com>
12403
12404 * lib/rust-support.exp: New file.
12405 * lib/gdb.exp (skip_rust_tests): New proc.
12406 (build_executable_from_specs): Handle rust.
12407 * lib/future.exp (gdb_find_rustc): New proc.
12408 (gdb_default_target_compile): Handle rust.
12409 * gdb.rust/expr.exp: New file.
12410 * gdb.rust/generics.exp: New file.
12411 * gdb.rust/generics.rs: New file.
12412 * gdb.rust/methods.exp: New file.
12413 * gdb.rust/methods.rs: New file.
12414 * gdb.rust/modules.exp: New file.
12415 * gdb.rust/modules.rs: New file.
12416 * gdb.rust/simple.exp: New file.
12417 * gdb.rust/simple.rs: New file.
12418
c44af4eb
TT
124192016-05-17 Tom Tromey <tom@tromey.com>
12420
12421 * gdb.base/default.exp (set language): Add rust.
12422
dcd1f979
TT
124232016-05-17 Tom Tromey <tom@tromey.com>
12424
12425 * gdb.gdb/unittest.exp: New file.
12426
155b7f57
YQ
124272016-05-16 Yao Qi <yao.qi@linaro.org>
12428
12429 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12430 shell_prompt. Update shell_prompt_re.
12431
8ddd5a6c
DE
124322016-05-12 Doug Evans <dje@google.com>
12433
12434 PR symtab/19999
12435 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12436 $options when building executable.
12437 * gdb.dwarf2/fission-loclists-pie.S: New file.
12438 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12439
02e370d9
SM
124402016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12441
12442 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12443 of [is_remote target],
12444
8929ad8b
SM
124452016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12446
12447 * lib/gdb.exp (use_gdb_stub): New procedure.
12448
6c447423
DE
124492016-05-03 Yunlian Jiang <yunlian@google.com>
12450 Doug Evans <dje@google.com>
12451
12452 PR symtab/19914
12453 * gdb.dwarf2/dwp-sepdebug.c: New file.
12454 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12455
444e826c
SM
124562016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12457
12458 * gdb.base/detach.exp: Remove is_remote check.
12459
740feeaa
SM
124602016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12461
12462 * gdb.base/annota-input-while-running.exp: Don't check for
12463 [is_remote target]. Enable annotations after running to main.
12464 Remove unused "set test..." line.
12465
9080ac9d
SM
124662016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12467
12468 * gdb.trace/trace-enable-disable.exp: New file.
12469 * gdb.trace/trace-enable-disable.c: New file.
12470
952ebca5
SM
124712016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12472
12473 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12474 use it in info sharedlibrary test.
12475 * gdb.trace/ftrace-lock.exp: Likewise.
12476 * gdb.trace/ftrace.exp: Likewise.
12477 * gdb.trace/range-stepping.exp: Likewise.
12478 * gdb.trace/trace-break.exp: Likewise.
12479 * gdb.trace/trace-condition.exp: Likewise.
12480 * gdb.trace/trace-mt.exp: Likewise.
12481
d9019901
SM
124822016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12483
12484 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12485 (gdb_load_shlib): ... this.
12486 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12487 gdb_load_shlib.
12488 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12489 * gdb.base/ctxobj.exp: Likewise.
12490 * gdb.base/dprintf-pending.exp: Likewise.
12491 * gdb.base/dso2dso.exp: Likewise.
12492 * gdb.base/fixsection.exp: Likewise.
12493 * gdb.base/gcore-relro.exp: Likewise.
12494 * gdb.base/gdb1555.exp: Likewise.
12495 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12496 * gdb.base/gnu-ifunc.exp: Likewise.
12497 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12498 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12499 * gdb.base/pending.exp: Likewise.
12500 * gdb.base/print-file-var.exp: Likewise.
12501 * gdb.base/print-symbol-loading.exp: Likewise.
12502 * gdb.base/shlib-call.exp: Likewise.
12503 * gdb.base/shreloc.exp: Likewise.
12504 * gdb.base/so-impl-ld.exp: Likewise.
12505 * gdb.base/solib-disc.exp: Likewise.
12506 * gdb.base/solib-nodir.exp: Likewise.
12507 * gdb.base/solib-overlap.exp: Likewise.
12508 * gdb.base/solib-symbol.exp: Likewise.
12509 * gdb.base/solib-weak.exp (do_test): Likewise.
12510 * gdb.base/sym-file.exp: Likewise.
12511 * gdb.base/symtab-search-order.exp: Likewise.
12512 * gdb.base/type-opaque.exp: Likewise.
12513 * gdb.base/unload.exp: Likewise.
12514 * gdb.base/watchpoint-solib.exp: Likewise.
12515 * gdb.compile/compile.exp: Likewise.
12516 * gdb.cp/gdb2384.exp: Likewise.
12517 * gdb.cp/infcall-dlopen.exp: Likewise.
12518 * gdb.cp/re-set-overloaded.exp: Likewise.
12519 * gdb.fortran/library-module.exp: Likewise.
12520 * gdb.opt/solib-intra-step.exp: Likewise.
12521 * gdb.python/py-finish-breakpoint.exp: Likewise.
12522 * gdb.python/py-shared.exp: Likewise.
12523 * gdb.reverse/solib-precsave.exp: Likewise.
12524 * gdb.reverse/solib-reverse.exp: Likewise.
12525 * gdb.server/solib-list.exp: Likewise.
12526 * gdb.threads/dlopen-libpthread.exp: Likewise.
12527 * gdb.threads/tls-shared.exp: Likewise.
12528 * gdb.threads/tls-so_extern.exp: Likewise.
12529 * gdb.trace/change-loc.exp: Likewise.
12530 * gdb.trace/ftrace-lock.exp: Likewise.
12531 * gdb.trace/ftrace.exp: Likewise.
12532 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12533 * gdb.trace/pending.exp: Likewise.
12534 * gdb.trace/range-stepping.exp: Likewise.
12535 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12536 (strace_info_marker): Likewise.
12537 (strace_probe_marker): Likewise.
12538 (strace_trace_on_same_addr): Likewise.
12539 (strace_trace_on_diff_addr): Likewise.
12540 * gdb.trace/trace-break.exp: Likewise.
12541 * gdb.trace/trace-condition.exp: Likewise.
12542 * gdb.trace/trace-mt.exp: Likewise.
12543
fca4cfd9
SM
125442016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12545
12546 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12547 result of gdb_remote_download.
12548 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12549 * gdb.base/dso2dso.exp: Likewise.
12550 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12551 * gdb.base/print-file-var.exp: Likewise.
12552 * gdb.base/shlib-call.exp: Likewise.
12553 * gdb.base/shreloc.exp: Likewise.
12554 * gdb.base/solib-overlap.exp: Likewise.
12555 * gdb.base/solib-weak.exp (do_test): Likewise.
12556 * gdb.base/unload.exp: Likewise.
12557
11cf4ffb
YQ
125582016-04-27 Yao Qi <yao.qi@linaro.org>
12559
12560 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12561 exists.
12562
3e2e34f8
KB
125632016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12564
12565 * vla-type.exp: Print structure from toplevel.
12566
8f07e298
BH
125672016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12568
12569 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12570 of dynamic types.
12571 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12572 of dynamic types.
12573
9920b434
BH
125742016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12575
12576 * gdb.fortran/vla-type.f90: New file.
12577 * gdb.fortran/vla-type.exp: New file.
12578
f3abeff5
YQ
125792016-04-25 Yao Qi <yao.qi@linaro.org>
12580
12581 * gdb.base/branch-to-self.c: New file.
12582 * gdb.base/branch-to-self.exp: New file.
12583
0a5d52f0
YQ
125842016-04-22 Yao Qi <yao.qi@linaro.org>
12585
12586 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12587 more after $hex.
12588
495346f6
YQ
125892016-04-22 Yao Qi <yao.qi@linaro.org>
12590
12591 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12592 * gdb.base/annota3.exp: Likewise.
12593
4a7e075c
YQ
125942016-04-22 Yao Qi <yao.qi@linaro.org>
12595
12596 * gdb.reverse/step-precsave.exp: Do one step and test program
12597 stops in "callee" and do multiple steps until program goes out
12598 of "callee".
12599 * gdb.reverse/step-reverse.exp: Likewise.
12600
5b061e98
YQ
126012016-04-22 Yao Qi <yao.qi@linaro.org>
12602
12603 * gdb.trace/signal.exp: Also pass if
12604 $tracepoint_hits($i) > $iterations.
12605
5c5dc57f
YQ
126062016-04-22 Yao Qi <yao.qi@linaro.org>
12607
12608 * gdb.trace/signal.c: New file.
12609 * gdb.trace/signal.exp: New file.
12610
a55411b9
DE
126112016-04-19 Doug Evans <xdje42@gmail.com>
12612
12613 * gdb.base/bad-file.exp: New file.
12614
a22df60a
MG
126152016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12616
12617 * gdb.dwarf2/implref.exp: New file.
12618
0c13f7e5
BH
126192016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12620
12621 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12622 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12623 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12624 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12625 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12626 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12627 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12628 * lib/fortran.exp (fortran_int4): New procedure.
12629 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12630 (fortran_logical4): Likewise.
12631
9b9b09e9
BH
126322016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12633
12634 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12635
a14d1f4d
BH
126362016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12637
12638 * lib/compiler.c: Add Intel specific preprocessor macros.
12639 * lib/compiler.cc: Likewise.
25d49b86 12640
7d49b1d0
LM
126412016-04-13 Luis Machado <lgustavo@codesourcery.com>
12642
12643 * gdb.server/connect-with-no-symbol-file.c: New file.
12644 * gdb.server/connect-with-no-symbol-file.exp: New file.
12645
8392fa22
SM
126462016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12647
12648 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12649
8c4c4aeb
SM
126502016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12651
12652 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12653 standard output directory.
12654
45e3745e
AT
126552016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12656
12657 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12658
e26b7e41
MM
126592016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12660
12661 * gdb.btrace/instruction_history.c (loop): Add declaration.
12662
8ce09462
AT
126632016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12664
12665 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12666
2e88a1ea
SM
126672016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12668
12669 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12670 parentheses to print.
12671 (continue_handler): Likewise.
12672
f48e22e3
SM
126732016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12674
12675 * gdb.server/solib-list.exp: Remove is_remote check.
12676 Pass shlib= to gdb_compile. Don't link shared library with
12677 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12678 Run binary filename through "readlink -f" on the target.
12679
096be756
PA
126802016-04-08 Pedro Alves <palves@redhat.com>
12681
12682 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12683 interpreter filename as argument to gdbserver_spawn.
12684 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12685 Return empty if $last_loaded_file does not exist.
12686
06500533
JK
126872016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12688
12689 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12690 * gdb.base/jit-main.c: Use exit after usage.
12691
2d35e871
JK
126922016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12693
12694 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12695 GDBHISTSIZE prior to the tests.
12696 * gdb.base/gdbinit-history.exp: Likewise.
12697
126982016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
12699
12700 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12701 instead of build_executable. Use gdb_load_shlibs.
12702
c8064e7e
YQ
127032016-04-07 Yao Qi <yao.qi@linaro.org>
12704
12705 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12706 Execute "si" command.
12707
bde47561
YQ
127082016-04-07 Yao Qi <yao.qi@linaro.org>
12709
12710 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12711 number instead of the comments on some line.
12712
b16f8a3b
DB
127132016-04-06 Don Breazeal <donb@codesourcery.com>
12714
12715 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12716 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12717
c2f901df
SM
127182016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12719
12720 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12721 standard_output_file. Remove unused binfile variable.
12722
ac17fda0
CU
127232016-04-05 Catalin Udma <catalin.udma@freescale.com>
12724
12725 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12726 * gdb.python/py-mi-objfile.exp: Match "list main" output
12727 in console format.
12728
03a8c4df
SM
127292016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12730
12731 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12732 absolute.
12733
6e774b13
SM
127342016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12735
12736 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12737 absolute.
12738 * gdb.trace/ftrace.exp: Likewise.
12739 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12740 targets as well.
12741 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12742 (gdb_load_shlibs): Copy libraries to test directory when testing
12743 natively. Only set solib-search-path if testing remotely.
12744 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12745
7817ea46
SM
127462016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12747
12748 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12749 gdb_download. Use it even if the target is not remote.
12750 * gdb.base/jit.exp (compile_jit_test): Likewise.
12751 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12752 output directory if the destination board is local, otherwise use
12753 the standard remote_download from DejaGnu.
12754 (gdb_download): Remove.
12755 (gdb_load_shlibs): Use gdb_remote_download instead of
12756 gdb_download.
12757 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12758 Use gdb_remote_download instead of gdb_download. Use it even if
12759 the target is not remote.
12760 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12761 instead of gdb_download.
12762
7beb7f68
SM
127632016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12764
12765 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12766 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12767 run.
12768
cc63428a
AV
127692016-04-01 Artemiy Volkov <artemiyv@acm.org>
12770
12771 PR gdb/19820
12772 * gdb.base/printcmds.exp: Add artificial arrays tests.
12773
64cdf930
PA
127742016-03-31 Pedro Alves <palves@redhat.com>
12775
12776 PR gdb/19858
12777 * gdb.base/jit-main.c: Include unistd.h.
12778 (ATTACH): Define to 0 if not already defined.
12779 (wait_for_gdb, mypid): New globals.
12780 (WAIT_FOR_GDB): New macro.
12781 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12782 some breakpoint locations.
12783 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12784 New procedures.
12785 (one_jit_test): Add REATTACH parameter, and handle it. Use
12786 continue_to_test_location.
12787 (top level): Test attach, and adjusts calls to one_jit_test.
12788
40dea8cb
PA
127892016-03-31 Pedro Alves <palves@redhat.com>
12790
12791 PR gdb/19858
12792 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12793 BINSUFFIX parameter, and handle it.
12794 (top level): Adjust calls compile_jit_test.
12795
e7ea3ec7
CU
127962016-03-31 Catalin Udma <catalin.udma@freescale.com>
12797
12798 PR python/19743
12799 * gdb.python/py-mi-events-gdb.py: New file.
12800 * gdb.python/py-mi-events.c: New file.
12801 * gdb.python/py-mi-events.exp: New file.
12802
e6359af3
YQ
128032016-03-30 Yao Qi <yao.qi@linaro.org>
12804
12805 * gdb.reverse/until-precsave.exp: Match function name only.
12806 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12807 Move malloc to a condition block.
12808 * gdb.reverse/until-reverse.exp: Match function name only.
12809
a4105d04
MK
128102016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12811
12812 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12813 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12814 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12815 variable for GPR 0 instead of assuming it is register 0.
12816 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12817 * lib/trace-support.exp: Add s390 registers.
12818
bfa6adb9
YQ
128192016-03-29 Yao Qi <yao.qi@linaro.org>
12820
12821 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12822
1e6697ea
YQ
128232016-03-24 Yao Qi <yao.qi@linaro.org>
12824
12825 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12826 test message.
12827
64bcd522
AA
128282016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12829
12830 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12831 maintaining separate logic for constructing the output path.
12832
7868401b
DB
128332016-03-16 Don Breazeal <donb@codesourcery.com>
12834
12835 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12836 Retry fork and waitpid on interrupted system call errors.
12837 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12838 Use with_timeout_factor to increase timeout by factor of 10.
12839
1cafadb4
DB
128402016-03-15 Don Breazeal <donb@codesourcery.com>
12841
12842 * gdb.cp/scope-err.cc: New test program.
12843 * gdb.cp/scope-err.exp: New test script.
12844 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12845 lines and "set breakpoint here" comment.
12846 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12847 Fixed some whitespace and format issues.
12848 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12849 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12850
81516450
DE
128512016-03-15 Doug Evans <dje@google.com>
12852
12853 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12854 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12855 All callers updated. Add tests for enums, mixed flags register.
12856
aa52b601
DE
128572016-03-15 Doug Evans <dje@google.com>
12858
12859 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12860 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12861
fa4ff313
SM
128622016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12863
12864 * gdb.base/default.exp: Add $_as_string to the list of expected
12865 convenience functions.
12866
f2403c39
AB
128672016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12868
12869 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12870
f2f3ccb9
SM
128712016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12872
12873 * gdb.python/py-as-string.exp: New file.
12874 * gdb.python/py-as-string.c: New file.
12875
00dbd492
PA
128762016-03-09 Pedro Alves <palves@redhat.com>
12877
12878 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12879 signal" -> "Thread NN received signal" output change.
12880 * gdb.threads/ia64-sigill.exp: Likewise.
12881 * gdb.threads/linux-dp.exp: Likewise.
12882 * gdb.threads/manythreads.exp: Likewise.
12883 * gdb.threads/pending-step.exp: Likewise.
12884 * gdb.threads/print-threads.exp: Likewise.
12885 * gdb.threads/sigstep-threads.exp: Likewise.
12886 * gdb.threads/staticthreads.exp: Likewise.
12887 * gdb.threads/tls.exp: Likewise.
12888
1e6697ea
YQ
128892016-03-09 Pedro Alves <palves@redhat.com>
12890
12891 * gdb.base/command-line-input.exp: New file.
12892
b04fd3be
MK
128932016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12894
12895 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12896 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12897 * gdb.trace/pending.exp: Accept leading dot before function name.
12898 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12899 * lib/trace-support.exp: Set registers for ppc.
12900
98fa59e9
MK
129012016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12902
12903 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12904 use it for disassembly; accept .main in addition to main in backtrace.
12905
f77198c8
MK
129062016-03-09 Wei-cheng Wang <cole945@gmail.com>
12907 Marcin Kościelnicki <koriakin@0x04.net>
12908
12909 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12910 (gdb_recursion_test_ptr): New global variable.
12911 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12912 gdb_recursion_test.
12913 (gdb_c_test): Ditto.
12914
ba84e0da
MK
129152016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12916
12917 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12918 ordering.
12919
4366d36e
MK
129202016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12921
12922 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12923 (bar): Add bar_start_lbl label.
12924 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12925 of foo/bar for emitting DWARF and tracing.
12926
5eb264df
SDJ
129272016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12928
12929 * analyze-racy-logs.py: Set executable bit.
12930
fb6a751f
SDJ
129312016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12932
12933 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12934 (CHECK_TARGET_TMP): Likewise.
12935 (check-single-racy): New rule.
12936 (check-parallel-racy): Likewise.
12937 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12938 (do-check-parallel-racy): New rule.
12939 (check-racy/%.exp): Likewise.
12940 * README (Racy testcases): New section.
12941 * analyze-racy-logs.py: New file.
12942
bdf7e230
DE
129432016-03-03 Doug Evans <dje@google.com>
12944
12945 * gdb.base/skip.exp: Use with_test_prefix.
12946
4719d415
YQ
129472016-03-03 Yao Qi <yao.qi@linaro.org>
12948
12949 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12950 Invoke step_over_syscall "clone" and break_cond_on_syscall
12951 "clone".
12952 * gdb.base/step-over-clone.c: New file.
12953
ea507862
YQ
129542016-03-03 Yao Qi <yao.qi@linaro.org>
12955
12956 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12957 code format.
12958
8fc8cbda
YQ
129592016-03-03 Yao Qi <yao.qi@linaro.org>
12960
12961 * gdb.base/disp-step-fork.c: Rename to ...
12962 * gdb.base/step-over-fork.c: ... it. New file.
12963 * gdb.base/disp-step-vfork.c: Rename to ...
12964 * gdb.base/step-over-vfork.c: ... it. New file.
12965 * gdb.base/disp-step-syscall.exp: Rename to ...
12966 * gdb.base/step-over-syscall.exp: ... it. New file.
12967 (disp_step_cross_syscall): Rename to ...
12968 (step_over_syscall): ... it.
12969
92fa70b0
YQ
129702016-03-03 Yao Qi <yao.qi@linaro.org>
12971
12972 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12973 If target supports condition evaluation on target, invoke
12974 break_cond_on_syscall for fork and vfork.
12975
e197ad3c
YQ
129762016-03-03 Yao Qi <yao.qi@linaro.org>
12977
12978 * gdb.base/disp-step-syscall.exp: Don't invoke
12979 support_displaced_stepping.
12980 (disp_step_cross_syscall): Test with displaced stepping off and
12981 on if supported.
12982
0b47da9f
YQ
129832016-03-03 Yao Qi <yao.qi@linaro.org>
12984
12985 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12986 proc.
12987 (setup): New proc.
12988 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12989 and setup.
12990
065ab6dc
BH
129912016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12992
12993 * gdb.fortran/vla-history.exp: Remove breakpoint.
12994
07e448ad 129952016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12996
25d49b86
PA
12997 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12998 exceeds timeout.
07e448ad 12999
9ac2d526 130002016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13001
25d49b86
PA
13002 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13003 breakpoint.
9ac2d526 13004
17807369
BH
130052016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13006
13007 * gdb.mi/vla.f90: Nullify pointer after declaration.
13008
86e501af
PA
130092016-03-01 Pedro Alves <palves@redhat.com>
13010
13011 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13012
1e903e32
PA
130132016-03-01 Pedro Alves <palves@redhat.com>
13014
13015 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13016 before anything else.
13017 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13018 _GNU_SOURCE here.
13019 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13020 before anything else.
13021 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13022
6ccb54e2
PA
130232016-03-01 Pedro Alves <palves@redhat.com>
13024
13025 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13026
30ca9da1
YQ
130272016-03-01 Yao Qi <yao.qi@linaro.org>
13028
13029 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13030 prepare_for_testing.
13031
dc856b38
YQ
130322016-03-01 Yao Qi <yao.qi@linaro.org>
13033
13034 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13035
4a932159
AA
130362016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13037
13038 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13039 manually constructing the output path.
13040
f2489477
AA
130412016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13042
13043 * gdb.arch/s390-stackless.S: New.
13044 * gdb.arch/s390-stackless.exp: New.
13045
38899f16
IB
130462016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13047
13048 * gdb.dlang/circular.c: New file.
13049 * gdb.dlang/circular.exp: New file.
13050
9fde51ed
YQ
130512016-02-26 Yao Qi <yao.qi@linaro.org>
13052
13053 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13054 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13055 (testcases): Update.
13056
ce90fefe
YQ
130572016-02-26 Yao Qi <yao.qi@linaro.org>
13058
13059 * gdb.reverse/aarch64.c: Rename to ...
13060 * gdb.reverse/insn-reverse.c: ... it.
13061 * gdb.reverse/aarch64.exp: Rename to ...
13062 * gdb.reverse/insn-reverse.exp: ... it.
13063
3263bceb
YQ
130642016-02-26 Yao Qi <yao.qi@linaro.org>
13065
13066 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13067 (testcase_ftype): New.
13068 (testcases): New array.
13069 (n_testcases): New.
13070 (main): Call each element in testcases.
13071 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13072 (read_testcase): New.
13073 Do the tests in a loop.
13074
6cb59ff1
YQ
130752016-02-25 Yao Qi <yao.qi@linaro.org>
13076
13077 * gdb.base/branches.c: Remove.
13078
ae91f625
MK
130792016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13080
13081 PR gdb/13808
13082 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13083
678b48b7
MK
130842016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13085
13086 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13087
7337a6f2
MK
130882016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13089
13090 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13091 change x86_64 call_insn to 'callq'.
13092
861ca91f
AT
130932016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13094
13095 * gdb.trace/tfile-avx.c: Move to...
13096 * gdb.trace/tracefile-pseudo-reg.c: Here.
13097 * gdb.trace/tfile-avx.exp: Move to...
13098 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13099
bf74e428
GB
131002016-02-24 Gary Benson <gbenson@redhat.com>
13101
13102 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13103 message on attach.
13104
cce0e923
DE
131052016-02-23 Doug Evans <dje@google.com>
13106
13107 * gdb.base/skip.c (test_skip): New function.
13108 (end_test_skip_file_and_function): New function.
13109 (test_skip_file_and_function): New function.
13110 * gdb.base/skip1.c (test_skip): New function.
13111 (skip1_test_skip_file_and_function): New function.
13112 * gdb.base/skip.exp: Add tests for new skip options.
13113 * gdb.base/skip-solib.exp: Update expected output.
13114 * gdb.perf/skip-command.cc: New file.
13115 * gdb.perf/skip-command.exp: New file.
13116 * gdb.perf/skip-command.py: New file.
13117
4000e47e
MK
131182016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13119
13120 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13121 info registers pattern.
13122
24f75ead
IB
131232016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13124
13125 * lib/future.exp: Add D support.
13126 (gdb_find_gdc): New proc.
13127 (gdb_default_target_compile): Add D support.
13128
fbb7bcbe
WW
131292016-02-18 Wei-cheng Wang <cole945@gmail.com>
13130
13131 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13132 user+system time.
13133 (trace_speed_test): Determine the iteration count for a time
13134 between 15..30 seconds.
13135
012b3a21
WT
131362016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13137
13138 * gdb.arch/i386-mpx-sigsegv.c: New file.
13139 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13140 * gdb.arch/i386-mpx-simple_segv.c: New file.
13141 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13142
2d5189bd
YQ
131432016-02-18 Yao Qi <yao.qi@linaro.org>
13144
13145 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13146 Don't call setup_kfail.
13147
40fb20d0
YQ
131482016-02-18 Yao Qi <yao.qi@linaro.org>
13149
13150 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13151 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13152
21b1f8d2
DE
131532016-02-16 Doug Evans <dje@google.com>
13154
13155 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13156 * gdb.base/skip1.c: Ditto.
13157 * gdb.base/skip.exp: Whitespace cleanup.
13158
4041ed77
DB
131592016-02-16 Don Breazeal <donb@codesourcery.com>
13160
13161 PR remote/19496
13162 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13163 Remove kfail for PR remote/19496.
13164
c4ef31bf
SM
131652016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13166
13167 * lib/gdb.exp (standard_temp_file): Return a path specific to
13168 the runtest invocation.
13169
266b65b3
SM
131702016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13171
13172 * gdb.trace/save-trace.exp: Change relative path to be in the
13173 standard output directory.
13174
a7a0a6a9
JK
131752016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13176
13177 * gdb.arch/i386-prologue.c: Add missing prototypes.
13178
c99dbb42
JK
131792016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13180
13181 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13182 * gdb.arch/i386-prologue.exp: Likewise.
13183 * gdb.arch/i386-size.exp: Likewise.
13184
aa480355
SM
131852016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13186
13187 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13188 define object file path.
13189 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13190 file path.
13191 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13192 standard_output_file to define binfile.
13193
ba881f50
JK
131942016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13195
13196 Fix compatibility with recent gfortran-5.3.1.
13197 * gdb.fortran/vla-history.exp (print vla1 allocated)
13198 (print vla2 allocated, print $2, print $3): Remove
13199 (print $4): Rename to ...
13200 (print $2): ... here.
13201 (print $9): Rename to ...
13202 (print $5): ... here.
13203 (print $10): Rename to ...
13204 (print $6): ... here.
13205 * gdb.fortran/vla.f90: Add pvla initialization.
13206
e9fb005c
JK
132072016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13208
13209 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13210 New test.
13211 * gdb.fortran/vla-value-sub.exp: Likewise.
13212
e44e00ff
MK
132132016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13214
13215 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13216
97e94151
SM
132172016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13218
13219 * i386-biarch-core.exp: Define corefile using
13220 standard_output_file.
13221
01113bc1
YQ
132222016-02-12 Yao Qi <yao.qi@linaro.org>
13223
13224 * gdb.arch/arm-single-step-kernel-helper.c: New.
13225 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13226
33b4777c
MM
132272016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13228
13229 * gdb.btrace/tailcall-only.exp: New.
13230 * gdb.btrace/tailcall-only.c: New.
13231 * gdb.btrace/x86_64-tailcall-only.S: New.
13232 * gdb.btrace/i686-tailcall-only.S: New.
13233
acc23c11
PA
132342016-02-11 Pedro Alves <palves@redhat.com>
13235
13236 * README (Parallel testing): Add missing double quotes.
13237
e352bf0a
PA
132382016-02-11 Pedro Alves <palves@redhat.com>
13239
13240 * README (Parallel testing): New section.
13241 (GDB_PARALLEL): Rewrite.
13242 (FORCE_PARALLEL): Document.
13243
9f5fed78
MK
132442016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13245
13246 * gdb.trace/tfile-avx.c: New test.
13247 * gdb.trace/tfile-avx.exp: New test.
13248
9ef9e6a6
KS
132492016-02-09 Keith Seitz <keiths@redhat.com>
13250
13251 PR breakpoints/19546
13252 * gdb.base/infcall-exec.c: New file.
13253 * gdb.base/infcall-exec2.c: New file.
13254 * gdb.base/infcall-exec.exp: New file.
13255
a96e36da
KS
132562016-02-09 Keith Seitz <keiths@redhat.com>
13257
13258 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13259 (toplevel): Call test_bkpt_address.
13260
9f61929f
KS
132612016-02-09 Keith Seitz <keiths@redhat.com>
13262
13263 PR python/19506
13264 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13265 (toplevel): Call test_bkpt_address.
13266
1e94266c
SM
132672016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13268
13269 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13270 to AC_OUTPUT.
13271 * configure: Regenerate.
13272
2a7f3dff
PA
132732016-02-09 Pedro Alves <palves@redhat.com>
13274
13275 PR breakpoints/19548
13276 * gdb.base/execl-update-breakpoints.c (some_function): New
13277 function.
13278 (main): Call it.
13279 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13280 Tighten expected GDB output.
13281
2151ccc5
SM
132822016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13283
13284 * Makefile.in (ALL_SUBDIRS): Remove.
13285 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13286 (distclean maintainer-clean realclean): Likewise.
13287 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13288 * configure: Regenerate.
13289 * gdb.ada/Makefile.in: Delete.
13290 * gdb.arch/Makefile.in: Likewise.
13291 * gdb.asm/Makefile.in: Likewise.
13292 * gdb.base/Makefile.in: Likewise.
13293 * gdb.btrace/Makefile.in: Likewise.
13294 * gdb.cell/Makefile.in: Likewise.
13295 * gdb.compile/Makefile.in: Likewise.
13296 * gdb.cp/Makefile.in: Likewise.
13297 * gdb.disasm/Makefile.in: Likewise.
13298 * gdb.dlang/Makefile.in: Likewise.
13299 * gdb.dwarf2/Makefile.in: Likewise.
13300 * gdb.fortran/Makefile.in: Likewise.
13301 * gdb.gdb/Makefile.in: Likewise.
13302 * gdb.go/Makefile.in: Likewise.
13303 * gdb.guile/Makefile.in: Likewise.
13304 * gdb.java/Makefile.in: Likewise.
13305 * gdb.linespec/Makefile.in: Likewise.
13306 * gdb.mi/Makefile.in: Likewise.
13307 * gdb.modula2/Makefile.in: Likewise.
13308 * gdb.multi/Makefile.in: Likewise.
13309 * gdb.objc/Makefile.in: Likewise.
13310 * gdb.opencl/Makefile.in: Likewise.
13311 * gdb.opt/Makefile.in: Likewise.
13312 * gdb.pascal/Makefile.in: Likewise.
13313 * gdb.perf/Makefile.in: Likewise.
13314 * gdb.python/Makefile.in: Likewise.
13315 * gdb.reverse/Makefile.in: Likewise.
13316 * gdb.server/Makefile.in: Likewise.
13317 * gdb.stabs/Makefile.in: Likewise.
13318 * gdb.threads/Makefile.in: Likewise.
13319 * gdb.trace/Makefile.in: Likewise.
13320 * gdb.xml/Makefile.in: Likewise.
13321 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13322 GDB_PARALLEL.
13323 (standard_output_file): Remove check for GDB_PARALLEL, always
13324 return path in outputs/$subdir/$testname.
13325
437277d4
SM
133262016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13327
13328 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13329 (site.exp): Assign abs_srcdir to tcl's srcdir.
13330
31d913c7
YQ
133312016-02-04 Yao Qi <yao.qi@linaro.org>
13332
13333 * gdb.base/foll-exec-mode.c: Include limits.h.
13334 (main): Add parameters argc and argv. Get directory from
13335 argv[0].
13336 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13337 compilation.
13338 * gdb.base/foll-exec.c: Include limits.h.
13339 (main): Add parameters argc and argv.
13340 Get directory from argv[0].
13341 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13342 Adjust tests on the number of lines as source code changed.
13343 * gdb.base/foll-vfork-exit.c: Include limits.h.
13344 (main): Add one line of statement before vfork.
13345 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13346 (main): Add parameters argc and argv. Get directory from
13347 argv[0].
13348 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13349 (setup_gdb): Set tbreak to skip some source lines.
13350 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13351 (main): Add parameters argc and argv. Get directory from
13352 argv[0].
13353 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13354 compilation.
13355 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13356 (main): Add parameters argc and argv. Get directory from
13357 argv[0].
13358 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13359 compilation.
13360
9482b9fb
DE
133612016-02-01 Doug Evans <dje@google.com>
13362
13363 * gdb.base/skip.exp: Clean up multiple references to same test name.
13364
6b2e4f10
PA
133652016-02-01 Pedro Alves <palves@redhat.com>
13366
ccb6afd6 13367 PR remote/19496
6b2e4f10
PA
13368 * gdb.threads/forking-threads-plus-breakpoint.exp
13369 (displaced_stepping_supported): New global.
13370 (probe_displaced_stepping_support): New procedure.
13371 (do_test): Add 'displaced' parameter, and use it.
13372 (top level): Check for displaced stepping support. Add displaced
13373 stepping on/off testing axis.
13374
37a8db1a
AB
133752016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13376
13377 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13378 pointer. Don't perform further tests on the unassociated pointer
13379 if the first test fails.
13380
5fdf6324
AB
133812016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13382
13383 * gdb.base/max-value-size.c: New file.
13384 * gdb.base/max-value-size.exp: New file.
13385 * gdb.base/huge.exp: Disable max-value-size for this test.
13386
935c6144
IB
133872016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13388
13389 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13390
7fe8399d
YQ
133912016-01-28 Yao Qi <yao.qi@linaro.org>
13392
13393 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13394
a2077e25
PA
133952016-01-25 Pedro Alves <palves@redhat.com>
13396
13397 PR threads/19461
13398 * gdb.base/fork-running-state.c: New file.
13399 * gdb.base/fork-running-state.exp: New file.
13400
1d2736d4
PA
134012016-01-25 Pedro Alves <palves@redhat.com>
13402
13403 PR gdb/19494
13404 * gdb.base/catch-fork-kill.c: New file.
13405 * gdb.base/catch-fork-kill.exp: New file.
13406
f1da4b11
PA
134072016-01-25 Pedro Alves <palves@redhat.com>
13408
13409 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13410 Delete, moved to lib/gdb.exp.
13411 * gdb.threads/forking-threads-plus-breakpoint.exp
13412 (foreach_with_prefix): Likewise.
13413 * gdb.threads/process-dies-while-handling-bp.exp
13414 (foreach_with_prefix): Likewise.
13415 * lib/gdb.exp (foreach_with_prefix): New procedure.
13416
45f38546
MK
134172016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13418
13419 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13420 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13421
dc29a1ce
MK
134222016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13423
13424 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13425 endian targets.
13426
092127d7
JK
134272016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13428 Pedro Alves <palves@redhat.com>
13429
13430 Fix testsuite compatibility with Guile.
13431 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13432 number.
13433
31d765d3
JK
134342016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13435
13436 Fix testsuite compatibility with Guile.
13437 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13438 (thread 1): New test for backtrace through signal handler.
13439
1ac78c04
YQ
134402016-01-22 Yao Qi <yao.qi@linaro.org>
13441
13442 PR testsuite/19491
13443 * gdb.base/multi-forks.c: Include
13444 ../lib/unbuffer_output.c
13445 (main): Call gdb_unbuffer_output.
13446
4f5946a8
DE
134472016-01-21 Doug Evans <dje@google.com>
13448
13449 * lib/ada.exp (gdb_compile_ada): Fix typo.
13450
305e13e6
JB
134512016-01-21 Joel Brobecker <brobecker@adacore.com>
13452
13453 * gdb.base/break-fun-addr.exp: New file.
13454 * gdb.base/break-fun-addr1.c: New file.
13455 * gdb.base/break-fun-addr2.c: New file.
13456
5f5dfff6
SM
134572016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13458
13459 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13460 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13461 enum flag values.
13462
fd356fa2
AA
134632016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13464
13465 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13466 when GDB can not set the vector return value. Add more comments
13467 for clarification.
13468
9df22175
AT
134692016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13470
13471 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13472 command.
13473
41d1845e
SM
134742016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13475
13476 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13477
01ac6840
SM
134782016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13479
13480 * Makefile.in (check-single): Pass --status to runtest.
13481 (check/%.exp): Likewise.
13482
134832016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13484
13485 * Makefile.in (check-parallel): Propagate return code from make
13486 do-check-parallel.
13487
bd0a71fa
MK
134882016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13489
13490 * gdb.trace/ftrace.exp: Fix expected message on continue.
13491 * gdb.trace/pending.exp: Fix expected message on continue.
13492 * gdb.trace/trace-break.exp: Fix expected message on continue.
13493
8bcbad33
SM
134942016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13495
13496 * lib/gdb.exp (gdb_test): Remove unused global references.
13497
f303dbd6
PA
134982016-01-18 Pedro Alves <palves@redhat.com>
13499
13500 * gdb.base/async-shell.exp: Adjust expected output.
13501 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13502 * gdb.base/siginfo-thread.exp: Adjust expected output.
13503 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13504 * gdb.java/jnpe.exp: Adjust expected output.
13505 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13506 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13507 * gdb.threads/leader-exit.exp: Adjust expected output.
13508 * gdb.threads/manythreads.exp: Adjust expected output.
13509 * gdb.threads/pthreads.exp: Adjust expected output.
13510 * gdb.threads/schedlock.exp: Adjust expected output.
13511 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13512 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13513 expected output.
13514 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13515 output.
13516 * gdb.threads/sigthread.exp: Adjust expected output.
13517 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13518
b2789696
YQ
135192016-01-18 Yao Qi <yao.qi@linaro.org>
13520
13521 * gdb.guile/scm-section-script.c: Replace @progbits with
13522 %progbits.
13523 * gdb.python/py-section-script.c: Likewise.
13524
71ef29a8
PA
135252016-01-15 Pedro Alves <palves@redhat.com>
13526
13527 * gdb.multi/tids.exp: Test star wildcard ranges.
13528
3f5b7598
PA
135292016-01-15 Pedro Alves <palves@redhat.com>
13530
13531 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13532 command from "thread apply" invocation.
13533 (thr_apply_info_thr_invalid): Default the expected output to the
13534 input tid list.
13535 (top level): Add tests that use convenience variables. Add tests
13536 for "thread apply" with a valid TID list, but missing the command.
13537
663f6d42
PA
135382016-01-13 Pedro Alves <palves@redhat.com>
13539
13540 * gdb.base/default.exp: Expect $_gthread as well.
13541 * gdb.multi/tids.exp: Test $_gthread.
13542 * gdb.threads/thread-specific.exp: Test $_gthread.
13543
c84f6bbf
PA
135442016-01-13 Pedro Alves <palves@redhat.com>
13545
13546 * gdb.multi/tids.exp: Test "info threads -gid".
13547
22a02324
PA
135482016-01-13 Pedro Alves <palves@redhat.com>
13549
13550 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13551 Breakpoint.thread.
13552 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13553
5d5658a1
PA
135542016-01-07 Pedro Alves <palves@redhat.com>
13555
13556 * gdb.base/break.exp: Adjust to output changes.
13557 * gdb.base/hbreak2.exp: Likewise.
13558 * gdb.base/sepdebug.exp: Likewise.
13559 * gdb.base/watch_thread_num.exp: Likewise.
13560 * gdb.linespec/keywords.exp: Likewise.
13561 * gdb.multi/info-threads.exp: Likewise.
13562 * gdb.threads/thread-find.exp: Likewise.
13563 * gdb.multi/tids.c: New file.
13564 * gdb.multi/tids.exp: New file.
13565
84654457
PA
135662016-01-13 Pedro Alves <palves@redhat.com>
13567
13568 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13569
e3940304
PA
135702016-01-13 Pedro Alves <palves@redhat.com>
13571
13572 * gdb.base/default.exp: Expect $_inferior as well.
13573 * gdb.multi/base.exp: Test $_inferior.
13574
a911d87a
PA
135752016-01-13 Pedro Alves <palves@redhat.com>
13576
13577 PR breakpoints/19388
13578 * gdb.base/catch-signal-siginfo-cond.c: New file.
13579 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13580
82075af2
JS
135812016-01-12 Josh Stone <jistone@redhat.com>
13582 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13583
13584 * gdb.base/catch-syscall.c (do_execve): New variable.
13585 (main): Conditionally trigger an execve.
13586 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13587 (test_catch_syscall_execve): New, check entry/return across execve.
13588 (do_syscall_tests): Call test_catch_syscall_execve.
13589
e46eeedd
PA
135902016-01-12 Pedro Alves <palves@redhat.com>
13591
13592 * gdb.base/random-signal.exp (do_test): New procedure, with body
13593 of testcase moved in.
13594
01d8c27e
JK
135952016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13596 Pedro Alves <palves@redhat.com>
13597
13598 * gdb.base/funcargs.exp (finish from indirectly called function):
13599 Reintroduce the case for 'First'.
13600
9a706302
JK
136012016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13602 Pedro Alves <palves@redhat.com>
13603
13604 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13605 (tcatch_vfork_then_child_follow_exec)
13606 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13607 identification.
13608
c0ecb95f
JK
136092016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13610
13611 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13612 and repeats to unlimited.
13613 * gdb.python/py-value.exp: Likewise.
13614 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13615 and repeats to unlimited.
13616
6cfc1fcb
JK
136172016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13618
13619 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13620 and reordering the functions.
13621 * gdb.multi/hangout.c: Likewise.
13622 * gdb.multi/hello.c: Likewise.
13623
582a1b00
SM
136242016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13625
13626 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13627 absolute.
13628 (SingleStatisticTestResult.report): Use dict.keys instead of
13629 dict.iterkeys.
13630
79bc59cb
PA
136312016-01-06 Pedro Alves <palves@redhat.com>
13632
13633 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13634
43368e1d
MM
136352016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13636
13637 * gdb.btrace/dlopen.exp: New.
13638 * gdb.btrace/dlopen.c: New.
13639 * gdb.btrace/dlopen-dso.c: New.
13640
79fad5b8
SL
136412015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13642
13643 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13644 PATTERN argument is optional.
13645
ab8314b3
JB
136462015-12-24 Joel Brobecker <brobecker@adacore.com>
13647
13648 * lib/ada.exp (target_compile_ada_from_dir): New function.
13649 (gdb_compile_ada): Reimplement avoiding the use of project files.
13650 * gdb.ada/gnat_ada.gpr: Delete.
13651 * gdb.ada/cond_lang.exp: Adjust test to make path before
13652 filename optional.
13653 * gdb.ada/small_reg_param.exp: Likewise.
13654
fe33faff
SM
136552015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13656
13657 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13658
6d265cb4
TP
136592015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13660
13661 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13662 case.
13663
10125099
SM
136642015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13665
13666 * gdb.base/break.exp: Remove dead code.
13667 * gdb.base/sepdebug.exp: Likewise.
13668
3ca22649
SM
136692015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13670
13671 * gdb.asm/asm-source.exp: Remove HP-UX references.
13672 * gdb.base/annota1.exp: Likewise.
13673 * gdb.base/annota3.exp: Likewise.
13674 * gdb.base/attach.exp: Likewise.
13675 * gdb.base/bigcore.exp: Likewise.
13676 * gdb.base/break.exp: Likewise.
13677 * gdb.base/call-ar-st.exp: Likewise.
13678 * gdb.base/callfuncs.exp: Likewise.
13679 * gdb.base/catch-fork-static.exp: Likewise.
13680 * gdb.base/display.exp: Likewise.
13681 * gdb.base/foll-exec-mode.exp: Likewise.
13682 * gdb.base/foll-exec.exp: Likewise.
13683 * gdb.base/foll-fork.exp: Likewise.
13684 * gdb.base/foll-vfork.exp: Likewise.
13685 * gdb.base/funcargs.exp: Likewise.
13686 * gdb.base/hbreak2.exp: Likewise.
13687 * gdb.base/inferior-died.exp: Likewise.
13688 * gdb.base/interrupt.exp: Likewise.
13689 * gdb.base/multi-forks.exp: Likewise.
13690 * gdb.base/nodebug.exp: Likewise.
13691 * gdb.base/sepdebug.exp: Likewise.
13692 * gdb.base/solib1.c: Likewise.
13693 * gdb.base/step-test.exp: Likewise.
13694 * gdb.mi/non-stop.c: Likewise.
13695 * gdb.mi/pthreads.c: Likewise.
13696 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13697 * gdb.threads/pthreads.c: Likewise.
13698 * gdb.threads/staticthreads.exp: Likewise.
13699 * lib/future.exp: Likewise.
13700 * lib/gdb.exp: Likewise.
13701 * gdb.base/so-indr-cl.c: Remove.
13702 * gdb.base/so-indr-cl.exp: Likewise.
13703 * gdb.base/solib.c: Likewise.
13704 * gdb.base/solib.exp: Likewise.
13705 * gdb.base/solib2.c: Likewise.
13706
b6304613
SM
137072015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13708
13709 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13710 * gdb.base/call-ar-st.exp: Likewise.
13711 * gdb.base/callfuncs.exp: Likewise.
13712 * gdb.base/condbreak.exp: Likewise.
13713 * gdb.base/constvars.exp: Likewise.
13714 * gdb.base/hbreak2.exp: Likewise.
13715 * gdb.base/langs.exp: Likewise.
13716 * gdb.base/list.exp: Likewise.
13717 * gdb.base/long_long.exp: Likewise.
13718 * gdb.base/ptype.exp: Likewise.
13719 * gdb.base/scope.exp: Likewise.
13720 * gdb.base/signals.exp: Likewise.
13721 * gdb.base/so-impl-ld.exp: Likewise.
13722 * gdb.base/varargs.exp: Likewise.
13723 * gdb.base/volatile.exp: Likewise.
13724 * gdb.base/whatis.exp: Likewise.
13725 * gdb.cp/cplusfuncs.exp: Likewise.
13726 * gdb.cp/inherit.exp: Likewise.
13727 * gdb.cp/local.exp: Likewise.
13728 * gdb.cp/member-ptr.exp: Likewise.
13729 * gdb.cp/method.exp: Likewise.
13730 * gdb.cp/overload.exp: Likewise.
13731 * gdb.cp/templates.exp: Likewise.
13732 * gdb.stabs/weird.exp: Likewise.
13733 * lib/compiler.c: Likewise.
13734 * lib/compiler.cc: Likewise.
13735 * lib/cp-support.exp: Likewise.
13736 * lib/gdb.exp: Likewise.
13737
bf401b07
SM
137382015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13739
13740 * configure.ac: Remove HP-UX case.
13741 * configure: Regenerate.
13742
aff9c0f8
SM
137432015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13744
13745 * lib/gdb.exp (gdb_compile): Add function doc.
13746
a6904d5a
PA
137472015-12-17 Pedro Alves <palves@redhat.com>
13748
13749 PR threads/19354
13750 * gdb.multi/info-threads.exp: New file.
13751
a22279dd
YQ
137522015-12-15 Yao Qi <yao.qi@linaro.org>
13753
13754 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13755 is aarch64*-*-*.
13756
0588c796
SL
137572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13758
13759 * gdb.base/history-duplicates.exp: Skip if no readline support.
13760
5d978e17
SL
137612015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13762
13763 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13764
7e763b86
SL
137652015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13766
13767 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13768
87a3a92c
SL
137692015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13770
13771 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13772 ctrl-C if nointerrupts target property is set.
13773 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13774 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13775 * gdb.base/paginate-bg-execution.exp: Likewise.
13776 * gdb.base/paginate-execution-startup.exp: Likewise.
13777 * gdb.base/random-signal.exp: Likewise.
13778 * gdb.base/range-stepping.exp: Likewise.
13779 * gdb.cp/annota2.exp: Likewise.
13780 * gdb.cp/annota3.exp: Likewise.
13781 * gdb.gdb/selftest.exp: Likewise.
13782 * gdb.threads/continue-pending-status.exp: Likewise.
13783 * gdb.threads/leader-exit.exp: Likewise.
13784 * gdb.threads/manythreads.exp: Likewise.
13785 * gdb.threads/pthreads.exp: Likewise.
13786 * gdb.threads/schedlock.exp: Likewise.
13787 * gdb.threads/sigthread.exp: Likewise.
13788
a8f077dc
DB
137892015-12-11 Don Breazeal <donb@codesourcery.com>
13790
13791 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13792 remote.
13793 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13794 * gdb.base/foll-exec.exp (main): Enable for target remote.
13795 * gdb.base/foll-fork.exp (main): Likewise.
13796 * gdb.base/foll-vfork.exp (main): Likewise.
13797 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13798 (proc continue_to_exit_bp_loc): Use clean_restart.
13799 * gdb.base/pie-execl.exp (main): Disable for target remote.
13800 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13801 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13802 * gdb.threads/execl.exp (main): Likewise.
13803 * gdb.threads/fork-child-threads.exp (main): Likewise.
13804 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13805 remote.
13806 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13807 remote.
13808 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13809 pid.tid style ptids, instead of just tid.
13810 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13811 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13812 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13813 ptids, instead of just tid.
13814
3b2464a8
AB
138152015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13816
13817 * gdb.base/list.exp (test_list_forward): Add end of file error
13818 test.
13819 (test_repeat_list_command): Add end of file error test.
13820 (test_list_backwards): Add beginning of file error test.
13821
a0def019
AB
138222015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13823
13824 * gdb.base/list.exp (test_list_invalid_args): New function,
13825 defined, and called.
13826
5c000dff
AB
138272015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13828
13829 * gdb.base/list.exp (test_list): Make test names unique.
13830
f1637ebe
YQ
138312015-12-11 Yao Qi <yao.qi@linaro.org>
13832
13833 * gdb.base/coremaker2.c: Remove.
13834
36d6fc0a
PA
138352015-12-10 Pedro Alves <palves@redhat.com>
13836
13837 * gdb.multi/base.exp: Remove stale "spaces" references.
13838
762f7747
PA
138392015-12-10 Pedro Alves <palves@redhat.com>
13840
13841 * gdb.multi/base.exp: Don't use nowarnings.
13842 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13843 * gdb.multi/hangout.c: Include stdio.h.
13844 * gdb.multi/hello.c: Include stdlib.h.
13845 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13846 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13847 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13848
28d2bfb9
AB
138492015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13850
13851 * gdb.dwarf2/dw2-ranges-base.c: New file.
13852 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13853 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13854 support additional line table, and debug ranges generation.
13855 (Dwarf::ranges): New function, generate .debug_ranges.
13856 (Dwarf::lines): Support generating simple line table programs.
13857 (Dwarf::assemble): Initialise new namespace variables.
13858
5fc2beac
KB
138592015-12-09 Kevin Buettner <kevinb@redhat.com>
13860
13861 * gdb.base/async.exp (proc test_background): Add case for
13862 asynchronous execution not supported.
13863
1c35a88f
LM
138642015-12-09 Luis Machado <lgustavo@codesourcery.com>
13865
13866 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13867 format and change test names to make them unique.
13868
b593e3d9
RK
138692015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13870 Pedro Alves <pedro@redhat.com>
13871
13872 PR gdb/18702
13873 Add checking of floatformats setup on x86_64 hosts.
13874 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13875 (smallval, bigval): New labels/constants.
13876 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13877 float" after loading bigval and smallval.
13878
d72413e6
PMR
138792015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13880
13881 * gdb.ada/fun_overload_menu.exp: New testcase.
13882 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13883
ece66d65
JS
138842015-12-04 Josh Stone <jistone@redhat.com>
13885
13886 * gdb.base/catch-fork-static.exp: New.
13887
41d0efca
YQ
138882015-12-03 Yao Qi <yao.qi@linaro.org>
13889
13890 * gdb.base/sizeof.c: Don't include stdio.h and
13891 ../lib/unbuffer_output.c.
13892 (main): New variable 'size' and 'value'. Remove printf and
13893 gdb_unbuffer_output. Assign return value to size and value.
13894 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13895 at the beginning.
13896 (check_sizeof): Check the result by printing variable 'size'.
13897 (check_valueof): Check the result by printing variable 'value'.
13898
99fd02d9
YQ
138992015-12-01 Yao Qi <yao.qi@linaro.org>
13900
13901 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13902 for aarch64*-*-linux* target.
13903
f2faf941
PA
139042015-11-30 Pedro Alves <palves@redhat.com>
13905
13906 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13907
04bf20c5
PA
139082015-11-30 Pedro Alves <palves@redhat.com>
13909
13910 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13911 Handle non-stop mode vCont replies.
13912
09df4675
PA
139132015-11-30 Pedro Alves <palves@redhat.com>
13914
13915 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13916 prepare_for_testing. Start gdb with "set non-stop on" appended to
13917 GDBFLAGS. Lax expected stop output.
13918
58b584af
YQ
139192015-11-27 Yao Qi <yao.qi@linaro.org>
13920
13921 * gdb.arch/arm-neon.exp: New.
13922 * gdb.arch/arm-neon.c: New.
13923
dfcb77a8
YQ
139242015-11-27 Yao Qi <yao.qi@linaro.org>
13925
13926 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13927
88e8ec1b
YQ
139282015-11-27 Yao Qi <yao.qi@linaro.org>
13929
13930 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13931 frames-invalid annotation.
13932
bfde72c2
YQ
139332015-11-27 Yao Qi <yao.qi@linaro.org>
13934
13935 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13936
f6512a69
SM
139372015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13938
13939 * gdb.threads/names.exp: New file.
13940 * gdb.threads/names.c: New file.
13941 * README: Mention gdb,no_thread_names.
13942
46a3515b
MM
139432015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13944
13945 PR 19297
13946 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13947 support" error.
13948
62147a22
PA
139492015-11-24 Pedro Alves <palves@redhat.com>
13950
13951 PR 17539
13952 * gdb.base/display.exp: Expect displays to be sorted in ascending
13953 order. Use multi_line.
13954 * gdb.base/solib-display.exp: Likewise.
13955
2f341b6e
PA
139562015-11-24 Pedro Alves <palves@redhat.com>
13957
13958 PR 17539
25d49b86
PA
13959 * gdb.base/display.exp: Expect displays to be sorted in ascending
13960 order. Use multi_line.
13961 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13962
7e0aa6aa
PA
139632015-11-24 Pedro Alves <palves@redhat.com>
13964
13965 PR 17539
13966 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13967 threads in ascending order.
13968 * gdb.base/foll-fork.exp: Likewise.
13969 * gdb.base/foll-vfork.exp: Likewise.
13970 * gdb.base/multi-forks.exp: Likewise.
13971 * gdb.mi/mi-nonstop.exp: Likewise.
13972 * gdb.mi/mi-nsintrall.exp: Likewise.
13973 * gdb.multi/base.exp: Likewise.
13974 * gdb.multi/multi-arch.exp: Likewise.
13975 * gdb.python/py-inferior.exp: Likewise.
13976 * gdb.threads/break-while-running.exp: Likewise.
13977 * gdb.threads/execl.exp: Likewise.
13978 * gdb.threads/gcore-thread.exp: Likewise.
13979 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13980 * gdb.threads/kill.exp: Likewise.
13981 * gdb.threads/linux-dp.exp: Likewise.
13982 * gdb.threads/multiple-step-overs.exp: Likewise.
13983 * gdb.threads/next-bp-other-thread.exp: Likewise.
13984 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13985 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13986 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13987 * gdb.threads/thread-find.exp: Likewise.
13988 * gdb.threads/tls.exp: Likewise.
13989 * lib/mi-support.exp (mi_reverse_list): Delete.
13990 (mi_check_thread_states): No longer reverse list.
13991
2cc57ad8
PA
139922015-11-24 Pedro Alves <palves@redhat.com>
13993
13994 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13995 use lowercase.
13996
c93e8391
SM
139972015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13998
13999 * gdb.trace/actions.c: Include trace-common.h.
14000 (main): Add a location for a fast tracepoint.
14001 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14002 the normal tracepoints.
14003 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14004
045ccf91
SM
140052015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14006
14007 * save-trace.exp: Factor out code to these...
14008 (gdb_save_tracepoints): New.
14009 (gdb_load_tracepoints): New.
14010 (do_save_load_test): New.
14011
5506f9f6
KB
140122015-11-23 Kevin Buettner <kevinb@redhat.com>
14013
14014 * gdb.base/asmlabel.exp: New test.
14015 * gdb.base/asmlabel.c: New test case.
14016
16c3b12f
JB
140172015-11-23 Joel Brobecker <brobecker@adacore.com>
14018
14019 * gdb.base/wrong_frame_bt_full-main.c: New file.
14020 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14021 * gdb.base/wrong_frame_bt_full.exp: New file.
14022
155bfbd3
JB
140232015-11-23 Joel Brobecker <brobecker@adacore.com>
14024
14025 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14026
bb097445
JM
140272015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14028
206853a0 14029 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14030 pstate register when comparing registers values in
14031 sparc64-*-linux-gnu targets to avoid spurious differences.
14032
9c88ed8f
JM
140332015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14034
206853a0 14035 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14036
96161e25
SL
140372015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14038
14039 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14040 as type argument to gdb_compile.
14041 * gdb.base/nested-subp2.exp: Likewise.
14042 * gdb.base/nested-subp3.exp: Likewise.
14043
340c2830
DV
140442015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14045
14046 * lib/dwarf.exp (_note): Fix left shift of negative value.
14047 * gdb.trace/trace-condition.exp: Likewise.
14048
c1862d0f
YQ
140492015-11-13 Yao Qi <yao.qi@linaro.org>
14050
14051 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14052 comments about d10v.
14053 (test_scalar_returns): Likewise.
14054 * gdb.base/d10v.ld: Remove.
14055 * gdb.base/overlays.exp: Remove the target triplet checking for
14056 d10v-*-*.
14057 * gdb.base/structs.exp (test_struct_returns): Remove the
14058 comments about d10v.
14059 (test_struct_calls): Likewise.
14060
77ae9c19
YQ
140612015-11-13 Yao Qi <yao.qi@linaro.org>
14062
14063 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14064 * gdb.base/gnu_vector.c: Don't include stdio.h.
14065 (main): Don't print res and call add_some_intvecs.
14066
430e004e
MK
140672015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14068
14069 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14070 macro.
14071 (func5): Removed.
14072 (func4): Use FAST_TRACEPOINT_LABEL.
14073 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14074 macro.
14075 (func): Removed.
14076 (thread_function): Use FAST_TRACEPOINT_LABEL.
14077 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14078 (func): Remove.
14079 (marker): Use FAST_TRACEPOINT_LABEL.
14080 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14081 (pendfunc1): Remove.
14082 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14083 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14084 (foo): Remove.
14085 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14086 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14087 macro.
14088 (func): Remove.
14089 (marker): Use FAST_TRACEPOINT_LABEL.
14090 * gdb.trace/trace-common.h: New header.
14091 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14092 macro.
14093 (func): Remove.
14094 (marker): Use FAST_TRACEPOINT_LABEL.
14095 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14096 (func): Remove.
14097 (thread_function): Use FAST_TRACEPOINT_LABEL.
14098
6e7675a7
MK
140992015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14100
14101 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14102 in front.
14103 * gdb.trace/change-loc.exp: Use global pcreg definition.
14104 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14105 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14106 in front.
14107 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14108 * gdb.trace/pending.exp: Likewise.
14109 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14110 * gdb.trace/trace-break.exp: Likewise.
14111 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14112 in front.
14113 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14114 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14115 in front.
14116 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14117
dddc0e16
JB
141182015-11-09 Joel Brobecker <brobecker@adacore.com>
14119
14120 * gdb.ada/fin_fun_out: New testcase.
14121
c6f0b406
KB
141222015-11-07 Kevin Buettner <kevinb@redhat.com>
14123
14124 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14125 value associated with DW_AT_byte_size.
14126 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14127 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14128 DW_AT_upper_bound.
14129
f01dcfd9
KB
141302015-11-07 Kevin Buettner <kevinb@redhat.com>
14131
14132 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14133 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14134 version.
14135 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14136 gdb.dwarf2/dw2-canonicalize-type.exp,
14137 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14138 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14139 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14140 provided by gdb_target_symbol_prefix_flags_asm.
14141 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14142 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14143 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14144 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14145 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14146 macros where needed). Use this macro for symbols which require
14147 the prefix provided by SYMBOL_PREFIX.
14148
2223449a
KB
141492015-11-05 Kevin Buettner <kevinb@redhat.com>
14150
14151 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14152 New procs.
14153 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14154 representing expressions, of more than one list element.
14155 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14156 to prepend linker symbol prefix to f.
14157 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14158 table_1 and table_2.
14159 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14160 Likewise, for f and g.
14161 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14162 for ptr.
14163 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14164 for main.
14165 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14166 table_1_ptr and table_2_ptr.
14167
6f2f1a3a
JK
141682015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14169 Joel Brobecker <brobecker@adacore.com>
14170
14171 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14172
566c56c9
MK
141732015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14174
14175 * gdb.reverse/s390-mvcle.c: New test.
14176 * gdb.reverse/s390-mvcle.exp: New file.
14177 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14178
d5f0636b
MK
141792015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14180
14181 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14182
7ad8b86c
MK
141832015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14184
14185 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14186 reaching marker2.
14187 * gdb.reverse/getresuid-reverse.exp: Likewise.
14188 * gdb.reverse/pipe-reverse.exp: Likewise.
14189 * gdb.reverse/readv-reverse.exp: Likewise.
14190 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14191 * gdb.reverse/time-reverse.exp: Likewise.
14192 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14193
4081c0f1
YQ
141942015-10-30 Yao Qi <yao.qi@linaro.org>
14195
14196 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14197 (empty_cycle): Remove.
14198 (main): Don't call empty_cycle. Don't use watch_count_done.
14199 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14200 empty_cycle. Rewrite the code counting HW watchpoints.
14201
452b4ba5
MK
142022015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14203
14204 * gdb.reverse/fstatat-reverse.c: New test.
14205 * gdb.reverse/fstatat-reverse.exp: New file.
14206 * gdb.reverse/getresuid-reverse.c: New test.
14207 * gdb.reverse/getresuid-reverse.exp: New file.
14208 * gdb.reverse/pipe-reverse.c: New test.
14209 * gdb.reverse/pipe-reverse.exp: New file.
14210 * gdb.reverse/readv-reverse.c: New test.
14211 * gdb.reverse/readv-reverse.exp: New file.
14212 * gdb.reverse/recvmsg-reverse.c: New test.
14213 * gdb.reverse/recvmsg-reverse.exp: New file.
14214 * gdb.reverse/time-reverse.c: New test.
14215 * gdb.reverse/time-reverse.exp: New file.
14216 * gdb.reverse/waitpid-reverse.c: New test.
14217 * gdb.reverse/waitpid-reverse.exp: New file.
14218
5e2e7507
JK
142192015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14220
14221 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14222
0fde2c53
DE
142232015-10-26 Doug Evans <dje@google.com>
14224
14225 PR symtab/17391
14226 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14227 * gdb.dwarf2/bad-regnum.c: New file.
14228 * gdb.dwarf2/bad-regnum.exp: New file.
14229
1a70ae97
DE
142302015-10-26 Doug Evans <dje@google.com>
14231
14232 PR python/18938
14233 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14234 file.
14235
27dc26ab
JK
142362015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14237
14238 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14239 for a change by "Mention language in compile error message".
14240
bed91f4d
SM
142412015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14242
14243 PR python/18073
14244 * gdb.python/py-type.c (C::a_method): New.
14245 (C::a_const_method): New.
14246 (C::a_static_method): New.
14247 (a_function): New.
14248 * gdb.python/py-type.exp (test_fields): Test getting fields
14249 from function and method.
14250
3f2f83dd
KB
142512015-10-21 Keven Boell <keven.boell@intel.com>
14252
14253 * gdb.fortran/vla-alloc-assoc.exp: New file.
14254 * gdb.fortran/vla-datatypes.exp: New file.
14255 * gdb.fortran/vla-datatypes.f90: New file.
14256 * gdb.fortran/vla-history.exp: New file.
14257 * gdb.fortran/vla-ptype-sub.exp: New file.
14258 * gdb.fortran/vla-ptype.exp: New file.
14259 * gdb.fortran/vla-sizeof.exp: New file.
14260 * gdb.fortran/vla-sub.f90: New file.
14261 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14262 * gdb.fortran/vla-value-sub-finish.exp: New file.
14263 * gdb.fortran/vla-value-sub.exp: New file.
14264 * gdb.fortran/vla-value.exp: New file.
14265 * gdb.fortran/vla-ptr-info.exp: New file.
14266 * gdb.mi/mi-vla-fortran.exp: New file.
14267 * gdb.mi/vla.f90: New file.
14268
27145d50
SL
142692015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14270
14271 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14272 of hardwired timeout value.
14273
5f3ff4f8
JK
142742015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14275 Pedro Alves <palves@redhat.com>
14276
14277 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14278 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14279
bfd09d20
JS
142802015-10-19 Josh Stone <jistone@redhat.com>
14281
14282 * gdb.base/catch-syscall.c: Include <sched.h>.
14283 (unknown_syscall): New variable.
14284 (main): Trigger a vfork and an unknown syscall.
14285 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14286 (unknown_syscall_number): Likewise.
14287 (check_call_to_syscall): Accept an optional syscall pattern.
14288 (check_return_from_syscall): Likewise.
14289 (check_continue): Likewise.
14290 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14291 (test_catch_syscall_skipping_return): New test toggling off 'catch
14292 syscall' to step over the syscall return, then toggling back on.
14293 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14294 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14295 (do_syscall_tests): Call test_catch_syscall_without_args and
14296 test_catch_syscall_mid_vfork.
14297 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14298 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14299
b32b93c6
AS
143002015-10-19 Andrew Stubbs <ams@codesourcery.com>
14301
14302 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14303 print g_vE): Add new pass patterns.
14304 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14305 print various symbol names for vptr fields.
14306
9d622bda
AB
143072015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14308
14309 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14310 results.
14311
0fd8ac1c
YQ
143122015-10-12 Yao Qi <yao.qi@linaro.org>
14313
14314 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14315
34240514
YQ
143162015-10-12 Yao Qi <yao.qi@linaro.org>
14317
14318 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14319 is aarch64*-*-linux*.
14320
8240f442
YQ
143212015-10-12 Yao Qi <yao.qi@linaro.org>
14322
14323 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14324 (can_relocate_bcond_true): ... it.
14325 (can_relocate_bcond_false): New function.
14326 (foo): Likewise.
14327 (can_relocate_bl): Likewise.
14328 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14329 can_relocate_bl.
14330
2520f728
PMR
143312015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14332
14333 * gdb.base/nested-addr.c: New file.
14334 * gdb.base/nested-addr.exp: New testcase.
14335
abcef95a
MM
143362015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14337
14338 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14339 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14340 its output. Ignore the output of "record goto begin" and instead
14341 check that GDB is replaying.
14342
145e3ddb
PA
143432015-10-09 Pedro Alves <palves@redhat.com>
14344
14345 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14346 (top level): Use it in the run with no args test.
14347
d5d8c4e1
IB
143482015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14349
14350 * gdb.dlang/properties.exp: New file.
14351
06e635ef
SL
143522015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14353
14354 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14355 whether or not address 0x1000 is mapped on the target.
14356
e019fd1d
SM
143572015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14358
14359 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14360 build.
14361
77ba2a67
MM
143622015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14363
14364 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14365 instruction-history test.
14366
c60eb31f
DE
143672015-09-28 Doug Evans <dje@google.com>
14368
14369 * gdb.base/gcore.c (array_func): Add reference to static_array.
14370
9a3c8263
SM
143712015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14372
14373 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14374 source line.
14375
9720e656
SL
143762015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14377
14378 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14379 short or char as base type.
14380
938d3bf2
SL
143812015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14382
14383 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14384 to allow any size enum.
14385
e6c2c623
PMR
143862015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14387
14388 * gdb.ada/array_ptr_renaming.exp: New testcase.
14389 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14390 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14391
06da0f77
PL
143922015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14393
14394 * gdb.trace/ftrace-lock.c: New file.
14395 * gdb.trace/ftrace-lock.exp: New file.
14396
4f51c22a
PL
143972015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14398
14399 * gdb.arch/insn-reloc.c: New file.
14400 * gdb.arch/ftrace-insn-reloc.exp: New file.
14401
7041adf4
PL
144022015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14403
14404 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14405 instruction.
14406 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14407 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14408 * gdb.trace/range-stepping.c: Likewise.
14409 * gdb.trace/trace-break.c: Likewise.
14410 * gdb.trace/trace-mt.c (thread_function): Likewise.
14411 * gdb.trace/ftrace.c (marker): Likewise.
14412 * gdb.trace/trace-condition.c (marker): Likewise.
14413 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14414 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14415 is_aarch64_target.
14416
015d2e7e
DE
144172015-09-18 Doug Evans <xdje42@gmail.com>
14418
14419 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14420 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14421
26b188a2
SL
144222015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14423
14424 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14425 the breakpoint.
14426
79dc332b
SL
144272015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14428
14429 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14430 the pending breakpoint. Remove timeout override for "Run till
14431 MI pending breakpoint on pendfunc3 on thread 2" test.
14432
f57929f2
SL
144332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14434
14435 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14436 filename pattern.
14437
3f469b17
SL
144382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14439
14440 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14441 in breakpoint filename pattern.
14442
515b89b3
SL
144432015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14444
7800dbe4
SL
14445 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14446
144472015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14448
515b89b3
SL
14449 * gdb.linespec/explicit.exp: Check for readline support for
14450 tab-completion tests. Fix obvious typo.
14451
d2939ba2
MM
144522015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14453
14454 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14455 and replay.
14456
cbb55fa7
MM
144572015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14458
14459 * gdb.btrace/non-stop.c: New.
14460 * gdb.btrace/non-stop.exp: New.
14461
43691ca1
PL
144622015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14463 Yao Qi <yao.qi@linaro.org>
14464
14465 * gdb.trace/trace-condition.c: New file.
14466 * gdb.trace/trace-condition.exp: New file.
14467
d78908cf
WW
144682015-09-16 Wei-cheng Wang <cole945@gmail.com>
14469
14470 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14471 for testing bytecode compilation.
14472
1ed415e2
PA
144732015-09-16 Pedro Alves <palves@redhat.com>
14474 Sandra Loosemore <sandra@codesourcery.com>
14475
14476 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14477 (SECONDS): Redefine.
14478 (main): Call pthread_kill and alarm early.
14479 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14480 support.
14481 (test): If the target can't hardware step and doesn't support
14482 displaced stepping, increase the timeout.
14483
d136eff5
PA
144842015-09-16 Pedro Alves <palves@redhat.com>
14485
14486 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14487 (enable_debug): New procedures.
14488 (test): Use them. Bail out if waiting for threads fails.
14489 (top level): Bail out if a test fails.
14490
991f019c
YQ
144912015-09-16 Yao Qi <yao.qi@linaro.org>
14492
14493 * gdb.asm/asm-source.exp: Set asm-arch for
14494 aarch64*-*-* target.
14495 * gdb.asm/aarch64.inc: New file.
14496
bfca584f
PMR
144972015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14498
14499 * gdb.ada/array_of_variable_length.exp: New testcase.
14500 * gdb.ada/array_of_variable_length/foo.adb: New file.
14501 * gdb.ada/array_of_variable_length/pck.adb: New file.
14502 * gdb.ada/array_of_variable_length/pck.ads: New file.
14503
b326e587
DE
145042015-09-15 Doug Evans <dje@google.com>
14505
14506 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14507 of function static local variable.
14508
5382cfab
PW
145092015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14510
14511 * gdb.threads/tls-so_extern.exp: New test file.
14512 * gdb.threads/tls-so_extern.c: New test file.
14513 * gdb.threads/tls-so_extern_main.c: New test file.
14514
141c5cc4
JK
145152015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14516
14517 * gdb.opt/solib-intra-step-lib.c: New file.
14518 * gdb.opt/solib-intra-step-main.c: New file.
14519 * gdb.opt/solib-intra-step.exp: New file.
14520
d15dcecd
PA
145212015-09-15 Pedro Alves <palves@redhat.com>
14522
14523 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14524 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14525
4c2f2a79
PA
145262015-09-14 Pedro Alves <palves@redhat.com>
14527
14528 * gdb.base/hook-stop-continue.c: Delete.
14529 * gdb.base/hook-stop-continue.exp: Delete.
14530 * gdb.base/hook-stop-frame.c: Delete.
14531 * gdb.base/hook-stop-frame.exp: Delete.
14532 * gdb.base/hook-stop.c: New file.
14533 * gdb.base/hook-stop.exp: New file.
14534
919e6dbe
PMR
145352015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14536
14537 * gdb.ada/access_to_packed_array.exp: New testcase.
14538 * gdb.ada/access_to_packed_array/foo.adb: New file.
14539 * gdb.ada/access_to_packed_array/pack.adb: New file.
14540 * gdb.ada/access_to_packed_array/pack.ads: New file.
14541
157280a4
MM
145422015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14543
14544 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14545 buffer size test.
14546
2fd33e94
DB
145472015-09-11 Don Breazeal <donb@codesourcery.com>
14548
14549 * gdb.base/foll-exec.c: Add copyright header. Fix
14550 formatting issues.
14551 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14552 (do_exec_tests): Use clean_restart in place of zap_session,
14553 and for test initialization. Fix formatting issues. Use
14554 fail in place of perror.
14555 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14556 an expect statement to match an expression with output from
14557 the program under debug.
14558 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14559 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14560 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14561 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14562 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14563
e70b6e8e
DE
145642015-09-09 Doug Evans <dje@google.com>
14565
14566 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14567
7a551a51
DE
145682015-09-09 Doug Evans <dje@google.com>
14569
14570 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14571
4c666f84
DE
145722015-09-09 Doug Evans <dje@google.com>
14573
14574 * gdb.base/savedregs.exp: Fix typo.
14575
243a9253
PA
145762015-09-09 Pedro Alves <palves@redhat.com>
14577
14578 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14579
c0fa8fbd
SL
145802015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14581
14582 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14583 command actually switches threads. Give up on remaining
14584 tests if target fails to stop at breakpoint.
14585
cd7c1778
PMR
145862015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14587
14588 * gdb.ada/funcall_char.exp: New testcase.
14589 * gdb.ada/funcall_char/foo.adb: New file.
14590
dc5c8746
PMR
145912015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14592
14593 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14594 expected outputs. Add two testcases for completing ambiguous
14595 functions.
14596 * gdb.ada/complete/aux_pck.adb: New file.
14597 * gdb.ada/complete/aux_pck.ads: New file.
14598 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14599 Ambiguous_Func functions.
14600 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14601 * gdb.ada/complete/pck.adb: Likewise.
14602
4e83a1e7
UW
146032015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14604
14605 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14606 failures to run the test program under GDB.
14607
8ce74153
LM
146082015-08-26 Luis Machado <lgustavo@codesourcery.com>
14609
14610 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14611 to C.
14612
e9756d52
PP
146132015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14614
14615 * gdb.base/run-after-attach.exp: New test file.
14616 * gdb.base/run-after-attach.c: New test file.
14617
8d37573b
DB
146182015-08-26 Don Breazeal <donb@codesourcery.com>
14619
14620 * gdb.base/foll-exec-2.c: New test program.
14621 * gdb.base/foll-exec-2.exp: New test.
14622
63e43d3a
PMR
146232015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14624
14625 * gdb.base/nested-subp1.exp: New file.
14626 * gdb.base/nested-subp1.c: New file.
14627 * gdb.base/nested-subp2.exp: New file.
14628 * gdb.base/nested-subp2.c: New file.
14629 * gdb.base/nested-subp3.exp: New file.
14630 * gdb.base/nested-subp3.c: New file.
14631
3d40fbb5
PA
146322015-08-24 Pedro Alves <palves@redhat.com>
14633
14634 * gdb.server/connect-without-multi-process.c: New file.
14635 * gdb.server/connect-without-multi-process.exp: New file.
14636
4422ac93
LM
146372015-08-24 Luis Machado <lgustavo@codesourcery.com>
14638
14639 * gdb.opt/inline-markers.c: Make z int.
14640
91dddb86
LM
146412015-08-24 Luis Machado <lgustavo@codesourcery.com>
14642
14643 * gdb.opt/inline-markers.c: Make z volatile.
14644
a48847ee
LM
146452015-08-24 Luis Machado <lgustavo@codesourcery.com>
14646
14647 * gdb.opt/inline-bt.c: New volatile global z.
14648 * gdb.opt/inline-cmds.c: Likewise.
14649 * gdb.opt/inline-locals.c: Likewise.
14650 * gdb.opt/inline-markers.c: New extern global z.
14651 (marker): Use z.
14652 (inline_fn): Likewise.
14653
0ebbc52b
PA
146542015-08-24 Pedro Alves <palves@redhat.com>
14655
14656 * config/m32r-stub.exp: Remove file.
14657 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14658 * gdb.base/call-rt-st.exp: Likewise.
14659 * gdb.base/call-strs.exp: Likewise.
14660 * gdb.base/default.exp: Remove references to h8300-*-hms and
14661 *-*-udi*.
14662 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14663
77c365df
AA
146642015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14665
14666 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14667 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14668 and "return" use KFAIL when GDB can not read/write the vector
14669 return value.
14670
4313b8c0
GB
146712015-08-21 Gary Benson <gbenson@redhat.com>
14672
14673 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14674
0e433b32
PA
146752015-08-20 Pedro Alves <palves@redhat.com>
14676
14677 * gdb.server/solib-list.exp: No longer expect an interior stop in
14678 non-stop mode.
14679
221e1a37
PA
146802015-08-20 Pedro Alves <palves@redhat.com>
14681
14682 * gdb.server/connect-stopped-target.c: New file.
14683 * gdb.server/connect-stopped-target.exp: New file.
14684
40e3ad0e
PA
146852015-08-20 Pedro Alves <palves@redhat.com>
14686
14687 * gdb.dwarf2/comp-unit-lang.exp: New file.
14688 * gdb.dwarf2/comp-unit-lang.c: New file.
14689
af39b327
PMR
146902015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14691
14692 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14693 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14694
7d45c7c3 146952015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 14696
7d45c7c3
KB
14697 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14698 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14699
4d6cceb4
DE
147002015-08-18 Doug Evans <dje@google.com>
14701 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14702
14703 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14704 skip_python_tests. New arg prompt_regexp.
14705 (skip_python_tests): New function.
14706 * lib/mi-support.exp (mi_skip_python_tests): New function.
14707 * gdb.python/py-mi-objfile-gdb.py: New file.
14708 * gdb.python/py-mi-objfile.c: New file.
14709 * gdb.python/py-mi-objfile.exp: New file.
14710
ad89c2aa
KS
147112015-08-17 Keith Seitz <keiths@redhat.com>
14712
14713 * gdb.linespec/explicit.exp: Move strace test from here ...
14714 * gdb.trace/strace.exp: ... to here.
14715
e3ae3c43
PP
147162015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14717
14718 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14719 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14720
604b2636
DE
147212015-08-14 Doug Evans <xdje42@gmail.com>
14722
14723 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14724 inferior before selecting a new file.
14725
6ff0ba5f
DE
147262015-08-14 Doug Evans <xdje42@gmail.com>
14727
14728 * gdb.mi/mi-disassemble.exp: Update.
14729 * gdb.base/disasm-optim.S: New file.
14730 * gdb.base/disasm-optim.c: New file.
14731 * gdb.base/disasm-optim.h: New file.
14732 * gdb.base/disasm-optim.exp: New file.
14733
9ca98f92
KS
147342015-08-14 Keith Seitz <keiths@redhat.com>
14735
14736 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14737 "evaluated-by".
14738
52bbc560
JB
147392015-08-13 Joel Brobecker <brobecker@adacore.com>
14740
14741 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14742
5d8c3ed3
PMR
147432015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14744
14745 * gdb.ada/fun_renaming.exp: New testcase.
14746 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14747 * gdb.ada/fun_renaming/pack.adb: New file.
14748 * gdb.ada/fun_renaming/pack.ads: New file.
14749
ea8812bc
KS
147502015-08-12 Keith Seitz <keiths@redhat.com>
14751
14752 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14753 gdb_get_line_number.
14754
4dafcdeb
JB
147552015-08-12 Joel Brobecker <brobecker@adacore.com>
14756
14757 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14758 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14759 gdb.base/dso2dso.exp: New files.
14760
5ba32597
SDJ
147612015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14762 Pedro Alves <palves@redhat.com>
14763 Keith Seitz <keiths@redhat.com>
14764
14765 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14766 GDBFLAGS.
14767
b6dafabf
PP
147682015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14769
14770 * gdb.base/gdbhistsize-history.exp
14771 (test_histsize_history_setting): Use save_vars.
14772 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14773 Use save_vars.
14774 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14775 * gdb.base/readline.exp: Use save_vars.
14776
abe8e607
PP
147772015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14778
14779 * lib/gdb.exp (save_vars): New proc.
14780
629500fa
KS
147812015-08-11 Keith Seitz <keiths@redhat.com>
14782
14783 * gdb.base/help.exp: Update help_breakpoint_text.
14784
eb8c4e2e
KS
147852015-08-11 Keith Seitz <keiths@redhat.com>
14786
14787 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14788 (at toplevel): Call test_explicit_breakpoints.
14789 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14790 breakpoints.
14791 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14792 breakpoint conditions, "-cond".
14793
87f0e720
KS
147942015-08-11 Keith Seitz <keiths@redhat.com>
14795
14796 * gdb.linespec/3explicit.c: New file.
14797 * gdb.linespec/cpexplicit.cc: New file.
14798 * gdb.linespec/cpexplicit.exp: New file.
14799 * gdb.linespec/explicit.c: New file.
14800 * gdb.linespec/explicit.exp: New file.
14801 * gdb.linespec/explicit2.c: New file.
14802 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14803 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14804 before using in the matching pattern.
14805 Clarify that `prefix' is a regular expression.
14806
f00aae0f
KS
148072015-08-11 Keith Seitz <keiths@redhat.com>
14808
14809 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14810 test.
14811 Add tests for missing ",FMT" and ",".
14812
e27852be
DE
148132015-08-10 Doug Evans <dje@google.com>
14814 Keith Seitz <keiths@redhat.com>
14815
14816 PR gdb/17960
14817 * gdb.base/completion.exp: Add location completer tests.
14818
7f03bd92
PA
148192015-08-07 Pedro Alves <palves@redhat.com>
14820
14821 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14822 tests here.
14823 (top level): Run do_test with and without displaced stepping.
14824
3fc8eb30
PA
148252015-08-07 Pedro Alves <palves@redhat.com>
14826
14827 * gdb.base/valgrind-disp-step.c: New file.
14828 * gdb.base/valgrind-disp-step.exp: New file.
14829
d4569d7b
PA
148302015-08-07 Pedro Alves <palves@redhat.com>
14831
14832 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14833 Delete function.
14834 (main): Add alarm. Run an infinite loop instead of calling
14835 wait_threads.
14836 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14837 comment.
14838 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14839 Delete function.
14840 (main): Add alarm. Run an infinite loop instead of calling
14841 wait_threads.
14842 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14843 comment.
14844
e1316e60
PA
148452015-08-07 Pedro Alves <palves@redhat.com>
14846
14847 * gdb.base/checkpoint-ns.exp: New file.
14848 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14849 standard_testfile.
14850
da8c46d2
MM
148512015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14852
14853 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14854 * gdb.btrace/instruction_history.exp: Update.
14855 * gdb.btrace/tsx.exp: New.
14856 * gdb.btrace/tsx.c: New.
14857
de1c2c52
PA
148582015-08-06 Pedro Alves <palves@redhat.com>
14859
14860 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14861 increase timeout.
14862 * gdb.reverse/until-precsave.exp: Bump timeouts.
14863
782e0bf4
PA
148642015-08-06 Pedro Alves <palves@redhat.com>
14865
14866 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14867
83e97ed0
PA
148682015-08-06 Pedro Alves <palves@redhat.com>
14869
14870 PR gdb/18749
14871 * gdb.threads/process-dies-while-handling-bp.c: New file.
14872 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14873
863d01bd
PA
148742015-08-06 Pedro Alves <palves@redhat.com>
14875
14876 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14877 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14878
0a39bb32
PA
148792015-08-05 Pedro Alves <palves@redhat.com>
14880
14881 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14882 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14883
ee2d2b10
SL
148842015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14885
14886 * gdb.base/bp-permanent.exp: Report test as unsupported if
14887 the target cannot stop at the permanent breakpoint.
14888
4e1bdb00
DE
148892015-08-03 Doug Evans <dje@google.com>
14890
14891 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14892 10000.
14893
3d338901
DE
148942015-08-03 Doug Evans <dje@google.com>
14895
14896 * Makefile.in (workers/%.worker, build-perf): New rule.
14897 (GDB_PERFTEST_MODE): New variable.
14898 (check-perf): Use it.
14899 (clean): Clean up gdb.perf parallel build subdirs.
14900 * lib/build-piece.exp: New file.
14901 * lib/gdb.exp (make_gdb_parallel_path): New function
14902 (standard_output_file, standard_temp_file): Call it.
14903 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14904 of $GDB_PARALLEL.
14905 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14906
af061d3e
DE
149072015-08-03 Doug Evans <dje@google.com>
14908
8e1afc81 14909 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
14910 (LOG_FILE_NAME): New global.
14911 (TextReporter.__init__): Initialize self.txt_sum.
14912 (TextReporter.report): Add support for multiple data-points.
14913 Move report to perftest.sum, put raw data in perftest.log.
14914 (TextReporter.start): Open sum and log files.
14915 (TextReporter.end): Close sum and log files.
8e1afc81
DE
14916 * gdb.perf/lib/perftest/testresult.py
14917 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 14918
2c8c5d37
PA
149192015-07-31 Pedro Alves <palves@redhat.com>
14920
14921 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14922 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14923 kill_wait_spawned_process instead of explicit "kill -9".
14924 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14925 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14926 kill_wait_spawned_process.
14927 * gdb.base/attach-twice.exp: Likewise.
14928 * gdb.base/attach.exp: Likewise.
14929 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14930 gdb_test_multiple.
14931 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14932 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14933 kill_wait_spawned_process.
14934 * gdb.base/valgrind-infcall.exp: Likewise.
14935 * gdb.multi/multi-attach.exp: Likewise.
14936 * gdb.python/py-prompt.exp: Likewise.
14937 * gdb.python/py-sync-interp.exp: Likewise.
14938 * gdb.server/ext-attach.exp: Likewise.
14939 * gdb.threads/attach-into-signal.exp (corefunc): Use
14940 spawn_wait_for_attach, spawn_id_get_pid and
14941 kill_wait_spawned_process.
14942 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14943 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14944 spawn_id_get_pid and kill_wait_spawned_process.
14945 * gdb.threads/attach-stopped.exp (corefunc): Use
14946 spawn_wait_for_attach, spawn_id_get_pid and
14947 kill_wait_spawned_process.
14948 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14949 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14950 kill_wait_spawned_process instead of explicit "kill -9".
14951 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14952 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14953 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14954 processes. Don't map cygwin/windows pids here. Now returns a
14955 spawn id list.
14956
032a0fca
SL
149572015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14958
14959 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14960 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14961 correct patch.
14962
61a934ca
SL
149632015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14964
14965 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14966
4bc4d428
SL
149672015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14968
14969 Reapply:
14970 2014-05-21 Mark Wielaard <mjw@redhat.com>
14971
14972 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14973
998d452a
PA
149742015-07-30 Pedro Alves <palves@redhat.com>
14975
14976 * linux-low.c (handle_extended_wait): Set the child's last
14977 reported status to TARGET_WAITKIND_STOPPED.
14978
69dde7dc
PA
149792015-07-30 Pedro Alves <palves@redhat.com>
14980
14981 PR threads/18600
14982 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14983 only shows inferior 1.
14984
4dd63d48
PA
149852015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14986 Pedro Alves <palves@redhat.com>
14987
14988 PR threads/18600
14989 * gdb.threads/fork-plus-threads.c: New file.
14990 * gdb.threads/fork-plus-threads.exp: New file.
14991
d618e4c5
PP
149922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14993
14994 * gdb.base/batch-preserve-term-settings.exp
14995 (test_terminal_settings_preserved_after_cli_exit): Use
14996 send_quit_command.
14997
1eef6428
PA
149982015-07-29 Pedro Alves <palves@redhat.com>
14999 Don Breazeal <donb@codesourcery.com>
15000
15001 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15002 output from both inferior_spawn_id and gdb_spawn_id.
15003
7da5b897
SDJ
150042015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15005
15006 * gdb.threads/attach-into-signal.exp (corefunc): Use
15007 with_test_prefix on nested loops, uniquefying the test messages.
15008
dac804df
SDJ
150092015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15010
15011 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15012 commit.
15013
06265e53
PP
150142015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15015
15016 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15017 New proc.
15018 (test_terminal_settings_preserved_after_sigterm): New test.
15019
18206ca3
PP
150202015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15021
15022 * gdb.base/batch-preserve-term-settings.exp
15023 (test_terminal_settings_preserved_after_cli_exit): New test.
15024
90074d11
PP
150252015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15026
15027 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15028 manipulation of saved_gdbflags.
15029 (test_terminal_settings_preserved): Remove global declaration of
15030 the unused variable pagination_prompt. Remove manipulation of
15031 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15032 GDBFLAGS.
15033
eb1a7902
PA
150342015-07-29 Pedro Alves <palves@redhat.com>
15035
15036 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15037
8b75dd3b
PA
150382015-07-29 Pedro Alves <palves@redhat.com>
15039
15040 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15041 at the top.
15042
dedad4e3
PA
150432015-07-29 Pedro Alves <palves@redhat.com>
15044
15045 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15046 (main): Call gdb_unbuffer_output.
15047 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15048 (main): Call gdb_unbuffer_output.
15049 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15050 (main): Call gdb_unbuffer_output.
15051 * gdb.base/call-strs.exp: Adjust to step over the
15052 gdb_unbuffer_output call.
15053 * gdb.base/catch-gdb-caused-signals.c: Include
15054 "../lib/unbuffer_output.c".
15055 (main): Call gdb_unbuffer_output.
15056 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15057 (main): Call gdb_unbuffer_output.
15058 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15059 (main): Call gdb_unbuffer_output.
15060 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15061 (main): Call gdb_unbuffer_output.
15062 * gdb.base/shlib-call.exp: Adjust to step over the
15063 gdb_unbuffer_output call.
15064 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15065 (main): Call gdb_unbuffer_output.
15066 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15067 (main): Call gdb_unbuffer_output.
15068 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15069 (main): Rename to ...
15070 (test): ... this.
15071 (main): Reimplement.
15072 * gdb.base/varargs.exp: Run to test instead of to main.
15073 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15074 (main): Call gdb_unbuffer_output.
15075
58789a91
PA
150762015-07-29 Pedro Alves <palves@redhat.com>
15077
15078 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15079 factore out from mi_continue_dprintf. For call-style dprintfs,
15080 expect dprintf output out of $inferior_spawn_id.
15081 (mi_continue_dprintf): Use mi_expect_dprintf.
15082 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15083 (main): Call gdb_unbuffer_output.
15084
e8376742
PA
150852015-07-29 Pedro Alves <palves@redhat.com>
15086
15087 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15088 (default_mi_gdb_start): Set inferior_spawn_id instead of
15089 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15090 gdb_spawn_id.
15091 (mi_gdb_test): Always expect inferior output from both
15092 $inferior_spawn_id and $gdb_spawn_id.
15093
08280010
PA
150942015-07-29 Pedro Alves <palves@redhat.com>
15095
15096 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15097 send_inferior and $inferior_spawn_id.
15098
4d30e432
PA
150992015-07-29 Pedro Alves <palves@redhat.com>
15100
15101 * gdb.gdb/complaints.exp (test_initial_complaints)
15102 (test_serial_complaints, test_short_complaints): Use
15103 gdb_test_stdio.
15104 (test_empty_complaint): Handle $inferior_spawn_id !=
15105 $gdb_spawn_id.
15106
0d30a335
PA
151072015-07-29 Pedro Alves <palves@redhat.com>
15108
15109 * gdb.base/varargs.exp: Use gdb_test_stdio.
15110
39413b29
PA
151112015-07-29 Pedro Alves <palves@redhat.com>
15112
15113 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15114
7cb000a9
PA
151152015-07-29 Pedro Alves <palves@redhat.com>
15116
15117 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15118
d7b8ac82
PA
151192015-07-29 Pedro Alves <palves@redhat.com>
15120
15121 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15122 parameter into two new parameters, "inf_result" and "gdb_result".
15123 Expect inferior output and gdb output from $inferior_spawn_id and
15124 $gdb_spawn_id, respectively. Adjust all callers.
15125
789c3a0c
PA
151262015-07-29 Pedro Alves <palves@redhat.com>
15127
15128 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15129 of gdb_test_sequence.
15130
77e760c3
PA
151312015-07-29 Pedro Alves <palves@redhat.com>
15132
15133 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15134 (saw_spurious_output): Expect inferior output from
15135 $inferior_spawn_id. Use gdb_test_stdio.
15136
8396d2cd
PA
151372015-07-29 Pedro Alves <palves@redhat.com>
15138
15139 * gdb.base/dprintf.exp: Use standard_testfile. Change
15140 prepare_for_testing call.
15141 (srcfile): Don't set.
15142 (restart): New procedure.
15143 (test_dprintf): New procecure, use to continue over dprintfs.
15144 (test_call, test_agent): New procedures, tests moved here.
15145 Restart gdb and recreate dprintfs. Adjust expected output.
15146
2051d61f
PA
151472015-07-29 Pedro Alves <palves@redhat.com>
15148
15149 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15150
452397af
PA
151512015-07-29 Pedro Alves <palves@redhat.com>
15152
15153 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15154
8aed9555
PA
151552015-07-29 Pedro Alves <palves@redhat.com>
15156
15157 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15158 gdb_test_stdio.
15159
188a61b4
PA
151602015-07-29 Pedro Alves <palves@redhat.com>
15161
15162 * lib/gdb.exp (gdb_test_stdio): New procedure.
15163
12264a45
PA
151642015-07-29 Pedro Alves <palves@redhat.com>
15165
15166 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15167
23ffc893
PA
151682015-07-29 Pedro Alves <palves@redhat.com>
15169
15170 * gdb.base/call-signal-resume.exp: Remove check for
15171 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15172 * gdb.base/unwindonsignal.exp: Likewise.
15173 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15174 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15175
65566918
PA
151762015-07-29 Pedro Alves <palves@redhat.com>
15177
15178 * gdb.base/siginfo-addr.c (pass): New function.
15179 (handler): Call it iff si_addr is correct.
15180 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15181 Set a breakpoint at "pass" and continue to it.
15182
d60a9221
SDJ
151832015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15184
15185 * gdb.python/py-objfile.exp: Make some tests have unique names.
15186 * gdb.python/py-pp-registration.exp: Likewise.
15187
bde40b8f
PA
151882015-07-28 Pedro Alves <palves@redhat.com>
15189
15190 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15191
13e1dec8
SM
151922015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15193
15194 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15195
da33c9a7
SM
151962015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15197
15198 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15199
077836f7
PP
152002015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15201
15202 * gdb.base/gdb-sigterm-2.exp: New test.
15203
b8cc7b2e
DE
152042015-07-25 Doug Evans <xdje42@gmail.com>
15205
15206 Revert:
15207 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15208 (workers/%.worker, build-perf): New rule.
15209 (GDB_PERFTEST_MODE): New variable.
15210 (check-perf): Use it.
15211 (clean): Clean up gdb.perf parallel build subdirs.
15212 * lib/build-piece.exp: New file.
15213 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15214 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15215 name.
15216 (standard_temp_file): Ditto.
15217 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15218 of $GDB_PARALLEL.
15219
c8bd4544
DE
152202015-07-24 Doug Evans <dje@google.com>
15221
15222 * gdb.perf/lib/perftest/utils.py: New file.
15223 * gdb.perf/gm-hello.cc: New file.
15224 * gdb.perf/gm-pervasive-typedef.cc: New file.
15225 * gdb.perf/gm-pervasive-typedef.h: New file.
15226 * gdb.perf/gm-std.cc: New file.
15227 * gdb.perf/gm-std.h: New file.
15228 * gdb.perf/gm-use-cerr.cc: New file.
15229 * gdb.perf/gm-utils.h: New file.
15230 * gdb.perf/gmonster-null-lookup.py: New file.
15231 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15232 * gdb.perf/gmonster-print-cerr.py: New file.
15233 * gdb.perf/gmonster-ptype-string.py: New file.
15234 * gdb.perf/gmonster-runto-main.py: New file.
15235 * gdb.perf/gmonster-select-file.py: New file.
15236 * gdb.perf/gmonster1-null-lookup.exp: New file.
15237 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15238 * gdb.perf/gmonster1-print-cerr.exp: New file.
15239 * gdb.perf/gmonster1-ptype-string.exp: New file.
15240 * gdb.perf/gmonster1-runto-main.exp: New file.
15241 * gdb.perf/gmonster1-select-file.exp: New file.
15242 * gdb.perf/gmonster1.cc: New file.
15243 * gdb.perf/gmonster1.exp: New file.
15244 * gdb.perf/gmonster2-null-lookup.exp: New file.
15245 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15246 * gdb.perf/gmonster2-print-cerr.exp: New file.
15247 * gdb.perf/gmonster2-ptype-string.exp: New file.
15248 * gdb.perf/gmonster2-runto-main.exp: New file.
15249 * gdb.perf/gmonster2-select-file.exp: New file.
15250 * gdb.perf/gmonster2.cc: New file.
15251 * gdb.perf/gmonster2.exp: New file.
15252
6eab34f3
DE
152532015-07-24 Doug Evans <dje@google.com>
15254
15255 * gdb.perf/README: New file.
15256 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15257 * lib/gen-perf-test.exp: New file.
15258
63738bfd
DE
152592015-07-24 Doug Evans <dje@google.com>
15260
15261 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15262 (PerfTest::startup): New function.
15263 (PerfTest::run): Return result of calling body.
15264 (PerfTest::assemble): Rewrite.
15265 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15266 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15267 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15268 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15269 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15270
7b606f95
DE
152712015-07-24 Doug Evans <dje@google.com>
15272
15273 * lib/gdb.exp (clean_restart): Make executable optional.
15274
a97b16b8
DE
152752015-07-24 Doug Evans <dje@google.com>
15276
15277 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15278 compiler_info references.
15279 * gdb.cp/temargs.exp: Ditto.
15280 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15281 (get_compiler_info): Early exit if already computed. Set compiler_info
15282 to "unknown" if there was a problem.
15283 (test_compiler_info): Add function comment. Call get_compiler_info.
15284
35baa57f
DE
152852015-07-24 Doug Evans <dje@google.com>
15286
15287 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15288 (workers/%.worker, build-perf): New rule.
15289 (GDB_PERFTEST_MODE): New variable.
15290 (check-perf): Use it.
15291 (clean): Clean up gdb.perf parallel build subdirs.
15292 * lib/build-piece.exp: New file.
15293 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15294 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15295 name.
15296 (standard_temp_file): Ditto.
15297 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15298 of $GDB_PARALLEL.
15299
6ebea266
DE
153002015-07-24 Doug Evans <dje@google.com>
15301
15302 * lib/future.exp (gdb_default_target_compile): New option
15303 "early_flags".
15304 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15305 --as-needed.
15306
1e76a7e9
SDJ
153072015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15308
15309 * gdb.base/catch-syscall.exp: Call gdb_exit before
15310 gdb_skip_xml_test.
15311
5068630a
PA
153122015-07-24 Pedro Alves <palves@redhat.com>
15313
15314 * gdb.python/py-events.exp: Accept output between the stop event
15315 and the prompt.
15316 * gdb.python/py-evsignal.exp: Likewise.
15317 * gdb.python/py-evthreads.exp: Likewise.
15318
77598427
PA
153192015-07-24 Pedro Alves <palves@redhat.com>
15320
15321 PR gdb/18717
15322 * gdb.threads/non-ldr-exit.c: New file.
15323 * gdb.threads/non-ldr-exit.exp: New file.
15324
11e6c98f
YQ
153252015-07-24 Yao Qi <yao.qi@linaro.org>
15326
15327 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15328 restarting process.
15329
51aee833
YQ
153302015-07-24 Yao Qi <yao.qi@linaro.org>
15331
15332 * gdb.server/ext-restart.exp: New file.
15333
8cfe207c
YQ
153342015-07-24 Yao Qi <yao.qi@linaro.org>
15335
15336 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15337 argument options.
15338 * gdb.server/ext-wrapper.exp: New file.
15339
cc12ce38
DE
153402015-07-23 Doug Evans <dje@google.com>
15341
15342 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15343 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15344
d0d84780
PMR
153452015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15346
15347 * gdb.ada/var_arr_typedef.exp: New testcase.
15348 * gdb.ada/var_arr_typedef/pack.adb: New file.
15349 * gdb.ada/var_arr_typedef/pack.ads: New file.
15350 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15351
8b558f79
JB
153522015-07-20 Joel Brobecker <brobecker@adacore.com>
15353
15354 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15355
775a3298
JK
153562015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15357
15358 * gdb.arch/i386-biarch-core.exp: Replace istarget
15359 by "complete set gnutarget". Remove expectation for the "core-file"
15360 command.
15361
db1ff28b
JK
153622015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15363
15364 Revert the previous commit:
15365 Tests for validate symbol file using build-id.
15366
0a94970d
JK
153672015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15368
15369 Tests for validate symbol file using build-id.
15370 * gdb.base/solib-mismatch-lib.c: New file.
15371 * gdb.base/solib-mismatch-libmod.c: New file.
15372 * gdb.base/solib-mismatch.c: New file.
15373 * gdb.base/solib-mismatch.exp: New file.
15374
03346981
SL
153752015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15376
15377 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15378 nios2-*-linux*.
15379 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15380 * gdb.base/siginfo.exp: Likewise.
15381 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15382
42422cc7
PL
153832015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15384
15385 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15386 Move it to ...
15387 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15388 ... here.
15389 * gdb.trace/range-stepping.exp: Check that the target supports
15390 range stepping.
15391
cfa68bae
JK
153922015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15393
15394 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15395
8ffdba26
PA
153962015-07-14 Pedro Alves <palves@redhat.com>
15397
15398 * gdb.base/killed-outside.exp: New file.
15399 * gdb.base/killed-outside.c: New file.
15400
218a5a11
JK
154012015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15402
15403 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15404 (n at main): New.
15405 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15406
e03ed3c6
AA
154072015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15408
15409 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15410 infcall tests instead of setting up for KFAIL.
15411
485668e5
MM
154122015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15413
15414 * gdb.btrace/record_goto-step.exp: New.
15415
08464196
JK
154162015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15417
15418 PR compile/18484
15419 * gdb.compile/compile.c (struct struct_type): Add volatile to
15420 selffield's type.
15421 * gdb.compile/compile.exp
15422 (compile code struct_object.selffield = &struct_object): Skip further
15423 struct_object tests if this one xfails.
15424
bcf5c1d9
RC
154252015-07-08 Robert O'Callahan <robert@ocallahan.org>
15426
15427 PR exp/18617
15428 * gdb.trace/ax.exp: Add test.
15429
4931af25
YQ
154302015-07-07 Yao Qi <yao.qi@linaro.org>
15431
15432 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15433 instead of istarget "aarch64*-*-*".
15434 * gdb.arch/aarch64-fp.exp: Likewise.
15435 * gdb.base/float.exp: Likewise.
15436 * gdb.reverse/aarch64.exp: Likewise.
15437 * lib/gdb.exp (is_aarch64_target): New proc.
15438
9fcf688e
YQ
154392015-07-07 Yao Qi <yao.qi@linaro.org>
15440
15441 * lib/gdb.exp (is_aarch32_target): New proc.
15442 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15443 instead of "istarget "arm*-*-*"".
15444 * gdb.arch/arm-disp-step.exp: Likewise.
15445 * gdb.arch/thumb-bx-pc.exp: Likewise.
15446 * gdb.arch/thumb-prologue.exp: Likewise.
15447 * gdb.arch/thumb-singlestep.exp: Likewise.
15448 * gdb.base/disp-step-syscall.exp: Likewise.
15449 * gdb.base/float.exp: Likewise.
15450
fbd8d50d
YQ
154512015-07-07 Yao Qi <yao.qi@linaro.org>
15452
15453 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15454 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15455
71be1fdc
YQ
154562015-07-07 Yao Qi <yao.qi@linaro.org>
15457
15458 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15459 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15460 if it exists.
15461 * gdb.multi/multi-arch.exp: Likewise.
15462
3e221d36
SM
154632015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15464
15465 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15466 print.
15467
d441430b
YQ
154682015-07-07 Yao Qi <yao.qi@linaro.org>
15469
15470 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15471
06f810bd
MG
154722015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15473
15474 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15475 '[' and ']' characters.
15476
5e61e7c0
IB
154772015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15478
15479 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15480
28bf096c
PA
154812015-06-29 Pedro Alves <palves@redhat.com>
15482
15483 PR threads/18127
15484 * gdb.threads/hand-call-new-thread.c: New file.
15485 * gdb.threads/hand-call-new-thread.c: New file.
15486
ee93cd5e
KS
154872015-06-26 Keith Seitz <keiths@redhat.com>
15488 Doug Evans <dje@google.com>
15489
15490 PR 16253
15491 * gdb.cp/var-tag-2.cc: New file.
15492 * gdb.cp/var-tag-3.cc: New file.
15493 * gdb.cp/var-tag-4.cc: New file.
15494 * gdb.cp/var-tag.cc: New file.
15495 * gdb.cp/var-tag.exp: New file.
15496
fc637f04
PP
154972015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15498
15499 * gdb.base/history-duplicates.exp: New test.
15500
2e52ae68
PP
155012015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15502
15503 * gdb.base/completion.exp: Test the completion of the "focus"
15504 command.
15505
6e22494e
JK
155062015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15507
15508 * gdb.arch/amd64-prologue-skip.S: New file.
15509 * gdb.arch/amd64-prologue-skip.exp: New file.
15510
bf7b9cd9
SM
155112015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15512
15513 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15514 is_address_zero_readable check.
15515
201e8dfd
PB
155162015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15517
15518 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15519 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15520
5cd867b4
YQ
155212015-06-24 Yao Qi <yao.qi@linaro.org>
15522
15523 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15524 linux targets.
15525
4d7be007
YQ
155262015-06-24 Yao Qi <yao.qi@linaro.org>
15527
15528 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15529 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15530 * gdb.base/siginfo-thread.exp: Likewise.
15531
07fcd301
YQ
155322015-06-22 Yao Qi <yao.qi@linaro.org>
15533
15534 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15535
52042a00
YQ
155362015-06-22 Yao Qi <yao.qi@linaro.org>
15537
15538 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15539 aarch64*-*-*.
15540 (skip_hw_watchpoint_tests): Likewise.
15541
74bd41ce
PP
155422015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15543
15544 * gdb.base/gdbinit-history.exp: Test the interaction between
15545 setting GDBHISTSIZE and setting the history size via .gdbinit.
15546
bc460514
PP
155472015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15548
15549 PR gdb/16999
15550 * gdb.base/gdbhistsize-history.exp: New test.
15551
b58c513b
PP
155522015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15553
15554 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15555 with GDBHISTSIZE.
15556 * gdb.base/readline.exp: Likewise.
15557
92046791
YQ
155582015-06-17 Yao Qi <yao.qi@linaro.org>
15559
15560 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15561 line.
15562
2093d2d3
PP
155632015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15564
15565 * gdb.base/gdbinit-history.exp: Add test case to check that
15566 an unlimited history file does not get truncated on exit.
15567
e6c693af
AA
155682015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15569
15570 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15571 (VECTOR): New macro. Use it...
15572 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15573 ...for these typedefs.
15574 (int8, char1, int1, double1): New typedefs.
15575 (struct just_int2, struct two_int2): New structures.
15576 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15577 (add_structvecs, add_singlevecs): New functions.
15578 (main): Call add_some_intvecs twice.
15579 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15580 the compile and exit upon failure. Try compiling for the "native"
15581 architecture. Test inferior function calls with vector arguments
15582 and vector return value handling with "finish" and "return".
15583
c74f7d1c
JT
155842015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15585
15586 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15587 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15588 PE file.
15589 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15590
98aa42ee
AT
155912015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15592
15593 PR breakpoints/16465
15594 * gdb.mi/mi-dprintf-pending.c: New file.
15595 * gdb.mi/mi-dprintf-pending.exp: New test.
15596 * gdb.mi/mi-dprintf-pendshr.c: New file.
15597
7d73c23c 155982015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 15599 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
15600
15601 * gdb.arch/i386-mpx-map.c: New file.
15602 * gdb.arch/i386-mpx-map.exp: New File.
15603
156042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15605
15606 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15607 * gdb.arch/i386-mpx.exp: Indentation fixed.
15608
156092015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15610
15611 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15612 function and improved indentation.
15613 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15614 gdb_test_multiple. Added additional tests to skip the test.
15615
156162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15617
15618 * gdb.arch/i386-avx512.c: Change path in include file.
15619 * gdb.arch/i386-avx512.exp: Change include dir path
15620 compilation flag.
15621 * gdb.arch/i386-mpx.c: Change path in include file.
15622 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15623 flag.
15624
d5eba19a
JK
156252015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15626
15627 * gdb.compile/compile-print.exp (compile print *vararray@3)
15628 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15629
7f361056
JK
156302015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15631
15632 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15633 (do not keep jit in memory): ... this.
15634 (expect 5): Change it to ...
15635 (expect no 5): ... this.
15636
3b462ec2
SM
156372015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15638
15639 PR gdb/15564
15640 * gdb.mi/mi-detach.exp: New file.
15641
e0619de6
JK
156422015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15643
15644 PR symtab/18392
15645 * gdb.arch/amd64-tailcall-self.S: New file.
15646 * gdb.arch/amd64-tailcall-self.c: New file.
15647 * gdb.arch/amd64-tailcall-self.exp: New file.
15648
e970cb34
DB
156492015-05-28 Don Breazeal <donb@codesourcery.com>
15650
15651 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15652 tests for remote targets by checking is_target_gdbserver.
15653
b2e2f908
DE
156542015-05-27 Doug Evans <dje@google.com>
15655
15656 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15657 * gdb.dwarf2/opaque-type-lookup.c: New file.
15658 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15659
82c7be31
DE
156602015-05-26 Doug Evans <dje@google.com>
15661
15662 * gdb.cp/iostream.cc: New file.
15663 * gdb.cp/iostream.exp: New file.
15664
b4f54984
DE
156652015-05-26 Doug Evans <dje@google.com>
15666
15667 * gdb.dwarf2/dw2-op-call.exp: Update.
15668 * gdb.dwarf2/dw4-sig-types.exp: Update.
15669 * gdb.dwarf2/implptr.exp: Update.
15670 * gdb.mi/mi-cmd-param-changed.exp: Update.
15671
4ea6efe9
DE
156722015-05-26 Doug Evans <dje@google.com>
15673
15674 * gdb.python/py-lazy-string.c: New file.
15675 * gdb.python/py-lazy-string.exp: New file.
15676 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15677 (main): Update. Add estring3.
15678 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15679 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15680
f6bb7db3
YQ
156812015-05-26 Omair Javaid <omair.javaid@linaro.org>
15682 Yao Qi <yao.qi@linaro.org>
15683
15684 * gdb.reverse/aarch64.c: New.
15685 * gdb.reverse/aarch64.exp: New.
15686
a81bfbd0
OJ
156872015-05-26 Omair Javaid <omair.javaid@linaro.org>
15688
25d49b86
PA
15689 * lib/gdb.exp (supports_process_record): Return true for
15690 aarch64*-linux*.
a81bfbd0
OJ
15691 (supports_reverse): Likewise.
15692
158bf1b4
PP
156932015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15694
15695 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15696 Use with_test_prefix.
15697
a0145030
AB
156982015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15699
15700 * gdb.base/completion.exp: Add test for completion of layout
15701 names.
15702
ebe3b578
AB
157032015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15704
15705 * lib/gdb.exp (skip_tui_tests): New proc.
15706 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15707
84204ed7
PA
157082015-05-19 Pedro Alves <palves@redhat.com>
15709
15710 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15711 Save the whole env array instead of just HOME. Unset HISTSIZE in
15712 the environment while testing. Restore whole environment
15713 afterwards.
15714
37442ce1
DE
157152015-05-16 Doug Evans <xdje42@gmail.com>
15716
15717 * gdb.guile/scm-ports.c: New file.
15718 * gdb.guile/scm-ports.exp: Add memory port tests.
15719
36de76f9
JK
157202015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15721
15722 * gdb.compile/compile-print.c: New file.
15723 * gdb.compile/compile-print.exp: New file.
15724
3a9558c4
JK
157252015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15726
15727 * gdb.compile/compile-ops.exp: Cast param to void.
15728 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15729 (compile code struct_object.selffield = &struct_object): Add xfail.
15730
aa715135
JG
157312015-05-15 Joel Brobecker <brobecker@adacore.com>
15732
15733 * gdb.ada/arr_enum_with_gap: New testcase.
15734
931e5bc3
JG
157352015-05-15 Joel Brobecker <brobecker@adacore.com>
15736
15737 * gdb.ada/byte_packed_arr: New testcase.
15738
9cd4d857
JB
157392015-05-15 Joel Brobecker <brobecker@adacore.com>
15740
15741 * gdb.ada/pckd_neg: New testcase.
15742
ebfd00d2
PP
157432015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15744
15745 PR gdb/17820
15746 * gdb.base/gdbinit-history.exp: New test.
15747 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15748 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15749
4c082a81
SC
157502015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15751
15752 * gdb.python/py-xmethods.cc: Enhance test case.
15753 * gdb.python/py-xmethods.exp: New tests.
15754 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15755 function.
15756 (B_indexoper): Likewise.
15757 (global_dm_list) : Add new xmethod worker functions.
15758
f7797074
SDJ
157592015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15760
15761 * gdb.base/coredump-filter.exp: Correctly unset
15762 "coredump_var_addr" array.
15763
a4674e4e
PA
157642015-05-08 Pedro Alves <palves@redhat.com>
15765
15766 * gdb.server/non-existing-program.exp: Unset spawn_id.
15767
df2eb078
SC
157682015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15769
15770 PR python/18291
15771 * gdb.python/py-xmethods.exp: Add tests.
15772
422349a3
YQ
157732015-05-08 Yao Qi <yao.qi@linaro.org>
15774
15775 PR gdb/18208
15776 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15777 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15778 function set_coredump_filter, and remove remote_exec call.
15779 Remove argument ipid. Callers update.
15780 (top level): Don't get inferior's PID.
15781
63fc80ce
AA
157822015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15783
15784 * gdb.base/watch_thread_num.exp: Skip test on targets without
15785 access watchpoints.
15786
80ad801e
PA
157872015-05-06 Pedro Alves <palves@redhat.com>
15788
15789 PR server/18081
15790 * gdb.server/non-existing-program.exp: New file.
15791
0fa7fe50
JB
157922015-05-05 Joel Brobecker <brobecker@adacore.com>
15793
15794 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15795
3ea89b92
PMR
157962015-05-05 Joel Brobecker <brobecker@adacore.com>
15797
15798 * gdb.ada/out_of_line_in_inlined: New testcase.
15799
87b8eff0
JB
158002015-05-05 Joel Brobecker <brobecker@adacore.com>
15801
15802 * gdb.ada/var_rec_arr: New testcase.
15803
5fccc635
YQ
158042015-04-30 Yao Qi <yao.qi@linaro.org>
15805
15806 * gdb.base/break-idempotent.exp: If
15807 skip_hw_watchpoint_multi_tests returns true, skip the tests
15808 on "rwatch" and "awatch".
15809
42d38f42
YQ
158102015-04-30 Yao Qi <yao.qi@linaro.org>
15811
15812 * gdb.base/relativedebug.exp: Invoke gdb command
15813 "info sharedlibrary", and if libc.so doesn't have debug info,
15814 skip the test.
15815
2ce1cdbf
DE
158162015-04-29 Doug Evans <dje@google.com>
15817
15818 * gdb.python/py-xmethods.exp: Add ptype tests.
15819 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15820 get_result_type method.
15821
f24a38c5
LM
158222015-04-29 Luis Machado <lgustavo@codesourcery.com>
15823
15824 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15825 the target does not support hardware watchpoints.
15826
ecbf2b3c
LM
158272015-04-29 Luis Machado <lgustavo@codesourcery.com>
15828
15829 * gdb.base/break-always.exp: Abort testing if writing to memory
15830 causes an error.
15831
34f5f757
DE
158322015-04-28 Doug Evans <dje@google.com>
15833
15834 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15835 * gdb.python/py-pp-registration.exp: ... here. New file.
15836 * gdb.python/py-pp-registration.c: New file.
15837 * gdb.python/py-pp-registration.py: New file.
15838
69b4374a
DE
158392015-04-28 Doug Evans <dje@google.com>
15840
15841 * gdb.python/py-bad-printers.c: New file.
15842 * gdb.python/py-bad-printers.py: New file.
15843 * gdb.python/py-bad-printers.exp: New file.
15844
59fb7612
SS
158452015-04-28 Sasha Smundak <asmundak@google.com>
15846
15847 * gdb.python/py-type.exp: New test.
15848
2631b16a
AW
158492015-04-28 Andy Wingo <wingo@igalia.com>
15850
15851 * gdb.python/py-parameter.exp:
15852 * gdb.guile/scm-parameter.exp: Escape the path that we are
15853 matching against, as it might contain characters that are special
15854 to regular expressions.
15855
460efde1
JB
158562015-04-27 Joel Brobecker <brobecker@adacore.com>
15857
15858 * gdb.ada/rec_comp: New testcase.
15859
2d369d8e
SDJ
158602015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15861
15862 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15863 before using it.
15864
cf75d6c3
AB
158652015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15866
15867 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15868 new tests for verilog output.
15869
8dbe7ca5
YQ
158702015-04-24 Yao Qi <yao.qi@linaro.org>
15871
15872 * boards/remote-gdbserver-on-localhost.exp: New file.
15873
4ef9fb2f
PA
158742015-04-23 Pedro Alves <palves@redhat.com>
15875
15876 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15877 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15878 "end of file", remove $inferior_spawn_id from the indirect list.
15879
0a803169
PA
158802015-04-23 Pedro Alves <palves@redhat.com>
15881
15882 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15883
749ef8f8
PA
158842015-04-23 Pedro Alves <palves@redhat.com>
15885
15886 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15887 on $any_spawn_id instead of only on $gdb_spawn_id.
15888
8aae4344
PM
158892015-04-21 Pierre Muller <muller@sourceware.org>
15890
15891 PR pascal/17815
15892 * lib/pascal.exp (gpc_compile): Add new option "class".
15893 (fpc_compile): Likewise.
15894 * gdb.pascal/case-insensitive-symbols.pas: New file.
15895 * gdb.pascal/case-insensitive-symbols.exp: New file.
15896
1586c8fb
GB
158972015-04-20 Gary Benson <gbenson@redhat.com>
15898
15899 * gdb.base/attach.exp: Fix three extended remote failures.
15900
1b6e6f5c
GB
159012015-04-17 Gary Benson <gbenson@redhat.com>
15902
15903 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15904 the main executable over the remote protocol.
15905
e797481d
PA
159062015-04-16 Pedro Alves <palves@redhat.com>
15907
15908 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15909 a new gdbserver if gdbserver_reconnect_p is set.
15910
1ca99c42
PA
159112015-04-16 Pedro Alves <palves@redhat.com>
15912
15913 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15914 is set, don't exit gdbserver.
15915
af9fd6f8
AA
159162015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15917
15918 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15919 appropriate .insn, such that an older assembler can be used.
15920 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15921 the z/Architecture instruction set on 31-bit targets as well.
15922
04ff1e61
AA
159232015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15924
15925 * gdb.go/handcall.exp: Remove all logic related to the first
15926 breakpoint and rely on go_runto_main instead.
15927 * gdb.go/strings.exp: Likewise.
15928 * gdb.go/unsafe.exp: Likewise.
15929 * gdb.go/hello.exp: Likewise. Also rename the remaining
15930 breakpoint marker to "breakpoint 1".
15931 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15932 * gdb.go/strings.go: Likewise.
15933 * gdb.go/unsafe.go: Likewise.
15934 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15935 "set breakpoint 2 here" and rename the remaining breakpoint marker
15936 to "breakpoint 1".
15937
40d2f8d6
SM
159382015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15939
15940 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15941 if itertools.imap is not present.
15942 * gdb.python/py-objfile.exp: Add parentheses.
15943 * gdb.python/py-type.exp: Same.
15944 * gdb.python/py-unwind-maint.py: Same.
15945
8cbc97c6
YQ
159462015-04-15 Yao Qi <yao.qi@linaro.org>
15947
15948 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15949 of ":$ptr_size" and set its form explicitly.
15950
45fd756c
YQ
159512015-04-15 Pedro Alves <palves@redhat.com>
15952 Yao Qi <yao.qi@linaro.org>
15953
15954 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15955 timeout by factor of 4.
15956 (test_regular_watch): Likewise.
15957 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15958 * gdb.reverse/sigall-reverse.exp: Likewise.
15959 * gdb.reverse/until-precsave.exp: Likewise.
15960 * lib/gdb.exp (with_timeout_factor): New proc.
15961 (gdb_expect): Move some code to ...
15962 (get_largest_timeout): ... here. New procedure.
15963
9e811bc3
LM
159642015-04-14 Luis Machado <lgustavo@codesourcery.com>
15965
15966 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15967
0ff6fcb2
LM
159682015-04-13 Luis Machado <lgustavo@codesourcery.com>
15969
15970 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15971 to write to the .text section.
15972
7578d5f7
LM
159732015-04-13 Luis Machado <lgustavo@codesourcery.com>
15974
15975 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15976 Handle the case of targets that do not provide PID information.
15977
2efe15c4
YQ
159782015-04-13 Yao Qi <yao.qi@linaro.org>
15979
15980 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15981 and use expect instead of gdb_expect.
15982
8cd8f2f8
SDJ
159832015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15984
15985 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15986 "coredump_var_addr" to avoid naming conflict with other testcases.
15987
9ee41772
PA
159882015-04-10 Pedro Alves <palves@redhat.com>
15989
15990 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15991 gdb_test_sequence and gdb_assert.
15992
07473109
PA
159932015-04-10 Pedro Alves <palves@redhat.com>
15994
15995 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15996 test messages that don't include the breakpoint address.
15997
de3db44c
YQ
159982015-04-10 Yao Qi <yao.qi@linaro.org>
15999
16000 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16001 false for some offset and width combinations which aren't
16002 supported by linux kernel.
16003
c79d856c
PA
160042015-04-10 Pedro Alves <palves@redhat.com>
16005
16006 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16007 procedure, factored out from ...
16008 (top level): ... here. Add "set displaced-stepping" testing axis.
16009 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16010 parameter "displaced". Use it.
16011 (top level): Use foreach and add "set displaced-stepping" testing
16012 axis.
16013
ebc90b50
PA
160142015-04-10 Pedro Alves <palves@redhat.com>
16015
16016 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16017 Remove comment.
16018 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16019 both the address of the instruction that triggers the watchpoint
16020 and the address of the instruction immediately after, and use
16021 those addresses for the test. Fix comment.
16022
8f572e5c
PA
160232015-04-10 Pedro Alves <palves@redhat.com>
16024
16025 * gdb.base/sigstep.exp (breakpoint_to_handler)
16026 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16027 Test "backtrace" in handler.
16028 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16029 (top level): Add new "displaced" test axis to
16030 breakpoint_to_handler, breakpoint_to_handler_entry and
16031 breakpoint_over_handler.
16032
8d707a12
PA
160332015-04-10 Pedro Alves <palves@redhat.com>
16034
16035 PR gdb/18216
16036 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16037
ef713951
YQ
160382015-04-10 Yao Qi <yao.qi@linaro.org>
16039
16040 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16041 (test_add_rn_pc): New function.
16042 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16043 (top level): Invoke test_add_rn_pc.
16044
906d60cf
PA
160452015-04-10 Pedro Alves <palves@redhat.com>
16046
16047 PR gdb/13858
16048 * gdb.base/step-over-no-symbols.exp: New file.
16049
f2983cc3
AW
160502015-04-09 Andy Wingo <wingo@igalia.com>
16051
16052 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16053 after the Python tests.
16054
6d62641c
SDJ
160552015-04-08 Keith Seitz <keiths@redhat.com>
16056
16057 PR python/16699
16058 * gdb.python/py-completion.exp: New tests for completion.
16059 * gdb.python/py-completion.py (CompleteLimit1): New class.
16060 (CompleteLimit2): Likewise.
16061 (CompleteLimit3): Likewise.
16062 (CompleteLimit4): Likewise.
16063 (CompleteLimit5): Likewise.
16064 (CompleteLimit6): Likewise.
16065 (CompleteLimit7): Likewise.
16066
f3770638
PA
160672015-04-08 Pedro Alves <palves@redhat.com>
16068
16069 PR gdb/18214
16070 PR gdb/18216
16071 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16072 function.
16073 (main): Install it as SIGUSR1 handler.
16074 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16075 parameter. Always use "setup" as prefix. Toggle "set
16076 displaced-stepping" off/on depending on global. Don't switch to
16077 thread 1 here.
16078 (top level): Add displaced stepping "off/on" test axis. Update
16079 "setup" calls. Wrap each subtest with with_test_prefix. Test
16080 continuing with a queued signal in each thread.
16081
4496bed7
PA
160822015-04-08 Pedro Alves <palves@redhat.com>
16083
16084 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16085 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16086 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16087 Return early if running to main fails.
16088 * gdb.trace/while-stepping.exp: Likewise.
16089
b97fde92
PA
160902015-04-07 Pedro Alves <palves@redhat.com>
16091
16092 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16093 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16094 interact with inferior program.
16095
f71c18e7
PA
160962015-04-07 Pedro Alves <palves@redhat.com>
16097
16098 * lib/gdb.exp (inferior_spawn_id): New global.
16099 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16100 spawn id after processing the user code.
16101 (default_gdb_start): Set inferior_spawn_id.
16102 (send_inferior): New procedure.
16103 * lib/gdbserver-support.exp (gdbserver_start): Set
16104 inferior_spawn_id.
16105 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16106
6423214f
PA
161072015-04-07 Pedro Alves <palves@redhat.com>
16108
16109 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16110 * lib/gdbserver-support.exp (gdbserver_start): Make
16111 $server_spawn_id global.
16112 (gdbserver_start): Don't wait for gdbserver's spawn id with
16113 expect_background.
16114 (close_gdbserver): New procedure.
16115 (gdb_exit): Rename the default version and reimplement.
16116
71c0ee8c
PA
161172015-04-07 Pedro Alves <palves@redhat.com>
16118
72f4393d 16119 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16120 append the substituted item, not the original item.
16121
203bc29b
PA
161222015-04-07 Pedro Alves <palves@redhat.com>
16123
16124 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16125 gdb_expect.
16126
508a3ddf
PA
161272015-04-07 Pedro Alves <palves@redhat.com>
16128
16129 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16130 output appearing once only.
16131
9f6dbe2b
PA
161322015-04-07 Pedro Alves <palves@redhat.com>
16133
16134 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16135 that doesn't expect anything. Return early if running to main
16136 fails.
16137
337532fa
YQ
161382015-04-07 Yao Qi <yao.qi@linaro.org>
16139
16140 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16141 (child_function): Call alarm.
16142 (main): Move call to alarm into the loop.
16143 * gdb.threads/non-stop-fair-events.exp: Build program with
16144 -DTIMEOUT=$timeout.
16145
01b622d4
DE
161462015-04-06 Doug Evans <xdje42@gmail.com>
16147
16148 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16149 Fix dest parameter to board_info.
16150 (fpc_compile): Ditto.
16151 (gdb_compile_pascal): Rename dest arg to destfile.
16152
961f4160
PMR
161532015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16154
16155 * gdb.ada/funcall_ref.exp: New file.
16156 * gdb.ada/funcall_ref/foo.adb: New file.
16157
cafda597
YQ
161582015-04-02 Yao Qi <yao.qi@linaro.org>
16159
16160 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16161 is remote.
16162
fed040c6
GB
161632015-04-02 Gary Benson <gbenson@redhat.com>
16164
16165 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16166
d11916aa
SS
161672015-04-01 Sasha Smundak <asmundak@google.com>
16168
16169 * gdb.python/py-unwind-maint.c: New file.
16170 * gdb.python/py-unwind-maint.exp: New test.
16171 * gdb.python/py-unwind-maint.py: New file.
16172 * gdb.python/py-unwind.c: New file.
16173 * gdb.python/py-unwind.exp: New test.
16174 * gdb.python/py-unwind.py: New test.
16175
a1471180
PA
161762015-04-01 Pedro Alves <palves@redhat.com>
16177
16178 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16179 to fail instead of non-existent $test.
16180
0bbeccb1
PA
161812015-04-01 Pedro Alves <palves@redhat.com>
16182
16183 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16184 GDBFLAGS if not empty.
16185
3c724c8c
PMR
161862015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16187
16188 * gdb.ada/complete.exp: Remove "multi_line".
16189 * gdb.ada/info_exc.exp: Remove "multi_line".
16190 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16191 * gdb.ada/ptype_field.exp: Remove "multi_line".
16192 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16193 * gdb.ada/tagged.exp: Remove "multi_line".
16194 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16195 [multi_line ...]
16196 * gdb.btrace/delta.exp: Likewise.
16197 * gdb.btrace/exception.exp: Likewise.
16198 * gdb.btrace/function_call_history.exp: Likewise.
16199 * gdb.btrace/instruction_history.exp: Likewise.
16200 * gdb.btrace/nohist.exp: Likewise.
16201 * gdb.btrace/record_goto.exp: Likewise.
16202 * gdb.btrace/segv.exp: Likewise.
16203 * gdb.btrace/stepi.exp: Likewise.
16204 * gdb.btrace/tailcall.exp: Likewise.
16205 * gdb.btrace/unknown_functions.exp: Likewise.
16206 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16207 * lib/gdb.exp: Add the "multi_line" helper.
16208
4eec2deb
PA
162092015-04-01 Pedro Alves <palves@redhat.com>
16210
16211 * gdb.threads/tid-reuse.c: New file.
16212 * gdb.threads/tid-reuse.exp: New file.
16213
df8411da
SDJ
162142015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16215
16216 PR corefiles/16092
16217 * gdb.base/coredump-filter.c: New file.
16218 * gdb.base/coredump-filter.exp: Likewise.
16219
6ef37366
PM
162202015-03-27 Petr Machata <pmachata@redhat.com>
16221
16222 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16223 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16224 (Dwarf::assemble): Initialize them.
16225 (Dwarf::lines): New function.
16226
7ec911b0
JT
162272015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16228
16229 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16230 SYMBOL_PREFIX for x86_64-*-cygwin.
16231
ff908ebf
AW
162322015-03-26 Andy Wingo <wingo@igalia.com>
16233
16234 PR symtab/18148
16235 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16236 const_value but not a location.
16237 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16238 location defined in non-main CUs are visible.
16239
6d5f0679
YQ
162402015-03-26 Yao Qi <yao.qi@linaro.org>
16241
16242 PR testsuite/18139
16243 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16244 Add a line number entry for the same line.
16245 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16246 Add a line number entry for the same line.
16247
2898689b
YQ
162482015-03-26 Yao Qi <yao.qi@linaro.org>
16249
16250 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16251 .int 0.
16252 (func): Likewise. Add .Lfunc_1 label.
16253 Use .Lfunc_1 label.
16254 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16255 .int 0.
16256 (func): Likewise.
16257 Use .Lfunc_1 label.
16258
85180498
YQ
162592015-03-26 Yao Qi <yao.qi@linaro.org>
16260
16261 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16262 Call gdb_compile instead to compile each .s files without debug
16263 information.
16264
8aa08a8d
YQ
162652015-03-26 Yao Qi <yao.qi@linaro.org>
16266
16267 * gdb.base/savedregs.exp (process_saved_regs): Make
16268 "Saved registers:" optional in the pattern.
16269
66849923
MM
162702015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16271
16272 * gdb.btrace/next.exp: Merged into step.exp.
16273 * gdb.btrace/finish.exp: Merged into step.exp.
16274 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16275 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16276 "record goto" and checking the exact replay position.
16277 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16278 check for "Recording format" in "info record" output.
16279 * gdb.btrace/record_goto.exp: Choose test file based on target.
16280 * gdb.btrace/x86-record_goto.S: Renamed into ...
16281 * gdb.btrace/x86_64-record_goto.S: ... this.
16282 * gdb.btrace/i686-record_goto.S: New.
16283 * gdb.btrace/x86-tailcall.S: Renamed into ...
16284 * gdb.btrace/x86_64-tailcall.S: ... this.
16285 * gdb.btrace/i686-tailcall.S: New.
16286 * gdb.btrace/x86-tailcall.c: Renamed into ...
16287 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16288 separate statements. Update test.
16289 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16290 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16291 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16292 * gdb.btrace/tailcall.exp: Choose test file based on target.
16293 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16294
11cc1b74
MM
162952015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16296
16297 * gdb.btrace/exception.exp: Increase BTS buffer size.
16298
a25d8bf9
PA
162992015-03-24 Pedro Alves <palves@redhat.com>
16300
16301 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16302
856e7dd6
PA
163032015-03-24 Pedro Alves <palves@redhat.com>
16304
16305 * gdb.threads/schedlock.exp (test_step): No longer expect that
16306 "set scheduler-locking step" with "next" over a function call runs
16307 threads unlocked.
16308
ad235a41
AT
163092015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16310
16311 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16312
15630549
AT
163132015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16314
16315 PR breakpoints/16466
16316 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16317 * gdb.mi/mi-pending.c (thread_func): New function.
16318 (int main): Add threading support required.
16319 * gdb.mi/mi-pending.exp: Add tests for this issue.
16320 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16321 (pendfunc2): Remove stdio dependency.
16322 * gdb.mi/mi-pendshr2.c: New file.
16323
693dca06
KS
163242015-03-23 Keith Seitz <keiths@redhat.com>
16325
16326 * gdb.linespec/keywords.c: New file.
16327 * gdb.linespec/keywords.exp: New file.
16328
7e993ebf
KS
163292015-03-23 Keith Seitz <keiths@redhat.com>
16330
16331 PR gdb/18021
16332 * gdb.dwarf2/staticvirtual.exp: New test.
16333
bc23328c
JK
163342015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16335
16336 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16337 * README: Remove HP-UX and gdb.hp.
16338 (configuration):
16339 * configure: Regenerate.
16340 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16341 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16342 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16343 gdb.hp/gdb.defects/Makefile.
16344 * gdb.hp/Makefile.in: File deleted.
16345 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16346 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16347 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16348 * gdb.hp/gdb.aCC/run.c: File deleted.
16349 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16350 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16351 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16352 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16353 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16354 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16355 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16356 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16357 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16358 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16359 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16360 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16361 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16362 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16363 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16364 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16365 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16366 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16367 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16368 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16369 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16370 * gdb.hp/gdb.compat/average.c: File deleted.
16371 * gdb.hp/gdb.compat/sum.c: File deleted.
16372 * gdb.hp/gdb.compat/xdb.c: File deleted.
16373 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16374 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16375 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16376 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16377 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16378 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16379 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16380 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16381 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16382 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16383 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16384 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16385 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16386 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16387 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16388 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16389 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16390 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16391 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16392 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16393 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16394 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16395 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16396 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16397 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16398 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16399 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16400 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16401 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16402 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16403 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16404 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16405 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16406 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16407 * gdb.hp/tools/odump: File deleted.
16408
8bf3b159
PA
164092015-03-19 Pedro Alves <palves@redhat.com>
16410
16411 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16412 (saw_thread_3): New globals.
16413 (top level): Increment them when an event for the corresponding
16414 thread is seen.
16415 (no thread starvation): New test.
16416
eb54c8bf
PA
164172015-03-19 Pedro Alves <palves@redhat.com>
16418
16419 * gdb.threads/continue-pending-status.c: New file.
16420 * gdb.threads/continue-pending-status.exp: New file.
16421
32d2e5d6
PA
164222015-03-18 Pedro Alves <palves@redhat.com>
16423
16424 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16425 Use gdb_is_target_remote instead of is_remote. Use
16426 gdb_test_multiple instead of gdb_expect. Exit early if
16427 gdb_test_multiple hits its internal matches. Tighten stepi tests
16428 expected output. Fail on exit with any signal, instead of just
16429 SIGILL.
16430
f68f11b7
YQ
164312015-03-18 Yao Qi <yao.qi@linaro.org>
16432
16433 PR tdep/18107
16434 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16435 variable.
16436 * gdb.base/catch-syscall.exp: Don't skip it on
16437 aarch64*-*-linux* target. Remove elements in all_syscalls.
16438 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16439 target.
16440 (setup_all_syscalls): New proc.
16441
ca5fd19b
YQ
164422015-03-16 Yao Qi <yao.qi@linaro.org>
16443
16444 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16445 (top level): Skip tests if valid_addr_p returns false for
16446 $cmd1 or $cmd2.
16447
85642ba0
AW
164482015-03-11 Andy Wingo <wingo@igalia.com>
16449
16450 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16451
e03f9645
YQ
164522015-03-11 Yao Qi <yao.qi@linaro.org>
16453
16454 * gdb.base/catch-syscall.exp: Fix typo in comments.
16455
5d0962b2
YQ
164562015-03-11 Yao Qi <yao.qi@linaro.org>
16457
16458 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16459
b2df3cef
PA
164602015-03-09 Pedro Alves <palves@redhat.com>
16461
16462 * dg-extract-results.py: Delete.
16463
ef878e53
PA
164642015-03-09 Pedro Alves <palves@redhat.com>
16465
16466 Merge dg-extract-results.sh from GCC upstream (r218843).
16467
16468 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16469 * dg-extract-results.sh: Use --text with grep to avoid issues with
16470 binary files. Fall back to cat -v, if that doesn't work.
16471
9494d219
PA
164722015-03-05 Pedro Alves <palves@redhat.com>
16473
16474 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16475
a8d9763a
SM
164762015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16477
16478 * lib/mi-support.exp (mi_expect_interrupt): Accept
16479 alternative event for when in all-stop mode.
16480
be9957b8
PA
164812015-03-04 Pedro Alves <palves@redhat.com>
16482
16483 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16484
d57be0f4 164852015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16486
16487 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16488
c214c7cf
AA
164892015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16490
16491 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16492 regexps for GDB's current line display, accept a hex address
16493 preceding the line number.
16494
6d74a497
AA
164952015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16496
16497 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16498 the 'arch1' variable for "s390*-linux*" targets.
16499
511aee7c
PA
165002015-03-04 Pedro Alves <palves@redhat.com>
16501
16502 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16503 (main): Pass missing retval argument to pthread_join call.
16504
95e50b27
PA
165052015-03-02 Pedro Alves <palves@redhat.com>
16506
16507 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16508 (top level): Call do_test with non-stop as well.
16509
28054d69
PA
165102015-03-02 Pedro Alves <palves@redhat.com>
16511
16512 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16513 -1.
16514
4fa5d7b4
AA
165152015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16516
16517 * gdb.arch/s390-vregs.exp: New test.
16518 * gdb.arch/s390-vregs.S: New file.
16519
97c18565
PA
165202015-02-27 Pedro Alves <palves@redhat.com>
16521
16522 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16523 call to catch_command_errors.
16524 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16525 catch_command_errors.
16526
a37bfa30
PA
165272015-02-27 Pedro Alves <palves@redhat.com>
16528
16529 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16530 "true" for boolean result.
16531 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16532 prototype of main.
16533
6f98576f
PA
165342015-02-27 Pedro Alves <palves@redhat.com>
16535
16536 * lib/unbuffer_output.c: New file.
16537 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16538 (main): Call gdb_unbuffer_output.
16539
eba5ab56
YQ
165402015-02-27 Yao Qi <yao.qi@linaro.org>
16541
16542 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16543 target.
16544
0def5aaa
DE
165452015-02-26 Doug Evans <dje@google.com>
16546
16547 * gdb.cp/class2.cc (Dbase, D): New classes.
16548 (main): New local delta.
16549 * gdb.cp/class2.exp: Test printing delta.
16550 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16551 (dynbar): New global.
16552 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16553
081a1c2c
JK
165542015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16555
16556 * gdb.compile/compile-ifunc.c: New file.
16557 * gdb.compile/compile-ifunc.exp: New file.
16558
2f41223f
AT
165592015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16560
16561 * gdb.base/structs.exp: Check for correct struct on finish.
16562
03eddd80
YQ
165632015-02-26 Yao Qi <yao.qi@linaro.org>
16564
16565 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16566 is zero.
16567
80c57053
JK
165682015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16569
16570 * gdb.arch/cordic.ko.bz2: New file.
16571 * gdb.arch/cordic.ko.debug.bz2: New file.
16572 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16573
21613c12
YQ
165742015-02-25 Yao Qi <yao.qi@linaro.org>
16575
16576 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16577 aarch64*-*-* target.
16578
d8b901ed
PA
165792015-02-23 Pedro Alves <palves@redhat.com>
16580
16581 * lib/gdb.exp (delete_breakpoints): Rewrite using
16582 gdb_test_multiple.
16583
e5b85ead
PA
165842015-02-23 Pedro Alves <palves@redhat.com>
16585
16586 * gdb.base/info-os.c: Include stdlib.h.
16587
85c3a371
DE
165882015-02-22 Doug Evans <xdje42@gmail.com>
16589
16590 PR symtab/17855
16591 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16592 is read after symbols have been re-read.
16593 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16594 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16595
96553a0c
DE
165962015-02-21 Doug Evans <dje@google.com>
16597
16598 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16599
97a0c697
JK
166002015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16601
16602 PR corefiles/17808
16603 * gdb.arch/i386-biarch-core.core.bz2: New file.
16604 * gdb.arch/i386-biarch-core.exp: New file.
16605
a47cd6e9
PA
166062015-02-21 Pedro Alves <palves@redhat.com>
16607
16608 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16609 runto_main fails.
16610
c5facdc4
PA
166112015-02-20 Pedro Alves <palves@redhat.com>
16612
16613 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16614 info probes.
16615
2db9a427
PA
166162015-02-20 Pedro Alves <palves@redhat.com>
16617
16618 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16619
60fb7e9e
PA
166202015-02-20 Pedro Alves <palves@redhat.com>
16621
16622 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16623 clean_restart before gdb_target_supports_trace.
16624
5c5019c2
PA
166252015-02-20 Pedro Alves <palves@redhat.com>
16626
16627 PR threads/18006
16628 * gdb.threads/clone-thread_db.c: New file.
16629 * gdb.threads/clone-thread_db.exp: New file.
16630
c9587f88
AT
166312015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16632
16633 PR breakpoints/16812
16634 * gdb.base/catch-gdb-caused-signals.c: New file.
16635 * gdb.base/catch-gdb-caused-signals.exp: New file.
16636
f6a88844
JM
166372015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16638
16639 * configure: Regenerated.
16640 * configure.ac: Use GDB_AC_TRANSFORM.
16641 * aclocal.m4: sinclude ../transform.m4.
16642
497c491b
JM
166432015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16644
16645 * lib/dtrace.exp: New file.
16646 * gdb.base/dtrace-probe.exp: Likewise.
16647 * gdb.base/dtrace-probe.d: Likewise.
16648 * gdb.base/dtrace-probe.c: Likewise.
16649 * lib/pdtrace.in: Likewise.
16650 * configure.ac: Output variables with the transformed names of
16651 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16652 * configure: Regenerated.
16653
03e98035
JM
166542015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16655
16656 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16657 expected message when trying to access $_probe_* convenience
16658 variables while not on a probe.
16659
63cc30e9
JK
166602015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16661
16662 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16663
0703599a
PA
166642015-02-11 Pedro Alves <pedro@codesourcery.com>
16665
16666 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16667 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16668
7e60a48e
DE
166692015-02-10 Doug Evans <xdje42@gmail.com>
16670
16671 * lib/gdb.exp (gdb_load): Always return a result.
16672
01b088bc
PA
166732015-02-10 Pedro Alves <palves@redhat.com>
16674
16675 * gdb.threads/signal-sigtrap.c: New file.
16676 * gdb.threads/signal-sigtrap.exp: New file.
16677
b05ec7a5
AT
166782015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16679
16680 * gdb.trace/no-attach-trace.c: New file.
16681 * gdb.trace/no-attach-trace.exp: New file.
16682
a2c2acaf
MW
166832015-02-09 Mark Wielaard <mjw@redhat.com>
16684
16685 * gdb.dwarf2/atomic.c: New file.
16686 * gdb.dwarf2/atomic-type.exp: Likewise.
16687
31fd9caa
MM
166882015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16689
16690 * gdb.btrace/buffer-size.exp: Update "info record" output.
16691 * gdb.btrace/delta.exp: Update "info record" output.
16692 * gdb.btrace/enable.exp: Update "info record" output.
16693 * gdb.btrace/finish.exp: Update "info record" output.
16694 * gdb.btrace/instruction_history.exp: Update "info record" output.
16695 * gdb.btrace/next.exp: Update "info record" output.
16696 * gdb.btrace/nexti.exp: Update "info record" output.
16697 * gdb.btrace/step.exp: Update "info record" output.
16698 * gdb.btrace/stepi.exp: Update "info record" output.
16699 * gdb.btrace/nohist.exp: Update "info record" output.
16700
d33501a5
MM
167012015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16702
16703 * gdb.btrace/buffer-size: New.
16704
f4abbc16
MM
167052015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16706
16707 * gdb.btrace/delta.exp: Update "info record" output.
16708 * gdb.btrace/enable.exp: Update "info record" output.
16709 * gdb.btrace/finish.exp: Update "info record" output.
16710 * gdb.btrace/instruction_history.exp: Update "info record" output.
16711 * gdb.btrace/next.exp: Update "info record" output.
16712 * gdb.btrace/nexti.exp: Update "info record" output.
16713 * gdb.btrace/step.exp: Update "info record" output.
16714 * gdb.btrace/stepi.exp: Update "info record" output.
16715 * gdb.btrace/nohist.exp: Update "info record" output.
16716
b9d61307
SM
167172015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16718
16719 PR gdb/15678
16720 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16721
e584fdbc
PA
167222015-02-06 Pedro Alves <palves@redhat.com>
16723
16724 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16725 macro.
16726 (seconds_left, again): New globals.
16727 (main): Wait seconds_left in a 1-second sleep loop instead of
16728 sleeping 180 seconds. If 'again' is set, reset the seconds
16729 counter.
16730 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16731 'again' in the inferior before detaching. Print the seconds left.
16732 (options): New global.
16733 (top level): Build program with -DTIMEOUT=$timeout.
16734
77f41761
PA
167352015-02-06 Pedro Alves <palves@redhat.com>
16736
16737 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16738 determine how many seconds to pass to 'alarm'.
16739 * gdb.base/gdb-sigterm.exp (top level): Build program with
16740 -DTIMEOUT=$timeout.
16741 (do_test): Return success/failure indication. Add more verbose
16742 logging. Don't fail if 200 single steps are seen. Instead, fail
16743 when the test times out.
16744 (passes): New global.
16745 (top level): Break the testing loop if testing fails on any
16746 iteration. Use gdb_assert.
16747
b9394193
DB
167482015-02-04 Don Breazeal <donb@codesourcery.com>
16749
16750 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16751 and initialize them.
16752 (ipc_cleanup): New function.
16753 (main): Don't declare shmid, semid, and msqid. Add a call to
16754 atexit so that we call ipc_cleanup on exit.
16755
42d9e528
PA
167562015-02-04 Pedro Alves <palves@redhat.com>
16757
16758 * boards/native-extended-gdbserver.exp: Remove any target variant
16759 specifications from the board name before clearing the isremote
16760 flag from board_info.
16761
ae6ae975
DE
167622015-01-31 Doug Evans <xdje42@gmail.com>
16763
16764 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16765
cfb069a8
GB
167662015-01-31 Gary Benson <gbenson@redhat.com>
16767
16768 * gdb.base/completion.exp: Disable completion limiting for
16769 existing tests. Add new tests to check completion limiting.
16770 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16771
5dd31d79
DE
167722015-01-31 Doug Evans <xdje42@gmail.com>
16773
16774 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16775
9f050062
DE
167762015-01-31 Doug Evans <xdje42@gmail.com>
16777
16778 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16779 entries. Duplicate file section script entries.
16780 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16781 inlined entries. Add test for safe-path rejection.
16782 * gdb.python/py-section-script.c: Add duplicate inlined section script
16783 entries. Duplicate file section script entries.
16784 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16785 inlined entries. Add test for safe-path rejection.
16786
df25ebbd
JB
167872015-01-29 Joel Brobecker <brobecker@adacore.com>
16788
16789 * gdb.ada/disc_arr_bound: New testcase.
16790
4a0ca9ec
JB
167912015-01-29 Joel Brobecker <brobecker@adacore.com>
16792
16793 * gdb.ada/mi_var_array: New testcase.
16794
3a8b707a
DE
167952015-01-27 Doug Evans <dje@google.com>
16796
16797 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16798 Add test for objfile.filename, objfile.username after objfile
16799 has been unloaded.
16800
f8313f6e
JB
168012015-01-26 Joel Brobecker <brobecker@adacore.com>
16802
16803 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16804 the second test to print the name attribute of value
16805 returned by the call to gdb.lookup_type, and adjust
16806 the expected output accordingly.
16807
37bc665e
MW
168082015-01-25 Mark Wielaard <mjw@redhat.com>
16809
16810 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16811 * gdb.base/disp-step-fork.c: Include unistd.h.
16812 * gdb.base/siginfo-obj.c: Include stdio.h.
16813 * gdb.base/siginfo-thread.c: Likewise.
16814 * gdb.mi/non-stop.c: Include unistd.h.
16815 * gdb.mi/nsthrexec.c: Include stdio.h.
16816 * gdb.mi/pthreads.c: Include unistd.h.
16817 * gdb.modula2/unbounded1.c (main): Declare returns int.
16818 * gdb.reverse/consecutive-reverse.c: Likewise.
16819 * gdb.threads/create-fail.c: Include unistd.h.
16820 * gdb.threads/killed.c: Likewise.
16821 * gdb.threads/linux-dp.c: Likewise.
16822 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16823 * gdb.threads/non-ldr-exc-2.c: Likewise.
16824 * gdb.threads/non-ldr-exc-3.c: Likewise.
16825 * gdb.threads/non-ldr-exc-4.c: Likewise.
16826 * gdb.threads/pthreads.c: Include unistd.h.
16827 (main): Declare returns int.
16828 * gdb.threads/tls-main.c (foo): New declaration.
16829 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16830
f7e5394d
SM
168312015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16832
16833 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16834 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16835
743649fd
MW
168362015-01-15 Mark Wielaard <mjw@redhat.com>
16837
16838 * gdb.base/noreturn-return.c: New file.
16839 * gdb.base/noreturn-return.exp: New file.
16840 * gdb.base/noreturn-finish.c: New file.
16841 * gdb.base/noreturn-finish.exp: New file.
16842
198297aa
PA
168432015-01-23 Pedro Alves <palves@redhat.com>
16844
16845 * gdb.threads/continue-pending-after-query.c: New file.
16846 * gdb.threads/continue-pending-after-query.exp: New file.
16847
717cf30c
AG
168482015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16849 Simon Marchi <simon.marchi@ericsson.com>
16850
16851 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16852 * gdb.base/valgrind-db-attach.exp: Same.
16853 * gdb.base/valgrind-infcall.exp: Same.
16854 * lib/mi-support.exp (default_mi_gdb_start): Same.
16855 * lib/prompt.exp (default_prompt_gdb_start): Same.
16856 * lib/gdb.exp (default_gdb_spawn): Same.
16857 (gdb_interact): New.
16858
16859
4b62a76e
JK
168602015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16861
16862 * gdb.compile/compile.exp (pointer to jit function): New test.
16863
b4cdae6f
WW
168642015-01-17 Wei-cheng Wang <cole945@gmail.com>
16865
16866 * lib/gdb.exp (supports_process_record): Return true for
16867 powerpc*-*-linux*.
16868 (supports_reverse): Likewise.
16869
d221e7ef
DB
168702015-01-15 Don Breazeal <donb@codesourcery.com>
16871
16872 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16873 instead of checking whether the target board is remote and
16874 use spawn_wait_for_attach instead of exec/sleep.
16875 * gdb.base/attach-twice.exp: Likewise.
16876
bafffb51
JB
168772015-01-15 Joel Brobecker <brobecker@adacore.com>
16878
16879 * gdb.ada/var_arr_attrs: New testcase.
16880
5589af0e
PA
168812015-01-14 Pedro Alves <palves@redhat.com>
16882 Joel Brobecker <brobecker@adacore.com>
16883
16884 PR gdb/17525
16885 * gdb.base/bp-cmds-execution-x-script.c: New file.
16886 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16887 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16888
6c400b59
PA
168892015-01-14 Pedro Alves <palves@redhat.com>
16890
16891 PR cli/17828
16892 * gdb.base/batch-preserve-term-settings.c: New file.
16893 * gdb.base/batch-preserve-term-settings.exp: New file.
16894
e02c96a7
DE
168952015-01-13 Doug Evans <dje@google.com>
16896
16897 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16898 binary.
16899
576fd14c
JB
169002015-01-13 Joel Brobecker <brobecker@adacore.com>
16901
16902 * Makefile.in (clean mostlyclean): Do not delete *.py.
16903
04dccad0
JB
169042015-01-13 Joel Brobecker <brobecker@adacore.com>
16905
16906 * gdb.python/py-lookup-type.exp: New file.
16907
3d230f71
PA
169082015-01-12 Pedro Alves <palves@redhat.com>
16909
16910 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16911 restore GDBFLAGS before returning.
16912
7e67715d
JK
169132015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16914
16915 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16916 is_amd64_regs_target and is_x86_like_target.
16917
f2e0d4b4
DE
169182015-01-11 Doug Evans <xdje42@gmail.com>
16919
16920 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16921 is given without an explicit form.
16922 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16923 attributes.
16924 * gdb.dwarf/corrupt.exp: Ditto.
16925 * gdb.dwarf2/enum-type.exp: Ditto.
16926 * gdb.trace/entry-values.exp: Ditto.
16927 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16928
439250fb
DE
169292015-01-11 Doug Evans <xdje42@gmail.com>
16930
16931 PR gdb/15830
16932 * gdb.base/maint.exp: Remove references to "maint demangle".
16933 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16934 Add tests for explicitly specifying language to demangle.
16935 * gdb.dlang/demangle.exp: Ditto.
16936
ede9f622
PA
169372015-01-09 Pedro Alves <palves@redhat.com>
16938
16939 * gdb.threads/non-stop-fair-events.c: New file.
16940 * gdb.threads/non-stop-fair-events.exp: New file.
16941
a7b796db
PA
169422015-01-09 Pedro Alves <palves@redhat.com>
16943
16944 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16945 the global scope. Set a breakpoint after all threads are started
16946 rather than stepping over two source lines. Expect the prompt.
16947 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16948 global.
16949 (NUM): Now 15.
16950 (main): Use threads_started_barrier to wait for all threads to
16951 start. Main thread no longer calls thread_function. Exit after
16952 180 seconds.
16953 (loop): New function.
16954 (thread_function): Wait on threads_started_barrier barrier. Call
16955 'loop' at each iteration.
16956 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16957 threads have started, instead of hardcoding number of "next"
16958 steps. Use an access watchpoint instead of a write watchpoint.
16959
9665ffdd
PA
169602015-01-09 Pedro Alves <palves@redhat.com>
16961
16962 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16963 (thread_func): Wait on barrier.
16964 (main): Wait for all threads to start before stopping GDB.
16965 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16966 global.
16967 (thread1_func, thread2_func): Wait on barrier.
16968 (main): Wait for all threads to start before stopping GDB.
16969 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16970 New global.
16971 (thread1_func, thread2_func): Wait on barrier.
16972 (main): Wait for all threads to start before stopping GDB.
16973
c945a99f
PA
169742015-01-09 Pedro Alves <palves@redhat.com>
16975
16976 * gdb.threads/attach-many-short-lived-threads.c: New file.
16977 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16978
c1a747c1
PA
169792014-01-09 Pedro Alves <palves@redhat.com>
16980
16981 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16982 instead of to thread 2.
16983 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16984 Add barrier around each pthread_create call instead of around all
16985 calls.
16986 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16987 Set a break on thread_function and have the child threads hit it
16988 one at at a time.
16989
60b3033e
PA
169902015-01-09 Pedro Alves <palves@redhat.com>
16991
16992 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16993 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16994 false.
16995 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16996 checking whether the target board is remote.
16997 * gdb.multi/multi-attach.exp: Likewise.
16998 * gdb.python/py-sync-interp.exp: Likewise.
16999 * gdb.server/ext-attach.exp: Likewise.
17000 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17001 tests that need to attach, instead of checking whether the target
17002 board is remote at the top of the file.
17003
acc018ac
YQ
170042015-01-08 Yao Qi <yao@codesourcery.com>
17005
17006 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17007
50a18af8
JK
170082015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17009
17010 Fix testcase compilation.
17011 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17012
8503d6e1
JB
170132015-01-06 Joel Brobecker <brobecker@adacore.com>
17014
17015 * gdb.python/py-type.exp: Add a couple test about empty
17016 array creation, and negative-length array creation.
17017
cc73dbcc
DE
170182015-01-02 Doug Evans <xdje42@gmail.com>
17019
17020 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17021
0300bbc7
DE
170222015-01-02 Doug Evans <dje@google.com>
17023
17024 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17025
9d85a0ec
YQ
170262014-12-29 Yao Qi <yao@codesourcery.com>
17027
17028 * gdb.trace/entry-values.exp: Update comments. Rename variable
17029 bar_call_foo to returned_from_foo.
17030
87186c6a
MMN
170312014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17032
17033 PR gdb/17394
17034 * gdb.linespec/break-asm-file.c: New file.
17035 * gdb.linespec/break-asm-file.exp: New file.
17036 * gdb.linespec/break-asm-file0.s: New file.
17037 * gdb.linespec/break-asm-file1.s: New file.
17038
1bab7383
YQ
170392014-12-18 Nigel Stephens <nigel@mips.com>
17040 Maciej W. Rozycki <macro@codesourcery.com>
17041
17042 * gdb.base/float.exp: Handle the new output from "info float" on
17043 MIPS targets.
17044
1bc1068a
JK
170452014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17046
17047 Fix MinGW compilation.
17048 * gdb.compile/compile-ops.exp: Update untested message if
17049 !skip_compile_feature_tests.
17050 * gdb.compile/compile-setjmp.exp: Likewise.
17051 * gdb.compile/compile-tls.exp: Likewise.
17052 * gdb.compile/compile.exp: Likewise.
17053 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17054 supported on this host".
17055
b6615d10
DE
170562014-12-16 Doug Evans <xdje42@gmail.com>
17057
17058 * boards/stabs.exp: New file.
17059
25dda427
AA
170602014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17061
17062 * gdb.base/completion.exp: Adjust to format changes of "maint
17063 print user-registers".
17064
bf330350
CU
170652014-12-16 Catalin Udma <catalin.udma@freescale.com>
17066
17067 PR server/17457
17068 * gdb.arch/aarch64-fp.c: New file.
17069 * gdb.arch/aarch64-fp.exp: New file.
17070
395cf596
SDJ
170712014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17072
17073 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17074 r210637, r210913, r211666, r215400, r215817).
17075
17076 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17077 * dg-extract-results.py: New file.
17078 * dg-extract-results.sh: Use it if the environment seems
17079 suitable.
17080
17081 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17082
17083 * dg-extract-results.py (parse_run): Handle warnings that
17084 are printed before a test harness is run.
17085
17086 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17087
17088 * dg-extract-results.py (Named): Remove __cmp__ method.
17089 (output_variation): Use a key to sort variation.harnesses.
17090
17091 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17092
17093 * dg-extract-results.py: For Python 3, force sys.stdout to
17094 handle surrogate escape sequences.
17095 (safe_open): New function.
17096 (output_segment, main): Use it.
17097
17098 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17099
17100 * dg-extract-results.py (Prog.result_re): Include options
17101 in test name.
17102
17103 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17104
17105 * dg-extract-results.py (output_variation): Always sort if
17106 do_sum.
17107
e882ef3c
SM
171082014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17109
17110 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17111 as long as we get pagination notifications.
17112
4992aa20
JM
171132014-12-15 Jason Merrill <jason@redhat.com>
17114
17115 * Makefile.in (check-gdb.%): Restore.
17116 * README: Mention it.
17117
c1b5a1a6
JB
171182014-12-13 Joel Brobecker <brobecker@adacore.com>
17119
17120 * gdb.ada/str_uninit: New testcase.
17121
5537b577
JK
171222014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17123
17124 PR symtab/17642
17125 * gdb.base/vla-stub-define.c: New file.
17126 * gdb.base/vla-stub.c: New file.
17127 * gdb.base/vla-stub.exp: New file.
17128
bb2ec1b3
TT
171292014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17130 Jan Kratochvil <jan.kratochvil@redhat.com>
17131 Tom Tromey <tromey@redhat.com>
17132
17133 * configure.ac: Add gdb.compile/.
17134 * configure: Regenerate.
17135 * gdb.compile/Makefile.in: New file.
17136 * gdb.compile/compile-ops.exp: New file.
17137 * gdb.compile/compile-ops.c: New file.
17138 * gdb.compile/compile-tls.c: New file.
17139 * gdb.compile/compile-tls.exp: New file.
17140 * gdb.compile/compile-constvar.S: New file.
17141 * gdb.compile/compile-constvar.c: New file.
17142 * gdb.compile/compile-mod.c: New file.
17143 * gdb.compile/compile-nodebug.c: New file.
17144 * gdb.compile/compile-setjmp-mod.c: New file.
17145 * gdb.compile/compile-setjmp.c: New file.
17146 * gdb.compile/compile-setjmp.exp: New file.
17147 * gdb.compile/compile-shlib.c: New file.
17148 * gdb.compile/compile.c: New file.
17149 * gdb.compile/compile.exp: New file.
17150 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17151
4ff709eb
TT
171522014-12-12 Tom Tromey <tromey@redhat.com>
17153
17154 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17155 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17156
6dddd6a5
DE
171572014-12-12 Doug Evans <dje@google.com>
17158
17159 * lib/gdb-python.exp (get_python_valueof): New function.
17160 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17161
71c24708
AA
171622014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17163
17164 * gdb.base/completion.exp: Add test for completion of "info
17165 registers ".
17166
3e29f34a
MR
171672014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17168
17169 * gdb.base/func-ptrs.c: New file.
17170 * gdb.base/func-ptrs.exp: New file.
17171
fc126975
SM
171722014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17173
17174 PR breakpoints/17012
17175 * gdb.base/dprintf-detach.c: New file.
17176 * gdb.base/dprintf-detach.exp: New file.
17177
0a46d518
SM
171782014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17179
17180 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17181 * lib/gdb.exp (target_is_gdbserver): New procedure.
17182
a0be3e44
DE
171832014-12-08 Doug Evans <dje@google.com>
17184
17185 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17186
df1b803a
YQ
171872014-12-05 Yao Qi <yao@codesourcery.com>
17188
17189 * gdb.guile/scm-error.exp: Remove the third argument to
17190 gdb_remote_download.
17191 * gdb.guile/scm-frame-args.exp: Likewise.
17192 * gdb.guile/scm-section-script.exp: Likewise.
17193
ddb9f679
YQ
171942014-12-05 Yao Qi <yao@codesourcery.com>
17195
17196 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17197
86e4ed39
DE
171982014-12-04 Doug Evans <dje@google.com>
17199
17200 * gdb.python/py-objfile.exp: Add tests for
17201 objfile.add_separate_debug_file.
17202
7c50a931
DE
172032014-12-04 Doug Evans <dje@google.com>
17204
17205 * lib/gdb.exp (get_build_id): New function.
17206 (build_id_debug_filename_get): Rewrite to use it.
17207 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17208
621661e3
MR
172092014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17210
17211 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17212 `method(long)', not just 0x0.
17213 * gdb.cp/nsalias.exp: Align code labels to 4.
17214 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17215 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17216 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17217 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17218 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17219 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17220
29f0c3b7
DE
172212014-12-02 Doug Evans <dje@google.com>
17222
e1e061e7 17223 PR symtab/17602
29f0c3b7 17224 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17225 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17226 * gdb.cp/anon-ns.exp: Update.
17227
162078c8
NB
172282014-12-02 Nick Bull <nicholaspbull@gmail.com>
17229
17230 * gdb.python/py-events.py (inferior_call_handler): New.
17231 (register_changed_handler, memory_changed_handler): New.
17232 (test_events.invoke): Register new handlers.
17233 * gdb.python/py-events.exp: Add tests for inferior call,
17234 memory_changed and register_changed events.
17235
fdb09caf
AA
172362014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17237
17238 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17239 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17240 if the linker doesn't understand this.
17241
55cfb2c4
SM
172422014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17243
17244 * gdb.python/python.exp: Change expected reply to help().
17245
9e8cd6df
YQ
172462014-12-01 Yao Qi <yao@codesourcery.com>
17247
17248 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17249 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17250 * configure: Re-generated.
17251
6c659fc2
SC
172522014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17253
17254 * gdb.cp/chained-calls.cc: New file.
17255 * gdb.cp/chained-calls.exp: New file.
17256 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17257
d7fc3181
SM
172582014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17259
17260 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17261 * gdb.dwarf2/symtab-producer.exp: Same.
17262 * gdb.gdb/python-interrupts.exp: Same.
17263 * gdb.gdb/python-selftest.exp: Same.
17264 * gdb.python/py-linetable.exp: Same.
17265 * gdb.python/py-type.exp: Same.
17266 * gdb.python/py-value-cc.exp: Same.
17267 * gdb.python/py-value.exp: Same.
17268
10e79639
YQ
172692014-11-28 Yao Qi <yao@codesourcery.com>
17270
17271 * gdb.base/break-probes.exp: Match library name prefixed with
17272 sysroot.
17273
f28a0564
SM
172742014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17275
17276 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17277 test expected output. Add parentheses for the call to print.
17278 Remove L suffix from integers.
17279
3fe1ce1d
DE
172802014-11-26 Doug Evans <dje@google.com>
17281
17282 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17283
84429e27
YQ
172842014-11-22 Yao Qi <yao@codesourcery.com>
17285
17286 * gdb.trace/entry-values.c: Remove asms.
17287 (foo): Add foo_label.
17288 (bar): Add bar_label.
17289 * gdb.trace/entry-values.exp: Remove code computing foo's
17290 length and bar's length.
17291 (Dwarf::assemble): Invoke function_range for bar and use
17292 MACRO_AT_func for foo.
17293
26741859
YQ
172942014-11-22 Yao Qi <yao@codesourcery.com>
17295
17296 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17297 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17298 Use .Lgcc43_procstart instead of gcc43.
17299
45e44d27
JB
173002014-11-21 Joel Brobecker <brobecker@adacore.com>
17301
17302 * gdb.ada/n_arr_bound: New testcase.
17303
458c8db8
SDJ
173042014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17305
17306 PR breakpoints/10737
17307 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17308 test_catch_syscall_multi_arch.
17309 (test_catch_syscall_multi_arch): New function.
17310
43f3e411
DE
173112014-11-20 Doug Evans <xdje42@gmail.com>
17312
17313 * gdb.base/maint.exp: Update expected output.
17314
0d7b2549
AA
173152014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17316
17317 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17318 4-byte instruction on S390.
17319
8908fca5
JB
173202014-11-19 Joel Brobecker <brobecker@adacore.com>
17321
17322 * gdb.ada/arr_arr: New testcase.
17323
4a46959e
JB
173242014-11-19 Joel Brobecker <brobecker@adacore.com>
17325
17326 * gdb.ada/pkd_arr_elem: New Testcase.
17327
470e2f4e
LM
173282014-11-18 Luis Machado <lgustavo@codesourcery.com>
17329
17330 * gdb.reverse/break-precsave: Expect completion message for
17331 core file reads.
17332 * gdb.reverse/consecutive-precsave.exp: Likewise.
17333 * gdb.reverse/finish-precsave.exp: Likewise.
17334 * gdb.reverse/i386-precsave.exp: Likewise.
17335 * gdb.reverse/machinestate-precsave.exp: Likewise.
17336 * gdb.reverse/sigall-precsave.exp: Likewise.
17337 * gdb.reverse/solib-precsave.exp: Likewise.
17338 * gdb.reverse/step-precsave.exp: Likewise.
17339 * gdb.reverse/until-precsave.exp: Likewise.
17340 * gdb.reverse/watch-precsave.exp: Likewise.
17341
a267f3ad
AA
173422014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17343
17344 * gdb.base/bp-permanent.c: Include unistd.h.
17345 * gdb.python/py-framefilter-mi.c (main): Add return type.
17346 * gdb.python/py-framefilter.c (main): Likewise.
17347 * gdb.trace/actions-changed.c (main): Likewise.
17348
12084a9a
AA
173492014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17350
17351 * gdb.mi/until.c: Add eye-catchers.
17352 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17353 line numbers.
17354
dc7e1a77
AA
173552014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17356
17357 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17358 function header variants in break1.c.
17359 * gdb.base/ena-dis-br.exp: Likewise.
17360 * gdb.base/hbreak2.exp: Likewise.
17361 * gdb.reverse/until-precsave.exp: Drop references to removed
17362 non-prototype function header variants in ur1.c.
17363 * gdb.reverse/until-reverse.exp: Likewise.
17364
41c77605
PM
173652014-11-17 Petr Machata <pmachata@redhat.com>
17366
17367 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17368 ${_cu_offset_size} bytes abbrev offset.
17369
34248c3a
DE
173702014-11-15 Doug Evans <xdje42@gmail.com>
17371
17372 PR symtab/17559
17373 * gdb.base/line-symtabs.exp: New file.
17374 * gdb.base/line-symtabs.c: New file.
17375 * gdb.base/line-symtabs.h: New file.
17376
646da059
YQ
173772014-11-14 Yao Qi <yao@codesourcery.com>
17378
17379 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17380 (func): Add label func_label.
17381 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17382 Replace low_pc and high_pc with MACRO_AT_range.
17383 Replace name, low_pc and high_pc with MACRO_AT_func.
17384
9301ebe6
YQ
173852014-11-14 Yao Qi <yao@codesourcery.com>
17386
17387 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17388 Replace name, low_pc and high_pc with MACRO_AT_func.
17389
f166b542
YQ
173902014-11-14 Yao Qi <yao@codesourcery.com>
17391
17392 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17393 produce debug information.
17394 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17395
0f6e71e3
YQ
173962014-11-14 Yao Qi <yao@codesourcery.com>
17397
17398 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17399 object and get function length.
17400 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17401 with MACRO_AT_func.
17402 (top-level): Replace gdb_compile and clean_restart with
17403 prepare_for_testing.
17404 * gdb.dwarf2/main.c (main): Add label main_label.
17405
876c4df9
YQ
174062014-11-14 Yao Qi <yao@codesourcery.com>
17407
17408 * lib/dwarf.exp (function_range): New procedure.
17409 (Dwarf::_handle_macro_at_func): New procedure.
17410 (Dwarf::_handle_macro_at_range): New procedure.
17411 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17412
02ad9cf1
YQ
174132014-11-14 Yao Qi <yao@codesourcery.com>
17414
17415 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17416 (_handle_attribute): New procedure.
17417
a59add0c
AA
174182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17419
17420 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17421 * gdb.base/call-sc.c (zed): Likewise.
17422 * gdb.base/checkpoint.c (main): Likewise.
17423 * gdb.base/dump.c (main): Likewise.
17424 * gdb.base/gcore.c (main): Likewise.
17425 * gdb.base/huge.c (main): Likewise.
17426 * gdb.base/multi-forks.c (main): Likewise.
17427 * gdb.base/pr10179-a.c (main): Likewise.
17428 * gdb.base/savedregs.c (main): Likewise.
17429 * gdb.base/sigaltstack.c (main): Likewise.
17430 * gdb.base/siginfo.c (main): Likewise.
17431 * gdb.base/structs.c (zed): Likewise.
17432 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17433 * gdb.mi/mi-syn-frame.c (main): Likewise.
17434 * gdb.mi/until.c (foo, main): Likewise.
17435 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17436 * gdb.base/solib-weak.c (foo): Declare.
17437 * gdb.base/attach-twice.c: Include stdio.h.
17438 * gdb.base/weaklib1.c: Likewise.
17439 * gdb.base/weaklib2.c: Likewise.
17440 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17441 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17442 unistd.h.
17443 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17444 * gdb.mi/mi-exit-code.c: Likewise.
17445 * gdb.base/break-interp-lib.c: Include string.h.
17446 * gdb.base/coremaker.c: Likewise.
17447 * gdb.base/testenv.c: Likewise.
17448 * gdb.python/py-finish-breakpoint.c: Likewise.
17449 * gdb.base/inferior-died.c: Include sys/wait.h.
17450 * gdb.base/fileio.c: Include time.h.
17451 * gdb.base/async-shell.c: Include unistd.h.
17452 * gdb.base/dprintf-non-stop.c: Likewise.
17453 * gdb.base/info-os.c: Likewise.
17454 * gdb.mi/mi-console.c: Likewise.
17455 * gdb.mi/watch-nonstop.c: Likewise.
17456 * gdb.python/py-events.c: Likewise.
17457 * gdb.base/async.c (baz): Move up before its invocation.
17458 * gdb.base/code_elim2.c (my_global_func): Likewise.
17459 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17460 * gdb.base/advance.c (func2): Likewise.
17461
3b5d5997
AA
174622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17463
17464 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17465 variant.
17466 * gdb.base/annota3.c: Likewise.
17467 * gdb.base/async.c: Likewise.
17468 * gdb.base/average.c: Likewise.
17469 * gdb.base/call-ar-st.c: Likewise.
17470 * gdb.base/call-rt-st.c: Likewise.
17471 * gdb.base/call-sc.c: Likewise.
17472 * gdb.base/call-strs.c: Likewise.
17473 * gdb.base/ending-run.c: Likewise.
17474 * gdb.base/execd-prog.c: Likewise.
17475 * gdb.base/exprs.c: Likewise.
17476 * gdb.base/foll-exec.c: Likewise.
17477 * gdb.base/foll-fork.c: Likewise.
17478 * gdb.base/foll-vfork.c: Likewise.
17479 * gdb.base/funcargs.c: Likewise.
17480 * gdb.base/gcore.c: Likewise.
17481 * gdb.base/jump.c: Likewise.
17482 * gdb.base/langs0.c: Likewise.
17483 * gdb.base/langs1.c: Likewise.
17484 * gdb.base/langs2.c: Likewise.
17485 * gdb.base/mips_pro.c: Likewise.
17486 * gdb.base/nodebug.c: Likewise.
17487 * gdb.base/opaque0.c: Likewise.
17488 * gdb.base/opaque1.c: Likewise.
17489 * gdb.base/recurse.c: Likewise.
17490 * gdb.base/run.c: Likewise.
17491 * gdb.base/scope0.c: Likewise.
17492 * gdb.base/scope1.c: Likewise.
17493 * gdb.base/setshow.c: Likewise.
17494 * gdb.base/setvar.c: Likewise.
17495 * gdb.base/shmain.c: Likewise.
17496 * gdb.base/shr1.c: Likewise.
17497 * gdb.base/shr2.c: Likewise.
17498 * gdb.base/sigall.c: Likewise.
17499 * gdb.base/signals.c: Likewise.
17500 * gdb.base/so-indr-cl.c: Likewise.
17501 * gdb.base/solib2.c: Likewise.
17502 * gdb.base/structs.c: Likewise.
17503 * gdb.base/sum.c: Likewise.
17504 * gdb.base/vforked-prog.c: Likewise.
17505 * gdb.base/watchpoint.c: Likewise.
17506 * gdb.reverse/shr2.c: Likewise.
17507 * gdb.reverse/until-reverse.c: Likewise.
17508 * gdb.reverse/ur1.c: Likewise.
17509 * gdb.reverse/watch-reverse.c: Likewise.
17510
066a77c5
AA
175112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17512
17513 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17514 variant.
17515 * gdb.base/sepdebug.exp: Drop references to removed code.
17516
4f204ea5
AA
175172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17518
17519 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17520 variant. Preserve original line numbering.
17521 * gdb.base/list1.c: Likewise.
17522
3b377a3a
AA
175232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17524
17525 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17526 variant.
17527 * gdb.base/break1.c: Likewise.
17528 * gdb.base/break.exp: Drop references to removed code.
17529
e444df73
AA
175302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17531
17532 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17533 variant.
17534
8008f2a7
AA
175352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17536
17537 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17538
a5a06887
AA
175392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17540
17541 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17542 logic into perform_all_tests() and invoke it with and without
17543 function header prototypes.
17544 (do_function_calls): Remove conditional XFAIL for PR 5318.
17545 (rerun_and_prepare): Remove duplicate code.
17546 (perform_all_tests): New. Main logic moved here.
17547
44dba9b9
AA
175482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17549
17550 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17551 code guarded by #ifdef NO_PROTOTYPES.
17552 (t_double_many_args): Likewise.
17553 (DEF_FUNC_MANY_ARGS_1): Likewise.
17554 (DEF_FUNC_VALUES_1): Likewise.
17555 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17556 guarded by #ifdef PROTOTYPES.
17557
d1fbcd56
AA
175582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17559
17560 * gdb.mi/mi-console.c: Add eye-catcher.
17561 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17562 instead of literal line number.
17563
b0e59b8f
AA
175642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17565
17566 * gdb.base/shr2.c: Add eye-catcher.
17567 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17568 line number.
17569
78f98cca
AA
175702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17571
17572 * gdb.base/jump.c: Add eye-catchers.
17573 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17574 numbers.
17575
58fa2af0
AA
175762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17577
17578 * gdb.base/execd-prog.c: Add eye-catchers.
17579 * gdb.base/foll-exec.c: Likewise.
17580 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17581 line numbers.
17582
04e5059b
AA
175832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17584
17585 * gdb.base/ending-run.c: Add eye-catchers.
17586 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17587 literal line numbers.
17588
dbfdb174
AA
175892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17590
17591 * gdb.base/call-rt-st.c: Add eye-catchers.
17592 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17593 literal line numbers.
17594
888a2ade
AA
175952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17596
17597 * gdb.base/call-ar-st.c: Add eye-catchers.
17598 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17599 literal line numbers.
17600
6acc2dde
AA
176012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17602
17603 * gdb.base/average.c: Add eye-catchers.
17604 * gdb.base/sum.c: Likewise.
17605 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17606 regexps dynamically.
17607
9ecfcd1d
AA
176082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17609
17610 * gdb.base/solib1.c: Add eye-catchers.
17611 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17612 literal line numbers.
17613
78708b7c
PA
176142014-11-12 Pedro Alves <palves@redhat.com>
17615
17616 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17617 leader has exited.
17618
af48d08f
PA
176192014-11-12 Pedro Alves <palves@redhat.com>
17620
17621 * gdb.arch/i386-bp_permanent.c: New file.
17622 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17623 (srcfile): Set to i386-bp_permanent.c.
17624 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17625 that stepi does not execute the 'leave' instruction, instead of
17626 testing it does execute.
17627 * gdb.base/bp-permanent.c: New file.
17628 * gdb.base/bp-permanent.exp: New file.
17629
af3768e9
DE
176302014-11-10 Doug Evans <xdje42@gmail.com>
17631
17632 PR symtab/17564
17633 * gdb.base/symtab-search-order.exp: New file.
17634 * gdb.base/symtab-search-order.c: New file.
17635 * gdb.base/symtab-search-order-1.c: New file.
17636 * gdb.base/symtab-search-order-shlib-1.c: New file.
17637
9de00a4a
PA
176382014-11-07 Pedro Alves <palves@redhat.com>
17639
17640 PR gdb/17511
17641 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17642 i?86-*-linux*.
17643
e0f52461
SC
176442014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17645
17646 PR c++/17494
17647 * gdb.cp/pr17494.cc: New file.
17648 * gdb.cp/pr17494.exp: New file.
17649
6ce8c980
YQ
176502014-11-02 Yao Qi <yao@codesourcery.com>
17651
17652 * gdb.python/python.exp: Get working directory and match the
17653 output of "set extended-prompt \\w " with it.
17654
02be9a71
DE
176552014-10-30 Doug Evans <dje@google.com>
17656
17657 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17658 in objfiles.
17659 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17660 in progspaces.
17661
3bdff46b
LM
176622014-10-30 Janis Johnson <janisjo@codesourcery.com>
17663
17664 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17665 * gdb.base/realname-expand.exp: Likewise.
17666 * gdb.linespec/macro-relative.exp: Likewise.
17667
ab917dfb
PA
176682014-10-29 Pedro Alves <palves@redhat.com>
17669
17670 PR gdb/17408
17671 * gdb.threads/schedlock.c (some_function): New function.
17672 (call_function): New global.
17673 (MAYBE_CALL_SOME_FUNCTION): New macro.
17674 (thread_function): Call it.
17675 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17676 and use it instead of a global counter. Adjust all callers.
17677 (get_current_thread): Use "find current thread" for test message
17678 here rather than having all callers pass down the same string.
17679 (goto_loop): New procedure, factored out from ...
17680 (my_continue): ... this.
17681 (step_ten_loops): Change parameter from test message to command to
17682 use. Adjust.
17683 (list_count): Delete global.
17684 (check_result): New procedure, factored out from duplicate top
17685 level code.
17686 (continue tests): Wrap in with_test_prefix.
17687 (test_step): New procedure, factored out from duplicate top level
17688 code.
17689 (top level): Test "step" in combination with all scheduler-locking
17690 modes. Test "next" in combination with all scheduler-locking
17691 modes, and in combination with stepping over a function call or
17692 not.
17693 * gdb.threads/next-bp-other-thread.c: New file.
17694 * gdb.threads/next-bp-other-thread.exp: New file.
17695
d3d4baed
PA
176962014-10-29 Pedro Alves <palves@redhat.com>
17697
17698 PR python/17372
17699 * gdb.python/python.exp: Test a multi-line command that spawns
17700 interactive Python.
17701 * gdb.base/multi-line-starts-subshell.exp: New file.
17702
563e8d85
YQ
177032014-10-29 Yao Qi <yao@codesourcery.com>
17704
17705 * gdb.base/fileio.exp: Make directories on host.
17706
0ea4d52e
YQ
177072014-10-29 Yao Qi <yao@codesourcery.com>
17708
17709 * gdb.base/fileio.c (test_write): Close the file.
17710
7f5ef605
PA
177112014-10-28 Pedro Alves <palves@redhat.com>
17712
17713 PR gdb/12623
17714 * gdb.base/sigstep.c (no_handler): New global.
17715 (main): If 'no_handler is true, set the signal handlers to
17716 SIG_IGN.
17717 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17718 with_sw_watch and no_handler parameters. Handle them.
17719 (top level) <stepping over handler when stopped at a breakpoint
17720 test>: Add a test axis for testing with a software watchpoint, and
17721 another for testing with the signal handler set to SIG_IGN.
17722 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17723 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17724
abbdbd03
PA
177252014-10-28 Pedro Alves <palves@redhat.com>
17726
17727 PR gdb/17511
17728 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17729 * gdb.base/sigstep.exp (other_handler_location): New global.
17730 (advance): Support stepping into the signal handler, and running
17731 commands while in the handler.
17732 (in_handler_map): New global.
17733 (top level): In the advance test, add combinations for getting
17734 into the handler with stepping commands, and for running commands
17735 in the handler. Add comment descripting the advancei tests.
17736
1df4399f
PA
177372014-10-28 Pedro Alves <palves@redhat.com>
17738
17739 * gdb.base/sigstep.exp: Use build_executable instead of
17740 prepare_for_testing.
17741 (top level): Move code that starts GDB, runs to main and creates a
17742 display to ...
17743 (restart): ... this new procedure.
17744 (top level): Move backtrace from signal handler test to ...
17745 (validate_backtrace): ... this new procedure.
17746 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17747 with_test_prefix. Always restart GDB.
17748 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17749 with_test_prefix. Always restart GDB. No need to delete
17750 breakpoints after the test.
17751 (test_skip_handler): Remove prefix parameter.
17752 (skip_over_handler, breakpoint_to_handler)
17753 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17754 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17755 restart GDB. No need to delete breakpoints after the test.
17756 (top level): Use foreach to call the test procedures with
17757 different commands.
17758
a5b6e449
PA
177592014-10-28 Pedro Alves <palves@redhat.com>
17760
17761 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17762 instead of GNATS numbers.
17763 * gdb.base/sigbpt.exp: Likewise.
17764 * gdb.base/siginfo.exp: Likewise.
17765 * gdb.base/sigstep.exp: Likewise.
17766
e5f8a7cc
PA
177672014-10-27 Pedro Alves <palves@redhat.com>
17768
17769 * gdb.base/sigstep.c (dummy): New global.
17770 (main): Issue a couple writes to the new global.
17771 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17772 procedures.
17773 (skip_over_handler): Use test_skip_handler.
17774 (top level): Call skip_over_handler for stepi and nexti too.
17775 (breakpoint_over_handler): Use test_skip_handler.
17776 (top level): Call breakpoint_over_handler for stepi and nexti too.
17777
763905a3
YQ
177782014-10-27 Yao Qi <yao@codesourcery.com>
17779
17780 * gdb.trace/tfile.c (adjust_function_address)
17781 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17782 function descriptor.
17783
6f259a23
DB
177842014-10-24 Don Breazeal <donb@codesourcery.com>
17785
17786 * gdb.base/foll-fork.exp (test_follow_fork,
17787 catch_fork_child_follow): Check for updated fork messages emitted
17788 from infrun.c.
17789 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17790 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17791 vfork_and_exec_child_follow_through_step): Check for updated vfork
17792 messages emitted from infrun.c.
17793
09dd9a69
PA
177942014-10-24 Pedro Alves <palves@redhat.com>
17795
17796 * gdb.base/corefile.exp: Remove references to ultrix.
17797 * gdb.base/interrupt.exp: Likewise.
17798 * gdb.base/whatis.exp: Likewise.
17799 * gdb.gdb/selftest.exp: Likewise.
17800 * gdb.threads/manythreads.exp: Likewise.
17801 * gdb.threads/print-threads.exp: Likewise.
17802 * gdb.threads/pthreads.exp:: Likewise.
17803 * gdb.threads/schedlock.exp: Likewise.
17804
3433cfa5
SC
178052014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17806
17807 * gdb.cp/non-trivial-retval.cc: Add a test case.
17808 * gdb.cp/non-trivial-retval.exp: Add a test.
17809
092f880b
YQ
178102014-10-20 Yao Qi <yao@codesourcery.com>
17811
17812 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17813 * gdb.python/py-objfile-script-gdb.py: New file.
17814 * gdb.python/py-objfile-script.exp: Update reference to
17815 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17816 of remote_download. Remove the dest file.
17817
acbdb7f3
YQ
178182014-10-20 Yao Qi <yao@codesourcery.com>
17819
17820 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17821 * gdb.base/step-line.exp: Likewise.
17822 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17823 * gdb.dwarf2/dw2-basic.exp: Likewise.
17824 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17825 * gdb.dwarf2/dw2-filename.exp: Likewise.
17826 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17827 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17828 * gdb.dwarf2/dw2-producer.exp: Likewise.
17829 * gdb.dwarf2/mac-fileno.exp: Likewise.
17830 * gdb.python/py-frame-args.exp: Likewise.
17831 * gdb.python/py-framefilter.exp: Likewise.
17832 * gdb.python/py-mi.exp: Likewise.
17833 * gdb.python/py-objfile-script.exp: Likewise
17834 * gdb.python/py-pp-integral.exp: Likewise.
17835 * gdb.python/py-pp-re-notag.exp: Likewise.
17836 * gdb.python/py-prettyprint.exp: Likewise.
17837 * gdb.python/py-section-script.exp: Likewise.
17838 * gdb.python/py-typeprint.exp: Likewise.
17839 * gdb.python/py-xmethods.exp: Likewise.
17840 * gdb.stabs/weird.exp: Likewise.
17841 * gdb.xml/tdesc-regs.exp: Likewise.
17842
bd286a29
KCY
178432014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17844
17845 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17846 (out_cu): Use addr_len for the size of addresses.
17847 (out_line): Likewise. Size DW_LNE_set_address instruction
17848 according to addr_len.
17849 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17850 (FUNC): Add START_INSNS to definition.
17851
673dc4a0
YQ
178522014-10-18 Yao Qi <yao@codesourcery.com>
17853
17854 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17855 gdb_has_argv0 return true.
17856 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17857 check [target_info exists noargs], check [gdb_has_argv0]
17858 instead.
17859 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17860 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17861 procedures.
17862
4ffbba72
DE
178632014-10-17 Doug Evans <dje@google.com>
17864
17865 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17866 event.
17867 * gdb.python/py-events.py: Add clear_objfiles event.
17868
d096d8c1
DE
178692014-10-17 Doug Evans <dje@google.com>
17870
17871 * gdb.python/py-objfile.exp: Test progspace attribute.
17872
a80db015
LM
178732014-10-17 Luis Machado <lgustavo@codesourcery.com>
17874
17875 * gdb.guile/scm-breakpoint.exp: Do not assume any
17876 directory separators when matching source file paths.
17877 * gdb.python/py-breakpoint.exp: Likewise.
17878 * gdb.reverse/break-precsave.exp: Likewise.
17879 * gdb.reverse/break-reverse.exp: Likewise.
17880 * gdb.reverse/consecutive-precsave.exp: Likewise.
17881 * gdb.reverse/finish-precsave.exp: Likewise.
17882 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17883 * gdb.reverse/finish-reverse.exp: Likewise.
17884 * gdb.reverse/i386-precsave.exp: Likewise.
17885 * gdb.reverse/i387-env-reverse.exp: Likewise.
17886 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17887 * gdb.reverse/machinestate-precsave.exp: Likewise.
17888 * gdb.reverse/machinestate.exp: Likewise.
17889 * gdb.reverse/sigall-precsave.exp: Likewise.
17890 * gdb.reverse/solib-precsave.exp: Likewise.
17891 * gdb.reverse/step-precsave.exp: Likewise.
17892 * gdb.reverse/until-precsave.exp: Likewise.
17893 * gdb.reverse/watch-precsave.exp: Likewise.
17894 * gdb.reverse/watch-reverse.exp: Likewise.
17895
b22089ab
YQ
178962014-10-17 Yao Qi <yao@codesourcery.com>
17897
17898 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17899 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17900
6c4486e6
PA
179012014-10-17 Pedro Alves <palves@redhat.com>
17902
17903 PR gdb/17471
17904 * gdb.base/bg-execution-repeat.c: New file.
17905 * gdb.base/bg-execution-repeat.exp: New file.
17906
0ff33695
PA
179072014-10-17 Pedro Alves <palves@redhat.com>
17908
17909 PR gdb/17300
17910 * gdb.base/continue-all-already-running.c: New file.
17911 * gdb.base/continue-all-already-running.exp: New file.
17912
6fdebc3d
PA
179132014-10-17 Pedro Alves <palves@redhat.com>
17914
17915 PR gdb/17472
17916 * gdb.base/annota-input-while-running.c: New file.
17917 * gdb.base/annota-input-while-running.exp: New file.
17918
32a8097b
PA
179192014-10-17 Pedro Alves <palves@redhat.com>
17920
17921 * gdb.base/callfuncs.exp: emove references to osf.
17922 * gdb.base/sigall.exp: Likewise.
17923 * gdb.gdb/selftest.exp: Likewise.
17924 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17925 * gdb.mi/non-stop.c: Likewise.
17926 * gdb.mi/pthreads.c: Likewise.
17927 * gdb.reverse/sigall-precsave.exp: Likewise.
17928 * gdb.reverse/sigall-reverse.exp: Likewise.
17929 * gdb.threads/pthreads.c: Likewise.
17930 * gdb.threads/pthreads.exp: Likewise.
17931
7a3517ff
YQ
179322014-10-17 Yao Qi <yao@codesourcery.com>
17933
17934 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17935 check 'target_info exists noargs'.
17936 (test_command_prompt_position): Likewise.
17937 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17938 Remove "set args".
17939 (progvar_simple_while_test): Likewise.
17940 (progvar_complex_if_while_test): Likewise.
17941 (if_while_breakpoint_command_test): Likewise.
17942 (infrun_breakpoint_command_test): Likewise.
17943 (breakpoint_command_test): Likewise.
17944 (watchpoint_command_test): Likewise.
17945 (bp_deleted_in_command_test): Likewise.
17946 (temporary_breakpoint_commands): Likewise.
17947
bb99c472
YQ
179482014-10-16 Yao Qi <yao@codesourcery.com>
17949
17950 * gdb.base/remotetimeout.exp: Remove noargs checking.
17951
7c16b83e
PA
179522014-10-15 Pedro Alves <palves@redhat.com>
17953
17954 PR breakpoints/9649
17955 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17956 * gdb.base/breakpoint-in-ro-region.exp
17957 (probe_target_hardware_step): New procedure.
17958 (top level): Probe hardware stepping and hardware breakpoint
17959 support. Test stepping through a read-only region, with both
17960 "breakpoint auto-hw" on and off and both "always-inserted" on and
17961 off.
17962
35a49624
IB
179632014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17964
17965 * gdb.dlang/demangle.exp: Update for demangling changes.
17966
2d1c107c
SC
179672014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17968
17969 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17970 * gdb.cp/non-trivial-retval.exp: Add new tests.
17971
778811d5
SC
179722014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17973
17974 PR c++/13403
17975 PR c++/15154
17976 * gdb.cp/non-trivial-retval.cc: New file.
17977 * gdb.cp/non-trivial-retval.exp: New file.
17978
10c5f0a8
YQ
179792014-10-15 Yao Qi <yao@codesourcery.com>
17980
17981 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17982 remote host.
17983
65d7b369
YQ
179842014-10-15 Yao Qi <yao@codesourcery.com>
17985
17986 * gdb.python/py-symbol.exp: Match file base name if host is
17987 remote, otherwise match file name with dir name.
17988 * gdb.python/py-symtab.exp: Likewise.
17989 * gdb.python/python.exp: Likewise.
17990
46dc1394
YQ
179912014-10-15 Yao Qi <yao@codesourcery.com>
17992
17993 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17994 pattern.
17995 * gdb.python/py-symtab.exp: Likewise.
17996 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17997 locationn.
17998
c40cc657
JB
179992014-10-14 Joel Brobecker <brobecker@adacore.com>
18000
18001 * gdb.ada/addr_arith: New testcase.
18002
2abf49e1
MR
180032014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18004
18005 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18006 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18007 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18008 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18009
f7088df3
SDJ
180102014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18011
18012 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18013 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18014 * gdb.arch/stap-eval-lang-ada.exp: New file.
18015
4dc06805
YQ
180162014-10-14 Yao Qi <yao@codesourcery.com>
18017
18018 * gdb.mi/mi-var-child.c (nothing1): New function.
18019 (nothing2): New function.
18020 (do_children_tests): Set function pointers by nothing1 and
18021 nothing2.
18022 * gdb.mi/mi-var-child.exp: Step over new added statements.
18023 Update test to match the new output.
18024 * gdb.mi/var-cmd.c (nothing1): New function.
18025 (nothing2): New function.
18026 (do_children_tests): Set function pointers by nothing1 and
18027 nothing2.
18028 * gdb.mi/mi-var-display.exp: Update test to match output.
18029 Step to the line specified by $line_dct_nothing.
18030 Increase the number of lines to step.
18031
46a93de2
YQ
180322014-10-14 Yao Qi <yao@codesourcery.com>
18033
18034 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18035 tests.
18036 * gdb.mi/mi2-var-child.exp: Likewise.
18037
14ea52ee
DE
180382014-10-13 Doug Evans <dje@google.com>
18039
18040 * gdb.python/py-objfile.exp: Change name of file name test.
18041
e5c6e92b
DE
180422014-10-13 Doug Evans <dje@google.com>
18043
18044 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18045 from the start of the CU.
18046
c780cc2f
JK
180472014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18048 Yao Qi <yao@codesourcery.com>
18049
18050 Fix "save breakpoints" for "catch" command.
18051 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18052 Remove -nonewline. Match also the added "main" line.
18053
99894e11
JK
180542014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18055
18056 Fix "save breakpoints" for "disable $bpnum" command.
18057 * gdb.base/save-bp.c (main): Add label.
18058 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18059
6e1ac5a3
JK
180602014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18061
18062 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18063
754dd2b0
YQ
180642014-10-11 Yao Qi <yao@codesourcery.com>
18065
18066 * gdb.server/server-kill.exp: Execute command
18067 "set remote trace-status-packet on" before "tstatus".
18068
f90183d7
YQ
180692014-10-11 Yao Qi <yao@codesourcery.com>
18070
18071 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18072 (main): Call getppid.
18073 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18074 and continue to it. Read variable "server_pid".
18075
bf40a607
YQ
180762014-10-11 Yao Qi <yao@codesourcery.com>
18077
18078 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18079
052ca370
YQ
180802014-10-11 Yao Qi <yao@codesourcery.com>
18081
18082 * gdb.threads/thread-find.exp: Don't execute command
18083 "info threads".
18084 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18085 * gdb.threads/linux-dp.exp: Don't check the condition
18086 $threads_created equals to zero.
18087
3831839c
PA
180882014-10-10 Pedro Alves <palves@redhat.com>
18089
18090 * gdb.base/bigcore.exp: Remove references to IRIX.
18091 * gdb.base/funcargs.exp: Likewise.
18092 * gdb.base/interrupt.exp: Likewise.
18093 * gdb.base/mips_pro.exp: Likewise.
18094 * gdb.base/nodebug.exp: Likewise.
18095 * gdb.base/setvar.exp: Likewise.
18096 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18097
8b9a549d
PA
180982014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18099 Pedro Alves <palves@redhat.com>
18100
18101 PR symtab/14466
18102 * gdb.base/vdso-warning.c: New file.
18103 * gdb.base/vdso-warning.exp: New file.
18104
d48ba5e8
DE
181052014-10-02 Doug Evans <dje@google.com>
18106
18107 * gdb.base/structs.c (main): Don't run forever.
18108
2278c276
PA
181092014-10-02 Pedro Alves <palves@redhat.com>
18110
18111 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18112 (top level) <stop threads 1, stop threads 2>: Use it.
18113
b57bacec
PA
181142014-10-02 Pedro Alves <palves@redhat.com>
18115
18116 * gdb.threads/break-while-running.exp (test): Add new
18117 'update_thread_list' argument. Skip "info threads" if false.
18118 (top level): Add new 'update_thread_list' axis.
18119
13fd3ff3
PA
181202014-10-02 Pedro Alves <palves@redhat.com>
18121
18122 PR breakpoints/17431
18123 * gdb.base/execl-update-breakpoints.c: New file.
18124 * gdb.base/execl-update-breakpoints.exp: New file.
18125
0fec99e8
PA
181262014-10-01 Pedro Alves <palves@redhat.com>
18127
18128 * gdb.base/breakpoint-in-ro-region.c: New file.
18129 * gdb.base/breakpoint-in-ro-region.exp: New file.
18130
2ddf4301
SM
181312014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18132
18133 * gdb.mi/mi-exit-code.exp: New file.
18134 * gdb.mi/mi-exit-code.c: New file.
18135
6a5f3f43
YQ
181362014-09-30 Yao Qi <yao@codesourcery.com>
18137
18138 * lib/prelink-support.exp (build_executable_own_libs): Error if
18139 the target isn't native.
18140
345bcc73
YQ
181412014-09-30 Yao Qi <yao@codesourcery.com>
18142
18143 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18144 false.
18145
a25a5a45
PA
181462014-09-22 Pedro Alves <palves@redhat.com>
18147
18148 * gdb.threads/break-while-running.exp: New file.
18149 * gdb.threads/break-while-running.c: New file.
18150
00ba3162
YQ
181512014-09-19 Yao Qi <yao@codesourcery.com>
18152
18153 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18154 Invoke test. Restart GDB with --readnow and invoke test again.
18155
c3b7b696
YQ
181562014-09-19 Yao Qi <yao@codesourcery.com>
18157
18158 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18159 proc set_breakpoint_on_gcd_function. Invoke
18160 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18161 invoke set_breakpoint_on_gcd_function again.
18162
2b4fd423
DE
181632014-09-18 Doug Evans <dje@google.com>
18164
18165 * gdb.dwarf2/symtab-producer.exp: New file.
18166
a5947601
SDJ
181672014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18168
18169 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18170 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18171 * gdb.base/global-var-nested-by-dso.c: Likewise.
18172 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18173
91c19059
SDJ
181742014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18175 Pedro Alves <palves@redhat.com>
18176
18177 * gdb.base/watch-bitfields.exp: Pass string other than test file
18178 name to prepare_for_testing.
18179 (watch): New procedure.
18180 (expect_watchpoint): Use with_test_prefix.
18181 (top level): Factor out tests to ...
18182 (test_watch_location, test_regular_watch): ... these new
18183 procedures, and use with_test_prefix and gdb_continue_to_end.
18184
bb9d5f81
PP
181852014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18186
18187 PR breakpoints/12526
18188 * gdb.base/watch-bitfields.exp: New file.
18189 * gdb.base/watch-bitfields.c: New file.
18190
635856f5
PA
181912014-09-16 Pedro Alves <palves@redhat.com>
18192
18193 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18194 software and hardware addresses, not software address against
18195 itself.
18196
7280ceea
PA
181972014-09-16 Pedro Alves <palves@redhat.com>
18198
18199 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18200 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18201
428b16bd
PA
182022014-09-16 Pedro Alves <palves@redhat.com>
18203
18204 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18205 files.
18206 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18207 "*-*-vxworks*" throughout.
18208 * gdb.base/break.exp: Likewise.
18209 * gdb.base/default.exp: Likewise.
18210 * gdb.base/scope.exp: Likewise.
18211 * gdb.base/sepdebug.exp: Likewise.
18212 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18213 throughout.
18214 * gdb.base/run.c: Likewise.
18215 * gdb.base/sepdebug.c: Likewise.
18216 * gdb.hp/gdb.aCC/run.c: Likewise.
18217 * gdb.reverse/until-reverse.c: Likewise.
18218 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18219
666d413c
YQ
182202014-09-16 Yao Qi <yao@codesourcery.com>
18221
18222 * boards/local-remote-host-native.exp: New file.
18223
57cbd724
DE
182242014-09-14 Doug Evans <xdje42@gmail.com>
18225
18226 * gdb.threads/queue-signal.c (thread_count): New variable.
18227 (thread_count_mutex, thread_count_condvar): New variables.
18228 (incr_thread_count, wait_all_threads_running): New functions.
18229 (main): Wait for all threads to be in their thread functions.
18230
81219e53
DE
182312014-09-13 Doug Evans <xdje42@gmail.com>
18232
18233 * gdb.threads/queue-signal.c: New file.
18234 * gdb.threads/queue-signal.exp: New file.
18235
3714cea7
DE
182362014-09-13 Doug Evans <xdje42@gmail.com>
18237
18238 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18239 be consistent with what default_gdb_init uses.
18240 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18241 the plain text of the prompt. Add some logging printfs.
18242 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18243
fa43b1d7
PA
182442014-09-12 Pedro Alves <palves@redhat.com>
18245
18246 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18247 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18248 * gdb.arch/i386-size-overlap.exp: Likewise.
18249 * gdb.arch/i386-size.exp: Likewise.
18250 * gdb.arch/i386-unwind.exp: Likewise.
18251 * gdb.base/a2-run.exp: Likewise.
18252 * gdb.base/break.exp: Likewise.
18253 * gdb.base/charset.exp: Likewise.
18254 * gdb.base/chng-syms.exp: Likewise.
18255 * gdb.base/commands.exp: Likewise.
18256 * gdb.base/dbx.exp: Likewise.
18257 * gdb.base/find.exp: Likewise.
18258 * gdb.base/funcargs.exp: Likewise.
18259 * gdb.base/jit-simple.exp: Likewise.
18260 * gdb.base/reread.exp: Likewise.
18261 * gdb.base/sepdebug.exp: Likewise.
18262 * gdb.base/step-bt.exp: Likewise.
18263 * gdb.cp/mb-inline.exp: Likewise.
18264 * gdb.cp/mb-templates.exp: Likewise.
18265 * gdb.objc/basicclass.exp: Likewise.
18266 * gdb.threads/killed.exp: Likewise.
18267
9d9bf2df
EBM
182682014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18269
18270 PR tdep/17379
18271 * gdb.arch/powerpc-stackless.S: New file.
18272 * gdb.arch/powerpc-stackless.exp: New file.
18273
1cf2f1b0
JK
182742014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18275
18276 * gdb.base/attach.c: Include unistd.h.
18277 (main): Call alarm. Add label postloop.
18278 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18279 gdb_breakpoint, gdb_continue_to_breakpoint.
18280 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18281
98880d46
PA
182822014-09-11 Pedro Alves <palves@redhat.com>
18283
18284 PR gdb/17347
18285 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18286 * gdb.base/attach.exp (test_command_line_attach_run): New
18287 procedure.
18288 (top level): Call it.
18289
4c92ff2c
PA
182902014-09-11 Pedro Alves <palves@redhat.com>
18291
18292 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18293 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18294 (do_command_attach_tests): Use spawn_wait_for_attach.
18295 * gdb.base/solib-overlap.exp: Likewise.
18296 * gdb.multi/multi-attach.exp: Likewise.
18297 * gdb.python/py-prompt.exp: Likewise.
18298 * gdb.python/py-sync-interp.exp: Likewise.
18299 * gdb.server/ext-attach.exp: Likewise.
18300
3adc1a7d
GKB
183012014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18302
18303 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18304 command in testcase. Simplify testcase.
18305
96334934
JB
183062014-09-10 Joel Brobecker <brobecker@adacore.com>
18307
18308 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18309
eb479039
JB
183102014-09-10 Joel Brobecker <brobecker@adacore.com>
18311
18312 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18313
deede10c
JB
183142014-09-10 Joel Brobecker <brobecker@adacore.com>
18315
18316 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18317
7828a5f5
JB
183182014-09-10 Joel Brobecker <brobecker@adacore.com>
18319
18320 * gdb.dwarf2/dynarr-ptr.c: New file.
18321 * gdb.dwarf2/dynarr-ptr.exp: New file.
18322
33aeebcf
MR
183232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18324
18325 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18326 of 30 rather than hardcoding 120 for a slow test case. Take the
18327 `gdb,timeout' target setting into account for this calculation.
18328 Don't extend the timeout for the test cases that don't need it.
18329
7b415901
MR
183302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18331
18332 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18333 a factor of 2 for a slow test case. Take the `gdb,timeout'
18334 target setting into account for this calculation.
18335 * gdb.reverse/until-precsave.exp: Increase the timeout by
18336 a factor of 15 and 3 respectively rather than adding 120
18337 for a pair of slow test cases. Take the `gdb,timeout'
18338 target setting into account for this calculation.
18339
4a40f85a
MR
183402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18341
18342 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18343 timeout, don't pass one down to gdb_expect.
18344 (gdb_expect): Rework timeout selection.
18345
09635af7
MR
183462014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18347
18348 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18349 exception on timeout.
18350 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18351 (gdbserver_start_extended): Catch any `gdbserver_start' error
18352 exceptions.
18353 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18354 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18355 `gdbserver_gdb_load' error exceptions.
18356
2bdd10b7
MR
183572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18358
18359 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18360 120 on waiting for the TCP socket to open.
18361
316935f0
DE
183622014-09-09 Doug Evans <xdje42@gmail.com>
18363
18364 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18365 _caller_matches, _any_caller_is, _any_caller_matches.
18366
83740597
DE
183672014-09-09 Doug Evans <xdje42@gmail.com>
18368
18369 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18370
4c122fc3
YQ
183712014-09-09 Yao Qi <yao@codesourcery.com>
18372
18373 * gdb.mi/mi-var-display.exp: Set print symbol off.
18374
a9f116cb
GKB
183752014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18376
18377 PR gdb/17035
18378 * gdb.base/commands.exp: Add tests to verify user-defined
18379 commands with empty bodies.
18380 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18381 python commands in `show user command`.
18382 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18383 scheme commands in `show user command`.
18384
c75bd3a2
JK
183852014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18386
18387 PR python/17355
18388 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18389 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18390 * gdb.python/py-framefilter-invalidarg.exp: New file.
18391 * gdb.python/py-framefilter-invalidarg.py: New file.
18392
faa42425
DE
183932014-09-06 Doug Evans <xdje42@gmail.com>
18394
18395 PR 15276
18396 * gdb.python/py-caller-is.c: New file.
18397 * gdb.python/py-caller-is.exp: New file.
18398
474ca4f6
SDJ
183992014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18400
18401 PR gdb/17235
18402 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18403 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18404
eb0b0463
SDJ
184052014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18406
18407 PR fortran/17237
18408 * gdb.fortran/print-formatted.exp: New file.
18409 * gdb.fortran/print-formatted.f90: Likewise.
18410
5f3b99cf
SS
184112014-09-03 Sasha Smundak <asmundak@google.com>
18412
18413 * gdb.python/py-frame.exp: Test Frame.read_register.
18414
7d793aa9
SDJ
184152014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18416
18417 PR python/16699
18418 * gdb.python/py-completion.exp: New file.
18419 * gdb.python/py-completion.py: Likewise.
18420
fb0576e9
DE
184212014-08-28 Doug Evans <dje@google.com>
18422
18423 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18424 eax,etc. are live with values set by gdb and thus the compiler can't
18425 use them.
18426 * gdb.arch/i386-pseudo.c (main): Ditto.
18427
ee92b0dd
DE
184282014-08-27 Doug Evans <dje@google.com>
18429
18430 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18431
6649db35
DE
184322014-08-25 Doug Evans <dje@google.com>
18433
18434 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18435 (main): Ditto.
18436
564b7600
DE
184372014-08-25 Doug Evans <dje@google.com>
18438
18439 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18440
3881fb67
YQ
184412014-08-24 Yao Qi <yao@codesourcery.com>
18442
18443 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18444 symbol off.
18445 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18446
a05a36a5
DE
184472014-08-22 Doug Evans <dje@google.com>
18448
18449 PR 17276
18450 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18451 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18452 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18453
7c343b48
YQ
184542014-08-22 Yao Qi <yao@codesourcery.com>
18455
18456 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18457 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18458 * gdb.python/python.exp: Likewise. Use .py file on the host
18459 instead of the build.
18460
22fd09ae
JK
184612014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18462
18463 * gdb.threads/gcore-stale-thread.c: New file.
18464 * gdb.threads/gcore-stale-thread.exp: New file.
18465
a8454a7c
PA
184662014-08-21 Pedro Alves <palves@redhat.com>
18467
18468 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18469 * gdb.base/gcore-relro-pie.exp: Likewise.
18470 * gdb.base/gcore-relro.exp: Likewise.
18471 * gdb.base/gcore.exp: Likewise.
18472 * gdb.base/print-symbol-loading.exp: Likewise.
18473 * gdb.threads/gcore-thread.exp: Likewise.
18474 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18475
2a31c623
PA
184762014-08-20 Pedro Alves <palves@redhat.com>
18477 Jan Kratochvil <jan.kratochvil@redhat.com>
18478
18479 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18480 configure.
18481 (EXPECT): Handle READ1 being set.
18482 (all): Depend on EXTRA_RULES.
18483 (check-read1, expect-read1, read1.so, read1): New rules.
18484 * README (Testsuite Parameters): Document the READ1 make variable.
18485 (Race detection): New section.
18486 * configure: Regenerate.
18487 * configure.ac: If build==host==target, and running under a
18488 GNU/glibc system, add read1 to the extra Makefile rules.
18489 (EXTRA_RULES): AC_SUBST it.
18490 * lib/read1.c: New file.
18491
d36430db
JB
184922014-08-20 Joel Brobecker <brobecker@adacore.com>
18493
18494 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18495 the handling of variables declared as a typedef to an array
18496 which a DW_AT_data_location attribute.
18497
9a0dc9e3
PA
184982014-08-19 Andrew Burgess <aburgess@broadcom.com>
18499 Pedro Alves <palves@redhat.com>
18500
18501 PR symtab/14604
18502 PR symtab/14605
18503 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18504 gdb_test.
18505
0718a8da
PA
185062014-08-19 Pedro Alves <palves@redhat.com>
18507
18508 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18509
13b448cd
YQ
185102014-08-19 Yao Qi <yao@codesourcery.com>
18511
18512 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18513 right line.
18514
1cbf5077
DB
185152014-08-18 David Blaikie <dblaikie@gmail.com>
18516
18517 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18518
bf0fae19
JB
185192014-08-18 Joel Brobecker <brobecker@adacore.com>
18520
18521 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18522 attribute in array range.
18523
3c8c5dcc
JB
185242014-08-18 Joel Brobecker <brobecker@adacore.com>
18525
18526 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18527
e66d4446
SC
185282014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18529
18530 PR c++/17132
18531 * gdb.cp/pr17132.cc: New file.
18532 * gdb.cp/pr17132.exp: New file.
18533
940df408
SC
185342014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18535
18536 * gdb.python/py-xmethods.py (A_getarrayind)
18537 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18538 Use 'print' with function call syntax.
18539 (E_method_matcher.match): Fix tab vs space indentation mixup.
18540
ebcc6c3a
YQ
185412014-08-15 Yao Qi <yao@codesourcery.com>
18542
18543 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18544 false.
18545
775e0f04
YQ
185462014-08-15 Yao Qi <yao@codesourcery.com>
18547
18548 * gdb.cp/casts.exp: Set print symbol off.
18549 * gdb.cp/class2.exp: Likewise.
18550 * gdb.cp/overload.exp: Likewise.
18551 * gdb.cp/templates.exp: Likewise.
18552
d769e349
DE
185532014-08-11 Doug Evans <dje@google.com>
18554
18555 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18556 (test_load_shlib): Update.
18557
20c6f1e1
YQ
185582014-08-09 Yao Qi <yao@codesourcery.com>
18559
18560 * gdb.base/display.exp: Invoke is_address_zero_readable.
18561 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18562 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18563 * gdb.base/hbreak-unmapped.exp: Return if
18564 is_address_zero_readable returns true.
18565 * gdb.base/signest.exp: Likewise.
18566 * gdb.base/signull.exp: Likewise.
18567 * gdb.base/sigbpt.exp: Likewise.
18568 * gdb.guile/scm-disasm.exp: Do the test if
18569 is_address_zero_readable returns false.
18570 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18571 * gdb.python/py-arch.exp: Likewise.
18572 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18573 * lib/gdb.exp (is_address_zero_readable): New proc.
18574
5792e8e3
YQ
185752014-08-09 Yao Qi <yao@codesourcery.com>
18576
18577 PR testsuite/13443
18578 * gdb.mi/mi-var-display.exp: Make test messages unique.
18579
3cecbbbe
TT
185802014-08-04 Tom Tromey <tromey@redhat.com>
18581
18582 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18583 target 0".
18584
00b51ff5
TT
185852014-08-04 Tom Tromey <tromey@redhat.com>
18586
18587 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18588 "target_resume".
18589
6908c509
JB
185902014-08-01 Joel Brobecker <brobecker@adacore.com>
18591
18592 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18593 inner_vla_struct_object_size.
18594 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18595 as xfail.
18596
cc6563d2
PA
185972014-07-30 Pedro Alves <palves@redhat.com>
18598
18599 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18600 comment.
18601
7e09a223
YQ
186022014-07-29 Yao Qi <yao@codesourcery.com>
18603
18604 PR gdb/17206
18605 * gdb.base/until-nodebug.exp: New.
18606
7ebdbe92
DE
186072014-07-28 Doug Evans <xdje42@gmail.com>
18608
18609 PR guile/17203
18610 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18611 previously existing parameter, and previously ambiguously spelled
18612 parameter.
18613
fdb1adc6
WN
186142014-07-28 Will Newton <will.newton@linaro.org>
18615
18616 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18617
186fcde0
DE
186182014-07-26 Ludovic Courtès <ludo@gnu.org>
18619 Doug Evans <xdje42@gmail.com>
18620
18621 PR guile/17146
18622 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18623
70509625
PA
186242014-07-25 Pedro Alves <palves@redhat.com>
18625
18626 * gdb.threads/signal-command-handle-nopass.c: New file.
18627 * gdb.threads/signal-command-handle-nopass.exp: New file.
18628 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18629 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18630 * gdb.threads/signal-delivered-right-thread.c: New file.
18631 * gdb.threads/signal-delivered-right-thread.exp: New file.
18632
c3f814a1
PA
186332014-07-25 Pedro Alves <palves@redhat.com>
18634
18635 * gdb.base/double-prompt-target-event-error.exp
18636 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18637 match.
18638 (cancel_pagination_in_target_event): Rework double prompt
18639 detection.
18640 * gdb.base/paginate-after-ctrl-c-running.exp
18641 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18642 <return>' match.
18643 * gdb.base/paginate-bg-execution.exp
18644 (test_bg_execution_pagination_return)
18645 (test_bg_execution_pagination_cancel): Remove '-notransfer
18646 <return>' matches.
18647 * gdb.base/paginate-execution-startup.exp
18648 (test_fg_execution_pagination_return)
18649 (test_fg_execution_pagination_cancel): Remove '-notransfer
18650 <return>' matches.
18651 * gdb.base/paginate-inferior-exit.exp
18652 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18653 match.
18654 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18655 * lib/gdb.exp (pagination_prompt): Run text through
18656 string_to_regexp.
18657 (gdb_test_multiple): Match $pagination_prompt instead of
18658 "<return>".
18659 (string_to_regexp): Move to lib/gdb-utils.exp.
18660
e214cf6c
JK
186612014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18662
18663 * gdb.arch/amd64-entry-value-paramref.S: New file.
18664 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18665 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18666 * gdb.arch/amd64-optimout-repeat.S: New file.
18667 * gdb.arch/amd64-optimout-repeat.c: New file.
18668 * gdb.arch/amd64-optimout-repeat.exp: New file.
18669
17d0c5c8
JK
186702014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18671
18672 PR gdb/17170
18673 * gdb.base/statistics.exp: New file.
18674
b8b8facf
DE
186752014-07-17 Doug Evans <dje@google.com>
18676
74b49205 18677 PR gdb/17170
b8b8facf
DE
18678 * gdb.base/maint.exp: Update testing of per-command stats.
18679
1b5d0ab3
PA
186802014-07-16 Pedro Alves <palves@redhat.com>
18681
18682 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18683 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18684 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18685 (tfile_write_buf): New functions.
18686 (add_memory_block): Rewrite using the above.
18687 (adjust_function_address): New function.
18688 (FUNCTION_ADDRESS): New macro.
18689 (write_basic_trace_file): Remove short_x local, and use
18690 tfile_write_16. Change type of func_addr local to unsigned long
18691 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18692 here. Cast argument of add_memory_block to char pointer.
18693 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18694 (main): Remove parameters.
18695 * gdb.trace/tfile.exp: Remove nowarnings.
18696
4d974e88
SM
186972014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18698
18699 * gdb.base/debug-expr.exp: Test string evaluation with
18700 "debug expression" on.
18701
41e99568
PA
187022014-07-15 Pedro Alves <palves@redhat.com>
18703
18704 * gdb.base/reread.exp: Use clean_restart.
18705
487d9753
PL
187062014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18707
18708 * gdb.arch/avr-flash-qualifer.c: New.
18709 * gdb.arch/avr-flash-qualifer.exp: New.
18710
cc1c52ad
PA
187112014-07-14 Pedro Alves <palves@redhat.com>
18712
18713 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18714 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18715
1e973570
PA
187162014-07-14 Pedro Alves <palves@redhat.com>
18717
18718 * gdb.base/double-prompt-target-event-error.c: New file.
18719 * gdb.base/double-prompt-target-event-error.exp: New file.
18720
93d6eb10
PA
187212014-07-14 Pedro Alves <palves@redhat.com>
18722
18723 PR gdb/17072
18724 * gdb.base/paginate-inferior-exit.c: New file.
18725 * gdb.base/paginate-inferior-exit.exp: New file.
18726
0017922d
PA
187272014-07-14 Pedro Alves <palves@redhat.com>
18728
18729 PR gdb/17072
18730 * gdb.base/paginate-bg-execution.c: New file.
18731 * gdb.base/paginate-bg-execution.exp: New file.
18732
94696ad3
PA
187332014-07-14 Pedro Alves <palves@redhat.com>
18734
18735 PR gdb/17072
18736 * gdb.base/paginate-execution-startup.c: New file.
18737 * gdb.base/paginate-execution-startup.exp: New file.
18738 * lib/gdb.exp (pagination_prompt): New global.
18739 (default_gdb_spawn): New procedure, factored out from
18740 default_gdb_spawn.
18741 (default_gdb_start): Adjust to call default_gdb_spawn.
18742 (gdb_spawn): New procedure.
18743
bd293940
PA
187442014-07-14 Pedro Alves <palves@redhat.com>
18745
18746 * lib/gdb.exp (gdb_assert): New procedure.
18747 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18748
c933f875
PA
187492014-07-14 Pedro Alves <palves@redhat.com>
18750
18751 * gdb.base/execution-termios.c: New file.
18752 * gdb.base/execution-termios.exp: New file.
18753
d98b7a16
TT
187542014-07-14 Tom Tromey <tromey@redhat.com>
18755
18756 * gdb.cp/vla-cxx.cc: New file.
18757 * gdb.cp/vla-cxx.exp: New file.
18758
548740d6
TT
187592014-07-14 Tom Tromey <tromey@redhat.com>
18760
18761 * gdb.reverse/rerun-prec.c: New file.
18762 * gdb.reverse/rerun-prec.exp: New file.
18763
a25eb028
MR
187642014-07-12 Maciej W. Rozycki <macro@mips.com>
18765 Maciej W. Rozycki <macro@codesourcery.com>
18766
18767 * lib/gdb-utils.exp: New file.
18768 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18769 inline `gdb_init_command' processing.
18770 (gdb_start_cmd): Likewise.
18771 * lib/mi-support.exp (mi_run_cmd): Likewise.
18772 * README: Document `gdb_init_command' and `gdb_init_commands'.
18773
218c2655
JK
187742014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18775
18776 Fix false FAIL running under a very long directory name.
18777 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18778 and "set print elements 10000". Twice.
18779
5401fde3
YQ
187802014-07-11 Yao Qi <yao@codesourcery.com>
18781
18782 * gdb.base/exprs.exp: "set print symbol off".
18783
e76126e8
PA
187842014-07-11 Pedro Alves <palves@redhat.com>
18785
18786 * gdb.threads/kill.c: New file.
18787 * gdb.threads/kill.exp: New file.
18788
2d6f0de6
YQ
187892014-07-10 Yao Qi <yao@codesourcery.com>
18790
18791 * gdb.trace/tfile.c (write_basic_trace_file)
18792 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18793 address written to trace file.
18794
7180e04a
PA
187952014-07-09 Pedro Alves <palves@redhat.com>
18796
18797 * gdb.base/attach-wait-input.exp: New file.
18798 * gdb.base/attach-wait-input.c: New file.
18799
9a9a7608
AB
188002014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18801
18802 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18803 setting up test structures.
18804 (main): Call new test function.
18805 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18806 test function, continue into test function and walk test
18807 structures.
18808
161ac41e
YQ
188092014-07-02 Yao Qi <yao@codesourcery.com>
18810
18811 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18812 'bar_start' at the beginning of functions 'foo' and 'bar'
18813 respectively.
18814 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18815 instead of 'foo' and 'bar'.
18816
1f267ae3
MM
188172014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18818
18819 * gdb.btrace/segv.exp: New.
18820 * gdb.btrace/segv.c: New.
18821
2b239efb
LM
188222014-07-02 Luis Machado <lgustavo@codesourcery.com>
18823
18824 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18825 instruction.
18826
cf363f18
MW
188272014-06-30 Mark Wielaard <mjw@redhat.com>
18828
18829 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18830 vulture, vilify, villar): New volatile array constants.
18831 (vindictive, vegetation): New const volatile array constants.
18832 * gdb.base/volatile.exp: Test volatile and const volatile array
18833 types.
18834
aebf9d24
AA
188352014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18836
18837 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18838 target lacks support for awatch, rwatch, or hbreak.
18839
b67a2c6f
YQ
188402014-06-27 Yao Qi <yao@codesourcery.com>
18841
18842 * gdb.multi/dummy-frame-restore.exp: New.
18843 * gdb.multi/dummy-frame-restore.c: New.
18844
aef92902
MM
188452014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18846
18847 * gdb.btrace/gcore.exp: New.
18848
8e9db26e
PA
188492014-06-23 Pedro Alves <palves@redhat.com>
18850
18851 * gdb.base/watchpoint-reuse-slot.c: New file.
18852 * gdb.base/watchpoint-reuse-slot.exp: New file.
18853
70afc5b7
SC
188542014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18855
18856 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18857 progspace's filename in 'info', 'enable' and 'disable' command
18858 tests.
18859
b972bd9c
JK
188602014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18861
18862 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18863 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18864 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18865
125f8a3d
GB
188662014-06-20 Gary Benson <gbenson@redhat.com>
18867
18868 * gdb.arch/i386-avx.exp: Fix include file location.
18869 * gdb.arch/i386-sse.exp: Likewise.
18870
3ed9baed
IB
188712014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18872
18873 * gdb.dlang/expression.exp: New file.
18874
034f788c
PA
188752014-06-19 Pedro Alves <palves@redhat.com>
18876
18877 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18878 out from ...
18879 (top level): ... here. Iterate running tests under different
18880 scheduler-locking settings.
18881
45371d0c
LM
188822014-06-18 Luis Machado <lgustavo@codesourcery.com>
18883
18884 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18885 to DW_FORM_addr and use non-zero addresses.
18886
5d376983
SC
188872014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18888
18889 PR gdb/17017
18890 * gdb.python/py-xmethods.cc: Add global function call counters and
18891 increment them in their respective functions. Remove "cout"
18892 statements.
18893 * gdb.python/py-xmethods.exp: Make tests check the global function
18894 call counters instead of depending on inferior IO.
18895
a1aa2221
LM
188962014-06-18 Don Breazeal <donb@codesourcery.com>
18897
18898 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18899 Deleted procedure.
18900 (explicit_fork_parent_follow): Deleted procedure.
18901 (explicit_fork_child_follow): Deleted procedure.
18902 (test_follow_fork): New procedure.
18903 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 18904 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
18905 procedure calls.
18906
0fc05997
YQ
189072014-06-17 Yao Qi <yao@codesourcery.com>
18908
18909 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18910 CP1252.
18911
70795c52
LM
189122014-06-17 Luis Machado <lgustavo@codesourcery.com>
18913
18914 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18915 Initialize ptr and S explicitly.
18916 (skip_type_update_when_not_use_rtti_test): Likewise.
18917
6be47f0c
KS
189182014-06-16 Keith Seitz <keiths@redhat.com>
18919
18920 PR mi/15863
18921 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18922 the inferior is started.
18923
d03de421
PA
189242014-06-16 Pedro Alves <palves@redhat.com>
18925
18926 * gdb.base/break-main-file-remove-fail.c: New file.
18927 * gdb.base/break-main-file-remove-fail.exp: New file.
18928 * gdb.base/break-unload-file.exp: Use build_executable instead of
18929 prepare_for_testing.
18930 (test_break): New parameter "initial_load". Handle it.
18931 (top level): Add initial_load cmdline/file axis.
18932
f9579b99
TT
189332014-06-12 Tom Tromey <tromey@redhat.com>
18934
18935 * gdb.base/completion.exp: Don't use directory name in test.
18936
3657956b
GB
189372014-06-09 Gary Benson <gbenson@redhat.com>
18938
18939 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18940 separate the always-available ANSI-standard signals from the
18941 signals that require checking.
18942 (main): Likewise.
18943 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18944 Likewise.
18945 (main): Likewise.
18946
4186eb54
KS
189472014-06-07 Keith Seitz <keiths@redhat.com>
18948
18949 Revert:
18950 PR c++/16253
18951 * gdb.cp/var-tag.cc: New file.
18952 * gdb.cp/var-tag.exp: New file.
18953 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18954 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18955 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18956 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18957
25326a28 189582014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18959
18960 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18961
829155c9
PA
189622014-06-06 Pedro Alves <palves@redhat.com>
18963
18964 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18965 in target debug output instead of looking at RSP packets,
18966 disabling the test on any target that uses hardware stepping.
18967 Update comments.
18968
61c8d22e
PA
189692014-06-06 Pedro Alves <palves@redhat.com>
18970
18971 * gdb.base/break-unload-file.exp: Fix typo.
18972
d9a47287
YQ
189732014-06-06 Yao Qi <yao@codesourcery.com>
18974
18975 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18976 from "jit_function" to "^jit_function".
18977
e5e01dbf
YQ
189782014-06-06 Yao Qi <yao@codesourcery.com>
18979
18980 * gdb.base/async.c (foo): Add one statement.
18981 * gdb.base/async.exp: Get the next instruction address and
18982 match the output of "nexti" by instruction address. Match
18983 the hex address in the output of "finish".
18984
73ba372c
GB
189852014-06-06 Gary Benson <gbenson@redhat.com>
18986
18987 * gdb.base/call-signals.c: Remove preprocessor conditionals
18988 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18989 SIGSEGV and SIGTERM.
18990 * gdb.base/sigall.c: Likewise.
18991 * gdb.base/unwindonsignal.c: Likewise.
18992 * gdb.reverse/sigall-reverse.c: Likewise.
18993
831517df
YQ
189942014-06-06 Yao Qi <yao@codesourcery.com>
18995
18996 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18997 readable, skip the test.
18998
b8b91e98
YQ
189992014-06-06 Yao Qi <yao@codesourcery.com>
19000
19001 * gdb.threads/staticthreads.c (thread_function): Move the line
19002 setting breakpoint on forward.
19003 * gdb.threads/staticthreads.exp: Update comments.
19004
fb934770
LC
190052014-06-05 Ludovic Courtès <ludo@gnu.org>
19006
19007 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19008 "history-append! type error".
19009
6ef284bd
SM
190102014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19011
19012 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19013 erroneous dprintf expected input.
19014
a872e241
DE
190152014-06-04 Doug Evans <xdje42@gmail.com>
19016
19017 * gdb.guile/scm-generics.exp: Delete.
19018
16f691fb
DE
190192014-06-04 Doug Evans <xdje42@gmail.com>
19020
19021 * gdb.guile/scm-breakpoint.exp: Update.
19022 Add tests for breakpoint registration.
19023
012370f6
TT
190242014-06-04 Tom Tromey <tromey@redhat.com>
19025
19026 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19027 VLA-in-union.
19028 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19029 inner_vla_struct, vla_union types. Initialize objects of those
19030 types and compute their sizes.
19031
9f5a4cef
HZ
190322014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19033 Hui Zhu <hui@codesourcery.com>
19034
19035 * gdb.base/fileio.exp: Add test for shell not available as well as
19036 available.
19037 * gdb.base/fileio.c (test_system): Check for shell twice.
19038
90a45c4d
YQ
190392014-06-04 Yao Qi <yao@codesourcery.com>
19040
19041 * gdb.base/auto-connect-native-target.exp: Remove redundant
19042 space from the regexp pattern.
19043
70017e41
YQ
190442014-06-04 Yao Qi <yao@codesourcery.com>
19045
19046 * gdb.base/default.exp: Replace "child" with "native" in
19047 regexp pattern.
19048
883964a7
SC
190492014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19050
19051 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19052 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19053 * gdb.python/py-xmethods.py: Python script supporting the
19054 new testcase and tests.
19055
ef370185
JB
190562014-06-03 Joel Brobecker <brobecker@adacore.com>
19057 Pedro Alves <palves@redhat.com>
19058
19059 PR breakpoints/17000
19060 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19061 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19062
1e2ccb61
BM
190632014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19064
19065 * gdb.base/subst.exp: Add tests to verify partial path matching
19066 output.
19067
c6ec5ab2
PA
190682014-06-03 Pedro Alves <palves@redhat.com>
19069
19070 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19071 target that doesn't use software single-stepping.
19072
835c559f
PA
190732014-06-03 Pedro Alves <palves@redhat.com>
19074
19075 PR breakpoints/17000
19076 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19077 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19078
06eb1586
DE
190792014-06-02 Doug Evans <xdje42@gmail.com>
19080
19081 * gdb.guile/scm-parameter.exp: New file.
19082
e698b8c4
DE
190832014-06-02 Doug Evans <xdje42@gmail.com>
19084
19085 * gdb.guile/scm-cmd.c: New file.
19086 * gdb.guile/scm-cmd.exp: New file.
19087
ded03782
DE
190882014-06-02 Doug Evans <xdje42@gmail.com>
19089
19090 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19091 pretty-printer lookup.
19092 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19093 (make-pp_s-printer): Call it.
19094 (make-pretty-printer-from-dict): New function.
19095 (lookup-pretty-printer-maker-from-dict): New function.
19096 (*pretty-printer*): Simplify.
19097 (make-objfile-pp_s-printer): New function.
19098 (install-objfile-pretty-printers!): New function.
19099 (make-progspace-pp_s-printer): New function.
19100 (install-progspace-pretty-printers!): New function.
19101 * gdb.guile/scm-progspace.c: New file.
19102 * gdb.guile/scm-progspace.exp: New file.
19103
41fac0cf
PA
191042014-06-02 Pedro Alves <palves@redhat.com>
19105
19106 * gdb.base/dprintf-bp-same-addr.c: New file.
19107 * gdb.base/dprintf-bp-same-addr.exp: New file.
19108
96ae5695
EBM
191092014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19110
19111 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19112 * gdb.arch/powerpc-power.s: Likewise.
19113
da02b3a8
JB
191142014-06-02 Joel Brobecker <brobecker@adacore.com>
19115
19116 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19117
c72b2e7b
YQ
191182014-06-01 Yao Qi <yao@codesourcery.com>
19119
19120 * gdb.base/watchpoint.exp (test_watch_location): Check null
19121 pointer can be dereferenced. If not, do the test, otherwise
19122 skip it.
19123
53e8a631
AB
191242014-05-30 Andrew Burgess <aburgess@broadcom.com>
19125
19126 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19127 results.
19128 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19129
938f0e2f
AB
191302014-05-30 Andrew Burgess <aburgess@broadcom.com>
19131
19132 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19133 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19134 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19135 * gdb.arch/amd64-invalid-stack-top.c: New file.
19136 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19137
9ba6657a
PA
191382014-05-30 Pedro Alves <palves@redhat.com>
19139
19140 PR breakpoints/17000
19141 * gdb.base/sss-bp-on-user-bp.c: New file.
19142 * gdb.base/sss-bp-on-user-bp.exp: New file.
19143
522c09bf
DB
191442014-05-30 David Blaikie <dblaikie@gmail.com>
19145
19146 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19147 gnu_inline semantics via attribute.
19148 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19149 source explicitly specifies the required semantics.
19150
bf4ef81e
MR
191512014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19152
19153 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19154
329ea579
PA
191552014-05-29 Pedro Alves <palves@redhat.com>
19156 Tom Tromey <tromey@redhat.com>
19157
19158 * gdb.base/async-shell.exp: Don't enable target-async.
19159 * gdb.base/async.exp
19160 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19161 parameter. Adjust.
19162 (top level): Don't test with "target-async".
19163 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19164 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19165 * gdb.base/inferior-died.exp: Don't enable target-async.
19166 * gdb.base/interrupt-noterm.exp: Likewise.
19167 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19168 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19169 * gdb.mi/mi-nonstop.exp: Likewise.
19170 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19171 * gdb.mi/mi-nsintrall.exp: Likewise.
19172 * gdb.mi/mi-nsmoribund.exp: Likewise.
19173 * gdb.mi/mi-nsthrexec.exp: Likewise.
19174 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19175 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19176 * gdb.python/py-evsignal.exp: Don't enable target-async.
19177 * gdb.python/py-evthreads.exp: Likewise.
19178 * gdb.python/py-prompt.exp: Likewise.
19179 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19180 * gdb.server/solib-list.exp: Don't enable target-async.
19181 * gdb.threads/thread-specific-bp.exp: Likewise.
19182 * lib/mi-support.exp: Adjust to use mi-async.
19183
fd664c91
PA
191842014-05-29 Pedro Alves <palves@redhat.com>
19185
19186 PR gdb/13860
19187 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19188 reason, even in sync mode.
19189
251bde03
PA
191902014-05-29 Pedro Alves <palves@redhat.com>
19191 Hui Zhu <hui@codesourcery.com>
19192
19193 PR PR15693
19194 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19195 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19196 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19197 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19198
7f3c0343
JB
191992014-05-28 Joel Brobecker <brobecker@adacore.com>
19200
19201 * config/monitor.exp (gdb_target_monitor): Replace use of
19202 "set remotebaud" by "set serial baud".
19203
b2715b27
AW
192042014-05-26 Andy Wingo <wingo@igalia.com>
19205
19206 * gdb.guile/scm-breakpoint.exp:
19207 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19208 properties instead of gdb-object-properties.
19209
498a4489
YQ
192102014-05-26 Yao Qi <yao@codesourcery.com>
19211
19212 * gdb.server/no-thread-db.exp: Specify source file name
19213 explicitly when setting a breakpoint.
19214
589fdceb
MM
192152014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19216
19217 * gdb.btrace/vdso.c: New.
19218 * gdb.btrace/vdso.exp: New.
19219
e9089e05
MM
192202014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19221
19222 * gdb.base/gcore.exp (capture_command_output): Move ...
19223 * lib/gdb.exp (capture_command_output): ... here.
19224
67b5c0c1
MM
192252014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19226
19227 * gdb.btrace/data.exp: Test memory access during btrace replay.
19228
a2199296
SM
192292014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19230
19231 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19232
17b2616c
PA
192332014-05-21 Pedro Alves <palves@redhat.com>
19234
19235 PR gdb/13860
19236 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19237 (top level): Test that output related to execution commands is
19238 sent to the console with CLI commands, but not with MI commands.
19239 Test that breakpoint events are always mirrored to the console.
19240 Also expect the new source line to be output after a "next" in
19241 async mode too. Make it a pass/fail test.
19242 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19243 output.
19244 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19245
5166082f
PA
192462014-05-21 Pedro Alves <palves@redhat.com>
19247
19248 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19249 Use them to test variations of "list" after reaching a breakpoint.
19250 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19251 Test "list" with listsize 10 after reaching a breakpoint.
19252 * gdb.python/python.exp (decode_line current location line
19253 number): Adjust expected line number.
19254
2f25d70f
SM
192552014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19256
19257 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19258 behavior for $args, pass it directly to "run".
19259
ff604a67
MR
192602014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19261
19262 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19263 30000 to 65536.
19264
6a3cb8e8
PA
192652014-05-21 Pedro Alves <palves@redhat.com>
19266
19267 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19268 auto-connect-native-target off".
19269 * gdb.base/auto-connect-native-target.c: New file.
19270 * gdb.base/auto-connect-native-target.exp: New file.
19271
4ebfc96e
PA
192722014-05-21 Pedro Alves <palves@redhat.com>
19273
19274 * gdb.base/default.exp: Test "target native" instead of "target
19275 child".
19276
36d46afb
MW
192772014-05-21 Mark Wielaard <mjw@redhat.com>
19278
19279 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19280
5876f503
JK
192812014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19282
19283 Fix TLS access for -static -pthread.
19284 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19285 <HAVE_TLS> (thread_function, main): Initialize it.
19286 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19287 Add clean_restart.
19288 <$have_tls != "">: Check TLSVAR.
19289
0256a6ac
PA
192902014-05-21 Pedro Alves <palves@redhat.com>
19291
19292 * gdb.base/dcache-line-read-error.c: New.
19293 * gdb.base/dcache-line-read-error.exp: New.
19294
936d2992
PA
192952014-05-20 Pedro Alves <palves@redhat.com>
19296
19297 * gdb.base/compare-sections.c: New file.
19298 * gdb.base/compare-sections.exp: New file.
19299
802e8e6d
PA
193002014-05-20 Pedro Alves <palves@redhat.com>
19301
19302 * gdb.base/break-idempotent.c: New file.
19303 * gdb.base/break-idempotent.exp: New file.
19304
e59fa00f
MM
193052014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19306
19307 * gdb.btrace/nohist.exp: New.
19308
8b696e31
YQ
193092014-05-20 Yao Qi <yao@codesourcery.com>
19310
19311 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19312 gdb.reverse directory and gdb_reverse_timeout exists in board
19313 setting.
19314 * README: Document gdb_reverse_timeout.
19315
73c9764f
YQ
193162014-05-20 Yao Qi <yao@codesourcery.com>
19317
19318 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19319 'test_file_name'. Treat args as a string instead of a list.
19320 (gdb_init): Rename argument 'args' by 'test_file_name'.
19321
f1f4348a
JK
193222014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19323
19324 * gdb.arch/powerpc-power.exp: New file.
19325 * gdb.arch/powerpc-power.s: New file.
19326
0dbe70ce
DE
193272014-05-16 Doug Evans <dje@google.com>
19328
19329 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
19330 * gdb.base/completion.exp: Check that all expected files exist
19331 before doing file completion.
0dbe70ce 19332
8d551b02
DE
193332014-05-16 Doug Evans <dje@google.com>
19334
19335 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19336 Update.
19337 (do_syscall_tests_without_xml): Update.
19338
73eb7709
PA
193392014-05-16 Pedro Alves <palves@redhat.com>
19340
19341 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19342 instead of "unknown output after running".
19343
3fae92fc
YQ
193442014-05-16 Yao Qi <yao@codesourcery.com>
19345
19346 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19347 file1.txt from host at the end.
19348 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19349
c2b2ccc5
DE
193502014-05-15 Doug Evans <dje@google.com>
19351
19352 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19353 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19354 loading file. Add test for TU lookup.
19355
8c217a4b
SM
193562014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19357
19358 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19359 calling "-exec-arguments" or "set args" before running the
19360 inferior.
19361
3deb39c6
SM
193622014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19363
19364 * lib/mi-support.exp (mi_expect_stop): Expect message for
19365 inferiors that exit with non-zero exit code.
19366
71a79f8c
YQ
193672014-05-14 Yao Qi <yao@codesourcery.com>
19368
19369 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19370 match absolute path on remote host.
19371 (test_file_list_exec_source_files): Remove "/" from the
19372 pattern.
19373
f23fcd46
YQ
193742014-05-14 Yao Qi <yao@codesourcery.com>
19375
19376 * boards/local-remote-host-notty.exp (${board}_file): New
19377 proc.
19378
9404b58f
KM
193792014-05-07 Kyle McMartin <kyle@redhat.com>
19380
19381 Pushed by Joel Brobecker <brobecker@adacore.com>.
19382 * gdb.arch/aarch64-atomic-inst.c: New file.
19383 * gdb.arch/aarch64-atomic-inst.exp: New file.
19384
5e45f04c
YQ
193852014-05-07 Yao Qi <yao@codesourcery.com>
19386
19387 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19388 in current context" too.
19389
c888a17d
KS
193902014-05-05 Keith Seitz <keiths@redhat.com>
19391
19392 * gdb.linespec/ls-dollar.exp: Add test for linespec
19393 file:convenience_variable.
19394
290a839c
YQ
193952014-05-05 Yao Qi <yao@codesourcery.com>
19396
19397 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19398 traceframes into tfile and ctf trace files. Read data from
19399 trace file and test collected data.
19400 (gdb_collect_locals_test): Likewise.
19401 (gdb_unavailable_registers_test): Likewise.
19402 (gdb_unavailable_floats): Likewise.
19403 (gdb_collect_globals_test): Likewise.
19404 (top-level): Append "ctf" to trace_file_targets if GDB
19405 supports.
19406
b5262cd0
YQ
194072014-05-05 Yao Qi <yao@codesourcery.com>
19408
19409 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19410 code to ...
19411 (gdb_collect_args_test_1): ... it. New proc.
19412 (gdb_collect_locals_test): Move some code to ...
19413 (gdb_collect_locals_test_1): ... it. New proc.
19414 (gdb_unavailable_registers_test): Move some code to ...
19415 (gdb_unavailable_registers_test_1): ... it. New proc.
19416 (gdb_unavailable_floats): Move some code to ...
19417 (gdb_unavailable_floats_1): ... it. New proc.
19418
30a1e6cc
SDJ
194192014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19420
19421 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19422 probes to test for bitness recognition.
19423 * gdb.arch/amd64-stap-optional-prefix.exp
19424 (test_probe_value_without_reg): New procedure.
19425 Add code to test for different kinds of bitness.
19426
f33da99a
SDJ
194272014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19428
19429 PR breakpoints/16889
19430 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19431 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19432
5b80f00d
PA
194332014-05-01 Pedro Alves <palves@redhat.com>
19434
19435 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19436 gdb_file_cmd if no file is specified.
19437 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19438 last_loaded_file to set the remote exec-file.
19439
f8c2a73c
PA
194402014-05-01 Pedro Alves <palves@redhat.com>
19441
19442 * boards/local-remote-host.exp: New file.
19443
be6e8ac7
PA
194442014-05-01 Pedro Alves <palves@redhat.com>
19445
19446 * boards/local-remote-host.exp: Rename to ...
19447 * boards/local-remote-host-notty.exp: ... this.
19448
cac0dc8f
JB
194492014-04-28 Joel Brobecker <brobecker@adacore.com>
19450
19451 * gdb.ada/dyn_arrayidx: New testcase.
19452
9730e6cc
YQ
194532014-04-26 Yao Qi <yao@codesourcery.com>
19454
19455 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19456 and compute the length of function main. Save it in
19457 $main_length.
19458 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19459 (top-level): Use gdb_compile to compile objects into
19460 executable and restart GDB. Remove invocation to
19461 prepare_for_testing.
19462
7ae1a6a6
PA
194632014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19464 Pedro Alves <palves@redhat.com>
19465
19466 PR server/16255
19467 * gdb.multi/multi-attach.c: New file.
19468 * gdb.multi/multi-attach.exp: New file.
19469
4082afcc
PA
194702014-04-25 Pedro Alves <palves@redhat.com>
19471
19472 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19473 user.
19474 (top level): Test that "set remote conditional-breakpoints-packet
19475 off" works as intended.
19476 * gdb.base/dprintf.exp: Test that "set remote
19477 breakpoint-commands-packet off" works as intended.
19478 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19479 New function.
19480 (top level): Call it.
19481 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19482 remote fast-tracepoints-packet off" works as intended.
19483 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19484 * lib/gdb.exp (gdb_is_target_remote): ... here.
19485
2abc3f8d
DB
194862014-04-24 David Blaikie <dblaikie@gmail.com>
19487
19488 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19489 ensure clang would not discard them.
19490 * gdb.base/gdbvars.c: Ditto.
19491 * gdb.base/memattr.c: Ditto.
19492 * gdb.base/whatis.c: Ditto.
19493 * gdb.python/py-prettyprint.c: Ditto.
19494 * gdb.trace/actions.c: Ditto.
19495 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19496 ensure clang would not discard it.
19497
bfd39632
DB
194982014-04-24 David Blaikie <dblaikie@gmail.com>
19499
19500 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19501 clang to emit the full definition of type required by the test
19502 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19503
22842ff6
DB
195042014-04-24 David Blaikie <dblaikie@gmail.com>
19505
19506 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19507 coax Clang into emitting the definition of the type.
19508 * gdb.cp/pr10728-x.h (y): Ditto.
19509 * gdb.cp/pr10728-y.cc (y): Ditto.
19510
c2e827ad
DB
195112014-04-24 David Blaikie <dblaikie@gmail.com>
19512
19513 * gdb.base/label.exp: XFAIL label related tests under Clang.
19514 * gdb.cp/cplabel.exp: Ditto.
19515 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19516 under Clang those using labels.
19517
4c2d33e7
YQ
195182014-04-25 Yao Qi <yao@codesourcery.com>
19519
19520 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19521 double_label.
19522 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19523 partial_label and double_label.
19524
56083b99
DB
195252014-04-24 David Blaikie <dblaikie@gmail.com>
19526
19527 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19528
25d4e99d
DB
195292014-04-24 David Blaikie <dblaikie@gmail.com>
19530
19531 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19532 of the function to work across GCC and Clang.
19533 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19534 pointer types (const void ** const V void **).
19535
01f9f808
MS
195362014-04-24 Michael Sturm <michael.sturm@mintel.com>
19537 Walfred Tedeschi <walfred.tedeschi@intel.com>
19538
19539 * Makefile.in (EXECUTABLES): Added i386-avx512.
19540 * gdb.arch/i386-avx512.c: New file.
19541 * gdb.arch/i386-avx512.exp: Likewise.
19542
4b48d439
KS
195432014-04-23 Keith Seitz <keiths@redhat.com>
19544
19545 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19546 (mi_make_breakpoint_table): New procedure.
19547 (mi_create_breakpoint): Use mi_make_breakpoint
19548 and return the result.
19549 (mi_make_breakpoint): New procedure.
19550 (mi_build_kv_pairs): New procedure.
19551
19552 * gdb.mi/mi-break.exp: Remove unused globals,
19553 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19554 All callers updated.
19555 * gdb.mi/mi-dprintf.exp: Use variable to track command
19556 number.
19557 Update all callers of mi_create_breakpoint and use
19558 mi_make_breakpoint_table.
19559 Remove any unused global variables.
19560 * gdb.mi/mi-nonstop.exp: Likewise.
19561 * gdb.mi/mi-nsintrall.exp: Likewise.
19562 * gdb.mi/mi-nsmoribund.exp: Likewise.
19563 * gdb.mi/mi-nsthrexec.exp: Likewise.
19564 * gdb.mi/mi-reverse.exp: Likewise.
19565 * gdb.mi/mi-simplerun.exp: Likewise.
19566 * gdb.mi/mi-stepn.exp: Likewise.
19567 * gdb.mi/mi-syn-frame.exp: Likewise.
19568 * gdb.mi/mi-until.exp: Likewise.
19569 * gdb.mi/mi-var-cp.exp: Likewise.
19570 * gdb.mi/mi-var-display.exp: Likewise.
19571 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19572 * gdb.mi/mi2-var-child.exp: Likewise.
19573 * gdb.mi/mi-vla-c99.exp: Likewise.
19574 * lib/mi-support.exp: Likewise.
19575
19576 From Ian Lance Taylor <iant@cygnus.com>:
19577 * lib/gdb.exp (parse_args): New procedure.
19578
08351840
PA
195792014-04-23 Pedro Alves <palves@redhat.com>
19580
19581 * gdb.base/break-unload-file.c: New file.
19582 * gdb.base/break-unload-file.exp: New file.
19583 * gdb.base/sym-file-lib.c (baz): New function.
19584 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19585 field.
19586 (load): Store the segment's mapped size.
19587 (unload): New function.
19588 (unload_shlib): New function.
19589 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19590 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19591 set a breakpoint at baz, and call it.
19592 * gdb.base/sym-file.exp: New tests for stale breakpoint
19593 instructions.
19594
076855f9
PA
195952014-04-23 Pedro Alves <palves@redhat.com>
19596
19597 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19598 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19599 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19600 * gdb.base/hbreak-unmapped.c: New file.
19601 * gdb.base/hbreak-unmapped.exp: New file.
19602 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19603 * lib/gdb.exp (gdb_is_target_remote): ... here.
19604
483805cf
PA
196052014-04-22 Pedro Alves <palves@redhat.com>
19606
19607 * gdb.base/consecutive-step-over.c: New file.
19608 * gdb.base/consecutive-step-over.exp: New file.
19609
06d97543
PA
196102014-04-22 Pedro Alves <palves@redhat.com>
19611
19612 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19613 instead of send_gdb/gdb_expect.
19614
b4429ea2
YQ
196152014-04-22 Yao Qi <yao@codesourcery.com>
19616
19617 * lib/trace-support.exp (generate_tracefile): New procedure.
19618 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19619 return 0.
19620 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19621 if generate_tracefile returns 1.
19622
51d48146
PA
196232014-04-18 Tom Tromey <palves@redhat.com>
19624 Pedro alves <tromey@redhat.com>
19625
19626 PR backtrace/15558
19627 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19628 with a backtrace limit.
19629 * gdb.python/py-frame-inline.exp: Test running to an inline
19630 function with a backtrace limit, and printing the newest frame.
19631 * gdb.python/py-frame-inline.c (main): Call f.
19632
bd1dce5f
MS
196332014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19634
19635 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19636
40d1a503
MS
196372014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19638
19639 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19640 Drop prefix from unsupported source file path.
19641
389b98f7
YQ
196422014-04-17 Yao Qi <yao@codesourcery.com>
19643
19644 * lib/gdb.exp (with_target_charset): New proc.
19645 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19646 with_target_charset.
19647 (test_print_strings): Likewise.
19648 (test_repeat_bytes): Likewise.
19649 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19650 for some tests.
19651
22869d73
KS
196522014-04-16 Keith Seitz <keiths@redhat.com>
19653
19654 PR gdb/15827
19655 * gdb.dwarf2/corrupt.c: New file.
19656 * gdb.dwarf2/corrupt.exp: New file.
19657
c4f87ca6
KS
196582014-04-16 Keith Seitz <keiths@redhat.com>
19659
19660 PR c++/16597
19661 * gdb.cp/namelessclass.cc: New file.
19662 * gdb.cp/namelessclass.exp: New file.
19663 * gdb.cp/namelessclass.S: New file.
19664
ab19de87
DE
196652014-04-16 Doug Evans <dje@google.com>
19666
19667 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19668 Add comment.
19669 (gdbserver_default_get_comm_port): New function.
19670 (gdbserver_start): Check if board file provided
19671 "gdbserver,get_comm_port" and use it if so.
19672 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19673 (gdb,socketport): Set to "stdio".
19674 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19675 (stdio_gdbserver_template): Delete.
19676 (${board}_get_remote_address): Update.
19677 (${board}_build_remote_cmd): Delete.
19678 (${board}_get_comm_port): New function.
19679 (${board}_spawn): Update.
19680 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19681 Delete.
19682 (${board}_get_remote_address): Update.
19683 (${board}_get_comm_port): New function.
19684
fc98a809
AB
196852014-04-16 Andrew Burgess <aburgess@broadcom.com>
19686
19687 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19688 appearing in any order.
19689
87fd9e6e
DE
196902014-04-15 Doug Evans <dje@google.com>
19691
19692 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19693 uninitialized value of "description".
19694
099fc3ea
KS
196952014-04-15 Keith Seitz <keiths@redhat.com>
19696
19697 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19698 Remove unused globals.
19699 (test_running_the_program): Likewise.
19700 (test_controlled_execution): Likewise.
19701 (test_controlling_breakpoints): Likewise.
19702 (test_program_termination): Likewise.
19703
5da151d4
KS
197042014-04-15 Keith Seitz <keiths@redhat.com>
19705
19706 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19707 unused globals.
19708 (test_rbreak_creation_and_listing): Likewise.
19709 (test_ignore_count): Likewise.
19710 (test_error): Likewise.
19711
35e5d2f0
PA
197122014-04-15 Pedro Alves <palves@redhat.com>
19713
19714 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19715 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19716 sym-file-loader.c.
19717 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19718 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19719 to sym-file-loader.c.
19720 (struct library): Forward declare.
19721 (load_shlib, lookup_function): Change prototypes.
19722 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19723 (translate_offset): Remove declarations.
19724 (get_text_addr): New declaration.
19725 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19726 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19727 sym-file-loader.h.
19728 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19729 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19730 here from sym-file-loader.h.
19731 (struct library): New structure.
19732 (load_shlib, lookup_function): Change prototypes and adjust to
19733 work with a struct library.
19734 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19735 (translate_offset): Make static.
19736 (get_text_addr): New function.
19737 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19738
eb4c1710
PA
197392014-04-15 Pedro Alves <palves@redhat.com>
19740
19741 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19742
2d1baf52
PA
197432014-04-15 Pedro Alves <palves@redhat.com>
19744
19745 * gdb.base/sym-file-loader.c: Include <limits.h>.
19746 (SELF_LINK): New define.
19747 (get_origin): New function.
19748 (load_shlib): Use it.
19749 * gdb.base/sym-file.exp: Don't early return if the target is
19750 remote. Use runto_main, and issue fail is that fails. Use
19751 gdb_load_shlibs.
19752 (shlib_name): Delete.
19753 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19754
7dd6df01
PA
197552014-04-15 Pedro Alves <palves@redhat.com>
19756
19757 * gdb.base/sym-file.exp: Remove regex characters from test
19758 message. Don't refer to breakpoint numbers in test messages.
19759
b50c8614
KS
197602014-04-14 Keith Seitz <keiths@redhat.com>
19761
19762 PR c++/16253
19763 * gdb.cp/var-tag.cc: New file.
19764 * gdb.cp/var-tag.exp: New file.
19765 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19766 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19767 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19768 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19769
3d567982
TT
197702014-04-14 Tom Tromey <tromey@redhat.com>
19771
19772 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19773 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19774 type.
19775 * gdb.cp/enum-class.exp: New file.
19776 * gdb.cp/enum-class.cc: New file.
19777
0626fc76
TT
197782014-04-14 Tom Tromey <tromey@redhat.com>
19779
19780 * gdb.dwarf2/enum-type.exp: New file.
19781
dca325b3
SA
197822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19783
19784 * gdb.mi/mi-vla-c99.exp: New file.
19785 * gdb.mi/vla.c: New file.
19786
5854b38a
SA
197872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19788
19789 * gdb.base/vla-datatypes.c: New file.
19790 * gdb.base/vla-datatypes.exp: New file.
19791
463bb957
SA
197922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19793
19794 * gdb.base/vla-ptr.c: New file.
19795 * gdb.base/vla-ptr.exp: New file.
19796
3dd170be
SA
197972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19798
19799 * gdb.dwarf2/count.exp: New file.
19800
5ecaaa66
SA
198012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19802
19803 * gdb.base/vla-sideeffect.c: New file.
19804 * gdb.base/vla-sideeffect.exp: New file.
19805
41f1ada5
DB
198062014-04-14 David Blaikie <dblaikie@gmail.com>
19807
19808 * gdb.mi/non-stop.c: Add return value for non-void function return
19809 statement.
19810 * gdb.threads/staticthreads.c: Ditto.
19811
0be03e84
DE
198122014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19813 Doug Evans <xdje42@gmail.com>
19814
19815 * gdb.guile/scm-value.c: Improve test case.
19816 * gdb.guile/scm-value.exp: Add new test.
19817
f180a1fb
DB
198182014-04-11 David Blaikie <dblaikie@gmail.com>
19819
19820 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19821 override Clang's default.
19822
6b662e19
JB
198232014-04-11 Joel Brobecker <brobecker@adacore.com>
19824
19825 Revert the following changes (regressions):
19826
19827 * gdb.base/vla-sideeffect.c: New file.
19828 * gdb.base/vla-sideeffect.exp: New file.
19829
19830 * gdb.dwarf2/count.exp: New file.
19831
19832 * gdb.base/vla-multi.c: New file.
19833 * gdb.base/vla-multi.exp: New file.
19834
19835 * gdb.base/vla-ptr.c: New file.
19836 * gdb.base/vla-ptr.exp: New file.
19837
19838 * gdb.base/vla-datatypes.c: New file.
19839 * gdb.base/vla-datatypes.exp: New file.
19840
19841 * gdb.mi/mi-vla-c99.exp: New file.
19842 * gdb.mi/vla.c: New file.
19843
245a5f0b
KS
198442014-04-11 Keith Seitz <keiths@redhat.com>
19845
19846 PR c++/16675
19847 * gdb.cp/cpsizeof.exp: New file.
19848 * gdb.cp/cpsizeof.cc: New file.
19849
58a84dcf
SA
198502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19851
191a8a90
JB
19852 * gdb.mi/mi-vla-c99.exp: New file.
19853 * gdb.mi/vla.c: New file.
58a84dcf 19854
c8655f75
SA
198552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19856
19857 * gdb.base/vla-datatypes.c: New file.
19858 * gdb.base/vla-datatypes.exp: New file.
19859
024e13b4
SA
198602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19861
19862 * gdb.base/vla-ptr.c: New file.
19863 * gdb.base/vla-ptr.exp: New file.
19864
1a237e0e
SA
198652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19866
19867 * gdb.base/vla-multi.c: New file.
19868 * gdb.base/vla-multi.exp: New file.
19869
504f3432
SA
198702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19871
19872 * gdb.dwarf2/count.exp: New file.
19873
3bce8237
SA
198742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19875
191a8a90
JB
19876 * gdb.base/vla-sideeffect.c: New file.
19877 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 19878
322f9c21
YQ
198792014-04-11 Yao Qi <yao@codesourcery.com>
19880
19881 * gdb.base/completion.exp: Check file exists before running tests
19882 on file completion.
19883
d708bcd1
PA
198842014-04-10 Pedro Alves <palves@redhat.com>
19885
19886 * gdb.base/cond-eval-mode.c: New file.
19887 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19888 prepare_for_testing to build the new file. Check result of
19889 runto_main.
19890 (test_break, test_watch): New procedures.
19891 (top level): Use them.
19892
ae1d2761
PM
198932014-04-08 Pierre Muller <muller@sourceware.org>
19894
19895 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19896 Ctrl-V use for mingw hosts.
19897
7af389b8
SC
198982014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19899
19900 * gdb.python/py-value.c: Improve test case.
19901 * gdb.python/py-value.exp: Add new test.
19902
5e703181
DE
199032014-04-07 David Blaikie <dblaikie@gmail.com>
19904
19905 * lib/compiler.c: Identify the clang compiler.
19906 * lib/compiler.cc: Ditto.
19907
9810b410
YQ
199082014-04-03 Yao Qi <yao@codesourcery.com>
19909
19910 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19911
98d1b8dc
AB
199122014-04-01 Anton Blanchard <anton@samba.org>
19913
19914 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19915 messages unique.
19916
3114cea1
AB
199172014-04-01 Anton Blanchard <anton@samba.org>
19918
19919 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19920 prepare_for_testing.
19921
62f7182c
AB
199222014-04-01 Anton Blanchard <anton@samba.org>
19923
19924 * gdb.arch/ppc64-atomic-inst.c: Remove.
19925 * gdb.arch/ppc64-atomic-inst.S: New file.
19926 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19927
770e7fc7
DE
199282014-03-31 Doug Evans <dje@google.com>
19929
19930 * gdb.base/print-symbol-loading-lib.c: New file.
19931 * gdb.base/print-symbol-loading-main.c: New file.
19932 * gdb.base/print-symbol-loading.exp: New file.
19933
46e2bafa
YQ
199342014-03-31 Yao Qi <yao@codesourcery.com>
19935
19936 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19937
8776cfe9
JB
199382014-03-28 Joel Brobecker <brobecker@adacore.com>
19939
19940 * gdb.ada/mi_dyn_arr: New testcase.
19941
5d1ef361
DE
199422014-03-27 Doug Evans <dje@google.com>
19943
19944 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19945
b5bee914
YQ
199462014-03-27 Yao Qi <yao@codesourcery.com>
19947
19948 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19949 if target is nios2-*-*.
19950
0d4d0e77
YQ
199512014-03-26 Yao Qi <yao@codesourcery.com>
19952
19953 * lib/gdb.exp (readline_is_used): New proc.
19954 * gdb.base/completion.exp: Move tests on command complete up.
19955 Skip the rest of tests if readline is not used.
19956 * gdb.ada/complete.exp: Skp the test if readline is not
19957 used.
19958 * gdb.base/filesym.exp: Likewise.
19959 * gdb.base/macscp.exp: Likewise.
19960 * gdb.base/readline-ask.exp: Likewise.
19961 * gdb.base/readline.exp: Likewise.
19962 * gdb.python/py-cmd.exp: Likewise.
19963 * gdb.trace/tfile.exp: Likewise.
19964
29361eee
YQ
199652014-03-26 Yao Qi <yao@codesourcery.com>
19966
19967 * gdb.base/macscp.exp: Fix code format issues.
19968
bc9a5525
UW
199692014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19970
19971 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19972 * gdb.asm/powerpc64le.inc: New file.
19973
d3839ede
PA
199742014-03-25 Pedro Alves <palves@redhat.com>
19975 Doug Evans <dje@google.com>
19976
19977 * gdb.base/source-execution.c: New file.
19978 * gdb.base/source-execution.exp: New file.
19979 * gdb.base/source-execution.gdb: New file.
19980
01672a57
DE
199812014-03-24 Doug Evans <dje@google.com>
19982
19983 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19984 using fission.
19985
88bbeca9
HZ
199862014-03-24 Hui Zhu <hui@codesourcery.com>
19987 Pedro Alves <palves@redhat.com>
19988
19989 PR breakpoints/16101
19990 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19991 test pass/fail messages. Detect missing support for dprintf when
19992 breakpoints are actually inserted.
19993 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19994 breakpoints are actually inserted.
19995 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19996 fails.
19997
d2348791
JK
199982014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19999
20000 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20001
feef67ab
DE
200022014-03-22 Doug Evans <xdje42@gmail.com>
20003
20004 * gdb.python/python.exp (python not supported): Verify multi-line
20005 python command issues an error.
25d743f9 20006 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20007 guile command issues an error.
feef67ab 20008
ecebef6a
MR
200092014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20010
20011 * gdb.threads/thread-specific.exp: Handle the lack of usable
20012 $this_breakpoint and $this_thread.
20013
ccdd1909
HZ
200142014-03-21 Hui Zhu <hui@codesourcery.com>
20015
20016 * gdb.base/attach.exp (do_command_attach_tests): New.
20017
beb460e8
PA
200182014-03-20 Tom Tromey <tromey@redhat.com>
20019 Pedro Alves <palves@redhat.com>
20020
20021 PR cli/15718
20022 * gdb.base/condbreak-call-false.c: New file.
20023 * gdb.base/condbreak-call-false.exp: New file.
20024
40acf43a
PA
200252014-03-20 Pedro Alves <palves@redhat.com>
20026
20027 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20028 Delete.
20029 (block_signals, unblock_signals): Delete.
20030 (child_function_2, main): Remove references to deleted variable
20031 and functions.
20032
9f5e1e02
PA
200332014-03-20 Pedro Alves <palves@redhat.com>
20034
20035 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20036 Use pthread_kill to signal thread 2.
20037 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20038 Adjust to make the test send itself a signal rather than using the
20039 host's "kill" command.
20040
99619bea
PA
200412014-03-20 Pedro Alves <palves@redhat.com>
20042
20043 * gdb.threads/multiple-step-overs.c: New file.
20044 * gdb.threads/multiple-step-overs.exp: New file.
20045 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20046 Adjust expected infrun debug output.
20047
2adfaa28
PA
200482014-03-20 Pedro Alves <palves@redhat.com>
20049
20050 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20051 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20052
31e77af2
PA
200532014-03-20 Pedro Alves <palves@redhat.com>
20054
20055 PR breakpoints/7143
20056 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20057 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20058 of gdb_test_multiple.
20059 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20060 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20061
b9f437de
PA
200622014-03-20 Pedro Alves <palves@redhat.com>
20063
20064 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20065 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20066
05adc73e
PA
200672014-03-19 Pedro Alves <palves@redhat.com>
20068
20069 * gdb.base/async.exp: Remove early return.
20070
6048b950
PA
200712014-03-19 Pedro Alves <palves@redhat.com>
20072
20073 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20074
8bcfb00a
PA
200752014-03-19 Pedro Alves <palves@redhat.com>
20076
20077 * gdb.base/async.exp (test_background): Expect \r\n after
20078 "completed." in the fail pattern.
20079
884e37dc
PA
200802014-03-19 Pedro Alves <palves@redhat.com>
20081
20082 * gdb.base/async.exp (test_background): New procedure.
20083 Use it for all background execution command tests.
20084
148e57e2
PA
200852014-03-19 Pedro Alves <palves@redhat.com>
20086
20087 * gdb.base/async.exp: Use prepare_for_testing.
20088
f48088c7
PA
200892014-03-19 Pedro Alves <palves@redhat.com>
20090
20091 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20092 the same line.
20093
e2f6c966
PA
200942014-03-19 Pedro Alves <palves@redhat.com>
20095
20096 * gdb.base/async.c (main): Add "jump here" and "until here" line
20097 marker comments.
20098 * gdb.base/async.exp (jump_here): New global.
20099 (jump& test): Use it.
20100 (until_here): New global.
20101 (until& test): Use it.
20102
c30568d4
PA
201032014-03-19 Pedro Alves <palves@redhat.com>
20104
20105 * gdb.base/async.exp: Don't frob gdb_protocol.
20106
0172b6a7
DE
201072014-03-18 Doug Evans <xdje42@gmail.com>
20108
20109 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20110 Fix spelling of exec-done-display.
20111
06c868a8
JK
201122014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20113
20114 PR gdb/15358
20115 * gdb.base/gdb-sigterm.c: New file.
20116 * gdb.base/gdb-sigterm.exp: New file.
20117
0c7e1a46
PA
201182014-03-18 Pedro Alves <palves@redhat.com>
20119
20120 PR gdb/13860
20121 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20122 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20123 solib-event.
20124
f7c77d93
JB
201252014-03-17 Joel Brobecker <brobecker@adacore.com>
20126
20127 * gdb.ada/pckd_arr_ren: New testcase.
20128
5a1e8c7a
DE
201292014-03-13 Doug Evans <xdje42@gmail.com>
20130
20131 PR guile/16612
20132 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20133 collect after discarding symbols.
20134
350e1a76
DE
201352014-03-13 Ludovic Courtès <ludo@gnu.org>
20136 Doug Evans <xdje42@gmail.com>
20137
20138 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20139 to history survives a gc.
20140
a69900ae
PA
201412014-03-13 Pedro Alves <palves@redhat.com>
20142
20143 * gdb.base/default.exp: Don't test "target procfs".
20144
5db9f0bd
PA
201452014-03-13 Pedro Alves <palves@redhat.com>
20146
20147 * gdb.base/default.exp: Update "target child" and "target procfs"
20148 tests to not expect "Unix".
20149
b3ccfe11
TT
201502014-03-12 Tom Tromey <tromey@redhat.com>
20151
20152 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20153 New procs. Add target-async tests.
20154 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20155 Add target-async tests.
20156
646f4417
AA
201572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20158
20159 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20160 'func_start' and 'func_end' for the beginning and end of the
20161 function code, respectively.
20162 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20163 'func_end' instead of 'func' and 'main'.
20164
288c211f
AA
201652014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20166
20167 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20168 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20169 generate the debug info assembler source.
20170
e0c0f156
AA
201712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20172
20173 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20174 * gdb.dwarf2/arr-subrange.exp: Likewise.
20175 * gdb.dwarf2/dwz.exp: Likewise.
20176 * gdb.dwarf2/method-ptr.exp: Likewise.
20177 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20178 * gdb.dwarf2/subrange.exp: Likewise.
20179 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20180 * gdb.dwarf2/implptrpiece.exp: Likewise.
20181 * gdb.dwarf2/nostaticblock.exp: Likewise.
20182
0e5c4555
AA
201832014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20184
20185 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20186 directory to absolute path name arguments.
20187
5ec18f2b
JG
201882014-03-10 Joel Brobecker <brobecker@adacore.com>
20189
20190 * gdb.ada/tagged_access: New testcase.
20191
847fc4f2
MM
201922014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20193
20194 * gdb.btrace/data.exp: Update expected output.
20195
cc3da688
YQ
201962014-03-06 Yao Qi <yao@codesourcery.com>
20197
20198 * gdb.trace/pr16508.exp: New file.
20199
0f26cec1
PA
202002014-03-05 Pedro Alves <palves@redhat.com>
20201
20202 PR gdb/16575
20203 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20204 procedure.
20205 (top level): Adjust to use it. Add tests that exercise breakpoint
20206 interaction with the code-cache.
20207
7a5a839f
LC
202082014-02-26 Ludovic Courtès <ludo@gnu.org>
20209
20210 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20211 test for 'history-append!'.
20212
31aa7e4e
JB
202132014-02-26 Joel Brobecker <brobecker@adacore.com>
20214
20215 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20216 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20217 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20218 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20219 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20220 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20221
1b588015
JB
202222014-02-26 Joel Brobecker <brobecker@adacore.com>
20223
20224 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20225 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20226 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20227
55426c9d
JB
202282014-02-26 Joel Brobecker <brobecker@adacore.com>
20229
20230 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20231
dc53a7ad
JB
202322014-02-26 Joel Brobecker <brobecker@adacore.com>
20233
20234 * gdb.dwarf2/arr-stride.c: New file.
20235 * gdb.dwarf2/arr-stride.exp: New file.
20236
12ab52e9
PA
202372014-02-26 Pedro Alves <palves@redhat.com>
20238
20239 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20240 that won't ever trigger. Make sure that GDB reports the correct
20241 breakpoint that caused the stop.
20242
849c862e
JK
202432014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20244
20245 PR gdb/16626
20246 * gdb.base/auto-load-script: New file.
20247 * gdb.base/auto-load.c: New file.
20248 * gdb.base/auto-load.exp: New file.
20249
71b7d793
JK
20250 PR gdb/16626
20251 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20252
e2f0d509
JK
202532014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20254
20255 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20256 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20257
50cc37c8
DE
202582014-02-24 Doug Evans <dje@google.com>
20259
20260 * lib/gdb.exp (run_on_host): Log error output if program fails.
20261
ea4758f2
PA
202622014-02-21 Pedro Alves <palves@redhat.com>
20263
20264 * gdb.threads/step-after-sr-lock.c: Rename to ...
20265 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20266 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20267 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20268 ... this.
20269
d7b30f67
SDJ
202702014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20271
20272 PR tdep/16397
20273 * gdb.arch/amd64-stap-special-operands.exp: New file.
20274 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20275 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20276 * gdb.arch/amd64-stap-triplet.S: Likewise.
20277 * gdb.arch/amd64-stap-triplet.c: Likewise.
20278
83deb43f
JB
202792014-02-20 Joel Brobecker <brobecker@adacore.com>
20280
20281 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20282 in .section pseudo-op.
20283
adde2bff
DE
202842014-02-20 lin zuojian <manjian2006@gmail.com>
20285 Joel Brobecker <brobecker@adacore.com>
20286 Doug Evans <xdje42@gmail.com>
20287
20288 PR symtab/16581
20289 * gdb.dwarf2/dw2-icycle.S: New file.
20290 * gdb.dwarf2/dw2-icycle.c: New file.
20291 * gdb.dwarf2/dw2-icycle.exp: New file.
20292
f7bd0f78
SC
202932014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20294
20295 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20296 operations on gdb.Value objects.
20297 * gdb.python/py-value-cc.exp: Add new test to test operations on
20298 gdb.Value objects.
20299
c17ef0d5
DE
203002014-02-18 Doug Evans <dje@google.com>
20301
20302 * Makefile.in (TESTS): New variable.
20303 (expanded_tests, expanded_tests_or_none): New variables
20304 (check-single): Pass $(expanded_tests_or_none) to runtest.
20305 (check-parallel): Only run tests in $(TESTS) if non-empty.
20306 (check/no-matching-tests-found): New rule.
20307 * README: Document TESTS makefile variable.
20308
5dd3176f
DE
203092014-02-18 Doug Evans <dje@google.com>
20310
20311 * Makefile.in (check-parallel): rm -rf outputs temp.
20312
0b10be4f
JK
203132014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20314
20315 Fix "ERROR: no fileid for" in the testsuite.
20316 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20317
85f224e7
DE
203182014-02-12 Doug Evans <dje@google.com>
20319
20320 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20321 (MISCELLANEOUS): New variable.
20322 (clean): rm -rf $(MISCELLANEOUS).
20323 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20324 dwp live in the same directory as symlinks, with each symlink pointed
20325 to a differently named file in a different directory.
20326
149b30ff
DE
203272014-02-11 Doug Evans <dje@google.com>
20328
20329 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20330 of Tcl file commands.
20331
1dfdac32
MK
203322014-02-10 Mark Kettenis <kettenis@gnu.org>
20333
20334 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20335 "kill -SIGUSR1 -1".
20336
aa4fb036
JB
203372014-02-10 Joel Brobecker <brobecker@adacore.com>
20338
20339 * gdb.ada/tick_length_array_enum_idx: New testcase.
20340
ed3ef339
DE
203412014-02-10 Doug Evans <xdje42@gmail.com>
20342
20343 * configure.ac (AC_OUTPUT): Add gdb.guile.
20344 * configure: Regenerate.
20345 * lib/gdb-guile.exp: New file.
20346 * lib/gdb.exp (get_target_charset): New function.
20347 * gdb.base/help.exp: Update expected output from "apropos apropos".
20348 * gdb.guile/Makefile.in: New file.
20349 * gdb.guile/guile.exp: New file.
20350 * gdb.guile/scm-arch.c: New file.
20351 * gdb.guile/scm-arch.exp: New file.
20352 * gdb.guile/scm-block.c: New file.
20353 * gdb.guile/scm-block.exp: New file.
20354 * gdb.guile/scm-breakpoint.c: New file.
20355 * gdb.guile/scm-breakpoint.exp: New file.
20356 * gdb.guile/scm-disasm.c: New file.
20357 * gdb.guile/scm-disasm.exp: New file.
20358 * gdb.guile/scm-equal.c: New file.
20359 * gdb.guile/scm-equal.exp: New file.
20360 * gdb.guile/scm-error.exp: New file.
20361 * gdb.guile/scm-error.scm: New file.
20362 * gdb.guile/scm-frame-args.c: New file.
20363 * gdb.guile/scm-frame-args.exp: New file.
20364 * gdb.guile/scm-frame-args.scm: New file.
20365 * gdb.guile/scm-frame-inline.c: New file.
20366 * gdb.guile/scm-frame-inline.exp: New file.
20367 * gdb.guile/scm-frame.c: New file.
20368 * gdb.guile/scm-frame.exp: New file.
20369 * gdb.guile/scm-generics.exp: New file.
20370 * gdb.guile/scm-gsmob.exp: New file.
20371 * gdb.guile/scm-iterator.c: New file.
20372 * gdb.guile/scm-iterator.exp: New file.
20373 * gdb.guile/scm-math.c: New file.
20374 * gdb.guile/scm-math.exp: New file.
20375 * gdb.guile/scm-objfile-script-gdb.in: New file.
20376 * gdb.guile/scm-objfile-script.c: New file.
20377 * gdb.guile/scm-objfile-script.exp: New file.
20378 * gdb.guile/scm-objfile.c: New file.
20379 * gdb.guile/scm-objfile.exp: New file.
20380 * gdb.guile/scm-ports.exp: New file.
20381 * gdb.guile/scm-pretty-print.c: New file.
20382 * gdb.guile/scm-pretty-print.exp: New file.
20383 * gdb.guile/scm-pretty-print.scm: New file.
20384 * gdb.guile/scm-section-script.c: New file.
20385 * gdb.guile/scm-section-script.exp: New file.
20386 * gdb.guile/scm-section-script.scm: New file.
20387 * gdb.guile/scm-symbol.c: New file.
20388 * gdb.guile/scm-symbol.exp: New file.
20389 * gdb.guile/scm-symtab-2.c: New file.
20390 * gdb.guile/scm-symtab.c: New file.
20391 * gdb.guile/scm-symtab.exp: New file.
20392 * gdb.guile/scm-type.c: New file.
20393 * gdb.guile/scm-type.exp: New file.
20394 * gdb.guile/scm-value-cc.cc: New file.
20395 * gdb.guile/scm-value-cc.exp: New file.
20396 * gdb.guile/scm-value.c: New file.
20397 * gdb.guile/scm-value.exp: New file.
20398 * gdb.guile/source2.scm: New file.
20399 * gdb.guile/types-module.cc: New file.
20400 * gdb.guile/types-module.exp: New file.
20401
7026a7c1
YQ
204022014-02-10 Yao Qi <yao@codesourcery.com>
20403
20404 PR testsuite/16543
20405 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20406 * configure: Regenerated.
20407 * Makefile.in: New file.
20408
6c466447
AS
204092014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20410
20411 * gdb.python/py-framefilter.exp: Fix typo.
20412
6e854735
YQ
204132014-02-08 Yao Qi <yao@codesourcery.com>
20414
20415 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20416 that no =breakpoint-modified is emitted when breakpoints are
20417 modified through MI commands.
20418
d137e6dc
PA
204192014-02-07 Pedro Alves <pedro@codesourcery.com>
20420 Pedro Alves <palves@redhat.com>
20421
20422 * gdb.threads/step-after-sr-lock.c: New file.
20423 * gdb.threads/step-after-sr-lock.exp: New file.
20424
b5ee5a50
PA
204252014-02-07 Pedro Alves <palves@redhat.com>
20426
20427 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20428
3c77faf3
JK
204292014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20430
20431 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20432 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20433
6dddc817
DE
204342014-02-06 Doug Evans <xdje42@gmail.com>
20435
20436 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20437 output.
20438
20439 * gdb.gdb/python-interrupts.exp: New file.
20440
de7b2893
YQ
204412014-02-05 Yao Qi <yao@codesourcery.com>
20442
20443 * gdb.trace/report.exp (use_collected_data): Test the output
20444 of "info threads" and "info inferiors".
20445
66d032ac
YQ
204462014-02-05 Yao Qi <yao@codesourcery.com>
20447
20448 Revert this patch:
20449
20450 2013-05-24 Yao Qi <yao@codesourcery.com>
20451
20452 * gdb.trace/tfile.exp: Test inferior and thread.
20453
591a12a1
UW
204542014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20455
20456 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20457 on a function.
20458 * gdb.base/step-bt.c: Call hello via function pointer to make
20459 sure its first instruction is executed on powerpc64le-linux.
20460
0ff3e01f
UW
204612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20462
20463 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20464
084ee545
UW
204652014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20466
20467 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20468 of the test patterns for use on little-endian systems.
20469
6ed14ff3
UW
204702014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20471
20472 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20473 (decimal_vector): Fix for little-endian.
20474
401e27fd
JM
204752014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20476
20477 * gdb.arch/sparc-sysstep.exp: New file.
20478 * gdb.arch/sparc-sysstep.c: Likewise.
20479
20480 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20481
8b924729
EBM
204822014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20483
20484 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20485
fb151210
JB
204862014-01-23 Tom Tromey <tromey@redhat.com>
20487
20488 * gdb.ada/array_char_idx: New testcase.
20489
0740f8d8
TT
204902014-01-23 Tom Tromey <tromey@redhat.com>
20491
20492 PR python/16487:
20493 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20494 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20495 classes.
20496
21909fa1
TT
204972014-01-23 Tom Tromey <tromey@redhat.com>
20498
20499 PR python/16491:
20500 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20501 string from an inferior frame.
20502 * gdb.python/py-framefilter-mi.exp: Update.
20503
87ce2a04
DE
205042014-01-22 Doug Evans <dje@google.com>
20505
20506 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20507
237b092b
AA
205082014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20509
20510 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20511
d674a709
AA
205122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20513
20514 * gdb.trace/entry-values.exp: Remove excess space character from
20515 regex patterns. Handle s390 call instruction.
20516
20fa3390
AA
205172014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20518
20519 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20520 define "*_start" label. Make "name" static.
20521 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20522 ${name} by references to ${name}_start.
20523
78466714
AA
205242014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20525
20526 * gdb.base/info-macros.exp: Remove "debug" from the compile
20527 options.
20528
ec9f644a
IB
205292014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20530
20531 * gdb.dlang/demangle.exp: New file.
20532
94b1b47e
IB
205332014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20534
20535 * gdb.dlang/primitive-types.exp: New file.
20536
7f420862
IB
205372014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20538
20539 * configure.ac: Create gdb.dlang/Makefile.
20540 * configure: Regenerate.
20541 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20542 * gdb.dlang/Makefile.in: New file.
20543 * lib/d-support.exp: New file.
20544 * lib/gdb.exp (skip_d_tests): New proc.
20545
52834460
MM
205462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20547
20548 * gdb.btrace/delta.exp: Check reverse stepi.
20549 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20550 * gdb.btrace/finish.exp: New.
20551 * gdb.btrace/next.exp: New.
20552 * gdb.btrace/nexti.exp: New.
20553 * gdb.btrace/record_goto.c: Add comments.
20554 * gdb.btrace/step.exp: New.
20555 * gdb.btrace/stepi.exp: New.
20556 * gdb.btrace/multi-thread-step.c: New.
20557 * gdb.btrace/multi-thread-step.exp: New.
20558 * gdb.btrace/rn-dl-bind.c: New.
20559 * gdb.btrace/rn-dl-bind.exp: New.
20560 * gdb.btrace/data.c: New.
20561 * gdb.btrace/data.exp: New.
20562 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20563
6e07b1d2
MM
205642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20565
20566 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20567 * gdb.btrace/exception.exp: Update.
20568 * gdb.btrace/instruction_history.exp: Update.
20569 * gdb.btrace/record_goto.exp: Update.
20570 * gdb.btrace/tailcall.exp: Update.
20571 * gdb.btrace/unknown_functions.exp: Update.
20572 * gdb.btrace/delta.exp: New.
20573
0b722aec
MM
205742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20575
20576 * gdb.btrace/record_goto.exp: Add backtrace test.
20577 * gdb.btrace/tailcall.exp: Add backtrace test.
20578
066ce621
MM
205792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20580
20581 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20582 * gdb.btrace/record_goto.c: New.
20583 * gdb.btrace/record_goto.exp: New.
20584 * gdb.btrace/x86-record_goto.S: New.
20585
0688d04e
MM
205862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20587
20588 * gdb.btrace/function_call_history.exp: Update tests.
20589 * gdb.btrace/instruction_history.exp: Update tests.
20590
8710b709
MM
205912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20592
20593 * gdb.btrace/function_call_history.exp: Fix expected field
20594 order for "record function-call-history".
20595 Add new tests for "record function-call-history /c".
20596 * gdb.btrace/exception.cc: New.
20597 * gdb.btrace/exception.exp: New.
20598 * gdb.btrace/tailcall.exp: New.
20599 * gdb.btrace/x86-tailcall.S: New.
20600 * gdb.btrace/x86-tailcall.c: New.
20601 * gdb.btrace/unknown_functions.c: New.
20602 * gdb.btrace/unknown_functions.exp: New.
20603 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20604
5de9129b
MM
206052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20606
20607 * gdb.btrace/instruction_history.exp: Update.
20608 * gdb.btrace/function_call_history.exp: Update.
20609
23a7fe75
MM
206102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20611
20612 * gdb.btrace/function_call_history.exp: Fix expected function
20613 trace.
20614 * gdb.btrace/instruction_history.exp: Initialize traced.
20615 Remove traced_functions.
20616
724c7dd8
MM
206172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20618
20619 * gdb.btrace/function_call_history.exp: Update
20620 * gdb.btrace/instruction_history.exp: Update.
20621
6d78d93b
MM
206222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20623
20624 * gdb.btrace/enable.exp: Update expected text.
20625
93a360cc
OJ
206262014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20627
20628 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20629 bytes.
20630
3772b53f
MR
206312014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20632
20633 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20634
596662fa
OJ
206352014-01-15 Omair Javaid <omair.javaid@linaro.org>
20636
20637 * lib/gdb.exp (supports_process_record): Return true for
20638 arm*-linux*. (supports_reverse): Likewise.
20639
b5b08fb4
SC
206402014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20641
20642 PR python/15464
20643 PR python/16113
20644 * gdb.python/py-type.c: Enhance test case.
20645 * gdb.python/py-value-cc.cc: Likewise
20646 * gdb.python/py-type.exp: Add new tests.
20647 * gdb.python/py-value-cc.exp: Likewise
20648
52d7fb13
AA
206492014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20650 Pedro Alves <palves@redhat.com>
20651
20652 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20653 Make "name" extern.
20654 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20655 references to ${name}_start by references to ${name}.
20656
a2cd8cfe
JB
206572014-01-10 Joel Brobecker <brobecker@adacore.com>
20658
20659 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20660
4e23fced
JB
206612014-01-10 Joel Brobecker <brobecker@adacore.com>
20662
20663 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20664
c6a9e42c
PA
206652014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20666 Pedro Alves <palves@redhat.com>
20667
20668 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 20669 mi_gdb_target_load.
c6a9e42c 20670
b7ea362b
PA
206712014-01-08 Pedro Alves <palves@redhat.com>
20672
20673 * gdb.threads/reconnect-signal.c: New file.
20674 * gdb.threads/reconnect-signal.exp: New file.
20675
5e3f4fab
EBM
206762014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20677
20678 * gdb.base/source-dir.exp: New file.
20679
79301218
JB
206802014-01-07 Joel Brobecker <brobecker@adacore.com>
20681
20682 * gdb.ada/mi_interface: New testcase.
20683
8e355c5d
JB
206842014-01-07 Joel Brobecker <brobecker@adacore.com>
20685
20686 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20687 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20688 gdb.ada/pp-rec-component/pck.ads: New files.
20689
c0d48811
JB
206902014-01-07 Joel Brobecker <brobecker@adacore.com>
20691
20692 * gdb.python/py-pp-integral.c: New file.
20693 * gdb.python/py-pp-integral.py: New file.
20694 * gdb.python/py-pp-integral.exp: New file.
20695
17b609c3 20696For older changes see ChangeLog-1993-2013.
c906108c 20697\f
8d8cb839
EZ
20698;; Local Variables:
20699;; mode: change-log
20700;; left-margin: 8
20701;; fill-column: 74
20702;; version-control: never
20703;; End:
902f2ccb 20704
b811d2c2 20705 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
20706 Copying and distribution of this file, with or without modification,
20707 are permitted provided the copyright notice and this notice are preserved.