Fix gdb.arch/i386-sse.exp with clang
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
915771bb
GB
12020-07-13 Gary Benson <gbenson@redhat.com>
2
3 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
4
2a122642
GB
52020-07-13 Gary Benson <gbenson@redhat.com>
6
7 * gdb.base/bigcore.c (main): Use a volatile pointer when
8 attempting to trigger a SIGSEGV.
9 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
10 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
11 * gdb.base/savedregs.c (thrower): Likewise.
12 * gdb.mi/mi-syn-frame.c (bar): Likewise.
13
3f00c730
GB
142020-07-13 Gary Benson <gbenson@redhat.com>
15
16 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
17 defining and using VLA structure fields into...
18 * gdb.base/vla-struct-fields.c: New file.
19 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
20 tests into...
21 * gdb.base/vla-struct-fields.exp: New file.
22
963eeee4
TV
232020-07-13 Tom de Vries <tdevries@suse.de>
24
25 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
26 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
27 * gdb.base/gold-gdb-index.exp: Same.
28 * gdb.base/morestack.exp: Same.
29
0ed35c9a
DX
302020-07-11 Daniel Xu <dxu@dxuuu.xyz>
31
32 PR rust/26121
33 * gdb.rust/modules.rs: Prevent linker from discarding test
34 symbol.
35
4fdba23d
PA
362020-07-10 Pedro Alves <pedro@palves.net>
37
38 PR gdb/26199
39 * gdb.multi/multi-target.c (exit_thread): New.
40 (thread_start): Break loop if EXIT_THREAD.
41 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
42 (top level) Call test_no_resumed.
43
15f3b077
TT
442020-07-08 Tom Tromey <tromey@adacore.com>
45
46 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
47 * gdb.ada/catch_ex.exp: Examine catchpoint text.
48
9fc501fd
AB
492020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
50
51 PR python/22748
52 * gdb.opt/inline-frame-tailcall.c: New file.
53 * gdb.opt/inline-frame-tailcall.exp: New file.
54 * gdb.python/py-unwind-inline.c: New file.
55 * gdb.python/py-unwind-inline.exp: New file.
56 * gdb.python/py-unwind-inline.py: New file.
57
64cb3757
AB
582020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
59
60 * gdb.python/py-arch-reg-groups.exp: New file.
61
0f767f94
AB
622020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
63
64 * gdb.python/py-arch-reg-names.exp: New file.
65
87dbc774
AB
662020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
69 gdb.PendingFrame.architecture method.
70
d8cc8af6
TV
712020-07-06 Tom de Vries <tdevries@suse.de>
72
73 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
74
3c8ea5be
PA
752020-07-03 Pedro Alves <palves@redhat.com>
76
77 * gdb.base/structs2.c (main): Adjust second parem_reg call to
78 explicitly write negative numbers.
79 * gdb.base/structs2.exp: Adjust expected output.
80
bf90c83a
PA
812020-07-03 Pedro Alves <palves@redhat.com>
82
83 * gdb.base/charset.c (init_string): Change all char parameters to
84 unsigned char parameters.
85
2eb82157
PA
862020-07-03 Pedro Alves <palves@redhat.com>
87
88 * gdb.base/call-sc.exp (start_scalars_test): Use
89 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
90 * gdb.base/overlays.c: Remove references to PARAMS.
91 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
92 * gdb.base/reread.exp: Don't set 'prototypes' global.
93 * gdb.base/structs.exp (start_structs_test): Use
94 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
95 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
96 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
97 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
98 call.
99 * gdb.base/varargs.exp: Don't set 'prototypes' global.
100
9adda7af
PA
1012020-07-03 Pedro Alves <palves@redhat.com>
102
103 * gdb.base/m32rovly.c: Delete.
104 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
105
2a17c803
PW
1062020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
107
108 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
109 of gdb_py_test_multiple.
110 * gdb.python/py-cmd.exp: Likewise.
111 * gdb.python/py-events.exp: Likewise.
112 * gdb.python/py-function.exp: Likewise.
113 * gdb.python/py-inferior.exp: Likewise.
114 * gdb.python/py-infthread.exp: Likewise.
115 * gdb.python/py-linetable.exp: Likewise.
116 * gdb.python/py-parameter.exp: Likewise.
117 * gdb.python/py-value.exp: Likewise.
118
b011fe1a
TV
1192020-06-30 Tom de Vries <tdevries@suse.de>
120
121 PR testsuite/26175
122 * lib/future.exp (gdb_default_target_compile): Detect and handle
123 early_flags.
124
df5b8876
SM
1252020-06-29 Simon Marchi <simon.marchi@efficios.com>
126
127 * boards/simavr.exp (gdb_load): Catch errors when closing
128 previous connection. Close connection, wait for process and
129 unset simavr_spawn_id on failure.
130
a3ca48cd
TV
1312020-06-29 Tom de Vries <tdevries@suse.de>
132
133 * lib/gdb.exp (unknown): Make test-case unresolved.
134
b0237c0e
TV
1352020-06-29 Tom de Vries <tdevries@suse.de>
136
137 PR gdb/25475
138 * gdb.server/solib-list.exp: Verify that the symbol reload
139 confirmation question is asked.
140
c0b3b3bd
PW
1412020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
142
143 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
144 have a input seq nr in each pass message.
145 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
146 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
147 * gdb.python/python.exp: Make test names unique,
148 use gdb_test_multiline instead of gdb_py_test_multiple,
149 use $gdb_test_name.
150 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
151
1776e3e5
NA
1522020-06-26 Nick Alcock <nick.alcock@oracle.com>
153
154 * configure.ac: Add --enable-libctf.
155 * aclocal.m4: sinclude ../config/enable.m4.
156 * Makefile.in (site.exp): Add enable_libctf to site.exp.
157 * lib/gdb.exp (skip_ctf_tests): Use it.
158 * gdb.base/ctf-constvars.exp: Error message tweak.
159 * gdb.base/ctf-ptype.exp: Likewise.
160 * configure: Regenerate.
161
f53b3eeb
GB
1622020-06-26 Gary Benson <gbenson@redhat.com>
163
164 * gdb.cp/try_catch.cc: Include string.h.
165 (main): Replace comparison against string literal with
166 strcmp, avoiding build failure with -Wstring-compare.
167 Add "marker test-complete".
168 * gdb.cp/try_catch.exp: Run the test to the above marker,
169 then verify that the value of "test" is still true.
170
6d74da72
AB
1712020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
172
173 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
174
2e52d038
AB
1752020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
176
177 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
178
3b9fce96
AB
1792020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
180
181 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
182 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
183 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
184 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
185 * gdb.arch/riscv-tdesc-loading.exp: New file.
186
ed69cbc8
AB
1872020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
188
189 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
190
767a879e
AB
1912020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
192
193 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
194 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
195 * gdb.arch/riscv-tdesc-regs.c: New file.
196 * gdb.arch/riscv-tdesc-regs.exp: New file.
197
221db974
PA
1982020-06-24 Pedro Alves <palves@redhat.com>
199
200 * gdb.arch/amd64-entry-value-paramref.exp: Use
201 prepare_for_testing_full and don't pass "c++" for the .S file
202 build spec.
203 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
204 $options, since it's an assembly file. Remove -Wno-deprecated.
205 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
206 compiling C++ programs.
207
331733cd
PA
2082020-06-24 Pedro Alves <palves@redhat.com>
209
210 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
211 Clang, add "-Wno-unknown-warning-option" to the options.
212
caa7fd04
AB
2132020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
214
215 * gdb.xml/tdesc-reload.c: New file.
216 * gdb.xml/tdesc-reload.exp: New file.
217 * gdb.xml/maint-xml-dump-01.xml: New file.
218 * gdb.xml/maint-xml-dump-02.xml: New file.
219 * gdb.xml/maint-xml-dump.exp: New file.
220
bb8d1260
SL
2212020-06-23 Sandra Loosemore <sandra@codesourcery.com>
222
223 * lib/completion-support.exp (test_gdb_completion_offers_commands):
224 Adjust for omitted commands when TUI is disabled.
225
7e4b9c4c
GB
2262020-06-23 Gary Benson <gbenson@redhat.com>
227 Pedro Alves <palves@redhat.com>
228
229 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
230 * gdb.cp/nsimport.cc: Likewise.
231 * gdb.cp/nsnested.cc: Likewise.
232 * gdb.cp/nsnoimports.cc: Likewise.
233 * gdb.cp/nsusing.cc: Likewise.
234 * gdb.cp/smartp.cc: Likewise.
235 * gdb.python/py-pp-integral.c: Likewise.
236 * gdb.python/py-pp-re-notag.c: Likewise.
237
2e573c0a
GB
2382020-06-23 Gary Benson <gbenson@redhat.com>
239
240 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
241 * gdb.cp/nsimport.cc: Likewise.
242 * gdb.cp/nsnested.cc: Likewise.
243 * gdb.cp/nsnoimports.cc: Likewise.
244 * gdb.cp/nsusing.cc: Likewise.
245 * gdb.cp/smartp.cc: Likewise.
246 * gdb.python/py-pp-integral.c: Likewise.
247 * gdb.python/py-pp-re-notag.c: Likewise.
248
746ebfe8
PW
2492020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
250
251 * gdb.base/default-args.exp: New test.
252 * gdb.base/default-args.c: New file.
253 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
254 * gdb.base/default.exp: Update to new help text.
255 * gdb.base/help.exp: Likewise.
256 * gdb.base/page.exp: Likewise.
257 * gdb.base/style.exp: Likewise.
258 * gdb.guile/guile.exp: Likewise.
259 * gdb.python/python.exp: Likewise.
260
e822f2cd
SL
2612020-06-22 Sandra Loosemore <sandra@codesourcery.com>
262
263 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
264 remote host. Fix search path syntax on Windows host.
265
48e9cc84
PW
2662020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
267
268 * gdb.base/attach.exp: Test priority of 'exec-file' changed
269 over 'exec-file-mismatch'.
270 * gdb.base/attach.c: Mark should_exit volatile.
271 * gdb.base/attach2.c: Likewise. Add a comment explaining
272 why the sleep cannot be big.
273 * gdb.base/attach3.c: New file.
274
160f8a8f
SL
2752020-06-20 Sandra Loosemore <sandra@codesourcery.com>
276
277 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
278 prefix optional.
279
4d91c2a4
SL
2802020-06-20 Sandra Loosemore <sandra@codesourcery.com>
281
282 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
283 for remote host.
284
87f83f20
SL
2852020-06-19 Sandra Loosemore <sandra@codesourcery.com>
286 Hafiz Abid Qadeer <abidh@codesourcery.com>
287
288 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
289 file sent to remote host.
290 (top level): Allow int32_t as type of 32-bit register.
291
37ab8655
TV
2922020-06-19 Tom de Vries <tdevries@suse.de>
293
294 * lib/gdb.exp (gdb_note): New proc.
295 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
296 (gdb_default_target_compile): ... here. Only call
297 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
298 (use_gdb_compile): Change to array.
299 (toplevel): Update sets of use_gdb_compile to specify language.
300 Warn about default_target_compile override. Store dejagnu's version
301 of default_target_compile in dejagnu_default_target_compile.
302
a8a56685
TV
3032020-06-18 Tom de Vries <tdevries@suse.de>
304
305 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
306 (default_gdb_init): ... here.
307
581bea2c
SL
3082020-06-17 Sandra Loosemore <sandra@codesourcery.com>
309
310 Fix TUI support checks in gdb.tui tests.
311
312 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
313 just say UNSUPPORTED.
314 * gdb.tui/corefile-run.exp: Likewise.
315 * gdb.tui/empty.exp: Likewise.
316 * gdb.tui/list-before.exp: Likewise.
317 * gdb.tui/list.exp: Likewise.
318 * gdb.tui/main.exp: Likewise.
319 * gdb.tui/regs.exp: Likewise.
320 * gdb.tui/resize.exp: Likewise.
321 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
322 * gdb.tui/tui-layout-asm.exp: Likewise.
323 * gdb.tui/tui-missing-src.exp: Likewise.
324 * gdb.tui/winheight.exp: Likewise.
325 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
326
05e682e3
SL
3272020-06-17 Sandra Loosemore <sandra@codesourcery.com>
328
329 Fix TCL error in gdb.python/py-format-string.exp.
330
331 * gdb.python/py-format-string.exp: Move test for python support
332 earlier, out of function body.
333
efb763a5
SM
3342020-06-15 Simon Marchi <simon.marchi@efficios.com>
335
336 * gdb.base/index-cache-load-twice.c: New.
337 * gdb.base/index-cache-load-twice.exp: New.
338
43327b20
KS
3392020-06-17 Keith Seitz <keiths@redhat.com>
340
99cf27cf 341 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
342 when executing "gdb --configuration".
343
081e778c
TV
3442020-06-17 Tom de Vries <tdevries@suse.de>
345
346 * lib/gdb.exp (gdb_tcl_unknown): New proc.
347 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
348 conditional on presence of gdb_tcl_unknown.
349 (gdb_finish): Make override undo conditional on presence of
350 gdb_tcl_unknown.
351
d2d1ea20
TT
3522020-06-16 Tom Tromey <tom@tromey.com>
353
354 * gdb.python/tui-window.py (failwin): New function. Register it
355 as a TUI window type.
356 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
357
c802e8a7
GB
3582020-06-16 Gary Benson <gbenson@redhat.com>
359
360 * gdb.python/py-nested-maps.c (create_map): Add missing return
361 value.
362 (create_map_map): Likewise.
363
ff08abb8
TBA
3642020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
365
366 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
367 variable.
368 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
369 and use the already-defined 'options' variable.
370
a29d5112
AB
3712020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
372 Tom de Vries <tdevries@suse.de>
373
374 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
375 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
376 (gdb_setup_known_globals): New proc.
377 (gdb_cleanup_globals): New proc.
378 * lib/gdb.exp (load_lib): New override proc.
379 (gdb_stdin_log_init): Set var in_file as persistent global.
380 * lib/pascal.exp (gdb_stdin_log_init): Set vars
381 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
382 fpc_compiler as persistent global.
383
8c74a764
TV
3842020-06-12 Tom de Vries <tdevries@suse.de>
385
386 * lib/tuiterm.exp (spawn): Rename to ...
387 (tui_spawn): ... this.
388 (toplevel): Move rename of spawn ...
389 (gdb_init_tuiterm): ... here. New proc.
390 (gdb_finish_tuiterm): New proc.
391 * lib/gdb.exp (gdb_finish_hooks): New global var.
392 (gdb_finish): Handle gdb_finish_hooks.
393 (tuiterm_env): New proc.
394 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
395 tuiterm_env.
396 * gdb.tui/basic.exp: Same.
397 * gdb.tui/corefile-run.exp: Same.
398 * gdb.tui/empty.exp: Same.
399 * gdb.tui/list-before.exp: Same.
400 * gdb.tui/list.exp: Same.
401 * gdb.tui/main.exp: Same.
402 * gdb.tui/new-layout.exp: Same.
403 * gdb.tui/regs.exp: Same.
404 * gdb.tui/resize.exp: Same.
405 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
406 * gdb.tui/tui-layout-asm.exp: Same.
407 * gdb.tui/tui-missing-src.exp: Same.
408 * gdb.tui/winheight.exp: Same.
409
26783bce
TV
4102020-06-12 Tom de Vries <tdevries@suse.de>
411
412 PR testsuite/26110
413 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
414 (gdb_finish): Reinstall dejagnu's override of ::unknown.
415
2b4e6a3f
TT
4162020-06-11 Tom Tromey <tom@tromey.com>
417
418 PR gdb/18318:
419 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
420 floating point tests.
421
2f33032a
KS
4222020-06-11 Keith Seitz <keiths@redhat.com>
423
424 PR gdb/21356
425 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
426 vla_struct.
427 Add new struct vla_typedef and union vla_typedef_union and
428 corresponding instantiation objects.
429 Initialize new objects.
430 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
431 and vla_typedef_union_object.
432 Fixup type for vla_struct_object.
433
a8baf0a3
TV
4342020-06-11 Tom de Vries <tdevries@suse.de>
435
436 * lib/gdb.exp (with_override): New proc, factored out of ...
437 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
438
7ab96794
TV
4392020-06-10 Tom de Vries <tdevries@suse.de>
440
441 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
442
cab5c3b7
SM
4432020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
444
445 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
446 parameter, update callers.
447
f8c41851
SM
4482020-06-04 Simon Marchi <simon.marchi@efficios.com>
449
450 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
451 * gdb.dwarf2/share-psymtabs-bt.c: New file.
452 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
453
1c07a73f
TV
4542020-06-04 Tom de Vries <tdevries@suse.de>
455
456 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
457
95146b5d
TV
4582020-06-04 Tom de Vries <tdevries@suse.de>
459
460 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
461 exp_continue.
462
0cfcd4f0
TV
4632020-06-04 Tom de Vries <tdevries@suse.de>
464
465 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
466
f9b5d5ea
TV
4672020-06-03 Tom de Vries <tdevries@suse.de>
468
469 PR symtab/26046
470 * gdb.cp/breakpoint-locs-2.cc: New test.
471 * gdb.cp/breakpoint-locs.cc: New test.
472 * gdb.cp/breakpoint-locs.exp: New file.
473 * gdb.cp/breakpoint-locs.h: New test.
474
5144dfba
TV
4752020-06-03 Tom de Vries <tdevries@suse.de>
476
477 PR testsuite/25609
478 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
479 value of global verbose.
480 * gdb.base/jit-elf.exp: Same.
481 * gdb.base/jit-reader.exp: Same.
482
621eacdf
TV
4832020-06-02 Tom de Vries <tdevries@suse.de>
484
485 * gdb.dwarf2/multidictionary.exp: Don't use
486 gdb_spawn_with_cmdline_opts.
487
1313c56e
AB
4882020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
489
490 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
491 use_header case.
492 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
493 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
494 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
495 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
496 * gdb.dwarf2/dw2-inline-header.c: New file.
497 * gdb.dwarf2/dw2-inline-header.h: New file.
498
f68f85b5
PA
4992020-05-30 Pedro Alves <palves@redhat.com>
500
501 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
502 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
503
678048e8
GB
5042020-05-29 Gary Benson <gbenson@redhat.com>
505
506 * gdb.compile/compile-cplus.exp (additional_flags): Also
507 set when building with clang.
508 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
509 when building with clang.
510
9fcafd23
GB
5112020-05-29 Gary Benson <gbenson@redhat.com>
512
513 * gdb.arch/i386-avx.exp (additional_flags): Also set when
514 building with clang.
515 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
516
735d5a07
GB
5172020-05-29 Gary Benson <gbenson@redhat.com>
518
519 * gdb.cp/koenig.exp (prepare_for_testing): Add
520 additional_flags=-Wno-unused-comparison.
521 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
522
4ad2c6a0
GB
5232020-05-28 Gary Benson <gbenson@redhat.com>
524
525 * gdb.base/sigaltstack.c (catcher): Add default case to switch
526 statement.
527
09fe663e
GB
5282020-05-28 Gary Benson <gbenson@redhat.com>
529
530 * gdb.cp/classes.exp (prepare_for_testing): Add
531 additional_flags=-Wno-deprecated-register.
532 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
533 * gdb.cp/misc.exp: Likewise.
534
cee00f17
GB
5352020-05-28 Gary Benson <gbenson@redhat.com>
536
537 * gdb.linespec/cpls-ops.cc (dummy): New static global.
538 (test_op_new::operator new): Add return statement.
539 (test_op_new_array::operator new[]): Likewise.
540
636edd00
PA
5412020-05-27 Pedro Alves <palves@redhat.com>
542
543 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
544 check. Use test_gdb_complete_unique instead of
545 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
546 test_gdb_complete_multiple instead of
547 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
548
c2b75043
LM
5492020-05-27 Luis Machado <luis.machado@linaro.org>
550
551 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
552 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
553 * gdb.arch/arm-disassembler-options.exp: Likewise.
554 * gdb.arch/arm-disp-step.exp: Likewise.
555 * gdb.arch/thumb-prologue.exp: Likewise.
556 * gdb.base/async.exp: Likewise.
557 * gdb.base/auxv.exp: Likewise.
558 * gdb.base/complex-parts.exp: Likewise.
559 * gdb.base/ena-dis-br.exp: Likewise.
560 * gdb.base/foll-exec.exp: Likewise.
561 * gdb.base/permissions.exp: Likewise.
562 * gdb.base/relocate.exp: Likewise.
563 * gdb.base/return2.exp: Likewise.
564 * gdb.base/sigbpt.exp: Likewise.
565 * gdb.base/siginfo-obj.exp: Likewise.
566 * gdb.cp/converts.exp: Likewise.
567 * gdb.cp/exceptprint.exp: Likewise.
568 * gdb.cp/inherit.exp: Likewise.
569 * gdb.cp/nsnoimports.exp: Likewise.
570 * gdb.cp/virtbase2.exp: Likewise.
571 * gdb.mi/mi-var-cmd.exp: Likewise.
572 * gdb.mi/var-cmd.c: Likewise.
573
53a47a3e
TT
5742020-05-26 Tom Tromey <tromey@adacore.com>
575
576 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
577
0bc2354b
TT
5782020-05-26 Tom Tromey <tromey@adacore.com>
579
580 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
581 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
582 type.
583 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
584 variable.
585
0db49895
CBG
5862020-05-26 Christian Biesinger <cbiesinger@google.com>
587
588 * Makefile.in: Use = instead of == for the test command
589 for portability.
590
40d22035
TV
5912020-05-26 Tom de Vries <tdevries@suse.de>
592
593 * gdb.base/gold-gdb-index-2.c: New test.
594 * gdb.base/gold-gdb-index.c: New test.
595 * gdb.base/gold-gdb-index.exp: New file.
596 * gdb.base/gold-gdb-index.h: New test.
597
043e2e02
TV
5982020-05-25 Tom de Vries <tdevries@suse.de>
599
600 * boards/gold-gdb-index.exp: New file.
601
462f72c5
SM
6022020-05-25 Simon Marchi <simon.marchi@efficios.com>
603
604 * boards/simavr.exp: New file.
605
6cf66e76
SM
6062020-05-25 Simon Marchi <simon.marchi@efficios.com>
607
608 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
609 * gdb.base/inferior-args.exp: New file.
610 * gdb.base/inferior-args.c: New file.
611
75d04512
SM
6122020-05-25 Simon Marchi <simon.marchi@efficios.com>
613
614 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
615 inferior_args. Pass it to gdb_reload.
616 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
617 inferior_args.
618 (gdb_reload): Add inferior_args argument.
619 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
620 pass it to gdbserver_run.
621 * boards/native-gdbserver.exp: Do not set noargs.
622 * boards/native-extended-gdbserver.exp (gdb_reload): Add
623 inferior_args argument.
624 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
625 * gdb.base/a2-run.exp: Check for use_gdb_stub.
626 * gdb.base/args.exp: Likewise.
627
42cf1844
TV
6282020-05-25 Tom de Vries <tdevries@suse.de>
629
630 * lib/gdb.exp (exec_is_pie): Add comment.
631
8f7d38ef
TV
6322020-05-25 Tom de Vries <tdevries@suse.de>
633
634 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
635 instead of $binfile in the untested message.
636
465e1b0f
TV
6372020-05-25 Tom de Vries <tdevries@suse.de>
638
639 PR testsuite/26031
640 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
641
3c5a0e02
TV
6422020-05-25 Tom de Vries <tdevries@suse.de>
643
644 * boards/gold.exp: New file.
645
0a4f5f8c
TT
6462020-05-23 Tom Tromey <tom@tromey.com>
647
648 * gdb.base/style.exp: Remove completion styling test.
649 * lib/gdb-utils.exp (style): Remove completion styles.
650
eca1f90c
TT
6512020-05-23 Tom Tromey <tom@tromey.com>
652
653 * gdb.base/style.exp: Add completion styling test.
654 * lib/gdb-utils.exp (style): Add completion styles.
655
7c13f4e8
AB
6562020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
657
658 * gdb.base/annota1.exp: Update expected results.
659 * gdb.cp/annota2.exp: Update expected results, remove duplicate
660 test name.
661 * gdb.cp/annota3.exp: Update expected results.
662
41977d16
SM
6632020-05-20 Simon Marchi <simon.marchi@efficios.com>
664
665 PR gdb/26016
666 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
667 against MAP_FAILED.
668 * gdb.base/coremaker.c (mmapdata): Likewise.
669 * gdb.base/jit-reader-host.c (main): Likewise.
670 * gdb.base/sym-file-loader.c (load): Likewise.
671 (load_shlib): Likewise.
672
b4757f2e
TT
6732020-05-20 Tom Tromey <tromey@adacore.com>
674
675 * gdb.ada/array_char_idx.exp: Recognize initialized array.
676
9a0bacfb
TV
6772020-05-20 Tom de Vries <tdevries@suse.de>
678
679 PR symtab/25833
680 * gdb.base/with-mf-inc.c: New test.
681 * gdb.base/with-mf-main.c: New test.
682 * gdb.base/with-mf.exp: New file.
683
76571211
TT
6842020-05-19 Tom Tromey <tromey@adacore.com>
685
686 * gdb.rust/simple.exp: Restore missing test result.
687
4cd9f3d5
TV
6882020-05-19 Tom de Vries <tdevries@suse.de>
689
690 * gdb.base/gdb-caching-proc.exp: Fix typo.
691
7d874253
TT
6922020-05-19 Tom Tromey <tromey@adacore.com>
693
694 * gdb.rust/simple.exp: Add some test descriptions.
695 (test_one_slice): Use with_test_prefix.
696
1d727695
TV
6972020-05-18 Tom de Vries <tdevries@suse.de>
698
699 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
700
7f32a4d5
PA
7012020-05-17 Pedro Alves <palves@redhat.com>
702
703 PR gdb/25741
704 * gdb.base/hw-sw-break-same-address.exp: New file.
705
7cfd74cf
PA
7062020-05-16 Pedro Alves <palves@redhat.com>
707
708 * gdb.multi/multi-re-run.exp (test_re_run): Switch
709 LAST_LOADED_FILE accordingly.
710
57b4f16e
PW
7112020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
712
713 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
714
7c05caf7
PW
7152020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
716
717 * gdb.base/help.exp: Test apropos and help for commands
718 having aliases. Fixed comments not starting with an
719 upper-case letter or not finishing with a dot.
720
7aa1b46f
PW
7212020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
722
3b3aaacb
PW
723 * gdb.base/alias.exp: Update help output check.
724
57b4f16e 7252020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 726
7aa1b46f
PW
727 * gdb.base/default.exp: Update output following fixes.
728
0605465f
PW
7292020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
730
731 * gdb.base/alias.exp: Test aliases starting with a prefix of
732 another alias.
733
86e4e63d
GB
7342020-05-15 Gary Benson <gbenson@redhat.com>
735
736 * gdb.base/info-os.c (main): Add return statement.
737 * gdb.base/info_minsym.c (minsym_fun): Likewise.
738 * gdb.base/large-frame-2.c (func): Likewise.
739 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
740 * gdb.base/pr10179-b.c (foo2): Likewise.
741 * gdb.base/valgrind-disp-step.c (foo): Likewise.
742 * gdb.base/watch-cond.c (func): Likewise.
743 * gdb.multi/goodbye.c (verylongfun): Likewise.
744 * gdb.multi/hello.c (commonfun): Likewise.
745 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
746 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
747 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
748 Likewise.
749 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
750 * gdb.threads/interrupt-while-step-over.c (child_function):
751 Likewise.
752 * gdb.trace/actions-changed.c (end): Likewise.
753
163df4df
GB
7542020-05-15 Gary Benson <gbenson@redhat.com>
755
756 * gdb.opencl/callfuncs.exp: Report when test skipped.
757 * gdb.opencl/convs_casts.exp: Likewise.
758 * gdb.opencl/datatypes.exp: Likewise.
759 * gdb.opencl/operators.exp: Likewise.
760 * gdb.opencl/vec_comps.exp: Likewise.
761
6dbc505a
TV
7622020-05-15 Tom de Vries <tdevries@suse.de>
763
764 * gdb.base/align.exp.in: Rename to ...
765 * gdb.base/align.exp.tcl: ... this.
766 * gdb.base/align-c++.exp: Update.
767 * gdb.base/align-c.exp: Update.
768 * gdb.base/all-architectures.exp.in: Rename to ...
769 * gdb.base/all-architectures.exp: ... this.
770 * gdb.base/all-architectures-0.exp: Update.
771 * gdb.base/all-architectures-1.exp: Update.
772 * gdb.base/all-architectures-2.exp: Update.
773 * gdb.base/all-architectures-3.exp: Update.
774 * gdb.base/all-architectures-4.exp: Update.
775 * gdb.base/all-architectures-5.exp: Update.
776 * gdb.base/all-architectures-6.exp: Update.
777 * gdb.base/all-architectures-7.exp: Update.
778 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
779 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
780 * gdb.base/infcall-nested-structs-c++.exp: Update.
781 * gdb.base/infcall-nested-structs-c.exp: Update.
782 * gdb.base/info-types.exp.in: Rename to ...
783 * gdb.base/info-types.exp.tcl: ... this.
784 * gdb.base/info-types-c++.exp: Update.
785 * gdb.base/info-types-c.exp: Update.
786 * gdb.base/max-depth.exp.in: Rename to ...
787 * gdb.base/max-depth.exp.tcl: ... this.
788 * gdb.base/max-depth-c++.exp: Update.
789 * gdb.base/max-depth-c.exp: Update.
790 * gdb.cp/cpexprs.exp.in: Rename to ...
791 * gdb.cp/cpexprs.exp.tcl: ... this.
792 * gdb.cp/cpexprs-debug-types.exp: Update.
793 * gdb.cp/cpexprs.exp: Update.
794 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
795 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
796 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
797 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
798 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
799 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
800 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
801 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
802 * gdb.dwarf2/clang-debug-names-2.exp: Update.
803 * gdb.dwarf2/clang-debug-names.exp: Update.
804
d1034d78
AB
8052020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
806
807 * lib/check-test-names.exp: Remove code that prevents this file
808 loading when tests are run in parallel.
809
3c5c3649
PA
8102020-05-15 Pedro Alves <palves@redhat.com>
811
812 * gdb.multi/multi-kill.exp (start_inferior): Remove
813 'testpid' parameter. Refer to namespace variable directly.
814 (testpid): Declare as namespace variable.
815
272c36b8
PA
8162020-05-15 Pedro Alves <palves@redhat.com>
817
818 * gdb.multi/multi-kill.exp: Wrap in namespace.
819 (start_inferior): Add TESTPID parameter. Use it instead of the
820 testpid global.
821 (top level): Define empty TESTPID array, and pass it down to
822 start_inferior.
823
02eba61a
TV
8242020-05-14 Tom de Vries <tdevries@suse.de>
825
826 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
827 output.
828
971a3747
TV
8292020-05-14 Tom de Vries <tdevries@suse.de>
830
831 * gdb.base/align.exp: Split into ...
832 * gdb.base/align.exp.in: ...
833 * gdb.base/align-c++.exp: ...
834 * gdb.base/align-c.exp: ... these.
835 * gdb.base/infcall-nested-structs.exp: Split into ...
836 * gdb.base/infcall-nested-structs.exp.in: ...
837 * gdb.base/infcall-nested-structs-c++.exp: ...
838 * gdb.base/infcall-nested-structs-c.exp: ... these.
839 * gdb.base/info-types.exp: Split into ...
840 * gdb.base/info-types.exp.in: ...
841 * gdb.base/info-types-c++.exp: ...
842 * gdb.base/info-types-c.exp: ... these.
843 * gdb.base/max-depth.exp: Split into ...
844 * gdb.base/max-depth.exp.in: ...
845 * gdb.base/max-depth-c++.exp: ...
846 * gdb.base/max-depth-c.exp: ... these.
847 * gdb.cp/infcall-nodebug.exp: Split into ...
848 * gdb.cp/infcall-nodebug.exp.in: ...
849 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
850 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
851 * gdb.cp/infcall-nodebug-c-d0.exp: ...
852 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
853
a05575d3
TBA
8542020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
855 Pedro Alves <palves@redhat.com>
856
857 * gdb.multi/multi-exit.c: New file.
858 * gdb.multi/multi-exit.exp: New file.
859 * gdb.multi/multi-kill.c: New file.
860 * gdb.multi/multi-kill.exp: New file.
861
6ad82919
TBA
8622020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
863
864 * gdb.base/annota1.exp: Update the expected output.
865 * gdb.cp/annota2.exp: Ditto.
866
843f4d93
AB
8672020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
868
869 * lib/check-test-names.exp: Disable when testing is being run in
870 parallel.
871
c7c66341
TV
8722020-05-12 Tom de Vries <tdevries@suse.de>
873
874 * gdb.base/jit-elf.exp: Fix string concat.
875
1b59ca1c
TV
8762020-05-12 Tom de Vries <tdevries@suse.de>
877
878 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
879 messages.
880
b4991d29
TV
8812020-05-12 Tom de Vries <tdevries@suse.de>
882
883 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
884
dbb0ab10
TV
8852020-05-12 Tom de Vries <tdevries@suse.de>
886
887 * gdb.ada/catch_ex.exp: Use with_test_prefix.
888 * gdb.ada/mi_catch_ex.exp: Same.
889 * gdb.ada/mi_catch_ex_hand.exp: Same.
890
7549fed8
TV
8912020-05-12 Tom de Vries <tdevries@suse.de>
892
893 * gdb.fortran/complex.exp: Use with_test_prefix.
894
af2d5cd8
TV
8952020-05-12 Tom de Vries <tdevries@suse.de>
896
897 * gdb.trace/passcount.exp: Fix test-names.
898
7c121311
TV
8992020-05-12 Tom de Vries <tdevries@suse.de>
900
901 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
902
c9f3b40e
TV
9032020-05-12 Tom de Vries <tdevries@suse.de>
904
905 * gdb.gdb/complaints.exp: Use with_test_prefix.
906 * gdb.xml/tdesc-regs.exp: Same.
907 * gdb.opt/inline-locals.exp: Fix test name.
908
111b33f0
TV
9092020-05-12 Tom de Vries <tdevries@suse.de>
910
911 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
912 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
913 * gdb.dwarf2/implref-struct.exp: Same.
914 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
915 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
916
ebf47080
SM
9172020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
918
919 * gdb.base/jit-so.exp (one_jit_test): Change test name.
920
d30dcd12
AB
9212020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
922
923 * lib/check-test-names.exp (all_test_names): New module variable.
924 (counts): Add 'duplicates' field.
925 (_check_duplicates): New procedure.
926 (check): Also check for duplicates.
927 (do_log_summary): Print duplicates count.
928 (do_reset_vars): Reset counter for duplicate test names, and
929 discard all know test names.
930
34584c09
AB
9312020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
932
933 * lib/gdb.exp: Include check-test-names.exp library.
934 * lib/check-test-names.exp: New file.
935
e0002117
TV
9362020-05-11 Tom de Vries <tdevries@suse.de>
937
938 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
939
53f539a3
KS
9402020-05-11 Keith Seitz <keiths@redhat.com>
941
942 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
943
113ee09a
TV
9442020-05-11 Tom de Vries <tdevries@suse.de>
945
946 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
947 * gdb.cp/cpexprs.exp.in: .. here.
948 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
949 cpexprs.exp.
950
ba3e70b0
KS
9512020-05-11 Keith Seitz <keiths@redhat.com>
952
953 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
954 test names.
955 * gdb.ada/arrayptr.exp: Likewise.
956 * gdb.ada/assign_arr.exp: Likewise.
957 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
958 * gdb.ada/bp_on_var.exp: Likewise.
959 * gdb.ada/call_pn.exp: Likewise.
960 * gdb.ada/complete.exp: Likewise.
961 * gdb.ada/fun_overload_menu.exp: Likewise.
962 * gdb.ada/funcall_param.exp: Likewise.
963 * gdb.ada/funcall_ref.exp: Likewise.
964 * gdb.ada/packed_array_assign.exp: Likewise.
965 * gdb.ada/same_component_name.exp: Likewise.
966 * gdb.ada/type_coercion.exp: Likewise.
967 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
968 * gdb.ada/variant_record_packed_array.exp: Likewise.
969
3ee6bb11
TV
9702020-05-11 Tom de Vries <tdevries@suse.de>
971
972 PR symtab/25941
973 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
974 out of ...
975 * gdb.dwarf2/clang-debug-names.exp: ... here.
976 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
977 clang-debug-names.exp.in.
978 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
979 * gdb.dwarf2/clang-debug-names-2.c: New test.
980
86cd6bc8
AKS
9812020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
982
983 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
984 (fortran_runto_main): New Proc, fortran version of runto_main.
985 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
986 * gdb.fortran/array-bounds.exp: Likewise.
987 * gdb.fortran/array-slices.exp: Likewise.
988 * gdb.fortran/block-data.exp: Likewise.
989 * gdb.fortran/charset.exp: Likewise.
990 * gdb.fortran/common-block.exp: Likewise.
991 * gdb.fortran/complex.exp: Likewise.
992 * gdb.fortran/derived-type-function.exp: Likewise.
993 * gdb.fortran/derived-type.exp: Likewise.
994 * gdb.fortran/info-modules.exp: Likewise.
995 * gdb.fortran/info-types.exp: Likewise.
996 * gdb.fortran/intrinsics.exp: Likewise.
997 * gdb.fortran/library-module.exp: Likewise.
998 * gdb.fortran/logical.exp: Likewise.
999 * gdb.fortran/max-depth.exp: Likewise.
1000 * gdb.fortran/module.exp: Likewise.
1001 * gdb.fortran/multi-dim.exp: Likewise.
1002 * gdb.fortran/nested-funcs.exp: Likewise.
1003 * gdb.fortran/print-formatted.exp: Likewise.
1004 * gdb.fortran/print_type.exp: Likewise.
1005 * gdb.fortran/printing-types.exp: Likewise.
1006 * gdb.fortran/ptr-indentation.exp: Likewise.
1007 * gdb.fortran/ptype-on-functions.exp: Likewise.
1008 * gdb.fortran/subarray.exp: Likewise.
1009 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1010 * gdb.fortran/vla-datatypes.exp: Likewise.
1011 * gdb.fortran/vla-history.exp: Likewise.
1012 * gdb.fortran/vla-ptr-info.exp: Likewise.
1013 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1014 * gdb.fortran/vla-ptype.exp: Likewise.
1015 * gdb.fortran/vla-sizeof.exp: Likewise.
1016 * gdb.fortran/vla-type.exp: Likewise.
1017 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1018 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1019 * gdb.fortran/vla-value-sub.exp: Likewise.
1020 * gdb.fortran/vla-value.exp: Likewise.
1021 * gdb.fortran/whatis_type.exp: Likewise.
1022 * gdb.mi/mi-var-child-f.exp: Likewise.
1023
6dc55ce9 10242020-05-09 Tom de Vries <tdevries@suse.de>
1025
1026 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1027
283cb58c
TV
10282020-05-08 Tom de Vries <tdevries@suse.de>
1029
1030 * gdb.dwarf2/clang-debug-names.c: New test.
1031 * gdb.dwarf2/clang-debug-names.exp: New file.
1032
ac4a4f1c
SM
10332020-05-06 Simon Marchi <simon.marchi@efficios.com>
1034
1035 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1036 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1037
24fe640b
TV
10382020-05-06 Tom de Vries <tdevries@suse.de>
1039
1040 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1041 breakpoint is at a "recommended breakpoint location".
1042 * gdb.reverse/consecutive-reverse.exp: Same.
1043
0d8683a3
TV
10442020-05-06 Tom de Vries <tdevries@suse.de>
1045
1046 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1047 address.
1048
b8983c46
TV
10492020-05-06 Tom de Vries <tdevries@suse.de>
1050
1051 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1052
abf6d805
TV
10532020-05-06 Tom de Vries <tdevries@suse.de>
1054
1055 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1056 info for r.
1057
0fc2a808
TV
10582020-05-06 Tom de Vries <tdevries@suse.de>
1059
1060 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1061 necessary.
1062
873dd427
TV
10632020-05-06 Tom de Vries <tdevries@suse.de>
1064
1065 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1066 void.
1067
7c99e7e2
TV
10682020-05-06 Tom de Vries <tdevries@suse.de>
1069
1070 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1071 of ...
1072 * gdb.base/async.exp: ... here.
1073 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1074 "recommended breakpoint location".
1075
6173d6a6
TV
10762020-05-06 Tom de Vries <tdevries@suse.de>
1077
1078 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1079
6015a067
TV
10802020-05-04 Tom de Vries <tdevries@suse.de>
1081
1082 * gdb.base/async.exp: Check whether instruction addresses are a
1083 "recommended breakpoint location".
1084
3b6acaee
TT
10852020-05-03 Tom Tromey <tom@tromey.com>
1086
1087 * gdb.base/sepdebug.exp: Remove "catch" test.
1088 * gdb.base/break.exp: Remove "catch" test.
1089 * gdb.base/default.exp: Update expected output.
1090
5beb4d17
TV
10912020-05-02 Tom de Vries <tdevries@suse.de>
1092
1093 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1094 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1095 * gdb.arch/i386-mpx-map.exp: Same.
1096 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1097 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1098 * gdb.arch/i386-mpx.exp: Same.
1099
8caf140d
TV
11002020-05-02 Tom de Vries <tdevries@suse.de>
1101
1102 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1103
693196cb
TV
11042020-05-01 Tom de Vries <tdevries@suse.de>
1105
1106 * gdb.ada/operator_bp.exp: Allow more than required amount of
1107 breakpoint.
1108
53ae0aa9
TV
11092020-05-01 Tom de Vries <tdevries@suse.de>
1110
1111 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1112
ee9d1e5f
HD
11132020-04-30 Hannes Domani <ssbssa@yahoo.de>
1114
1115 PR gdb/18706
1116 * gdb.cp/stub-array-size.cc: New test.
1117 * gdb.cp/stub-array-size.exp: New file.
1118 * gdb.cp/stub-array-size.h: New test.
1119 * gdb.cp/stub-array-size2.cc: New test.
1120
d5cf82c0
HD
11212020-04-30 Hannes Domani <ssbssa@yahoo.de>
1122
1123 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1124 output to the new format.
1125
42e165c3
SM
11262020-04-29 Simon Marchi <simon.marchi@efficios.com>
1127
1128 * gdb.base/break.exp: Use with_test_prefix.
1129
6e4e3fe1
TV
11302020-04-29 Tom de Vries <tdevries@suse.de>
1131
1132 * lib/gdb.exp (debug_types): New proc.
1133 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1134 * gdb.python/py-symtab.exp: Same.
1135
d642b692
HD
11362020-04-29 Hannes Domani <ssbssa@yahoo.de>
1137
1138 PR gdb/17320
1139 * gdb.base/pretty-array.c: New test.
1140 * gdb.base/pretty-array.exp: New file.
1141
ea90f227
TV
11422020-04-29 Tom de Vries <tdevries@suse.de>
1143
1144 PR symtab/25889
1145 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1146 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1147 and include cpexprs.exp.
1148
a65189c9
TV
11492020-04-28 Mark Williams <mark@myosotissp.com>
1150
1151 PR gdb/24480
1152 * dw4-toplevel-types.exp: Test for top level types.
1153 * dw4-toplevel-types.cc: Test for top level types.
1154
32d1f47a
TBA
11552020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1156
1157 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1158 (theads -> threads).
1159
56a4f5a1
TV
11602020-04-28 Tom de Vries <tdevries@suse.de>
1161
1162 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1163
0b2f8a3b
TV
11642020-04-28 Tom de Vries <tdevries@suse.de>
1165
1166 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1167
5390c717
TV
11682020-04-28 Tom de Vries <tdevries@suse.de>
1169
1170 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1171
15cd93d0
TV
11722020-04-28 Tom de Vries <tdevries@suse.de>
1173
1174 * gdb.dwarf2/main-foo.c: New test.
1175 * gdb.dwarf2/struct-with-sig.exp: New file.
1176
d472f0fb
TV
11772020-04-25 Tom de Vries <tdevries@suse.de>
1178
1179 * boards/debug-types.exp: New file.
1180
8d840e05
AB
11812020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1182
1183 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1184
bcfe6157
TT
11852020-04-24 Tom Tromey <tom@tromey.com>
1186
1187 PR symtab/12707:
1188 * gdb.python/py-symbol.exp: Update expected results for
1189 linkage_name test.
1190 * gdb.cp/print-demangle.exp: New file.
1191 * gdb.base/c-linkage-name.exp: Fix test.
1192 * gdb.guile/scm-symbol.exp: Update expected results for
1193 linkage_name test.
1194
f049a313
TT
11952020-04-24 Tom Tromey <tom@tromey.com>
1196
1197 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1198 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1199 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1200 assembler.
1201
7cf28874
TV
12022020-04-24 Tom de Vries <tdevries@suse.de>
1203
1204 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1205 C++.
1206
dac2fef7
TT
12072020-04-24 Tom Tromey <tromey@adacore.com>
1208
1209 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1210 values.
1211 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1212 values. Update test for minimal encodings.
1213 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1214 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1215 values. Update test for minimal encodings.
1216
1acda803
TT
12172020-04-24 Tom Tromey <tromey@adacore.com>
1218
1219 PR python/23662:
1220 * gdb.ada/variant.exp: Add Python checks.
1221 * gdb.rust/simple.exp: Add dynamic type checks.
1222
adfb9815
TT
12232020-04-24 Tom Tromey <tromey@adacore.com>
1224
1225 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1226 Make array type matching more lax.
1227 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1228 * gdb.ada/mi_variant.exp: New file.
1229 * gdb.ada/mi_variant/pck.ads: New file.
1230 * gdb.ada/mi_variant/pkg.adb: New file.
1231 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1232 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1233
7d79de9a
TT
12342020-04-24 Tom Tromey <tromey@adacore.com>
1235
1236 * gdb.ada/variant.exp: Add dynamic field offset tests.
1237 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1238 * gdb.ada/variant/pkg.adb: Add new variables.
1239
f8e89861
TT
12402020-04-24 Tom Tromey <tromey@adacore.com>
1241
1242 * gdb.ada/variant.exp: New file
1243 * gdb.ada/variant/pkg.adb: New file
1244 * gdb.ada/variant/pck.adb: New file
1245
86e887ae
TV
12462020-04-24 Tom de Vries <tdevries@suse.de>
1247
1248 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1249
88428775
TV
12502020-04-24 Tom de Vries <tdevries@suse.de>
1251
1252 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1253 flags.
1254
4e86f6e7
TV
12552020-04-24 Tom de Vries <tdevries@suse.de>
1256
1257 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1258
2016d3e6
TV
12592020-04-24 Tom de Vries <tdevries@suse.de>
1260
1261 * lib/gdb.exp (default_gdb_start): Handle eof.
1262 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1263 failure.
1264 * gdb.base/readnever.exp: Handle clean_restart failure.
1265
70bc38f5
TV
12662020-04-23 Tom de Vries <tdevries@suse.de>
1267
1268 * gdb.base/decl-before-def.exp: Run to main and print a again.
1269
de82891c
TV
12702020-04-23 Tom de Vries <tdevries@suse.de>
1271
1272 * gdb.base/decl-before-def-decl.c: New test.
1273 * gdb.base/decl-before-def-def.c: New test.
1274 * gdb.base/decl-before-def.exp: New file.
1275
96038148
TV
12762020-04-23 Tom de Vries <tdevries@suse.de>
1277
1278 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1279
54ac3df1
TV
12802020-04-22 Tom de Vries <tdevries@suse.de>
1281
1282 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1283 debug_info_offset.
1284 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1285 before $objsfile in the line line.
1286
714534e1
TV
12872020-04-22 Tom de Vries <tdevries@suse.de>
1288
1289 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1290
16a7dbf4
MS
12912020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1292
1293 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1294 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1295 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1296 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1297 * gdb.base/jit-protocol.h: Update definitions to match all usage
1298 contexts.
1299
13002020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1301
1302 * gdb.base: Rename all jit related test and source files.
1303
13042020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1305
1306 * gdb.base/jit-reader.exp: Relax register output check.
1307
317d2668
TV
13082020-04-22 Tom de Vries <tdevries@suse.de>
1309
1310 PR symtab/25764
1311 * gdb.base/psym-external-decl-2.c: New test.
1312 * gdb.base/psym-external-decl.c: New test.
1313 * gdb.base/psym-external-decl.exp: New file.
1314 * gdb.threads/tls.exp: Add PR25807 kfail.
1315
eea9e357
TV
13162020-04-22 Tom de Vries <tdevries@suse.de>
1317
1318 PR symtab/25801
1319 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1320 in "info source" output.
1321
3d5afab3
TV
13222020-04-22 Tom de Vries <tdevries@suse.de>
1323
1324 PR symtab/25700
1325 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1326 symtab for imported_unit.c.
1327
b32102f6
GB
13282020-04-21 Gary Benson <gbenson@redhat.com>
1329
1330 * gdb.base/advance.c (func): New argument, to match call site.
1331 (func2, func3): Add return statements.
1332
d43b7a2d
TBA
13332020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1334
1335 * gdb.multi/run-only-second-inf.c: New file.
1336 * gdb.multi/run-only-second-inf.exp: New file.
1337
d89edf9b
MM
13382020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1339
1340 * gdb.btrace/multi-inferior.c: New test.
1341 * gdb.btrace/multi-inferior.exp: New file.
1342
1a476b6d
MM
13432020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1344
1345 * gdb.btrace/enable-new-thread.c: New test.
1346 * gdb.btrace/enable-new-thread.exp: New file.
1347
4778a5f8
TV
13482020-04-21 Tom de Vries <tdevries@suse.de>
1349
1350 PR gdb/25471
1351 * gdb.threads/killed-outside.c: New test.
1352 * gdb.threads/killed-outside.exp: New file.
1353
9b2c992c
GB
13542020-04-20 Gary Benson <gbenson@redhat.com>
1355
1356 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1357 * gdb.base/nested-subp2.exp: Likewise.
1358 * gdb.base/nested-subp3.exp: Likewise.
1359
b5d1d6f7
GB
13602020-04-20 Gary Benson <gbenson@redhat.com>
1361
1362 * gdb.base/nested-subp1.exp: Disable test when using clang.
1363 * gdb.base/nested-subp2.exp: Likewise.
1364 * gdb.base/nested-subp3.exp: Likewise.
1365
25230285
GB
13662020-04-20 Gary Benson <gbenson@redhat.com>
1367
1368 * gdb.cp/exception.cc: Fix compilation error with clang.
1369
fa93cc8f
GB
13702020-04-20 Gary Benson <gbenson@redhat.com>
1371
809730f3 1372 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 1373
e0c45f30
GB
13742020-04-20 Gary Benson <gbenson@redhat.com>
1375
1376 * gdb.base/jit-main.c: Fix compilation error with clang.
1377
4ddfec93
KR
13782020-04-17 Kamil Rytarowski <n54@gmx.com>
1379
1380 * gdb.base/attach-twice.c: Include "sys/types.h".
1381 (PTRACE_ATTACH): Add fallback definition.
1382 (main): Pass `0' to the 4th argument of `ptrace'.
1383
2bed205e
KR
13842020-04-17 Kamil Rytarowski <n54@gmx.com>
1385
1386 * gdb.base/fork-running-state.c: Include "signal.h".
1387
0743fc83
TT
13882020-04-17 Tom Tromey <tromey@adacore.com>
1389
1390 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1391 Update tests.
1392 * gdb.btrace/cpu.exp: Update tests.
1393 * gdb.base/maint.exp: Update tests.
1394 * gdb.base/default.exp: Update tests.
1395 * gdb.base/completion.exp: Update tests.
1396
efba5c23
TV
13972020-04-16 Tom de Vries <tdevries@suse.de>
1398
1399 PR symtab/25791
1400 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1401 (ensure_gdb_index): and factor out and move ...
1402 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1403 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1404
d191d716
TV
14052020-04-16 Tom de Vries <tdevries@suse.de>
1406
1407 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1408 loading exec.
1409
99f1bc6a
AB
14102020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1411
1412 * gdb.base/many-completions.exp: New file.
1413
194d088f
TV
14142020-04-14 Tom de Vries <tdevries@suse.de>
1415
1416 PR symtab/25718
1417 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1418
c1a66c06
TV
14192020-04-14 Tom de Vries <tdevries@suse.de>
1420
1421 PR symtab/25720
1422 * gdb.base/maint-expand-symbols-header-file.c: New test.
1423 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1424 * gdb.base/maint-expand-symbols-header-file.h: New test.
1425
21b0982c
AB
14262020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1427
1428 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1429 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1430 get_func_info.
1431 (get_func_info): Delete.
1432 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1433 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1434 * lib/dwarf.exp (get_func_info): New function.
1435
dd1cab06
TV
14362020-04-13 Tom de Vries <tdevries@suse.de>
1437
1438 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1439 to what find_gnatmake does.
1440
71ea2b6b
TV
14412020-04-10 Tom de Vries <tdevries@suse.de>
1442
1443 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1444 -readnow.
1445
bdfc1e8a
TV
14462020-04-10 Tom de Vries <tdevries@suse.de>
1447
1448 PR cli/25808
1449 * gdb.base/style.c: Add leading newlines.
1450 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1451 Check listing of main's one-line body.
1452
14ca8ecf
TV
14532020-04-08 Tom de Vries <tdevries@suse.de>
1454
1455 * lib/gdb.exp (psymtabs_p): New proc.
1456 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1457 importing unit" unsupported if there are no partial symbols.
1458
e21d048f
TV
14592020-04-08 Tom de Vries <tdevries@suse.de>
1460
1461 PR testsuite/25760
1462 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1463
25c11aca
TV
14642020-04-07 Tom de Vries <tdevries@suse.de>
1465
1466 PR symtab/25796
1467 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1468
5707e24b
TV
14692020-04-07 Tom de Vries <tdevries@suse.de>
1470
1471 * gdb.base/check-psymtab.c: New test.
1472 * gdb.base/check-psymtab.exp: New file.
1473
6ee448cc
TT
14742020-04-06 Tom Tromey <tromey@adacore.com>
1475
1476 * gdb.ada/variant-record/proc.adb: New file.
1477 * gdb.ada/variant-record/value.adb: New file.
1478 * gdb.ada/variant-record/value.s: New file.
1479 * gdb.ada/variant-record.exp: New file.
1480
9e7c9a03
HD
14812020-04-03 Hannes Domani <ssbssa@yahoo.de>
1482
1483 PR gdb/25325
1484 * gdb.cp/typed-enum.cc: New test.
1485 * gdb.cp/typed-enum.exp: New file.
1486
c90d28ac
AB
14872020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1488
1489 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1490 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1491 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1492 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1493 * gdb.opt/inline-small-func.c: New file.
1494 * gdb.opt/inline-small-func.exp: New file.
1495 * gdb.opt/inline-small-func.h: New file.
1496
34e9a9fa
AB
14972020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1498
1499 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1500 function.
1501
6a354911
AB
15022020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1503
1504 * lib/dwarf.exp (function_range): Allow compiler options to be
1505 specified.
1506
880d9777
TV
15072020-04-02 Tom de Vries <tdevries@suse.de>
1508
1509 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1510 __attribute__((always_inline)).
1511 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1512
f32682ea
TV
15132020-04-02 Tom de Vries <tdevries@suse.de>
1514
1515 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1516 (gdbserver_gdb_exit): ... here. Add timeout warning.
1517 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1518 (connect_target_extended_remote): Append new server_spawn_id to
1519 server_spawn_ids.
1520 (cleanup): New proc.
1521 (setup, <toplevel>): Call cleanup.
1522
d3214198
TV
15232020-04-02 Tom de Vries <tdevries@suse.de>
1524
1525 * gdb.base/main-psymtab.exp: New file.
1526
cc77ed24
TV
15272020-04-02 Tom de Vries <tdevries@suse.de>
1528
1529 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1530
3638a098
TT
15312020-04-01 Tom Tromey <tom@tromey.com>
1532
1533 * gdb.base/complex-parts.exp: Add type tests.
1534
c34e8714
TT
15352020-04-01 Tom Tromey <tom@tromey.com>
1536
1537 * gdb.base/complex-parts.exp: Add arithmetic tests.
1538
981c08ce
TT
15392020-04-01 Tom Tromey <tom@tromey.com>
1540
1541 * gdb.compile/compile.exp: Update.
1542 * gdb.compile/compile-cplus.exp: Update.
1543 * gdb.base/varargs.exp: Update.
1544 * gdb.base/floatn.exp: Update.
1545 * gdb.base/endianity.exp: Update.
1546 * gdb.base/callfuncs.exp (do_function_calls): Update.
1547 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1548 (complex_float_integral_args): Update.
1549 * gdb.base/complex.exp: Update.
1550 * gdb.base/complex-parts.exp: Update.
1551
3d1cfd43
TT
15522020-04-01 Tom Tromey <tromey@adacore.com>
1553
1554 * gdb.rust/union.rs: New file.
1555 * gdb.rust/union.exp: New file.
1556 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1557 (main): Update.
1558 * gdb.rust/simple.exp: Move union tests to union.exp.
1559
e033dfa9
TT
15602020-04-01 Tom Tromey <tromey@adacore.com>
1561
1562 * gdb.rust/simple.rs (main): Remove "y0".
1563
53cccef1
TBA
15642020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1565
1566 * gdb.multi/stop-all-on-exit.c: New test.
1567 * gdb.multi/stop-all-on-exit.exp: New file.
1568
60e22c1e
HD
15692020-04-01 Hannes Domani <ssbssa@yahoo.de>
1570
1571 PR gdb/24789
1572 * gdb.cp/misc.cc: Add integer reference variable.
1573 * gdb.cp/misc.exp: Add test.
1574
e139a727
TBA
15752020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1576
1577 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1578 scenario to cover execution until the end and also the case
1579
16b0db75
TV
15802020-03-31 Tom de Vries <tdevries@suse.de>
1581
1582 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1583 c. Use "maint info symtabs" to check symtab expansion.
1584
c0502da6
TV
15852020-03-30 Tom de Vries <tdevries@suse.de>
1586
1587 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1588 unsupported.
1589 (verify_psymtab_expanded): Move ...
1590 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1591 test.
1592 (readnow): New proc.
1593
5935fd15
AB
15942020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1595
1596 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1597 with $hex.
1598
1773be9e
TT
15992020-03-20 Tom Tromey <tromey@adacore.com>
1600
1601 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1602
70304be9
TT
16032020-03-20 Tom Tromey <tromey@adacore.com>
1604
1605 * gdb.ada/sub_variant/subv.adb: New file.
1606 * gdb.ada/sub_variant.exp: New file.
1607
0dd7b8f7
TV
16082020-03-20 Tom de Vries <tdevries@suse.de>
1609
1610 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1611 first break fails.
1612 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1613
cada5fc9
AB
16142020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1615
1616 * gdb.server/exit-multiple-threads.c: New file.
1617 * gdb.server/exit-multiple-threads.exp: New file.
1618
6b8c53f2
AB
16192020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1620
1621 * gdb.fortran/mixed-lang-stack.c: New file.
1622 * gdb.fortran/mixed-lang-stack.cpp: New file.
1623 * gdb.fortran/mixed-lang-stack.exp: New file.
1624 * gdb.fortran/mixed-lang-stack.f90: New file.
1625
19a2740f
AB
16262020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1627
1628 * gdb.linespec/cp-completion-aliases.cc: New file.
1629 * gdb.linespec/cp-completion-aliases.exp: New file.
1630
d8c8b848
TV
16312020-03-19 Tom de Vries <tdevries@suse.de>
1632
1633 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1634 more precise.
1635
a9933ccf
TV
16362020-03-18 Tom de Vries <tdevries@suse.de>
1637
1638 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1639 * gdb.dwarf2/break-inline-psymtab.c: New test.
1640 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1641
2f89101f
TV
16422020-03-16 Tom de Vries <tdevries@suse.de>
1643
1644 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1645 cache_verify and cache_verify_proc.
1646
6b9374f1
TV
16472020-03-15 Tom de Vries <tdevries@suse.de>
1648
1649 * gdb.server/solib-list.exp: Handle
1650 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1651
eaeaf44c
TV
16522020-03-15 Tom de Vries <tdevries@suse.de>
1653
1654 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1655 objfiles".
1656
3293bbaf
TT
16572020-03-14 Tom Tromey <tom@tromey.com>
1658
1659 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1660
ab44624c
TV
16612020-03-14 Tom de Vries <tdevries@suse.de>
1662
1663 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1664
54c43825
TV
16652020-03-14 Tom de Vries <tdevries@suse.de>
1666
1667 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1668 result in line-by-line fashion.
1669
2ac70237
TV
16702020-03-14 Tom de Vries <tdevries@suse.de>
1671
1672 * lib/gdb.exp (supports_statement_frontiers): New proc.
1673 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1674
09546b56
TV
16752020-03-14 Tom de Vries <tdevries@suse.de>
1676
1677 * gdb.base/printcmds.exp: Add missing quoting for "print
1678 teststring2".
1679
a1f6a07c
TT
16802020-03-13 Tom Tromey <tom@tromey.com>
1681
1682 * gdb.base/printcmds.exp (test_print_strings): Add regression
1683 test.
1684 * gdb.base/printcmds.c (charptr): New typedef.
1685 (teststring2): New global.
1686
1b83d09c
AB
16872020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1688
1689 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1690 full path in the test name.
1691 (test_ld): Add some with_test_prefix blocks to make test names
1692 unique.
1693
2d61316c
TV
16942020-03-13 Tom de Vries <tdevries@suse.de>
1695
1696 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1697
2e9145ac
TV
16982020-03-13 Tom de Vries <tdevries@suse.de>
1699
1700 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1701
96c7f873
TV
17022020-03-13 Tom de Vries <tdevries@suse.de>
1703
1704 PR symtab/25646
1705 * gdb.dwarf2/imported-unit.exp: Add test.
1706
49ba92c0
TV
17072020-03-13 Tom de Vries <tdevries@suse.de>
1708
1709 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1710 (var1, var2): New variable.
1711 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1712 matching symbols.
1713
301b21e0
TV
17142020-03-13 Tom de Vries <tdevries@suse.de>
1715
1716 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1717 (Term::command): Use prompt prefix.
1718 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1719 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1720 command_no_prompt_prefix instead of prefix.
1721 * gdb.tui/tui-layout-asm.exp: Same.
1722
3f512721
SM
17232020-03-12 Simon Marchi <simon.marchi@efficios.com>
1724
1725 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1726
40310f30
SM
17272020-03-12 Simon Marchi <simon.marchi@efficios.com>
1728
1729 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1730 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1731 on" while stepping over the test instruction, match printed
1732 message.
1733
09252140
TV
17342020-03-12 Tom de Vries <tdevries@suse.de>
1735
1736 * gdb.base/info-types.exp: Use exp_continue during matching of output
1737 of "info types".
1738
14e9c72c
TV
17392020-03-12 Tom de Vries <tdevries@suse.de>
1740
1741 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1742
e515d67e
TV
17432020-03-12 Tom de Vries <tdevries@suse.de>
1744
1745 * gdb.fortran/module.exp: Use exp_continue during matching of output
1746 of "info variable -n".
1747
307eafd8
TV
17482020-03-12 Tom de Vries <tdevries@suse.de>
1749
1750 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1751 gdb.dwarf2/dw2-ranges-base.c.
1752
9a2de3fc
TV
17532020-03-12 Tom de Vries <tdevries@suse.de>
1754
1755 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1756 in presence of GLIBC debuginfo.
1757
3217502e
TV
17582020-03-12 Tom de Vries <tdevries@suse.de>
1759
1760 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1761 $core.
1762
1281424c
TV
17632020-03-12 Tom de Vries <tdevries@suse.de>
1764
1765 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1766 more precise.
1767
038b97fc
SM
17682020-03-11 Simon Marchi <simon.marchi@efficios.com>
1769
1770 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1771 from Unix to Windows path.
1772
5308d1e7
TV
17732020-03-11 Tom de Vries <tdevries@suse.de>
1774
1775 * gdb.ada/minsyms.exp: Set language to ada.
1776
f870f78f
TV
17772020-03-11 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1780
5a13315d
TV
17812020-03-11 Tom de Vries <tdevries@suse.de>
1782
1783 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1784
976862ed
TT
17852020-03-11 Tom Tromey <tromey@adacore.com>
1786
1787 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1788
7462c383
TV
17892020-03-11 Tom de Vries <tdevries@suse.de>
1790
1791 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1792
1c6c46a0
TV
17932020-03-11 Tom de Vries <tdevries@suse.de>
1794
1795 * gdb.base/break-interp.exp: Limit verbose scope.
1796
44f41bb7
TV
17972020-03-11 Tom de Vries <tdevries@suse.de>
1798
1799 * gdb.fortran/logical.f90: Define variable with character type.
1800 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1801
b76f3a42
TV
18022020-03-11 Tom de Vries <tdevries@suse.de>
1803
1804 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1805
1c33af77
TV
18062020-03-11 Tom de Vries <tdevries@suse.de>
1807
1808 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1809 symtabs.
1810
8c95582d
AB
18112020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1812 Bernd Edlinger <bernd.edlinger@hotmail.de>
1813
1814 * gdb.cp/step-and-next-inline.cc: New file.
1815 * gdb.cp/step-and-next-inline.exp: New file.
1816 * gdb.cp/step-and-next-inline.h: New file.
1817 * gdb.dwarf2/dw2-is-stmt.c: New file.
1818 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1819 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1820 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1821 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1822
cecf8547
AB
18232020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1824
1825 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1826 is-stmt flag in the line table.
1827
0ba678c9
TV
18282020-03-09 Tom de Vries <tdevries@suse.de>
1829
1830 * lib/gdb.exp (cached_file): Create cache dir.
1831
72fbdf83
TV
18322020-03-07 Tom de Vries <tdevries@suse.de>
1833
1834 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1835 * gdb.cp/rvalue-ref-params.exp: Same.
1836
436b5e99
TV
18372020-03-06 Tom de Vries <tdevries@suse.de>
1838
1839 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1840 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1841
09f2921c
TV
18422020-03-06 Tom de Vries <tdevries@suse.de>
1843
1844 * README: Fix "the the".
1845 * gdb.base/dprintf.exp: Same.
1846
50a3cc5d
TV
18472020-03-05 Tom de Vries <tdevries@suse.de>
1848
1849 * gdb.base/maint.exp: Update "main print statistics" expected output.
1850
0a709cba
AKS
18512020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1852
1853 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1854 (fortran_int8): Likewise.
1855 (fortran_real4): Likewise.
1856 (fortran_real8): Likewise.
1857 (fortran_complex4): Likewise.
1858 (fortran_logical4): Likewise.
1859 (fortran_character1): Likewise.
1860
5e5d66b6
AB
18612020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1862
1863 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1864 printed as true.
1865
7b973adc
SDJ
18662020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1867
1868 * gdb.base/printcmds.exp: Add test to verify printf of a
1869 variable holding an address.
1870
478e490a
TV
18712020-03-03 Tom de Vries <tdevries@suse.de>
1872
1873 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1874
1ef44e86
TV
18752020-03-03 Tom de Vries <tdevries@suse.de>
1876
1877 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1878 gdb_test_multiple call.
1879
b98cc2cf
TV
18802020-03-03 Tom de Vries <tdevries@suse.de>
1881
1882 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1883 gdb_test_multiple calls.
1884
63e163f2
AB
18852020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1886
1887 * gdb.base/default.exp: Remove test of 'set history filename'.
1888 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1889 filename to the empty string.
1890 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1891 and GDBHISTSIZE.
1892
24ed6739
AB
18932020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1894
1895 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1896 disabled.
1897
590003dc
TV
18982020-03-02 Pedro Alves <palves@redhat.com>
1899 Tom de Vries <tdevries@suse.de>
1900
1901 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1902 -prompt prefix, before user_code argument. Add -lbl option likewise.
1903 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1904 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1905 argument.
1906 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1907 have "\r\n" at start-of-line, instead of at end-of-line.
1908
f5e46084
SM
19092020-02-28 Simon Marchi <simon.marchi@efficios.com>
1910
1911 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1912 libinproctrace.so.
1913
f7a7000d
LM
19142020-02-28 Luis Machado <luis.machado@linaro.org>
1915
1916 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1917 to "p/x".
1918
718e0816
LM
19192020-02-28 Luis Machado <luis.machado@linaro.org>
1920
1921 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1922 asm/ptrace.h and error.h.
1923
13c3a74a
TV
19242020-02-28 Tom de Vries <tdevries@suse.de>
1925
1926 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1927 (struct wrapper, do_something, mundane/symada__cS): Move ...
1928 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1929 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1930 Update "print symada__cS before partial symtab expansion" regexp.
1931 Update breakpoint location. Flush symbol cache after expansion.
1932
85d2d5bb
LM
19332020-02-28 Luis Machado <luis.machado@linaro.org>
1934
1935 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1936
3608f86c
TV
19372020-02-27 Tom de Vries <tdevries@suse.de>
1938
1939 * config/sid.exp: Remove unused globals.
1940 * gdb.base/attach.exp: Same.
1941 * gdb.base/catch-load.exp: Same.
1942 * gdb.base/dbx.exp: Same.
1943 * lib/gdb.exp: Same.
1944 * lib/mi-support.exp: Same.
1945 * lib/prompt.exp: Same.
1946
c8d4f6df
TV
19472020-02-27 Tom de Vries <tdevries@suse.de>
1948
1949 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1950 not set.
1951
0d79cdc4
AM
19522020-02-26 Aaron Merey <amerey@redhat.com>
1953
1954 * gdb.debuginfod: New directory for debuginfod tests.
1955 * gdb.debuginfod/main.c: New test file.
1956 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1957
0dce4280
TV
19582020-02-26 Tom de Vries <tdevries@suse.de>
1959
1960 PR gdb/25603
1961 * gdb.base/persistent-lang.cc: New test.
1962 * gdb.base/persistent-lang.exp: New file.
1963
9e80cfa1
AB
19642020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1965
1966 * gdb.fortran/derived-type-striding.exp: Add a new test.
1967 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1968 new test.
1969
2078dbb2
AB
19702020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1971
1972 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1973 names.
1974
70d49700
TV
19752020-02-25 Tom de Vries <tdevries@suse.de>
1976
1977 PR go/18926
1978 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1979
a88ef40d
TV
19802020-02-24 Tom de Vries <tdevries@suse.de>
1981
1982 PR gdb/25592
1983 * gdb.base/info-locals-unused-static-var.c: New test.
1984 * gdb.base/info-locals-unused-static-var.exp: New file.
1985
01b1af32
TT
19862020-02-22 Tom Tromey <tom@tromey.com>
1987
1988 * gdb.python/tui-window.exp: New file.
1989 * gdb.python/tui-window.py: New file.
1990
7c043ba6
TT
19912020-02-22 Tom Tromey <tom@tromey.com>
1992
1993 PR tui/17850:
1994 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1995 tests.
1996
c22fef7e
TT
19972020-02-22 Tom Tromey <tom@tromey.com>
1998
1999 * gdb.tui/new-layout.exp: Add sub-layout tests.
2000
ee325b61
TT
20012020-02-22 Tom Tromey <tom@tromey.com>
2002
2003 * gdb.tui/new-layout.exp: New file.
2004
3f0cbb04
TT
20052020-02-22 Tom Tromey <tom@tromey.com>
2006
2007 * gdb.rust/rust-style.rs: New file.
2008 * gdb.rust/rust-style.exp: New file.
2009 * gdb.base/style.exp: Test structure printing.
2010 * gdb.base/style.c (struct some_struct): New type.
2011 (enum etype): New type.
2012 (struct_value): New global.
2013
75525152
TV
20142020-02-21 Tom de Vries <tdevries@suse.de>
2015
2016 PR go/18926
2017 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2018 Remove blanket xfails. Use message argument for gdb_breakpoint.
2019 Make continuing to breakpoint test conditional on setting breakpoint.
2020 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2021 DW_AT_name attribute. Add xfail for GCC PR93866.
2022
bd360d30
AB
20232020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2024
2025 * gdb.dwarf2/cpp-linkage-name.c: New file.
2026 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2027
c7adb09f 20282020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2029
2030 * lib/gdb.exp (gdb_wrapper_init): Reset
2031 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2032 not exist.
2033
a9c79803
TV
20342020-02-20 Tom de Vries <tdevries@suse.de>
2035
2036 PR go/17018
2037 * gdb.go/hello.exp: Copy ...
2038 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2039 print of st to print value of global definition. Add xfail for GCC
2040 PR93844.
2041 * gdb.go/hello.exp: Remove printing of st before definition.
2042 * gdb.go/hello.go: Copy ...
2043 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2044 to st.
2045 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2046
d7445728
TV
20472020-02-20 Tom de Vries <tdevries@suse.de>
2048
2049 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2050 (gdb_simple_compile): Handle compile_flags go by using .go extension
2051 for source file.
2052 * gdb.go/chan.exp: Use support_go_compile.
2053 * gdb.go/handcall.exp: Same.
2054 * gdb.go/hello.exp: Same.
2055 * gdb.go/integers.exp: Same.
2056 * gdb.go/max-depth.exp: Same.
2057 * gdb.go/methods.exp: Same.
2058 * gdb.go/package.exp: Same.
2059 * gdb.go/strings.exp: Same.
2060 * gdb.go/types.exp: Same.
2061 * gdb.go/unsafe.exp: Same.
2062
c9c41e6d
TV
20632020-02-19 Tom de Vries <tdevries@suse.de>
2064
2065 * gdb.python/lib-types.exp: Make xfail more strict.
2066
f20ff837
TV
20672020-02-19 Tom de Vries <tdevries@suse.de>
2068
2069 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2070
08410482
DE
20712020-02-19 Doug Evans <dje@google.com>
2072
2073 PR rust/25535
2074 * gdb.rust/simple.exp: Add test.
2075 * gdb.rust/simple.rs: Add test.
2076
623563f7
TV
20772020-02-19 Tom de Vries <tdevries@suse.de>
2078
2079 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2080 output line-by-line.
2081
d3308cfd
TV
20822020-02-19 Tom de Vries <tdevries@suse.de>
2083
2084 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2085
86cbc5dc
TV
20862020-02-19 Tom de Vries <tdevries@suse.de>
2087
2088 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2089 prelink.
2090
9db2b96b
TV
20912020-02-19 Tom de Vries <tdevries@suse.de>
2092
2093 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2094 (gdb_do_cache): Use gdb_do_cache_wrap.
2095 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2096
89e2fdc5
TV
20972020-02-19 Tom de Vries <tdevries@suse.de>
2098
2099 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2100 gdb_compile option.
2101
373d7ac0
SM
21022020-02-18 Simon Marchi <simon.marchi@efficios.com>
2103
2104 * gdb.base/printcmds.exp (test_print_enums): Update expected
2105 output.
2106
b29a2df0
SM
21072020-02-18 Simon Marchi <simon.marchi@efficios.com>
2108
2109 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2110 for "unknown".
2111
6740f0cc
SM
21122020-02-18 Simon Marchi <simon.marchi@efficios.com>
2113
2114 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2115 enumerator.
2116
edd45eb0
SM
21172020-02-18 Simon Marchi <simon.marchi@efficios.com>
2118
2119 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2120 FE_, add FE_NONE.
2121 (three): Update.
2122 (enum flag_enum_without_zero): New enum.
2123 (flag_enum_without_zero): New variable.
2124 (enum not_flag_enum): New enum.
2125 (three_not_flag): New variable.
2126 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2127 (test_print_enums): Add more tests for printing flag enums.
2128
d4295de4
TV
21292020-02-18 Tom de Vries <tdevries@suse.de>
2130
2131 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2132 (gdb_compile_ada): ... here.
2133 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2134 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2135
f251f505
TT
21362020-02-14 Tom Tromey <tom@tromey.com>
2137
2138 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2139 build directory.
2140 * boards/gdbserver-base.exp: Update path to gdbserver.
2141
8f432634
TV
21422020-02-13 Tom de Vries <tdevries@suse.de>
2143
2144 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2145
92b6eaf7
TV
21462020-02-13 Tom de Vries <tdevries@suse.de>
2147
2148 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2149 are missing.
2150
f3b0f7fe
TV
21512020-02-13 Tom de Vries <tdevries@suse.de>
2152
2153 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2154 call.
2155
f6be8713
SDJ
21562020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2157
2158 PR tui/25126
2159 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2160 * gdb.base/cached-source-file.c: New file.
2161 * gdb.base/cached-source-file.exp: New file.
2162
b2770d5e
TV
21632020-02-11 Tom de Vries <tdevries@suse.de>
2164
2165 PR testsuite/25488
2166 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2167
44f6938e
TV
21682020-02-10 Tom de Vries <tdevries@suse.de>
2169
2170 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2171
5f0e2eb7
MR
21722020-02-10 Maciej W. Rozycki <macro@wdc.com>
2173
2174 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2175 and $after_addr are both integers before making a comparison.
2176
46ce2b6f
TV
21772020-02-09 Tom de Vries <tdevries@suse.de>
2178
2179 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2180 command output and paste it into gdb.log. If any, paste catch message
2181 to gdb.log.
2182
5abbbe1d
TT
21832020-02-07 Tom Tromey <tromey@adacore.com>
2184
2185 PR breakpoints/24915:
2186 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2187
1d5d29e7
SV
21882020-02-06 Shahab Vahedi <shahab@synopsys.com>
2189
2190 * gdb.tui/tui-missing-src.exp: Add the "missing source
2191 file" test for the TUI.
2192
b0999b9b
AB
21932020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2194
2195 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2196 including a port number in the output.
2197
c3b149eb
AKS
21982020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2199
2200 * lib/fortran.exp (fortran_int4): Handle clang.
2201 (fortran_int8): Likewise.
2202 (fortran_real4): Likewise.
2203 (fortran_real8): Likewise.
2204 (fortran_complex4): Likewise.
2205 (fortran_logical4): Likewise.
2206 (fortran_character1): Likewise.
2207
f8dcc90b
TV
22082020-02-04 Tom de Vries <tdevries@suse.de>
2209
2210 * README (Race detection): Add note.
2211
f90ac7c2
TV
22122020-02-04 Tom de Vries <tdevries@suse.de>
2213
2214 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2215
780636ae
TV
22162020-02-04 Tom de Vries <tdevries@suse.de>
2217
2218 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2219
5d2e1193
RA
22202020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2221
2222 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2223 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2224 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2225 blttar, bnetarl.
2226 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2227 binary for blttar, bnetarl.
2228 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2229 wait instruction. Delete ldmx test.
2230 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2231
e409c542
AKS
22322020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2233
2234 * gdb.fortran/array-bounds-high.exp: New file.
2235 * gdb.fortran/array-bounds-high.f90: New file.
2236
b0029748
LD
22372020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2238
2239 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2240 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2241
195a8287
TV
22422020-02-01 Tom de Vries <tdevries@suse.de>
2243
2244 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2245
42330a68
AB
22462020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2247
2248 PR tui/9765
2249 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2250 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2251
b62a8028
LM
22522020-01-29 Luis Machado <luis.machado@linaro.org>
2253
2254 * gdb.arch/aarch64-brk-patterns.c: New source file.
2255 * gdb.arch/aarch64-brk-patterns.exp: New test.
2256
5f440116
TBA
22572020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2258
2259 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2260 GCC/Clang version.
2261 * gdb.cp/pass-by-ref.exp: Ditto.
2262
ee2a6fc6
TV
22632020-01-29 Tom de Vries <tdevries@suse.de>
2264
2265 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2266 * gdb.threads/watchpoint-fork-mt.c: Same.
2267 * gdb.threads/watchpoint-fork-parent.c: Same.
2268 * gdb.threads/watchpoint-fork-st.c: Same.
2269 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2270
16b10d6e
LM
22712020-01-27 Luis Machado <luis.machado@linaro.org>
2272
2273 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2274 sitting at a syscall instruction when we hit the syscall function's
2275 breakpoint.
2276 Check PC against one obtained with the x command.
2277 Validate syscall number.
2278 (step_over_syscall): Don't continue to the syscall instruction if
2279 we're already there.
2280
b1468492
PW
22812020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2282
2283 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2284
7ffa82e1
AB
22852020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2286
2287 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2288 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2289
3d92a3e3
AB
22902020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2291
2292 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2293 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2294
94a72be7
AB
22952020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2296
2297 * gdb.base/maint.exp: Update line table parsing test.
2298 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2299
53af73bf
PA
23002020-01-24 Pedro Alves <palves@redhat.com>
2301
2302 PR gdb/25410
2303 * gdb.multi/multi-re-run-1.c: New.
2304 * gdb.multi/multi-re-run-2.c: New.
2305 * gdb.multi/multi-re-run.exp: New.
2306
1ba1ac88
AB
23072020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2308
2309 PR gdb/23718
2310 * gdb.server/server-kill-python.exp: New file.
2311
f3364a6d
AB
23122020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2313
2314 * gdb.server/multi-ui-errors.c: New file.
2315 * gdb.server/multi-ui-errors.exp: New file.
2316
733d0a67
AB
23172020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2318
2319 PR tui/9765
2320 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2321
4f13c1c0
TT
23222020-01-19 Tom Tromey <tom@tromey.com>
2323
2324 * gdb.tui/main.exp: Add check for plain "file".
2325
40c94099
CB
23262020-01-16 Christian Biesinger <cbiesinger@google.com>
2327
2328 * lib/gdb.exp: Fix spelling error (seperatelly).
2329
ff47f4f0
TT
23302020-01-14 Tom Tromey <tom@tromey.com>
2331
2332 PR symtab/12535:
2333 * gdb.python/python.exp: Test decode_line with empty string
2334 argument.
2335
717c684d
BE
23362020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2337
2338 * gdb.base/skip-inline.exp: Extend test.
2339
44e4c775
AB
23402020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2341
2342 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2343 * gdb.dwarf2/dw2-bad-elf.c: New file.
2344 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2345
d93c6db7
AB
23462020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2347
2348 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2349 _line_saw_file.
2350
9a6d629c
AB
23512020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2352
2353 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2354 border.
2355
d9ebdab7
TBA
23562020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2357
2358 * gdb.multi/multi-target.exp (setup): Factor out "info
2359 connections" and "info inferiors" tests to ...
2360 (test_info_inferiors): ... this new procedure.
2361 (top level): Run new "info-inferiors" tests.
2362
f3c469b9
PA
23632020-01-10 Pedro Alves <palves@redhat.com>
2364
2365 * gdb.server/bkpt-other-inferior.exp: New file.
2366
121b3efd
PA
23672020-01-10 Pedro Alves <palves@redhat.com>
2368
2369 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2370 of "add-inferior".
2371 * gdb.base/quit-live.exp: Likewise.
2372 * gdb.base/remote-exec-file.exp: Likewise.
2373 * gdb.guile/scm-progspace.exp: Likewise.
2374 * gdb.linespec/linespec.exp: Likewise.
2375 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2376 * gdb.mi/user-selected-context-sync.exp: Likewise.
2377 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2378 "info inferiors" tests.
2379 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2380 "add-inferior".
2381 * gdb.multi/watchpoint-multi.exp: Likewise.
2382 * gdb.python/py-inferior.exp: Likewise.
2383 * gdb.server/extended-remote-restart.exp: Likewise.
2384 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2385 "info inferiors".
2386 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2387 * gdb.trace/report.exp: Likewise.
2388
1dadb1dd
PA
23892020-01-10 Pedro Alves <palves@redhat.com>
2390
2391 * gdb.multi/multi-target.c: New file.
2392 * gdb.multi/multi-target.exp: New file.
2393 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2394 mode requested, but remote does not support non-stop".
2395
78f2c40a
PA
23962020-01-10 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2399 disconnect before reconnecting.
2400
e7af6c70
TBA
24012020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2402 Pedro Alves <palves@redhat.com>
2403
2404 * gdb.server/connect-without-multi-process.exp: Also test
2405 continuing to end.
2406
acdf84a6
PA
24072020-01-10 Pedro Alves <palves@redhat.com>
2408
2409 * gdb.base/remote-exec-file.exp: New file.
2410
873657b9
PA
24112020-01-10 Pedro Alves <palves@redhat.com>
2412
2413 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2414 output.
2415 * gdb.threads/async.c: New.
2416 * gdb.threads/async.exp: New.
2417 * gdb.multi/tids-gid-reset.c: New.
2418 * gdb.multi/tids-gid-reset.exp: New.
2419
7f0ae84c
GB
24202020-01-10 George Barrett <bob@bob131.so>
2421
2422 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2423 to help in finding the image relocation offset.
2424 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2425 options in arguments.
2426 (stap_test_no_debuginfo): Likewise.
2427 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2428 test variants.
2429 (stap_test): Add null semaphore relocation test.
2430
47e9d49d
GB
24312020-01-10 George Barrett <bob@bob131.so>
2432
2433 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2434 * gdb.base/stap-probe.exp: Likewise.
2435 (stap_test): Pass argument as an additional flag.
2436 (stap_test_no_debuginfo): Likewise.
2437 (stap_test): Check `info probes stap' output for semaphore
2438 addresses if the test binary is supposed to have them.
2439
f5a7c406
AB
24402020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2441
2442 * gdb.tui/basic.exp: Add more scrolling tests.
2443
9ae6bf64
TT
24442020-01-09 Tom Tromey <tom@tromey.com>
2445
2446 PR tui/18932:
2447 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2448 meangingful value.
2449 (Term::command, Term::resize): Update.
2450 * gdb.tui/basic.exp: Add scrolling test.
2451
b2efe70c
AB
24522020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2453
2454 * gdb.tui/tui-layout-asm.exp: New file.
2455
3804da7e
AB
24562020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2457
2458 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2459
b40aa28f
AB
24602020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2461
2462 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2463 (Term::enter_tui): Use Term::prepare_for_tui.
2464
63ffd7c9
AB
24652020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2466
2467 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2468 called.
2469
3be966f6
AB
24702020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2471
2472 * gdb.base/skip.exp: Fix race condition in test.
2473
153d79c4
AB
24742020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2475
2476 * gdb.base/backtrace.c: New file.
2477 * gdb.base/backtrace.exp: New file.
2478
f2302a34
AB
24792020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2480
2481 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2482
6ec1d75e
PW
24832020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2484
2485 * gdb.base/style.exp: Test that warnings are styled.
2486
c296cbe6
BE
24872019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2488
2489 * gdb.base/line65535.exp: New file.
2490 * gdb.base/line65535.c: New file.
2491
b28a729d
SM
24922019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2493
2494 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2495 * lib/gnat_debug_info_test.adb: New file.
2496 * gdb.ada/ptype_tagged_param.exp: Use
2497 gnat_runtime_has_debug_info, expect a different output if
2498 runtime does not have debug info.
2499
7f2d7a0d
SM
25002019-12-20 Simon Marchi <simon.marchi@efficios.com>
2501
2502 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2503 (another) quote in test name.
2504
f3bce483
SM
25052019-12-20 Simon Marchi <simon.marchi@efficios.com>
2506
2507 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2508 Add quote in test name.
2509
c855a912
TBA
25102019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2511
2512 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2513 directory instead.
2514 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2515 * gdb.cp/pass-by-ref-2.cc: New file.
2516 * gdb.cp/pass-by-ref-2.exp: New file.
2517
fc9d2d72
TT
25182019-12-20 Tom Tromey <tom@tromey.com>
2519
2520 * gdb.tui/list-before.exp: New file.
2521
77b97e00
TT
25222019-12-20 Tom Tromey <tom@tromey.com>
2523
2524 * gdb.tui/list.exp: Check for source on initial listing.
2525
f69656d0
TT
25262019-12-11 Tom Tromey <tromey@adacore.com>
2527
2528 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2529 Add crlf test.
2530
99a55965
SM
25312019-12-18 Simon Marchi <simon.marchi@efficios.com>
2532
2533 * gdb.base/default.exp: Update value of $_gdb_major.
2534
5024637f
BE
25352019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2536
2537 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2538
b63634be
BE
25392019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2540
2541 * gdb.base/skip.exp: Whitespace fix.
2542
45d73523
BE
25432019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2544
2545 * gdb.base/skip-inline.c: New file.
2546 * gdb.base/skip-inline.exp: New file.
2547
d043f8c8
SM
25482019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2549
2550 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2551 jit_function_00 to jit_function_stack_mangle.
2552 * gdb.base/jithost.c (jit_function_t): Rename to...
2553 (jit_function_stack_mangle_t): ... this.
2554 (jit_function_add_t): New typedef.
2555 (jit_function_00_code): Rename to...
2556 (jit_function_stack_mangle_code): ... this, make static.
2557 (jit_function_add_code): New.
2558 (main): Generate "add" function and call it. Adjust to changes
2559 in jithost_abi.
2560 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2561 (struct jithost_abi) <begin, end>: Remove fields.
2562 <object, function_stack_mangle, function_add>: New fields.
2563 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2564 code_end>: Remove fields.
2565 <func_stack_mangle>: New field.
2566 (read_debug_info): Adjust to renaming, create block for "add"
2567 function.
2568 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2569
873de05c
TT
25702019-12-11 Tom Tromey <tom@tromey.com>
2571
2572 * gdb.tui/resize.exp: Fix regexp.
2573 * gdb.tui/regs.exp: Fix regexps.
2574 * gdb.tui/main.exp: Fix regexp.
2575
3d979945
TT
25762019-12-11 Tom Tromey <tom@tromey.com>
2577
2578 * gdb.tui/resize.exp: Update.
2579 * gdb.tui/empty.exp (layouts): Update.
2580
2192a9d3
TT
25812019-12-11 Tom Tromey <tom@tromey.com>
2582
2583 * gdb.tui/regs.exp: Update.
2584 * gdb.tui/empty.exp (layouts): Update.
2585 * gdb.tui/basic.exp: Update.
2586 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2587
d8edc8b7
PW
25882019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2589
2590 * gdb.base/options.exp: Add -raw-values in the print completion list.
2591 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2592
4c12d936
KB
25932019-12-10 Kevin Buettner <kevinb@redhat.com>
2594
2595 * gdb.threads/omp-par-scope.c: New file.
2596 * gdb/threads/omp-par-scope.exp: New file.
2597
26b911fb
KB
25982019-12-10 Kevin Buettner <kevinb@redhat.com>
2599
bb47f919
KB
2600 * lib/gdb.exp (support_nested_function_tests): New proc.
2601
26022019-12-10 Kevin Buettner <kevinb@redhat.com>
2603
2604 * lib/gdb.exp (gdb_compile_openmp): New proc.
2605 (build_executable_from_specs): Add an "openmp" option.
2606 (gdb_compile_pthreads): Add non-executable case.
26b911fb 2607
6c71eb7d
TT
26082019-12-10 Tom Tromey <tromey@adacore.com>
2609
2610 * gdb.ada/unchecked_union.exp: New file.
2611 * gdb.ada/unchecked_union/pck.adb: New file.
2612 * gdb.ada/unchecked_union/pck.ads: New file.
2613 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2614 * gdb-utils.exp (string_to_regexp): Also quote "?".
2615
bac7c5cf
GB
26162019-12-10 George Barrett <bob@bob131.so>
2617
2618 Test scripted probe breakpoints.
2619 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2620 * gdb.python/py-breakpoint.c (main): Likewise.
2621 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2622 specifier test.
2623 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2624
330f1d38
TBA
26252019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2626
2627 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2628 an rvalue parameter.
2629 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2630 parameter.
2631
b43315e2
AB
26322019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2633
2634 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2635 modules.
2636
54f73dad
AB
26372019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2638
2639 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2640 broken version of GCC.
2641
d57cbee9
AB
26422019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2643
2644 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2645 sym-info-cmds library.
2646 * gdb.fortran/info-types.exp: Likewise.
2647 * lib/sym-info-cmds.exp: New file.
2648
c14aab8c
TV
26492019-12-08 Tom de Vries <tdevries@suse.de>
2650
2651 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2652
aa2d5a42
KS
26532019-12-07 Keith Seitz <keiths@redhat.com>
2654
2655 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2656 * gdb.base/corefile-buildid-shlib.c: New file.
2657 * gdb.base/corefile-buildid.c: New file.
2658 * gdb.base/corefile-buildid.exp: New file.
2659
93e55f0a
TV
26602019-12-06 Tom de Vries <tdevries@suse.de>
2661
2662 * gdb.dwarf2/varval.exp: Add decl before def test.
2663
c7d12402
TBA
26642019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2665
2666 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2667
06acc08f
TBA
26682019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2669
2670 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2671 CV and reference conversion for overload resolution.
2672 * gdb.cp/rvalue-ref-overload.exp: Test it.
2673
e0fad1ea
PW
26742019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2675
2676 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2677 * gdb.base/frameapply.exp: Test faas without command.
2678
8d70a9f0
AB
26792019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2680
2681 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2682 Fortran tests.
2683 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2684 order.
2685
36c8fb93
AB
26862019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2687
2688 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2689 casting to type with no kind specified.
2690 (test_basic_parsing_of_type_kinds): Additional tests for types
2691 with no kind specified, and add tests for single/double
2692 precision/complex types.
2693
4139ff00
TT
26942019-12-04 Tom Tromey <tromey@adacore.com>
2695
2696 * gdb.base/endianity.c (struct other) <x>: New field.
2697 (main): Initialize it.
2698 * gdb.base/endianity.exp: Update.
2699
a05cf17a
TT
27002019-12-04 Tom Tromey <tromey@adacore.com>
2701
2702 * gdb.ada/scalar_storage/storage.adb: New file.
2703 * gdb.ada/scalar_storage/pck.adb: New file.
2704 * gdb.ada/scalar_storage/pck.ads: New file.
2705 * gdb.ada/scalar_storage.exp: New file.
2706
103a685e
TT
27072019-12-04 Tom Tromey <tromey@adacore.com>
2708
2709 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2710 (main): Initialize it.
2711 * gdb.base/endianity.exp: Update.
2712
c2512106
AB
27132019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2714
2715 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2716
293b38d6
AB
27172019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2718
2719 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2720 -symbol-info-module-functions and -symbol-info-module-variables.
2721
216a7e6b
AB
27222019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2723
2724 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2725
5bbd8269
AB
27262019-12-01 Richard Bunt <richard.bunt@arm.com>
2727 Andrew Burgess <andrew.burgess@embecosm.com>
2728
2729 * gdb.fortran/derived-type-striding.exp: New file.
2730 * gdb.fortran/derived-type-striding.f90: New file.
2731 * gdb.fortran/array-slices.exp: New file.
2732 * gdb.fortran/array-slices.f90: New file.
2733
be09caf1
PW
27342019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2735
2736 * gdb.base/define.exp: Test . in command names.
2737 * gdb.base/setshow.exp: Update test, as . is now part of
2738 command name.
2739
643c0cbe
PW
27402019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2741
2742 * gdb.base/define-prefix.exp: New file.
2743
dcdec678
AB
27442019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2745
2746 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2747 compile.
2748 (skip_btrace_pt_tests): Likewise.
2749
640ab947
AB
27502019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2751
2752 * gdb.fortran/info-modules.exp: Compile source files in correct
2753 order.
2754
d22670f0
KB
27552019-11-27 Kevin Buettner <kevinb@redhat.com>
2756
2757 * gdb.dwarf2/imported-unit.exp: New file.
2758 * gdb.dwarf2/imported-unit.c: New file.
2759
db5960b4
AB
27602019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2761
2762 * gdb.mi/mi-fortran-modules-2.f90: New file.
2763 * gdb.mi/mi-fortran-modules.exp: New file.
2764 * gdb.mi/mi-fortran-modules.f90: New file.
2765
7dc42066
AB
27662019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2767
2768 * gdb.mi/mi-sym-info-1.c: New file.
2769 * gdb.mi/mi-sym-info-2.c: New file.
2770 * gdb.mi/mi-sym-info.exp: New file.
2771
0dfeecca
TT
27722019-11-22 Tom Tromey <tromey@adacore.com>
2773
2774 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2775 * gdb.ada/tasks/foo.adb: Add another stopping location.
2776
34877895
PJ
27772019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2778
2779 * gdb.base/endianity.c: New test.
2780 * gdb.base/endianity.exp: New file.
2781
2e84f897
LD
27822019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2783
2784 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2785
65d1cd5f
TV
27862019-11-21 Tom de Vries <tdevries@suse.de>
2787
2788 PR gdb/24956
2789 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2790
4f22c3f4
SDJ
27912019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2792
2793 * gdb.python/py-progspace.exp: Add missing parentheses on some
2794 'print' commands.
2795
9f6ad286
TT
27962019-11-19 Tom Tromey <tom@tromey.com>
2797
2798 * gdb.tui/winheight.exp: New file.
2799
0b8dbf3f
AB
28002019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2801
2802 * gdb.base/ctf-whatis.c: Delete.
2803 * gdb.base/ctf-whatis.exp: Delete.
2804 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2805
f833b7a7
AB
28062019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2807
2808 * gdb.base/ctf-cvexpr.exp: Delete.
2809 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2810
30d0a636
AB
28112019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2812
2813 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2814 the compiler. Clean up header comment a little.
2815 * gdb.base/ctf-ptype.exp: Likewise.
2816 * gdb.base/ctf-whatis.exp: Likewise.
2817 * lib/gdb.exp (skip_ctf_tests): New proc.
2818
494409bb
SDJ
28192019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2820
2821 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2822 * gdb.tui/corefile-run.exp: New file.
2823
55708e99
TT
28242019-11-14 Tom Tromey <tromey@adacore.com>
2825
2826 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2827 regression tests.
2828
45e42163
TT
28292019-11-12 Tom Tromey <tom@tromey.com>
2830
2831 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2832 after any command. Expect prompt after WAIT_FOR is seen.
2833 (enter_tui): Enable resize messages.
2834 (command): Expect command in output.
2835 (get_line): Avoid error when cursor appears to be off-screen.
2836 (dump_screen): Include screen size in title.
2837 (_do_resize): New proc, from "resize".
2838 (resize): Rewrite. Do resize in two steps.
2839 * gdb.tui/empty.exp (layouts): Fix entries.
2840 (check_boxes): Remove xfail.
2841 (check_text): Dump screen on failure.
2842
086baaf1
AB
28432019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2844
2845 * gdb.python/py-symbol.exp: Add test for
2846 gdb.lookup_static_symbols.
2847
09ff83af
AB
28482019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2849
2850 * gdb.python/py-symbol.c: Declare and call function from new
2851 py-symbol-2.c file.
2852 * gdb.python/py-symbol.exp: Compile both source files, and add new
2853 tests for gdb.lookup_static_symbol.
2854 * gdb.python/py-symbol-2.c: New file.
2855
11af934b
TV
28562019-11-02 Tom de Vries <tdevries@suse.de>
2857
2858 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2859 * gdb.base/anon.exp: Same.
2860 * gdb.base/auto-connect-native-target.exp: Same.
2861 * gdb.base/call-ar-st.exp: Same.
2862 * gdb.base/catch-syscall.exp: Same.
2863 * gdb.base/commands.exp: Same.
2864 * gdb.base/default.exp: Same.
2865 * gdb.base/display.exp: Same.
2866 * gdb.base/float.exp: Same.
2867 * gdb.base/foll-fork.exp: Same.
2868 * gdb.base/help.exp: Same.
2869 * gdb.base/info-macros.exp: Same.
2870 * gdb.base/info-proc.exp: Same.
2871 * gdb.base/info-target.exp: Same.
2872 * gdb.base/long_long.exp: Same.
2873 * gdb.base/macscp.exp: Same.
2874 * gdb.base/memattr.exp: Same.
2875 * gdb.base/nofield.exp: Same.
2876 * gdb.base/pointers.exp: Same.
2877 * gdb.base/printcmds.exp: Same.
2878 * gdb.base/ptype.exp: Same.
2879 * gdb.base/restore.exp: Same.
2880 * gdb.base/return.exp: Same.
2881 * gdb.base/scope.exp: Same.
2882 * gdb.base/set-noassign.exp: Same.
2883 * gdb.base/setshow.exp: Same.
2884 * gdb.base/shlib-call.exp: Same.
2885 * gdb.base/signals.exp: Same.
2886 * gdb.base/sigstep.exp: Same.
2887 * gdb.base/skip.exp: Same.
2888 * gdb.base/solib-symbol.exp: Same.
2889 * gdb.base/stap-probe.exp: Same.
2890 * gdb.base/step-line.exp: Same.
2891 * gdb.base/step-test.exp: Same.
2892 * gdb.base/style.exp: Same.
2893 * gdb.base/varargs.exp: Same.
2894 * gdb.base/vla-datatypes.exp: Same.
2895 * gdb.base/vla-ptr.exp: Same.
2896 * gdb.base/vla-sideeffect.exp: Same.
2897 * gdb.base/volatile.exp: Same.
2898 * gdb.base/watch-cond-infcall.exp: Same.
2899 * gdb.base/watchpoint.exp: Same.
2900
e96ec2ba
TV
29012019-11-02 Tom de Vries <tdevries@suse.de>
2902
2903 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2904 * gdb.cp/cpexprs.exp: Same.
2905 * gdb.cp/except-multi-location.exp: Same.
2906 * gdb.cp/exceptprint.exp: Same.
2907 * gdb.cp/gdb2384.exp: Same.
2908 * gdb.cp/inherit.exp: Same.
2909 * gdb.cp/m-static.exp: Same.
2910 * gdb.cp/meth-typedefs.exp: Same.
2911 * gdb.cp/misc.exp: Same.
2912 * gdb.cp/namespace.exp: Same.
2913 * gdb.cp/non-trivial-retval.exp: Same.
2914 * gdb.cp/overload.exp: Same.
2915 * gdb.cp/pr17132.exp: Same.
2916 * gdb.cp/re-set-overloaded.exp: Same.
2917 * gdb.cp/rvalue-ref-types.exp: Same.
2918 * gdb.cp/templates.exp: Same.
2919
bd5766ec
LM
29202019-11-01 Luis Machado <luis.machado@linaro.org>
2921
2922 PR gdb/25124
2923
2924 * gdb.arch/pr25124.S: New file.
2925 * gdb.arch/pr25124.exp: New file.
2926
165f8965
AB
29272019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2928
2929 * gdb.fortran/info-modules.exp: Update expected results, and add
2930 additional tests for 'info module functinos', and 'info module
2931 variables'.
2932 * gdb.fortran/info-types.exp: Update expected results.
2933 * gdb.fortran/info-types.f90: Extend testcase with additional
2934 module variables and functions.
2935
59c35742
AB
29362019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2937
2938 * gdb.fortran/info-modules.exp: New file.
2939 * gdb.fortran/info-types.exp: Build with new file.
2940 * gdb.fortran/info-types.f90: Include and use new module.
2941 * gdb.fortran/info-types-2.f90: New file.
2942
f3fb2519
PW
29432019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2944
2945 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2946 * gdb.base/settings.exp: Test all settings types using
2947 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2948 that now verifies that the value of "maint show" is the same as
2949 returned by the settings functions. Test the type of the
2950 maintenance settings.
2951 * gdb.base/default.exp: Update show_conv_list.
2952
d1e36019
TV
29532019-10-31 Tom de Vries <tdevries@suse.de>
2954
2955 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2956 gdb_test.
2957 * gdb.arch/amd64-disp-step.exp: Same.
2958 * gdb.asm/asm-source.exp: Same.
2959 * gdb.btrace/buffer-size.exp: Same.
2960 * gdb.btrace/cpu.exp: Same.
2961 * gdb.btrace/enable.exp: Same.
2962 * gdb.dwarf2/count.exp: Same.
2963 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2964 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2965 * gdb.fortran/vla-datatypes.exp: Same.
2966 * gdb.fortran/vla-history.exp: Same.
2967 * gdb.fortran/vla-ptype.exp: Same.
2968 * gdb.fortran/vla-value.exp: Same.
2969 * gdb.fortran/whatis_type.exp: Same.
2970 * gdb.guile/guile.exp: Same.
2971 * gdb.multi/tids.exp: Same.
2972 * gdb.python/py-finish-breakpoint.exp: Same.
2973 * gdb.python/py-framefilter.exp: Same.
2974 * gdb.python/py-pp-registration.exp: Same.
2975 * gdb.python/py-xmethods.exp: Same.
2976 * gdb.python/python.exp: Same.
2977 * gdb.server/connect-with-no-symbol-file.exp: Same.
2978 * gdb.server/no-thread-db.exp: Same.
2979 * gdb.server/run-without-local-binary.exp: Same.
2980 * gdb.stabs/weird.exp: Same.
2981 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2982 * gdb.threads/thread-find.exp: Same.
2983 * gdb.threads/tls-shared.exp: Same.
2984 * gdb.threads/tls.exp: Same.
2985 * gdb.threads/wp-replication.exp: Same.
2986 * gdb.trace/ax.exp: Same.
2987 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2988
3d11e68e
TV
29892019-10-31 Tom de Vries <tdevries@suse.de>
2990
2991 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2992 * gdb.ada/array_subscript_addr.exp: Same.
2993 * gdb.ada/arrayidx.exp: Same.
2994 * gdb.ada/arrayparam.exp: Same.
2995 * gdb.ada/arrayptr.exp: Same.
2996 * gdb.ada/boolean_expr.exp: Same.
2997 * gdb.ada/call_pn.exp: Same.
2998 * gdb.ada/complete.exp: Same.
2999 * gdb.ada/fixed_cmp.exp: Same.
3000 * gdb.ada/fun_addr.exp: Same.
3001 * gdb.ada/funcall_param.exp: Same.
3002 * gdb.ada/interface.exp: Same.
3003 * gdb.ada/mod_from_name.exp: Same.
3004 * gdb.ada/null_array.exp: Same.
3005 * gdb.ada/packed_array.exp: Same.
3006 * gdb.ada/packed_tagged.exp: Same.
3007 * gdb.ada/print_chars.exp: Same.
3008 * gdb.ada/print_pc.exp: Same.
3009 * gdb.ada/ptype_arith_binop.exp: Same.
3010 * gdb.ada/ptype_field.exp: Same.
3011 * gdb.ada/ptype_tagged_param.exp: Same.
3012 * gdb.ada/rec_return.exp: Same.
3013 * gdb.ada/ref_tick_size.exp: Same.
3014 * gdb.ada/str_ref_cmp.exp: Same.
3015 * gdb.ada/taft_type.exp: Same.
3016 * gdb.ada/tagged.exp: Same.
3017 * gdb.ada/type_coercion.exp: Same.
3018 * gdb.ada/uninitialized_vars.exp: Same.
3019
60b6ede8
TV
30202019-10-30 Tom de Vries <tdevries@suse.de>
3021
3022 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3023
30baf67b
TV
30242019-10-26 Tom de Vries <tdevries@suse.de>
3025
3026 * gdb.base/bigcore.c: Fix typos in comments.
3027 * gdb.base/ctf-ptype.c: Same.
3028 * gdb.base/long_long.c: Same.
3029 * gdb.dwarf2/dw2-op-out-param.S: Same.
3030 * gdb.python/py-evthreads.c: Same.
3031 * gdb.reverse/i387-stack-reverse.c: Same.
3032 * gdb.trace/tfile.c: Same.
3033 * lib/compiler.c: Same.
3034 * lib/compiler.cc: Same.
3035
158da0d1
TV
30362019-10-25 Tom de Vries <tdevries@suse.de>
3037
3038 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3039 gdb_test_multiple calls.
3040 * gdb.reverse/sigall-reverse.exp: Same.
3041 * gdb.reverse/solib-precsave.exp: Same.
3042 * gdb.reverse/solib-reverse.exp: Same.
3043 * gdb.reverse/until-precsave.exp: Same.
3044 * gdb.reverse/until-reverse.exp: Same.
3045
4ccdfbec
TV
30462019-10-24 Tom de Vries <tdevries@suse.de>
3047
3048 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3049 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3050 kfail using -wrap pattern flag and convenience variable
3051 gdb_test_name.
3052
33d569b7
AB
30532019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3054
3055 * gdb.python/py-progspace.exp: Add tests for the
3056 Progspace.block_for_pc method.
3057
4d0b984b
TT
30582019-10-23 Tom Tromey <tom@tromey.com>
3059
3060 * configure: Rebuild.
3061 * aclocal.m4: Use m4_include, not sinclude.
3062
94cb3754
TV
30632019-10-21 Tom de Vries <tdevries@suse.de>
3064
3065 * gdb.base/infcall-nested-structs.c: Add
3066 __attribute__((noinline,noclone)) to all functions.
3067 (call_all): Add missing variable initialization. Simplify return value.
3068 (breakpt): Increment volatile variable, to prevent call from being
3069 optimized out.
3070 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3071
062f1fc1
TV
30722019-10-17 Tom de Vries <tdevries@suse.de>
3073
3074 * gdb.fortran/module.exp: Allow info variables to print info for files
3075 other than module.f90.
3076
0b54364d
AB
30772019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3078
3079 * gdb.fortran/module.exp: Extend with 'info variables' test.
3080
7ff5fae7
AB
30812019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3082
3083 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3084 F77_FOR_TARGET.
3085
d10eccaa
TV
30862019-10-16 Tom de Vries <tdevries@suse.de>
3087
3088 PR tdep/25096
3089 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3090
745ff14e
TV
30912019-10-16 Tom de Vries <tdevries@suse.de>
3092
3093 PR tdep/24104
3094 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3095 Add KFAIL for PR tdep/25096.
3096
03e1ab94
TV
30972019-10-16 Tom de Vries <tdevries@suse.de>
3098
3099 PR testsuite/25059
3100 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3101
b17fcc10
TV
31022019-10-16 Tom de Vries <tdevries@suse.de>
3103
3104 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3105 as signed.
3106
9223170f
SM
31072019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3108
3109 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3110 one instead of increasing timeout.
3111
d6e76313
TV
31122019-10-13 Tom de Vries <tdevries@suse.de>
3113
3114 PR record/25038
3115 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3116 * gdb.reverse/sigall-reverse.exp: Same.
3117 * gdb.reverse/solib-precsave.exp: Same.
3118 * gdb.reverse/solib-reverse.exp: Same.
3119 * gdb.reverse/step-precsave.exp: Same.
3120 * gdb.reverse/until-precsave.exp: Same.
3121 * gdb.reverse/until-reverse.exp: Same.
3122 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3123
6dfc0041
AA
31242019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3125
3126 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3127 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3128 (cmp_struct_05_01, cmp_struct_static_02_01)
3129 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3130 comparisons.
3131
abcf2cc8
TV
31322019-10-10 Tom de Vries <tdevries@suse.de>
3133
3134 PR testsuite/24888
3135 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3136 gnatlink.
3137
a50faaf6
TV
31382019-10-09 Tom de Vries <tdevries@suse.de>
3139
3140 PR testsuite/25048
3141 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3142
60ff3cd7
AB
31432019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3144
3145 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3146 exceptions due to missing debug information.
3147
dfee8566
TV
31482019-10-07 Tom de Vries <tdevries@suse.de>
3149
3150 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3151
3d63690a
AB
31522019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3153
3154 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3155 * gdb.base/annota1.exp: Update to use gdb_test_name.
3156
30d1f018
WP
31572019-10-07 Weimin Pan <weimin.pan@oracle.com>
3158
3159 * gdb.base/ctf-whatis.exp: New file.
3160 * gdb.base/ctf-whatis.c: New file.
3161 * gdb.base/ctf-ptype.exp: New file.
3162 * gdb.base/ctf-ptype.c: New file.
3163 * gdb.base/ctf-constvars.exp: New file.
3164 * gdb.base/ctf-constvars.c: New file.
3165 * gdb.base/ctf-cvexpr.exp: New file.
3166
4dbbb47c
TV
31672019-10-04 Tom de Vries <tdevries@suse.de>
3168
3169 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3170 for loop.
3171
77c2dba3
TT
31722019-10-03 Tom Tromey <tom@tromey.com>
3173
3174 PR rust/24976:
3175 * gdb.rust/simple.rs (Union2): New type.
3176 (main): Use Union2.
3177 * gdb.rust/simple.exp: Add test.
3178
179aed7f
AB
31792019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3182 nested function prefix.
3183
0a4b0913
AB
31842019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3185 Richard Bunt <richard.bunt@arm.com>
3186 Andrew Burgess <andrew.burgess@embecosm.com>
3187
3188 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3189 nested functions.
3190 * gdb.fortran/nested-funcs.f90: Update expected results.
3191 * gdb.fortran/nested-funcs-2.exp: New file.
3192 * gdb.fortran/nested-funcs-2.f90: New file.
3193
082cce05
AB
31942019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3195
3196 * gdb.python/py-parameter.exp: Make test names unique.
3197 * gdb.python/py-template.exp: Likewise.
3198 * gdb.python/py-value.exp: Likewise.
3199
2b74ba5a
AB
32002019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3201
3202 * gdb.base/break-interp.exp: Reduce test name duplication.
3203 * gdb.base/call-sc.exp: Likewise.
3204 * gdb.base/callfuncs.exp: Likewise.
3205 * gdb.base/charset.exp: Likewise.
3206 * gdb.base/dump.exp: Likewise.
3207 * gdb.base/ena-dis-br.exp: Likewise.
3208 * gdb.base/relational.exp: Likewise.
3209 * gdb.base/step-over-syscall.exp: Likewise.
3210 * gdb.base/structs.exp: Likewise.
3211
58eb20d5
AB
32122019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3213
3214 * gdb.linespec/explicit.exp: Make test names unique.
3215 * gdb.linespec/ls-errs.exp: Likewise.
3216
4d421147
AB
32172019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3218
3219 * gdb.reverse/break-precsave.exp: Make test names unique.
3220 * gdb.reverse/break-reverse.exp: Likewise.
3221 * gdb.reverse/finish-precsave.exp: Likewise.
3222 * gdb.reverse/finish-reverse.exp: Likewise.
3223 * gdb.reverse/machinestate-precsave.exp: Likewise.
3224 * gdb.reverse/machinestate.exp: Likewise.
3225 * gdb.reverse/readv-reverse.exp: Likewise.
3226 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3227 * gdb.reverse/sigall-precsave.exp: Likewise.
3228 * gdb.reverse/sigall-reverse.exp: Likewise.
3229 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3230 * gdb.reverse/watch-precsave.exp: Likewise.
3231 * gdb.reverse/watch-reverse.exp: Likewise.
3232
d8c06f22
AB
32332019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3234
3235 * gdb.threads/stop-with-handle.c: New file.
3236 * gdb.threads/stop-with-handle.exp: New file.
3237
3a56ed86
TV
32382019-10-03 Tom de Vries <tdevries@suse.de>
3239
3240 PR testsuite/25059
3241 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3242 directory" line to be missing.
3243
42275044
TV
32442019-10-03 Tom de Vries <tdevries@suse.de>
3245
3246 PR testsuite/25059
3247 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3248 type optional.
3249
9ef62df0
AA
32502019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3251
3252 * gdb.python/py-format-string.c (string.h): New include.
3253 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3254 the same value, for endianness-independence.
3255 * gdb.python/py-format-string.exp (default_regexp_dict)
3256 (test_pretty_structs, test_format): Adjust expected output to the
3257 changed initialization.
3258
37f6a7f4
TT
32592019-10-02 Tom Tromey <tromey@adacore.com>
3260
3261 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3262
1d58d6a2
PA
32632019-10-02 Pedro Alves <palves@redhat.com>
3264 Andrew Burgess <andrew.burgess@embecosm.com>
3265
3266 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3267 "print-file-var.h".
3268 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3269 (get_version_1): Print this_version_id and its address.
3270 Add extern "C" wrappers around interface functions.
3271 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3272 "print-file-var.h".
3273 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3274 (get_version_2): Print this_version_id and its address.
3275 Add extern "C" wrappers around interface functions.
3276 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3277 <stddef.h> and "print-file-var.h".
3278 Add extern "C" wrappers around interface functions.
3279 [VERSION_ID_MAIN] (this_version_id): Define.
3280 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3281 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3282 up extern "C" blocks.
3283 * gdb.base/print-file-var.exp (test): New, factored out from top
3284 level.
3285 (top level): Test all combinations of attribute hidden or not,
3286 dlopen or not, and this_version_id symbol in main file or not.
3287 Compile tests as both C++ and C, make test names unique.
3288
d770d56f
TT
32892019-10-01 Tom Tromey <tom@tromey.com>
3290
3291 * gdb.base/style.exp: Test "show logging filename".
3292
7f6aba03
TT
32932019-10-01 Tom Tromey <tom@tromey.com>
3294
3295 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3296 * gdb.base/style.exp: Add metadata style test.
3297
14309bb6
TT
32982019-10-01 Tom Tromey <tom@tromey.com>
3299
3300 * gdb.base/style.exp: Test "pwd".
3301
2a3c1174
PA
33022019-10-01 Tom Tromey <tom@tromey.com>
3303
3304 * gdb.base/style.exp: Update tests.
3305
53d666ec
AA
33062019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3307
3308 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3309 'six' to unsigned.
3310 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3311 'five'. Use an all-ones bit pattern for each.
3312 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3313 to its changed values.
3314
4a56a520
TT
33152019-09-30 Tom Tromey <tromey@adacore.com>
3316
3317 * gdb.rust/traits.rs: Disable all warnings.
3318
0df0352a
TV
33192019-09-29 Tom de Vries <tdevries@suse.de>
3320
aac66a4c 3321 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3322
73d9a918
TV
33232019-09-29 Tom de Vries <tdevries@suse.de>
3324
3325 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3326
060b3ab4
TV
33272019-09-27 Tom de Vries <tdevries@suse.de>
3328
3329 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3330
68f7d34d
TV
33312019-09-27 Tom de Vries <tdevries@suse.de>
3332
3333 PR record/23188
3334 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3335
5d63b30a
TT
33362019-09-26 Tom Tromey <tromey@adacore.com>
3337
3338 * gdb.ada/py_taft.exp: New file.
3339 * gdb.ada/py_taft/main.adb: New file.
3340 * gdb.ada/py_taft/pkg.adb: New file.
3341 * gdb.ada/py_taft/pkg.ads: New file.
3342
3d435220
TV
33432019-09-24 Tom de Vries <tdevries@suse.de>
3344
3345 PR gdb/24598
3346 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3347
77d03678
TV
33482019-09-22 Tom de Vries <tdevries@suse.de>
3349
3350 * gdb.base/restore.exp: Allow register variables to be optimized out at
3351 -O0.
3352
abf516c6
UW
33532019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3354
3355 * gdb.arch/spu-info.exp: Remove file.
3356 * gdb.arch/spu-info.c: Remove file.
3357 * gdb.arch/spu-ls.exp: Remove file.
3358 * gdb.arch/spu-ls.c: Remove file.
3359
3360 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3361 * gdb.asm/spu.inc: Remove file.
3362
3363 * gdb.base/dump.exp: Remove support for spu*-*-*.
3364 * gdb.base/stack-checking.exp: Likewise.
3365 * gdb.base/overlays.exp: Likewise.
3366 * gdb.base/ovlymgr.c: Likewise.
3367 * gdb.base/spu.ld: Remove file.
3368
3369 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3370 * gdb.cp/cpexprs.exp: Likewise.
3371 * gdb.cp/exception.exp: Likewise.
3372 * gdb.cp/gdb2495.exp: Likewise.
3373 * gdb.cp/mb-templates.exp: Likewise.
3374 * gdb.cp/pr9167.exp: Likewise.
3375 * gdb.cp/userdef.exp: Likewise.
3376
3377 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3378
3379 * gdb.cell: Remove directory.
3380 * lib/cell.exp: Remove file.
3381
e452e88f
TV
33822019-09-19 Tom de Vries <tdevries@suse.de>
3383
3384 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3385
8a625130
TV
33862019-09-19 Tom de Vries <tdevries@suse.de>
3387
3388 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3389
81dc3ab5
TV
33902019-09-19 Tom de Vries <tdevries@suse.de>
3391
3392 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3393 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3394 (gdb_target_cmd): ... here.
3395 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3396 value 2.
3397
b078f3ac
AB
33982019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3399
3400 * gdb.base/source-dir.exp: Avoid having directory names in test
3401 names.
3402
f1b620e9
MG
34032019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3404
3405 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3406 directory.
3407
67f3ed6a
AB
34082019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3409
3410 * gdb.base/list-missing-source.exp: New file.
3411
d1b70248
TV
34122019-09-14 Tom de Vries <tdevries@suse.de>
3413
3414 PR teststuite/24599
3415 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3416 * lib/ada.exp (gnatmake_version_at_least): New proc.
3417
5fabdcd6
AB
34182019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3419
3420 * gdb.base/maint.exp: Use exec_has_index_section.
3421
aa17805f
AB
34222019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * gdb.base/maint.exp: Add test for 'maint info sections'.
3425
25e5c209
TV
34262019-09-12 Tom de Vries <tdevries@suse.de>
3427
3428 * gdb.base/store.exp: Allow register variables to be optimized out at
3429 -O0.
3430
4993045d
PW
34312019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3432
3433 * gdb.ada/rdv_wait.exp: Update to new task names.
3434 * gdb.base/task_switch_in_core.exp: Likewise.
3435 * gdb.base/info_sources_base.c: Likewise.
3436
8a516164
TT
34372019-09-10 Tom Tromey <tromey@adacore.com>
3438
3439 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3440
aa391654
TT
34412019-09-10 Tom Tromey <tromey@adacore.com>
3442
3443 * gdb.ada/dgopt.exp: New file.
3444 * gdb.ada/dgopt/x.adb: New file.
3445
8634b462
TT
34462019-09-08 Tom Tromey <tom@tromey.com>
3447
3448 * gdb.tui/resize.exp: Remove setup_xfail.
3449 * gdb.tui/regs.exp: Remove setup_xfail.
3450 * gdb.tui/basic.exp: Remove setup_xfail.
3451
736b0f76
DB
34522019-09-06 David Blaikie <dblaikie@gmail.com>
3453
3454 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3455 * gdb.cp/cplabel.exp: Ditto.
3456 * gdb.linespec/ls-errs.exp: Ditto.
3457
30331a6c
TV
34582019-09-05 Tom de Vries <tdevries@suse.de>
3459
3460 * lib/gdb.exp (cmp_file_string): New proc.
3461 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3462 runto_main. Verify save breakpoints output.
3463
98b0ebab
PW
34642019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3465
3466 * gdb.base/info-var.exp: Test info variables without running
3467 to main, to avoid expect's buffer overflow.
3468
4e962e74
TT
34692019-09-03 Tom Tromey <tromey@adacore.com>
3470
3471 * gdb.ada/bias.exp: New file.
3472 * gdb.ada/bias/bias.adb: New file.
3473 * gdb.ada/print_chars.exp: Add regression test.
3474 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3475 (MC): New variable.
3476
2ea1a07a
SL
34772019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3478
3479 * gdb.base/argv0-symlink.exp: Run only on native target
3480 and local host.
3481
8077c50d
TV
34822019-08-29 Tom de Vries <tdevries@suse.de>
3483
3484 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3485 diverse debug info.
3486 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3487
48352473
TV
34882019-08-28 Tom de Vries <tdevries@suse.de>
3489
3490 * gdb.base/info-var.exp: Allow info variables to print info for files
3491 other than info-var-f1.c and info-var-f2.c.
3492
d8f27c60
AB
34932019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3494
3495 * gdb.fortran/info-types.exp: Add module.
3496 * gdb.fortran/info-types.f90: Update expected results.
3497
1f20c35e
AB
34982019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3499
3500 * gdb.fortran/info-types.exp: New file.
3501 * gdb.fortran/info-types.f90: New file.
3502 * lib/fortran.exp (fortran_character1): New proc.
3503
4acfdd20
AB
35042019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3505
3506 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3507 functions'. Reindent as needed.
3508 * gdb.base/info-var-f1.c: New file.
3509 * gdb.base/info-var-f2.c: New file.
3510 * gdb.base/info-var.exp: New file.
3511 * gdb.base/info-var.h: New file.
3512
5c31b358
TV
35132019-08-26 Tom de Vries <tdevries@suse.de>
3514
3515 PR c++/24852
3516 * gdb.cp/no-libstdcxx-probe.exp: New test.
3517
b694989f
TV
35182019-08-26 Tom de Vries <tdevries@suse.de>
3519
3520 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3521 * tests need to be skipped.
3522 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3523 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3524 mi_skip_libstdcxx_probe_tests.
3525
d9c4ba53
SDJ
35262019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3527
3528 * gdb.python/py-xmethods.exp: Use raw strings when passing
3529 arguments to SimpleXMethodMatcher.
3530
395fad09
TV
35312019-08-22 Tom de Vries <tdevries@suse.de>
3532
3533 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3534 more informative.
3535
26c957f1
PA
35362019-08-21 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/with.exp: Test "with" with no arguments.
3539
61f80d5d
TV
35402019-08-21 Tom de Vries <tdevries@suse.de>
3541
3542 * gdb.base/gdb-caching-proc.exp: Sort files.
3543
d7a11d13
TV
35442019-08-20 Tom de Vries <tdevries@suse.de>
3545
3546 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3547 compilation.
3548
34dafe9f
TV
35492019-08-16 Tom de Vries <tdevries@suse.de>
3550
3551 * gdb.base/compare-sections.exp ("after run to main"): Allow
3552 mismatched read-only sections for PIE executables.
3553
398fdd60
TT
35542019-08-16 Tom Tromey <tom@tromey.com>
3555
3556 * lib/tuiterm.exp (_csi_Z): New proc.
3557 * gdb.tui/basic.exp: Update window positions.
3558 * gdb.tui/empty.exp: Update window positions.
3559
d8f9e51c
SL
35602019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3561
3562 * gdb.base/examine-backward.exp: Correct regexp for
3563 "examine 3 bytes backward from ${address_zero}".
3564
3df505f6
TT
35652019-08-15 Tom Tromey <tom@tromey.com>
3566
3567 * gdb.tui/empty.exp: Enable resizing tests.
3568
272560b5
TT
35692019-08-15 Tom Tromey <tromey@adacore.com>
3570
3571 * gdb.ada/char_enum.exp: Add regression tests.
3572 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3573 and '0'.
3574 (Char, Gchar): Update.
3575 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3576
08235187
CB
35772019-08-15 Christian Biesinger <cbiesinger@google.com>
3578
3579 * gdb.python/python.exp: Expect a leading underscore on
3580 GdbOutput{,Error}File.
3581
22a2ab04
SL
35822019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3583
3584 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3585 Windows host.
3586
835b995b
SL
35872019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3588
3589 * gdb.base/batch-preserve-term-settings.exp
3590 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3591
97dd8e07
CB
35922019-08-15 Christian Biesinger <cbiesinger@google.com>
3593
3594 * lib/gdb.exp: When running on a mingw target, replace
3595 /x/ with x:/.
3596
75faf5c4
AH
35972019-08-14 Alan Hayward <alan.hayward@arm.com>
3598
3599 * gdb.arch/aarch64-prologue.c: New test.
3600 * gdb.arch/aarch64-prologue.exp: New file.
3601
abc6c00f
TV
36022019-08-13 Tom de Vries <tdevries@suse.de>
3603
3604 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3605 Thread.
3606
74c2c1f4
SL
36072019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3608
3609 * gdb.python/py-completion.exp: Download the .py file to the host
3610 and use its host pathname. Conditionalize tests that use
3611 tab completion and manipulate files on the build machine.
3612 * gdb.python/py-events.exp: Download the .py file to the host
3613 and use its host pathname.
3614 * gdb.python/py-evsignal.exp: Likewise.
3615 * gdb.python/py-evthreads.exp: Likewise.
3616 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3617 pathname syntax.
3618 * gdb.python/py-framefilter.exp: Download the .py file to the right
3619 place on the host. Match Windows pathname syntax.
3620 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3621 .py file to the host and use its host pathname.
3622 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3623 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3624 build pathname. Skip symlink test on Windows host. Add missing
3625 newline at end of file.
3626 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3627 and use its host pathname.
3628 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3629 * gdb.python/py-section-script.exp: Use host location of binfile
3630 on safe-path. Use correct path separator on Windows host.
3631 Reorder alternatives in gdb_test_multiple to prevent matching
3632 the wrong alternative on success.
3633 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3634
ca2589f3
PP
36352019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3636
3637 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3638 expect the GDB inferior to no longer immediately stop after
3639 being resumed with "signal SIGINT".
3640
020a839d
SL
36412019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3642
3643 * gdb.linespec/break-ask.exp: Generalize regexps to match
3644 Windows pathnames too.
3645
128d6509
TV
36462019-08-08 Tom de Vries <tdevries@suse.de>
3647
3648 PR testsuite/24862
3649 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3650
590042fc
PW
36512019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3652
3653 * gdb.base/style.exp: Update tests for help doc new invariants.
3654 * gdb.base/help.exp: Likewise.
3655
046bebe1
TT
36562019-08-06 Tom Tromey <tom@tromey.com>
3657
3658 * gdb.base/style.exp: Add disassemble test.
3659 * gdb.base/style.c (some_called_function): New function.
3660 (main): Use it.
3661
0b27c27d
CB
36622019-08-05 Christian Biesinger <cbiesinger@google.com>
3663
3664 * gdb.python/py-block.exp: Test dictionary access on blocks.
3665
580f1034
SM
36662019-08-05 Simon Marchi <simon.marchi@efficios.com>
3667
3668 PR gdb/24863
3669 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3670 -list-thread-groups --available test when running under
3671 check-read1.
3672
d86bd7cb
TV
36732019-08-05 Tom de Vries <tdevries@suse.de>
3674
3675 PR testsuite/24863
3676 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3677 * gdb.base/help.exp: Use with_read1_timeout_factor.
3678 * gdb.base/info-macros.exp: Same.
3679 * gdb.cp/nested-types.exp: Same.
3680
a80cf5d8
TV
36812019-08-05 Tom de Vries <tdevries@suse.de>
3682
3683 * lib/gdb.exp (version_at_least): Factor out of ...
3684 (tcl_version_at_least): ... here.
3685 (gdb_compile): Fail if pie results in non-PIE executable.
3686 (readelf_version, readelf_prints_pie): New proc.
3687 (exec_is_pie): Return -1 if unknown.
3688
d0962838
TV
36892019-08-05 Tom de Vries <tdevries@suse.de>
3690
3691 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3692
2252ff3d
SL
36932019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3694
3695 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3696
26655f53
SL
36972019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3698
3699 * lib/completion-support.exp (test_gdb_complete_none): Skip
3700 tab completion tests if no readline support.
3701 (test_gdb_complete_unique_re): Likewise.
3702 (test_gdb_complete_multiple): Likewise.
3703
db4dc13e
PW
37042019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3705
3706 * gdb.base/info_sources.exp: New file.
3707 * gdb.base/info_sources.c: New file.
3708 * gdb.base/info_sources_base.c: New file.
3709
0eba165a
PFC
37102019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3711
3712 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3713 prefix argument.
3714 (test_exit_status): Add prefix argument.
3715
59bd512b
TV
37162019-08-01 Tom de Vries <tdevries@suse.de>
3717
3718 PR testsuite/24863
3719 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3720 calling exp_continue for new thread and thread exited messages.
3721
2a3ad588
TV
37222019-08-01 Tom de Vries <tdevries@suse.de>
3723
3724 PR testsuite/24863
3725 * gdb.base/structs.exp: Fix check-read1 timeout using
3726 gdb_test_sequence.
3727 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3728
117eb594
TV
37292019-08-01 Tom de Vries <tdevries@suse.de>
3730
3731 PR testsuite/24863
3732 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3733 line.
3734
ed591340
TV
37352019-08-01 Tom de Vries <tdevries@suse.de>
3736
3737 PR testsuite/24863
3738 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3739
aa3b6533
TT
37402019-07-30 Tom Tromey <tromey@adacore.com>
3741
3742 * gdb.ada/display_nested.exp: New file.
3743 * gdb.ada/display_nested/foo.adb: New file.
3744 * gdb.ada/display_nested/pack.adb: New file.
3745 * gdb.ada/display_nested/pack.ads: New file.
3746
2906593f
CB
37472019-07-30 Christian Biesinger <cbiesinger@google.com>
3748
3749 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3750 namespace.
3751 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3752
0f575925
TV
37532019-07-30 Tom de Vries <tdevries@suse.de>
3754
3755 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3756 instead.
3757
b13057d9
TV
37582019-07-30 Tom de Vries <tdevries@suse.de>
3759
3760 PR testsuite/24834
3761 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3762 (exec_is_pie): New proc.
3763
5c4dde85
CB
37642019-07-29 Christian Biesinger <cbiesinger@google.com>
3765
3766 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3767
c620ed88
CB
37682019-07-29 Christian Biesinger <cbiesinger@google.com>
3769
3770 * gdb.python/py-objfile.c: Add global and static vars.
3771 * gdb.python/py-objfile.exp: Test new functions Objfile.
3772 lookup_global_symbol and lookup_static_symbol.
3773
3d235706
TT
37742019-07-29 Tom Tromey <tom@tromey.com>
3775
3776 * lib/tuiterm.exp (Term::_csi_@): New proc.
3777 (Term::_csi_X): Don't move cursor.
3778
c7e4c0a6
PW
37792019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3780
3781 * gdb.base/options.exp: Update backtrace - completion to
3782 new option -frame-info.
3783 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3784 Test new 'set print frame-info'. Test backtrace -frame-info
3785 overriding 'set print frame-info'.
3786 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3787 Test new 'set print frame-info'.
3788 Verify consistency of backtrace with and without filters, with and
3789 without -no-filters.
3790 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3791 default.
3792
de28a3b7
TV
37932019-07-29 Tom de Vries <tdevries@suse.de>
3794
3795 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3796 no arguments".
3797
507dd60e
TV
37982019-07-29 Tom de Vries <tdevries@suse.de>
3799
3800 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3801 is a substring of the first for "complete non-unique file name".
3802
5beafce9
TV
38032019-07-29 Tom de Vries <tdevries@suse.de>
3804
3805 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3806 with ".*".
3807
2d274232
TV
38082019-07-29 Tom de Vries <tdevries@suse.de>
3809
3810 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3811 Pass prompt_regexp parameter to gdb_test_multiple calls.
3812
9197cd8b
TV
38132019-07-29 Tom de Vries <tdevries@suse.de>
3814
3815 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3816 print registers" regexps.
9197cd8b 3817
b528dae0
TV
38182019-07-29 Tom de Vries <tdevries@suse.de>
3819
3820 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3821
d17725d7
TV
38222019-07-29 Tom de Vries <tdevries@suse.de>
3823
3824 PR gdb/24855
3825 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3826 (skip_python_tests_prompt): Add prompt_regexp argument to
3827 gdb_test_multiple calls.
3828
52b75bf1
TT
38292019-07-27 Tom Tromey <tom@tromey.com>
3830
3831 * gdb.tui/main.exp: New file.
3832
2b1d00c2
TT
38332019-07-27 Tom Tromey <tom@tromey.com>
3834
3835 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3836 optional.
3837 * gdb.tui/empty.exp: New file.
3838
ded631d5
TT
38392019-07-27 Tom Tromey <tom@tromey.com>
3840
3841 * lib/tuiterm.exp (spawn): New proc.
3842 (Term::resize): New proc.
3843 * gdb.tui/resize.exp: New file.
3844
58ac439d
TT
38452019-07-27 Tom Tromey <tom@tromey.com>
3846
3847 * gdb.tui/list.exp: New file.
3848
fe1f56ee
TT
38492019-07-27 Tom Tromey <tom@tromey.com>
3850
3851 * gdb.tui/regs.exp: New file.
3852
f790b310
TT
38532019-07-27 Tom Tromey <tom@tromey.com>
3854
3855 * gdb.tui/basic.exp: Add "layout split" test.
3856
d95fc6ee
TT
38572019-07-27 Tom Tromey <tom@tromey.com>
3858
3859 * gdb.tui/basic.exp: Add "layout asm" test.
3860
c3786b3a
TT
38612019-07-27 Tom Tromey <tom@tromey.com>
3862
3863 * lib/tuiterm.exp: New file.
3864 * gdb.tui/basic.exp: New file.
3865
98a617f8
KB
38662019-07-27 Kevin Buettner <kevinb@redhat.com>
3867
3868 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3869 Enable tests associated with this flag. Adjust regex
3870 referencing "foo_low" to now refer to "foo_cold" instead.
3871
5c076da4
KB
38722019-07-27 Kevin Buettner <kevinb@redhat.com>
3873
3874 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3875 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3876 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3877 foo_cold. Revise comments to match.
3878 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3879 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3880 were wrapped into this proc; Call do_test in loop from outermost
3881 level.
3882 (foo_low): Rename all occurrences to "foo_cold".
3883 (backtrace from baz): New test.
3884 (x2/i foo_cold): New test.
3885 (info line *foo_cold): New test.
3886
1512d3b7
TV
38872019-07-26 Tom de Vries <tdevries@suse.de>
3888
3889 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3890
297989a1
TV
38912019-07-25 Tom de Vries <tdevries@suse.de>
3892
3893 PR testsuite/24830
3894 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3895 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3896 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3897 (skip_libstdcxx_probe_tests): ... here.
3898 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3899
b3b965fb
TV
39002019-07-24 Tom de Vries <tdevries@suse.de>
3901
3902 PR testsuite/24807
3903 * gdb.objc/basicclass.m: Include stdio.h.
3904 * gdb.objc/nondebug.m: Same.
3905 * gdb.objc/objcdecode.m: Same.
3906
4625b4d0
TV
39072019-07-24 Tom de Vries <tdevries@suse.de>
3908
3909 PR testsuite/24612
3910 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3911 additional_flags.
3912
024a5840
TV
39132019-07-24 Tom de Vries <tdevries@suse.de>
3914
3915 PR testsuite/24831
3916 * gdb.multi/tids.exp: Update error messages for info threads.
3917
c76ddaa3
TV
39182019-07-24 Tom de Vries <tdevries@suse.de>
3919
3920 * gdb.base/info-types.exp: Allow info types to print info for more than
3921 one file.
3922
9a618ef6
TV
39232019-07-23 Tom de Vries <tdevries@suse.de>
3924
3925 PR testsuite/24842
3926 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3927 gdb_spawn_with_cmdline_opts.
3928
40eadf04
SP
39292019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3930
3931 * gdb.arch/arm-cmse-sgstubs.c: New test.
3932 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3933
5ba29434
TV
39342019-07-23 Tom de Vries <tdevries@suse.de>
3935
3936 PR testsuite/24711
3937 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3938 issuing next command.
3939
a8e9d247
AB
39402019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3941
3942 * gdb.ada/info_auto_lang.exp: Update expected results.
3943 * gdb.base/info-types.c: Add additional types to check.
3944 * gdb.base/info-types.exp: Update expected results.
3945
eb86c5e2
AB
39462019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3947
3948 * gdb.base/info-types.c: New file.
3949 * gdb.base/info-types.exp: New file.
3950
01e175fe
AB
39512019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3952
3953 * gdb.arch/riscv-bp-infcall.c: New file.
3954 * gdb.arch/riscv-bp-infcall.exp: New file.
3955
6b78c3f8
AB
39562019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3957
3958 PR breakpoints/24541
3959 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3960
da738167
TV
39612019-07-14 Tom de Vries <tdevries@suse.de>
3962
3963 PR testsuite/24760
3964 * gdb.objc/basicclass.exp: Fix unterminated string.
3965
0d4e84ed
AB
39662019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3967 Andrew Burgess <andrew.burgess@embecosm.com>
3968
3969 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3970 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3971 negative bounds.
3972 * gdb.fortran/vla-value.exp: Print elements of an array with
3973 negative bounds.
3974 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3975 testing.
3976
021d8588
AB
39772019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3978
3979 * gdb.base/options.exp (expect_string): Dequote strings in
3980 results.
3981 (test-string): Test strings with different quoting and reindent.
3982
f06f1252
TT
39832019-07-10 Tom Tromey <tromey@adacore.com>
3984
3985 * gdb.ada/mi_ex_cond.exp: Update expected results.
3986 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3987 * gdb.ada/mi_catch_ex.exp: Update expected results.
3988 * gdb.ada/mi_catch_assert.exp: Update expected results.
3989 * gdb.ada/catch_ex.exp (catch_exception_info)
3990 (catch_exception_entry, catch_assert_entry)
3991 (catch_unhandled_entry): Update.
3992 * gdb.ada/catch_assert_if.exp: Update expected results.
3993
b863685d
RB
39942019-07-10 Richard Bunt <richard.bunt@arm.com>
3995 Stephen Roberts <stephen.roberts@arm.com>
3996
3997 * gdb.base/define.exp: Restore original prompt.
3998
cb1e4e32
PA
39992019-07-09 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4002 breakpoints" output.
4003 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4004 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4005 throw" creates breakpoint.
4006 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4007 'type="catchpoint"'.
4008
b58a68fe
PA
40092019-07-09 Pedro Alves <palves@redhat.com>
4010
4011 PR c++/15468
4012 * gdb.cp/except-multi-location-lib.cc: New.
4013 * gdb.cp/except-multi-location-main.cc: New.
4014 * gdb.cp/except-multi-location.exp: New.
4015
0826779b
PW
40162019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4017
4018 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4019 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4020 argument and update callers.
4021
5b0e2db4
AB
40222019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4023
4024 * gdb.arch/amd64-break-on-asm-line.S: New file.
4025 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4026
1f6f6e21
PW
40272019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4028
4029 * gdb.base/printcmds.exp: Test printing C string and
4030 C wide string convenience vars without transiting via the inferior.
4031 Also make test names unique.
4032
ea142fbf
AH
40332019-07-08 Alan Hayward <alan.hayward@arm.com>
4034
5862c886 4035 PR breakpoints/25011
ea142fbf
AH
4036 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4037
213fd9fa
PA
40382019-07-04 Pedro Alves <palves@redhat.com>
4039
4040 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4041 body returned ok(0), break(3) or continue(4).
4042 * gdb.testsuite/foreach_with_prefix.exp: New file.
4043
2b40fda7
AH
40442019-07-04 Alan Hayward <alan.hayward@arm.com>
4045
4046 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4047
a26c8de0
PA
40482019-07-03 Pedro Alves <palves@redhat.com>
4049
4050 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4051 "return -code".
4052
5f4ba3e7
PA
40532019-07-03 Pedro Alves <palves@redhat.com>
4054
4055 PR cli/24732
4056 * gdb.base/shell.exp: Load completion-support.exp.
4057 Adjust expected error output. Add completion tests.
4058
a994424f
PA
40592019-07-03 Pedro Alves <palves@redhat.com>
4060
4061 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4062 string_to_regexp.
4063
3d9be6f5
PA
40642019-07-03 Pedro Alves <palves@redhat.com>
4065
4066 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4067 (expect_integer): Adjust to expect "-string".
4068 (expect_string): New.
4069 (all_options): Expect "-string".
4070 (test-flag, test-boolean): Adjust to expect "-string".
4071 (test-string): New proc.
4072 (top level): Call it.
4073
41fc454c
PA
40742019-07-03 Pedro Alves <palves@redhat.com>
4075
4076 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4077 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4078 the expected output in the success.
4079
b2b2a215
PA
40802019-07-03 Pedro Alves <palves@redhat.com>
4081
4082 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4083 Split one gdb_test_multiple call in two to avoid a race.
4084
fdbc9870
PA
40852019-07-03 Pedro Alves <palves@redhat.com>
4086
4087 * gdb.base/with.c: New file.
4088 * gdb.base/with.exp: New file.
4089
c6ac8931
PA
40902019-07-03 Pedro Alves <palves@redhat.com>
4091
4092 * gdb.base/settings.exp: Replace all references to "maint
4093 test-settings set" with references to "maint set test-settings",
4094 and all references to "maint test-settings show" with references
4095 to "maint show test-settings".
4096
970f9d09
PA
40972019-07-03 Pedro Alves <palves@redhat.com>
4098
4099 * gdb.base/settings.exp (test-string): Adjust expected out when
4100 testing "maint test-settings show filename"
4101
54d66006
PA
41022019-07-02 Pedro Alves <palves@redhat.com>
4103
4104 * gdb.base/options.exp (test-info-threads): New procedure.
4105 (top level): Call it.
4106
10d06d82
TT
41072019-06-28 Tom Tromey <tromey@adacore.com>
4108
4109 * gdb.dwarf2/ada-linkage-name.c: New file.
4110 * gdb.dwarf2/ada-linkage-name.exp: New file.
4111
3d507ff2
TT
41122019-06-27 Tom Tromey <tromey@adacore.com>
4113
d039f014 4114 PR c++/20020:
3d507ff2
TT
4115 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4116
8af58ffe
TV
41172019-06-26 Tom de Vries <tdevries@suse.de>
4118
4119 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4120
22e21752
TV
41212019-06-26 Tom de Vries <tdevries@suse.de>
4122
4123 * gdb.base/index-cache.exp: Add back missing debug option.
4124
b65b566c
PW
41252019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4126
4127 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4128
5c2c8c69
TV
41292019-06-25 Tom de Vries <tdevries@suse.de>
4130
4131 PR testsuite/24727
4132 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4133
164e3873
TV
41342019-06-24 Tom de Vries <tdevries@suse.de>
4135
4136 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4137
824eacee
TV
41382019-06-24 Tom de Vries <tdevries@suse.de>
4139
4140 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4141 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4142 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4143
385b97d3
TV
41442019-06-24 Tom de Vries <tdevries@suse.de>
4145
4146 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4147
c596f180
TV
41482019-06-21 Tom de Vries <tdevries@suse.de>
4149
4150 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4151
b13a7d03
TV
41522019-06-21 Tom de Vries <tdevries@suse.de>
4153
4154 PR testsuite/24518
4155 PR ada/24713
4156 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4157 index.
4158
899277ae
TT
41592019-06-19 Tom Tromey <tromey@adacore.com>
4160
4161 * gdb.ada/length_cond.exp: Add intro comment.
4162
680e1bee
TT
41632019-06-19 Tom Tromey <tromey@adacore.com>
4164
4165 * gdb.ada/length_cond.exp: New file.
4166 * gdb.ada/length_cond/length_cond.adb: New file.
4167 * gdb.ada/length_cond/pck.adb: New file.
4168 * gdb.ada/length_cond/pck.ads: New file.
4169
0ed4690a
TV
41702019-06-18 Tom de Vries <tdevries@suse.de>
4171
4172 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4173
d20ed5fd
TT
41742019-06-18 Tom Tromey <tromey@adacore.com>
4175
4176 * gdb.base/list0.h: Add comment explaining control character.
4177
86e04673
TV
41782019-06-18 Tom de Vries <tdevries@suse.de>
4179
4180 * boards/fission.exp: Break up long debug_flags line.
4181
c4973306
SM
41822019-06-16 Tom de Vries <tdevries@suse.de>
4183
4184 PR gdb/24445
4185 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4186 generated index.
4187
93cb9841
AB
41882019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4189
4190 PR gdb/24686
4191 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4192 improve detection of bug gdb/24541.
4193
399aaebd
SM
41942019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4195
4196 PR gdb/24669
4197 * gdb.base/index-cache.exp (uses_readnow,
4198 expecting_index_cache_use): Define global variable.
4199 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4200 expecting_index_cache_use.
4201
584a927c
AB
42022019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4203 Andrew Burgess <andrew.burgess@embecosm.com>
4204
4205 * gdb.fortran/pointers.f90: New file.
4206 * gdb.fortran/print_type.exp: New file.
4207 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4208 * gdb.fortran/vla-type.exp: Likewise.
4209 * gdb.fortran/vla-value.exp: Likewise.
4210 * gdb.mi/mi-vla-fortran.exp: Likewise.
4211
30056ea0
AB
42122019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4213
4214 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4215 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4216 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4217 as a stop reason.
4218
ec8e2b6d
AB
42192019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4220
4221 * gdb.base/annota1.exp: Update expected results.
4222 * gdb.cp/annota2.exp: Likewise.
4223 * gdb.cp/annota3.exp: Likewise.
4224
09e4c4e1
AB
42252019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4226
4227 * gdb.base/style-logging.exp: Remove path from test name.
4228
0735b091
TT
42292019-06-14 Tom Tromey <tromey@adacore.com>
4230
4231 PR gdb/24502:
4232 * gdb.base/style-logging.exp: New file.
4233
f5686554
TT
42342019-06-14 Tom Tromey <tromey@adacore.com>
4235
4236 * gdb.base/symfile-warn.exp: New file.
4237 * gdb.base/symfile-warn.c: New file.
4238
a0c1ffed
TT
42392019-06-14 Tom Tromey <tromey@adacore.com>
4240
4241 * gdb.base/annotate-symlink.exp: New file.
4242
f411722c
TT
42432019-06-14 Tom Tromey <tromey@adacore.com>
4244
4245 * gdb.ada/set_wstr.exp: Add reassignment test.
4246
4268ec18
TT
42472019-06-14 Tom Tromey <tromey@adacore.com>
4248
4249 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4250 'unchecked_access and 'unrestricted_access as well.
4251
9a9e394b
TT
42522019-06-14 Tom Tromey <tromey@adacore.com>
4253
4254 PR ada/24539:
4255 * gdb.ada/vla.exp: Update tests.
4256 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4257 pragma.
4258
4c048731
PA
42592019-06-13 Pedro Alves <palves@redhat.com>
4260
4261 * gdb.base/settings.exp (test-integer): Test junk after
4262 "unlimited".
4263
6665660a
PA
42642019-06-13 Pedro Alves <palves@redhat.com>
4265
4266 * gdb.base/options.exp (test-thread-apply): New.
4267 (top level): Call it.
4268
5d707134
PA
42692019-06-13 Pedro Alves <palves@redhat.com>
4270
4271 * gdb.base/options.exp (test-frame-apply): New.
4272 (top level): Test print commands with different "frame apply"
4273 prefixes.
4274
e2a689da
PA
42752019-06-13 Pedro Alves <palves@redhat.com>
4276
e79be6e5 4277 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
4278 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4279 'max_completions' parameter and handle it.
4280 (test_gdb_completion_offers_commands): New.
4281
90a1ef87
PA
42822019-06-13 Pedro Alves <palves@redhat.com>
4283
4284 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4285
d4c16835
PA
42862019-06-13 Pedro Alves <palves@redhat.com>
4287
4288 * gdb.base/options.exp (test-backtrace): New.
4289 (top level): Call it.
4290
2daf894e
PA
42912019-06-13 Pedro Alves <palves@redhat.com>
4292
4293 * gdb.guile/scm-frame-args.exp: Use "set print
4294 raw-frame-arguments" instead of "set print raw frame-arguments".
4295 * gdb.python/py-frame-args.exp: Likewise.
4296
e6ed716c
PA
42972019-06-13 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.compile/compile.exp: Adjust expected output to option
4300 processing changes.
4301
7d8062de
PA
43022019-06-13 Pedro Alves <palves@redhat.com>
4303
4304 * gdb.base/options.exp: Build executable.
4305 (test-print): New procedure.
4306 (top level): Call it, once for "print" and another for "compile
4307 print".
4308
9d0faba9
PA
43092019-06-13 Pedro Alves <palves@redhat.com>
4310
4311 * gdb.base/options.c: New file.
4312 * gdb.base/options.exp: New file.
4313
dee7b4c8
PA
43142019-06-13 Pedro Alves <palves@redhat.com>
4315
4316 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4317 that "o" is ambiguous.
4318
dca0f6c0
PA
43192019-06-13 Pedro Alves <palves@redhat.com>
4320
4321 * gdb.base/settings.c: New file.
4322 * gdb.base/settings.exp: New file.
4323
ccf46844
PA
43242019-06-13 Pedro Alves <palves@redhat.com>
4325
4326 * gdb.base/completion.exp: Fix comment typo.
4327
b9a3f842
PA
43282019-06-13 Pedro Alves <palves@redhat.com>
4329
4330 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4331 foo --1" test.
4332
d106773e
PA
43332019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4334
4335 * gdb.fortran/block-data.f: New.
4336 * gdb.fortran/block-data.exp: New.
4337
fea82da0
TV
43382019-06-11 Tom de Vries <tdevries@suse.de>
4339
4340 PR testsuite/24521
4341 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4342 message.
4343
8c2e74f1
TV
43442019-06-11 Tom de Vries <tdevries@suse.de>
4345
4346 PR testsuite/24521
4347 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4348
b49851c8
TV
43492019-06-11 Tom de Vries <tdevries@suse.de>
4350
4351 * boards/readnow.exp: New file.
4352
a7067863
AB
43532019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4354
4355 * gdb.fortran/vla-sizeof.exp: Update expected results.
4356
1a3da2cd
AB
43572019-06-06 Amos Bird <amosbird@gmail.com>
4358
4359 * gdb.base/annota1.exp (thread_switch): Add test for
4360 thread-exited annotation.
4361
3847a7bf
TT
43622019-06-06 Tom Tromey <tromey@adacore.com>
4363
4364 * gdb.base/maint.exp: Expect command started/finished output.
4365
0088ba59
AB
43662019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4367
4368 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4369 comment.
4370 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4371
312617a3
AB
43722019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4373
4374 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4375 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4376 * gdb.arch/riscv-unwind-long-insn.c: New file.
4377 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4378
e1f2e1a2
CB
43792019-06-04 Christian Biesinger <cbiesinger@google.com>
4380
d3238f7d 4381 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 4382
206584bd
PW
43832019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4384
4385 * lib/gdb.exp (help_list_trailer): New regexp variable
4386 factorizing the help trailer message.
4387 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4388 arg to allow to better factorize various tests.
4389 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4390 (test_prefix_command_help): Use help_list_trailer.
4391 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4392 * gdb.guile/scm-cmd.exp: Likewise.
4393 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4394 * gdb.base/help.exp: Use test_user_defined_class_help.
4395 * gdb.base/style.exp: Add tests for styling of help and apropos.
4396 * lib/gdb-utils.exp (style): Add title and highlight styles.
4397
708dc93e
PW
43982019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4399
4400 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4401 $_shell_exitsignal.
4402 * gdb.base/default.exp: Update for new convenience variables.
4403
f49055a5
TT
44042019-05-29 Tom Tromey <tromey@adacore.com>
4405
4406 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4407 to "break complete ada" test case's regexp.
4408
4330d61d
TT
44092019-05-29 Tom Tromey <tromey@adacore.com>
4410
4411 PR c++/20020:
4412 * gdb.cp/constexpr-field.exp: New file.
4413 * gdb.cp/constexpr-field.cc: New file.
4414
000439d5
TT
44152019-05-29 Tom Tromey <tromey@adacore.com>
4416
4417 * gdb.base/finish.exp (finish_no_print): New proc.
4418 (finish_tests): Call it.
4419
5a01c34c
TV
44202019-05-24 Tom de Vries <tdevries@suse.de>
4421
4422 * gdb.dwarf2/gdb-add-index.exp: New file.
4423
18125b16
TT
44242019-05-22 Tom Tromey <tromey@adacore.com>
4425
4426 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4427 * gdb.base/style.exp: Use "style".
4428 * lib/gdb-utils.exp (style): New proc.
4429
af1a8d03
TV
44302019-05-22 Tom de Vries <tdevries@suse.de>
4431
4432 * gdb.base/align.exp: Require c++11.
4433
e7fe496b
TV
44342019-05-22 Tom de Vries <tdevries@suse.de>
4435
4436 PR testsuite/24586
4437 * gdb.python/py-mi-var-info-path-expression.exp: Call
4438 mi_skip_python_tests to check if python is supported.
4439
8fca4da0
AH
44402019-05-22 Alan Hayward <alan.hayward@arm.com>
4441
4442 * gdb.arch/aarch64-pauth.c: New test.
4443 * gdb.arch/aarch64-pauth.exp: New file.
4444
b7060614
AH
44452019-05-22 Alan Hayward <alan.hayward@arm.com>
4446
4447 * README (Re-running Tests Outside The Testsuite): New section.
4448
669d0468
TV
44492019-05-21 Tom de Vries <tdevries@suse.de>
4450
4451 * gdb.arch/amd64-eval.exp: Require c++11.
4452 * gdb.base/max-depth.exp: Same.
4453 * gdb.compile/compile-cplus-array-decay.exp: Same.
4454 * gdb.cp/meth-typedefs.exp: Same.
4455 * gdb.cp/subtypes.exp: Same.
4456 * gdb.cp/temargs.exp: Same.
4457
ce3ebcaa
AH
44582019-05-21 Alan Hayward <alan.hayward@arm.com>
4459
4460 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4461
34d11c68
AB
44622019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4463
4464 PR gdb/18644
4465 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4466 * gdb.fortran/printing-types.exp: Add new test.
4467 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4468 testing.
4469 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4470 setup_kfail call.
4471
87781e84
AH
44722019-05-17 Alan Hayward <alan.hayward@arm.com>
4473
4474 * README (Running the Testsuite): Change example.
4475 (Testsuite Parameters): Remove TRANSCRIPT.
4476 * lib/gdb.exp: Remove TRANSCRIPT check.
4477
b420b89e
AH
44782019-05-17 Alan Hayward <alan.hayward@arm.com>
4479
4480 * README (Testsuite Parameters): Add replay logging to
4481 GDBSERVER_DEBUG.
4482 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4483 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4484 as a comma separated list.
4485 (gdb_debug_init): Override procedure.
4486
408e9b8b
AH
44872019-05-17 Alan Hayward <alan.hayward@arm.com>
4488
4489 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4490 (gdb_write_cmd_file): New procedure.
4491 * lib/gdbserver-support.exp (gdbserver_start): Call
4492 gdbserver_write_cmd_file.
4493 (gdbserver_write_cmd_file): New procedure.
4494
f9e2e39d
AH
44952019-05-17 Alan Hayward <alan.hayward@arm.com>
4496
4497 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4498 (delete_breakpoints): Likewise.
4499 (gdb_run_cmd): Likewise.
4500 (gdb_start_cmd): Likewise.
4501 (gdb_starti_cmd): Likewise.
4502 (gdb_internal_error_resync): Likewise.
4503 (gdb_test_multiple): Likewise.
4504 (gdb_reinitialize_dir): Likewise.
4505 (default_gdb_exit): Likewise.
4506 (gdb_file_cmd): Mark kill as optional.
4507 (default_gdb_start): Call gdb_stdin_log_init.
4508 (send_gdb): Call gdb_stdin_log_write.
4509 (rerun_to_main): Mark Y as an answer.
4510 (gdb_stdin_log_init): New function.
4511 (gdb_stdin_log_write): Likewise.
4512
81f47ac2
AH
45132019-05-17 Alan Hayward <alan.hayward@arm.com>
4514
4515 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4516 * gdb.base/debug-expr.exp: Likewise.
4517 * gdb.base/foll-fork.exp: Likewise.
4518 * gdb.base/foll-vfork.exp: Likewise.
4519 * gdb.base/fork-print-inferior-events.exp: Likewise.
4520 * gdb.base/gdb-sigterm.exp: Likewise.
4521 * gdb.base/gdbinit-history.exp: Likewise.
4522 * gdb.base/osabi.exp: Likewise.
4523 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4524 * gdb.base/ui-redirect.exp: Likewise.
4525 * gdb.gdb/unittest.exp: Likewise.
4526 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4527 * gdb.mi/mi-watch.exp: Likewise.
4528 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4529 * gdb.mi/user-selected-context-sync.exp: Likewise.
4530 * gdb.python/python.exp: Disable debug test when debugging.
4531 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4532 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4533 Likewise.
4534 * gdb.threads/stepi-random-signal.exp: Likewise.
4535
29b52314
AH
45362019-05-17 Alan Hayward <alan.hayward@arm.com>
4537
4538 * Makefile.in: Pass through GDB_DEBUG.
4539 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4540 (gdb,debug): Add board setting.
4541 * lib/gdb.exp (default_gdb_start): Start debugging.
4542 (gdb_debug_enabled): New procedure.
4543 (gdb_debug_init): Likewise.
29b52314
AH
4544
45452019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 4546
29b52314
AH
4547 * Makefile.in: Pass through GDB_DEBUG.
4548 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4549 (gdb,debug): Add board setting.
4550 * lib/gdb.exp (default_gdb_start): Start debugging.
4551 (gdb_debug_enabled): New procedure.
4552 (gdb_debug_init): Likewise.
29b52314 4553
ca1285d1
AH
45542019-05-17 Alan Hayward <alan.hayward@arm.com>
4555
4556 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4557
f3a09c80
AH
45582019-05-17 Alan Hayward <alan.hayward@arm.com>
4559
4560 * gdb.base/ui-redirect.exp: Test redirection.
4561
26648588
JV
45622019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4563
4564 * gdb.mi/mi-complete.exp: New file.
4565 * gdb.mi/mi-complete.cc: Likewise.
4566
14237686
AB
45672019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4568
4569 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4570 indexed and sliced arrays, and pointers to arrays.
4571
e7bd7fba
TT
45722019-05-14 Tom Tromey <tromey@adacore.com>
4573
4574 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4575 styling test.
4576
2764128d
TV
45772019-05-14 Tom de Vries <tdevries@suse.de>
4578
4579 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4580 selection entry encoding.
4581
71bed2db
TT
45822019-05-10 Tom Tromey <tromey@adacore.com>
4583
4584 * gdb.ada/info_exc.exp: Add "complete" test.
4585
63b667ad
TV
45862019-05-09 Tom de Vries <tdevries@suse.de>
4587
4588 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4589 CU-relative.
4590
9cfd2b89
TV
45912019-05-09 Tom de Vries <tdevries@suse.de>
4592
4593 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4594 CU-relative.
4595
2228ef77
XR
45962019-05-08 Joel Brobecker <brobecker@adacore.com>
4597
4598 * gdb.ada/frame_arg_lang.exp: New testcase.
4599 * gdb.ada/frame_arg_lang/bla.adb: New file.
4600 * gdb.ada/frame_arg_lang/pck.ads: New file.
4601 * gdb.ada/frame_arg_lang/pck.adb: New file.
4602 * gdb.ada/frame_arg_lang/foo.c: New file.
4603
80e55b13
TT
46042019-05-08 Tom Tromey <tromey@adacore.com>
4605
4606 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4607
9d3421af
TT
46082019-05-08 Tom Tromey <tromey@adacore.com>
4609
4610 * gdb.base/ptype-offsets.exp: Update tests.
4611
844333e2
TT
46122019-05-08 Tom Tromey <tromey@adacore.com>
4613
4614 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4615 cases.
4616 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4617 "short".
4618
988915ee
TT
46192019-05-08 Tom Tromey <tromey@adacore.com>
4620
4621 * gdb.ada/vla.exp: New file.
4622 * gdb.ada/vla/vla.adb: New file.
4623
7bd55dac
TV
46242019-05-07 Tom de Vries <tdevries@suse.de>
4625
4626 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4627
75f06e9d
TV
46282019-05-07 Tom de Vries <tdevries@suse.de>
4629
4630 PR testsuite/24522
4631 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4632 section.
4633
77e7aaa4
TV
46342019-05-07 Tom de Vries <tdevries@suse.de>
4635
4636 PR testsuite/24522
4637 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4638 .debug_aranges section.
4639
456ba0fa
TV
46402019-05-07 Tom de Vries <tdevries@suse.de>
4641
4642 PR testsuite/24159
4643 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4644
5a56d6a6
TV
46452019-05-06 Tom de Vries <tdevries@suse.de>
4646
4647 * lib/gdb.exp (exec_has_index_section): New proc.
4648 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4649 section.
4650
9d6d4be8
TV
46512019-05-04 Tom de Vries <tdevries@suse.de>
4652
4653 * boards/cc-with-debug-names.exp: New file.
4654
222a8d25
TT
46552019-05-03 Tom Tromey <tromey@adacore.com>
4656
4657 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4658 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4659 * gdb.ada/char_enum.exp: Add test.
4660
0fdfd794
TV
46612019-05-03 Tom de Vries <tdevries@suse.de>
4662
4663 * boards/cc-with-gdb-index.exp: New file.
4664
80062eb9
AB
46652019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4666
4667 * gdb.rust/simple.exp: Add new test case.
4668 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4669 (main): Initialise an instance of the new struct.
4670
4504bbde
TT
46712019-05-01 Tom Tromey <tromey@adacore.com>
4672
4673 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4674 record.
4675 (NPR): New variable.
4676 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4677 test.
4678
d48e62f4
TT
46792019-05-01 Tom Tromey <tromey@adacore.com>
4680
4681 * gdb.ada/packed_array_assign.exp: Add packed assignment
4682 regression test.
4683
f59f30f5
TV
46842019-05-01 Tom de Vries <tdevries@suse.de>
4685
4686 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4687
b70bfc54
TV
46882019-05-01 Tom de Vries <tdevries@suse.de>
4689
4690 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4691
15f18d14
AT
46922019-04-30 Ali Tamur <tamur@google.com>
4693
4694 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4695
2ff0a947
TT
46962019-04-30 Tom Tromey <tromey@adacore.com>
4697
4698 * lib/ada.exp (find_ada_tool): New proc.
4699 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4700 * gdb.ada/catch_ex_std.exp: New file.
4701 * gdb.ada/catch_ex_std/foo.adb: New file.
4702 * gdb.ada/catch_ex_std/some_package.adb: New file.
4703 * gdb.ada/catch_ex_std/some_package.ads: New file.
4704
a776957c
TT
47052019-04-30 Tom Tromey <tromey@adacore.com>
4706
4707 PR c++/24470:
4708 * gdb.cp/temargs.cc: Add test code from PR.
4709
bc68014d
AB
47102019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4711
4712 * gdb.fortran/vla-datatypes.exp: Update expected results.
4713 * gdb.fortran/vla-ptype.exp: Likewise.
4714 * gdb.fortran/vla-type.exp: Likewise.
4715 * gdb.fortran/vla-value.exp: Likewise.
4716
f1fdc960
AB
47172019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4718
4719 * gdb.fortran/ptr-indentation.exp: Update expected results.
4720 * gdb.fortran/ptype-on-functions.exp: Likewise.
4721 * gdb.fortran/vla-ptr-info.exp: Likewise.
4722 * gdb.fortran/vla-value.exp: Likewise.
4723
bf7a4de1
AB
47242019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4725
4726 * gdb.fortran/ptype-on-functions.exp: New file.
4727 * gdb.fortran/ptype-on-functions.f90: New file.
4728
bbe75b9d
AB
47292019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4730
4731 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4732 case void string.
4733
1db455a7
AB
47342019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4735
4736 * gdb.fortran/complex.exp: Expand.
4737 * gdb.fortran/complex.f: Renamed to...
4738 * gdb.fortran/complex.f90: ...this, and extended to add more
4739 complex values.
4740
b6d03bb2
AB
47412019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4742
4743 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4744 MODULO, CMPLX.
4745
2e62ab40
AB
47462019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4747 Richard Bunt <richard.bunt@arm.com>
4748
4749 * gdb.base/max-depth.c: New file.
4750 * gdb.base/max-depth.exp: New file.
4751 * gdb.python/py-nested-maps.c: New file.
4752 * gdb.python/py-nested-maps.exp: New file.
4753 * gdb.python/py-nested-maps.py: New file.
4754 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4755 (test_all_common): Call test_max_depth.
4756 * gdb.fortran/max-depth.exp: New file.
4757 * gdb.fortran/max-depth.f90: New file.
4758 * gdb.go/max-depth.exp: New file.
4759 * gdb.go/max-depth.go: New file.
4760 * gdb.modula2/max-depth.exp: New file.
4761 * gdb.modula2/max-depth.c: New file.
4762 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4763
d2b584a5
TV
47642019-04-29 Tom de Vries <tdevries@suse.de>
4765
4766 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4767
136afab8
PW
47682019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4769
4770 * gdb.base/callexit.exp: Test may-call-functions off.
4771
725cbb63
KS
47722019-04-25 Keith Seitz <keiths@redhat.com>
4773
4774 PR c++/24367
4775 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4776 (another_incomplete_struct, test_incomplete): New definitions.
4777 (main): Use new definitions.
4778 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4779 functions.
4780
701adfb0
PA
47812019-04-25 Ali Tamur <tamur@google.com>
4782
4783 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4784
82433e3e
SDJ
47852019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4786
4787 PR corefiles/11608
4788 PR corefiles/18187
4789 * gdb.base/coredump-filter-build-id.exp: New file.
4790
dd06d4d6
AH
47912019-04-25 Alan Hayward <alan.hayward@arm.com>
4792
e79be6e5
SM
4793 * Makefile.in: Pass through GDBSERVER_DEBUG.
4794 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4795 (gdbserver,debug): Add board setting.
4796 * gdb.trace/tspeed.exp: Skip when debugging.
4797 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4798 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4799
1670072e
TT
48002019-04-24 Tom Tromey <tromey@adacore.com>
4801
4802 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4803 Rust.
4804
a59240a4
TT
48052019-04-24 Tom Tromey <tromey@adacore.com>
4806
4807 * gdb.arch/amd64-eval.exp: Test bitfield return.
4808 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4809 (class Foo) <return_bitfields>: New method.
4810 (main): Call it.
4811
b907456c
AB
48122019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4813
4814 * gdb.cp/many-args.cc: New file.
4815 * gdb.cp/many-args.exp: New file.
4816
5c565afd
TV
48172019-04-23 Tom de Vries <tdevries@suse.de>
4818
4819 PR gdb/24433
4820 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4821
ba22ff86
AH
48222019-04-23 Alan Hayward <alan.hayward@arm.com>
4823
4824 * gdb.trace/backtrace.exp: Use nopie flag.
4825 * gdb.trace/circ.exp: Likewise.
4826 * gdb.trace/collection.exp: Likewise.
4827 * gdb.trace/ftrace.exp: Likewise.
4828 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4829 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4830 * gdb.trace/qtro.exp: Likewise.
4831 * gdb.trace/read-memory.exp: Likewise.
4832 * gdb.trace/report.exp: Likewise.
4833 * gdb.trace/tfile.exp: Likewise.
4834 * gdb.trace/tfind.exp: Likewise.
4835 * gdb.trace/unavailable.exp: Likewise.
4836
7905fc35
PA
48372019-04-22 Pedro Alves <palves@redhat.com>
4838
4839 * gdb.base/solib-probes-nosharedlibrary.c,
4840 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4841
8ecb59f8
TT
48422019-04-19 Tom Tromey <tromey@adacore.com>
4843
4844 * gdb.ada/ptype_union.c: New file.
4845 * gdb.ada/ptype_union.exp: New file.
4846
62160ec9
TT
48472019-04-19 Tom Tromey <tromey@adacore.com>
4848
4849 PR symtab/24423:
4850 * gdb.base/list0.h (foo): Add a control-l character.
4851
36cd4ba5
TV
48522019-04-18 Tom de Vries <tdevries@suse.de>
4853
4854 PR gdb/24433
4855 * boards/local-board.exp: Set sysroot to "".
4856
b73715df
TV
48572019-04-18 Tom de Vries <tdevries@suse.de>
4858 Pedro Alves <palves@redhat.com>
4859
4860 PR gdb/24454
4861 * gdb.threads/vfork-follow-child-exec.c: New file.
4862 * gdb.threads/vfork-follow-child-exec.exp: New file.
4863 * gdb.threads/vfork-follow-child-exit.c: New file.
4864 * gdb.threads/vfork-follow-child-exit.exp: New file.
4865
4aa866af
LS
48662019-04-15 Leszek Swirski <leszeks@google.com>
4867
4868 * gdb.arch/amd64-eval.cc: New file.
4869 * gdb.arch/amd64-eval.exp: New file.
4870
e5a1a79a
AH
48712019-04-11 Alan Hayward <alan.hayward@arm.com>
4872
4873 * gdb.server/sysroot.c: New test.
4874 * gdb.server/sysroot.exp: New file.
4875 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4876 matching param.
4877
41077b66
AB
48782019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4879
4880 * gdb.base/align.exp: Extend test to cover structures containing
4881 only static fields.
4882
c30391f8
TV
48832019-04-11 Tom de Vries <tdevries@suse.de>
4884
4885 * boards/cc-with-dwz-m.exp: New file.
4886 * boards/cc-with-dwz.exp: New file.
4887 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4888
e242fd12
SM
48892019-04-09 Simon Marchi <simon.marchi@efficios.com>
4890
4891 * gdb.base/start-cpp.exp: New file.
4892 * gdb.base/start-cpp.cc: New file.
4893
2b0c8b01
KB
48942019-04-08 Kevin Buettner <kevinb@redhat.com>
4895
4896 * gdb.python/py-thrhandle.exp: Adjust tests to call
4897 thread_from_handle instead of thread_from_thread_handle.
4898
947210e5
KB
48992019-04-08 Kevin Buettner <kevinb@redhat.com>
4900
4901 * gdb.python/py-thrhandle.exp: Add tests for
4902 gdb.InferiorThread.handle.
4903
d7df6549
AB
49042019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4905
4906 * gdb.python/py-function.exp: Check calling helper function from
4907 all languages.
4908 * lib/gdb.exp (gdb_supported_languages): New proc.
4909
8bdc1658
AB
49102019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4911
4912 * gdb.base/complex-parts.c: New file.
4913 * gdb.base/complex-parts.exp: New file.
4914
05caa1d2
TT
49152019-04-01 Tom Tromey <tromey@adacore.com>
4916
4917 PR symtab/23331:
4918 * gdb.dwarf2/dw2-ranges-main.c: New file.
4919 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4920 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4921
7734102d
EZ
49222019-03-30 Simon Marchi <simark@simark.ca>
4923
4924 * gdb.base/default.exp: Add values for $_gdb_major and
4925 $_gdb_minor.
4926
188e1fa9
TT
49272019-03-29 Tom Tromey <tromey@adacore.com>
4928
4929 * gdb.base/help.exp: Tighten apropos regexp.
4930
2880242d
KS
49312019-03-29 Keith Seitz <keiths@redhat.com>
4932
4933 * gdb.fortran/array-bounds.exp: New file.
4934 * gdb.fortran/array-bounds.f90: New file.
4935
077cad8e
PW
49362019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4937
4938 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4939
80047cfc
PW
49402019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4941
4942 * gdb.multi/hello.c (main): Increase alarm timer.
4943
f489207e
SL
49442019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4945
4946 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4947 factor when no hardware watchpoint support.
4948
c92df149
AH
49492019-03-28 Alan Hayward <alan.hayward@arm.com>
4950 Pedro Alves <palves@redhat.com>
4951
4952 * boards/local-board.exp: set sysroot to /.
4953
933aebfa
AH
49542019-03-27 Alan Hayward <alan.hayward@arm.com>
4955
4956 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4957 in child.
4958
9f9aa852
AB
49592019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4960
4961 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4962 field.
4963 (make_container): Initialise new field.
4964 * gdb.python/py-prettyprint.exp: Add new tests.
4965 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4966 <display_hint>: New method.
4967
3714a195
AB
49682019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4969
4970 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4971 gdb_continue_to_breakpoint more throughout this test.
4972 (run_lang_tests) Supply unique test names, and use
4973 gdb_test_no_output.
4974
18c77628
AB
49752019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4976
4977 * gdb.base/finish-pretty.exp: Update expected results.
4978 * gdb.base/pretty-print.c: New file.
4979 * gdb.base/pretty-print.exp: New file.
4980
9a93502f
PA
49812019-03-25 Pedro Alves <palves@redhat.com>
4982
4983 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4984 move comments outside list. Append '-i "" eof' section.
4985
968aa7ae
AH
49862019-03-22 Alan Hayward <alan.hayward@arm.com>
4987
34a7f2a4 4988 PR testsuite/25016
968aa7ae
AH
4989 * README: Add pie options.
4990 * gdb.base/break-interp.exp: Ensure pie is disabled.
4991 * gdb.base/dump.exp: Likewise.
4992 * lib/gdb.exp (gdb_compile): Add pie option.
4993
4c7d57e7
TT
49942019-03-19 Tom Tromey <tromey@adacore.com>
4995
4996 * gdb.mi/mi2-cli-display.c: New file.
4997 * gdb.mi/mi2-cli-display.exp: New file.
4998
bff8c71f
TT
49992019-03-18 Joel Brobecker <brobecker@adacore.com>
5000 Tom Tromey <tromey@adacore.com>
5001
5002 * gdb.ada/ptype_array/pck.adb: New file.
5003 * gdb.ada/ptype_array/pck.ads: New file.
5004 * gdb.ada/ptype_array/foo.adb: New file.
5005 * gdb.ada/ptype_array.exp: New file.
5006
d085f989
TT
50072019-03-14 Tom Tromey <tromey@adacore.com>
5008
5009 * gdb.base/style.exp: Add "set style sources" test.
5010
b4be1b06
SM
50112019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5012
5013 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5014 * mi-breakpoint-multiple-locations.exp: ... this.
5015 (make_breakpoints_pattern): New proc.
5016 (do_test): Add mi_version parameter, test -break-insert,
5017 -break-info and =breakpoint-created.
5018
7cde5fc2
AB
50192019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5020
5021 * config/default.exp: Remove 'load_lib gdb.exp'.
5022 * config/monitor.exp: Likewise.
5023 * config/sid.exp: Likewise.
5024 * config/sim.exp: Likewise.
5025 * config/slite.exp: Likewise.
5026 * config/unix.exp: Likewise.
5027 * gdb.base/default.exp: Remove unhelpful comment.
5028
efbecbc1
AB
50292019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5030
5031 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5032
0841c79a
AB
50332019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5034
5035 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5036
4a270568
AB
50372019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5038
5039 * gdb.fortran/type-kinds.exp: Update expected results.
5040
067630bd
AB
50412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5042
5043 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5044
3be47f7a
AB
50452019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5046
5047 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5048 function.
5049 (test_basic_parsing_of_type_kinds): Expand types tested.
5050 (test_parsing_invalid_type_kinds): New function.
5051
4d00f5d8
AB
50522019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5053
5054 * gdb.fortran/intrinsics.exp: New file.
5055 * gdb.fortran/intrinsics.f90: New file.
5056 * gdb.fortran/type-kinds.exp: New file.
5057
c8f91604
AB
50582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5059
5060 * gdb.fortran/dot-ops.exp: New file.
5061
dd9f2c76
AB
50622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5063
5064 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5065 Check upper and lower case logical literals.
5066
84ec9724
AB
50672019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5068
5069 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5070 Remove duplicate tests.
5071
c3734e09
AH
50722019-03-06 Alan Hayward <alan.hayward@arm.com>
5073
5074 * lib/gdb.exp (builtin_cd): rename of cd.
5075 (cd): Override builtin.
5076
aa3cfbda
RB
50772019-03-06 Richard Bunt <richard.bunt@arm.com>
5078
5079 * gdb.fortran/function-calls.exp: New file.
5080 * gdb.fortran/function-calls.f90: New test.
5081
7b63ad86
RB
50822019-03-04 Richard Bunt <richard.bunt@arm.com>
5083
5084 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5085 on user program standard output.
5086 * gdb.fortran/short-circuit-argument-list.f90: Record function
5087 calls.
5088
01abb042
AH
50892019-02-28 Alan Hayward <alan.hayward@arm.com>
5090
c3734e09
AH
5091 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5092 failure.
01abb042 5093
92137da0
RO
50942019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5095
5096 PR gdb/8527
5097 * gdb.base/interrupt-daemon-attach.c,
5098 gdb.base/interrupt-daemon-attach.exp: New test.
5099
5862844d
PA
51002019-02-27 Pedro Alves <palves@redhat.com>
5101
5102 * gdb.base/page.exp: Add tests for "set width/height -1".
5103
8ed25214
PA
51042019-02-27 Pedro Alves <palves@redhat.com>
5105
5106 * gdb.base/page.exp: Add tests for "set/show width/height" with
5107 "infinite" values.
5108
6c28e44a
TT
51092019-02-27 Tom Tromey <tromey@adacore.com>
5110
5111 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5112 2.4.
5113 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5114 workaround.
5115
bf9a735e
AB
51162019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5117
5118 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5119 tests for structs with static members.
5120
8791793c
TT
51212019-02-26 Tom Tromey <tromey@adacore.com>
5122
5123 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5124 ValueError, not TypeError.
5125
bc2a507e
KB
51262019-02-26 Kevin Buettner <kevinb@redhat.com>
5127
5128 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5129 call from main program.
5130
e0e7d3bd
JB
51312019-02-23 Joel Brobecker <brobecker@adacore.com>
5132
5133 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5134 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5135 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5136 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5137 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5138
9600246d
KS
51392019-02-22 Keith Seitz <keiths@redhat.com>
5140
5141 PR symtab/23853
5142 * gdb.base/symlink-sourcefile.c: New file.
5143 * gdb.base/symlink-sourcefile.exp: New file.
5144
0c95f9ed
TT
51452019-02-20 Tom Tromey <tom@tromey.com>
5146
5147 * gdb.base/info_qt.exp: Update.
5148
6caa91b6
SM
51492019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5150
5151 * gdb.base/source.exp: Move "error in sourced script" code to
5152 the end.
5153 * gdb.base/source-error.gdb: Move contents to
5154 source-error-1.gdb. Add new code to source source-error-1.gdb.
5155 * gdb.base/source-error-1.gdb: New file, from previous
5156 source-error.gdb.
5157
6506371f
TT
51582019-02-17 Tom Tromey <tom@tromey.com>
5159
5160 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5161 for macro styling.
5162 * gdb.base/style.c (SOME_MACRO): New macro.
5163
a0087920
TT
51642019-02-17 Tom Tromey <tom@tromey.com>
5165
5166 * gdb.base/style.exp: Add line-wrapping tests.
5167 * gdb.base/page.exp: Add test for quitting during pagination.
5168
a2cd4f14
JB
51692019-02-17 Joel Brobecker <brobecker@adacore.com>
5170
5171 * gdb.ada/big_packed_array: New testcase.
5172 * gdb.ada/homonym.exp: Fix incorrect expected output for
5173 "break <homonym__get_value>" test.
5174
9d70ffbc
WP
51752019-02-13 Weimin Pan <weimin.pan@oracle.com>
5176
5177 PR breakpoints/21870
5178 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5179 and prepare_for_testing. Add comment.
5180 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5181 redundant cleanup call. Clean up comment.
5182
01c7ae81
WP
51832019-02-12 Weimin Pan <weimin.pan@oracle.com>
5184
5185 PR breakpoints/21870
5186 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5187 * gdb.arch/aarch64-dbreg-contents.c: New file.
5188
aff29d1c
JB
51892019-02-10 Joel Brobecker <brobecker@adacore.com>
5190
5191 * gdb.ada/mi_ref_changeable: New testcase.
5192
df0da8a2
AH
51932019-02-07 Alan Hayward <alan.hayward@arm.com>
5194
5195 * gdb.base/attach.exp: Add double attach test.
5196
bd447abb
SM
51972019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5198
5199 * lib/gdb.exp (default_gdb_start): Don't match pagination
5200 prompt.
5201 (gdb_init): Set stty_init.
5202
1dbc40b9
TT
52032019-01-27 Tom Tromey <tom@tromey.com>
5204
5205 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5206 skip_python_tests.
5207
353229bf
AH
52082019-01-24 Alan Hayward <alan.hayward@arm.com>
5209
5210 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5211 New structure.
5212 (struct struct_static_02_02): Likewise.
5213 (struct struct_static_02_03): Likewise.
5214 (struct struct_static_02_04): Likewise.
5215 (struct struct_static_04_01): Likewise.
5216 (struct struct_static_04_02): Likewise.
5217 (struct struct_static_04_03): Likewise.
5218 (struct struct_static_04_04): Likewise.
5219 (struct struct_static_06_01): Likewise.
5220 (struct struct_static_06_02): Likewise.
5221 (struct struct_static_06_03): Likewise.
5222 (struct struct_static_06_04): Likewise.
5223 (cmp_struct_static_02_01): Likewise.
5224 (cmp_struct_static_02_02): Likewise.
5225 (cmp_struct_static_02_03): Likewise.
5226 (cmp_struct_static_02_04): Likewise.
5227 (cmp_struct_static_04_01): Likewise.
5228 (cmp_struct_static_04_02): Likewise.
5229 (cmp_struct_static_04_03): Likewise.
5230 (cmp_struct_static_04_04): Likewise.
5231 (cmp_struct_static_06_01): Likewise.
5232 (cmp_struct_static_06_02): Likewise.
5233 (cmp_struct_static_06_03): Likewise.
5234 (cmp_struct_static_06_04): Likewise.
5235 (call_all): Test new structs.
5236 * gdb.base/infcall-nested-structs.exp: Likewise.
5237
73021deb
AH
52382019-01-21 Alan Hayward <alan.hayward@arm.com>
5239 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5240
fc65c7db
AH
52412019-01-21 Alan Hayward <alan.hayward@arm.com>
5242 * gdb.base/stack-protector.c: New test.
5243 * gdb.base/stack-protector.exp: New file.
5244 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5245 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5246 option.
5247 (gdb_compile): Remove stack protector for GCC and prevent
5248 recursion.
5249
c24bdb02
KS
52502019-01-16 Keith Seitz <keiths@redhat.com>
5251
5252 PR gdb/23773
5253 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5254
6f072a10
PFC
52552019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5256
5257 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5258 aliases.
5259 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5260 tests.
5261 * gdb.arch/powerpc-vector-regs.c: New file.
5262 * gdb.arch/powerpc-vector-regs.exp: New file.
5263
a7b8d682
PFC
52642019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5265
5266 * gdb.arch/altivec-regs.exp: Fix the list passed to
5267 gdb_expect_list when testing "info vector".
5268
6eb6fb67
AB
52692019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5270
5271 * gdb.base/style.exp: Don't include path in testname.
5272
b56f80d8
KS
52732019-01-10 Keith Seitz <keiths@redhat.com>
5274
5275 PR gdb/23712
5276 PR symtab/23010
5277 * gdb.dwarf2/multidictionary.exp: New file.
5278
041be526
SM
52792019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5280
5281 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5282 (test_gnuv3_style_demangling): ... this.
5283 (test_lucid_style_demangling): Remove.
5284 (test_arm_style_demangling): Remove.
5285 (test_hp_style_demangling): Remove.
5286 (do_tests): Remove calls to the above.
5287
d820d0c3
AB
52882019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5289
5290 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5291 case.
5292
f097f5ad
TT
52932019-01-06 Tom Tromey <tom@tromey.com>
5294
5295 PR gdb/28155:
5296 * gdb.dwarf2/typedef-void-finish.exp: New file.
5297
2cd8cc0b
TT
52982018-12-28 Tom Tromey <tom@tromey.com>
5299 Simon Marchi <simark@simark.ca>
5300
5301 * gdb.base/jit-exec.exp: New file.
5302 * gdb.base/jit-exec.c: New file.
5303 * gdb.base/jit-execd.c: New file.
5304
35fb8261
TT
53052018-12-28 Tom Tromey <tom@tromey.com>
5306
5307 * gdb.base/style.exp: Update test to check for address styling.
5308
47fd17cd
TT
53092018-12-28 Tom Tromey <tom@tromey.com>
5310
5311 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5312 message.
5313
d47032b7
TT
53142018-12-28 Tom Tromey <tom@tromey.com>
5315
5316 * gdb.base/style.exp: Add test for version number styling.
5317
af79b68d
TT
53182018-12-28 Tom Tromey <tom@tromey.com>
5319
5320 * gdb.base/style.exp: Add test for print_address_symbolic.
5321
0bb296cb
TT
53222018-12-28 Tom Tromey <tom@tromey.com>
5323
5324 * gdb.base/style.exp: Add test for breakpoint setting.
5325
80ae2043
TT
53262018-12-28 Tom Tromey <tom@tromey.com>
5327
5328 * gdb.base/style.exp: Add test for variable names.
5329
cbe56571
TT
53302018-12-28 Tom Tromey <tom@tromey.com>
5331
5332 * gdb.base/style.exp: New file.
5333 * gdb.base/style.c: New file.
5334
9162a27c
TT
53352018-12-28 Tom Tromey <tom@tromey.com>
5336
5337 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5338 "dumb".
5339 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5340 the TERM environment variable.
5341
bc543c90
TT
53422018-12-27 Tom Tromey <tom@tromey.com>
5343
5344 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5345 pagination test.
5346
6f0ffe50
AB
53472018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5348
5349 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5350 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5351
b5a1e557
PW
53522018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5353
5354 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5355 Filename a.adb changed to bp_fun_addr.adb.
5356 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5357
6e8b1ab2
JV
53582018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5359
5360 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5361 non-PIE executables.
5362 * README: Mention the gdb,nopie_flag board setting.
5363 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5364 non-PIE executable.
5365 * gdb.arch/amd64-entry-value.exp: Likewise.
5366 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5367 * gdb.arch/i386-float.exp: Likewise.
5368 * gdb.arch/i386-signal.exp: Likewise.
5369 * gdb.mi/mi-reg-undefined.exp: Likewise.
5370
d00a27c5
PM
53712018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5372
5373 PR gdb/23974
5374 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5375
161d081c
PW
53762018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5377
5378 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5379 Update order of results accordingly.
5380
b001de23
AB
53812018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5382
5383 * gdb.base/annota1.exp: Update a test regexp.
5384
99e1a184
AB
53852018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5386
5387 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5388
7a81c1e2
PW
53892018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5390
5391 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5392 (reuse_time): Initialize to REUSE_TIME_CAP.
5393 (check_rc): New function.
5394 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5395 Check pthread_create rc.
5396 (spawner_thread_func): Check pthread_create and pthread_join rc.
5397
73e8dc90
PA
53982018-12-08 Pedro Alves <palves@redhat.com>
5399
5400 * gdb.base/list.exp (test_forward_search): Rename to ...
5401 (test_forward_reverse_search): ... this. Also test reverse-search
5402 and the forward-search alias.
5403
13f2ed32
AB
54042018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5405
5406 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5407 local timeout variable before return, and remove all local timeout
5408 variable entirely.
5409 (gdb_load): Likewise.
5410
64d27cfc
TV
54112018-12-01 Tom de Vries <tdevries@suse.de>
5412
5413 * gdb.base/gdb-caching-proc.exp: New file.
5414
f63c03b4
SDJ
54152018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5416
5417 * Makefile.in (TIMESTAMP): New variable.
5418 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5419 command.
5420 (check-single-racy): Likewise.
5421 (check/%.exp): Likewise.
5422 (check-racy/%.exp): Likewise.
5423 (workers/%.worker): Likewise.
5424 (build-perf): Likewise.
5425 (check-perf): Likewise.
5426 * README: Describe new "TS" and "TS_FORMAT" variables.
5427 * print-ts.py: New file.
5428
1c97054b
BF
54292018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5430
5431 PR python/23714
5432 * gdb.python/python.exp: Test command repetition after
5433 gdb.execute.
5434
1871a62d
AB
54352018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5436
5437 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5438 is correctly aligned.
5439
fb5e1ed9
PW
54402018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5441
5442 * gdb.ada/info_auto_lang.exp: New testcase.
5443 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5444 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5445 * gdb.ada/info_auto_lang/some_c.c: New file.
5446
43d397ca
PW
54472018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5448
5449 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5450 FUNC_lang language syntax.
5451
beddd671
PW
54522018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5453
5454 * gdb.base/info_minsym.c: New file.
5455 * gdb.base/info_minsym.exp: New file.
5456
73fc52c4
TT
54572018-11-19 Tom Tromey <tom@tromey.com>
5458
5459 PR rust/23625:
5460 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5461 * gdb.rust/expr.exp: Update expected output. Change one test.
5462
994b876a
TT
54632018-11-19 Tom Tromey <tom@tromey.com>
5464
5465 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5466
6769f276
PA
54672018-11-19 Pedro Alves <palves@redhat.com>
5468
5469 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5470 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5471 see the expected warning.
5472
38a72da0
AH
54732018-11-16 Alan Hayward <alan.hayward@arm.com>
5474
5475 PR gdb/22736:
5476 * gdb.cp/infcall-nodebug-lib.c: New test.
5477 * gdb.cp/infcall-nodebug-main.c: New test.
5478 * gdb.cp/infcall-nodebug.exp: New file.
5479
53a89d6e
SM
54802018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5481
5482 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5483 completer tests.
5484
9325300d
TV
54852018-11-09 Tom de Vries <tdevries@suse.de>
5486
5487 * gdb.base/msym-lang.c: New test.
5488 * gdb.base/msym-lang.exp: New file.
5489 * gdb.base/msym-lang-main.c: New test.
5490
20f0d60d
TT
54912018-11-08 Tom Tromey <tom@tromey.com>
5492
5493 PR gdb/23555:
5494 PR gdb/23838:
5495 * gdb.base/warning.exp: New file.
5496
b5420128
JB
54972018-11-08 Jan Beulich <jbeulich@suse.com>
5498
5499 * testsuite/gdb.arch/i386-avx512.c,
5500 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5501
cd115d61
AB
55022018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5503
5504 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5505 point hardware.
5506
35ee2dc2
AB
55072018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5508
5509 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5510 * gdb.dwarf2/missing-type-name.exp: New file.
5511
31aceee8
TV
55122018-11-06 Tom de Vries <tdevries@suse.de>
5513
5514 * gdb.base/many-headers.c: New test.
5515 * gdb.base/many-headers.exp: New file.
5516
109be305
JW
55172018-11-06 Jim Wilson <jimw@sifive.com>
5518
5519 * gdb.base/code_elim.exp: For riscv, set additional_flags
5520 to include -msmall-data-limit=0.
5521
e2b7af72
JB
55222018-11-01 Joel Brobecker <brobecker@adacore.com>
5523
5524 * gdb.ada/watch_minus_l: New testcase.
5525
cdcda965
SM
55262018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5527
5528 * gdb.arch/aix-sighandle.c: New file.
5529 * gdb.arch/aix-sighandle.exp: New file.
5530
92dcebf3
AB
55312018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5532
5533 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5534 registers being unions.
5535
68b9ac18
TV
55362018-10-31 Tom de Vries <tdevries@suse.de>
5537
5538 * lib/valgrind.exp: New file.
5539 (vgdb_start, vgdb_stop): New procs, factored out of ...
5540 * gdb.base/valgrind-bt.exp: ... here, ...
5541 * gdb.base/valgrind-disp-step.exp: ... here and ...
5542 * gdb.base/valgrind-infcall.exp: ... here.
5543
1443936e
TV
55442018-10-31 Tom de Vries <tdevries@suse.de>
5545
5546 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5547
eb77c9df
AB
55482018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5549
5550 * gdb.dwarf2/void-type.c: New file.
5551 * gdb.dwarf2/void-type.exp: New file.
5552
82b5e646
PW
55532018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5554
5555 * gdb.base/info_qt.c: New file.
5556 * gdb.base/info_qt.exp: New file.
5557
8d619c01
EBM
55582018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5559
5560 * gdb.arch/powerpc-htm-regs.c: New file.
5561 * gdb.arch/powerpc-htm-regs.exp: New file.
5562
f2cf6173
EBM
55632018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5564
5565 * gdb.arch/powerpc-tar.c: New file.
5566 * gdb.arch/powerpc-tar.exp: New file.
5567
7ca18ed6
EBM
55682018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5569
5570 * gdb.arch/powerpc-ppr-dscr.c: New file.
5571 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5572
bfcc0eba
TV
55732018-10-25 Tom de Vries <tdevries@suse.de>
5574
5575 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5576
fe1a5cad
TV
55772018-10-24 Tom de Vries <tdevries@suse.de>
5578
5579 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5580 longer exists error.
5581
a76dc3b7
TV
55822018-10-24 Tom de Vries <tdevries@suse.de>
5583
5584 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5585
4df46df7
TV
55862018-10-24 Tom de Vries <tdevries@suse.de>
5587
5588 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5589 --db-attach in valgrind.
5590
0dbfcfff
AB
55912018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5592
5593 * gdb.arch/riscv-reg-aliases.c: New file.
5594 * gdb.arch/riscv-reg-aliases.exp: New file.
5595
b04480b1
AH
55962018-10-19 Alan Hayward <alan.hayward@arm.com>
5597
5598 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5599
2c6ac8d7
AH
56002018-10-19 Alan Hayward <alan.hayward@arm.com>
5601
5602 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5603
2bc69f25
AH
56042018-10-19 Alan Hayward <alan.hayward@arm.com>
5605
5606 * gdb.cp/ovldbreak.exp: Fix regexps.
5607
1f1ae3a3
AH
56082018-10-19 Alan Hayward <alan.hayward@arm.com>
5609
5610 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5611
94c18618
SDJ
56122018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5613
5614 PR cli/23785
5615 * gdb.base/restore.exp: New test to check if "restore" with an
5616 invalid file doesn't segfault.
5617
812cd6eb
TV
56182018-10-18 Tom de Vries <tdevries@suse.de>
5619
5620 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5621 * gdb.ada/excep_handle.exp: Same.
5622 * gdb.ada/mi_string_access.exp: Same.
5623 * gdb.ada/mi_var_union.exp: Same.
5624 * gdb.arch/arc-analyze-prologue.exp: Same.
5625 * gdb.arch/arc-decode-insn.exp: Same.
5626 * gdb.base/readnever.exp: Same.
5627 * gdb.fortran/printing-types.exp: Same.
5628 * gdb.guile/scm-lazy-string.exp: Same.
5629
c4b90788
TV
56302018-10-16 Tom de Vries <tdevries@suse.de>
5631
5632 PR gdb/23730
5633 * gdb.base/catch-follow-exec.c: Add copyright notice.
5634 * gdb.base/catch-follow-exec.exp: Rewrite to use
5635 gdb_spawn_with_cmdline_opts. Require gdb-native.
5636
8bca2978
SL
56372018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5638
5639 * gdb.trace/actions-changed.exp: Check for arch support.
5640 * gdb.trace/actions.exp: Likewise.
5641 * gdb.trace/ax.exp: Likewise.
5642 * gdb.trace/backtrace.exp: Likewise.
5643 * gdb.trace/change-loc.exp: Likewise.
5644 * gdb.trace/deltrace.exp: Likewise.
5645 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5646 * gdb.trace/ftrace.exp: Likewise.
5647 * gdb.trace/infotrace.exp: Check for arch support.
5648 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5649 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5650 * gdb.trace/mi-tsv-changed.exp: Likewise.
5651 * gdb.trace/packetlen.exp: Likewise.
5652 * gdb.trace/passc-dyn.exp: Likewise.
5653 * gdb.trace/passcount.exp: Likewise.
5654 * gdb.trace/pending.exp: Likewise.
5655 * gdb.trace/range-stepping.exp: Check for shlib support.
5656 * gdb.trace/report.exp: Check for arch support.
5657 * gdb.trace/save-trace.exp: Likewise.
5658 * gdb.trace/signal.exp: Check for signal support.
5659 * gdb.trace/tfind.exp: Check for arch support.
5660 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5661 * gdb.trace/trace-common.h: Add comment.
5662 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5663 * gdb.trace/trace-enable-disable.exp: Likewise.
5664 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5665 * gdb.trace/tracecmd.exp: Check for arch support.
5666 * gdb.trace/tspeed.exp: Check for shlib and target support.
5667 * gdb.trace/tstatus.exp: Check for arch support.
5668 * gdb.trace/tsv.exp: Likewise.
5669 * gdb.trace/while-dyn.exp: Likewise.
5670 * gdb.trace/while-stepping.exp: Likewise.
5671 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5672
f9c49bff
SM
56732018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5674
5675 * gdb.trace/tspeed.exp: Remove nowarnings.
5676 (prepare_for_trace_test): Declare "global ipalib".
5677 * gdb.trace/tspeed.c: Include unistd.h.
5678 (main): Remove superfluous printf argument.
5679
d4330bde
SL
56802018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5681
5682 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5683 directory prefix on the filename.
5684
8ecfd7bd
SDJ
56852018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5686
5687 * gdb.gdb/unittest.exp: Update expected message informing that
5688 selftests have been disabled.
5689 * gdb.server/unittest.exp: Likewise.
5690
58bbcd02
TV
56912018-10-09 Tom de Vries <tdevries@suse.de>
5692
5693 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5694 with runto_main.
5695
9f6b697b
WP
56962018-10-08 Weimin Pan <weimin.pan@oracle.com>
5697
5698 PR c++/16841
5699 * gdb.cp/virtbase2.cc: New file.
5700 * gdb.cp/virtbase2.exp: New file.
5701
add5ded5
TT
57022018-10-06 Tom Tromey <tom@tromey.com>
5703
5704 PR python/19399:
5705 * gdb.python/py-inferior.exp: Add architecture test.
5706
f9e48344
TT
57072018-10-06 Tom Tromey <tom@tromey.com>
5708
5709 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5710 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5711
2a8be203
TT
57122018-10-06 Tom Tromey <tom@tromey.com>
5713
5714 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5715 of a "throw" catchpoint.
5716
e04caa70
SDJ
57172018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5718
5719 * gdb.base/info-proc.exp: Update string expected from "help info
5720 proc".
5721
5ca8c39f
TT
57222018-10-04 Tom Tromey <tom@tromey.com>
5723
5724 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5725 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5726 (test_initial_complaints, test_empty_complaints): Update.
5727 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5728
3453e7e4
TT
57292018-10-04 Tom Tromey <tom@tromey.com>
5730
5731 PR cli/19551:
5732 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5733 * lib/gdb.exp (gdb_file_cmd): Update.
5734 * gdb.stabs/weird.exp (print_weird_var): Update.
5735 * gdb.server/solib-list.exp: Update.
5736 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5737 * gdb.mi/mi-cli.exp: Update.
5738 * gdb.linespec/linespec.exp: Update.
5739 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5740 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5741 * gdb.cp/cp-relocate.exp: Update.
5742 * gdb.base/sym-file.exp: Update.
5743 * gdb.base/relocate.exp: Update.
5744 * gdb.base/readnever.exp: Update.
5745 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5746 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5747 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5748 * gdb.base/code_elim.exp: Update.
5749 * gdb.base/break-unload-file.exp (test_break): Update.
5750 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5751 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5752 Update.
5753 * gdb.base/attach.exp (do_attach_tests): Update.
5754 * gdb.base/sepdebug.exp: Update.
5755 * gdb.python/py-section-script.exp: Update.
5756
6afcf761
TT
57572018-10-04 Tom Tromey <tom@tromey.com>
5758
5759 PR cli/22234:
5760 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5761 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5762 output.
5763
fef1b293
TT
57642018-10-04 Tom Tromey <tom@tromey.com>
5765
5766 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5767 set width and height to 0.
5768 (test_command_line_attach_run): Use -quiet.
5769
ca98345e
SL
57702018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5771
5772 * lib/gdb.exp (skip_ifunc_tests): New.
5773 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5774 other compile failures.
5775 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5776
ff34e6ae
SM
57772018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5778
5779 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5780 is_amd64_regs_target.
5781
6bb8890e
AH
57822018-10-01 Alan Hayward <alan.hayward@arm.com>
5783
5784 * gdb.arch/aarch64-sighandler-regs.c: New test.
5785 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5786 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5787
224d30d3
MM
57882018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5789
5790 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5791 assembly.
5792
f67ffa6a
AB
57932018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5794
5795 * gdb.base/frame-selection.exp: New file.
5796 * gdb.base/frame-selection.c: New file.
5797
9fc3183f
AH
57982018-09-27 Alan Hayward <alan.hayward@arm.com>
5799
5800 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5801 pthread barrier.
5802 (main): Likewise.
5803
d354055e
AB
58042018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5805
5806 * gdb.base/large-frame-1.c: New file.
5807 * gdb.base/large-frame-2.c: New file.
5808 * gdb.base/large-frame.exp: New file.
5809 * gdb.base/large-frame.h: New file.
5810
db727370
JL
58112018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5812
5813 PR gdb/20948
5814 * gdb.base/write_mem.exp: New test.
5815 * gdb.base/write_mem.c: Likewise.
5816
ae778caf
TT
58172018-09-23 Tom Tromey <tom@tromey.com>
5818
5819 PR python/18852:
5820 * gdb.python/py-parameter.exp: Add test for parameter that throws
5821 on "set".
5822
fd3ba736
TT
58232018-09-23 Tom Tromey <tom@tromey.com>
5824
5825 PR python/17284:
5826 * gdb.python/py-template.exp (test_template_arg): Add test for
5827 negative template argument number.
5828
39a24317
TT
58292018-09-23 Tom Tromey <tom@tromey.com>
5830
5831 PR python/14062:
5832 * gdb.python/python.exp: Add test for post_event error.
5833
f5769a2c
TT
58342018-09-23 Tom Tromey <tom@tromey.com>
5835
5836 PR python/18170:
5837 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5838 convert pointers to int and long.
5839
1c1e54f6
TT
58402018-09-23 Tom Tromey <tom@tromey.com>
5841
5842 PR python/20126:
5843 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5844 signed-ness conversion tests.
5845
fb4fa946
TT
58462018-09-23 Tom Tromey <tom@tromey.com>
5847
5848 PR python/18352;
5849 * gdb.python/py-value.exp (test_float_conversion): New proc.
5850 Use it.
5851
a466edac
HAQ
58522018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5853
5854 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5855
4ee9b0c5
SL
58562018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5857
5858 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5859 no readline.
5860 * gdb.base/utf8-identifiers.exp: Likewise.
5861 * gdb.cp/cpcompletion.exp: Likewise.
5862 * gdb.linespec/cpcompletion.exp: Likewise.
5863 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5864 * gdb.linespec/cpls-ops.exp: Likewise.
5865
23be8da7
RB
58662018-09-19 Richard Bunt <richard.bunt@arm.com>
5867 Chris January <chris.january@arm.com>
5868
5869 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5870 * gdb.fortran/short-circuit-argument-list.exp: New file.
5871 * gdb.fortran/short-circuit-argument-list.f90: New test.
5872
5031d0ae
SDJ
58732018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5874
5875 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5876 "arch=" keyword when executing "-stack-list-frames".
5877
b4c0d1a4
SDJ
58782018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5879
5880 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5881 "arch=" keyword when executing "-stack-list-frames".
5882
7a6d2b45
SDJ
58832018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5884
5885 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5886 break ada".
5887
8588b356
SM
58882018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5889
5890 PR python/23669
5891 * gdb.python/python.exp: Test gdb.execute("show commands").
5892
65e65158
TT
58932018-09-16 Tom Tromey <tom@tromey.com>
5894
5895 * gdb.base/new-ui.exp (do_execution_tests): Update.
5896 * gdb.base/dbx.exp (test_breakpoints): Update.
5897
bf326452
AH
58982018-09-14 Alan Hayward <alan.hayward@arm.com>
5899
5900 * lib/gdb.exp (gdb_simple_compile): Add proc.
5901 (is_elf_target): Use gdb_simple_compile.
5902 (skip_altivec_tests): Likewise.
5903 (skip_vsx_tests): Likewise.
5904 (skip_tsx_tests): Likewise.
5905 (skip_btrace_tests): Likewise.
5906 (skip_btrace_pt_tests): Likewise.
5907 (gdb_can_simple_compile): Likewise.
5908 (gdb_has_argv0): Likewise.
5909 (gdb_target_symbol_prefix): Likewise.
5910 (target_supports_scheduler_locking): Likewise.
5911
2361b0fb
TT
59122018-09-13 Tom Tromey <tom@tromey.com>
5913
5914 * Makefile.in (TAGS): Recognize proc_with_prefix and
5915 gdb_caching_proc.
5916
0ae1a321
SM
59172018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5918
5919 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5920 method.
5921
a40bf0c2
SM
59222018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5923
5924 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5925 and a few other Inferior properties when the Inferior is no
5926 longer valid.
5927
4a3fe98f
TT
59282018-09-13 Tom Tromey <tom@tromey.com>
5929
5930 PR rust/23650:
5931 * gdb.rust/simple.exp: Add test for enum field access error.
5932
098b2108
TT
59332018-09-13 Tom Tromey <tom@tromey.com>
5934
5935 PR rust/23626:
5936 * gdb.rust/simple.rs (EmptyEnum): New type.
5937 (main): Use it.
5938 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5939
1256af7d
SM
59402018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5941
5942 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5943 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5944 * gdb.python/py-symtab.exp: Update test printing an objfile.
5945
4aa8e6c2
SM
59462018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5947
5948 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5949 object.
5950
c221b2f7
AH
59512018-09-12 Alan Hayward <alan.hayward@arm.com>
5952
5953 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5954 (support_complex_tests): Use gdb_can_simple_compile.
5955 (is_ilp32_target): Likewise.
5956 (is_lp64_target): Likewise.
5957 (is_64_target): Likewise.
5958 (is_amd64_regs_target): Likewise.
5959 (is_aarch32_target): Likewise.
5960 (gdb_int128_helper): Likewise.
5961
6f1107b5
JK
59622018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5963
5964 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5965
1f5d1570
JG
59662018-09-10 Jerome Guitton <guitton@adacore.com>
5967
5968 * gdb.ada/same_component_name: Add test for case of tagged record
5969 with variable-length fields.
5970
cc330e39
XR
59712018-09-10 Xavier Roirand <roirand@adacore.com>
5972
5973 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5974 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5975 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5976 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5977
b9c50e9a
XR
59782018-09-10 Xavier Roirand <roirand@adacore.com>
5979
5980 * gdb.ada/mi_string_access.exp: New testcase.
5981 * gdb.ada/mi_string_access/bar.adb: New file.
5982 * gdb.ada/mi_string_access/pck.adb: New file.
5983 * gdb.ada/mi_string_access/pck.asd: New file.
5984
2963898f
XR
59852018-09-10 Xavier Roirand <roirand@adacore.com>
5986
5987 * gdb.ada/mi_var_union.exp: New testcase.
5988 * gdb.ada/mi_var_union/bar.adb: New file.
5989 * gdb.ada/mi_var_union/pck.adb: New file.
5990 * gdb.ada/mi_var_union/pck.asd: New file.
5991
1aac008f
TT
59922018-09-08 Tom Tromey <tom@tromey.com>
5993
5994 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5995
332cf4c9
TT
59962018-09-08 Tom Tromey <tom@tromey.com>
5997
5998 PR python/16047:
5999 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6000 (register_pretty_printers): Register new printer.
6001 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6002 test.
6003 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6004 (an_int_type3): New global.
6005
424da6cf
JB
60062018-09-08 Joel Brobecker <brobecker@adacore.com>
6007
6008 * gdb.ada/expr_with_funcall: New testcase.
6009
2a62dfa9
JB
60102018-09-08 Joel Brobecker <brobecker@adacore.com>
6011
6012 * gdb.ada/packed_array_assign: New testcase.
6013
96b6697f
AB
60142018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6015
6016 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6017 names, and add test prefixes to make test names unique.
6018
e4a62c65
TV
60192018-09-05 Tom de Vries <tdevries@suse.de>
6020
6021 * gdb.dwarf2/varval.exp: Add test.
6022
dd083ee2
GB
60232018-09-04 Gary Benson <gbenson@redhat.com>
6024
6025 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6026 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6027
aef9346c
TT
60282018-08-31 Tom Tromey <tom@tromey.com>
6029
6030 * gdb.rust/simple.rs: Rename second variable "v".
6031
c67f2e15
AB
60322018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6033
6034 * gdb.base/funcargs.c (use_a): New function.
6035 (recurse): Call use_a.
6036
078a0207
KS
60372018-08-29 Keith Seitz <keiths@redhat.com>
6038
6039 * gdb.compile/compile-cplus-anonymous.cc: New file.
6040 * gdb.compile/compile-cplus-anonymous.exp: New file.
6041 * gdb.compile/compile-cplus-array-decay.cc: New file.
6042 * gdb.compile/compile-cplus-array-decay.exp: New file.
6043 * gdb.compile/compile-cplus-inherit.cc: New file.
6044 * gdb.compile/compile-cplus-inherit.exp: New file.
6045 * gdb.compile/compile-cplus-member.cc: New file.
6046 * gdb.compile/compile-cplus-member.exp: New file.
6047 * gdb.compile/compile-cplus-method.cc: New file.
6048 * gdb.compile/compile-cplus-method.exp: New file.
6049 * gdb.compile/compile-cplus-mod.c: "New" file.
6050 * gdb.compile/compile-cplus-namespace.cc: New file.
6051 * gdb.compile/compile-cplus-namespace.exp: New file.
6052 * gdb.compile/compile-cplus-nested.cc: New file.
6053 * gdb.compile/compile-cplus-nested.exp: New file.
6054 * gdb.compile/compile-cplus-print.c: "New" file.
6055 * gdb.compile/compile-cplus-print.exp: "New" file.
6056 * gdb.compile/compile-cplus-virtual.cc: New file.
6057 * gdb.compile/compile-cplus-virtual.exp: New file.
6058 * gdb.compile/compile-cplus.c: "New" file.
6059 * gdb.compile/compile-cplus.exp: "New" file.
6060 * lib/compile-support.exp: New file.
6061
b0f492b9
GB
60622018-08-16 Gary Benson <gbenson@redhat.com>
6063
6064 PR gdb/13000:
6065 * gdb.base/batch-exit-status.exp: New file.
6066 * gdb.base/batch-exit-status.good-commands: Likewise.
6067 * gdb.base/batch-exit-status.bad-commands: Likewise.
6068
36eb4c5f
AH
60692018-08-29 Alan Hayward <alan.hayward@arm.com>
6070
6071 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6072 (struct struct02): Likewise.
6073 (struct struct03): Likewise.
6074 (struct struct04): Likewise.
6075 (struct struct_01_01): New struct.
6076 (struct struct_01_02): Likewise.
6077 (struct struct_01_03): Likewise.
6078 (struct struct_01_04): Likewise.
6079 (struct struct_02_01): Likewise.
6080 (struct struct_02_02): Likewise.
6081 (struct struct_02_03): Likewise.
6082 (struct struct_02_04): Likewise.
6083 (struct struct_04_01): Likewise.
6084 (struct struct_04_02): Likewise.
6085 (struct struct_04_03): Likewise.
6086 (struct struct_04_04): Likewise.
6087 (struct struct_05_01): Likewise.
6088 (struct struct_05_02): Likewise.
6089 (struct struct_05_03): Likewise.
6090 (struct struct_05_04): Likewise.
6091 (cmp_struct01): Remove function.
6092 (cmp_struct02): Likewise.
6093 (cmp_struct03): Likewise.
6094 (cmp_struct04): Likewise.
6095 (cmp_struct_01_01): Add Function.
6096 (cmp_struct_01_02): Likewise.
6097 (cmp_struct_01_03): Likewise.
6098 (cmp_struct_01_04): Likewise.
6099 (cmp_struct_02_01): Likewise.
6100 (cmp_struct_02_02): Likewise.
6101 (cmp_struct_02_03): Likewise.
6102 (cmp_struct_02_04): Likewise.
6103 (cmp_struct_04_01): Likewise.
6104 (cmp_struct_04_02): Likewise.
6105 (cmp_struct_04_03): Likewise.
6106 (cmp_struct_04_04): Likewise.
6107 (cmp_struct_05_01): Likewise.
6108 (cmp_struct_05_02): Likewise.
6109 (cmp_struct_05_03): Likewise.
6110 (cmp_struct_05_04): Likewise.
6111 (call_all): Add new structs.
6112 * gdb.base/infcall-nested-structs.exp: Likewise.
6113
3bf9c013
JV
61142018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6115
6116 * gdb.python/py-framefilter-mi.exp: Update regexp to
6117 check for "arch" field in frame output.
6118
450d1e88
KB
61192018-08-23 Kevin Buettner <kevinb@redhat.com>
6120
6121 * gdb.dwarf2/dw2-ranges-func.c: New file.
6122 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6123
ae739fe7
SM
61242018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6125
6126 * gdb.base/term.exp: Compare terminal settings with values from
6127 the inferior.
6128 * gdb.base/term.c: Get and set terminal settings.
6129
6d52907e
JV
61302018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6131
6132 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6133 accommodate new "arch" field in frame output.
6134 * gdb.mi/mi-return.exp: Likewise.
6135 * gdb.mi/mi-stack.exp: Likewise.
6136 * gdb.mi/mi-syn-frame.exp: Likewise.
6137 * gdb.mi/user-selected-context-sync.exp: Likewise.
6138
be2d111a
MS
61392018-08-19 Michael Spang <spang@google.com>
6140
6141 PR gdb/11786
6142 * gdb.base/gcore-tls-pie.c: New file.
6143 * gdb.base/gcore-tls-pie.exp: New file.
6144
ae3a7c47
KB
61452018-08-18 Kevin Buettner <kevinb@redhat.com>
6146
6147 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
6148 * gdb.dwarf2/varval.c: New file.
6149 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 6150
2ecae92e
AH
61512018-08-17 Alan Hayward <alan.hayward@arm.com>
6152
6153 PR gdb/18931
6154 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6155
c1854f1d
KS
61562018-08-16 Keith Seitz <keiths@redhat.com>
6157
6158 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6159 tests expected to pass.
6160
26fb3983
JV
61612018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6162
6163 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6164 -data-disassemble -a.
6165 (test_disassembly_bogus_args): Likewise.
6166
67943c00
AB
61672018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6168
6169 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6170
5ff2bbae
AB
61712018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6172
6173 * gdb.base/vla-optimized-out.exp: Add new test.
6174
e5bbcd0f
AB
61752018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6176
6177 * gdb.base/vla-optimized-out-o3.exp: Delete.
6178 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6179 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6180 deleted tests.
6181
9d4a934c
AB
61822018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6183
6184 PR gdb/18050:
6185 * gdb.server/extended-remote-restart.c: New file.
6186 * gdb.server/extended-remote-restart.exp: New file.
6187
045cf012
SM
61882018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6189
6190 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6191 "set variable index = 42".
6192
87d6a7aa
SM
61932018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6194
6195 * boards/index-cache-gdb.exp: New file.
6196 * gdb.dwarf2/index-cache.exp: New file.
6197 * gdb.dwarf2/index-cache.c: New file.
6198 * gdb.base/maint.exp: Check if we are using the index cache.
6199
96d68bd4
RO
62002018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6201
6202 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6203 MAKEFLAGS.
6204
5a699617
RO
62052018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6206
6207 * dg-extract-results.sh: Move to toplevel contrib.
6208 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6209 * Makefile.in (check-parallel-racy): Likewise.
6210
5bd18990
AB
62112018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6212
6213 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6214 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6215 tests if the target supports scheduler locking.
6216
3fbbcf47
TV
62172018-08-04 Tom de Vries <tdevries@suse.de>
6218
6219 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6220
3e1d3d8c
TT
62212018-08-02 Tom Tromey <tom@tromey.com>
6222
6223 PR symtab/16842.
6224 * gdb.cp/temargs.exp: Test "info address" of a template
6225 parameter.
6226
5abe0f0c
JV
62272018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6228
6229 * gdb.python/py-mi-var-info-path-expression.c: New file.
6230 * gdb.python/py-mi-var-info-path-expression.py: New file.
6231 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6232
fb66cde8
SDJ
62332018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6234
6235 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6236 error after "cannot resolve name" string.
6237
c708f4d2
AB
62382018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6239
6240 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6241 started.
6242 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6243
37cc0cae
TV
62442018-07-28 Tom de Vries <tdevries@suse.de>
6245
6246 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6247
63b4ecf7
TV
62482018-07-26 Tom de Vries <tdevries@suse.de>
6249
6250 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6251
3c3bb058
AB
62522018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6253
6254 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6255 is visible.
6256
9e7f3bbb
TV
62572018-07-26 Tom de Vries <tdevries@suse.de>
6258
6259 PR breakpoints/23366
6260 * gdb.base/catch-follow-exec.c: New test.
6261 * gdb.base/catch-follow-exec.exp: New file.
6262
16f808ec
TV
62632018-07-25 Tom de Vries <tdevries@suse.de>
6264
6265 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6266 vla-optimized-out.c.
6267
d7154a8d
JV
62682018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6269
6270 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6271 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6272
232a0032
TV
62732018-07-20 Tom de Vries <tdevries@suse.de>
6274
6275 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6276 NOCLONE macro.
6277 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6278
fbb1d502
TV
62792018-07-19 Tom de Vries <tdevries@suse.de>
6280
6281 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6282 regular expression.
6283
42dc7699
TV
62842018-07-18 Tom de Vries <tdevries@suse.de>
6285
6286 * gdb.base/vla-optimized-out.c: New test.
6287 * gdb.base/vla-optimized-out.exp: New file.
6288
7f1f7e23
SDJ
62892018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6290
6291 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6292 message "No address associated with hostname" when gdbserver
6293 cannot resolve the hostname.
6294
5759ebb3
PW
62952018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6296
6297 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6298 Add some test prefixes to make tests unique.
6299
3606ccab
PW
63002018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6301
6302 * gdb.base/frameapply.c: New file.
6303 * gdb.base/frameapply.exp: New file.
6304
529c08b2
PW
63052018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6306
6307 * gdb.base/skip.exp: Update expected error message.
6308
c7ab0aef
SDJ
63092018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6310 Jan Kratochvil <jan.kratochvil@redhat.com>
6311 Paul Fertser <fercerpav@gmail.com>
6312 Tsutomu Seki <sekiriki@gmail.com>
6313
6314 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6315 parameter.
6316 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6317 by default.
6318 * boards/native-gdbserver.exp: Likewise.
6319 * gdb.server/run-without-local-binary.exp: Improve regexp used
6320 for detecting when a remote debugging connection succeeds.
6321 * gdb.server/server-connect.exp: New file.
6322 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6323 Do not prefix the port number with ":".
6324 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6325 support for detecting and using it. Add '$debughost_gdbserver'
6326 to the list of arguments used to start gdbserver. Handle case
6327 when gdbserver cannot resolve a network name.
6328
16ff70dd
SDJ
63292018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6330
6331 PR c++/23373
6332 * gdb.base/ptype-offsets.cc (struct static_member): New
6333 struct.
6334 (main) <stmember>: New variable.
6335 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6336 with a static member in it.
6337
3541979f
AB
63382018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6339
6340 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6341 watchpoints enabled and disabled.
6342
c8ad9b9a
AB
63432018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6344
6345 * gdb.base/examine-backward.exp: Still run tests around address
6346 0x0, even if address 0x0 is not readable. Update the pattern for
6347 matching address 0x0 in expected output.
6348
e0e5e971
AB
63492018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6350
6351 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6352 malloc/free.
6353
1ea5da02
TV
63542018-07-04 Tom de Vries <tdevries@suse.de>
6355
6356 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6357
471b9d15
MR
63582018-07-02 Maciej W. Rozycki <macro@mips.com>
6359
6360 PR tdep/8282
6361 * gdb.arch/mips-disassembler-options.exp: New test.
6362 * gdb.arch/mips-disassembler-options.s: New test source.
6363
75acb486
PA
63642018-06-29 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.threads/names.exp: Adjust expected "info threads" output.
6367
cd2bb709
PA
63682018-06-29 Pedro Alves <palves@redhat.com>
6369
6370 * gdb.opt/inline-break.exp (line number, address): Add "info
6371 break" tests.
6372
991ff292
PA
63732018-06-29 Pedro Alves <palves@redhat.com>
6374
6375 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6376 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6377 number and address and running to them.
6378
356819b6 63792018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
6380
6381 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6382
2512d7ef
JK
63832018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6384
6385 * lib/compiler.c: Remove executable permission flag.
6386
be1b6474
RB
63872018-06-28 Richard Bunt <richard.bunt@arm.com>
6388
6389 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6390 code.
6391 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6392
291f9a96
PT
63932018-06-28 Petr Tesarik <ptesarik@suse.cz>
6394
6395 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6396
ed6dfe51
PT
63972018-06-28 Petr Tesarik <ptesarik@suse.cz>
6398
6399 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6400 address argument is omitted.
6401
d4d429d5
PT
64022018-06-28 Petr Tesarik <ptesarik@suse.cz>
6403
6404 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6405
7ab6656f
OJ
64062018-06-27 Omair Javaid <omair.javaid@linaro.org>
6407
6408 PR gdb/21695
6409 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6410 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6411
a33ccfc7
TT
64122018-06-26 Tom Tromey <tom@tromey.com>
6413
6414 PR rust/22574:
6415 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6416 * gdb.rust/simple.rs (struct SimpleLayout): New.
6417
6d72d289
SM
64182018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6419
6420 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6421 "info registers" output.
6422
8363f9d5
RB
64232018-06-21 Richard Bunt <richard.bunt@arm.com>
6424
6425 * gdb.base/watchpoint-hw-attach.c: New test.
6426 * gdb.base/watchpoint-hw-attach.exp: New file.
6427
f00674fe
SM
64282018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6429
6430 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6431 through /bin/sh.
6432 * boards/dwarf4-gdb-index.exp: Likewise.
6433 * boards/fission-dwp.exp: Likewise.
6434
1d554008
UW
64352018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6436
6437 * gdb.base/float128.exp: Add comment and improved fail message
6438 to the failure case of "print large128" test.
6439
d0ac1c44
SM
64402018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6441
6442 * configure.ac: Remove AC_PREREQ.
6443 * configure: Re-generate.
6444
61b04dd0
PA
64452018-06-19 Pedro Alves <palves@redhat.com>
6446
6447 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6448 (func_extern_caller): New.
6449 (main): Call func_extern_caller.
6450 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6451 logic change.
6452
f63b508a
SM
64532018-06-18 Weimin Pan <weimin.pan@oracle.com>
6454
6455 PR gdb/16841
6456 * gdb.cp/typedef-base.cc: New file.
6457 * gdb.cp/typedef-base.exp: New file.
6458
0fe3a558
TV
64592018-06-18 Tom de Vries <tdevries@suse.de>
6460
6461 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6462
7010835a
AB
64632018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6464 Richard Bunt <Richard.Bunt@arm.com>
6465
6466 * gdb.threads/attach-slow-waitpid.c: New file.
6467 * gdb.threads/attach-slow-waitpid.exp: New file.
6468 * gdb.threads/slow-waitpid.c: New file.
6469
14897d65
PA
64702018-06-14 Pedro Alves <palves@redhat.com>
6471
6472 * gdb.base/fork-running-state.c: Include <errno.h>.
6473 (exit_if_relative_exits): New.
6474 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6475 exits.
6476 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6477 child exits.
6478
5d9a0608
TV
64792018-06-14 Tom de Vries <tdevries@suse.de>
6480
6481 PR cli/22573
6482 * gdb.base/finish-pretty.c: New test.
6483 * gdb.base/finish-pretty.exp: New file.
6484
11ae5818
PA
64852018-06-14 Pedro Alves <palves@redhat.com>
6486
6487 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6488 gdb's expected startup output.
6489
1d39de44
PA
64902018-06-14 Pedro Alves <palves@redhat.com>
6491
6492 * lib/selftest-support.exp (selftest_setup): Remove inlined
6493 function handling.
6494
70ee0000
TV
64952018-06-14 Tom de Vries <tdevries@suse.de>
6496
6497 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6498 matching of breakpoint printing.
6499
11f4b608
TV
65002018-06-13 Tom de Vries <tdevries@suse.de>
6501
6502 PR testsuite/23269
6503 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6504 (fork_child): ... here, and ...
6505 (fork_parent): ... here.
6506
65072018-06-12 Tom de Vries <tdevries@suse.de>
6508
6509 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6510
9516f85a
AB
65112018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6512 Stephen Roberts <stephen.roberts@arm.com>
6513
6514 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6515 rewrite test to describe action performed, rather than possible
6516 failure.
6517
5045b3d7
GB
65182018-06-08 Gary Benson <gbenson@redhat.com>
6519
6520 * gdb.threads/check-libthread-db.exp: New file.
6521 * gdb.threads/check-libthread-db.c: Likewise.
6522
c61b06a1
TT
65232018-06-05 Tom Tromey <tom@tromey.com>
6524
6525 * gdb.base/default.exp: Update expected "show version" output.
6526
eb6af809
TT
65272018-06-05 Tom Tromey <tom@tromey.com>
6528
6529 PR cli/12326:
6530 * gdb.cp/static-print-quit.exp: Update.
6531 * lib/gdb.exp (pagination_prompt): Update.
6532 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6533 * gdb.python/python.exp: Update.
6534
178d6a63
JB
65352018-06-04 Joel Brobecker <brobecker@adacore.com>
6536
6537 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6538
8e817061
JB
65392018-06-01 Joel Brobecker <brobecker@adacore.com>
6540
6541 * gdb.ada/bp_fun_addr: New testcase.
6542
e86ca25f
TT
65432018-06-01 Tom Tromey <tom@tromey.com>
6544
6545 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6546 results.
6547 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6548 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6549 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6550 * gdb.base/maint.exp (maint_pass_if): Update.
6551
4b2dfa9d
MR
65522018-05-31 Maciej W. Rozycki <macro@mips.com>
6553
6554 * gdb.base/endian.exp: New test.
6555 * gdb.base/endian.c: New test source.
6556
45f25d6c
AB
65572018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6558
6559 PR gdb/23203
6560 * gdb.base/bt-selected-frame.c: New file.
6561 * gdb.base/bt-selected-frame.exp: New file.
6562 * lib/gdb.exp (get_current_frame_number): New function.
6563
d9f6d7f8
MR
65642018-05-24 Maciej W. Rozycki <macro@mips.com>
6565 Pedro Alves <palves@redhat.com>
6566
6567 * gdb.threads/tls-core.c: Include <stdlib.h>
6568 (thread_proc): Call `abort'.
6569 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6570 (tls_core_test): New procedure, bits factored out from ...
6571 (top level): ... here. Test both native cores and gcore cores.
6572
ff1cf532
TT
65732018-05-23 Tom Tromey <tom@tromey.com>
6574
6575 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6576
b98664d3
TT
65772018-05-23 Tom Tromey <tom@tromey.com>
6578
6579 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6580 symfile_complaints.
6581 (test_short_complaints): Likewise.
6582 (test_empty_complaints): Likewise.
6583 (test_initial_complaints): Update.
6584
4e9668d0
TT
65852018-05-23 Tom Tromey <tom@tromey.com>
6586
6587 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6588
43ba33c7
TT
65892018-05-23 Tom Tromey <tom@tromey.com>
6590
6591 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6592 (test_short_complaints): Update.
6593
035522c0
PA
65942018-05-22 Pedro Alves <palves@redhat.com>
6595
6596 * gdb.base/remote.exp: Only gdb_start after compiling the
6597 testcase. Issue "disconnect" before testing "set remote" command
6598 defaults. Issue clean_restart before running to main.
6599
cc0be08f
PA
66002018-05-22 Pedro Alves <palves@redhat.com>
6601
6602 * gdb.base/remote.exp: Adjust expected output of "show remote
6603 memory-write-packet-size". Add tests for "set remote
6604 memory-write-packet-size 0" and "set remote
6605 memory-write-packet-size fixed/limit".
6606
b1b60145
PA
66072018-05-22 Pedro Alves <palves@redhat.com>
6608
6609 PR gdb/22973
6610 * gdb.base/utf8-identifiers.c: New file.
6611 * gdb.base/utf8-identifiers.exp: New file.
6612
0ec848ad
PFC
66132018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6614
6615 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6616
2c3305f6
PFC
66172018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6618
6619 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6620
ce1e8424
TT
66212018-05-18 Tom Tromey <tom@tromey.com>
6622
6623 * gdb.base/ptype-offsets.exp: Update.
6624
ddfe970e
KS
66252018-05-17 Keith Seitz <keiths@redhat.com>
6626
6627 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6628 in expected breakpoint stop locations.
6629 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6630 move to proper scope to test variable values.
6631 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6632 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6633 New functions.
6634 (main): Call not_inline_func3.
6635 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6636 inline_func1, inline_func2, and inline_func3. Test that when each
6637 breakpoint is hit, GDB properly reports both the stop location
6638 and the backtrace. Repeat tests for temporary breakpoints.
6639
0726fcc6
MR
66402018-05-15 Maciej W. Rozycki <macro@mips.com>
6641
6642 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6643 rather then trying to access it in determining whether the PID
6644 of `gdbserver' could have been retrieved.
6645
8ee22052
AB
66462018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6647
6648 * gdb.arch/amd64-init-x87-values.S: New file.
6649 * gdb.arch/amd64-init-x87-values.exp: New file.
6650
7785df48
JK
66512018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6652
6653 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6654
56bcdbea
TT
66552018-05-04 Tom Tromey <tom@tromey.com>
6656
6657 PR python/22730:
6658 * gdb.python/python.exp: Test multi-line execute.
6659
a913fffb
TT
66602018-05-04 Tom Tromey <tom@tromey.com>
6661
6662 PR python/22731:
6663 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6664
7a2c85f2
TT
66652018-05-04 Tom Tromey <tom@tromey.com>
6666
6667 PR gdb/11750:
6668 * gdb.base/define.exp: Test defining a user command inside a user
6669 command.
6670 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6671
a3b60e45
JK
66722018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6673 Pedro Alves <palves@redhat.com>
6674
6675 PR breakpoints/19806 and support for PR external/20207.
6676 * gdb.base/watchpoint-unaligned.c: New file.
6677 * gdb.base/watchpoint-unaligned.exp: New file.
6678
45fe4a03
AB
66792018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6680
6681 * gdb.base/maint.exp: Make test names unique, use
6682 test_prefix_command_help to test 'help maint info', and remove
6683 repeated test of 'help maint'.
6684
9be2ae8f
TT
66852018-05-04 Tom Tromey <tom@tromey.com>
6686
6687 PR gdb/22619:
6688 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6689 behavior.
6690
11859c31
AB
66912018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6692
6693 * gdb.base/maint.exp: Process output from 'maint print registers'
6694 line at a time.
6695
089a9490
AB
66962018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6697
6698 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6699 timeout.
6700
9b0797e2
AB
67012018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6702
6703 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6704 filter pattern.
6705
f6ac5f3d
PA
67062018-05-02 Pedro Alves <palves@redhat.com>
6707
6708 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6709 to_log_command renames.
6710 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6711
77d3c63b
TT
67122018-05-02 Tom Tromey <tom@tromey.com>
6713
6714 * gdb.python/py-parameter.exp: Set test message.
6715
0489430a
TT
67162018-05-02 Tom Tromey <tom@tromey.com>
6717
6718 PR python/20084:
6719 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6720 PARAM_ZUINTEGER_UNLIMITED tests.
6721
1632f8ba
DR
67222018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6723
6724 PR rust/23124
6725 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6726 when casting.
6727
6d7bb824
TT
67282018-04-30 Tom Tromey <tom@tromey.com>
6729
6730 * gdb.python/py-type.exp: Check align attribute.
6731 * gdb.python/py-type.c: New "aligncheck" global.
6732
007e1530
TT
67332018-04-30 Tom Tromey <tom@tromey.com>
6734
6735 PR exp/17095:
6736 * gdb.dwarf2/dw2-align.exp: New file.
6737 * gdb.cp/align.exp: New file.
6738 * gdb.base/align.exp: New file.
6739 * lib/gdb.exp (gdb_int128_helper): New proc.
6740 (has_int128_c, has_int128_cxx): New caching procs.
6741
6873858b
TT
67422018-04-27 Tom Tromey <tom@tromey.com>
6743
6744 PR rust/22545:
6745 * gdb.rust/simple.exp: Add inclusive range tests.
6746
79188d8d
PA
67472018-04-26 Pedro Alves <palves@redhat.com>
6748
6749 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6750 ifunc breakpoint locations correctly of ifunc breakpoints set
6751 while the program resolves the ifunc.
6752
c7075ad5
PA
67532018-04-26 Pedro Alves <palves@redhat.com>
6754
6755 * gdb.base/gnu-ifunc-final.c: New file.
6756 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6757 * gdb.base/gnu-ifunc.exp (executable): Delete.
6758 (staticexecutable): Adjust.
6759 (lib_opts, exec_opts): Delete.
6760 (make_binsuffix, build, set-break): New procedures.
6761 (misc_tests): New, with tests factored out from the top level.
6762 (top level): Test different combinations of ifunc resolver name,
6763 resolver with and with debug info, and ifunc target with and
6764 without debug info. Wrap static tests with with_target_prefix.
6765
8388016d
PA
67662018-04-26 Pedro Alves <palves@redhat.com>
6767
6768 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6769 return type" warnings.
6770
249b5733
PA
67712018-04-25 Pedro Alves <palves@redhat.com>
6772
6773 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6774 killed".
6775 * gdb.base/kill-after-signal.exp: Likewise.
6776 * gdb.threads/kill.exp: Likewise.
6777
f67c0c91
SDJ
67782018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6779 Sergio Durigan Junior <sergiodj@redhat.com>
6780 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6783 regexps to expect for '[Inferior ... detached]' as well.
6784 * gdb.base/attach.exp: Likewise.
6785 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6786 "gdb_continue_to_end".
6787 (test_catch_syscall_with_wrong_args): Likewise.
6788 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6789 ']'. Don't set 'verbose' on.
6790 * gdb.base/foll-vfork.exp: Likewise.
6791 * gdb.base/fork-print-inferior-events.c: New file.
6792 * gdb.base/fork-print-inferior-events.exp: New file.
6793 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6794 '[Inferior ... has been killed]' message.
6795 * gdb.base/kill-after-signal.exp: Likewise.
6796 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6797 detach message.
6798 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6799 message.
6800 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6801 regexps to expect for '[Inferior ... detached]' as well.
6802 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6803
0a8ddac4
SM
68042018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6805
6806 PR gdb/23104
6807 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6808
701adfb0
PA
68092018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6810
6811 PR gdb/23095
6812 * gdb.base/break-probes.exp: Pass shlib_load to
6813 prepare_for_testing. Set normal_bp to r_debug_state if target is
6814 bsd.
6815
d27d16bf
RB
68162018-04-19 Richard Bunt <richard.bunt@arm.com>
6817
6818 * gdb.threads/multiple-successive-infcall.c: New test.
6819 * gdb.threads/multiple-successive-infcall.exp: New file.
6820
a037790e
TT
68212018-04-17 Tom Tromey <tom@tromey.com>
6822
6823 * gdb.rust/simple.rs (Union): New type.
6824 (main): New local "u".
6825 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6826
e3a91079
AA
68272018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6828
6829 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6830 number information in output of "whereis" command.
6831 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6832
b744723f
AA
68332018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6834
6835 * gdb.ada/info_types.exp: Adjust expected output to the line
6836 numbers now printed by "info var/func/type".
6837 * gdb.base/completion.exp: Likewise.
6838 * gdb.base/included.exp: Likewise.
6839 * gdb.cp/cp-relocate.exp: Likewise.
6840 * gdb.cp/cplusfuncs.exp: Likewise.
6841 * gdb.cp/namespace.exp: Likewise.
6842 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6843
4a4495d6
MM
68442018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6845
6846 * gdb.btrace/cpu.exp: New.
6847
1d509aa6
MM
68482018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6849
6850 * gdb.base/step-indirect-call-thunk.exp: New.
6851 * gdb.base/step-indirect-call-thunk.c: New.
6852 * gdb.reverse/step-indirect-call-thunk.exp: New.
6853 * gdb.reverse/step-indirect-call-thunk.c: New.
6854
6295b6da
SM
68552018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6856
6857 * gdb.base/pie-fork.c: New file.
6858 * gdb.base/pie-fork.exp: New file.
6859
50146e70
TT
68602018-04-11 Tom Tromey <tom@tromey.com>
6861
6862 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6863
f50d8a2e
PA
68642018-04-10 Pedro Alves <palves@redhat.com>
6865
6866 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6867 exits. Instead loop running forever.
6868 (fork_parent): Run forever too.
6869
a0be7a36
SM
68702018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6871
6872 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6873 mi_continue_to_line.
6874 * gdb.mi/mi-stack.c (callee4): Add comment.
6875
9b73db36
SM
68762018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6877
6878 * gdb.mi/mi-stack.exp: Fix indentation.
6879
c912f608
SM
68802018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6881
6882 PR gdb/22979
6883 * gdb.arch/amd64-osabi.exp: New file.
6884
26540402
SM
68852018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6886
6887 PR gdb/22980
6888 * gdb.base/osabi.exp: New file.
6889
121ad66c 68902018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
6891
6892 * gdb.cp/static-typedef-print.exp: New file.
6893 * gdb.cp/static-typedef-print.cc: New file.
6894
3fcded8f
JB
68952018-03-27 Joel Brobecker <brobecker@adacore.com>
6896
6897 * gdb.ada/varsize_limit: New testcase.
6898
59cc4834
JB
68992018-03-27 Joel Brobecker <brobecker@adacore.com>
6900
6901 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6902
6903 * gdb.ada/notcplusplus: New testcase.
6904
6905 * gdb.base/c-linkage-name.c: New file.
6906 * gdb.base/c-linkage-name.exp: New testcase.
6907
4ca59a9f
TT
69082018-03-26 Tom Tromey <tom@tromey.com>
6909
6910 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6911 * gdb.python/py-framefilter.py (name_error): New global.
6912 (ErrorInName.function): Use name_error.
6913
978d6c75
TT
69142018-03-26 Tom Tromey <tom@tromey.com>
6915
6916 PR backtrace/15582:
6917 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6918
b7fee5a3
KS
69192018-03-23 Keith Seitz <keiths@redhat.com>
6920
6921 PR c++/22968
6922 * gdb.cp/subtypes.exp: New file.
6923 * gdb.cp/subtypes.h: New file.
6924 * gdb.cp/subtypes.cc: New file.
6925 * gdb.cp/subtypes-2.cc: New file.
6926
376be529
AB
69272018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6928
6929 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6930 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6931 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6932 -nostartfiles when compiling the test. Confirm that all registers
6933 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6934
066cfa98
AB
69352018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6936
6937 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6938 option, syntax was wrong anyway.
6939 * gdb.arch/arm-disp-step.exp: Likewise.
6940 * gdb.arch/sparc64-regs.exp: Likewise.
6941 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6942 option, syntax was wrong anyway, switch to use
6943 prepare_for_testing.
6944 * gdb.arch/i386-disp-step.exp: Likewise.
6945
079670b9
AA
69462018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6947
6948 * gdb.ada/exec_changed.exp: Replace "target_info exists
6949 use_gdb_stub" by "use_gdb_stub".
6950 * gdb.ada/start.exp: Likewise.
6951 * gdb.base/async-shell.exp: Likewise.
6952 * gdb.base/attach-pie-misread.exp: Likewise.
6953 * gdb.base/attach-wait-input.exp: Likewise.
6954 * gdb.base/break-entry.exp: Likewise.
6955 * gdb.base/break-interp.exp: Likewise.
6956 * gdb.base/dprintf-detach.exp: Likewise.
6957 * gdb.base/nostdlib.exp: Likewise.
6958 * gdb.base/solib-nodir.exp: Likewise.
6959 * gdb.base/statistics.exp: Likewise.
6960 * gdb.base/testenv.exp: Likewise.
6961 * gdb.mi/mi-exec-run.exp: Likewise.
6962 * gdb.mi/mi-start.exp: Likewise.
6963 * gdb.multi/dummy-frame-restore.exp: Likewise.
6964 * gdb.multi/multi-arch-exec.exp: Likewise.
6965 * gdb.multi/multi-arch.exp: Likewise.
6966 * gdb.multi/tids.exp: Likewise.
6967 * gdb.multi/watchpoint-multi.exp: Likewise.
6968 * gdb.python/py-events.exp: Likewise.
6969 * gdb.threads/attach-into-signal.exp: Likewise.
6970 * gdb.threads/attach-stopped.exp: Likewise.
6971 * gdb.threads/threadapply.exp: Likewise.
6972 * lib/selftest-support.exp: Likewise.
6973
26d6cec4
AA
69742018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6975
6976 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6977
4ee89e90
SR
69782018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6979
6980 * gdb.perf/template-breakpoints.cc: New file.
6981 * gdb.perf/template-breakpoints.exp: New file.
6982 * gdb.perf/template-breakpoints.py: New file.
6983
92630041
TT
69842018-03-19 Tom Tromey <tom@tromey.com>
6985
6986 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6987 y0.
6988 * gdb.rust/simple.exp: Test bare identifier form of struct
6989 initializer.
6990
76727919
TT
69912018-03-19 Tom Tromey <tom@tromey.com>
6992
6993 * gdb.gdb/observer.exp: Remove.
6994
194ed413
AA
69952018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6996
6997 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6998 "qualified" option when setting breakpoints.
6999 * gdb.trace/backtrace.exp: Likewise.
7000 * gdb.trace/circ.exp: Likewise.
7001 * gdb.trace/collection.exp: Likewise.
7002 * gdb.trace/disconnected-tracing.exp: Likewise.
7003 * gdb.trace/ftrace-lock.exp: Likewise.
7004 * gdb.trace/ftrace.exp: Likewise.
7005 * gdb.trace/infotrace.exp: Likewise.
7006 * gdb.trace/packetlen.exp: Likewise.
7007 * gdb.trace/passc-dyn.exp: Likewise.
7008 * gdb.trace/qtro.exp: Likewise.
7009 * gdb.trace/read-memory.exp: Likewise.
7010 * gdb.trace/report.exp: Likewise.
7011 * gdb.trace/signal.exp: Likewise.
7012 * gdb.trace/status-stop.exp: Likewise.
7013 * gdb.trace/strace.exp: Likewise.
7014 * gdb.trace/tfind.exp: Likewise.
7015 * gdb.trace/trace-break.exp: Likewise.
7016 * gdb.trace/trace-condition.exp: Likewise.
7017 * gdb.trace/trace-mt.exp: Likewise.
7018 * gdb.trace/tstatus.exp: Likewise.
7019 * gdb.trace/tsv.exp: Likewise.
7020 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7021 * gdb.trace/unavailable.exp: Likewise.
7022 * gdb.trace/while-dyn.exp: Likewise.
7023
8b067d2c
AA
70242018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7025
7026 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7027 that libinproctrace is copied to the target.
7028
3ae9ce5d
TT
70292018-03-14 Tom Tromey <tom@tromey.com>
7030
7031 PR cli/14977:
7032 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7033 a null pointer.
7034 * gdb.base/wchar.exp: Likewise.
7035
b8c2339b
TT
70362018-03-14 Tom Tromey <tom@tromey.com>
7037
7038 PR cli/19918:
7039 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7040 flag.
7041
4872dc46
SM
70422018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7043
7044 PR gdb/22841
7045 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7046 "target" to remote_exec.
7047
e4fe3756
SM
70482018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7049
7050 PR gdb/22841
7051 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7052 ${board}_upload): Remove.
7053
e95a97d4
AA
70542018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7055
7056 * gdb.cp/watch-cp.cc: New test.
7057 * gdb.cp/watch-cp.exp: New file.
7058
dbbb1059
AB
70592018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7060
7061 * gdb.base/infcall-nested-structs.exp: New file.
7062 * gdb.base/infcall-nested-structs.c: New file.
7063 * gdb.base/float.exp: Add riscv support.
7064
ecc054c0
TP
70652018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7066
7067 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7068 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7069
25e3c82c
SDJ
70702018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7071
7072 * gdb.server/abspath.exp: New file.
7073 * lib/gdb.exp (with_cwd): New procedure.
7074
3083294d
SM
70752018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7076
7077 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7078 use it.
7079 (gdb_is_target_remote_prompt): New proc.
7080 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7081 (gdb_is_target_native): Pass prompt parameter to
7082 gdb_is_target_1.
7083
3275ef47
SM
70842018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7085
7086 * gdb.base/load-command.c: New file.
7087 * gdb.base/load-command.exp: New file.
7088 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7089 (gdb_is_target_1): ...this, and generalize for other targets
7090 than just remote.
7091 (gdb_is_target_remote): Use gdb_is_target_1.
7092 (gdb_is_target_native): use gdb_is_target_1.
7093
6893c19a
TT
70942018-02-26 Tom Tromey <tom@tromey.com>
7095
7096 PR python/16497:
7097 * gdb.python/py-framefilter.exp: Update test.
7098
2ddeaf8a
TT
70992018-02-26 Tom Tromey <tom@tromey.com>
7100
7101 * gdb.dwarf2/variant.c: New file.
7102 * gdb.dwarf2/variant.exp: New file.
7103
c9317f21
TT
71042018-02-26 Tom Tromey <tom@tromey.com>
7105
7106 * gdb.rust/simple.exp: Accept more possible results in enum test.
7107
6f6d0c26
SM
71082018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7109
7110 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7111 parentheses.
7112
11b03145
MR
71132018-02-23 Maciej W. Rozycki <macro@mips.com>
7114
7115 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7116 name of a variable: $actual_linejj -> $actual_line.
7117
54a27fe5
JB
71182018-02-21 John Baldwin <jhb@FreeBSD.org>
7119
7120 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7121
de65820c
MM
71222018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7123
7124 * gdb.btrace/buffer-size.exp: Do not force BTS.
7125
980548fd
PA
71262018-02-14 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7129 getting a "Quit".
7130
c4e12631
MM
71312018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7132
7133 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7134 Fix test name.
7135
c2e0e465
SM
71362018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7137
7138 * gdb.cp/m-static.exp: Check type of optimized out static
7139 member.
7140
f7216783
AB
71412018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7142
7143 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7144 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7145
0625771b
LS
71462018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7147 Leszek Swirski <leszeks@google.com>
7148
7149 * gdb.python/py-prettyprint.c
7150 (struct to_string_returns_value_inner,
7151 struct to_string_returns_value_wrapper): New.
7152 (main): Add tsrvw variable.
7153 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7154 ToStringReturnsValueWrapper): New classes.
7155 (register_pretty_printers): Register new pretty-printers.
7156 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7157 recursive pretty printer.
7158 * gdb.python/py-mi.exp: Likewise.
7159
59498c30
LS
71602018-02-01 Leszek Swirski <leszeks@google.com>
7161
7162 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7163 functions with the same name as an include file are parsed
7164 correctly.
7165
d4d38844
YQ
71662018-02-01 Yao Qi <yao.qi@linaro.org>
7167
7168 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7169 "\[^\r\n\]*".
7170
07e5f5cf
NP
71712018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7172
7173 * gdb.arch/powerpc-prologue-frame.s: New file.
7174 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7175 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7176
929b5ad4
JB
71772018-01-31 Joel Brobecker <brobecker@adacore.com>
7178
7179 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7180
e671cd59
PA
71812018-01-30 Pedro Alves <palves@redhat.com>
7182
7183 PR gdb/13211
7184 * gdb.base/interrupt-daemon.c: New.
7185 * gdb.base/interrupt-daemon.exp: New.
7186 * gdb.multi/multi-term-settings.c: New.
7187 * gdb.multi/multi-term-settings.exp: New.
7188
fc413dc4
JB
71892018-01-30 Joel Brobecker <brobecker@adacore.com>
7190
7191 * gdb.base/break.exp: Save the location where the breakpoint
7192 on break.c:47 was actually inserted when debugging the version
7193 compiled at -O2 and use it in the expected output of the "info
7194 break" test performed soon after.
7195
5c319bb2
PA
71962018-01-22 Pedro Alves <palves@redhat.com>
7197 Sergio Durigan Junior <sergiodj@redhat.com>
7198
7199 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7200 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7201
a9e40818
JB
72022018-01-22 Joel Brobecker <brobecker@adacore.com>
7203
7204 * gdb.base/break-include.c, gdb.base/break-include.inc,
7205 gdb.base/break-include.exp: New files.
7206 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7207 line number now being the actual line number where the breakpoint
7208 was inserted.
7209 * gdb.mi/mi-break.exp: Likewise.
7210 * gdb.mi/mi-reverse.exp: Likewise.
7211 * gdb.mi/mi-simplerun.exp: Ditto.
7212
e707fc44
AB
72132018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7214
7215 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7216 varobj.
7217 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7218
ae451627
AB
72192018-01-21 Don Breazeal <donb@codesourcery.com>
7220 Andrew Burgess <andrew.burgess@embecosm.com>
7221
7222 * gdb.mi/basics.c: Add new global.
7223 * gdb.mi/mi-frame-regs.exp: New file.
7224 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7225 case.
7226
b1b189e0
AB
72272018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7228
7229 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7230 non-parameter, and on an unknown symbol.
7231
fcfcc376
TT
72322018-01-19 Tom Tromey <tom@tromey.com>
7233
7234 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7235 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7236
634c1c31
AA
72372018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7238
7239 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7240 setrlimit and chdir to int.
7241
d6ad07fd
AA
72422018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7243
7244 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7245 function.
7246 (my_tend): Likewise.
7247 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7248 rationale of avoiding FP- and vector instructions.
7249
adf8243b
RK
72502018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7251
7252 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7253 "info reg" with "\[ \t\]*".
7254 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7255 "\[ \t\]+".
7256 * gdb.arch/s390-multiarch.exp: Ditto.
7257 * gdb.base/pc-fp.exp: Ditto.
7258 * gdb.reverse/i386-precsave.exp: Ditto.
7259 * gdb.reverse/i386-reverse.exp: Ditto.
7260 * gdb.reverse/i387-env-reverse.exp: Ditto.
7261 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7262
dcc06925
AA
72632018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7264
7265 * lib/gdb.exp (gdb_compile): Re-enable use of
7266 universal_compile_options for languages other than Rust.
7267
25d4fd80
AA
72682018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7269
7270 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7271
ee7f689e 72722018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
7273
7274 PR gdb/16577
7275 * gdb.base/solib-vanish.exp: New.
7276 * gdb.base/solib-vanish-main.c: New.
7277 * gdb.base/solib-vanish-lib1.c: New.
7278 * gdb.base/solib-vanish-lib2.c: New.
7279
d8447b6b
YQ
72802018-01-17 Yao Qi <yao.qi@linaro.org>
7281
7282 * gdb.compile/compile.exp: Match the address printed for
7283 frame in the output of command "bt".
7284
86d6a90c
TT
72852018-01-15 Tom Tromey <tom@tromey.com>
7286
7287 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7288 compute sp_reg.
7289
cbcdb1aa
AB
72902018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7291
7292 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7293 to prepare.
7294 (prepare): Return 0 on error, 1 on success.
7295
eea61984
PA
72962018-01-12 Pedro Alves <palves@redhat.com>
7297
7298 * gdb.base/continue-after-aborted-step-over.c: New.
7299 * gdb.base/continue-after-aborted-step-over.exp: New.
7300
6181e9c2
SM
73012018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7302
7303 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7304 options when not creating an executable.
7305
3cada740
PA
73062018-01-11 Pedro Alves <palves@redhat.com>
7307
7308 PR remote/22597
7309 * gdb.server/stop-reply-no-thread.c: New file.
7310 * gdb.server/stop-reply-no-thread.exp: New file.
7311
c63d3e8d
PA
73122018-01-10 Pedro Alves <palves@redhat.com>
7313
7314 PR gdb/22670
7315 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7316 functions too. Test setting breakpoints and printing C functions
7317 with no debug info too.
7318 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7319
d4c2a405
PA
73202018-01-10 Pedro Alves <palves@redhat.com>
7321
7322 PR gdb/22670
7323 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7324 a fail.
7325
8825213e
PA
73262018-01-10 Pedro Alves <palves@redhat.com>
7327
7328 PR gdb/22670
7329 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7330
605fd3c6
YQ
73312018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7332
7333 * gdb.server/unittest.exp: Match the output in non-development
7334 mode.
7335
1e5ded6c
YQ
73362018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7337
7338 * gdb.gdb/unittest.exp: Match output in non-development mode.
7339
30066b0b
JB
73402018-01-08 Joel Brobecker <brobecker@adacore.com>
7341
7342 * gdb.ada/access_tagged_param.exp: Relax expected output
7343 for value of "ObjL" in "continue" to pck.inspect breakpoint
7344 test.
7345
04bafb1e
XR
73462018-01-08 Joel Brobecker <brobecker@adacore.com>
7347
9f86398b
JB
7348 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7349 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 7350
e379cee6
PA
73512018-01-05 Pedro Alves <palves@redhat.com>
7352
7353 PR gdb/18653
7354 * gdb.base/libsegfault.exp: New.
7355
de63c46b
PA
73562018-01-05 Joel Brobecker <brobecker@adacore.com>
7357
7358 PR gdb/22670
7359 * gdb.ada/access_tagged_param.exp: New file.
7360 * gdb.ada/access_tagged_param/foo.adb: New file.
7361
f98fc17b
PA
73622018-01-05 Pedro Alves <palves@redhat.com>
7363
7364 PR gdb/22670
7365 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7366 exercise lower case too, and to exercise both full matching and
7367 wild matching.
7368
342f8240
JB
73692018-01-05 Joel Brobecker <brobecker@adacore.com>
7370
7371 * gdb.ada/rename_subscript_param: New testcase.
7372
7150d33c
JG
73732018-01-05 Jerome Guitton <guitton@adacore.com>
7374
7375 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7376
cc0e770c
JB
73772018-01-05 Joel Brobecker <brobecker@adacore.com>
7378
7379 * gdb.ada/convvar_comp: New testcase.
7380
672a41aa 73812018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
7382
7383 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7384 (My_Table): New global variable.
7385 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7386
7365ec2f
JB
73872018-01-04 Joel Brobecker <brobecker@adacore.com>
7388
7389 PR gdb/22670
7390 * gdb.ada/maint_with_ada: New testcase.
7391
289483b6
JB
73922018-01-04 Joel Brobecker <brobecker@adacore.com>
7393
7394 PR gdb/22670
7395 * gdb.ada/bp_c_mixed_case: New testcase.
7396
344420da
JB
73972018-01-04 Joel Brobecker <brobecker@adacore.com>
7398
7399 PR gdb/22670
7400 * gdb.ada/complete.exp: Add "complete break ada" test.
7401
66fc87a0
JB
74022018-01-04 Joel Brobecker <brobecker@adacore.com>
7403
7404 PR gdb/22670
7405 * gdb.ada/info_addr_mixed_case: New testcase.
7406
9f757bf7
XR
74072018-01-03 Xavier Roirand <roirand@adacore.com>
7408
7409 * gdb.ada/excep_handle.exp: New testcase.
7410 * gdb.ada/excep_handle/foo.adb: New file.
7411 * gdb.ada/excep_handle/pck.ads: New file.
7412
bd570f80
JB
74132018-01-03 Joel Brobecker <brobecker@adacore.com>
7414
7415 * gdb.base/step-line.c: Add extra empty line in copyright header.
7416 * gdb.base/step-line.inp: Likewise.
7417
9fe561ab
JB
74182018-01-02 Joel Brobecker <brobecker@adacore.com>
7419
7420 * gdb.ada/dyn_stride.exp: Add slice test.
7421
a405673c
JB
74222018-01-02 Joel Brobecker <brobecker@adacore.com>
7423
7424 * gdb.ada/dyn_stride: New testcase.
7425
cef0f868
SH
74262017-12-27 Stafford Horne <shorne@gmail.com>
7427
7428 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7429 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7430
b67d92b0
SH
74312017-12-27 Stafford Horne <shorne@gmail.com>
7432
7433 * gdb.base/reggroups.c: New file.
7434 * gdb.base/reggroups.exp: New file.
7435
eccab96d
JB
74362017-12-18 Joel Brobecker <brobecker@adacore.com>
7437
7438 * gdb.dwarf2/ada-valprint-error.c: New file.
7439 * gdb.dwarf2/ada-valprint-error.exp: New file.
7440
0e2da9f0
JB
74412017-12-18 Joel Brobecker <brobecker@adacore.com>
7442
7443 * gdb.ada/assign_arr: New testcase.
7444
cb923fcc
XR
74452017-12-18 Xavier Roirand <roirand@adacore.com>
7446
7447 * gdb.ada/funcall_ptr: New testcase.
7448
7c161838
SDJ
74492017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7450
7451 PR cli/16224
7452 * gdb.base/ptype-offsets.cc: New file.
7453 * gdb.base/ptype-offsets.exp: New file.
7454
1af17fd9
YQ
74552017-12-15 Yao Qi <yao.qi@linaro.org>
7456
7457 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7458 if XML is disabled.
7459
828d5846
XR
74602017-12-15 Xavier Roirand <roirand@adacore.com>
7461
7462 * gdb.ada/same_component_name: New testcase.
7463
79e8fcaa
JB
74642017-12-14 Joel Brobecker <brobecker@adacore.com>
7465
7466 * gdb.ada/str_binop_equal: New testcase.
7467
e05fa6f9
JB
74682017-12-14 Joel Brobecker <brobecker@adacore.com>
7469
7470 * gdb.ada/task_switch_in_core: New testcase.
7471
b89641ba
SM
74722017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7473
7474 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7475 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7476 call test_bkpt_qualified.
7477 (test_bkpt_qualified): New proc.
7478
6892d2e4
PA
74792017-12-13 Pedro Alves <palves@redhat.com>
7480
7481 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7482 Tighten regexp by matching with an anchor.
7483
a22ecf70
PA
74842017-12-13 Pedro Alves <palves@redhat.com>
7485
7486 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7487 ("expression with namespace"): New set of tests.
7488 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7489 (Nested::Test_NS::qux): New.
7490 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7491 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7492
9937536c
JB
74932017-12-13 Joel Brobecker <brobecker@adacore.com>
7494
7495 * gdb.base/server-del-break.c: New file.
7496 * gdb.base/server-del-break.exp: New file.
7497
fe49c6f5
SH
74982017-12-12 Stafford Horne <shorne@gmail.com>
7499
7500 * gdb.xml/tdesc-regs.exp: Add or1k support.
7501
c3d18620
SH
75022017-12-12 Stafford Horne <shorne@gmail.com>
7503
7504 * gdb.base/bp-permanent.c: Define nop of or1k.
7505
c5f9cfc8
JB
75062017-12-11 Joel Brobecker <brobecker@adacore.com>
7507
7508 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7509 output with components being reordered.
7510
a9c135fc
JB
75112017-12-11 Joel Brobecker <brobecker@adacore.com>
7512
7513 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7514 output with components being reordered.
7515
927aa2e7
JK
75162017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7517 Pedro Alves <palves@redhat.com>
7518
7519 * gdb.base/maint.exp (check for .gdb_index): Check also for
7520 .debug_names.
7521 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7522 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7523 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7524 (.gdb_index used after symbol reloading): Support also .debug_names.
7525 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7526
f17d9474
YQ
75272017-12-08 Yao Qi <yao.qi@linaro.org>
7528
7529 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7530 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7531
a0de8c21
YQ
75322017-12-08 Yao Qi <yao.qi@linaro.org>
7533
7534 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7535 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7536
a738ea1d
YQ
75372017-12-08 Yao Qi <yao.qi@linaro.org>
7538
7539 * gdb.arch/aarch64-tagged-pointer.c: New file.
7540 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7541
1cd9a73b
SDJ
75422017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7543
7544 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7545 "int".
7546
fa6eb693
KS
75472017-12-07 Keith Seitz <keiths@redhat.com>
7548
7549 PR breakpoints/22569
7550 * gdb.linespec/ls-errs.exp: Change expected result of "break
7551 -source this file has spaces.c -line 3".
7552 Check that an explicit source file followed by whitespace is
7553 identified as an invalid explicit location.
7554
883fd55a
KS
75552017-12-07 Keith Seitz <keiths@redhat.com>
7556
7557 * gdb.cp/nested-types.cc: New file.
7558 * gdb.cp/nested-types.exp: New file.
7559 * lib/cp-support.exp: Load data-structures.exp library.
7560 (debug_cp_test_ptype_class): New global.
7561 (cp_ptype_class_verbose, next_line): New procedures.
7562 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7563 Add and document new return value.
7564 Switch the list of lines to a queue.
7565 Add support for new `type' key for nested type definitions.
7566 Add debugging/troubleshooting messages.
7567 * lib/data-structures.exp: New file.
7568
ec72db3e
SM
75692017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7570
7571 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7572 with proc_with_prefix, don't use with_test_prefix.
7573
99598d71
TT
75742017-12-07 Tom Tromey <tom@tromey.com>
7575
7576 * gdb.base/break.exp: Add test for empty "commands".
7577
a8806230
YQ
75782017-12-07 Yao Qi <yao.qi@linaro.org>
7579
7580 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7581 malloc and catch syscall.
7582
824cc835
PM
75832017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7584
e79be6e5 7585 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
7586 tests for explicit locations.
7587
7cc244de
PA
75882017-12-06 Pedro Alves <palves@redhat.com>
7589
7590 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7591 force-disabling XML descriptions.
7592
50a1fdd5
PA
75932017-12-04 Pedro Alves <palves@redhat.com>
7594
7595 PR gdb/22499
7596 * gdb.arch/amd64-disp-step-avx.S: New file.
7597 * gdb.arch/amd64-disp-step-avx.exp: New file.
7598
f0fb2488
PA
75992017-12-03 Pedro Alves <palves@redhat.com>
7600
7601 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7602 and <string.h>.
7603 (parent_function): Print distinct messages when waitpid fails, or
7604 the child exits with a signal, or the child exits for an unhandled
7605 reason.
7606 * gdb.threads/process-dies-while-detaching.exp
7607 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7608 it. Wait for both inferior output and GDB's prompt. Use an
7609 indirect spawn id list.
7610 (do_detach): New parameter 'child_exit'. Use it to compute
7611 expected inferior output.
7612 (test_detach, test_detach_watch, test_detach_killed_outside):
7613 Adjust to pass down the expected child exit kind.
7614
97cbe998
SDJ
76152017-12-01 Joel Brobecker <brobecker@adacore.com>
7616 Sergio Durigan Junior <sergiodj@redhat.com>
7617 Pedro Alves <palves@redhat.com>
7618
7619 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7620
40fc416f
SDJ
76212017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7622
7623 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7624 to 'symbol-file' and 'add-symbol-file' can be
7625 position-independent.
7626
1cc75e92
YQ
76272017-12-01 Yao Qi <yao.qi@linaro.org>
7628
7629 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7630 the URL in copyright header.
7631 * gdb.arch/aarch64-fp.exp: Likewise.
7632 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7633 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7634 * gdb.base/expand-psymtabs.exp: Likewise.
7635 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7636 * gdb.fortran/common-block.exp: Likewise.
7637 * gdb.fortran/common-block.f90: Likewise.
7638 * gdb.fortran/logical.exp: Likewise.
7639 * gdb.fortran/vla-datatypes.f90: Likewise.
7640 * gdb.fortran/vla-sub.f90: Likewise.
7641
875fb7a7
JB
76422017-11-30 Joel Brobecker <brobecker@adacore.com>
7643
7644 * gdb.ada/repeat_dyn: New testcase.
7645
6f14765f
UW
76462017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7647
7648 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7649 Update for changed thread numbering.
7650 * gdb.cell/bt.exp: Update for changed GDB output.
7651
f1af7b94
SM
76522017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7653
7654 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7655 setting isremote by hand.
7656 * boards/dwarf4-gdb-index.exp: Likewise.
7657 * boards/fission.exp: Likewise.
7658 * boards/stabs.exp: Likewise.
7659
e3919f3e
PA
76602017-11-30 Pedro Alves <palves@redhat.com>
7661
7662 * gdb.linespec/cpls-ops.exp
7663 (check_explicit_skips_function_argument): Extract the underlying
7664 type of size_t instead of hardcoding it.
7665
bd69330d
PA
76662017-11-29 Pedro Alves <palves@redhat.com>
7667
7668 PR c++/19436
7669 * gdb.linespec/cpls-abi-tag.cc: New file.
7670 * gdb.linespec/cpls-abi-tag.exp: New file.
7671
a20714ff
PA
76722017-11-29 Pedro Alves <palves@redhat.com>
7673
7674 * gdb.base/langs.exp: Use -qualified.
7675 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7676 it.
7677 * gdb.cp/namespace.exp: Use -qualified.
7678 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7679 (overload-3, template-overload, template-ret-type, const-overload)
7680 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7681 procedures.
7682 (test_driver): Call them.
7683 * gdb.cp/save-bp-qualified.cc: New.
7684 * gdb.cp/save-bp-qualified.exp: New.
7685 * gdb.linespec/explicit.exp: Test -qualified.
7686 * lib/completion-support.exp (completion::explicit_opts_list): Add
7687 "-qualified".
7688 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7689
f6f1d339
PM
76902017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7691
7692 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7693
02ca603a
TT
76942017-11-29 Tom Tromey <tom@tromey.com>
7695
7696 * gdb.base/relocate.exp: Update invalid argument test.
7697 Add new tests for invalid arguments.
7698
ed6c0bfb
TP
76992017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7700
7701 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7702 Return 0 as a long.
7703 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7704
f106e10e
TP
77052017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7706
7707 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7708 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7709 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7710 func ().
7711 * gdb.cp/shadow.cc (B.func): Return 0.
7712
10329bb2
JB
77132017-11-27 Joel Brobecker <brobecker@adacore.com>
7714
7715 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7716 expected output in gdb_expect call to allow the exception
7717 message to be present as well. Fix syntax confusion to avoid
7718 TCL thinking that exception_name is an array.
7719
617cd4bc
UW
77202017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7721
7722 * gdb.arch/spu-info.c: Include <unistd.h>.
7723 (do_signal_test): Fix broken calls to write.
7724 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7725 Fix checks for empty mailboxes. Update signal tests for corrected
7726 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
7727 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7728 * gdb.cell/arch.exp: Use standard_output_file.
7729 * gdb.cell/break.exp: Likewise.
7730 * gdb.cell/bt.exp: Likewise.
7731 * gdb.cell/core.exp: Likewise.
7732 * gdb.cell/dwarfaddr.exp: Likewise.
7733 * gdb.cell/ea-cache.exp: Likewise.
7734 * gdb.cell/ea-standalone.exp: Likewise.
7735 * gdb.cell/f-regs.exp: Likewise.
7736 * gdb.cell/fork.exp: Likewise.
7737 * gdb.cell/gcore.exp: Likewise.
7738 * gdb.cell/mem-access.exp: Likewise.
7739 * gdb.cell/ptype.exp: Likewise.
7740 * gdb.cell/registers.exp: Likewise.
7741 * gdb.cell/sizeof.exp: Likewise.
7742 * gdb.cell/solib-symbol.exp: Likewise.
7743 * gdb.cell/solib.exp: Likewise.
617cd4bc 7744
a81aaca0
PA
77452017-11-25 Pedro Alves <palves@redhat.com>
7746
7747 * gdb.base/complete-empty.exp: New file.
7748 * gdb.base/completion.exp: Adjust.
7749
6a3c6ee4
PA
77502017-11-25 Pedro Alves <palves@redhat.com>
7751
7752 * gdb.linespec/cpls-ops.cc: New file.
7753 * gdb.linespec/cpls-ops.exp: New file.
7754 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7755 factored out from ...
7756 (test_complete_prefix_range): ... this.
7757
8955eb2d
PA
77582017-11-24 Pedro Alves <palves@redhat.com>
7759
7760 * gdb.linespec/cpcompletion.exp: New file.
7761 * gdb.linespec/cpls-hyphen.cc: New file.
7762 * gdb.linespec/cpls.cc: New file.
7763 * gdb.linespec/cpls2.cc: New file.
7764 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7765 test to use test_gdb_complete_unique. Add label completion,
7766 keyword completion and explicit location completion tests.
7767 * lib/completion-support.exp: New file.
7768
e547c119
JB
77692017-11-24 Joel Brobecker <brobecker@adacore.com>
7770
7771 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7772 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7773 when hitting an exception catchpoint.
7774
7c3c1aa8
YQ
77752017-11-22 Yao Qi <yao.qi@linaro.org>
7776
7777 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7778
41bd68f5
SM
77792017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7780
7781 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7782 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7783 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7784
1daad298
YQ
77852017-11-22 Yao Qi <yao.qi@linaro.org>
7786
7787 * gdb.base/info-os.exp: Pass pthreads.
7788 * gdb.multi/multi-attach.exp: Likewise.
7789
88465e87
YQ
77902017-11-22 Yao Qi <yao.qi@linaro.org>
7791
7792 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7793 compiler.
7794
dc196b23
YQ
77952017-11-22 Yao Qi <yao.qi@linaro.org>
7796
7797 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7798 * gdb.base/break-interp.exp: Likewise.
7799 * gdb.base/jit-attach-pie.exp: Likewise.
7800
2400729e
UW
78012017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7802
7803 * gdb.base/float128.c (large128): New variable.
7804 * gdb.base/float128.exp: Add test to print largest __float128 value.
7805
7a26362d
UW
78062017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7807
7808 * gdb.arch/vsx-regs.exp: Update register content checks.
7809
ed0f4273
UW
78102017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7811
7812 * gdb.arch/ppc-longdouble.exp: New file.
7813 * gdb.arch/ppc-longdouble.c: Likewise.
7814
a25d69c6
PA
78152017-11-21 Pedro Alves <palves@redhat.com>
7816
7817 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7818
73fcf641
PA
78192017-11-20 Pedro Alves <palves@redhat.com>
7820
7821 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7822 (long_double_typedef): New typedefs.
7823 Use DEF on double and long double.
7824 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7825 cases.
7826 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7827 and 'long_double_ptr_same_size' locals. Use them to decide
7828 whether cast from array/function to float is valid/invalid.
7829
71a3c369
TT
78302017-11-17 Tom Tromey <tom@tromey.com>
7831
7832 * gdb.rust/traits.rs: New file.
7833 * gdb.rust/traits.exp: New file.
7834
ced9779b
JB
78352017-11-17 Joel Brobecker <brobecker@adacore.com>
7836
7837 * gdb.ada/minsyms: New testcase.
7838
a0922d80
PA
78392017-11-16 Pedro Alves <palves@redhat.com>
7840
7841 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7842 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7843
ea04e54c
PA
78442017-11-16 Pedro Alves <palves@redhat.com>
7845
7846 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7847 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7848
e849ea89
PA
78492017-11-16 Pedro Alves <palves@redhat.com>
7850
7851 * gdb.server/reconnect-ctrl-c.c: New file.
7852 * gdb.server/reconnect-ctrl-c.exp: New file.
7853
d8ae99a7
PM
78542017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7855
7856 * gdb.python/py-rbreak.exp: New file.
7857 * gdb.python/py-rbreak.c: New file.
7858 * gdb.python/py-rbreak-func2.c: New file.
7859
968a13f8
PA
78602017-11-16 Pedro Alves <palves@redhat.com>
7861
7862 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7863 pattern.
7864 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7865 GDB.
7866
71774bc9
SM
78672017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7868
7869 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7870 regex.
7871
ddbb44cf
SM
78722017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7873
7874 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7875 test names.
7876
584a564f
PA
78772017-11-09 Pedro Alves <palves@redhat.com>
7878
7879 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7880 factored out from ...
7881 (top level): ... here, and adjusted to avoid expecting beyond the
7882 prompt in a single gdb_test_multiple.
7883
5ed7a928
PA
78842017-11-09 Pedro Alves <palves@redhat.com>
7885
7886 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7887 output.
7888 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7889 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7890 * gdb.server/ext-run.exp ("kill" test): Likewise.
7891 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7892
a60e0738
PA
78932017-11-09 Pedro Alves <palves@redhat.com>
7894
7895 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7896 match till end of line.
7897
2c88253f
PA
78982017-11-09 Pedro Alves <palves@redhat.com>
7899
7900 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7901
c7a38517
PA
79022017-11-09 Pedro Alves <palves@redhat.com>
7903
7904 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7905 New procedures, factored out from ...
7906 (top level): ... here, and adjusted to avoid expecting beyond the
7907 prompt in one go.
7908
f29f4b6b
PA
79092017-11-09 Pedro Alves <palves@redhat.com>
7910
7911 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7912 output. Fix '?' match.
7913
286acbb5
JB
79142017-11-08 Joel Brobecker <brobecker@adacore.com>
7915
7916 * gdb.ada/scoped_watch: New testcase.
7917 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7918 which is actually correct.
7919 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7920 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7921
62d7ae92
PA
79222017-11-08 Pedro Alves <palves@redhat.com>
7923
7924 * gdb.gdb/complaints.exp (test_initial_complaints)
7925 (test_serial_complaints, test_short_complaints): Call
7926 complaint_internal instead of complaint.
7927
280ca31f
DT
79282017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7929
7930 * gdb.threads/tls-core.c: New file.
7931 * gdb.threads/tls-core.exp: Likewise.
7932
b5ec771e
PA
79332017-11-08 Pedro Alves <palves@redhat.com>
7934
7935 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7936 (p Exported_Capitalized): New test.
7937 (p exported_capitalized): New test.
7938
a02b41a7
PA
79392017-11-07 Pedro Alves <palves@redhat.com>
7940
7941 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7942
95e95a6d
PA
79432017-11-07 Pedro Alves <palves@redhat.com>
7944
7945 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7946 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7947 (disable_invalid, disable_inverted, disable_negative): New
7948 procedures.
7949 ("bad numbers"): New set of tests.
7950
cee62dbd
PA
79512017-11-07 Pedro Alves <palves@redhat.com>
7952
7953 * gdb.cp/ena-dis-br-range.exp: Add tests.
7954
cc638e86
PA
79552017-11-07 Pedro Alves <palves@redhat.com>
7956
7957 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7958
d0fe4701
XR
79592017-11-07 Xavier Roirand <roirand@adacore.com>
7960 Pedro Alves <palves@redhat.com>
7961
7962 * gdb.base/ena-dis-br.exp: Add reference to
7963 gdb.cp/ena-dis-br-range.exp.
7964 * gdb.cp/ena-dis-br-range.exp: New file.
7965 * gdb.cp/ena-dis-br-range.cc: New file.
7966
46f67f80
PA
79672017-11-06 Pedro Alves <palves@redhat.com>
7968
7969 * gdb.base/attach-non-pgrp-leader.c: New.
7970 * gdb.base/attach-non-pgrp-leader.exp: New.
7971
726e1356
PA
79722017-11-06 Pedro Alves <palves@redhat.com>
7973
7974 * configure.ac: No longer check for termio.h and sgtty.h.
7975 * configure: Regenerate.
7976 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7977 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7978 Remove termio and sgtty code.
7979
50ab6ace
YQ
79802017-11-03 Yao Qi <yao.qi@linaro.org>
7981
7982 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7983 in GDB is disabled.
7984
8e68731c
YQ
79852017-11-03 Yao Qi <yao.qi@linaro.org>
7986
7987 * gdb.python/py-thrhandle.exp: Skip it if python is not
7988 enabled.
7989
3a87ae65
SM
79902017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7991
7992 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7993 as a breakpoint command.
7994
484d8d36
MD
79952017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7996
7997 PR python/21213
7998 * gdb.python/py-infthread.exp: Test calling
7999 InferiorThread.inferior () multiple times in a row.
8000
4a27f119
KS
80012017-10-27 Keith Seitz <keiths@redhat.com>
8002
8003 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8004 Test "info break" for every inlined function breakpoint.
8005
bb11dd58
YQ
80062017-10-27 Yao Qi <yao.qi@linaro.org>
8007
8008 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8009
a43f3893
PF
80102017-10-26 Patrick Frants <osscontribute@gmail.com>
8011
8012 * gdb.cp/classes.exp (test_static_members): Test printing
8013 Outer::instance.
8014 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8015 (Inner::instance, Outer::instance): New.
8016
792ccf00
PA
80172017-10-24 Pedro Alves <palves@redhat.com>
8018
8019 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8020 extra console" test in two stages.
8021
eb2bfbad
PA
80222017-10-24 Pedro Alves <palves@redhat.com>
8023
8024 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8025
1f75a651
PA
80262017-10-24 Pedro Alves <palves@redhat.com>
8027
8028 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8029 loop.
8030
779990d9
PA
80312017-10-24 Pedro Alves <palves@redhat.com>
8032
8033 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8034 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8035
ad9b8f5d
PA
80362017-10-24 Pedro Alves <palves@redhat.com>
8037
8038 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8039 parameter and handle it. Don't output read value in test name.
8040
fee6da6e
PA
80412017-10-24 Pedro Alves <palves@redhat.com>
8042
8043 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8044 custom test name.
8045
10389c2c
PA
80462017-10-24 Pedro Alves <palves@redhat.com>
8047
8048 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8049 include the unstable output directory name in the test's name.
8050 (initial_setup_simple) <'set args'>: Use custom test name.
8051
a80e65a9
PA
80522017-10-24 Pedro Alves <palves@redhat.com>
8053
8054 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8055 with explicit test name.
8056
15763a09
PA
80572017-10-20 Pedro Alves <palves@redhat.com>
8058
8059 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8060 'wait -i'. Use gdb_assert and remote_close.
8061
49a4ce2e
AB
80622017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8063
8064 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8065 number from variable rather than hard-coded.
8066
a75868f5
PA
80672017-10-19 Pedro Alves <palves@redhat.com>
8068
8069 * gdb.base/long-inferior-output.c: New file.
8070 * gdb.base/long-inferior-output.exp: New file.
8071
c8ba13ad
KS
80722017-11-18 Keith Seitz <keiths@redhat.com>
8073
8074 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8075 method.
8076 (main): Call it.
8077 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8078 Add additional user-defined conversion operator tests.
8079
b27de576
PA
80802017-10-17 Pedro Alves <palves@redhat.com>
8081
8082 * boards/native-stdio-gdbserver.exp: Load "local-board".
8083
8484c955
PA
80842017-10-17 Pedro Alves <palves@redhat.com>
8085
8086 * gdb.base/quit-live.c: New file.
8087 * gdb.base/quit-live.exp: New file.
8088
83d5a34d
KS
80892017-10-16 Keith Seitz <keiths@redhat.com>
8090
8091 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8092 (class_with_protected_typedef, class_with_private_typedef)
8093 (struct_with_public_typedef, struct_with_protected_typedef)
8094 (struct_with_private_typedef): New classes/structs.
8095 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8096 typedefs and access specifiers.
8097
739b3f1d
PA
80982017-10-16 Pedro Alves <palves@redhat.com>
8099 Simon Marchi <simon.marchi@polymtl.ca>
8100
8101 * README (Local vs Remote vs Native): New section.
8102 * boards/local-board.exp: New file, with bits factored out from
8103 ...
8104 * boards/native-extended-gdbserver.exp: ... here. Load
8105 "local-board".
8106 * boards/native-gdbserver.exp: Load "local-board".
8107 (${board}_spawn, ${board}_exec): Delete.
8108 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8109 ...
8110 * boards/stdio-gdbserver-base.exp: ... this new file.
8111 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8112 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8113 procedure.
8114 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8115 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8116 stdio_gdbserver_command.
8117 (${board}_get_remote_address, ${board}_get_comm_port)
8118 (${board}_download, ${board}_upload): Delete.
8119 (get_target_remote_pipe_cmd): New.
8120
fe68b953
SM
81212017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8122
8123 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8124 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8125 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8126 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8127 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8128 remove with_test_prefix.
8129
300b6685
PA
81302017-10-13 Pedro Alves <palves@redhat.com>
8131
8132 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8133 * gdb.base/annota1.exp: Use it instead of is_remote.
8134 * gdb.base/annota3.exp: Use it instead of is_remote.
8135 * gdb.cp/annota2.exp: Use it instead of is_remote.
8136 * gdb.cp/annota3.exp: Use it instead of is_remote.
8137 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8138
50500caf
PA
81392017-10-13 Pedro Alves <palves@redhat.com>
8140
8141 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8142 (test_num_test_vars, run_and_count_vars, find_env)
8143 (test_set_unset_env, test_inherit_env_var): New procedures.
8144 (top level): Use them.
8145
dad0c6d2
PA
81462017-10-13 Pedro Alves <palves@redhat.com>
8147
8148 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8149 also skip on stub-like targets.
8150
8b0553c1
PA
81512017-10-13 Pedro Alves <palves@redhat.com>
8152
8153 PR gdb/22293
8154 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8155 (top level): Move some tests to ...
8156 (test_not_found): ... this new procedure.
8157 (top level): Call it.
8158
7594f623
PA
81592017-10-13 Pedro Alves <palves@redhat.com>
8160
8161 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8162 expect different "info terminal" output if testing with a
8163 non-native target.
8164
ebe3b402
PA
81652017-10-13 Pedro Alves <palves@redhat.com>
8166 Simon Marchi <simon.marchi@polymtl.ca>
8167
8168 PR python/12966
8169 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8170
42f1b161
PA
81712017-10-13 Pedro Alves <palves@redhat.com>
8172
8173 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8174 already.
8175
8d6ef72b
PA
81762017-10-13 Pedro Alves <palves@redhat.com>
8177
8178 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8179 is_remote.
8180
d7bcd5b8
PA
81812017-10-13 Pedro Alves <palves@redhat.com>
8182
8183 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8184 is_remote.
8185
df479dc6
PA
81862017-10-13 Pedro Alves <palves@redhat.com>
8187
8188 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8189 is set.
8190 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8191 instead of is_remote.
8192
23fb630a
PA
81932017-10-13 Pedro Alves <palves@redhat.com>
8194
8195 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8196 (top level): Add comment.
8197
cc77b1dc
PA
81982017-10-13 Pedro Alves <palves@redhat.com>
8199
8200 * gdb.base/remote.exp (top level): Fix comment typo and add
8201 missing return.
8202
27c9e813
PA
82032017-10-13 Pedro Alves <palves@redhat.com>
8204 Simon Marchi <simon.marchi@polymtl.ca>
8205
8206 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8207 calls and add comments. Skip test if use_gdb_stub is set.
8208 (top level): Use "set cwd" command instead of "cd" command.
8209
5e830d98
PA
82102017-10-13 Pedro Alves <palves@redhat.com>
8211
8212 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8213 is_remote target check.
8214
f5ca0032
PA
82152017-10-13 Pedro Alves <palves@redhat.com>
8216
8217 * gdb.base/scope.exp: Use build_executable + clean_restart +
8218 gdb_file_cmd instead of prepare_for_testing and no longer skip
8219 "before run" tests on is_remote target boards. Update comments.
8220 * boards/native-extended-gdbserver.exp
8221 (extended_gdbserver_load_last_file): New, factored out from ...
8222 (gdb_load): ... this. Move further below and add comment.
8223 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8224
8aed1c0d
PA
82252017-10-12 Pedro Alves <palves@redhat.com>
8226
8227 * gdb.base/attach.exp: Remove references to gdb64.
8228 * gdb.base/dbx.exp: Remove references to gdb64.
8229
cfa34c87
SM
82302017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8231 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.base/label.exp: Remove is_remote target check.
8234
9192b7de
PA
82352017-10-12 Pedro Alves <palves@redhat.com>
8236
8237 * gdb.base/auvx.exp (coredir): Update comment.
8238 (top level) <core_works>: Use "set cwd" command instead of "cd"
8239 command.
8240
6bf0052d
PA
82412017-10-12 Pedro Alves <palves@redhat.com>
8242 Simon Marchi <simon.marchi@polymtl.ca>
8243
8244 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8245 target boards.
8246
e48ef82d
PA
82472017-10-12 Pedro Alves <palves@redhat.com>
8248 Simon Marchi <simon.marchi@polymtl.ca>
8249
8250 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8251 Instead skip if there's any gdb_protocol set.
8252
8d7aea57
SM
82532017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8254 Pedro Alves <palves@redhat.com>
8255
8256 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8257
30440677
PA
82582017-10-12 Pedro Alves <palves@redhat.com>
8259 Simon Marchi <simon.marchi@polymtl.ca>
8260
8261 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8262 instead of on dejagnu remote boards.
8263
4e04f045 82642017-10-12 Pedro Alves <palves@redhat.com>
175654b9 8265 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
8266
8267 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8268 checks. Use build_executable + clean_restart instead of
8269 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8270 of enabling non-stop after starting gdb.
8271
871a186e
PA
82722017-10-12 Pedro Alves <palves@redhat.com>
8273
8274 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8275 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8276 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8277 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8278
56d704da
AK
82792017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8280
8281 * gdb.arch/arc-tdesc-cpu.exp: New file.
8282 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8283
2f20e312
SM
82842017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8285
8286 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8287
65630365
PA
82882017-10-10 Pedro Alves <palves@redhat.com>
8289
8290 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8291 expect CLI output.
8292
bf469271
PA
82932017-10-10 Pedro Alves <palves@redhat.com>
8294
8295 * lib/selftest-support.exp (selftest_setup): Update for
8296 captured_command_loop's prototype change.
8297
777a42f1
PA
82982017-10-09 Pedro Alves <palves@redhat.com>
8299
8300 Test both arch1=>arch2 and arch2=>arch1.
8301
8302 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8303 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8304 factored out to...
8305 (append_arch1_options, append_arch2_options, append_arch_options)
8306 (build_executables): New procedures.
8307 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8308 local.
8309 (top level): Add new 'first_arch' testing axis.
8310
cbd2b4e3
PA
83112017-10-09 Pedro Alves <palves@redhat.com>
8312
8313 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8314 (barrier): New.
8315 (thread_start, all_started): New functions.
8316 (main): Spawn new thread and wait until it is scheduled.
8317 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8318 option.
8319 (do_test): Add 'selected_thread' parameter. Run to all_started
8320 instead of main. Explicitly set the breakpoint at main. Switch
8321 to the SELECTED_THREAD thread.
8322 (top level): Test handling the exec event with either the main
8323 thread or the second thread selected.
8324
5c9e4427
PA
83252017-10-09 Pedro Alves <palves@redhat.com>
8326
8327 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8328 logic. Move STOP marker after the value checks.
8329 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8330 regexp.
8331
b3b7c423
SL
83322017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8333
8334 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8335
3b4b2f16
UW
83362017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8337
8338 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8339 integer-to-dfp conversion.
8340 * gdb.base/dfp-test.exp: Likewise.
8341
5cd63fda
PA
83422017-10-04 Pedro Alves <palves@redhat.com>
8343
8344 * gdb.multi/hangout.c: Include <unistd.h>.
8345 (hangout_loop): New function.
8346 (main): Call alarm. Call hangout_loop in a loop.
8347 * gdb.multi/hello.c: Include <unistd.h>.
8348 (hello_loop): New function.
8349 (main): Call alarm. Call hangout_loop in a loop.
8350 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8351 inferior with the other selected.
8352
4c71c105
SM
83532017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8354
8355 * gdb.mi/list-thread-groups-available.exp: New file.
8356 * gdb.mi/list-thread-groups-available.c: New file.
8357
bc3b087d
SDJ
83582017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8359
8360 * gdb.base/set-cwd.exp: Make it available on
8361 native-extended-gdbserver.
8362
d092c5a2
SDJ
83632017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8364
8365 * gdb.base/set-cwd.c: New file.
8366 * gdb.base/set-cwd.exp: Likewise.
8367
45320ffa
TT
83682017-10-02 Tom Tromey <tom@tromey.com>
8369
8370 PR rust/22236:
8371 * gdb.rust/simple.rs (main): New variable "fslice".
8372 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8373
b3e3859b
TT
83742017-10-02 Tom Tromey <tom@tromey.com>
8375
8376 * gdb.rust/simple.exp: Test ptype of a slice.
8377
01af5e0d
TT
83782017-10-02 Tom Tromey <tom@tromey.com>
8379
8380 * gdb.rust/simple.exp: Test index of slice.
8381
a9bbfbd8
TT
83822017-09-27 Tom Tromey <tom@tromey.com>
8383
8384 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8385
df8899e5
TP
83862017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8387 Pedro Alves <palves@redhat.com>
8388
8389 * gdb.base/compare-sections.exp (get value of read-only section): Read
8390 as unsigned value.
8391 (corrupt read-only section): Likewise and don't set written if patching
8392 failed.
8393
757bf54b
KB
83942017-09-21 Kevin Buettner <kevinb@redhat.com>
8395
8396 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8397 files.
8398
06871ae8
PA
83992017-09-20 Pedro Alves <palves@redhat.com>
8400
8401 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8402 symbol names in gdb's output.
8403 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8404
e5f25bc5
PA
84052017-09-20 Pedro Alves <palves@redhat.com>
8406
8407 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8408 Rename to ...
8409 (test_list_ambiguous_symbol): ... this and add a symbol name
8410 parameter. Adjust.
8411 (test_list_ambiguous_function): Reimplement on top of
8412 test_list_ambiguous_symbol and also test listing ambiguous
8413 variables.
8414 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8415 (ambiguous_fun): ... this.
8416 (ambiguous_var): New.
8417 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8418 (ambiguous_fun): ... this.
8419 (ambiguous_var): New.
8420
4e5a4f58
JB
84212017-09-19 John Baldwin <jhb@FreeBSD.org>
8422
8423 * gdb.base/starti.c: New file.
8424 * gdb.base/starti.exp: New file.
8425 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8426
26e53f3e
PA
84272017-09-14 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8430 (top level): Use it instead of runto.
8431
cb791d59
TT
84322017-09-11 Tom Tromey <tom@tromey.com>
8433
8434 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8435
7c96f8c1
TT
84362017-09-11 Tom Tromey <tom@tromey.com>
8437
8438 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8439 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8440
469412dd
CW
84412017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8442
8443 * gdb.fortran/printing-types.exp: New file.
8444 * gdb.fortran/printing-types.exp: New file.
8445
e0f86435
BH
84462017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8447
8448 * gdb.fortran/vla-ptype.exp: Fix typos.
8449 * gdb.fortran/vla-value.exp: Same.
8450
9e9af4be
BH
84512017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8452
8453 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8454 * gdb.mi/mi-var-child-f.exp: Likewise.
8455 * gdb.mi/mi-vla-fortran.exp: Likewise.
8456
a5ad232b 84572017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
8458 Christoph Weinmann <christoph.t.weinmann@intel.com>
8459 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
8460
8461 * gdb.fortran/ptr-indentation.f90: New file.
8462 * gdb.fortran/ptr-indentation.exp: New file.
8463
5aec60eb
TT
84642017-09-05 Tom Tromey <tom@tromey.com>
8465
8466 PR gdb/22010:
8467 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8468
8f8f8152
TP
84692017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8470
8471 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8472
fbd1b771
JK
84732017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8474
8475 * gdb.threads/tls-nodebug-pie.c: New file.
8476 * gdb.threads/tls-nodebug-pie.exp: New file.
8477
5eb5f850
TT
84782017-09-05 Tom Tromey <tom@tromey.com>
8479
8480 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8481 for rust.
8482
ae780a21
SM
84832017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8484
8485 * gdb.multi/multi-arch-exec.exp: Test with different
8486 "follow-exec-mode" settings.
8487 (do_test): New procedure.
8488
3693fdb3
PA
84892017-09-04 Pedro Alves <palves@redhat.com>
8490
8491 * gdb.base/func-static.c (S::method const, S::method volatile)
8492 (S::method volatile const): New methods.
8493 (c_s, v_s, cv_s): New instances.
8494 (main): Call method() on them.
8495 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8496 (cannot_resolve): New procedure.
8497 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8498 print-quote-unquoted columns.
8499 (do_test): Test printing each scope too.
8500
e68cb8e0
PA
85012017-09-04 Pedro Alves <palves@redhat.com>
8502
8503 * gdb.base/local-static.exp: Also test with
8504 class::method::variable wholly quoted.
8505 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8506
858be34c
PA
85072017-09-04 Pedro Alves <palves@redhat.com>
8508
8509 * gdb.base/local-static.c: New.
8510 * gdb.base/local-static.cc: New.
8511 * gdb.base/local-static.exp: New.
8512
46a4882b
PA
85132017-09-04 Pedro Alves <palves@redhat.com>
8514
8515 * gdb.asm/asm-source.exp: Add casts to int.
8516 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8517 (dataglobal64_1, dataglobal64_2): New globals.
8518 * gdb.base/nodebug.exp: Test different expressions involving the
8519 new globals, with print, whatis and ptype. Add casts to int.
8520 * gdb.base/solib-display.exp: Add casts to int.
8521 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8522 * gdb.cp/m-static.exp: Add cast to int.
8523 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8524 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8525 tls variable with no debug info without a cast. Test with a cast
8526 to int too.
8527 * gdb.trace/entry-values.exp: Add casts.
8528
2c5a2be1
PA
85292017-09-04 Pedro Alves <palves@redhat.com>
8530
8531 * gdb.base/nodebug.exp: Test that ptype's error about functions
8532 with unknown return type includes the function name too.
8533
7022349d
PA
85342017-09-04 Pedro Alves <palves@redhat.com>
8535
8536 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8537 return type of munmap in infcall.
8538 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8539 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8540 type of ftell in infcall.
8541 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8542 type of getpid in infcall.
8543 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8544 infcall.
8545 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8546 Bail on failure to extract the pid.
8547 * gdb.base/nodebug.c: #include <stdint.h>.
8548 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8549 New functions.
8550 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8551 Change expected output of print/whatis/ptype with functions with
8552 no debug info. Test all supported languages. Call
8553 test_call_promotion.
8554 * gdb.compile/compile.exp: Adjust expected output to expect
8555 warning.
8556 * gdb.threads/siginfo-threads.exp: Likewise.
8557
54990598
PA
85582017-09-04 Pedro Alves <palves@redhat.com>
8559
8560 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8561 "prototypes". Test calling float functions via prototyped and
8562 unprototyped function pointers.
8563 (perform_all_tests): New parameter "prototypes". Pass it down.
8564 (top level): Pass down "prototypes" parameter to
8565 perform_all_tests.
8566
34d16ea2
SM
85672017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8568
8569 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8570 Test with nested loops.
8571
9521ecda
SM
85722017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8573
8574 * gdb.base/commands.exp: Call the new procedures.
8575 (loop_break_test, loop_continue_test): New procedures.
8576
80a65e9b
SM
85772017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8578
8579 * gdb.base/commands.exp: Call new procedure.
8580 (define_if_without_arg_test): New procedure.
8581
e439fa14
PA
85822017-09-04 Pedro Alves <palves@redhat.com>
8583
8584 * gdb.base/list-ambiguous.exp: New file.
8585 * gdb.base/list-ambiguous0.c: New file.
8586 * gdb.base/list-ambiguous1.c: New file.
8587 * gdb.base/list.exp (test_list_range): Adjust expected output.
8588
0a2dde4a
SDJ
85892017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8590
8591 * gdb.base/share-env-with-gdbserver.c: New file.
8592 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8593
5e89eb3a
SM
85942017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8595
8596 * gdb.base/commands.exp (gdbvar_simple_if_test,
8597 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8598 progvar_simple_if_test, progvar_simple_while_test,
8599 progvar_complex_if_while_test, user_defined_command_test,
8600 user_defined_command_args_eval,
8601 user_defined_command_args_stack_test,
8602 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8603 temporary_breakpoint_commands,
8604 gdb_test_no_prompt, redefine_hook_test,
8605 redefine_backtrace_test): Remove "global gdb_prompt".
8606
fd437cbc
SM
86072017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8608
8609 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8610 New proc, call it from toplevel.
8611
87215ad1
SDJ
86122017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8613
8614 PR remote/21852
8615 * gdb.server/normal.c: New file, copied from gdb.base.
8616 * gdb.server/run-without-local-binary.exp: New file.
8617
58afddc6
WP
86182017-08-07 Weimin Pan <weimin.pan@oracle.com>
8619
8620 * gdb.arch/sparc64-adi.exp: New file.
8621 * gdb.arch/sparc64-adi.c: New file.
8622
5277199a
PA
86232017-08-22 Pedro Alves <palves@redhat.com>
8624
8625 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8626 (top level): Add "list all overloads" tests.
8627
14278e1f
TT
86282017-08-22 Tom Tromey <tom@tromey.com>
8629
8630 * gdb.gdb/xfullpath.exp: Remove.
8631
bf223d3e
PA
86322017-08-21 Pedro Alves <palves@redhat.com>
8633
8634 PR gdb/19487
8635 * gdb.base/symbol-alias.c: New.
8636 * gdb.base/symbol-alias2.c: New.
8637 * gdb.base/symbol-alias.exp: New.
8638
c973d0aa
PA
86392017-08-21 Pedro Alves <palves@redhat.com>
8640
8641 * gdb.base/dfp-test.c
8642 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8643 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8644 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8645 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8646 * gdb.base/whatis-ptype-typedefs.c: New.
8647 * gdb.base/whatis-ptype-typedefs.exp: New.
8648 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8649 (an_int, an_int_type, an_int_type2): New globals.
8650 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8651 involving typedefs and cast expressions.
8652 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8653 (lookup_typedefs_function): New.
8654 (typedefs_pretty_printers_dict): New.
8655 (top level): Register lookup_typedefs_function in
8656 gdb.pretty_printers.
8657
6d580b63
YQ
86582017-08-18 Yao Qi <yao.qi@linaro.org>
8659
8660 * gdb.server/unittest.exp: New.
8661
206726fb
SDJ
86622017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8663
8664 PR gdb/21954
8665 * gdb.base/environ.exp: Add test to check if 'unset environment'
8666 works.
8667
bf0ec4c2
AA
86682017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8669
8670 * lib/gdb.exp (universal_compile_options): New caching proc.
8671 (gdb_compile): Suppress GCC's coloring of messages.
8672
d6382fff
TT
86732017-08-14 Tom Tromey <tom@tromey.com>
8674
8675 PR gdb/21675:
8676 * gdb.base/printcmds.exp (test_radices): New function.
8677 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8678 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8679 * lib/gdb.exp (get_integer_valueof): Use p/d.
8680
c2c2dd9f
SM
86812017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8682
8683 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8684 characters.
8685
fdffd6f4
TT
86862017-08-05 Tom Tromey <tom@tromey.com>
8687
8688 * gdb.rust/simple.exp: Allow String to appear in a different
8689 namespace.
8690
27d41eac
YQ
86912017-07-26 Yao Qi <yao.qi@linaro.org>
8692
8693 * gdb.gdb/unittest.exp: Invoke command
8694 "maintenance check xml-descriptions".
8695
031ed05d
AA
86962017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8697
8698 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8699 calling context.
8700 (hex128): Drop erroneous calculation of parameters.
8701
dcd27ddf
SM
87022017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8703
8704 * gdb.python/py-unwind.exp: Disable stack protection when
8705 building test file.
8706
47e77640
PA
87072017-07-20 Pedro Alves <palves@redhat.com>
8708
8709 * gdb.base/default.exp (set language): Adjust expected output.
8710
62d2a18a
PA
87112017-07-20 Pedro Alves <palves@redhat.com>
8712
8713 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8714 (test_minsym): ... this, and make static.
8715 (get_pck__foo__bar__minsym): Rename to ...
8716 (get_test_minsym): ... this.
8717 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8718 symbol names and comments.
8719 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8720 (get_test_minsym): ... this.
8721 (pck__foo__bar__minsym__2): Rename to ...
8722 (test_minsym): ... this.
8723 (main): Adjust.
8724
c45ec17c
PA
87252017-07-17 Pedro Alves <palves@redhat.com>
8726
8727 * gdb.base/completion.exp: Adjust expected output.
8728 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8729 the completer works.
8730
c6756f62
PA
87312017-07-17 Pedro Alves <palves@redhat.com>
8732
8733 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8734
5bd68487
AB
87352017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8736
8737 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8738
8880f2a9
TT
87392017-07-14 Tom Tromey <tom@tromey.com>
8740
8741 PR rust/21764:
8742 * gdb.rust/simple.exp: Add tests.
8743
65547233
TT
87442017-07-14 Tom Tromey <tom@tromey.com>
8745
8746 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8747
8f14146e
PA
87482017-07-14 Pedro Alves <palves@redhat.com>
8749
8750 * gdb.linespec/base/one/thefile.cc (z1): New function.
8751 * gdb.linespec/base/two/thefile.cc (z2): New function.
8752 * gdb.linespec/linespec.exp: Add tests.
8753
b4365d02
AB
87542017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8755
8756 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8757 to mi_create_breakpoint.
8758
5d2cbaa5
AB
87592017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8760
8761 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8762 mi_create_breakpoint.
8763
11cb5716
IB
87642017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8765
8766 * gdb.dlang/demangle.exp: Update for demangling changes.
8767
03278692
TT
87682017-07-09 Tom Tromey <tom@tromey.com>
8769
8770 * gdb.dwarf2/shortpiece.exp: New file.
8771
33c5cd75
DB
87722017-07-06 David Blaikie <dblaikie@gmail.com>
8773
8774 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8775 built from fissiont-multi-cu{1,2}.c.
8776 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8777 except putting 'main' and 'func' in separate CUs in the same DWO file.
8778 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8779 test.
8780 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8781 test.
8782
8455d262
PA
87832017-07-06 Pedro Alves <palves@redhat.com>
8784
8785 * gdb.python/py-unwind.exp: Test flushregs.
8786
dc4bde35
SDJ
87872017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8788
8789 PR cli/21688
8790 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8791 tests for alias commands and trailing whitespace.
8792
51ed89aa
SDJ
87932017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8794
8795 PR cli/21688
8796 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8797 procedure. Call it.
8798
eb17d413
PA
87992017-06-29 Pedro Alves <palves@redhat.com>
8800
8801 * gdb.base/printcmds.exp: Add tests.
8802
41664b45
DG
88032017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8804
8805 PR gdb/21337
8806 * gdb.base/reread-readsym.exp: New file.
8807 * gdb.base/reread-readsym.c: New file.
8808
75312ae3
KB
88092017-06-21 Kevin Buettner <kevinb@redhat.com>
8810
8811 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8812 subpattern.
8813
66953522
PB
88142017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8815
8816 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8817 extended mnemonic.
8818 * gdb.arch/powerpc-power9.s: Likewise.
8819
5524b525
AA
88202017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8821
8822 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8823 on 32-bit x86 targets. Exploit is_*_target macros where
8824 appropriate.
8825
03c8af18
AA
88262017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8827
8828 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8829 register pieces.
8830
3bf31011
AA
88312017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8832
8833 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8834 located in one or more DWARF pieces.
8835
805acca0
AA
88362017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8837
8838 * lib/gdb.exp (get_endianness): New proc.
8839 * gdb.arch/aarch64-fp.exp: Use it.
8840 * gdb.arch/altivec-regs.exp: Likewise.
8841 * gdb.arch/e500-regs.exp: Likewise.
8842 * gdb.arch/vsx-regs.exp: Likewise.
8843 * gdb.base/dump.exp: Likewise.
8844 * gdb.base/funcargs.exp: Likewise.
8845 * gdb.base/gnu_vector.exp: Likewise.
8846 * gdb.dwarf2/formdata16.exp: Likewise.
8847 * gdb.dwarf2/implptrpiece.exp: Likewise.
8848 * gdb.dwarf2/nonvar-access.exp: Likewise.
8849 * gdb.python/py-inferior.exp: Likewise.
8850 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8851
e9352324
AA
88522017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8853
8854 PR gdb/21226
8855 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8856 stack value pieces are taken from the LSB end.
8857
d5d1163e
AA
88582017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8859
8860 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8861 variable at nonzero offset.
8862
0567c986
AA
88632017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8864
8865 * gdb.dwarf2/var-access.c: New file.
8866 * gdb.dwarf2/var-access.exp: New test.
8867 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8868
973e9aab
TT
88692017-06-12 Tom Tromey <tom@tromey.com>
8870
8871 * gdb.dwarf2/formdata16.exp: Add tests.
8872
d9109c80
TT
88732017-06-12 Tom Tromey <tom@tromey.com>
8874
8875 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8876
30a25466
TT
88772017-06-12 Tom Tromey <tom@tromey.com>
8878
8879 PR exp/16225:
8880 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8881 * gdb.arch/vsx-regs.exp: Update tests.
8882 * gdb.arch/s390-vregs.exp (hex128): New proc.
8883 Update test.
8884 * gdb.arch/altivec-regs.exp: Update tests.
8885
aefd8b33
SDJ
88862017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8887
8888 * gdb.base/startup-with-shell.c: New file.
8889 * gdb.base/startup-with-shell.exp: Likewise.
8890
2090129c
SDJ
88912017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8892
8893 * gdb.server/non-existing-program.exp: Update regex in order to
8894 reflect the fact that gdbserver is now using fork_inferior (with a
8895 shell) to startup the inferior.
8896
8e86a419
SM
88972017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8898
8899 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8900 support function calls from GDB.
8901
e6cf65f2
TT
89022017-05-21 Tom Tromey <tom@tromey.com>
8903
8904 PR rust/21466:
8905 * gdb.rust/unsized.exp: New file.
8906 * gdb.rust/unsized.rs: New file.
8907
43cc5389
TT
89082017-05-19 Tom Tromey <tom@tromey.com>
8909
8910 PR rust/21484:
8911 * gdb.rust/watch.exp: New file.
8912 * gdb.rust/watch.rs: New file.
8913
ec8df234
TT
89142017-05-18 Tom Tromey <tom@tromey.com>
8915
8916 * gdb.rust/simple.exp: Allow Box to be qualified.
8917
3e3e7fae
TP
89182017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8919
8920 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8921
59cc050d
PA
89222017-05-18 Pedro Alves <palves@redhat.com>
8923
8924 * gdb.base/fileio.c (test_write, test_read, test_close)
8925 (test_fstat): Don't print 'ret' in the fail path.
8926
c8f6abd1
PA
89272017-05-18 Pedro Alves <palves@redhat.com>
8928
8929 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8930 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8931 (test_system, test_rename, test_unlink, test_time): Change
8932 prototypes.
8933 * gdb.base/fileio.exp (stop_msg): Adjust.
8934
d2a03b77
PA
89352017-05-18 Pedro Alves <palves@redhat.com>
8936
8937 * gdb.base/fileio.c (null_str): New global.
8938 (test_stat): Use it.
8939 * gdb.base/fileio.exp: Remove nowarnings.
8940
0d5c6999
YQ
89412017-05-17 Yao Qi <yao.qi@linaro.org>
8942
8943 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8944
21873064
YQ
89452017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8946
8947 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8948 argument command.
8949 (top-level): Invoke test_set_inferior_tty.
8950
d512d31c
PA
89512017-05-04 Pedro Alves <palves@redhat.com>
8952
8953 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8954 Add parens to print call for Python 3.
8955
90cef2ed
KS
89562017-05-03 Keith Seitz <keiths@redhat.com>
8957
8958 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8959 (main): Call it.
8960
14f819c8
TW
89612017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8962
8963 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8964 to prev and next.
8965
913aeadd
TW
89662017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8967
8968 * gdb.python/py-record-btrace.exp: Remove test for
8969 gdb.BtraceInstruction.error.
8970
a3be24ad
TW
89712017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8972
8973 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8974
ae20e79a
TW
89752017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8976
8977 * gdb.python/py-record-btrace-threads.c: New file.
8978 * gdb.python/py-record-btrace-threads.exp: New file.
8979
45ce1b47
SDJ
89802017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8981
8982 PR testsuite/8595
8983 * gdb.base/environ.exp: Make test available in all architectures.
8984 Move bits related to "info program" testing to
8985 gdb.base/info-program.exp. Rewrite tests to use the two new
8986 procedures mentione below.
8987 (test_set_show_env_var) New procedure.
8988 (test_set_show_env_var_equal): Likewise.
8989 * gdb.base/info-program.exp: New file.
8990
e15c3eb4
KS
89912017-04-27 Keith Seitz <keiths@redhat.com>
8992
8993 * gdb.cp/oranking.cc (test15): New function.
8994 (main): Call test15 and declare additional variables for testing.
8995 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8996 "p foo101('abc')" tests.
8997 Add tests for cv qualifier overloads.
8998 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8999 "lvalue reference overload" test.
9000 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9001 "print value of f1 on Child&& in f2" test.
9002
3a3fd0fd
PA
90032017-04-19 Pedro Alves <palves@redhat.com>
9004
9005 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9006 procedure.
9007 (top level): Call it.
9008 * lib/gdb.exp (gdb_define_cmd): New procedure.
9009
53375380
PA
90102017-04-12 Pedro Alves <palves@redhat.com>
9011
9012 PR gdb/21323
9013 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9014 (wchar): New global.
9015 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9016 (do_test_wide_char, wide_char_types_no_program, top level): Add
9017 wchar_t testing.
9018
53e710ac
PA
90192017-04-12 Pedro Alves <palves@redhat.com>
9020
9021 PR c++/21323
9022 * gdb.cp/wide_char_types.c: New file.
9023 * gdb.cp/wide_char_types.exp: New file.
9024
0ad9d8c7
SDJ
90252017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9026
9027 PR gdb/21352
9028 * gdb.trace/tsv.exp: Add test for "tsave -r".
9029
b1b45502
IB
90302017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9031
9032 * gdb.dlang/watch-loc.c: New file.
9033 * gdb.dlang/watch-loc.exp: New file.
9034
ec13808e
JK
90352017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9036
9037 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9038
fe5f7374
AK
90392017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9040
9041 * gdb.arch/arc-analyze-prologue.S: New file.
9042 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9043
eea78757
AK
90442017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9045
9046 * gdb.arch/arc-decode-insn.S: New file.
9047 * gdb.arch/arc-decode-insn.exp: Likewise.
9048
5badf10a
IR
90492017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9050
9051 PR tdep/20928
9052 * gdb.arch/sparc64-regs.exp: New file.
9053 * gdb.arch/sparc64-regs.S: Likewise.
9054
cee59b3f
TW
90552017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9056
9057 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9058 and memory view on Python 3.
9059
c0f55cc6
AV
90602017-03-20 Artemiy Volkov <artemiyv@acm.org>
9061 Keith Seitz <keiths@redhat.com>
9062
9063 PR gdb/14441
9064 * gdb.cp/demangle.exp: Add rvalue reference tests.
9065 * gdb.cp/rvalue-ref-casts.cc: New file.
9066 * gdb.cp/rvalue-ref-casts.exp: New file.
9067 * gdb.cp/rvalue-ref-overload.cc: New file.
9068 * gdb.cp/rvalue-ref-overload.exp: New file.
9069 * gdb.cp/rvalue-ref-params.cc: New file.
9070 * gdb.cp/rvalue-ref-params.exp: New file.
9071 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9072 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9073 * gdb.cp/rvalue-ref-types.cc: New file.
9074 * gdb.cp/rvalue-ref-types.exp: New file.
9075 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9076 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9077
51457a05
MAL
90782017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9079
9080 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9081 New procedure.
9082
5b291c04
MAL
90832017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9084
9085 * lib/mi-support.exp (mi_gdb_test): Add additional message
9086 for unexpected output.
9087
59a56148
AA
90882017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9089
9090 * gdb.base/examine-backward.c (Barrier): New character array
9091 constant, to ensure that TestStrings is preceded by a string
9092 terminator.
9093
7942e96e
AA
90942017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9095
9096 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9097 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9098 and implicit pointer into such a location.
9099
6ebac3fb
DE
91002017-03-16 Doug Evans <dje@google.com>
9101
9102 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9103
ec3b243d
TP
91042017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9105
9106 * gdb.cp/m-static.exp: Fix expectation for prototype of
9107 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
9108
91092017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
9110
9111 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9112 * gdb.guile/scm-lazy-string.c: New file.
9113 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9114 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9115 for pointer, array, typedef lazy strings.
9116
2cc36e25 91172017-03-16 Doug Evans <dje@google.com>
34b43320
DE
9118
9119 PR python/17728, python/18439, python/18779
9120 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9121 * gdb.python/py-lazy-string.c (pointer): New typedef.
9122 (main): New locals ptr, array, typedef_ptr.
9123 * gdb.python/py-value.exp: Move lazy string tests to ...
9124 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9125 array, typedef lazy strings.
ec3b243d 9126
0efcde63
AK
91272017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9128
9129 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9130 Add optional 'test' parameter.
9131
7978d7c3
SM
91322017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9133
9134 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9135 Skip for versions of DejaGnu < 1.5.
9136
896c0c1e
SM
91372017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9138
9139 * lib/gdb.exp (dejagnu_version): New proc.
9140 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9141 Use dejagnu_version.
9142
5f4d1085
KS
91432017-03-10 Keith Seitz <keiths@redhat.com>
9144
9145 PR c++/8128
9146 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9147 type from destructor regexps.
9148 Add a branch which actually passes the test.
9149 Adjust "ptype t5i" test names.
9150
1de05205
PA
91512017-03-08 Pedro Alves <palves@redhat.com>
9152
9153 * gdb.base/step-over-exit.exp: Add explicit test message.
9154
c65d6b55
PA
91552017-03-08 Pedro Alves <palves@redhat.com>
9156
9157 PR gdb/18360
9158 * gdb.threads/interrupt-while-step-over.c: New file.
9159 * gdb.threads/interrupt-while-step-over.exp: New file.
9160
2e86a283
PA
91612017-03-08 Pedro Alves <palves@redhat.com>
9162
9163 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9164 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9165
25dcbff6
PA
91662017-03-08 Pedro Alves <palves@redhat.com>
9167
9168 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9169 PKRU as not supported as a PASS.
9170
dc9366eb
PA
91712017-03-08 Pedro Alves <palves@redhat.com>
9172
9173 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9174 prefix instead of $binfile1/$binfile2.
9175 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9176 in test message.
9177 * gdb.python/py-completion.exp: Use "load python file" as test
9178 messages instead of unstable path names.
9179
6e5d74e7
PA
91802017-03-08 Pedro Alves <palves@redhat.com>
9181 Jan Kratochvil <jan.kratochvil@redhat.com>
9182
9183 PR cli/21218
9184 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9185 New proc.
9186 (top level): Call it.
9187
9753a2f6
PA
91882017-03-08 Pedro Alves <palves@redhat.com>
9189
9190 PR tui/21216
9191 * gdb.tui/tui-nl-filtered-output.exp: New file.
9192
1a4dd9dd
PA
91932017-03-08 Pedro Alves <palves@redhat.com>
9194
9195 * gdb.base/completion.exp: Move TUI completion tests to ...
9196 * gdb.tui/completion.exp: ... this new file.
9197
7cbbff33
PA
91982017-03-08 Pedro Alves <palves@redhat.com>
9199
9200 * gdb.base/tui-disasm-long-lines.c,
9201 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9202 gdb.base/tui-layout.exp: Move to ...
9203 * gdb.tui/: ... this new directory.
9204
5f6fd321
PA
92052017-03-07 Pedro Alves <palves@redhat.com>
9206
9207 * gdb.base/tui-layout.c: New file.
9208 * gdb.base/tui-layout.exp: New file.
9209
44959fa8
PA
92102017-03-07 Pedro Alves <palves@redhat.com>
9211
9212 * gdb.base/tui-layout.c: Rename to ...
9213 * gdb.base/tui-disasm-long-lines.c: ... this.
9214 * gdb.base/tui-layout.exp: Rename to ...
9215 * gdb.base/tui-disasm-long-lines.exp: ... this.
9216
f8c4e718
PA
92172017-03-07 Pedro Alves <palves@redhat.com>
9218
9219 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9220
6dbb839a 92212017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
9222
9223 * i386-mpx-call.c: New file.
9224 * i386-mpx-call.exp: New file.
9225
65b48a81
PB
92262017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9227
9228 * gdb.arch/powerpc-power.exp: Delete test.
9229 * gdb.arch/powerpc-power.s: Likewise.
9230 * gdb.disasm/disassembler-options.exp: New test.
9231 * gdb.arch/powerpc-altivec.exp: Likewise.
9232 * gdb.arch/powerpc-altivec.s: Likewise.
9233 * gdb.arch/powerpc-altivec2.exp: Likewise.
9234 * gdb.arch/powerpc-altivec2.s: Likewise.
9235 * gdb.arch/powerpc-altivec3.exp: Likewise.
9236 * gdb.arch/powerpc-altivec3.s: Likewise.
9237 * gdb.arch/powerpc-power7.exp: Likewise.
9238 * gdb.arch/powerpc-power7.s: Likewise.
9239 * gdb.arch/powerpc-power8.exp: Likewise.
9240 * gdb.arch/powerpc-power8.s: Likewise.
9241 * gdb.arch/powerpc-power9.exp: Likewise.
9242 * gdb.arch/powerpc-power9.s: Likewise.
9243 * gdb.arch/powerpc-vsx.exp: Likewise.
9244 * gdb.arch/powerpc-vsx.s: Likewise.
9245 * gdb.arch/powerpc-vsx2.exp: Likewise.
9246 * gdb.arch/powerpc-vsx2.s: Likewise.
9247 * gdb.arch/powerpc-vsx3.exp: Likewise.
9248 * gdb.arch/powerpc-vsx3.s: Likewise.
9249 * gdb.arch/arm-disassembler-options.exp: Likewise.
9250 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9251 * gdb.arch/s390-disassembler-options.exp: Likewise.
9252
17cd4947
LM
92532017-02-23 Luis Machado <lgustavo@codesourcery.com>
9254
9255 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9256 (check_supported_features): ... this. Changed return type to void.
9257 (supports_rdseed): New static global.
9258 (rdseed): Check supports_rdseed.
9259 (initialize): Call check_supported_features.
9260
2039d74e
EBM
92612017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9262
9263 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9264 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9265 and lqarx/stqcx.
9266 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9267 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9268
a51d7ecf
EBM
92692017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9270
9271 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9272 uppercase.
9273
0224619f
JK
92742017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9275
9276 * gdb.dwarf2/formdata16.c: New file.
9277 * gdb.dwarf2/formdata16.exp: New file.
9278 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9279
216f72a1
JK
92802017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9281
9282 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9283 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9284 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9285 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9286 DW_AT_GNU_*.
9287
43988095
JK
92882017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9289
9290 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9291
99e8a4f9
SDJ
92922017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9293
9294 PR gdb/21164
9295 * gdb.base/maint.exp: Add testcases for when the commands do
9296 not have arguments.
9297
b58a8c0c
TP
92982017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9299
9300 * gdb.cp/chained-calls.exp: Use p instead of P.
9301
4e746bb6
TW
93022017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9303
9304 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9305 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9306
3f77c769
TT
93072017-02-14 Tom Tromey <tom@tromey.com>
9308
9309 PR python/13598:
9310 * gdb.python/py-events.exp: Add before_prompt event tests.
9311
075beec0
AA
93122017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9313
9314 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9315
bf5f525c
LM
93162017-02-13 Luis Machado <lgustavo@codesourcery.com>
9317
9318 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9319 (main): Call my_unique_function_name.
9320 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9321 completion of patterns with a single match.
9322 Add missing -re switches to gdb_test_multiple calls.
9323
13a66184
LM
93242017-02-13 Luis Machado <lgustavo@codesourcery.com>
9325
9326 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9327 return if core file is not recognized.
9328
26a06916
SM
93292017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9330
9331 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9332 and extra UIs.
9333
b761ca9e
SM
93342017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9335
9336 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9337 proc_with_prefix.
9338
b964bee0
TT
93392017-02-10 Tom Tromey <tom@tromey.com>
9340
9341 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9342
18da0c51
MG
93432017-02-10 Martin Galvan <martingalvan@sourceware.org>
9344
9345 PR gdb/21122
9346 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9347
604c4576
JG
93482017-02-08 Jerome Guitton <guitton@adacore.com>
9349
9350 * gdb.base/define.exp: Add test for command abbreviations
9351 in define.
9352
20b477a7
LM
93532017-02-06 Luis Machado <lgustavo@codesourcery.com>
9354
9355 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9356 * gdb.reverse/insn-reverse-x86.c: New file.
9357
3f7b46f2
IR
93582017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9359
9360 PR tdep/20936
9361 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9362
f0fd41c1
TT
93632017-02-03 Tom Tromey <tom@tromey.com>
9364
9365 PR rust/21097:
9366 * gdb.rust/simple.exp: Add new tests.
9367
5be5dbf0
PA
93682017-02-02 Pedro Alves <palves@redhat.com>
9369
9370 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9371 tests.
9372
7346ef59
AA
93732017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9374
9375 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9376 taking a 2-byte value out of a 4-byte DWARF implicit value on
9377 big-endian targets.
9378 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9379 logic. Add test cases for DW_OP_implicit.
9380
787f0025
MM
93812017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9382
9383 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9384
68777c29
MM
93852017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9386
9387 * gdb.btrace/enable.exp: Call gdb_exit before
9388 skip_gdbserver_tests.
9389
0a1c7e28
MM
93902017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9391
9392 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9393 GDBFLAGS.
9394
b5ac99b0
MM
93952017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9396
9397 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9398 the test is skipped.
9399 * gdb.btrace/data.exp: Likewise.
9400 * gdb.btrace/delta.exp: Likewise.
9401 * gdb.btrace/dlopen.exp: Likewise.
9402 * gdb.btrace/enable-running.exp: Likewise.
9403 * gdb.btrace/enable.exp: Likewise.
9404 * gdb.btrace/exception.exp: Likewise.
9405 * gdb.btrace/function_call_history.exp: Likewise.
9406 * gdb.btrace/gcore.exp: Likewise.
9407 * gdb.btrace/instruction_history.exp: Likewise.
9408 * gdb.btrace/multi-thread-step.exp: Likewise.
9409 * gdb.btrace/nohist.exp: Likewise.
9410 * gdb.btrace/non-stop.exp: Likewise.
9411 * gdb.btrace/reconnect.exp: Likewise.
9412 * gdb.btrace/record_goto-step.exp: Likewise.
9413 * gdb.btrace/record_goto.exp: Likewise.
9414 * gdb.btrace/rn-dl-bind.exp: Likewise.
9415 * gdb.btrace/segv.exp: Likewise.
9416 * gdb.btrace/step.exp: Likewise.
9417 * gdb.btrace/stepi.exp: Likewise.
9418 * gdb.btrace/tailcall-only.exp: Likewise.
9419 * gdb.btrace/tailcall.exp: Likewise.
9420 * gdb.btrace/tsx.exp: Likewise.
9421 * gdb.btrace/unknown_functions.exp: Likewise.
9422 * gdb.btrace/vdso.exp: Likewise.
9423
cd4007e4
MM
94242017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9425
9426 * gdb.btrace/enable-running.c: New.
9427 * gdb.btrace/enable-running.exp: New.
9428
2735833d
WT
94292017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9430
9431 * gdb.arch/amd64-gs_base.c: New file.
9432 * gdb.arch/amd64-gs_base.exp: New file.
9433
b51e1e94
LM
94342017-01-26 Luis Machado <lgustavo@codesourcery.com>
9435
9436 * lib/memory.exp: Remove spurious empty newlines.
9437
72ca0410
SM
94382017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9439
9440 * gdb.python/py-bad-printers.exp: Load python file using "source".
9441 * gdb.python/py-events.exp: Likewise.
9442 * gdb.python/py-evsignal.exp: Likewise.
9443 * gdb.python/py-evthreads.exp: Likewise.
9444 * gdb.python/py-frame-args.exp: Likewise.
9445 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9446 * gdb.python/py-framefilter-mi.exp: Likewise.
9447 * gdb.python/py-framefilter.exp: Likewise.
9448 * gdb.python/py-mi.exp: Likewise.
9449 * gdb.python/py-pp-maint.exp: Likewise.
9450 * gdb.python/py-pp-registration.exp: Likewise.
9451 * gdb.python/py-prettyprint.exp: Likewise.
9452 (run_lang_tests): Likewise.
9453 * gdb.python/py-typeprint.exp: Likewise.
9454
e309aa65
LM
94552017-01-26 Luis Machado <lgustavo@codesourcery.com>
9456
9457 * lib/memory.exp: New file.
9458 * lib/gdb.exp: Load memory.exp.
9459 * gdb.base/memattr.exp (delete_memory): Move proc to
9460 lib/memory.exp and rename to delete_memory_regions.
9461 Replace delete_memory with delete_memory_regions.
9462 Cleanup memory regions before tests.
9463 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9464 before tests.
9465
515aff23
LM
94662017-01-26 Luis Machado <lgustavo@codesourcery.com>
9467
9468 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9469 files.
9470 (initialize): New function conditionally defined.
9471 (testcases): Move within conditional block.
9472 (main): Call initialize.
9473 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9474 of gdb.reverse/insn-reverse.c.
9475 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9476 gdb.reverse/insn-reverse.c.
9477
d8b49cf0
YQ
94782017-01-26 Yao Qi <yao.qi@linaro.org>
9479
9480 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9481 disassemble on address 0.
9482
f13a9a0c
YQ
94832017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9484 Yao Qi <yao.qi@linaro.org>
9485
9486 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9487 * gdb.dwarf2/implptr-64bit.S: Remove.
9488 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9489 variables in caller's context. Add DW_OP_implicit_value.
9490
5ac95241
YQ
94912017-01-25 Yao Qi <yao.qi@linaro.org>
9492
9493 * lib/dwarf.exp (Dwarf::_location): Handle
9494 DW_OP_GNU_implicit_pointer with proper size.
9495
23e82930
LM
94962017-01-20 Luis Machado <lgustavo@codesourcery.com>
9497
9498 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9499 and add untested calls.
9500
d334ae25
LM
95012017-01-20 Luis Machado <lgustavo@codesourcery.com>
9502
9503 * gdb.python/python.exp: Check line number against what GDB thinks
9504 the line number is for func1.
9505
f5e6296e
IB
95062017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9507
9508 * gdb.dlang/debug-expr.exp: New file.
9509
5b362f04
LM
95102016-12-23 Luis Machado <lgustavo@codesourcery.com>
9511
9512 Fix test names for the following files:
9513
9514 * gdb.ada/exec_changed.exp
9515 * gdb.ada/info_types.exp
9516 * gdb.arch/aarch64-atomic-inst.exp
9517 * gdb.arch/aarch64-fp.exp
9518 * gdb.arch/altivec-abi.exp
9519 * gdb.arch/altivec-regs.exp
9520 * gdb.arch/amd64-byte.exp
9521 * gdb.arch/amd64-disp-step.exp
9522 * gdb.arch/amd64-dword.exp
9523 * gdb.arch/amd64-entry-value-inline.exp
9524 * gdb.arch/amd64-entry-value-param.exp
9525 * gdb.arch/amd64-entry-value-paramref.exp
9526 * gdb.arch/amd64-entry-value.exp
9527 * gdb.arch/amd64-i386-address.exp
9528 * gdb.arch/amd64-invalid-stack-middle.exp
9529 * gdb.arch/amd64-invalid-stack-top.exp
9530 * gdb.arch/amd64-optimout-repeat.exp
9531 * gdb.arch/amd64-prologue-skip.exp
9532 * gdb.arch/amd64-prologue-xmm.exp
9533 * gdb.arch/amd64-stap-special-operands.exp
9534 * gdb.arch/amd64-stap-wrong-subexp.exp
9535 * gdb.arch/amd64-tailcall-cxx.exp
9536 * gdb.arch/amd64-tailcall-noret.exp
9537 * gdb.arch/amd64-tailcall-ret.exp
9538 * gdb.arch/amd64-tailcall-self.exp
9539 * gdb.arch/amd64-word.exp
9540 * gdb.arch/arm-bl-branch-dest.exp
9541 * gdb.arch/arm-disp-step.exp
9542 * gdb.arch/arm-neon.exp
9543 * gdb.arch/arm-single-step-kernel-helper.exp
9544 * gdb.arch/avr-flash-qualifier.exp
9545 * gdb.arch/disp-step-insn-reloc.exp
9546 * gdb.arch/e500-abi.exp
9547 * gdb.arch/e500-regs.exp
9548 * gdb.arch/ftrace-insn-reloc.exp
9549 * gdb.arch/i386-avx512.exp
9550 * gdb.arch/i386-bp_permanent.exp
9551 * gdb.arch/i386-byte.exp
9552 * gdb.arch/i386-cfi-notcurrent.exp
9553 * gdb.arch/i386-disp-step.exp
9554 * gdb.arch/i386-dr3-watch.exp
9555 * gdb.arch/i386-float.exp
9556 * gdb.arch/i386-gnu-cfi.exp
9557 * gdb.arch/i386-mpx-map.exp
9558 * gdb.arch/i386-mpx-sigsegv.exp
9559 * gdb.arch/i386-mpx-simple_segv.exp
9560 * gdb.arch/i386-mpx.exp
9561 * gdb.arch/i386-permbkpt.exp
9562 * gdb.arch/i386-prologue.exp
9563 * gdb.arch/i386-signal.exp
9564 * gdb.arch/i386-size-overlap.exp
9565 * gdb.arch/i386-unwind.exp
9566 * gdb.arch/i386-word.exp
9567 * gdb.arch/mips-fcr.exp
9568 * gdb.arch/powerpc-d128-regs.exp
9569 * gdb.arch/powerpc-stackless.exp
9570 * gdb.arch/ppc64-atomic-inst.exp
9571 * gdb.arch/s390-stackless.exp
9572 * gdb.arch/s390-tdbregs.exp
9573 * gdb.arch/s390-vregs.exp
9574 * gdb.arch/sparc-sysstep.exp
9575 * gdb.arch/thumb-bx-pc.exp
9576 * gdb.arch/thumb-singlestep.exp
9577 * gdb.arch/thumb2-it.exp
9578 * gdb.arch/vsx-regs.exp
9579 * gdb.asm/asm-source.exp
9580 * gdb.base/a2-run.exp
9581 * gdb.base/advance.exp
9582 * gdb.base/all-bin.exp
9583 * gdb.base/anon.exp
9584 * gdb.base/args.exp
9585 * gdb.base/arithmet.exp
9586 * gdb.base/async-shell.exp
9587 * gdb.base/async.exp
9588 * gdb.base/attach-pie-noexec.exp
9589 * gdb.base/attach-twice.exp
9590 * gdb.base/auto-load.exp
9591 * gdb.base/bang.exp
9592 * gdb.base/bitfields.exp
9593 * gdb.base/break-always.exp
9594 * gdb.base/break-caller-line.exp
9595 * gdb.base/break-entry.exp
9596 * gdb.base/break-inline.exp
9597 * gdb.base/break-on-linker-gcd-function.exp
9598 * gdb.base/break-probes.exp
9599 * gdb.base/break.exp
9600 * gdb.base/breakpoint-shadow.exp
9601 * gdb.base/call-ar-st.exp
9602 * gdb.base/call-sc.exp
9603 * gdb.base/call-signal-resume.exp
9604 * gdb.base/call-strs.exp
9605 * gdb.base/callfuncs.exp
9606 * gdb.base/catch-fork-static.exp
9607 * gdb.base/catch-gdb-caused-signals.exp
9608 * gdb.base/catch-load.exp
9609 * gdb.base/catch-signal-fork.exp
9610 * gdb.base/catch-signal.exp
9611 * gdb.base/catch-syscall.exp
9612 * gdb.base/charset.exp
9613 * gdb.base/checkpoint.exp
9614 * gdb.base/chng-syms.exp
9615 * gdb.base/code-expr.exp
9616 * gdb.base/code_elim.exp
9617 * gdb.base/commands.exp
9618 * gdb.base/completion.exp
9619 * gdb.base/complex.exp
9620 * gdb.base/cond-expr.exp
9621 * gdb.base/condbreak.exp
9622 * gdb.base/consecutive.exp
9623 * gdb.base/continue-all-already-running.exp
9624 * gdb.base/coredump-filter.exp
9625 * gdb.base/corefile.exp
9626 * gdb.base/dbx.exp
9627 * gdb.base/debug-expr.exp
9628 * gdb.base/define.exp
9629 * gdb.base/del.exp
9630 * gdb.base/disabled-location.exp
9631 * gdb.base/disasm-end-cu.exp
9632 * gdb.base/disasm-optim.exp
9633 * gdb.base/display.exp
9634 * gdb.base/duplicate-bp.exp
9635 * gdb.base/ena-dis-br.exp
9636 * gdb.base/ending-run.exp
9637 * gdb.base/enumval.exp
9638 * gdb.base/environ.exp
9639 * gdb.base/eu-strip-infcall.exp
9640 * gdb.base/eval-avoid-side-effects.exp
9641 * gdb.base/eval-skip.exp
9642 * gdb.base/exitsignal.exp
9643 * gdb.base/expand-psymtabs.exp
9644 * gdb.base/filesym.exp
9645 * gdb.base/find-unmapped.exp
9646 * gdb.base/finish.exp
9647 * gdb.base/float.exp
9648 * gdb.base/foll-exec-mode.exp
9649 * gdb.base/foll-exec.exp
9650 * gdb.base/foll-fork.exp
9651 * gdb.base/fortran-sym-case.exp
9652 * gdb.base/freebpcmd.exp
9653 * gdb.base/func-ptr.exp
9654 * gdb.base/func-ptrs.exp
9655 * gdb.base/funcargs.exp
9656 * gdb.base/gcore-buffer-overflow.exp
9657 * gdb.base/gcore-relro-pie.exp
9658 * gdb.base/gcore-relro.exp
9659 * gdb.base/gcore.exp
9660 * gdb.base/gdb1090.exp
9661 * gdb.base/gdb11530.exp
9662 * gdb.base/gdb11531.exp
9663 * gdb.base/gdb1821.exp
9664 * gdb.base/gdbindex-stabs.exp
9665 * gdb.base/gdbvars.exp
9666 * gdb.base/hbreak.exp
9667 * gdb.base/hbreak2.exp
9668 * gdb.base/included.exp
9669 * gdb.base/infcall-input.exp
9670 * gdb.base/inferior-died.exp
9671 * gdb.base/infnan.exp
9672 * gdb.base/info-macros.exp
9673 * gdb.base/info-os.exp
9674 * gdb.base/info-proc.exp
9675 * gdb.base/info-shared.exp
9676 * gdb.base/info-target.exp
9677 * gdb.base/infoline.exp
9678 * gdb.base/interp.exp
9679 * gdb.base/interrupt.exp
9680 * gdb.base/jit-reader.exp
9681 * gdb.base/jit-simple.exp
9682 * gdb.base/kill-after-signal.exp
9683 * gdb.base/kill-detach-inferiors-cmd.exp
9684 * gdb.base/label.exp
9685 * gdb.base/langs.exp
9686 * gdb.base/ldbl_e308.exp
9687 * gdb.base/line-symtabs.exp
9688 * gdb.base/linespecs.exp
9689 * gdb.base/list.exp
9690 * gdb.base/long_long.exp
9691 * gdb.base/longest-types.exp
9692 * gdb.base/maint.exp
9693 * gdb.base/max-value-size.exp
9694 * gdb.base/memattr.exp
9695 * gdb.base/mips_pro.exp
9696 * gdb.base/morestack.exp
9697 * gdb.base/moribund-step.exp
9698 * gdb.base/multi-forks.exp
9699 * gdb.base/nested-addr.exp
9700 * gdb.base/nextoverexit.exp
9701 * gdb.base/noreturn-finish.exp
9702 * gdb.base/noreturn-return.exp
9703 * gdb.base/nostdlib.exp
9704 * gdb.base/offsets.exp
9705 * gdb.base/opaque.exp
9706 * gdb.base/pc-fp.exp
9707 * gdb.base/permissions.exp
9708 * gdb.base/print-symbol-loading.exp
9709 * gdb.base/prologue-include.exp
9710 * gdb.base/psymtab.exp
9711 * gdb.base/ptype.exp
9712 * gdb.base/random-signal.exp
9713 * gdb.base/randomize.exp
9714 * gdb.base/range-stepping.exp
9715 * gdb.base/readline-ask.exp
9716 * gdb.base/recpar.exp
9717 * gdb.base/recurse.exp
9718 * gdb.base/relational.exp
9719 * gdb.base/restore.exp
9720 * gdb.base/return-nodebug.exp
9721 * gdb.base/return.exp
9722 * gdb.base/run-after-attach.exp
9723 * gdb.base/save-bp.exp
9724 * gdb.base/scope.exp
9725 * gdb.base/sect-cmd.exp
9726 * gdb.base/set-lang-auto.exp
9727 * gdb.base/set-noassign.exp
9728 * gdb.base/setvar.exp
9729 * gdb.base/sigall.exp
9730 * gdb.base/sigbpt.exp
9731 * gdb.base/siginfo-addr.exp
9732 * gdb.base/siginfo-infcall.exp
9733 * gdb.base/siginfo-obj.exp
9734 * gdb.base/siginfo.exp
9735 * gdb.base/signals-state-child.exp
9736 * gdb.base/signest.exp
9737 * gdb.base/sigstep.exp
9738 * gdb.base/sizeof.exp
9739 * gdb.base/skip.exp
9740 * gdb.base/solib-corrupted.exp
9741 * gdb.base/solib-nodir.exp
9742 * gdb.base/solib-search.exp
9743 * gdb.base/stack-checking.exp
9744 * gdb.base/stale-infcall.exp
9745 * gdb.base/stap-probe.exp
9746 * gdb.base/start.exp
9747 * gdb.base/step-break.exp
9748 * gdb.base/step-bt.exp
9749 * gdb.base/step-line.exp
9750 * gdb.base/step-over-exit.exp
9751 * gdb.base/step-over-syscall.exp
9752 * gdb.base/step-resume-infcall.exp
9753 * gdb.base/step-test.exp
9754 * gdb.base/store.exp
9755 * gdb.base/structs3.exp
9756 * gdb.base/sym-file.exp
9757 * gdb.base/symbol-without-target_section.exp
9758 * gdb.base/term.exp
9759 * gdb.base/testenv.exp
9760 * gdb.base/ui-redirect.exp
9761 * gdb.base/until.exp
9762 * gdb.base/unwindonsignal.exp
9763 * gdb.base/value-double-free.exp
9764 * gdb.base/vla-datatypes.exp
9765 * gdb.base/vla-ptr.exp
9766 * gdb.base/vla-sideeffect.exp
9767 * gdb.base/volatile.exp
9768 * gdb.base/watch-cond-infcall.exp
9769 * gdb.base/watch-cond.exp
9770 * gdb.base/watch-non-mem.exp
9771 * gdb.base/watch-read.exp
9772 * gdb.base/watch-vfork.exp
9773 * gdb.base/watchpoint-cond-gone.exp
9774 * gdb.base/watchpoint-delete.exp
9775 * gdb.base/watchpoint-hw-hit-once.exp
9776 * gdb.base/watchpoint-hw.exp
9777 * gdb.base/watchpoint-stops-at-right-insn.exp
9778 * gdb.base/watchpoints.exp
9779 * gdb.base/wchar.exp
9780 * gdb.base/whatis-exp.exp
9781 * gdb.btrace/buffer-size.exp
9782 * gdb.btrace/data.exp
9783 * gdb.btrace/delta.exp
9784 * gdb.btrace/dlopen.exp
9785 * gdb.btrace/enable.exp
9786 * gdb.btrace/exception.exp
9787 * gdb.btrace/function_call_history.exp
9788 * gdb.btrace/gcore.exp
9789 * gdb.btrace/instruction_history.exp
9790 * gdb.btrace/nohist.exp
9791 * gdb.btrace/reconnect.exp
9792 * gdb.btrace/record_goto-step.exp
9793 * gdb.btrace/record_goto.exp
9794 * gdb.btrace/rn-dl-bind.exp
9795 * gdb.btrace/segv.exp
9796 * gdb.btrace/step.exp
9797 * gdb.btrace/stepi.exp
9798 * gdb.btrace/tailcall-only.exp
9799 * gdb.btrace/tailcall.exp
9800 * gdb.btrace/tsx.exp
9801 * gdb.btrace/unknown_functions.exp
9802 * gdb.btrace/vdso.exp
9803 * gdb.compile/compile-ifunc.exp
9804 * gdb.compile/compile-ops.exp
9805 * gdb.compile/compile-print.exp
9806 * gdb.compile/compile-setjmp.exp
9807 * gdb.cp/abstract-origin.exp
9808 * gdb.cp/ambiguous.exp
9809 * gdb.cp/annota2.exp
9810 * gdb.cp/annota3.exp
9811 * gdb.cp/anon-ns.exp
9812 * gdb.cp/anon-struct.exp
9813 * gdb.cp/anon-union.exp
9814 * gdb.cp/arg-reference.exp
9815 * gdb.cp/baseenum.exp
9816 * gdb.cp/bool.exp
9817 * gdb.cp/breakpoint.exp
9818 * gdb.cp/bs15503.exp
9819 * gdb.cp/call-c.exp
9820 * gdb.cp/casts.exp
9821 * gdb.cp/chained-calls.exp
9822 * gdb.cp/class2.exp
9823 * gdb.cp/classes.exp
9824 * gdb.cp/cmpd-minsyms.exp
9825 * gdb.cp/converts.exp
9826 * gdb.cp/cp-relocate.exp
9827 * gdb.cp/cpcompletion.exp
9828 * gdb.cp/cpexprs.exp
9829 * gdb.cp/cplabel.exp
9830 * gdb.cp/cplusfuncs.exp
9831 * gdb.cp/cpsizeof.exp
9832 * gdb.cp/ctti.exp
9833 * gdb.cp/derivation.exp
9834 * gdb.cp/destrprint.exp
9835 * gdb.cp/dispcxx.exp
9836 * gdb.cp/enum-class.exp
9837 * gdb.cp/exception.exp
9838 * gdb.cp/exceptprint.exp
9839 * gdb.cp/expand-psymtabs-cxx.exp
9840 * gdb.cp/expand-sals.exp
9841 * gdb.cp/extern-c.exp
9842 * gdb.cp/filename.exp
9843 * gdb.cp/formatted-ref.exp
9844 * gdb.cp/fpointer.exp
9845 * gdb.cp/gdb1355.exp
9846 * gdb.cp/gdb2495.exp
9847 * gdb.cp/hang.exp
9848 * gdb.cp/impl-this.exp
9849 * gdb.cp/infcall-dlopen.exp
9850 * gdb.cp/inherit.exp
9851 * gdb.cp/iostream.exp
9852 * gdb.cp/koenig.exp
9853 * gdb.cp/local.exp
9854 * gdb.cp/m-data.exp
9855 * gdb.cp/m-static.exp
9856 * gdb.cp/mb-ctor.exp
9857 * gdb.cp/mb-inline.exp
9858 * gdb.cp/mb-templates.exp
9859 * gdb.cp/member-name.exp
9860 * gdb.cp/member-ptr.exp
9861 * gdb.cp/meth-typedefs.exp
9862 * gdb.cp/method.exp
9863 * gdb.cp/method2.exp
9864 * gdb.cp/minsym-fallback.exp
9865 * gdb.cp/misc.exp
9866 * gdb.cp/namelessclass.exp
9867 * gdb.cp/namespace-enum.exp
9868 * gdb.cp/namespace-nested-import.exp
9869 * gdb.cp/namespace.exp
9870 * gdb.cp/nextoverthrow.exp
9871 * gdb.cp/no-dmgl-verbose.exp
9872 * gdb.cp/non-trivial-retval.exp
9873 * gdb.cp/noparam.exp
9874 * gdb.cp/nsdecl.exp
9875 * gdb.cp/nsimport.exp
9876 * gdb.cp/nsnested.exp
9877 * gdb.cp/nsnoimports.exp
9878 * gdb.cp/nsrecurs.exp
9879 * gdb.cp/nsstress.exp
9880 * gdb.cp/nsusing.exp
9881 * gdb.cp/operator.exp
9882 * gdb.cp/oranking.exp
9883 * gdb.cp/overload-const.exp
9884 * gdb.cp/overload.exp
9885 * gdb.cp/ovldbreak.exp
9886 * gdb.cp/ovsrch.exp
9887 * gdb.cp/paren-type.exp
9888 * gdb.cp/parse-lang.exp
9889 * gdb.cp/pass-by-ref.exp
9890 * gdb.cp/pr-1023.exp
9891 * gdb.cp/pr-1210.exp
9892 * gdb.cp/pr-574.exp
9893 * gdb.cp/pr10687.exp
9894 * gdb.cp/pr12028.exp
9895 * gdb.cp/pr17132.exp
9896 * gdb.cp/pr17494.exp
9897 * gdb.cp/pr9067.exp
9898 * gdb.cp/pr9167.exp
9899 * gdb.cp/pr9631.exp
9900 * gdb.cp/printmethod.exp
9901 * gdb.cp/psmang.exp
9902 * gdb.cp/psymtab-parameter.exp
9903 * gdb.cp/ptype-cv-cp.exp
9904 * gdb.cp/ptype-flags.exp
9905 * gdb.cp/re-set-overloaded.exp
9906 * gdb.cp/ref-types.exp
9907 * gdb.cp/rtti.exp
9908 * gdb.cp/scope-err.exp
9909 * gdb.cp/shadow.exp
9910 * gdb.cp/smartp.exp
9911 * gdb.cp/static-method.exp
9912 * gdb.cp/static-print-quit.exp
9913 * gdb.cp/temargs.exp
9914 * gdb.cp/templates.exp
9915 * gdb.cp/try_catch.exp
9916 * gdb.cp/typedef-operator.exp
9917 * gdb.cp/typeid.exp
9918 * gdb.cp/userdef.exp
9919 * gdb.cp/using-crash.exp
9920 * gdb.cp/var-tag.exp
9921 * gdb.cp/virtbase.exp
9922 * gdb.cp/virtfunc.exp
9923 * gdb.cp/virtfunc2.exp
9924 * gdb.cp/vla-cxx.exp
9925 * gdb.disasm/t01_mov.exp
9926 * gdb.disasm/t02_mova.exp
9927 * gdb.disasm/t03_add.exp
9928 * gdb.disasm/t04_sub.exp
9929 * gdb.disasm/t05_cmp.exp
9930 * gdb.disasm/t06_ari2.exp
9931 * gdb.disasm/t07_ari3.exp
9932 * gdb.disasm/t08_or.exp
9933 * gdb.disasm/t09_xor.exp
9934 * gdb.disasm/t10_and.exp
9935 * gdb.disasm/t11_logs.exp
9936 * gdb.disasm/t12_bit.exp
9937 * gdb.disasm/t13_otr.exp
9938 * gdb.dlang/circular.exp
9939 * gdb.dwarf2/arr-stride.exp
9940 * gdb.dwarf2/arr-subrange.exp
9941 * gdb.dwarf2/atomic-type.exp
9942 * gdb.dwarf2/bad-regnum.exp
9943 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9944 * gdb.dwarf2/callframecfa.exp
9945 * gdb.dwarf2/clztest.exp
9946 * gdb.dwarf2/corrupt.exp
9947 * gdb.dwarf2/data-loc.exp
9948 * gdb.dwarf2/dup-psym.exp
9949 * gdb.dwarf2/dw2-anon-mptr.exp
9950 * gdb.dwarf2/dw2-anonymous-func.exp
9951 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9952 * gdb.dwarf2/dw2-bad-unresolved.exp
9953 * gdb.dwarf2/dw2-basic.exp
9954 * gdb.dwarf2/dw2-canonicalize-type.exp
9955 * gdb.dwarf2/dw2-case-insensitive.exp
9956 * gdb.dwarf2/dw2-common-block.exp
9957 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9958 * gdb.dwarf2/dw2-compressed.exp
9959 * gdb.dwarf2/dw2-const.exp
9960 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9961 * gdb.dwarf2/dw2-cu-size.exp
9962 * gdb.dwarf2/dw2-dup-frame.exp
9963 * gdb.dwarf2/dw2-entry-value.exp
9964 * gdb.dwarf2/dw2-icycle.exp
9965 * gdb.dwarf2/dw2-ifort-parameter.exp
9966 * gdb.dwarf2/dw2-inline-break.exp
9967 * gdb.dwarf2/dw2-inline-param.exp
9968 * gdb.dwarf2/dw2-intercu.exp
9969 * gdb.dwarf2/dw2-intermix.exp
9970 * gdb.dwarf2/dw2-lexical-block-bare.exp
9971 * gdb.dwarf2/dw2-linkage-name-trust.exp
9972 * gdb.dwarf2/dw2-minsym-in-cu.exp
9973 * gdb.dwarf2/dw2-noloc.exp
9974 * gdb.dwarf2/dw2-op-call.exp
9975 * gdb.dwarf2/dw2-op-out-param.exp
9976 * gdb.dwarf2/dw2-opt-structptr.exp
9977 * gdb.dwarf2/dw2-param-error.exp
9978 * gdb.dwarf2/dw2-producer.exp
9979 * gdb.dwarf2/dw2-ranges-base.exp
9980 * gdb.dwarf2/dw2-ref-missing-frame.exp
9981 * gdb.dwarf2/dw2-reg-undefined.exp
9982 * gdb.dwarf2/dw2-regno-invalid.exp
9983 * gdb.dwarf2/dw2-restore.exp
9984 * gdb.dwarf2/dw2-restrict.exp
9985 * gdb.dwarf2/dw2-single-line-discriminators.exp
9986 * gdb.dwarf2/dw2-strp.exp
9987 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9988 * gdb.dwarf2/dw2-unresolved.exp
9989 * gdb.dwarf2/dw2-var-zero-addr.exp
9990 * gdb.dwarf2/dw4-sig-types.exp
9991 * gdb.dwarf2/dwz.exp
9992 * gdb.dwarf2/dynarr-ptr.exp
9993 * gdb.dwarf2/enum-type.exp
9994 * gdb.dwarf2/gdb-index.exp
9995 * gdb.dwarf2/implptr-64bit.exp
9996 * gdb.dwarf2/implptr-optimized-out.exp
9997 * gdb.dwarf2/implptr.exp
9998 * gdb.dwarf2/implref-array.exp
9999 * gdb.dwarf2/implref-const.exp
10000 * gdb.dwarf2/implref-global.exp
10001 * gdb.dwarf2/implref-struct.exp
10002 * gdb.dwarf2/mac-fileno.exp
10003 * gdb.dwarf2/main-subprogram.exp
10004 * gdb.dwarf2/member-ptr-forwardref.exp
10005 * gdb.dwarf2/method-ptr.exp
10006 * gdb.dwarf2/missing-sig-type.exp
10007 * gdb.dwarf2/nonvar-access.exp
10008 * gdb.dwarf2/opaque-type-lookup.exp
10009 * gdb.dwarf2/pieces-optimized-out.exp
10010 * gdb.dwarf2/pieces.exp
10011 * gdb.dwarf2/pr10770.exp
10012 * gdb.dwarf2/pr13961.exp
10013 * gdb.dwarf2/staticvirtual.exp
10014 * gdb.dwarf2/subrange.exp
10015 * gdb.dwarf2/symtab-producer.exp
10016 * gdb.dwarf2/trace-crash.exp
10017 * gdb.dwarf2/typeddwarf.exp
10018 * gdb.dwarf2/valop.exp
10019 * gdb.dwarf2/watch-notconst.exp
10020 * gdb.fortran/array-element.exp
10021 * gdb.fortran/charset.exp
10022 * gdb.fortran/common-block.exp
10023 * gdb.fortran/complex.exp
10024 * gdb.fortran/derived-type-function.exp
10025 * gdb.fortran/derived-type.exp
10026 * gdb.fortran/logical.exp
10027 * gdb.fortran/module.exp
10028 * gdb.fortran/multi-dim.exp
10029 * gdb.fortran/nested-funcs.exp
10030 * gdb.fortran/print-formatted.exp
10031 * gdb.fortran/subarray.exp
10032 * gdb.fortran/vla-alloc-assoc.exp
10033 * gdb.fortran/vla-datatypes.exp
10034 * gdb.fortran/vla-history.exp
10035 * gdb.fortran/vla-ptr-info.exp
10036 * gdb.fortran/vla-ptype-sub.exp
10037 * gdb.fortran/vla-ptype.exp
10038 * gdb.fortran/vla-sizeof.exp
10039 * gdb.fortran/vla-type.exp
10040 * gdb.fortran/vla-value-sub-arbitrary.exp
10041 * gdb.fortran/vla-value-sub-finish.exp
10042 * gdb.fortran/vla-value-sub.exp
10043 * gdb.fortran/vla-value.exp
10044 * gdb.fortran/whatis_type.exp
10045 * gdb.go/chan.exp
10046 * gdb.go/handcall.exp
10047 * gdb.go/hello.exp
10048 * gdb.go/integers.exp
10049 * gdb.go/methods.exp
10050 * gdb.go/package.exp
10051 * gdb.go/strings.exp
10052 * gdb.go/types.exp
10053 * gdb.go/unsafe.exp
10054 * gdb.guile/scm-arch.exp
10055 * gdb.guile/scm-block.exp
10056 * gdb.guile/scm-breakpoint.exp
10057 * gdb.guile/scm-cmd.exp
10058 * gdb.guile/scm-disasm.exp
10059 * gdb.guile/scm-equal.exp
10060 * gdb.guile/scm-frame-args.exp
10061 * gdb.guile/scm-frame-inline.exp
10062 * gdb.guile/scm-frame.exp
10063 * gdb.guile/scm-iterator.exp
10064 * gdb.guile/scm-math.exp
10065 * gdb.guile/scm-objfile.exp
10066 * gdb.guile/scm-ports.exp
10067 * gdb.guile/scm-symbol.exp
10068 * gdb.guile/scm-symtab.exp
10069 * gdb.guile/scm-value-cc.exp
10070 * gdb.guile/types-module.exp
10071 * gdb.linespec/break-ask.exp
10072 * gdb.linespec/cpexplicit.exp
10073 * gdb.linespec/explicit.exp
10074 * gdb.linespec/keywords.exp
10075 * gdb.linespec/linespec.exp
10076 * gdb.linespec/ls-dollar.exp
10077 * gdb.linespec/ls-errs.exp
10078 * gdb.linespec/skip-two.exp
10079 * gdb.linespec/thread.exp
10080 * gdb.mi/mi-async.exp
10081 * gdb.mi/mi-basics.exp
10082 * gdb.mi/mi-break.exp
10083 * gdb.mi/mi-catch-load.exp
10084 * gdb.mi/mi-cli.exp
10085 * gdb.mi/mi-cmd-param-changed.exp
10086 * gdb.mi/mi-console.exp
10087 * gdb.mi/mi-detach.exp
10088 * gdb.mi/mi-disassemble.exp
10089 * gdb.mi/mi-eval.exp
10090 * gdb.mi/mi-file-transfer.exp
10091 * gdb.mi/mi-file.exp
10092 * gdb.mi/mi-fill-memory.exp
10093 * gdb.mi/mi-inheritance-syntax-error.exp
10094 * gdb.mi/mi-linespec-err-cp.exp
10095 * gdb.mi/mi-logging.exp
10096 * gdb.mi/mi-memory-changed.exp
10097 * gdb.mi/mi-read-memory.exp
10098 * gdb.mi/mi-record-changed.exp
10099 * gdb.mi/mi-reg-undefined.exp
10100 * gdb.mi/mi-regs.exp
10101 * gdb.mi/mi-return.exp
10102 * gdb.mi/mi-reverse.exp
10103 * gdb.mi/mi-simplerun.exp
10104 * gdb.mi/mi-solib.exp
10105 * gdb.mi/mi-stack.exp
10106 * gdb.mi/mi-stepi.exp
10107 * gdb.mi/mi-syn-frame.exp
10108 * gdb.mi/mi-until.exp
10109 * gdb.mi/mi-var-block.exp
10110 * gdb.mi/mi-var-child.exp
10111 * gdb.mi/mi-var-cmd.exp
10112 * gdb.mi/mi-var-cp.exp
10113 * gdb.mi/mi-var-display.exp
10114 * gdb.mi/mi-var-invalidate.exp
10115 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10116 * gdb.mi/mi-vla-fortran.exp
10117 * gdb.mi/mi-watch.exp
10118 * gdb.mi/mi2-var-child.exp
10119 * gdb.mi/user-selected-context-sync.exp
10120 * gdb.modula2/unbounded-array.exp
10121 * gdb.multi/dummy-frame-restore.exp
10122 * gdb.multi/multi-arch-exec.exp
10123 * gdb.multi/multi-arch.exp
10124 * gdb.multi/tids.exp
10125 * gdb.multi/watchpoint-multi.exp
10126 * gdb.opencl/callfuncs.exp
10127 * gdb.opencl/convs_casts.exp
10128 * gdb.opencl/datatypes.exp
10129 * gdb.opencl/operators.exp
10130 * gdb.opencl/vec_comps.exp
10131 * gdb.opt/clobbered-registers-O2.exp
10132 * gdb.opt/inline-break.exp
10133 * gdb.opt/inline-bt.exp
10134 * gdb.opt/inline-cmds.exp
10135 * gdb.opt/inline-locals.exp
10136 * gdb.pascal/case-insensitive-symbols.exp
10137 * gdb.pascal/floats.exp
10138 * gdb.pascal/gdb11492.exp
10139 * gdb.python/lib-types.exp
10140 * gdb.python/py-arch.exp
10141 * gdb.python/py-as-string.exp
10142 * gdb.python/py-bad-printers.exp
10143 * gdb.python/py-block.exp
10144 * gdb.python/py-breakpoint-create-fail.exp
10145 * gdb.python/py-breakpoint.exp
10146 * gdb.python/py-caller-is.exp
10147 * gdb.python/py-cmd.exp
10148 * gdb.python/py-explore-cc.exp
10149 * gdb.python/py-explore.exp
10150 * gdb.python/py-finish-breakpoint.exp
10151 * gdb.python/py-finish-breakpoint2.exp
10152 * gdb.python/py-frame-args.exp
10153 * gdb.python/py-frame-inline.exp
10154 * gdb.python/py-frame.exp
10155 * gdb.python/py-framefilter-mi.exp
10156 * gdb.python/py-infthread.exp
10157 * gdb.python/py-lazy-string.exp
10158 * gdb.python/py-linetable.exp
10159 * gdb.python/py-mi-events.exp
10160 * gdb.python/py-mi-objfile.exp
10161 * gdb.python/py-mi.exp
10162 * gdb.python/py-objfile.exp
10163 * gdb.python/py-pp-integral.exp
10164 * gdb.python/py-pp-maint.exp
10165 * gdb.python/py-pp-re-notag.exp
10166 * gdb.python/py-pp-registration.exp
10167 * gdb.python/py-recurse-unwind.exp
10168 * gdb.python/py-strfns.exp
10169 * gdb.python/py-symbol.exp
10170 * gdb.python/py-symtab.exp
10171 * gdb.python/py-sync-interp.exp
10172 * gdb.python/py-typeprint.exp
10173 * gdb.python/py-unwind-maint.exp
10174 * gdb.python/py-unwind.exp
10175 * gdb.python/py-value-cc.exp
10176 * gdb.python/py-xmethods.exp
10177 * gdb.reverse/amd64-tailcall-reverse.exp
10178 * gdb.reverse/break-precsave.exp
10179 * gdb.reverse/break-reverse.exp
10180 * gdb.reverse/consecutive-precsave.exp
10181 * gdb.reverse/consecutive-reverse.exp
10182 * gdb.reverse/finish-precsave.exp
10183 * gdb.reverse/finish-reverse-bkpt.exp
10184 * gdb.reverse/finish-reverse.exp
10185 * gdb.reverse/fstatat-reverse.exp
10186 * gdb.reverse/getresuid-reverse.exp
10187 * gdb.reverse/i386-precsave.exp
10188 * gdb.reverse/i386-reverse.exp
10189 * gdb.reverse/i386-sse-reverse.exp
10190 * gdb.reverse/i387-env-reverse.exp
10191 * gdb.reverse/i387-stack-reverse.exp
10192 * gdb.reverse/insn-reverse.exp
10193 * gdb.reverse/machinestate-precsave.exp
10194 * gdb.reverse/machinestate.exp
10195 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10196 * gdb.reverse/pipe-reverse.exp
10197 * gdb.reverse/readv-reverse.exp
10198 * gdb.reverse/recvmsg-reverse.exp
10199 * gdb.reverse/rerun-prec.exp
10200 * gdb.reverse/s390-mvcle.exp
10201 * gdb.reverse/step-precsave.exp
10202 * gdb.reverse/step-reverse.exp
10203 * gdb.reverse/time-reverse.exp
10204 * gdb.reverse/until-precsave.exp
10205 * gdb.reverse/until-reverse.exp
10206 * gdb.reverse/waitpid-reverse.exp
10207 * gdb.reverse/watch-precsave.exp
10208 * gdb.reverse/watch-reverse.exp
10209 * gdb.rust/generics.exp
10210 * gdb.rust/methods.exp
10211 * gdb.rust/modules.exp
10212 * gdb.rust/simple.exp
10213 * gdb.server/connect-with-no-symbol-file.exp
10214 * gdb.server/ext-attach.exp
10215 * gdb.server/ext-restart.exp
10216 * gdb.server/ext-wrapper.exp
10217 * gdb.server/file-transfer.exp
10218 * gdb.server/server-exec-info.exp
10219 * gdb.server/server-kill.exp
10220 * gdb.server/server-mon.exp
10221 * gdb.server/wrapper.exp
10222 * gdb.stabs/exclfwd.exp
10223 * gdb.stabs/gdb11479.exp
10224 * gdb.threads/clone-new-thread-event.exp
10225 * gdb.threads/corethreads.exp
10226 * gdb.threads/current-lwp-dead.exp
10227 * gdb.threads/dlopen-libpthread.exp
10228 * gdb.threads/gcore-thread.exp
10229 * gdb.threads/sigstep-threads.exp
10230 * gdb.threads/watchpoint-fork.exp
10231 * gdb.trace/actions-changed.exp
10232 * gdb.trace/backtrace.exp
10233 * gdb.trace/change-loc.exp
10234 * gdb.trace/circ.exp
10235 * gdb.trace/collection.exp
10236 * gdb.trace/disconnected-tracing.exp
10237 * gdb.trace/ftrace.exp
10238 * gdb.trace/mi-trace-frame-collected.exp
10239 * gdb.trace/mi-trace-unavailable.exp
10240 * gdb.trace/mi-traceframe-changed.exp
10241 * gdb.trace/mi-tsv-changed.exp
10242 * gdb.trace/no-attach-trace.exp
10243 * gdb.trace/passc-dyn.exp
10244 * gdb.trace/qtro.exp
10245 * gdb.trace/range-stepping.exp
10246 * gdb.trace/read-memory.exp
10247 * gdb.trace/save-trace.exp
10248 * gdb.trace/signal.exp
10249 * gdb.trace/status-stop.exp
10250 * gdb.trace/tfile.exp
10251 * gdb.trace/trace-break.exp
10252 * gdb.trace/trace-buffer-size.exp
10253 * gdb.trace/trace-condition.exp
10254 * gdb.trace/tracefile-pseudo-reg.exp
10255 * gdb.trace/tstatus.exp
10256 * gdb.trace/unavailable.exp
10257 * gdb.trace/while-dyn.exp
10258 * gdb.trace/while-stepping.exp
10259
34c41c68
DE
102602016-12-22 Doug Evans <xdje42@gmail.com>
10261
10262 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10263 and msymbols.
10264
16e69324
YQ
102652016-12-19 Yao Qi <yao.qi@linaro.org>
10266
10267 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10268 (test_with_self): Don't call do_steps_and_nexts, and remove
10269 code about stepping into xmalloc.
10270
f94f411b
YQ
102712016-12-09 Yao Qi <yao.qi@linaro.org>
10272
10273 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10274
102752016-12-09 Yao Qi <yao.qi@linaro.org>
10276
10277 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10278
f1b5deee
PA
102792016-12-09 Pedro Alves <palves@redhat.com>
10280
10281 * gdb.base/all-architectures-0.exp: New file.
10282 * gdb.base/all-architectures-1.exp: New file.
10283 * gdb.base/all-architectures-2.exp: New file.
10284 * gdb.base/all-architectures-3.exp: New file.
10285 * gdb.base/all-architectures-4.exp: New file.
10286 * gdb.base/all-architectures-5.exp: New file.
10287 * gdb.base/all-architectures-6.exp: New file.
10288 * gdb.base/all-architectures-7.exp: New file.
10289 * gdb.base/all-architectures.exp.in: New file.
10290
364ca42e
YQ
102912016-12-09 Yao Qi <yao.qi@linaro.org>
10292
10293 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10294
107c2d62
LM
102952016-12-02 Luis Machado <lgustavo@codesourcery.com>
10296
10297 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10298 possible.
10299 Remove useless pattern-matching code.
10300
df3ee9ca
PA
103012016-12-02 Pedro Alves <palves@redhat.com>
10302
10303 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10304 procedure.
10305 (top level): Call it.
10306
ec835369
PA
103072016-12-02 Pedro Alves <palves@redhat.com>
10308
10309 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10310 New procedure.
10311 (top level): Call it.
10312
01770bbd
PA
103132016-12-02 Pedro Alves <palves@redhat.com>
10314
10315 PR cli/20559
10316 * gdb.base/commands.exp (user_defined_command_args_eval): New
10317 procedure.
10318 (top level): Call it.
10319
008459ea
LM
103202016-12-02 Luis Machado <lgustavo@codesourcery.com>
10321
10322 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10323 timeout handling.
10324
0c1b455e
TT
103252016-12-02 Tom Tromey <tom@tromey.com>
10326
10327 * gdb.dwarf2/main-subprogram.c: New file.
10328 * gdb.dwarf2/main-subprogram.exp: New file.
10329
018572b8
LM
103302016-12-01 Luis Machado <lgustavo@codesourcery.com>
10331
10332 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10333 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10334 gdb_test_no_output for a couple of cases.
10335 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10336
84c93cd5
LM
103372016-12-01 Luis Machado <lgustavo@codesourcery.com>
10338
10339 Fix test names and standardize compilation error messages throughout
10340 the following files:
10341
10342 * gdb.ada/start.exp
10343 * gdb.arch/alpha-step.exp
10344 * gdb.arch/e500-prologue.exp
10345 * gdb.arch/ftrace-insn-reloc.exp
10346 * gdb.arch/gdb1291.exp
10347 * gdb.arch/gdb1431.exp
10348 * gdb.arch/gdb1558.exp
10349 * gdb.arch/i386-dr3-watch.exp
10350 * gdb.arch/i386-sse-stack-align.exp
10351 * gdb.arch/ia64-breakpoint-shadow.exp
10352 * gdb.arch/pa-nullify.exp
10353 * gdb.arch/powerpc-aix-prologue.exp
10354 * gdb.arch/thumb-bx-pc.exp
10355 * gdb.base/annota1.exp
10356 * gdb.base/annota3.exp
10357 * gdb.base/arrayidx.exp
10358 * gdb.base/assign.exp
10359 * gdb.base/attach.exp
10360 * gdb.base/auxv.exp
10361 * gdb.base/bang.exp
10362 * gdb.base/bfp-test.exp
10363 * gdb.base/bigcore.exp
10364 * gdb.base/bitfields2.exp
10365 * gdb.base/break-fun-addr.exp
10366 * gdb.base/break-probes.exp
10367 * gdb.base/call-rt-st.exp
10368 * gdb.base/callexit.exp
10369 * gdb.base/catch-fork-kill.exp
10370 * gdb.base/charset.exp
10371 * gdb.base/checkpoint.exp
10372 * gdb.base/comprdebug.exp
10373 * gdb.base/constvars.exp
10374 * gdb.base/coredump-filter.exp
10375 * gdb.base/cursal.exp
10376 * gdb.base/cvexpr.exp
10377 * gdb.base/detach.exp
10378 * gdb.base/display.exp
10379 * gdb.base/dmsym.exp
10380 * gdb.base/dprintf-pending.exp
10381 * gdb.base/dso2dso.exp
10382 * gdb.base/dtrace-probe.exp
10383 * gdb.base/dump.exp
10384 * gdb.base/enum_cond.exp
10385 * gdb.base/exe-lock.exp
10386 * gdb.base/exec-invalid-sysroot.exp
10387 * gdb.base/execl-update-breakpoints.exp
10388 * gdb.base/exprs.exp
10389 * gdb.base/fileio.exp
10390 * gdb.base/find.exp
10391 * gdb.base/finish.exp
10392 * gdb.base/fixsection.exp
10393 * gdb.base/foll-vfork.exp
10394 * gdb.base/frame-args.exp
10395 * gdb.base/gcore.exp
10396 * gdb.base/gdb1250.exp
10397 * gdb.base/global-var-nested-by-dso.exp
10398 * gdb.base/gnu-ifunc.exp
10399 * gdb.base/hashline1.exp
10400 * gdb.base/hashline2.exp
10401 * gdb.base/hashline3.exp
10402 * gdb.base/hbreak-in-shr-unsupported.exp
10403 * gdb.base/huge.exp
10404 * gdb.base/infcall-input.exp
10405 * gdb.base/info-fun.exp
10406 * gdb.base/info-shared.exp
10407 * gdb.base/jit-simple.exp
10408 * gdb.base/jit-so.exp
10409 * gdb.base/jit.exp
10410 * gdb.base/jump.exp
10411 * gdb.base/label.exp
10412 * gdb.base/lineinc.exp
10413 * gdb.base/logical.exp
10414 * gdb.base/longjmp.exp
10415 * gdb.base/macscp.exp
10416 * gdb.base/miscexprs.exp
10417 * gdb.base/new-ui-echo.exp
10418 * gdb.base/new-ui-pending-input.exp
10419 * gdb.base/new-ui.exp
10420 * gdb.base/nodebug.exp
10421 * gdb.base/nofield.exp
10422 * gdb.base/offsets.exp
10423 * gdb.base/overlays.exp
10424 * gdb.base/pending.exp
10425 * gdb.base/pointers.exp
10426 * gdb.base/pr11022.exp
10427 * gdb.base/printcmds.exp
10428 * gdb.base/prologue.exp
10429 * gdb.base/ptr-typedef.exp
10430 * gdb.base/realname-expand.exp
10431 * gdb.base/relativedebug.exp
10432 * gdb.base/relocate.exp
10433 * gdb.base/remote.exp
10434 * gdb.base/reread.exp
10435 * gdb.base/return2.exp
10436 * gdb.base/savedregs.exp
10437 * gdb.base/sep.exp
10438 * gdb.base/sepdebug.exp
10439 * gdb.base/sepsymtab.exp
10440 * gdb.base/set-inferior-tty.exp
10441 * gdb.base/setshow.exp
10442 * gdb.base/shlib-call.exp
10443 * gdb.base/sigaltstack.exp
10444 * gdb.base/siginfo-addr.exp
10445 * gdb.base/signals.exp
10446 * gdb.base/signull.exp
10447 * gdb.base/sigrepeat.exp
10448 * gdb.base/so-impl-ld.exp
10449 * gdb.base/solib-display.exp
10450 * gdb.base/solib-overlap.exp
10451 * gdb.base/solib-search.exp
10452 * gdb.base/solib-symbol.exp
10453 * gdb.base/structs.exp
10454 * gdb.base/structs2.exp
10455 * gdb.base/symtab-search-order.exp
10456 * gdb.base/twice.exp
10457 * gdb.base/unload.exp
10458 * gdb.base/varargs.exp
10459 * gdb.base/watchpoint-solib.exp
10460 * gdb.base/watchpoint.exp
10461 * gdb.base/whatis.exp
10462 * gdb.base/wrong_frame_bt_full.exp
10463 * gdb.btrace/dlopen.exp
10464 * gdb.cell/ea-standalone.exp
10465 * gdb.cell/ea-test.exp
10466 * gdb.cp/dispcxx.exp
10467 * gdb.cp/gdb2384.exp
10468 * gdb.cp/method2.exp
10469 * gdb.cp/nextoverthrow.exp
10470 * gdb.cp/pr10728.exp
10471 * gdb.disasm/am33.exp
10472 * gdb.disasm/h8300s.exp
10473 * gdb.disasm/mn10300.exp
10474 * gdb.disasm/sh3.exp
10475 * gdb.dwarf2/dw2-dir-file-name.exp
10476 * gdb.fortran/complex.exp
10477 * gdb.fortran/library-module.exp
10478 * gdb.guile/scm-pretty-print.exp
10479 * gdb.guile/scm-symbol.exp
10480 * gdb.guile/scm-type.exp
10481 * gdb.guile/scm-value.exp
10482 * gdb.linespec/linespec.exp
10483 * gdb.mi/gdb701.exp
10484 * gdb.mi/gdb792.exp
10485 * gdb.mi/mi-breakpoint-changed.exp
10486 * gdb.mi/mi-dprintf-pending.exp
10487 * gdb.mi/mi-dprintf.exp
10488 * gdb.mi/mi-exit-code.exp
10489 * gdb.mi/mi-pending.exp
10490 * gdb.mi/mi-solib.exp
10491 * gdb.mi/new-ui-mi-sync.exp
10492 * gdb.mi/pr11022.exp
10493 * gdb.mi/user-selected-context-sync.exp
10494 * gdb.opt/solib-intra-step.exp
10495 * gdb.python/py-events.exp
10496 * gdb.python/py-finish-breakpoint.exp
10497 * gdb.python/py-mi.exp
10498 * gdb.python/py-prettyprint.exp
10499 * gdb.python/py-shared.exp
10500 * gdb.python/py-symbol.exp
10501 * gdb.python/py-template.exp
10502 * gdb.python/py-type.exp
10503 * gdb.python/py-value.exp
10504 * gdb.reverse/solib-precsave.exp
10505 * gdb.reverse/solib-reverse.exp
10506 * gdb.server/solib-list.exp
10507 * gdb.stabs/weird.exp
10508 * gdb.threads/reconnect-signal.exp
10509 * gdb.threads/stepi-random-signal.exp
10510 * gdb.trace/actions.exp
10511 * gdb.trace/ax.exp
10512 * gdb.trace/backtrace.exp
10513 * gdb.trace/change-loc.exp
10514 * gdb.trace/deltrace.exp
10515 * gdb.trace/ftrace-lock.exp
10516 * gdb.trace/ftrace.exp
10517 * gdb.trace/infotrace.exp
10518 * gdb.trace/mi-tracepoint-changed.exp
10519 * gdb.trace/packetlen.exp
10520 * gdb.trace/passcount.exp
10521 * gdb.trace/pending.exp
10522 * gdb.trace/range-stepping.exp
10523 * gdb.trace/report.exp
10524 * gdb.trace/stap-trace.exp
10525 * gdb.trace/tfind.exp
10526 * gdb.trace/trace-break.exp
10527 * gdb.trace/trace-condition.exp
10528 * gdb.trace/trace-enable-disable.exp
10529 * gdb.trace/trace-mt.exp
10530 * gdb.trace/tracecmd.exp
10531 * gdb.trace/tspeed.exp
10532 * gdb.trace/tsv.exp
10533 * lib/perftest.exp
10534
fb9feb35
LM
105352016-12-01 Luis Machado <lgustavo@codesourcery.com>
10536
10537 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10538 with gdb_test_no_output.
10539 Use command as test name.
10540
cd2ddb6c
LM
105412016-12-01 Luis Machado <lgustavo@codesourcery.com>
10542
10543 Fix test names starting with uppercase throughout the files.
10544
10545 * gdb.ada/assign_1.exp
10546 * gdb.ada/boolean_expr.exp
10547 * gdb.base/arrayidx.exp
10548 * gdb.base/del.exp
10549 * gdb.base/gcore-buffer-overflow.exp
10550 * gdb.base/testenv.exp
10551 * gdb.compile/compile.exp
10552 * gdb.python/py-framefilter-invalidarg.exp
10553 * gdb.python/py-framefilter.exp
10554
bb95117e
LM
105552016-12-01 Luis Machado <lgustavo@codesourcery.com>
10556
10557 Fix test names starting with uppercase throughout the files.
10558
10559 * gdb.ada/array_return.exp
10560 * gdb.ada/expr_delims.exp
10561 * gdb.ada/mi_dyn_arr.exp
10562 * gdb.ada/mi_interface.exp
10563 * gdb.ada/mi_var_array.exp
10564 * gdb.ada/watch_arg.exp
10565 * gdb.arch/alpha-step.exp
10566 * gdb.arch/altivec-regs.exp
10567 * gdb.arch/e500-regs.exp
10568 * gdb.arch/powerpc-d128-regs.exp
10569 * gdb.base/arrayidx.exp
10570 * gdb.base/break.exp
10571 * gdb.base/checkpoint.exp
10572 * gdb.base/debug-expr.exp
10573 * gdb.base/dmsym.exp
10574 * gdb.base/radix.exp
10575 * gdb.base/sepdebug.exp
10576 * gdb.base/testenv.exp
10577 * gdb.base/watch_thread_num.exp
10578 * gdb.base/watchpoint-cond-gone.exp
10579 * gdb.cell/break.exp
10580 * gdb.cell/ea-cache.exp
10581 * gdb.compile/compile.exp
10582 * gdb.cp/gdb2495.exp
10583 * gdb.gdb/selftest.exp
10584 * gdb.gdb/xfullpath.exp
10585 * gdb.go/hello.exp
10586 * gdb.go/integers.exp
10587 * gdb.objc/basicclass.exp
10588 * gdb.pascal/hello.exp
10589 * gdb.pascal/integers.exp
10590 * gdb.python/py-breakpoint.exp
10591 * gdb.python/py-cmd.exp
10592 * gdb.python/py-linetable.exp
10593 * gdb.python/py-xmethods.exp
10594 * gdb.python/python.exp
10595 * gdb.reverse/consecutive-precsave.exp
10596 * gdb.reverse/finish-precsave.exp
10597 * gdb.reverse/i386-precsave.exp
10598 * gdb.reverse/machinestate-precsave.exp
10599 * gdb.reverse/sigall-precsave.exp
10600 * gdb.reverse/solib-precsave.exp
10601 * gdb.reverse/step-precsave.exp
10602 * gdb.reverse/until-precsave.exp
10603 * gdb.reverse/watch-precsave.exp
10604 * gdb.threads/leader-exit.exp
10605 * gdb.threads/pthreads.exp
10606 * gdb.threads/wp-replication.exp
10607 * gdb.trace/actions.exp
10608 * gdb.trace/mi-tsv-changed.exp
10609 * gdb.trace/tsv.exp
10610
de97fdd4
LM
106112016-12-01 Luis Machado <lgustavo@codesourcery.com>
10612
10613 Fix test names starting with uppercase throughout the files.
10614
10615 * gdb.arch/i386-bp_permanent.exp
10616 * gdb.arch/i386-gnu-cfi.exp
10617 * gdb.base/disasm-end-cu.exp
10618 * gdb.base/macscp.exp
10619 * gdb.base/pending.exp
10620 * gdb.base/watch_thread_num.exp
10621 * gdb.cp/exception.exp
10622 * gdb.cp/gdb2495.exp
10623 * gdb.cp/local.exp
10624 * gdb.python/py-evsignal.exp
10625 * gdb.python/python.exp
10626 * gdb.trace/tracecmd.exp
10627
9f058c10
LM
106282016-12-01 Luis Machado <lgustavo@codesourcery.com>
10629
10630 Fix test names starting with uppercase throughout the files.
10631
10632 * gdb.base/charset.exp
10633 * gdb.base/eval.exp
10634 * gdb.base/multi-forks.exp
10635 * gdb.guile/scm-progspace.exp
10636 * gdb.opencl/datatypes.exp
10637 * gdb.python/py-block.exp
10638 * gdb.python/py-function.exp
10639 * gdb.python/py-symbol.exp
10640 * gdb.python/py-symtab.exp
10641 * gdb.python/py-xmethods.exp
10642 * gdb.reverse/break-precsave.exp
10643 * gdb.reverse/break-reverse.exp
10644 * gdb.reverse/consecutive-precsave.exp
10645 * gdb.reverse/consecutive-reverse.exp
10646 * gdb.reverse/finish-precsave.exp
10647 * gdb.reverse/finish-reverse-bkpt.exp
10648 * gdb.reverse/finish-reverse.exp
10649 * gdb.reverse/fstatat-reverse.exp
10650 * gdb.reverse/getresuid-reverse.exp
10651 * gdb.reverse/i386-precsave.exp
10652 * gdb.reverse/i386-reverse.exp
10653 * gdb.reverse/i386-sse-reverse.exp
10654 * gdb.reverse/i387-stack-reverse.exp
10655 * gdb.reverse/insn-reverse.exp
10656 * gdb.reverse/machinestate-precsave.exp
10657 * gdb.reverse/machinestate.exp
10658 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10659 * gdb.reverse/pipe-reverse.exp
10660 * gdb.reverse/readv-reverse.exp
10661 * gdb.reverse/recvmsg-reverse.exp
10662 * gdb.reverse/rerun-prec.exp
10663 * gdb.reverse/s390-mvcle.exp
10664 * gdb.reverse/sigall-precsave.exp
10665 * gdb.reverse/sigall-reverse.exp
10666 * gdb.reverse/solib-precsave.exp
10667 * gdb.reverse/solib-reverse.exp
10668 * gdb.reverse/step-precsave.exp
10669 * gdb.reverse/step-reverse.exp
10670 * gdb.reverse/time-reverse.exp
10671 * gdb.reverse/until-precsave.exp
10672 * gdb.reverse/until-reverse.exp
10673 * gdb.reverse/waitpid-reverse.exp
10674 * gdb.reverse/watch-precsave.exp
10675 * gdb.reverse/watch-reverse.exp
10676
cdc7edd7
LM
106772016-12-01 Luis Machado <lgustavo@codesourcery.com>
10678
10679 Fix test names starting with uppercase throughout the files.
10680
10681 * gdb.arch/i386-mpx-simple_segv.exp
10682 * gdb.arch/i386-mpx.exp
10683 * gdb.arch/i386-permbkpt.exp
10684 * gdb.arch/pa-nullify.exp
10685 * gdb.arch/powerpc-d128-regs.exp
10686 * gdb.arch/vsx-regs.exp
10687 * gdb.base/bfp-test.exp
10688 * gdb.base/break.exp
10689 * gdb.base/breakpoint-shadow.exp
10690 * gdb.base/callfuncs.exp
10691 * gdb.base/charset.exp
10692 * gdb.base/commands.exp
10693 * gdb.base/completion.exp
10694 * gdb.base/dfp-test.exp
10695 * gdb.base/echo.exp
10696 * gdb.base/ending-run.exp
10697 * gdb.base/eval.exp
10698 * gdb.base/expand-psymtabs.exp
10699 * gdb.base/float128.exp
10700 * gdb.base/floatn.exp
10701 * gdb.base/foll-exec-mode.exp
10702 * gdb.base/gdb1056.exp
10703 * gdb.base/gdb11531.exp
10704 * gdb.base/kill-after-signal.exp
10705 * gdb.base/multi-forks.exp
10706 * gdb.base/overlays.exp
10707 * gdb.base/pending.exp
10708 * gdb.base/sepdebug.exp
10709 * gdb.base/testenv.exp
10710 * gdb.base/valgrind-db-attach.exp
10711 * gdb.base/watch_thread_num.exp
10712 * gdb.base/watchpoint-cond-gone.exp
10713 * gdb.base/watchpoint.exp
10714 * gdb.base/watchpoints.exp
10715 * gdb.cp/arg-reference.exp
10716 * gdb.cp/baseenum.exp
10717 * gdb.cp/operator.exp
10718 * gdb.cp/shadow.exp
10719 * gdb.dwarf2/dw2-op-out-param.exp
10720 * gdb.dwarf2/dw2-reg-undefined.exp
10721 * gdb.go/chan.exp
10722 * gdb.go/hello.exp
10723 * gdb.go/integers.exp
10724 * gdb.go/methods.exp
10725 * gdb.go/package.exp
10726 * gdb.guile/scm-parameter.exp
10727 * gdb.guile/scm-progspace.exp
10728 * gdb.guile/scm-value.exp
10729 * gdb.mi/mi-pending.exp
10730 * gdb.mi/user-selected-context-sync.exp
10731 * gdb.multi/multi-attach.exp
10732 * gdb.multi/tids.exp
10733 * gdb.opt/clobbered-registers-O2.exp
10734 * gdb.pascal/floats.exp
10735 * gdb.pascal/integers.exp
10736 * gdb.python/py-block.exp
10737 * gdb.python/py-events.exp
10738 * gdb.python/py-parameter.exp
10739 * gdb.python/py-symbol.exp
10740 * gdb.python/py-symtab.exp
10741 * gdb.python/py-type.exp
10742 * gdb.python/py-value.exp
10743 * gdb.python/py-xmethods.exp
10744 * gdb.python/python.exp
10745 * gdb.reverse/break-precsave.exp
10746 * gdb.reverse/consecutive-precsave.exp
10747 * gdb.reverse/finish-precsave.exp
10748 * gdb.reverse/i386-precsave.exp
10749 * gdb.reverse/machinestate-precsave.exp
10750 * gdb.reverse/sigall-precsave.exp
10751 * gdb.reverse/solib-precsave.exp
10752 * gdb.reverse/step-precsave.exp
10753 * gdb.reverse/until-precsave.exp
10754 * gdb.reverse/watch-precsave.exp
10755 * gdb.server/ext-attach.exp
10756 * gdb.server/ext-restart.exp
10757 * gdb.server/ext-run.exp
10758 * gdb.server/ext-wrapper.exp
10759 * gdb.stabs/gdb11479.exp
10760 * gdb.stabs/weird.exp
10761 * gdb.threads/attach-many-short-lived-threads.exp
10762 * gdb.threads/kill.exp
10763 * gdb.threads/watchpoint-fork.exp
10764
bc6c7af4
LM
107652016-12-01 Luis Machado <lgustavo@codesourcery.com>
10766
10767 Fix test names starting with uppercase throughout all the files below.
10768
10769 * gdb.ada/array_return.exp
10770 * gdb.ada/catch_ex.exp
10771 * gdb.ada/info_exc.exp
10772 * gdb.ada/mi_catch_ex.exp
10773 * gdb.ada/mi_dyn_arr.exp
10774 * gdb.ada/mi_ex_cond.exp
10775 * gdb.ada/mi_exc_info.exp
10776 * gdb.ada/mi_interface.exp
10777 * gdb.ada/mi_task_arg.exp
10778 * gdb.ada/mi_task_info.exp
10779 * gdb.ada/mi_var_array.exp
10780 * gdb.arch/alpha-step.exp
10781 * gdb.arch/amd64-disp-step.exp
10782 * gdb.arch/arm-disp-step.exp
10783 * gdb.arch/disp-step-insn-reloc.exp
10784 * gdb.arch/e500-prologue.exp
10785 * gdb.arch/ftrace-insn-reloc.exp
10786 * gdb.arch/gdb1558.exp
10787 * gdb.arch/i386-bp_permanent.exp
10788 * gdb.arch/i386-disp-step.exp
10789 * gdb.arch/i386-float.exp
10790 * gdb.arch/i386-gnu-cfi.exp
10791 * gdb.arch/ia64-breakpoint-shadow.exp
10792 * gdb.arch/mips16-thunks.exp
10793 * gdb.arch/pa-nullify.exp
10794 * gdb.arch/powerpc-aix-prologue.exp
10795 * gdb.arch/powerpc-power.exp
10796 * gdb.arch/ppc-dfp.exp
10797 * gdb.arch/s390-tdbregs.exp
10798 * gdb.arch/spu-info.exp
10799 * gdb.arch/spu-ls.exp
10800 * gdb.arch/thumb-bx-pc.exp
10801 * gdb.base/advance.exp
10802 * gdb.base/annota-input-while-running.exp
10803 * gdb.base/arrayidx.exp
10804 * gdb.base/asmlabel.exp
10805 * gdb.base/async.exp
10806 * gdb.base/attach-wait-input.exp
10807 * gdb.base/auto-connect-native-target.exp
10808 * gdb.base/batch-preserve-term-settings.exp
10809 * gdb.base/bfp-test.exp
10810 * gdb.base/bigcore.exp
10811 * gdb.base/bp-permanent.exp
10812 * gdb.base/break-always.exp
10813 * gdb.base/break-fun-addr.exp
10814 * gdb.base/break-idempotent.exp
10815 * gdb.base/break-main-file-remove-fail.exp
10816 * gdb.base/break-probes.exp
10817 * gdb.base/break-unload-file.exp
10818 * gdb.base/break.exp
10819 * gdb.base/call-ar-st.exp
10820 * gdb.base/call-rt-st.exp
10821 * gdb.base/call-sc.exp
10822 * gdb.base/call-signal-resume.exp
10823 * gdb.base/call-strs.exp
10824 * gdb.base/callexit.exp
10825 * gdb.base/callfuncs.exp
10826 * gdb.base/catch-gdb-caused-signals.exp
10827 * gdb.base/catch-signal-siginfo-cond.exp
10828 * gdb.base/catch-syscall.exp
10829 * gdb.base/compare-sections.exp
10830 * gdb.base/cond-eval-mode.exp
10831 * gdb.base/condbreak-call-false.exp
10832 * gdb.base/consecutive-step-over.exp
10833 * gdb.base/cursal.exp
10834 * gdb.base/disabled-location.exp
10835 * gdb.base/disasm-end-cu.exp
10836 * gdb.base/display.exp
10837 * gdb.base/double-prompt-target-event-error.exp
10838 * gdb.base/dprintf-bp-same-addr.exp
10839 * gdb.base/dprintf-detach.exp
10840 * gdb.base/dprintf-next.exp
10841 * gdb.base/dprintf-non-stop.exp
10842 * gdb.base/dprintf-pending.exp
10843 * gdb.base/dso2dso.exp
10844 * gdb.base/ending-run.exp
10845 * gdb.base/enum_cond.exp
10846 * gdb.base/examine-backward.exp
10847 * gdb.base/exe-lock.exp
10848 * gdb.base/exec-invalid-sysroot.exp
10849 * gdb.base/execl-update-breakpoints.exp
10850 * gdb.base/execution-termios.exp
10851 * gdb.base/fileio.exp
10852 * gdb.base/fixsection.exp
10853 * gdb.base/foll-exec-mode.exp
10854 * gdb.base/foll-exec.exp
10855 * gdb.base/fork-running-state.exp
10856 * gdb.base/frame-args.exp
10857 * gdb.base/fullpath-expand.exp
10858 * gdb.base/func-ptr.exp
10859 * gdb.base/gcore-relro-pie.exp
10860 * gdb.base/gdb1090.exp
10861 * gdb.base/gdb1555.exp
10862 * gdb.base/global-var-nested-by-dso.exp
10863 * gdb.base/gnu-ifunc.exp
10864 * gdb.base/hbreak-in-shr-unsupported.exp
10865 * gdb.base/hbreak-unmapped.exp
10866 * gdb.base/hook-stop.exp
10867 * gdb.base/infcall-input.exp
10868 * gdb.base/info-fun.exp
10869 * gdb.base/info-shared.exp
10870 * gdb.base/interrupt-noterm.exp
10871 * gdb.base/jit-so.exp
10872 * gdb.base/jit.exp
10873 * gdb.base/line-symtabs.exp
10874 * gdb.base/list.exp
10875 * gdb.base/longjmp.exp
10876 * gdb.base/macscp.exp
10877 * gdb.base/max-value-size.exp
10878 * gdb.base/nodebug.exp
10879 * gdb.base/nofield.exp
10880 * gdb.base/overlays.exp
10881 * gdb.base/paginate-after-ctrl-c-running.exp
10882 * gdb.base/paginate-bg-execution.exp
10883 * gdb.base/paginate-inferior-exit.exp
10884 * gdb.base/pending.exp
10885 * gdb.base/pr11022.exp
10886 * gdb.base/printcmds.exp
10887 * gdb.base/ptr-typedef.exp
10888 * gdb.base/ptype.exp
10889 * gdb.base/randomize.exp
10890 * gdb.base/range-stepping.exp
10891 * gdb.base/realname-expand.exp
10892 * gdb.base/relativedebug.exp
10893 * gdb.base/remote.exp
10894 * gdb.base/savedregs.exp
10895 * gdb.base/sepdebug.exp
10896 * gdb.base/set-noassign.exp
10897 * gdb.base/shlib-call.exp
10898 * gdb.base/shreloc.exp
10899 * gdb.base/sigaltstack.exp
10900 * gdb.base/sigbpt.exp
10901 * gdb.base/siginfo-addr.exp
10902 * gdb.base/siginfo-obj.exp
10903 * gdb.base/siginfo-thread.exp
10904 * gdb.base/signest.exp
10905 * gdb.base/signull.exp
10906 * gdb.base/sigrepeat.exp
10907 * gdb.base/skip.exp
10908 * gdb.base/so-impl-ld.exp
10909 * gdb.base/solib-corrupted.exp
10910 * gdb.base/solib-disc.exp
10911 * gdb.base/solib-display.exp
10912 * gdb.base/solib-overlap.exp
10913 * gdb.base/solib-search.exp
10914 * gdb.base/solib-symbol.exp
10915 * gdb.base/source-execution.exp
10916 * gdb.base/sss-bp-on-user-bp-2.exp
10917 * gdb.base/sss-bp-on-user-bp.exp
10918 * gdb.base/stack-checking.exp
10919 * gdb.base/stale-infcall.exp
10920 * gdb.base/step-break.exp
10921 * gdb.base/step-line.exp
10922 * gdb.base/step-over-exit.exp
10923 * gdb.base/step-test.exp
10924 * gdb.base/structs.exp
10925 * gdb.base/sym-file.exp
10926 * gdb.base/symtab-search-order.exp
10927 * gdb.base/term.exp
10928 * gdb.base/type-opaque.exp
10929 * gdb.base/unload.exp
10930 * gdb.base/until-nodebug.exp
10931 * gdb.base/until.exp
10932 * gdb.base/unwindonsignal.exp
10933 * gdb.base/watch-cond.exp
10934 * gdb.base/watch-non-mem.exp
10935 * gdb.base/watch_thread_num.exp
10936 * gdb.base/watchpoint-reuse-slot.exp
10937 * gdb.base/watchpoint-solib.exp
10938 * gdb.base/watchpoint.exp
10939 * gdb.btrace/dlopen.exp
10940 * gdb.cell/arch.exp
10941 * gdb.cell/break.exp
10942 * gdb.cell/bt.exp
10943 * gdb.cell/core.exp
10944 * gdb.cell/data.exp
10945 * gdb.cell/dwarfaddr.exp
10946 * gdb.cell/ea-cache.exp
10947 * gdb.cell/ea-standalone.exp
10948 * gdb.cell/ea-test.exp
10949 * gdb.cell/f-regs.exp
10950 * gdb.cell/fork.exp
10951 * gdb.cell/gcore.exp
10952 * gdb.cell/mem-access.exp
10953 * gdb.cell/ptype.exp
10954 * gdb.cell/registers.exp
10955 * gdb.cell/sizeof.exp
10956 * gdb.cell/solib-symbol.exp
10957 * gdb.cell/solib.exp
10958 * gdb.compile/compile-tls.exp
10959 * gdb.cp/exception.exp
10960 * gdb.cp/gdb2495.exp
10961 * gdb.cp/local.exp
10962 * gdb.cp/mb-inline.exp
10963 * gdb.cp/mb-templates.exp
10964 * gdb.cp/pr10687.exp
10965 * gdb.cp/pr9167.exp
10966 * gdb.cp/scope-err.exp
10967 * gdb.cp/templates.exp
10968 * gdb.cp/virtfunc.exp
10969 * gdb.dwarf2/dw2-dir-file-name.exp
10970 * gdb.dwarf2/dw2-single-line-discriminators.exp
10971 * gdb.fortran/complex.exp
10972 * gdb.fortran/library-module.exp
10973 * gdb.guile/guile.exp
10974 * gdb.guile/scm-cmd.exp
10975 * gdb.guile/scm-frame-inline.exp
10976 * gdb.guile/scm-objfile.exp
10977 * gdb.guile/scm-pretty-print.exp
10978 * gdb.guile/scm-symbol.exp
10979 * gdb.guile/scm-type.exp
10980 * gdb.guile/scm-value.exp
10981 * gdb.linespec/keywords.exp
10982 * gdb.linespec/ls-errs.exp
10983 * gdb.linespec/macro-relative.exp
10984 * gdb.linespec/thread.exp
10985 * gdb.mi/mi-breakpoint-changed.exp
10986 * gdb.mi/mi-dprintf-pending.exp
10987 * gdb.mi/mi-fullname-deleted.exp
10988 * gdb.mi/mi-logging.exp
10989 * gdb.mi/mi-pending.exp
10990 * gdb.mi/mi-solib.exp
10991 * gdb.mi/new-ui-mi-sync.exp
10992 * gdb.mi/user-selected-context-sync.exp
10993 * gdb.multi/dummy-frame-restore.exp
10994 * gdb.multi/multi-arch-exec.exp
10995 * gdb.multi/remove-inferiors.exp
10996 * gdb.multi/watchpoint-multi-exit.exp
10997 * gdb.opt/solib-intra-step.exp
10998 * gdb.perf/backtrace.exp
10999 * gdb.perf/single-step.exp
11000 * gdb.perf/skip-command.exp
11001 * gdb.perf/skip-prologue.exp
11002 * gdb.perf/solib.exp
11003 * gdb.python/lib-types.exp
11004 * gdb.python/py-as-string.exp
11005 * gdb.python/py-bad-printers.exp
11006 * gdb.python/py-block.exp
11007 * gdb.python/py-breakpoint.exp
11008 * gdb.python/py-cmd.exp
11009 * gdb.python/py-events.exp
11010 * gdb.python/py-evthreads.exp
11011 * gdb.python/py-finish-breakpoint.exp
11012 * gdb.python/py-finish-breakpoint2.exp
11013 * gdb.python/py-frame-inline.exp
11014 * gdb.python/py-frame.exp
11015 * gdb.python/py-inferior.exp
11016 * gdb.python/py-infthread.exp
11017 * gdb.python/py-mi.exp
11018 * gdb.python/py-objfile.exp
11019 * gdb.python/py-pp-maint.exp
11020 * gdb.python/py-pp-registration.exp
11021 * gdb.python/py-prettyprint.exp
11022 * gdb.python/py-recurse-unwind.exp
11023 * gdb.python/py-shared.exp
11024 * gdb.python/py-symbol.exp
11025 * gdb.python/py-symtab.exp
11026 * gdb.python/py-template.exp
11027 * gdb.python/py-type.exp
11028 * gdb.python/py-unwind-maint.exp
11029 * gdb.python/py-unwind.exp
11030 * gdb.python/py-value.exp
11031 * gdb.python/python.exp
11032 * gdb.reverse/finish-reverse-bkpt.exp
11033 * gdb.reverse/insn-reverse.exp
11034 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11035 * gdb.reverse/solib-precsave.exp
11036 * gdb.reverse/solib-reverse.exp
11037 * gdb.stabs/gdb11479.exp
11038 * gdb.stabs/weird.exp
11039 * gdb.threads/fork-child-threads.exp
11040 * gdb.threads/fork-plus-threads.exp
11041 * gdb.threads/fork-thread-pending.exp
11042 * gdb.threads/forking-threads-plus-breakpoint.exp
11043 * gdb.threads/hand-call-in-threads.exp
11044 * gdb.threads/interrupted-hand-call.exp
11045 * gdb.threads/linux-dp.exp
11046 * gdb.threads/local-watch-wrong-thread.exp
11047 * gdb.threads/next-while-other-thread-longjmps.exp
11048 * gdb.threads/non-ldr-exit.exp
11049 * gdb.threads/pending-step.exp
11050 * gdb.threads/print-threads.exp
11051 * gdb.threads/process-dies-while-detaching.exp
11052 * gdb.threads/process-dies-while-handling-bp.exp
11053 * gdb.threads/pthreads.exp
11054 * gdb.threads/queue-signal.exp
11055 * gdb.threads/reconnect-signal.exp
11056 * gdb.threads/signal-command-handle-nopass.exp
11057 * gdb.threads/signal-command-multiple-signals-pending.exp
11058 * gdb.threads/signal-delivered-right-thread.exp
11059 * gdb.threads/signal-sigtrap.exp
11060 * gdb.threads/sigthread.exp
11061 * gdb.threads/staticthreads.exp
11062 * gdb.threads/stepi-random-signal.exp
11063 * gdb.threads/thread-unwindonsignal.exp
11064 * gdb.threads/thread_check.exp
11065 * gdb.threads/thread_events.exp
11066 * gdb.threads/tid-reuse.exp
11067 * gdb.threads/tls-nodebug.exp
11068 * gdb.threads/tls-shared.exp
11069 * gdb.threads/tls-so_extern.exp
11070 * gdb.threads/tls.exp
11071 * gdb.threads/wp-replication.exp
11072 * gdb.trace/actions-changed.exp
11073 * gdb.trace/actions.exp
11074 * gdb.trace/backtrace.exp
11075 * gdb.trace/change-loc.exp
11076 * gdb.trace/collection.exp
11077 * gdb.trace/deltrace.exp
11078 * gdb.trace/disconnected-tracing.exp
11079 * gdb.trace/entry-values.exp
11080 * gdb.trace/ftrace-lock.exp
11081 * gdb.trace/ftrace.exp
11082 * gdb.trace/infotrace.exp
11083 * gdb.trace/mi-trace-frame-collected.exp
11084 * gdb.trace/mi-trace-unavailable.exp
11085 * gdb.trace/mi-traceframe-changed.exp
11086 * gdb.trace/mi-tracepoint-changed.exp
11087 * gdb.trace/mi-tsv-changed.exp
11088 * gdb.trace/no-attach-trace.exp
11089 * gdb.trace/packetlen.exp
11090 * gdb.trace/passc-dyn.exp
11091 * gdb.trace/passcount.exp
11092 * gdb.trace/pending.exp
11093 * gdb.trace/pr16508.exp
11094 * gdb.trace/qtro.exp
11095 * gdb.trace/range-stepping.exp
11096 * gdb.trace/read-memory.exp
11097 * gdb.trace/report.exp
11098 * gdb.trace/save-trace.exp
11099 * gdb.trace/signal.exp
11100 * gdb.trace/stap-trace.exp
11101 * gdb.trace/status-stop.exp
11102 * gdb.trace/strace.exp
11103 * gdb.trace/tfile.exp
11104 * gdb.trace/tfind.exp
11105 * gdb.trace/trace-break.exp
11106 * gdb.trace/trace-condition.exp
11107 * gdb.trace/trace-enable-disable.exp
11108 * gdb.trace/trace-mt.exp
11109 * gdb.trace/tracecmd.exp
11110 * gdb.trace/tracefile-pseudo-reg.exp
11111 * gdb.trace/tspeed.exp
11112 * gdb.trace/tstatus.exp
11113 * gdb.trace/tsv.exp
11114 * gdb.trace/unavailable.exp
11115 * gdb.trace/while-dyn.exp
11116 * gdb.trace/while-stepping.exp
11117 * lib/gdb-guile.exp
11118 * lib/gdb.exp
11119 * lib/mi-support.exp
11120 * lib/pascal.exp
11121 * lib/perftest.exp
11122 * lib/prelink-support.exp
11123 * lib/selftest-support.exp
11124
ad02e4fe
SM
111252016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11126
11127 * Makefile.in: Include disable-implicit-rules.mk.
11128
22347e55
AA
111292016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11130
11131 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11132 non-byte-aligned bit fields.
11133
da5b30da
AA
111342016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11135
11136 PR gdb/12616
11137 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11138 respects the DW_AT_data_bit_offset attribute.
11139
b593ecca
SM
111402016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11141
11142 * gdb.base/default.exp: Fix output of "set language".
11143
3b165252
SM
111442016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11145
11146 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11147 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11148 make.
11149 * configure.ac: Remove checks for the make program.
11150 * configure: Re-generate.
11151
1a2f3d7f
KB
111522016-11-16 Kevin Buettner <kevinb@redhat.com>
11153
11154 * gdb.python/py-recurse-unwind.c (main): Add loop.
11155 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11156 to read_register() and gdb.parse_and_eval(). Make each code
11157 call a separate case that can be individually tested.
11158 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11159 proc. Call cont_and_backtrace for each of the code paths that
11160 we want to test in the unwinder.
11161
b7f38fda
AA
111622016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11163
11164 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11165 the definition of struct S.
11166
1f8db343
CM
111672016-11-11 Catherine Moore <clm@codesourcery.com>
11168
11169 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11170
fad0c9fb
PA
111712016-11-09 Pedro Alves <palves@redhat.com>
11172
11173 * gdb.base/commands.exp (runto_or_return): New procedure.
11174 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11175 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11176 (progvar_simple_while_test, progvar_complex_if_while_test)
11177 (if_while_breakpoint_command_test)
11178 (infrun_breakpoint_command_test, breakpoint_command_test)
11179 (user_defined_command_test, watchpoint_command_test)
11180 (test_command_prompt_position, redefine_hook_test)
11181 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11182 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11183 multi_line_input and multi_line. Remove gdb_expect and
11184 gdb_stop_suppressing_tests uses.
11185 * lib/gdb.exp (valnum_re): New global.
11186 (multi_line_input): New procedure.
11187
8354c62c
SM
111882016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11189
11190 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11191 Remove.
11192 (test_setup): Define with proc_with_prefix.
11193 (test_cli_inferior): Likewise.
11194 (test_cli_thread): Likewise.
11195 (test_cli_frame): Likewise.
11196 (test_cli_select_frame): Likewise.
11197 (test_cli_up_down): Likewise.
11198 (test_mi_thread_select): Likewise.
11199 (test_mi_stack_select_frame): Likewise.
11200 (test_cli_in_mi_inferior): Likewise.
11201 (test_cli_in_mi_thread): Likewise.
11202 (test_cli_in_mi_frame): Likewise.
11203 (top level): Do not use with_test_prefix_procname.
11204
64f367a2
PA
112052016-11-09 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.base/commands.exp (gdbvar_simple_if_test)
11208 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11209 (progvar_simple_if_test, progvar_simple_while_test)
11210 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11211 (infrun_breakpoint_command_test, breakpoint_command_test)
11212 (user_defined_command_test, watchpoint_command_test)
11213 (test_command_prompt_position, deprecated_command_test)
11214 (bp_deleted_in_command, temporary_breakpoint_commands)
11215 (stray_arg0_test, source_file_with_indented_comment)
11216 (recursive_source_test, if_commands_test)
11217 (error_clears_commands_left, redefine_hook_test)
11218 (redefine_backtrace_test): Use proc_with_prefix.
11219 * lib/gdb.exp (proc_with_prefix): New proc.
11220
0bb65f1e
AA
112212016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11222
11223 * gdb.base/tui-layout.c: New file.
11224 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11225 disassembly window contains very long lines.
11226
7353f247
TT
112272016-11-08 Tom Tromey <tom@tromey.com>
11228
11229 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11230 depend on Python 2.
11231
30a7bb83
TT
112322016-11-08 Tom Tromey <tom@tromey.com>
11233
11234 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11235 New method.
11236
cdf5a07c
MG
112372016-10-29 Manish Goregaokar <manish@mozilla.com>
11238
2806dc7e 11239 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 11240
51a789c3
MG
112412016-10-27 Manish Goregaokar <manish@mozilla.com>
11242
2806dc7e
PA
11243 * gdb.rust/simple.rs: Add test for univariant enums without
11244 discriminants and for encoded struct-like enums.
51a789c3 11245
f610ab6d
PA
112462016-10-28 Pedro Alves <palves@redhat.com>
11247
11248 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11249 gdb_test_multiple, tighten regexps and match symtabs and line
11250 tables incrementally.
11251
b129b0ca
LM
112522016-10-28 Luis Machado <lgustavo@codesourcery.com>
11253
11254 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11255 general.
11256
ecf45d2c
SL
112572016-10-25 Luis Machado <lgustavo@codesourcery.com>
11258
11259 * gdb.base/exec-invalid-sysroot.exp: New file.
11260
b8d38ee4
JK
112612016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11262
11263 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11264
f90fd8c2
JK
112652016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11266
11267 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11268
2d2476aa
MR
112692016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11270
2806dc7e
PA
11271 * gdb.base/killed-outside.exp: Remove $options from a call to
11272 `prepare_for_testing'.
2d2476aa 11273
e42b25a0
SM
112742016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11275
11276 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11277 Change test message.
11278
3ccdb432
SM
112792016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11280
11281 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11282 Update comment.
11283
5bad3170
SM
112842016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11285
11286 * gdb.trace/mi-trace-save.exp: New file.
11287
5ad9dba7
YQ
112882016-10-13 Yao Qi <yao.qi@linaro.org>
11289
11290 * gdb.base/code_elim.exp (get_var_address): Remove.
11291 * gdb.base/relocate.exp: Likewise.
11292 * gdb.base/shreloc.exp: Likewise.
11293 * lib/gdb.exp (get_var_address): New.
11294
62df7e21
YQ
112952016-10-13 Yao Qi <yao.qi@linaro.org>
11296
11297 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11298 floating point tests if $skip_float_test is false.
11299
4dac951e
LM
113002016-10-12 Luis Machado <lgustavo@codesourcery.com>
11301
11302 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11303 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11304 argc values.
11305 Add 1 to argc so we guarantee distinct initial/modified argc values.
11306
8f1a8fc4
JK
113072016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11308
11309 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11310
16c85b5d
JK
113112016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11312
11313 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11314 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11315 * gdb.arch/vsx-regs.exp: Likewise.
11316
1d0e042a
YQ
113172016-10-07 Yao Qi <yao.qi@linaro.org>
11318
11319 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11320
68dadef5
MM
113212016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11322
11323 * gdb.python/python.exp: Test decode_line("*0").
11324
33fa2c6e
DE
113252016-10-06 Doug Evans <dje@google.com>
11326
11327 * gdb.python/py-value.exp (test_value_creation): Add test for large
11328 unsigned 64-bit value.
11329
9c37b5ae
TT
113302016-10-06 Tom Tromey <tom@tromey.com>
11331
11332 * gdb.compile/compile.exp: Change java tests to rust.
11333 * gdb.base/setshow.exp: Change java tests to rust.
11334 * gdb.base/default.exp: Remove java from language list.
11335 * README (Examples): Update language example.
11336 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11337 test.
11338 * lib/gdb.exp (skip_java_tests): Remove.
11339 * lib/java.exp: Remove.
11340 * gdb.java: Remove.
11341
78b86327
MR
113422016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11343
11344 * gdb.arch/mips-fcr.exp: New test.
11345 * gdb.arch/mips-fcr.c: Source for the new test.
11346
7470adbb
MR
113472016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11348
11349 * gdb.base/solib-disc.exp: Use `standard_output_file'
11350 throughout.
11351
4a556533
PA
113522016-10-06 Pedro Alves <palves@redhat.com>
11353
11354 * gdb.base/jit-simple-dl.c: New file.
11355 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11356 * gdb.base/jit-simple.c: ... this.
11357 * gdb.base/jit-simple.exp (jit_run): Delete.
11358 (build_jit): New proc.
11359 (jit_test_reread): Recompile either the main program or the shared
11360 library, depending on what is being tested. Skip changing address
11361 if caller wants to. Compare before/after addresses. If testing
11362 standalone, explicitly load the binary. Test "maint info
11363 breakpoints".
11364 (top level): Add "standalone vs shared lib" and "change address"
11365 vs "same address" axes.
11366
5a122fbc
PA
113672016-10-06 Pedro Alves <palves@redhat.com>
11368
11369 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11370 call.
11371 (jit_run): Delete.
11372 (jit_test_reread): Use with_test_prefix. Reload the main binary
11373 explicitly. Compare the before/after addresses of the JIT
11374 descriptor.
11375
ee8da4b8
DE
113762016-08-15 Doug Evans <dje@google.com>
11377
11378 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11379 for single bitfields is bool.
11380 * gdb.xml/tdesc-regs.exp: Ditto.
11381
f389f6fe
JK
113822016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11383
11384 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11385
fdebf1a4
YQ
113862016-10-05 Yao Qi <yao.qi@linaro.org>
11387
11388 * lib/gdb.exp (support_complex_tests): Return zero if
11389 gdb_skip_float_test return true.
11390
9c36d954 113912016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11392 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
11393
11394 PR gdb/20487
11395 * gdb.mi/user-selected-context-sync.exp: New file.
11396 * gdb.mi/user-selected-context-sync.c: New file.
11397
4034d0ff 113982016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11399 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
11400
11401 PR gdb/20487
11402 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11403 =thread-select-event check.
11404
a4297203
PB
114052016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11406
11407 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11408 the compulsory L operand changes.
11409 * gdb.arch/powerpc-power.s: Likewise.
11410
bb805577
JK
114112016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11412
11413 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11414 * gdb.base/jit-attach-pie.c: New file.
11415 * gdb.base/jit-attach-pie.exp: New file.
11416
6d61dee5
PA
114172016-09-28 Pedro Alves <palves@redhat.com>
11418
11419 * gdb.base/infcall-input.c: New file.
11420 * gdb.base/infcall-input.exp: New file.
11421
f73842fc
YQ
114222016-09-22 Yao Qi <yao.qi@linaro.org>
11423
11424 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11425 (gdb_exit): Rename it to ...
11426 (gdbserver_gdb_exit): ... Close GDBserver.
11427 (gdb_exit): New proc, call gdbserver_gdb_exit.
11428 (mi_gdb_exit): Likewise.
11429
90681dab
YQ
114302016-09-22 Yao Qi <yao.qi@linaro.org>
11431
11432 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11433 path.
11434 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11435 Remove duplication.
11436
9c211fd8
YQ
114372016-09-22 Yao Qi <yao.qi@linaro.org>
11438
11439 * lib/gdbserver-support.exp: Check the existence of
11440 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11441
ad0a504f
AK
114422016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11443
11444 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11445
36cf1806
TT
114462016-09-21 Tom Tromey <tom@tromey.com>
11447
11448 PR gdb/20604:
11449 * gdb.base/quit.exp: New file.
11450
74172ecf
SM
114512016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11452
11453 * .gitignore: New file.
11454
3d0ec882
MR
114552016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11456
11457 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11458 throughout.
11459
8193adea
AA
114602016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11461
11462 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11463
d41a5c09
JK
114642016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11465
11466 * gdb.cp/casts.cc (decltype): Move it ...
11467 (main): ... with its call to ...
11468 * gdb.cp/casts03.cc: ... a new file.
11469 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11470
d2dfe700
JK
114712016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11472
11473 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11474
e2a92b16
PB
114752016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11476
11477 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11478 and sync up the test with tests in gas/testsuite/gas/ppc.
11479 * gdb.arch/powerpc-power.exp: Likewise.
11480
49b4de64
JK
114812016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11482
11483 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11484
2c29df25
SDJ
114852016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11486 Jan Kratochvil <jan.kratochvil@redhat.com>
11487
11488 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11489 make m1's definition to be different from m2's. Use 'dummy' as an
11490 argument for probe 'two'.
11491
cc3c2846
JB
114922016-09-10 Jon Beniston <jon@beniston.com>
11493
11494 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11495 for sim target.
11496
e1b2624a
AA
114972016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11498
11499 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11500 variable declaration.
11501 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11502 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11503 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11504 received HWCAP as its argument.
11505
4295e285
PA
115062016-09-06 Pedro Alves <palves@redhat.com>
11507
11508 * gdb.base/new-ui-pending-input.c: New file.
11509 * gdb.base/new-ui-pending-input.exp: New file.
11510 * gdb.exp (clear_gdb_spawn_id): New procedure.
11511 (with_spawn_id): Check whether gdb_spawn_id exists before
11512 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11513 on exit.
11514
00d5215e
UW
115152016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11516
11517 * gdb.base/float128.c: New file.
11518 * gdb.base/float128.exp: Likewise.
11519 * gdb.base/floatn.c: Likewise.
11520 * gdb.base/floatn.exp: Likewise.
11521
a9ff5f12
UW
115222016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11523
11524 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11525
f245535c
PA
115262016-09-05 Pedro Alves <palves@redhat.com>
11527
11528 PR backtrace/19927
11529 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11530 unwinders are immediately called as side effect of "source" or
11531 "disable unwinder" commands.
11532 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11533
ae9cf263
YQ
115342016-09-02 Yao Qi <yao.qi@linaro.org>
11535
11536 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11537 is true and $type is "float" or "double".
11538
27aba047
YQ
115392016-09-02 Yao Qi <yao.qi@linaro.org>
11540
11541 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11542 true.
11543 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11544 * gdb.base/call-rt-st.exp: Likewise.
11545 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11546 return value instead of gdb,skip_float_test.
11547 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11548 (do_function_calls): Use its return value instead of
11549 gdb,skip_float_test.
11550 * gdb.base/finish.exp: Likewise.
11551 * gdb.base/funcargs.exp: Likewise.
11552 * gdb.base/return.exp: Likewise.
11553 * gdb.base/return2.exp: Likewise.
11554 * gdb.base/varargs.exp: Likewise.
11555 * lib/gdb.exp (gdb_skip_float_test): Change it to
11556 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11557
5af962df
AA
115582016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11559
11560 * gdb.multi/tids.exp: Test "thread apply all".
11561
7fac6910
JK
115622016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11563
11564 * gdb.base/default.exp (tty): Remove.
11565
bb1fe4ac
KB
115662016-08-24 Kevin Buettner <kevinb@redhat.com>
11567
2806dc7e
PA
11568 * gdb.python/py-recurse-unwind.c: New file.
11569 * gdb.python/py-recurse-unwind.py: New file.
11570 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 11571
0a1ddfa6
SM
115722016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11573
11574 * gdb.base/set-inferior-tty.exp: New file.
11575 * gdb.base/set-inferior-tty.c: New file.
11576
d9de1fe3
PA
115772016-08-23 Pedro Alves <palves@redhat.com>
11578
11579 PR gdb/20494
11580 * gdb.base/new-ui-echo.c: New file.
11581 * gdb.base/new-ui-echo.exp: New file.
11582
e9d9abd7
YQ
115832016-08-23 Yao Qi <yao.qi@linaro.org>
11584
11585 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11586 gdbserver_spawn.
11587 * gdb.server/connect-without-multi-process.exp (do_test):
11588 Likewise.
11589
3589529e
YQ
115902016-08-23 Yao Qi <yao.qi@linaro.org>
11591
11592 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11593 standalone_txt. Delete gdb_txt and standalone_txt on host
11594 and target. Spawn the binary on target. Copy files from
11595 target to host.
11596
6bb90213
PA
115972016-08-22 Pedro Alves <palves@redhat.com>
11598
11599 PR gdb/20505
11600 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11601 with_test_prefix. Factor out bits to ...
11602 (test_no_vdso): ... this new procedure.
11603
20c2c024
CL
116042016-08-19 Carl Love <cel@us.ibm.com>
11605
11606 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11607 maintaining separate logic for constructing the output path.
11608 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11609 * gdb.arch/ppc-dfp.exp: Likewise.
11610 * gdb.arch/ppc-fp.exp: Likewise.
11611 * gdb.arch/vsx-regs.exp: Likewise.
11612 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11613 binprefix for generating the additional binary files.
11614
0646e07d
PA
116152016-08-19 Pedro Alves <palves@redhat.com>
11616
11617 * gdb.trace/mi-trace-frame-collected.exp
11618 (test_trace_frame_collected): On x32, expect two registers.
11619
46da9242
CL
116202016-08-18 Carl Love <cel@us.ibm.com>
11621
11622 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11623 and sync up the test with tests in gas/testsuite/gas/ppc.
11624 * gdb.arch/powerpc-power.exp: Likewise.
11625
eb2332d7
SM
116262016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11627
11628 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11629 expected error message.
11630
63c61e04
SM
116312016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11632
11633 * gdb.multi/remove-inferiors.exp: New file.
11634 * gdb.multi/remove-inferiors.c: New file.
11635
7b17065f
YQ
116362016-08-12 Yao Qi <yao.qi@linaro.org>
11637
11638 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11639 argument list.
11640
01d3dedf
PA
116412016-08-10 Pedro Alves <palves@redhat.com>
11642
11643 PR gdb/19187
11644 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11645 setup_kfails.
11646
3eb7562a
PA
116472016-08-09 Pedro Alves <palves@redhat.com>
11648 Simon Marchi <simon.marchi@ericsson.com>
11649
11650 PR gdb/20418
11651 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11652 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11653
80614914
PA
116542016-08-09 Pedro Alves <palves@redhat.com>
11655
11656 PR mi/20431
11657 * gdb.mi/mi-cmd-error.exp: New file.
11658
f348d89a
PA
116592016-08-09 Pedro Alves <palves@redhat.com>
11660
11661 PR gdb/18653
11662 * gdb.base/signals-state-child.c: New file.
11663 * gdb.base/signals-state-child.exp: New file.
11664 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11665
e5ca03b4
PA
116662016-08-09 Pedro Alves <palves@redhat.com>
11667
11668 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11669
282a0691
TT
116702016-08-03 Tom Tromey <tom@tromey.com>
11671
11672 PR python/18565:
11673 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11674
41bfcd63
YQ
116752016-08-01 Yao Qi <yao.qi@linaro.org>
11676
11677 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11678 variable mode to "multi-process" if $multi_process is 1, otherwise
11679 set it to "single-process".
11680
e3465b24
YQ
116812016-08-01 Yao Qi <yao.qi@linaro.org>
11682
11683 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11684 * gdb.cp/cpexprs.exp: Likewise.
11685 * gdb.cp/m-static.exp: Likewise.
11686
0b31a4bc
TT
116872016-07-26 Tom Tromey <tom@tromey.com>
11688
11689 PR python/20190:
11690 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11691 test.
11692
e0461dbb
MM
116932016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11694
11695 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11696 selecting assembly source files.
11697 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11698 assembly source files.
11699 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11700 assembly source files.
11701 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11702 selecting assembly source files.
11703
8194e927
SM
117042016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11705
11706 * gdb.base/new-ui.exp (do_test_invalid_args): New
11707 procedure.
11708
c0272db5
TW
117092016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11710
11711 * gdb.btrace/reconnect.c: New file.
11712 * gdb.btrace/reconnect.exp: New file.
11713
e3487908
GKB
117142016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11715
11716 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11717 to test_catch_syscall_group.
11718 (test_catch_syscall_group): New.
11719
12df5c00
TT
117202016-07-21 Tom Tromey <tom@tromey.com>
11721
11722 * gdb.rust/simple.rs (main): Use empty struct expression.
11723 * gdb.rust/simple.exp: Add tests for empty struct expression.
11724
bae62ee2
YQ
117252016-07-21 Yao Qi <yao.qi@linaro.org>
11726
11727 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11728 if gdb_skip_xml_test is true on some targets.
11729
b1b53fb3
YQ
117302016-07-21 Yao Qi <yao.qi@linaro.org>
11731
11732 * gdb.server/solib-list.exp: Unset last_loaded_file.
11733
027d97f8
JK
117342016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11735
11736 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11737 "step into captured_main (args)".
11738
7674d381
JK
117392016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11740
11741 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11742
72b5d099
JK
117432016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11744
11745 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11746
1f960ced
PA
117472016-07-19 Pedro Alves <palves@redhat.com>
11748
11749 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11750 * gdb.opt/inline-bt.exp: Likewise.
11751 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11752 additional_flags=-Winline.
11753 * gdb.opt/inline-locals.exp: Likewise.
11754 * gdb.opt/inline-markers.c (ATTR): Define.
11755 (inlined_fn): Use it.
11756
f25827c1
YQ
117572016-07-19 Yao Qi <yao.qi@linaro.org>
11758
11759 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11760 (test_with_self): Remove some code. Remove argument executable.
11761 (top-level): Use do_self_tests.
11762
37539ebe
DB
117632016-07-15 Zachary Welch <zwelch@codesourcery.com>
11764 Don Breazeal <donb@codesourcery.com>
11765
11766 * gdb.base/maint.exp: Escape paths used in regular expressions.
11767 * gdb.stabs/weird.exp: Likewise.
11768
dac790e1
TT
117692016-07-13 Tom Tromey <tom@tromey.com>
11770
11771 PR python/15620, PR python/18620:
11772 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11773 (test_bkpt_events): New procs.
11774
93daf339
TT
117752016-07-13 Tom Tromey <tom@tromey.com>
11776
11777 PR python/17698:
11778 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11779 test.
11780 (test_watchpoints): Likewise.
11781 (test_bkpt_pending): New proc.
11782
6571a381
TT
117832016-07-13 Tom Tromey <tom@tromey.com>
11784
11785 PR cli/18053:
11786 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11787 completion test.
11788
e8732474
JK
117892016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11790
11791 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11792 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11793 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11794 f_label.
11795 (g): Rename g_end_lbl to g_label.
11796 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11797 low_pc and high_pc.
11798 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11799
e0f3fd7c
TT
118002016-07-12 Tom Tromey <tom@tromey.com>
11801
11802 PR python/19293:
11803 * gdb.python/py-unwind-maint.exp: Update tests.
11804
3cfe46b6
YQ
118052016-07-12 Yao Qi <yao.qi@linaro.org>
11806
11807 * lib/selftest-support.exp (selftest_setup): Match the output
11808 when captured_main is inlined.
11809
4f19a0e6
WT
118102016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11811
11812 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11813 New variables.
11814 (print this%a, print this%b, print this): New tests.
11815 * gdb.fortran/derived-types.f90 (this): New object and
11816 initialization.
11817
986cf455
SM
118182016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11819
11820 * gdb.ada/arraydim.exp: Remove extra directory level in build
11821 directory.
11822
f0464b23
SM
118232016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11824
11825 * lib/ada.exp: Remove extra directory level in build directory.
11826 * gdb.ada/cond_lang.exp: Likewise.
11827 * gdb.ada/exec_changed.exp: Likewise.
11828 * gdb.ada/lang_switch.exp: Likewise.
11829
42d94011
MG
118302016-07-06 Manish Goregaokar <manish@mozilla.com>
11831
2806dc7e
PA
11832 * simple.rs: Add test for raw pointer subscripting.
11833 * simple.exp: Add test expectations.
42d94011 11834
647c264c
YQ
118352016-07-05 Yao Qi <yao.qi@linaro.org>
11836
11837 * gdb.mi/mi-reverse.exp: Match =record-started output.
11838
20aa2c60
PA
118392016-07-01 Pedro Alves <palves@redhat.com>
11840
11841 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11842 procedure.
11843 (jit_reader_test): Test the jit reader's unwinder.
11844 * gdb.base/jithost.c (jit_function_00_code): New global.
11845 (main): Use memcpy to fill in the mmapped code, instead of poking
11846 bytes manually here.
11847 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11848 value.
11849 (read_debug_info): Save the function's range.
11850 (read_sp): New function.
11851 (unwind_frame): Use it. Also unwind RBP.
11852 (get_frame_id): Use read_sp.
11853 (gdb_init_reader): Use calloc instead of malloc.
11854 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11855 parameter. Use gdb_test_multiple.
11856
ced2dffb
PA
118572016-07-01 Pedro Alves <palves@redhat.com>
11858 Antoine Tremblay <antoine.tremblay@ericsson.com>
11859
11860 * gdb.threads/process-dies-while-detaching.c: New file.
11861 * gdb.threads/process-dies-while-detaching.exp: New file.
11862
63000888
PA
118632016-07-01 Pedro Alves <palves@redhat.com>
11864
11865 * gdb.multi/watchpoint-multi-exit.c: New file.
11866 * gdb.multi/watchpoint-multi-exit.exp: New file.
11867
038d4868
PA
118682016-06-30 Pedro Alves <palves@redhat.com>
11869
11870 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11871 unset inferior_spawn_id.
11872
994e9c83
PA
118732016-06-30 Pedro Alves <palves@redhat.com>
11874
11875 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11876 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11877
e5653468
YQ
118782016-06-29 Yao Qi <yao.qi@linaro.org>
11879
11880 * gdb.base/return.c: Add copyright header.
11881
803b47e5
TT
118822016-06-29 Tom Tromey <tom@tromey.com>
11883
11884 PR python/20129:
11885 * gdb.python/py-framefilter.exp: Add tests for setting priority
11886 and disabling of non-existent frame filter.
11887
28244707
YQ
118882016-06-29 Yao Qi <yao.qi@linaro.org>
11889
11890 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11891 0x0f07ff.
11892
a31d2f06
YQ
118932016-06-28 Yao Qi <yao.qi@linaro.org>
11894
11895 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11896 triplets. Start gdb, execute catch syscall, and continue. Check
11897 gdb's output to determine catch syscall is supported.
11898
921d8f54
MG
118992016-06-27 Manish Goregaokar <manish@mozilla.com>
11900
25d49b86
PA
11901 * gdb.rust/simple.rs: Add test for returning unit in a function.
11902 * gdb.rust/simple.exp: Add expectation for functions returning
11903 unit.
921d8f54 11904
f4952523
PMR
119052016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11906
11907 * gdb.python/py-breakpoint-create-fail.c,
11908 gdb.python/py-breakpoint-create-fail.exp,
11909 gdb.python/py-breakpoint-create-fail.py: New testcase.
11910
fccb08f8
MG
119112016-06-25 Manish Goregaokar <manish@mozilla.com>
11912
11913 PR gdb/20239
11914 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
11915 * gdb.rust/simple.exp: Add test expectations for new NonZero
11916 tests.
fccb08f8 11917
6b850546
DT
119182016-06-24 David Taylor <dtaylor@emc.com>
11919
11920 * gdb.base/offsets.exp: New file.
11921 * gdb.base/offsets.c: New file.
11922
17621150
TT
119232016-06-23 Tom Tromey <tom@tromey.com>
11924
11925 PR gdb/16483:
11926 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11927 before any filters are loaded.
11928
04d59df6
WT
119292016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11930
11931 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11932 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11933 structs.
11934 * gdb.fortran/derived-type-function.exp: New file.
11935 * gdb.fortran/derived-type-function.f90: New file.
11936
11937
ac69f786
PA
119382016-06-21 Pedro Alves <palves@redhat.com>
11939
11940 * gdb.base/new-ui.exp: New file.
11941 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11942 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11943 (with_spawn_id): New procedure.
11944
49940788
PA
119452016-06-21 Pedro Alves <palves@redhat.com>
11946
11947 * gdb.mi/mi-exec-run.exp: New file.
11948
ef274d26
PA
119492016-06-21 Pedro Alves <palves@redhat.com>
11950
11951 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11952 breakpoint command's output on the main UI.
11953 (test_break): New procedure, factored out from calls in the top
11954 level.
11955 (top level): Use foreach_with_prefix to test MI as main UI and as
11956 separate UI.
11957
468afe6c
PA
119582016-06-21 Pedro Alves <palves@redhat.com>
11959
11960 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11961 (test_awatch_creation_and_listing)
11962 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11963 Remove 'type' parameter.
11964 (test_watchpoint_all): New parameter mi_mode. Remove
11965 with_test_prefix.
11966 (top level): Use foreach_with_prefix, and add main/separate UI MI
11967 testing axis.
11968
51f77c37
PA
119692016-06-21 Pedro Alves <palves@redhat.com>
11970
11971 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11972 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11973 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11974 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11975 (gdb_main_spawn_id, mi_spawn_id): Declare and
11976 comment.
11977 (mi_create_inferior_pty): New procedure,
11978 factored out from default_mi_gdb_start.
11979 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11980 procedures.
11981 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11982 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11983 Use mi_create_inferior_pty.
11984 (mi_gdb_start): Use eval to pass down args list.
11985
8980e177
PA
119862016-06-21 Pedro Alves <palves@redhat.com>
11987
11988 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11989 * gdb.opt/inline-cmds.exp: Add MI tests.
11990
f38d3ad1
PA
119912016-06-21 Pedro Alves <palves@redhat.com>
11992
11993 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11994
45db7c09
PA
119952016-06-21 Pedro Alves <palves@redhat.com>
11996
11997 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11998 (top level): Use it instead of mi_execute_to.
11999
5a069ab3
PA
120002016-06-21 Pedro Alves <palves@redhat.com>
12001
12002 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12003 (cont_handler_str): New.
12004 (signal_stop_handler): Set stop_handler_str instead of printing to
12005 stdout.
12006 (continue_handler): Set cont_handler_str instead of printing to
12007 stdout.
12008 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12009 mi_send_resuming_command. Print stop_handler_str and
12010 cont_handler_str instead of expecting the python events print
12011 directly.
12012
2838cc1d
SD
120132016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12014
12015 * gdb.base/jit-reader.exp: New file.
12016 * gdb.base/jithost.c: New file.
12017 * gdb.base/jithost.h: New file.
12018 * gdb.base/jitreader.c : New file.
12019 * gdb.base/jit-protocol.h: New file.
12020
21a77091
YQ
120212016-06-17 Yao Qi <yao.qi@linaro.org>
12022
12023 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12024 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12025 and detach-on-fork. Adjust tests.
12026 (top level): Invoke break_cond_on_syscall with combinations of
12027 syscall, follow-fork-mode and detach-on-fork.
12028
f50bf8e5
YQ
120292016-06-17 Yao Qi <yao.qi@linaro.org>
12030
12031 * gdb.base/step-over-exit.c: New.
12032 * gdb.base/step-over-exit.exp: New.
12033
a28d8e50
YTL
120342016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12035
12036 * gdb.base/float.exp: Add target check for nds32*-*-*.
12037 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12038
cad8e26d
AB
120392016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12040
12041 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12042 for unsupported target features.
12043 * gdb.base/call-rt-st.exp: Likewise.
12044 * gdb.base/call-sc.exp: Likewise.
12045 * gdb.base/call-signal-resume.exp: Likewise.
12046 * gdb.base/call-strs.exp: Likewise.
12047 * gdb.base/callexit.exp: Likewise.
12048 * gdb.base/callfuncs.exp: Likewise.
12049 * gdb.base/nodebug.exp: Likewise.
12050 * gdb.base/printcmds.exp: Likewise.
12051 * gdb.base/ptype.exp: Likewise.
12052 * gdb.base/structs.exp: Likewise.
12053 * gdb.base/unwindonsignal.exp: Likewise.
12054 * gdb.cp/gdb2495.exp: Likewise.
12055 * gdb.cp/templates.exp: Likewise.
12056 * gdb.cp/virtfunc.exp: Likewise.
12057 * gdb.threads/hand-call-in-threads.exp: Likewise.
12058 * gdb.threads/interrupted-hand-call.exp: Likewise.
12059 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12060
347dc102
TT
120612016-06-10 Tom Tromey <tom@tromey.com>
12062
12063 PR rust/20110:
12064 * gdb.rust/expr.exp: Add test for integer constant larger than
12065 i32.
12066
5e13cf25
BH
120672016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12068
12069 * gdb.fortran/nested-funcs.exp: New.
12070 * gdb.fortran/nested-funcs.f90: New.
12071
bb556f1f
TK
120722016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12073
12074 * gdb.base/examine-backward.c: New file.
12075 * gdb.base/examine-backward.exp: New file.
12076
38b022b4
SM
120772016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12078
12079 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12080 matching.
12081
1b40ec05
TT
120822016-06-02 Tom Tromey <tom@tromey.com>
12083
12084 PR python/18984:
12085 * gdb.python/py-shared.exp: Add solib_name test.
12086
193bd378
SM
120872016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12088
12089 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12090
3326303b
MG
120912016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12092
12093 PR c++/19893
12094 * gdb.dwarf2/implref.exp: Rename to...
12095 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12096 * gdb.dwarf2/implref-array.c: New file.
12097 * gdb.dwarf2/implref-array.exp: Likewise.
12098 * gdb.dwarf2/implref-global.c: Likewise.
12099 * gdb.dwarf2/implref-global.exp: Likewise.
12100 * gdb.dwarf2/implref-struct.c: Likewise.
12101 * gdb.dwarf2/implref-struct.exp: Likewise.
12102
825c8ef2
AT
121032016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12104
12105 * gdb.trace/trace-condition.exp: Add 64bit tests.
12106
2320162a
AT
121072016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12108
12109 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12110 bits types.
12111 (main): Adapt to 8 to 64 bits types.
12112 * gdb.trace/trace-condition.exp: Add new tests.
12113
a7818233
AT
121142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12115
12116 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12117
0d336466
AT
121182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12119
12120 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12121 Move condition tests...
12122 * gdb.trace/trace-condition.exp: Here.
12123
7faeb45a
AT
121242016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12125
12126 * gdb.trace/trace-condition.exp: Add counter-case tests.
12127
e385593e
JK
121282016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12129
12130 PR c++/15231
12131 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12132 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12133
744608cc
PA
121342016-05-27 Pedro Alves <palves@redhat.com>
12135
12136 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12137 New procedure.
12138 (top level): Call it, and bail out of DejaGnu is known to be bad.
12139
ac775bf4
AB
121402016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12141
12142 * gdb.base/whatis.c: Extend the test case.
12143 * gdb.base/whatis.exp: Add additional tests.
12144
2bbad2ea
BH
121452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12146
12147* gdb.fortran/type.f90: Add pointer variable.
12148* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12149
8b70175d
BH
121502016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12151
12152 * gdb.fortran/vla-type.exp: Fix testcase name.
12153
86d8a848
BH
121542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12155
12156 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12157
e188eb36
BH
121582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12159
12160 * gdb.fortran/type.f90: Add nested structures.
12161 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12162 * gdb.fortran/derived-type.exp: Adapt expected output.
12163 * gdb.fortran/vla-type.exp: Adapt expected output.
12164
9b2db1fd
BH
121652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12166
12167 * gdb.fortran/whatis_type.exp: Adapt expected output.
12168
72b17055
BH
121692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12170
12171 * gdb.fortran/print_type.exp: Fix expected output.
12172 * gdb.fortran/whatis_type.exp: Fix expected output.
12173
3cd81d8d
BH
121742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12175
12176 * gdb.fortran/whatis_type.exp: Use multi_line.
12177
ddae9462
TT
121782016-05-24 Tom Tromey <tom@tromey.com>
12179
12180 PR python/17386:
12181 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12182 use value as an index.
12183
1957f6b8
TT
121842016-05-23 Tom Tromey <tom@tromey.com>
12185
12186 PR python/17981:
12187 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12188 no-breakpoint case.
12189
026a9174
PA
121902016-05-24 Pedro Alves <palves@redhat.com>
12191
12192 PR gdb/19828
12193 * gdb.threads/clone-attach-detach.c: New file.
12194 * gdb.threads/clone-attach-detach.exp: New file.
12195
e70a7231
FR
121962016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12197
12198 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12199
0f6ed0e0
TT
122002016-05-23 Tom Tromey <tom@tromey.com>
12201
12202 PR python/19438, PR python/18393:
12203 * gdb.python/py-progspace.exp: Add "dir" test.
12204 * gdb.python/py-objfile.exp: Add "dir" test.
12205
ffd19d61
YQ
122062016-05-23 Yao Qi <yao.qi@linaro.org>
12207
12208 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12209 * gdb.arch/thumb2-it.exp: Likewise.
12210
9e8f9b05
SM
122112016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12212
12213 * gdb.mi/mi-threads-interrupt.c: New file.
12214 * gdb.mi/mi-threads-interrupt.exp: New file.
12215
61c6156d
SM
122162016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12217
12218 PR gdb/18077
12219 * gdb.mi/mi-async-run.exp: New file.
12220 * gdb.mi/mi-async-run.c: New file.
12221
67218854
TT
122222016-05-17 Tom Tromey <tom@tromey.com>
12223 Manish Goregaokar <manishsmail@gmail.com>
12224
12225 * lib/rust-support.exp: New file.
12226 * lib/gdb.exp (skip_rust_tests): New proc.
12227 (build_executable_from_specs): Handle rust.
12228 * lib/future.exp (gdb_find_rustc): New proc.
12229 (gdb_default_target_compile): Handle rust.
12230 * gdb.rust/expr.exp: New file.
12231 * gdb.rust/generics.exp: New file.
12232 * gdb.rust/generics.rs: New file.
12233 * gdb.rust/methods.exp: New file.
12234 * gdb.rust/methods.rs: New file.
12235 * gdb.rust/modules.exp: New file.
12236 * gdb.rust/modules.rs: New file.
12237 * gdb.rust/simple.exp: New file.
12238 * gdb.rust/simple.rs: New file.
12239
c44af4eb
TT
122402016-05-17 Tom Tromey <tom@tromey.com>
12241
12242 * gdb.base/default.exp (set language): Add rust.
12243
dcd1f979
TT
122442016-05-17 Tom Tromey <tom@tromey.com>
12245
12246 * gdb.gdb/unittest.exp: New file.
12247
155b7f57
YQ
122482016-05-16 Yao Qi <yao.qi@linaro.org>
12249
12250 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12251 shell_prompt. Update shell_prompt_re.
12252
8ddd5a6c
DE
122532016-05-12 Doug Evans <dje@google.com>
12254
12255 PR symtab/19999
12256 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12257 $options when building executable.
12258 * gdb.dwarf2/fission-loclists-pie.S: New file.
12259 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12260
02e370d9
SM
122612016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12262
12263 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12264 of [is_remote target],
12265
8929ad8b
SM
122662016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12267
12268 * lib/gdb.exp (use_gdb_stub): New procedure.
12269
6c447423
DE
122702016-05-03 Yunlian Jiang <yunlian@google.com>
12271 Doug Evans <dje@google.com>
12272
12273 PR symtab/19914
12274 * gdb.dwarf2/dwp-sepdebug.c: New file.
12275 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12276
444e826c
SM
122772016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12278
12279 * gdb.base/detach.exp: Remove is_remote check.
12280
740feeaa
SM
122812016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12282
12283 * gdb.base/annota-input-while-running.exp: Don't check for
12284 [is_remote target]. Enable annotations after running to main.
12285 Remove unused "set test..." line.
12286
9080ac9d
SM
122872016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12288
12289 * gdb.trace/trace-enable-disable.exp: New file.
12290 * gdb.trace/trace-enable-disable.c: New file.
12291
952ebca5
SM
122922016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12293
12294 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12295 use it in info sharedlibrary test.
12296 * gdb.trace/ftrace-lock.exp: Likewise.
12297 * gdb.trace/ftrace.exp: Likewise.
12298 * gdb.trace/range-stepping.exp: Likewise.
12299 * gdb.trace/trace-break.exp: Likewise.
12300 * gdb.trace/trace-condition.exp: Likewise.
12301 * gdb.trace/trace-mt.exp: Likewise.
12302
d9019901
SM
123032016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12304
12305 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12306 (gdb_load_shlib): ... this.
12307 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12308 gdb_load_shlib.
12309 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12310 * gdb.base/ctxobj.exp: Likewise.
12311 * gdb.base/dprintf-pending.exp: Likewise.
12312 * gdb.base/dso2dso.exp: Likewise.
12313 * gdb.base/fixsection.exp: Likewise.
12314 * gdb.base/gcore-relro.exp: Likewise.
12315 * gdb.base/gdb1555.exp: Likewise.
12316 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12317 * gdb.base/gnu-ifunc.exp: Likewise.
12318 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12319 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12320 * gdb.base/pending.exp: Likewise.
12321 * gdb.base/print-file-var.exp: Likewise.
12322 * gdb.base/print-symbol-loading.exp: Likewise.
12323 * gdb.base/shlib-call.exp: Likewise.
12324 * gdb.base/shreloc.exp: Likewise.
12325 * gdb.base/so-impl-ld.exp: Likewise.
12326 * gdb.base/solib-disc.exp: Likewise.
12327 * gdb.base/solib-nodir.exp: Likewise.
12328 * gdb.base/solib-overlap.exp: Likewise.
12329 * gdb.base/solib-symbol.exp: Likewise.
12330 * gdb.base/solib-weak.exp (do_test): Likewise.
12331 * gdb.base/sym-file.exp: Likewise.
12332 * gdb.base/symtab-search-order.exp: Likewise.
12333 * gdb.base/type-opaque.exp: Likewise.
12334 * gdb.base/unload.exp: Likewise.
12335 * gdb.base/watchpoint-solib.exp: Likewise.
12336 * gdb.compile/compile.exp: Likewise.
12337 * gdb.cp/gdb2384.exp: Likewise.
12338 * gdb.cp/infcall-dlopen.exp: Likewise.
12339 * gdb.cp/re-set-overloaded.exp: Likewise.
12340 * gdb.fortran/library-module.exp: Likewise.
12341 * gdb.opt/solib-intra-step.exp: Likewise.
12342 * gdb.python/py-finish-breakpoint.exp: Likewise.
12343 * gdb.python/py-shared.exp: Likewise.
12344 * gdb.reverse/solib-precsave.exp: Likewise.
12345 * gdb.reverse/solib-reverse.exp: Likewise.
12346 * gdb.server/solib-list.exp: Likewise.
12347 * gdb.threads/dlopen-libpthread.exp: Likewise.
12348 * gdb.threads/tls-shared.exp: Likewise.
12349 * gdb.threads/tls-so_extern.exp: Likewise.
12350 * gdb.trace/change-loc.exp: Likewise.
12351 * gdb.trace/ftrace-lock.exp: Likewise.
12352 * gdb.trace/ftrace.exp: Likewise.
12353 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12354 * gdb.trace/pending.exp: Likewise.
12355 * gdb.trace/range-stepping.exp: Likewise.
12356 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12357 (strace_info_marker): Likewise.
12358 (strace_probe_marker): Likewise.
12359 (strace_trace_on_same_addr): Likewise.
12360 (strace_trace_on_diff_addr): Likewise.
12361 * gdb.trace/trace-break.exp: Likewise.
12362 * gdb.trace/trace-condition.exp: Likewise.
12363 * gdb.trace/trace-mt.exp: Likewise.
12364
fca4cfd9
SM
123652016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12366
12367 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12368 result of gdb_remote_download.
12369 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12370 * gdb.base/dso2dso.exp: Likewise.
12371 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12372 * gdb.base/print-file-var.exp: Likewise.
12373 * gdb.base/shlib-call.exp: Likewise.
12374 * gdb.base/shreloc.exp: Likewise.
12375 * gdb.base/solib-overlap.exp: Likewise.
12376 * gdb.base/solib-weak.exp (do_test): Likewise.
12377 * gdb.base/unload.exp: Likewise.
12378
11cf4ffb
YQ
123792016-04-27 Yao Qi <yao.qi@linaro.org>
12380
12381 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12382 exists.
12383
3e2e34f8
KB
123842016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12385
12386 * vla-type.exp: Print structure from toplevel.
12387
8f07e298
BH
123882016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12389
12390 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12391 of dynamic types.
12392 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12393 of dynamic types.
12394
9920b434
BH
123952016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12396
12397 * gdb.fortran/vla-type.f90: New file.
12398 * gdb.fortran/vla-type.exp: New file.
12399
f3abeff5
YQ
124002016-04-25 Yao Qi <yao.qi@linaro.org>
12401
12402 * gdb.base/branch-to-self.c: New file.
12403 * gdb.base/branch-to-self.exp: New file.
12404
0a5d52f0
YQ
124052016-04-22 Yao Qi <yao.qi@linaro.org>
12406
12407 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12408 more after $hex.
12409
495346f6
YQ
124102016-04-22 Yao Qi <yao.qi@linaro.org>
12411
12412 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12413 * gdb.base/annota3.exp: Likewise.
12414
4a7e075c
YQ
124152016-04-22 Yao Qi <yao.qi@linaro.org>
12416
12417 * gdb.reverse/step-precsave.exp: Do one step and test program
12418 stops in "callee" and do multiple steps until program goes out
12419 of "callee".
12420 * gdb.reverse/step-reverse.exp: Likewise.
12421
5b061e98
YQ
124222016-04-22 Yao Qi <yao.qi@linaro.org>
12423
12424 * gdb.trace/signal.exp: Also pass if
12425 $tracepoint_hits($i) > $iterations.
12426
5c5dc57f
YQ
124272016-04-22 Yao Qi <yao.qi@linaro.org>
12428
12429 * gdb.trace/signal.c: New file.
12430 * gdb.trace/signal.exp: New file.
12431
a55411b9
DE
124322016-04-19 Doug Evans <xdje42@gmail.com>
12433
12434 * gdb.base/bad-file.exp: New file.
12435
a22df60a
MG
124362016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12437
12438 * gdb.dwarf2/implref.exp: New file.
12439
0c13f7e5
BH
124402016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12441
12442 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12443 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12444 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12445 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12446 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12447 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12448 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12449 * lib/fortran.exp (fortran_int4): New procedure.
12450 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12451 (fortran_logical4): Likewise.
12452
9b9b09e9
BH
124532016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12454
12455 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12456
a14d1f4d
BH
124572016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12458
12459 * lib/compiler.c: Add Intel specific preprocessor macros.
12460 * lib/compiler.cc: Likewise.
25d49b86 12461
7d49b1d0
LM
124622016-04-13 Luis Machado <lgustavo@codesourcery.com>
12463
12464 * gdb.server/connect-with-no-symbol-file.c: New file.
12465 * gdb.server/connect-with-no-symbol-file.exp: New file.
12466
8392fa22
SM
124672016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12468
12469 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12470
8c4c4aeb
SM
124712016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12472
12473 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12474 standard output directory.
12475
45e3745e
AT
124762016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12477
12478 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12479
e26b7e41
MM
124802016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12481
12482 * gdb.btrace/instruction_history.c (loop): Add declaration.
12483
8ce09462
AT
124842016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12485
12486 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12487
2e88a1ea
SM
124882016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12489
12490 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12491 parentheses to print.
12492 (continue_handler): Likewise.
12493
f48e22e3
SM
124942016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12495
12496 * gdb.server/solib-list.exp: Remove is_remote check.
12497 Pass shlib= to gdb_compile. Don't link shared library with
12498 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12499 Run binary filename through "readlink -f" on the target.
12500
096be756
PA
125012016-04-08 Pedro Alves <palves@redhat.com>
12502
12503 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12504 interpreter filename as argument to gdbserver_spawn.
12505 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12506 Return empty if $last_loaded_file does not exist.
12507
06500533
JK
125082016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12509
12510 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12511 * gdb.base/jit-main.c: Use exit after usage.
12512
2d35e871
JK
125132016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12514
12515 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12516 GDBHISTSIZE prior to the tests.
12517 * gdb.base/gdbinit-history.exp: Likewise.
12518
125192016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
12520
12521 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12522 instead of build_executable. Use gdb_load_shlibs.
12523
c8064e7e
YQ
125242016-04-07 Yao Qi <yao.qi@linaro.org>
12525
12526 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12527 Execute "si" command.
12528
bde47561
YQ
125292016-04-07 Yao Qi <yao.qi@linaro.org>
12530
12531 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12532 number instead of the comments on some line.
12533
b16f8a3b
DB
125342016-04-06 Don Breazeal <donb@codesourcery.com>
12535
12536 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12537 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12538
c2f901df
SM
125392016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12540
12541 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12542 standard_output_file. Remove unused binfile variable.
12543
ac17fda0
CU
125442016-04-05 Catalin Udma <catalin.udma@freescale.com>
12545
12546 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12547 * gdb.python/py-mi-objfile.exp: Match "list main" output
12548 in console format.
12549
03a8c4df
SM
125502016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12551
12552 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12553 absolute.
12554
6e774b13
SM
125552016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12556
12557 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12558 absolute.
12559 * gdb.trace/ftrace.exp: Likewise.
12560 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12561 targets as well.
12562 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12563 (gdb_load_shlibs): Copy libraries to test directory when testing
12564 natively. Only set solib-search-path if testing remotely.
12565 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12566
7817ea46
SM
125672016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12568
12569 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12570 gdb_download. Use it even if the target is not remote.
12571 * gdb.base/jit.exp (compile_jit_test): Likewise.
12572 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12573 output directory if the destination board is local, otherwise use
12574 the standard remote_download from DejaGnu.
12575 (gdb_download): Remove.
12576 (gdb_load_shlibs): Use gdb_remote_download instead of
12577 gdb_download.
12578 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12579 Use gdb_remote_download instead of gdb_download. Use it even if
12580 the target is not remote.
12581 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12582 instead of gdb_download.
12583
7beb7f68
SM
125842016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12585
12586 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12587 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12588 run.
12589
cc63428a
AV
125902016-04-01 Artemiy Volkov <artemiyv@acm.org>
12591
12592 PR gdb/19820
12593 * gdb.base/printcmds.exp: Add artificial arrays tests.
12594
64cdf930
PA
125952016-03-31 Pedro Alves <palves@redhat.com>
12596
12597 PR gdb/19858
12598 * gdb.base/jit-main.c: Include unistd.h.
12599 (ATTACH): Define to 0 if not already defined.
12600 (wait_for_gdb, mypid): New globals.
12601 (WAIT_FOR_GDB): New macro.
12602 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12603 some breakpoint locations.
12604 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12605 New procedures.
12606 (one_jit_test): Add REATTACH parameter, and handle it. Use
12607 continue_to_test_location.
12608 (top level): Test attach, and adjusts calls to one_jit_test.
12609
40dea8cb
PA
126102016-03-31 Pedro Alves <palves@redhat.com>
12611
12612 PR gdb/19858
12613 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12614 BINSUFFIX parameter, and handle it.
12615 (top level): Adjust calls compile_jit_test.
12616
e7ea3ec7
CU
126172016-03-31 Catalin Udma <catalin.udma@freescale.com>
12618
12619 PR python/19743
12620 * gdb.python/py-mi-events-gdb.py: New file.
12621 * gdb.python/py-mi-events.c: New file.
12622 * gdb.python/py-mi-events.exp: New file.
12623
e6359af3
YQ
126242016-03-30 Yao Qi <yao.qi@linaro.org>
12625
12626 * gdb.reverse/until-precsave.exp: Match function name only.
12627 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12628 Move malloc to a condition block.
12629 * gdb.reverse/until-reverse.exp: Match function name only.
12630
a4105d04
MK
126312016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12632
12633 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12634 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12635 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12636 variable for GPR 0 instead of assuming it is register 0.
12637 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12638 * lib/trace-support.exp: Add s390 registers.
12639
bfa6adb9
YQ
126402016-03-29 Yao Qi <yao.qi@linaro.org>
12641
12642 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12643
1e6697ea
YQ
126442016-03-24 Yao Qi <yao.qi@linaro.org>
12645
12646 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12647 test message.
12648
64bcd522
AA
126492016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12650
12651 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12652 maintaining separate logic for constructing the output path.
12653
7868401b
DB
126542016-03-16 Don Breazeal <donb@codesourcery.com>
12655
12656 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12657 Retry fork and waitpid on interrupted system call errors.
12658 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12659 Use with_timeout_factor to increase timeout by factor of 10.
12660
1cafadb4
DB
126612016-03-15 Don Breazeal <donb@codesourcery.com>
12662
12663 * gdb.cp/scope-err.cc: New test program.
12664 * gdb.cp/scope-err.exp: New test script.
12665 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12666 lines and "set breakpoint here" comment.
12667 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12668 Fixed some whitespace and format issues.
12669 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12670 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12671
81516450
DE
126722016-03-15 Doug Evans <dje@google.com>
12673
12674 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12675 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12676 All callers updated. Add tests for enums, mixed flags register.
12677
aa52b601
DE
126782016-03-15 Doug Evans <dje@google.com>
12679
12680 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12681 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12682
fa4ff313
SM
126832016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12684
12685 * gdb.base/default.exp: Add $_as_string to the list of expected
12686 convenience functions.
12687
f2403c39
AB
126882016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12689
12690 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12691
f2f3ccb9
SM
126922016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12693
12694 * gdb.python/py-as-string.exp: New file.
12695 * gdb.python/py-as-string.c: New file.
12696
00dbd492
PA
126972016-03-09 Pedro Alves <palves@redhat.com>
12698
12699 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12700 signal" -> "Thread NN received signal" output change.
12701 * gdb.threads/ia64-sigill.exp: Likewise.
12702 * gdb.threads/linux-dp.exp: Likewise.
12703 * gdb.threads/manythreads.exp: Likewise.
12704 * gdb.threads/pending-step.exp: Likewise.
12705 * gdb.threads/print-threads.exp: Likewise.
12706 * gdb.threads/sigstep-threads.exp: Likewise.
12707 * gdb.threads/staticthreads.exp: Likewise.
12708 * gdb.threads/tls.exp: Likewise.
12709
1e6697ea
YQ
127102016-03-09 Pedro Alves <palves@redhat.com>
12711
12712 * gdb.base/command-line-input.exp: New file.
12713
b04fd3be
MK
127142016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12715
12716 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12717 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12718 * gdb.trace/pending.exp: Accept leading dot before function name.
12719 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12720 * lib/trace-support.exp: Set registers for ppc.
12721
98fa59e9
MK
127222016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12723
12724 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12725 use it for disassembly; accept .main in addition to main in backtrace.
12726
f77198c8
MK
127272016-03-09 Wei-cheng Wang <cole945@gmail.com>
12728 Marcin Kościelnicki <koriakin@0x04.net>
12729
12730 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12731 (gdb_recursion_test_ptr): New global variable.
12732 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12733 gdb_recursion_test.
12734 (gdb_c_test): Ditto.
12735
ba84e0da
MK
127362016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12737
12738 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12739 ordering.
12740
4366d36e
MK
127412016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12742
12743 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12744 (bar): Add bar_start_lbl label.
12745 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12746 of foo/bar for emitting DWARF and tracing.
12747
5eb264df
SDJ
127482016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12749
12750 * analyze-racy-logs.py: Set executable bit.
12751
fb6a751f
SDJ
127522016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12753
12754 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12755 (CHECK_TARGET_TMP): Likewise.
12756 (check-single-racy): New rule.
12757 (check-parallel-racy): Likewise.
12758 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12759 (do-check-parallel-racy): New rule.
12760 (check-racy/%.exp): Likewise.
12761 * README (Racy testcases): New section.
12762 * analyze-racy-logs.py: New file.
12763
bdf7e230
DE
127642016-03-03 Doug Evans <dje@google.com>
12765
12766 * gdb.base/skip.exp: Use with_test_prefix.
12767
4719d415
YQ
127682016-03-03 Yao Qi <yao.qi@linaro.org>
12769
12770 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12771 Invoke step_over_syscall "clone" and break_cond_on_syscall
12772 "clone".
12773 * gdb.base/step-over-clone.c: New file.
12774
ea507862
YQ
127752016-03-03 Yao Qi <yao.qi@linaro.org>
12776
12777 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12778 code format.
12779
8fc8cbda
YQ
127802016-03-03 Yao Qi <yao.qi@linaro.org>
12781
12782 * gdb.base/disp-step-fork.c: Rename to ...
12783 * gdb.base/step-over-fork.c: ... it. New file.
12784 * gdb.base/disp-step-vfork.c: Rename to ...
12785 * gdb.base/step-over-vfork.c: ... it. New file.
12786 * gdb.base/disp-step-syscall.exp: Rename to ...
12787 * gdb.base/step-over-syscall.exp: ... it. New file.
12788 (disp_step_cross_syscall): Rename to ...
12789 (step_over_syscall): ... it.
12790
92fa70b0
YQ
127912016-03-03 Yao Qi <yao.qi@linaro.org>
12792
12793 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12794 If target supports condition evaluation on target, invoke
12795 break_cond_on_syscall for fork and vfork.
12796
e197ad3c
YQ
127972016-03-03 Yao Qi <yao.qi@linaro.org>
12798
12799 * gdb.base/disp-step-syscall.exp: Don't invoke
12800 support_displaced_stepping.
12801 (disp_step_cross_syscall): Test with displaced stepping off and
12802 on if supported.
12803
0b47da9f
YQ
128042016-03-03 Yao Qi <yao.qi@linaro.org>
12805
12806 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12807 proc.
12808 (setup): New proc.
12809 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12810 and setup.
12811
065ab6dc
BH
128122016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12813
12814 * gdb.fortran/vla-history.exp: Remove breakpoint.
12815
07e448ad 128162016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12817
25d49b86
PA
12818 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12819 exceeds timeout.
07e448ad 12820
9ac2d526 128212016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12822
25d49b86
PA
12823 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12824 breakpoint.
9ac2d526 12825
17807369
BH
128262016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12827
12828 * gdb.mi/vla.f90: Nullify pointer after declaration.
12829
86e501af
PA
128302016-03-01 Pedro Alves <palves@redhat.com>
12831
12832 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12833
1e903e32
PA
128342016-03-01 Pedro Alves <palves@redhat.com>
12835
12836 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12837 before anything else.
12838 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12839 _GNU_SOURCE here.
12840 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12841 before anything else.
12842 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12843
6ccb54e2
PA
128442016-03-01 Pedro Alves <palves@redhat.com>
12845
12846 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12847
30ca9da1
YQ
128482016-03-01 Yao Qi <yao.qi@linaro.org>
12849
12850 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12851 prepare_for_testing.
12852
dc856b38
YQ
128532016-03-01 Yao Qi <yao.qi@linaro.org>
12854
12855 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12856
4a932159
AA
128572016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12858
12859 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12860 manually constructing the output path.
12861
f2489477
AA
128622016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12863
12864 * gdb.arch/s390-stackless.S: New.
12865 * gdb.arch/s390-stackless.exp: New.
12866
38899f16
IB
128672016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12868
12869 * gdb.dlang/circular.c: New file.
12870 * gdb.dlang/circular.exp: New file.
12871
9fde51ed
YQ
128722016-02-26 Yao Qi <yao.qi@linaro.org>
12873
12874 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12875 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12876 (testcases): Update.
12877
ce90fefe
YQ
128782016-02-26 Yao Qi <yao.qi@linaro.org>
12879
12880 * gdb.reverse/aarch64.c: Rename to ...
12881 * gdb.reverse/insn-reverse.c: ... it.
12882 * gdb.reverse/aarch64.exp: Rename to ...
12883 * gdb.reverse/insn-reverse.exp: ... it.
12884
3263bceb
YQ
128852016-02-26 Yao Qi <yao.qi@linaro.org>
12886
12887 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12888 (testcase_ftype): New.
12889 (testcases): New array.
12890 (n_testcases): New.
12891 (main): Call each element in testcases.
12892 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12893 (read_testcase): New.
12894 Do the tests in a loop.
12895
6cb59ff1
YQ
128962016-02-25 Yao Qi <yao.qi@linaro.org>
12897
12898 * gdb.base/branches.c: Remove.
12899
ae91f625
MK
129002016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12901
12902 PR gdb/13808
12903 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12904
678b48b7
MK
129052016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12906
12907 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12908
7337a6f2
MK
129092016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12910
12911 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12912 change x86_64 call_insn to 'callq'.
12913
861ca91f
AT
129142016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12915
12916 * gdb.trace/tfile-avx.c: Move to...
12917 * gdb.trace/tracefile-pseudo-reg.c: Here.
12918 * gdb.trace/tfile-avx.exp: Move to...
12919 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12920
bf74e428
GB
129212016-02-24 Gary Benson <gbenson@redhat.com>
12922
12923 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12924 message on attach.
12925
cce0e923
DE
129262016-02-23 Doug Evans <dje@google.com>
12927
12928 * gdb.base/skip.c (test_skip): New function.
12929 (end_test_skip_file_and_function): New function.
12930 (test_skip_file_and_function): New function.
12931 * gdb.base/skip1.c (test_skip): New function.
12932 (skip1_test_skip_file_and_function): New function.
12933 * gdb.base/skip.exp: Add tests for new skip options.
12934 * gdb.base/skip-solib.exp: Update expected output.
12935 * gdb.perf/skip-command.cc: New file.
12936 * gdb.perf/skip-command.exp: New file.
12937 * gdb.perf/skip-command.py: New file.
12938
4000e47e
MK
129392016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12940
12941 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12942 info registers pattern.
12943
24f75ead
IB
129442016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12945
12946 * lib/future.exp: Add D support.
12947 (gdb_find_gdc): New proc.
12948 (gdb_default_target_compile): Add D support.
12949
fbb7bcbe
WW
129502016-02-18 Wei-cheng Wang <cole945@gmail.com>
12951
12952 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12953 user+system time.
12954 (trace_speed_test): Determine the iteration count for a time
12955 between 15..30 seconds.
12956
012b3a21
WT
129572016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12958
12959 * gdb.arch/i386-mpx-sigsegv.c: New file.
12960 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12961 * gdb.arch/i386-mpx-simple_segv.c: New file.
12962 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12963
2d5189bd
YQ
129642016-02-18 Yao Qi <yao.qi@linaro.org>
12965
12966 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12967 Don't call setup_kfail.
12968
40fb20d0
YQ
129692016-02-18 Yao Qi <yao.qi@linaro.org>
12970
12971 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12972 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12973
21b1f8d2
DE
129742016-02-16 Doug Evans <dje@google.com>
12975
12976 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12977 * gdb.base/skip1.c: Ditto.
12978 * gdb.base/skip.exp: Whitespace cleanup.
12979
4041ed77
DB
129802016-02-16 Don Breazeal <donb@codesourcery.com>
12981
12982 PR remote/19496
12983 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12984 Remove kfail for PR remote/19496.
12985
c4ef31bf
SM
129862016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12987
12988 * lib/gdb.exp (standard_temp_file): Return a path specific to
12989 the runtest invocation.
12990
266b65b3
SM
129912016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12992
12993 * gdb.trace/save-trace.exp: Change relative path to be in the
12994 standard output directory.
12995
a7a0a6a9
JK
129962016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12997
12998 * gdb.arch/i386-prologue.c: Add missing prototypes.
12999
c99dbb42
JK
130002016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13001
13002 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13003 * gdb.arch/i386-prologue.exp: Likewise.
13004 * gdb.arch/i386-size.exp: Likewise.
13005
aa480355
SM
130062016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13007
13008 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13009 define object file path.
13010 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13011 file path.
13012 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13013 standard_output_file to define binfile.
13014
ba881f50
JK
130152016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13016
13017 Fix compatibility with recent gfortran-5.3.1.
13018 * gdb.fortran/vla-history.exp (print vla1 allocated)
13019 (print vla2 allocated, print $2, print $3): Remove
13020 (print $4): Rename to ...
13021 (print $2): ... here.
13022 (print $9): Rename to ...
13023 (print $5): ... here.
13024 (print $10): Rename to ...
13025 (print $6): ... here.
13026 * gdb.fortran/vla.f90: Add pvla initialization.
13027
e9fb005c
JK
130282016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13029
13030 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13031 New test.
13032 * gdb.fortran/vla-value-sub.exp: Likewise.
13033
e44e00ff
MK
130342016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13035
13036 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13037
97e94151
SM
130382016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13039
13040 * i386-biarch-core.exp: Define corefile using
13041 standard_output_file.
13042
01113bc1
YQ
130432016-02-12 Yao Qi <yao.qi@linaro.org>
13044
13045 * gdb.arch/arm-single-step-kernel-helper.c: New.
13046 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13047
33b4777c
MM
130482016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13049
13050 * gdb.btrace/tailcall-only.exp: New.
13051 * gdb.btrace/tailcall-only.c: New.
13052 * gdb.btrace/x86_64-tailcall-only.S: New.
13053 * gdb.btrace/i686-tailcall-only.S: New.
13054
acc23c11
PA
130552016-02-11 Pedro Alves <palves@redhat.com>
13056
13057 * README (Parallel testing): Add missing double quotes.
13058
e352bf0a
PA
130592016-02-11 Pedro Alves <palves@redhat.com>
13060
13061 * README (Parallel testing): New section.
13062 (GDB_PARALLEL): Rewrite.
13063 (FORCE_PARALLEL): Document.
13064
9f5fed78
MK
130652016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13066
13067 * gdb.trace/tfile-avx.c: New test.
13068 * gdb.trace/tfile-avx.exp: New test.
13069
9ef9e6a6
KS
130702016-02-09 Keith Seitz <keiths@redhat.com>
13071
13072 PR breakpoints/19546
13073 * gdb.base/infcall-exec.c: New file.
13074 * gdb.base/infcall-exec2.c: New file.
13075 * gdb.base/infcall-exec.exp: New file.
13076
a96e36da
KS
130772016-02-09 Keith Seitz <keiths@redhat.com>
13078
13079 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13080 (toplevel): Call test_bkpt_address.
13081
9f61929f
KS
130822016-02-09 Keith Seitz <keiths@redhat.com>
13083
13084 PR python/19506
13085 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13086 (toplevel): Call test_bkpt_address.
13087
1e94266c
SM
130882016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13089
13090 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13091 to AC_OUTPUT.
13092 * configure: Regenerate.
13093
2a7f3dff
PA
130942016-02-09 Pedro Alves <palves@redhat.com>
13095
13096 PR breakpoints/19548
13097 * gdb.base/execl-update-breakpoints.c (some_function): New
13098 function.
13099 (main): Call it.
13100 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13101 Tighten expected GDB output.
13102
2151ccc5
SM
131032016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13104
13105 * Makefile.in (ALL_SUBDIRS): Remove.
13106 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13107 (distclean maintainer-clean realclean): Likewise.
13108 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13109 * configure: Regenerate.
13110 * gdb.ada/Makefile.in: Delete.
13111 * gdb.arch/Makefile.in: Likewise.
13112 * gdb.asm/Makefile.in: Likewise.
13113 * gdb.base/Makefile.in: Likewise.
13114 * gdb.btrace/Makefile.in: Likewise.
13115 * gdb.cell/Makefile.in: Likewise.
13116 * gdb.compile/Makefile.in: Likewise.
13117 * gdb.cp/Makefile.in: Likewise.
13118 * gdb.disasm/Makefile.in: Likewise.
13119 * gdb.dlang/Makefile.in: Likewise.
13120 * gdb.dwarf2/Makefile.in: Likewise.
13121 * gdb.fortran/Makefile.in: Likewise.
13122 * gdb.gdb/Makefile.in: Likewise.
13123 * gdb.go/Makefile.in: Likewise.
13124 * gdb.guile/Makefile.in: Likewise.
13125 * gdb.java/Makefile.in: Likewise.
13126 * gdb.linespec/Makefile.in: Likewise.
13127 * gdb.mi/Makefile.in: Likewise.
13128 * gdb.modula2/Makefile.in: Likewise.
13129 * gdb.multi/Makefile.in: Likewise.
13130 * gdb.objc/Makefile.in: Likewise.
13131 * gdb.opencl/Makefile.in: Likewise.
13132 * gdb.opt/Makefile.in: Likewise.
13133 * gdb.pascal/Makefile.in: Likewise.
13134 * gdb.perf/Makefile.in: Likewise.
13135 * gdb.python/Makefile.in: Likewise.
13136 * gdb.reverse/Makefile.in: Likewise.
13137 * gdb.server/Makefile.in: Likewise.
13138 * gdb.stabs/Makefile.in: Likewise.
13139 * gdb.threads/Makefile.in: Likewise.
13140 * gdb.trace/Makefile.in: Likewise.
13141 * gdb.xml/Makefile.in: Likewise.
13142 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13143 GDB_PARALLEL.
13144 (standard_output_file): Remove check for GDB_PARALLEL, always
13145 return path in outputs/$subdir/$testname.
13146
437277d4
SM
131472016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13148
13149 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13150 (site.exp): Assign abs_srcdir to tcl's srcdir.
13151
31d913c7
YQ
131522016-02-04 Yao Qi <yao.qi@linaro.org>
13153
13154 * gdb.base/foll-exec-mode.c: Include limits.h.
13155 (main): Add parameters argc and argv. Get directory from
13156 argv[0].
13157 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13158 compilation.
13159 * gdb.base/foll-exec.c: Include limits.h.
13160 (main): Add parameters argc and argv.
13161 Get directory from argv[0].
13162 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13163 Adjust tests on the number of lines as source code changed.
13164 * gdb.base/foll-vfork-exit.c: Include limits.h.
13165 (main): Add one line of statement before vfork.
13166 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13167 (main): Add parameters argc and argv. Get directory from
13168 argv[0].
13169 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13170 (setup_gdb): Set tbreak to skip some source lines.
13171 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13172 (main): Add parameters argc and argv. Get directory from
13173 argv[0].
13174 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13175 compilation.
13176 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13177 (main): Add parameters argc and argv. Get directory from
13178 argv[0].
13179 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13180 compilation.
13181
9482b9fb
DE
131822016-02-01 Doug Evans <dje@google.com>
13183
13184 * gdb.base/skip.exp: Clean up multiple references to same test name.
13185
6b2e4f10
PA
131862016-02-01 Pedro Alves <palves@redhat.com>
13187
ccb6afd6 13188 PR remote/19496
6b2e4f10
PA
13189 * gdb.threads/forking-threads-plus-breakpoint.exp
13190 (displaced_stepping_supported): New global.
13191 (probe_displaced_stepping_support): New procedure.
13192 (do_test): Add 'displaced' parameter, and use it.
13193 (top level): Check for displaced stepping support. Add displaced
13194 stepping on/off testing axis.
13195
37a8db1a
AB
131962016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13197
13198 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13199 pointer. Don't perform further tests on the unassociated pointer
13200 if the first test fails.
13201
5fdf6324
AB
132022016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13203
13204 * gdb.base/max-value-size.c: New file.
13205 * gdb.base/max-value-size.exp: New file.
13206 * gdb.base/huge.exp: Disable max-value-size for this test.
13207
935c6144
IB
132082016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13209
13210 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13211
7fe8399d
YQ
132122016-01-28 Yao Qi <yao.qi@linaro.org>
13213
13214 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13215
a2077e25
PA
132162016-01-25 Pedro Alves <palves@redhat.com>
13217
13218 PR threads/19461
13219 * gdb.base/fork-running-state.c: New file.
13220 * gdb.base/fork-running-state.exp: New file.
13221
1d2736d4
PA
132222016-01-25 Pedro Alves <palves@redhat.com>
13223
13224 PR gdb/19494
13225 * gdb.base/catch-fork-kill.c: New file.
13226 * gdb.base/catch-fork-kill.exp: New file.
13227
f1da4b11
PA
132282016-01-25 Pedro Alves <palves@redhat.com>
13229
13230 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13231 Delete, moved to lib/gdb.exp.
13232 * gdb.threads/forking-threads-plus-breakpoint.exp
13233 (foreach_with_prefix): Likewise.
13234 * gdb.threads/process-dies-while-handling-bp.exp
13235 (foreach_with_prefix): Likewise.
13236 * lib/gdb.exp (foreach_with_prefix): New procedure.
13237
45f38546
MK
132382016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13239
13240 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13241 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13242
dc29a1ce
MK
132432016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13244
13245 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13246 endian targets.
13247
092127d7
JK
132482016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13249 Pedro Alves <palves@redhat.com>
13250
13251 Fix testsuite compatibility with Guile.
13252 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13253 number.
13254
31d765d3
JK
132552016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13256
13257 Fix testsuite compatibility with Guile.
13258 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13259 (thread 1): New test for backtrace through signal handler.
13260
1ac78c04
YQ
132612016-01-22 Yao Qi <yao.qi@linaro.org>
13262
13263 PR testsuite/19491
13264 * gdb.base/multi-forks.c: Include
13265 ../lib/unbuffer_output.c
13266 (main): Call gdb_unbuffer_output.
13267
4f5946a8
DE
132682016-01-21 Doug Evans <dje@google.com>
13269
13270 * lib/ada.exp (gdb_compile_ada): Fix typo.
13271
305e13e6
JB
132722016-01-21 Joel Brobecker <brobecker@adacore.com>
13273
13274 * gdb.base/break-fun-addr.exp: New file.
13275 * gdb.base/break-fun-addr1.c: New file.
13276 * gdb.base/break-fun-addr2.c: New file.
13277
5f5dfff6
SM
132782016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13279
13280 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13281 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13282 enum flag values.
13283
fd356fa2
AA
132842016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13285
13286 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13287 when GDB can not set the vector return value. Add more comments
13288 for clarification.
13289
9df22175
AT
132902016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13291
13292 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13293 command.
13294
41d1845e
SM
132952016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13296
13297 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13298
01ac6840
SM
132992016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13300
13301 * Makefile.in (check-single): Pass --status to runtest.
13302 (check/%.exp): Likewise.
13303
133042016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13305
13306 * Makefile.in (check-parallel): Propagate return code from make
13307 do-check-parallel.
13308
bd0a71fa
MK
133092016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13310
13311 * gdb.trace/ftrace.exp: Fix expected message on continue.
13312 * gdb.trace/pending.exp: Fix expected message on continue.
13313 * gdb.trace/trace-break.exp: Fix expected message on continue.
13314
8bcbad33
SM
133152016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13316
13317 * lib/gdb.exp (gdb_test): Remove unused global references.
13318
f303dbd6
PA
133192016-01-18 Pedro Alves <palves@redhat.com>
13320
13321 * gdb.base/async-shell.exp: Adjust expected output.
13322 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13323 * gdb.base/siginfo-thread.exp: Adjust expected output.
13324 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13325 * gdb.java/jnpe.exp: Adjust expected output.
13326 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13327 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13328 * gdb.threads/leader-exit.exp: Adjust expected output.
13329 * gdb.threads/manythreads.exp: Adjust expected output.
13330 * gdb.threads/pthreads.exp: Adjust expected output.
13331 * gdb.threads/schedlock.exp: Adjust expected output.
13332 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13333 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13334 expected output.
13335 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13336 output.
13337 * gdb.threads/sigthread.exp: Adjust expected output.
13338 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13339
b2789696
YQ
133402016-01-18 Yao Qi <yao.qi@linaro.org>
13341
13342 * gdb.guile/scm-section-script.c: Replace @progbits with
13343 %progbits.
13344 * gdb.python/py-section-script.c: Likewise.
13345
71ef29a8
PA
133462016-01-15 Pedro Alves <palves@redhat.com>
13347
13348 * gdb.multi/tids.exp: Test star wildcard ranges.
13349
3f5b7598
PA
133502016-01-15 Pedro Alves <palves@redhat.com>
13351
13352 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13353 command from "thread apply" invocation.
13354 (thr_apply_info_thr_invalid): Default the expected output to the
13355 input tid list.
13356 (top level): Add tests that use convenience variables. Add tests
13357 for "thread apply" with a valid TID list, but missing the command.
13358
663f6d42
PA
133592016-01-13 Pedro Alves <palves@redhat.com>
13360
13361 * gdb.base/default.exp: Expect $_gthread as well.
13362 * gdb.multi/tids.exp: Test $_gthread.
13363 * gdb.threads/thread-specific.exp: Test $_gthread.
13364
c84f6bbf
PA
133652016-01-13 Pedro Alves <palves@redhat.com>
13366
13367 * gdb.multi/tids.exp: Test "info threads -gid".
13368
22a02324
PA
133692016-01-13 Pedro Alves <palves@redhat.com>
13370
13371 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13372 Breakpoint.thread.
13373 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13374
5d5658a1
PA
133752016-01-07 Pedro Alves <palves@redhat.com>
13376
13377 * gdb.base/break.exp: Adjust to output changes.
13378 * gdb.base/hbreak2.exp: Likewise.
13379 * gdb.base/sepdebug.exp: Likewise.
13380 * gdb.base/watch_thread_num.exp: Likewise.
13381 * gdb.linespec/keywords.exp: Likewise.
13382 * gdb.multi/info-threads.exp: Likewise.
13383 * gdb.threads/thread-find.exp: Likewise.
13384 * gdb.multi/tids.c: New file.
13385 * gdb.multi/tids.exp: New file.
13386
84654457
PA
133872016-01-13 Pedro Alves <palves@redhat.com>
13388
13389 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13390
e3940304
PA
133912016-01-13 Pedro Alves <palves@redhat.com>
13392
13393 * gdb.base/default.exp: Expect $_inferior as well.
13394 * gdb.multi/base.exp: Test $_inferior.
13395
a911d87a
PA
133962016-01-13 Pedro Alves <palves@redhat.com>
13397
13398 PR breakpoints/19388
13399 * gdb.base/catch-signal-siginfo-cond.c: New file.
13400 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13401
82075af2
JS
134022016-01-12 Josh Stone <jistone@redhat.com>
13403 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13404
13405 * gdb.base/catch-syscall.c (do_execve): New variable.
13406 (main): Conditionally trigger an execve.
13407 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13408 (test_catch_syscall_execve): New, check entry/return across execve.
13409 (do_syscall_tests): Call test_catch_syscall_execve.
13410
e46eeedd
PA
134112016-01-12 Pedro Alves <palves@redhat.com>
13412
13413 * gdb.base/random-signal.exp (do_test): New procedure, with body
13414 of testcase moved in.
13415
01d8c27e
JK
134162016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13417 Pedro Alves <palves@redhat.com>
13418
13419 * gdb.base/funcargs.exp (finish from indirectly called function):
13420 Reintroduce the case for 'First'.
13421
9a706302
JK
134222016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13423 Pedro Alves <palves@redhat.com>
13424
13425 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13426 (tcatch_vfork_then_child_follow_exec)
13427 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13428 identification.
13429
c0ecb95f
JK
134302016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13431
13432 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13433 and repeats to unlimited.
13434 * gdb.python/py-value.exp: Likewise.
13435 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13436 and repeats to unlimited.
13437
6cfc1fcb
JK
134382016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13439
13440 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13441 and reordering the functions.
13442 * gdb.multi/hangout.c: Likewise.
13443 * gdb.multi/hello.c: Likewise.
13444
582a1b00
SM
134452016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13446
13447 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13448 absolute.
13449 (SingleStatisticTestResult.report): Use dict.keys instead of
13450 dict.iterkeys.
13451
79bc59cb
PA
134522016-01-06 Pedro Alves <palves@redhat.com>
13453
13454 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13455
43368e1d
MM
134562016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13457
13458 * gdb.btrace/dlopen.exp: New.
13459 * gdb.btrace/dlopen.c: New.
13460 * gdb.btrace/dlopen-dso.c: New.
13461
79fad5b8
SL
134622015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13463
13464 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13465 PATTERN argument is optional.
13466
ab8314b3
JB
134672015-12-24 Joel Brobecker <brobecker@adacore.com>
13468
13469 * lib/ada.exp (target_compile_ada_from_dir): New function.
13470 (gdb_compile_ada): Reimplement avoiding the use of project files.
13471 * gdb.ada/gnat_ada.gpr: Delete.
13472 * gdb.ada/cond_lang.exp: Adjust test to make path before
13473 filename optional.
13474 * gdb.ada/small_reg_param.exp: Likewise.
13475
fe33faff
SM
134762015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13477
13478 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13479
6d265cb4
TP
134802015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13481
13482 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13483 case.
13484
10125099
SM
134852015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13486
13487 * gdb.base/break.exp: Remove dead code.
13488 * gdb.base/sepdebug.exp: Likewise.
13489
3ca22649
SM
134902015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13491
13492 * gdb.asm/asm-source.exp: Remove HP-UX references.
13493 * gdb.base/annota1.exp: Likewise.
13494 * gdb.base/annota3.exp: Likewise.
13495 * gdb.base/attach.exp: Likewise.
13496 * gdb.base/bigcore.exp: Likewise.
13497 * gdb.base/break.exp: Likewise.
13498 * gdb.base/call-ar-st.exp: Likewise.
13499 * gdb.base/callfuncs.exp: Likewise.
13500 * gdb.base/catch-fork-static.exp: Likewise.
13501 * gdb.base/display.exp: Likewise.
13502 * gdb.base/foll-exec-mode.exp: Likewise.
13503 * gdb.base/foll-exec.exp: Likewise.
13504 * gdb.base/foll-fork.exp: Likewise.
13505 * gdb.base/foll-vfork.exp: Likewise.
13506 * gdb.base/funcargs.exp: Likewise.
13507 * gdb.base/hbreak2.exp: Likewise.
13508 * gdb.base/inferior-died.exp: Likewise.
13509 * gdb.base/interrupt.exp: Likewise.
13510 * gdb.base/multi-forks.exp: Likewise.
13511 * gdb.base/nodebug.exp: Likewise.
13512 * gdb.base/sepdebug.exp: Likewise.
13513 * gdb.base/solib1.c: Likewise.
13514 * gdb.base/step-test.exp: Likewise.
13515 * gdb.mi/non-stop.c: Likewise.
13516 * gdb.mi/pthreads.c: Likewise.
13517 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13518 * gdb.threads/pthreads.c: Likewise.
13519 * gdb.threads/staticthreads.exp: Likewise.
13520 * lib/future.exp: Likewise.
13521 * lib/gdb.exp: Likewise.
13522 * gdb.base/so-indr-cl.c: Remove.
13523 * gdb.base/so-indr-cl.exp: Likewise.
13524 * gdb.base/solib.c: Likewise.
13525 * gdb.base/solib.exp: Likewise.
13526 * gdb.base/solib2.c: Likewise.
13527
b6304613
SM
135282015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13529
13530 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13531 * gdb.base/call-ar-st.exp: Likewise.
13532 * gdb.base/callfuncs.exp: Likewise.
13533 * gdb.base/condbreak.exp: Likewise.
13534 * gdb.base/constvars.exp: Likewise.
13535 * gdb.base/hbreak2.exp: Likewise.
13536 * gdb.base/langs.exp: Likewise.
13537 * gdb.base/list.exp: Likewise.
13538 * gdb.base/long_long.exp: Likewise.
13539 * gdb.base/ptype.exp: Likewise.
13540 * gdb.base/scope.exp: Likewise.
13541 * gdb.base/signals.exp: Likewise.
13542 * gdb.base/so-impl-ld.exp: Likewise.
13543 * gdb.base/varargs.exp: Likewise.
13544 * gdb.base/volatile.exp: Likewise.
13545 * gdb.base/whatis.exp: Likewise.
13546 * gdb.cp/cplusfuncs.exp: Likewise.
13547 * gdb.cp/inherit.exp: Likewise.
13548 * gdb.cp/local.exp: Likewise.
13549 * gdb.cp/member-ptr.exp: Likewise.
13550 * gdb.cp/method.exp: Likewise.
13551 * gdb.cp/overload.exp: Likewise.
13552 * gdb.cp/templates.exp: Likewise.
13553 * gdb.stabs/weird.exp: Likewise.
13554 * lib/compiler.c: Likewise.
13555 * lib/compiler.cc: Likewise.
13556 * lib/cp-support.exp: Likewise.
13557 * lib/gdb.exp: Likewise.
13558
bf401b07
SM
135592015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13560
13561 * configure.ac: Remove HP-UX case.
13562 * configure: Regenerate.
13563
aff9c0f8
SM
135642015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13565
13566 * lib/gdb.exp (gdb_compile): Add function doc.
13567
a6904d5a
PA
135682015-12-17 Pedro Alves <palves@redhat.com>
13569
13570 PR threads/19354
13571 * gdb.multi/info-threads.exp: New file.
13572
a22279dd
YQ
135732015-12-15 Yao Qi <yao.qi@linaro.org>
13574
13575 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13576 is aarch64*-*-*.
13577
0588c796
SL
135782015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13579
13580 * gdb.base/history-duplicates.exp: Skip if no readline support.
13581
5d978e17
SL
135822015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13583
13584 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13585
7e763b86
SL
135862015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13587
13588 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13589
87a3a92c
SL
135902015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13591
13592 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13593 ctrl-C if nointerrupts target property is set.
13594 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13595 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13596 * gdb.base/paginate-bg-execution.exp: Likewise.
13597 * gdb.base/paginate-execution-startup.exp: Likewise.
13598 * gdb.base/random-signal.exp: Likewise.
13599 * gdb.base/range-stepping.exp: Likewise.
13600 * gdb.cp/annota2.exp: Likewise.
13601 * gdb.cp/annota3.exp: Likewise.
13602 * gdb.gdb/selftest.exp: Likewise.
13603 * gdb.threads/continue-pending-status.exp: Likewise.
13604 * gdb.threads/leader-exit.exp: Likewise.
13605 * gdb.threads/manythreads.exp: Likewise.
13606 * gdb.threads/pthreads.exp: Likewise.
13607 * gdb.threads/schedlock.exp: Likewise.
13608 * gdb.threads/sigthread.exp: Likewise.
13609
a8f077dc
DB
136102015-12-11 Don Breazeal <donb@codesourcery.com>
13611
13612 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13613 remote.
13614 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13615 * gdb.base/foll-exec.exp (main): Enable for target remote.
13616 * gdb.base/foll-fork.exp (main): Likewise.
13617 * gdb.base/foll-vfork.exp (main): Likewise.
13618 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13619 (proc continue_to_exit_bp_loc): Use clean_restart.
13620 * gdb.base/pie-execl.exp (main): Disable for target remote.
13621 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13622 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13623 * gdb.threads/execl.exp (main): Likewise.
13624 * gdb.threads/fork-child-threads.exp (main): Likewise.
13625 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13626 remote.
13627 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13628 remote.
13629 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13630 pid.tid style ptids, instead of just tid.
13631 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13632 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13633 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13634 ptids, instead of just tid.
13635
3b2464a8
AB
136362015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13637
13638 * gdb.base/list.exp (test_list_forward): Add end of file error
13639 test.
13640 (test_repeat_list_command): Add end of file error test.
13641 (test_list_backwards): Add beginning of file error test.
13642
a0def019
AB
136432015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13644
13645 * gdb.base/list.exp (test_list_invalid_args): New function,
13646 defined, and called.
13647
5c000dff
AB
136482015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13649
13650 * gdb.base/list.exp (test_list): Make test names unique.
13651
f1637ebe
YQ
136522015-12-11 Yao Qi <yao.qi@linaro.org>
13653
13654 * gdb.base/coremaker2.c: Remove.
13655
36d6fc0a
PA
136562015-12-10 Pedro Alves <palves@redhat.com>
13657
13658 * gdb.multi/base.exp: Remove stale "spaces" references.
13659
762f7747
PA
136602015-12-10 Pedro Alves <palves@redhat.com>
13661
13662 * gdb.multi/base.exp: Don't use nowarnings.
13663 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13664 * gdb.multi/hangout.c: Include stdio.h.
13665 * gdb.multi/hello.c: Include stdlib.h.
13666 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13667 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13668 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13669
28d2bfb9
AB
136702015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13671
13672 * gdb.dwarf2/dw2-ranges-base.c: New file.
13673 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13674 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13675 support additional line table, and debug ranges generation.
13676 (Dwarf::ranges): New function, generate .debug_ranges.
13677 (Dwarf::lines): Support generating simple line table programs.
13678 (Dwarf::assemble): Initialise new namespace variables.
13679
5fc2beac
KB
136802015-12-09 Kevin Buettner <kevinb@redhat.com>
13681
13682 * gdb.base/async.exp (proc test_background): Add case for
13683 asynchronous execution not supported.
13684
1c35a88f
LM
136852015-12-09 Luis Machado <lgustavo@codesourcery.com>
13686
13687 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13688 format and change test names to make them unique.
13689
b593e3d9
RK
136902015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13691 Pedro Alves <pedro@redhat.com>
13692
13693 PR gdb/18702
13694 Add checking of floatformats setup on x86_64 hosts.
13695 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13696 (smallval, bigval): New labels/constants.
13697 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13698 float" after loading bigval and smallval.
13699
d72413e6
PMR
137002015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13701
13702 * gdb.ada/fun_overload_menu.exp: New testcase.
13703 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13704
ece66d65
JS
137052015-12-04 Josh Stone <jistone@redhat.com>
13706
13707 * gdb.base/catch-fork-static.exp: New.
13708
41d0efca
YQ
137092015-12-03 Yao Qi <yao.qi@linaro.org>
13710
13711 * gdb.base/sizeof.c: Don't include stdio.h and
13712 ../lib/unbuffer_output.c.
13713 (main): New variable 'size' and 'value'. Remove printf and
13714 gdb_unbuffer_output. Assign return value to size and value.
13715 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13716 at the beginning.
13717 (check_sizeof): Check the result by printing variable 'size'.
13718 (check_valueof): Check the result by printing variable 'value'.
13719
99fd02d9
YQ
137202015-12-01 Yao Qi <yao.qi@linaro.org>
13721
13722 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13723 for aarch64*-*-linux* target.
13724
f2faf941
PA
137252015-11-30 Pedro Alves <palves@redhat.com>
13726
13727 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13728
04bf20c5
PA
137292015-11-30 Pedro Alves <palves@redhat.com>
13730
13731 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13732 Handle non-stop mode vCont replies.
13733
09df4675
PA
137342015-11-30 Pedro Alves <palves@redhat.com>
13735
13736 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13737 prepare_for_testing. Start gdb with "set non-stop on" appended to
13738 GDBFLAGS. Lax expected stop output.
13739
58b584af
YQ
137402015-11-27 Yao Qi <yao.qi@linaro.org>
13741
13742 * gdb.arch/arm-neon.exp: New.
13743 * gdb.arch/arm-neon.c: New.
13744
dfcb77a8
YQ
137452015-11-27 Yao Qi <yao.qi@linaro.org>
13746
13747 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13748
88e8ec1b
YQ
137492015-11-27 Yao Qi <yao.qi@linaro.org>
13750
13751 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13752 frames-invalid annotation.
13753
bfde72c2
YQ
137542015-11-27 Yao Qi <yao.qi@linaro.org>
13755
13756 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13757
f6512a69
SM
137582015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13759
13760 * gdb.threads/names.exp: New file.
13761 * gdb.threads/names.c: New file.
13762 * README: Mention gdb,no_thread_names.
13763
46a3515b
MM
137642015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13765
13766 PR 19297
13767 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13768 support" error.
13769
62147a22
PA
137702015-11-24 Pedro Alves <palves@redhat.com>
13771
13772 PR 17539
13773 * gdb.base/display.exp: Expect displays to be sorted in ascending
13774 order. Use multi_line.
13775 * gdb.base/solib-display.exp: Likewise.
13776
2f341b6e
PA
137772015-11-24 Pedro Alves <palves@redhat.com>
13778
13779 PR 17539
25d49b86
PA
13780 * gdb.base/display.exp: Expect displays to be sorted in ascending
13781 order. Use multi_line.
13782 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13783
7e0aa6aa
PA
137842015-11-24 Pedro Alves <palves@redhat.com>
13785
13786 PR 17539
13787 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13788 threads in ascending order.
13789 * gdb.base/foll-fork.exp: Likewise.
13790 * gdb.base/foll-vfork.exp: Likewise.
13791 * gdb.base/multi-forks.exp: Likewise.
13792 * gdb.mi/mi-nonstop.exp: Likewise.
13793 * gdb.mi/mi-nsintrall.exp: Likewise.
13794 * gdb.multi/base.exp: Likewise.
13795 * gdb.multi/multi-arch.exp: Likewise.
13796 * gdb.python/py-inferior.exp: Likewise.
13797 * gdb.threads/break-while-running.exp: Likewise.
13798 * gdb.threads/execl.exp: Likewise.
13799 * gdb.threads/gcore-thread.exp: Likewise.
13800 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13801 * gdb.threads/kill.exp: Likewise.
13802 * gdb.threads/linux-dp.exp: Likewise.
13803 * gdb.threads/multiple-step-overs.exp: Likewise.
13804 * gdb.threads/next-bp-other-thread.exp: Likewise.
13805 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13806 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13807 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13808 * gdb.threads/thread-find.exp: Likewise.
13809 * gdb.threads/tls.exp: Likewise.
13810 * lib/mi-support.exp (mi_reverse_list): Delete.
13811 (mi_check_thread_states): No longer reverse list.
13812
2cc57ad8
PA
138132015-11-24 Pedro Alves <palves@redhat.com>
13814
13815 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13816 use lowercase.
13817
c93e8391
SM
138182015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13819
13820 * gdb.trace/actions.c: Include trace-common.h.
13821 (main): Add a location for a fast tracepoint.
13822 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13823 the normal tracepoints.
13824 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13825
045ccf91
SM
138262015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13827
13828 * save-trace.exp: Factor out code to these...
13829 (gdb_save_tracepoints): New.
13830 (gdb_load_tracepoints): New.
13831 (do_save_load_test): New.
13832
5506f9f6
KB
138332015-11-23 Kevin Buettner <kevinb@redhat.com>
13834
13835 * gdb.base/asmlabel.exp: New test.
13836 * gdb.base/asmlabel.c: New test case.
13837
16c3b12f
JB
138382015-11-23 Joel Brobecker <brobecker@adacore.com>
13839
13840 * gdb.base/wrong_frame_bt_full-main.c: New file.
13841 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13842 * gdb.base/wrong_frame_bt_full.exp: New file.
13843
155bfbd3
JB
138442015-11-23 Joel Brobecker <brobecker@adacore.com>
13845
13846 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13847
bb097445
JM
138482015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13849
206853a0 13850 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
13851 pstate register when comparing registers values in
13852 sparc64-*-linux-gnu targets to avoid spurious differences.
13853
9c88ed8f
JM
138542015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13855
206853a0 13856 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 13857
96161e25
SL
138582015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13859
13860 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13861 as type argument to gdb_compile.
13862 * gdb.base/nested-subp2.exp: Likewise.
13863 * gdb.base/nested-subp3.exp: Likewise.
13864
340c2830
DV
138652015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13866
13867 * lib/dwarf.exp (_note): Fix left shift of negative value.
13868 * gdb.trace/trace-condition.exp: Likewise.
13869
c1862d0f
YQ
138702015-11-13 Yao Qi <yao.qi@linaro.org>
13871
13872 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13873 comments about d10v.
13874 (test_scalar_returns): Likewise.
13875 * gdb.base/d10v.ld: Remove.
13876 * gdb.base/overlays.exp: Remove the target triplet checking for
13877 d10v-*-*.
13878 * gdb.base/structs.exp (test_struct_returns): Remove the
13879 comments about d10v.
13880 (test_struct_calls): Likewise.
13881
77ae9c19
YQ
138822015-11-13 Yao Qi <yao.qi@linaro.org>
13883
13884 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13885 * gdb.base/gnu_vector.c: Don't include stdio.h.
13886 (main): Don't print res and call add_some_intvecs.
13887
430e004e
MK
138882015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13889
13890 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13891 macro.
13892 (func5): Removed.
13893 (func4): Use FAST_TRACEPOINT_LABEL.
13894 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13895 macro.
13896 (func): Removed.
13897 (thread_function): Use FAST_TRACEPOINT_LABEL.
13898 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13899 (func): Remove.
13900 (marker): Use FAST_TRACEPOINT_LABEL.
13901 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13902 (pendfunc1): Remove.
13903 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13904 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13905 (foo): Remove.
13906 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13907 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13908 macro.
13909 (func): Remove.
13910 (marker): Use FAST_TRACEPOINT_LABEL.
13911 * gdb.trace/trace-common.h: New header.
13912 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13913 macro.
13914 (func): Remove.
13915 (marker): Use FAST_TRACEPOINT_LABEL.
13916 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13917 (func): Remove.
13918 (thread_function): Use FAST_TRACEPOINT_LABEL.
13919
6e7675a7
MK
139202015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13921
13922 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13923 in front.
13924 * gdb.trace/change-loc.exp: Use global pcreg definition.
13925 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13926 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13927 in front.
13928 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13929 * gdb.trace/pending.exp: Likewise.
13930 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13931 * gdb.trace/trace-break.exp: Likewise.
13932 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13933 in front.
13934 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13935 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13936 in front.
13937 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13938
dddc0e16
JB
139392015-11-09 Joel Brobecker <brobecker@adacore.com>
13940
13941 * gdb.ada/fin_fun_out: New testcase.
13942
c6f0b406
KB
139432015-11-07 Kevin Buettner <kevinb@redhat.com>
13944
13945 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13946 value associated with DW_AT_byte_size.
13947 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13948 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13949 DW_AT_upper_bound.
13950
f01dcfd9
KB
139512015-11-07 Kevin Buettner <kevinb@redhat.com>
13952
13953 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13954 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13955 version.
13956 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13957 gdb.dwarf2/dw2-canonicalize-type.exp,
13958 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13959 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13960 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13961 provided by gdb_target_symbol_prefix_flags_asm.
13962 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13963 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13964 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13965 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13966 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13967 macros where needed). Use this macro for symbols which require
13968 the prefix provided by SYMBOL_PREFIX.
13969
2223449a
KB
139702015-11-05 Kevin Buettner <kevinb@redhat.com>
13971
13972 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13973 New procs.
13974 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13975 representing expressions, of more than one list element.
13976 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13977 to prepend linker symbol prefix to f.
13978 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13979 table_1 and table_2.
13980 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13981 Likewise, for f and g.
13982 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13983 for ptr.
13984 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13985 for main.
13986 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13987 table_1_ptr and table_2_ptr.
13988
6f2f1a3a
JK
139892015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13990 Joel Brobecker <brobecker@adacore.com>
13991
13992 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13993
566c56c9
MK
139942015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13995
13996 * gdb.reverse/s390-mvcle.c: New test.
13997 * gdb.reverse/s390-mvcle.exp: New file.
13998 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13999
d5f0636b
MK
140002015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14001
14002 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14003
7ad8b86c
MK
140042015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14005
14006 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14007 reaching marker2.
14008 * gdb.reverse/getresuid-reverse.exp: Likewise.
14009 * gdb.reverse/pipe-reverse.exp: Likewise.
14010 * gdb.reverse/readv-reverse.exp: Likewise.
14011 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14012 * gdb.reverse/time-reverse.exp: Likewise.
14013 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14014
4081c0f1
YQ
140152015-10-30 Yao Qi <yao.qi@linaro.org>
14016
14017 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14018 (empty_cycle): Remove.
14019 (main): Don't call empty_cycle. Don't use watch_count_done.
14020 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14021 empty_cycle. Rewrite the code counting HW watchpoints.
14022
452b4ba5
MK
140232015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14024
14025 * gdb.reverse/fstatat-reverse.c: New test.
14026 * gdb.reverse/fstatat-reverse.exp: New file.
14027 * gdb.reverse/getresuid-reverse.c: New test.
14028 * gdb.reverse/getresuid-reverse.exp: New file.
14029 * gdb.reverse/pipe-reverse.c: New test.
14030 * gdb.reverse/pipe-reverse.exp: New file.
14031 * gdb.reverse/readv-reverse.c: New test.
14032 * gdb.reverse/readv-reverse.exp: New file.
14033 * gdb.reverse/recvmsg-reverse.c: New test.
14034 * gdb.reverse/recvmsg-reverse.exp: New file.
14035 * gdb.reverse/time-reverse.c: New test.
14036 * gdb.reverse/time-reverse.exp: New file.
14037 * gdb.reverse/waitpid-reverse.c: New test.
14038 * gdb.reverse/waitpid-reverse.exp: New file.
14039
5e2e7507
JK
140402015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14041
14042 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14043
0fde2c53
DE
140442015-10-26 Doug Evans <dje@google.com>
14045
14046 PR symtab/17391
14047 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14048 * gdb.dwarf2/bad-regnum.c: New file.
14049 * gdb.dwarf2/bad-regnum.exp: New file.
14050
1a70ae97
DE
140512015-10-26 Doug Evans <dje@google.com>
14052
14053 PR python/18938
14054 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14055 file.
14056
27dc26ab
JK
140572015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14058
14059 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14060 for a change by "Mention language in compile error message".
14061
bed91f4d
SM
140622015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14063
14064 PR python/18073
14065 * gdb.python/py-type.c (C::a_method): New.
14066 (C::a_const_method): New.
14067 (C::a_static_method): New.
14068 (a_function): New.
14069 * gdb.python/py-type.exp (test_fields): Test getting fields
14070 from function and method.
14071
3f2f83dd
KB
140722015-10-21 Keven Boell <keven.boell@intel.com>
14073
14074 * gdb.fortran/vla-alloc-assoc.exp: New file.
14075 * gdb.fortran/vla-datatypes.exp: New file.
14076 * gdb.fortran/vla-datatypes.f90: New file.
14077 * gdb.fortran/vla-history.exp: New file.
14078 * gdb.fortran/vla-ptype-sub.exp: New file.
14079 * gdb.fortran/vla-ptype.exp: New file.
14080 * gdb.fortran/vla-sizeof.exp: New file.
14081 * gdb.fortran/vla-sub.f90: New file.
14082 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14083 * gdb.fortran/vla-value-sub-finish.exp: New file.
14084 * gdb.fortran/vla-value-sub.exp: New file.
14085 * gdb.fortran/vla-value.exp: New file.
14086 * gdb.fortran/vla-ptr-info.exp: New file.
14087 * gdb.mi/mi-vla-fortran.exp: New file.
14088 * gdb.mi/vla.f90: New file.
14089
27145d50
SL
140902015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14091
14092 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14093 of hardwired timeout value.
14094
5f3ff4f8
JK
140952015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14096 Pedro Alves <palves@redhat.com>
14097
14098 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14099 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14100
bfd09d20
JS
141012015-10-19 Josh Stone <jistone@redhat.com>
14102
14103 * gdb.base/catch-syscall.c: Include <sched.h>.
14104 (unknown_syscall): New variable.
14105 (main): Trigger a vfork and an unknown syscall.
14106 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14107 (unknown_syscall_number): Likewise.
14108 (check_call_to_syscall): Accept an optional syscall pattern.
14109 (check_return_from_syscall): Likewise.
14110 (check_continue): Likewise.
14111 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14112 (test_catch_syscall_skipping_return): New test toggling off 'catch
14113 syscall' to step over the syscall return, then toggling back on.
14114 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14115 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14116 (do_syscall_tests): Call test_catch_syscall_without_args and
14117 test_catch_syscall_mid_vfork.
14118 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14119 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14120
b32b93c6
AS
141212015-10-19 Andrew Stubbs <ams@codesourcery.com>
14122
14123 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14124 print g_vE): Add new pass patterns.
14125 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14126 print various symbol names for vptr fields.
14127
9d622bda
AB
141282015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14129
14130 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14131 results.
14132
0fd8ac1c
YQ
141332015-10-12 Yao Qi <yao.qi@linaro.org>
14134
14135 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14136
34240514
YQ
141372015-10-12 Yao Qi <yao.qi@linaro.org>
14138
14139 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14140 is aarch64*-*-linux*.
14141
8240f442
YQ
141422015-10-12 Yao Qi <yao.qi@linaro.org>
14143
14144 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14145 (can_relocate_bcond_true): ... it.
14146 (can_relocate_bcond_false): New function.
14147 (foo): Likewise.
14148 (can_relocate_bl): Likewise.
14149 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14150 can_relocate_bl.
14151
2520f728
PMR
141522015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14153
14154 * gdb.base/nested-addr.c: New file.
14155 * gdb.base/nested-addr.exp: New testcase.
14156
abcef95a
MM
141572015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14158
14159 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14160 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14161 its output. Ignore the output of "record goto begin" and instead
14162 check that GDB is replaying.
14163
145e3ddb
PA
141642015-10-09 Pedro Alves <palves@redhat.com>
14165
14166 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14167 (top level): Use it in the run with no args test.
14168
d5d8c4e1
IB
141692015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14170
14171 * gdb.dlang/properties.exp: New file.
14172
06e635ef
SL
141732015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14174
14175 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14176 whether or not address 0x1000 is mapped on the target.
14177
e019fd1d
SM
141782015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14179
14180 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14181 build.
14182
77ba2a67
MM
141832015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14184
14185 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14186 instruction-history test.
14187
c60eb31f
DE
141882015-09-28 Doug Evans <dje@google.com>
14189
14190 * gdb.base/gcore.c (array_func): Add reference to static_array.
14191
9a3c8263
SM
141922015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14193
14194 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14195 source line.
14196
9720e656
SL
141972015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14198
14199 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14200 short or char as base type.
14201
938d3bf2
SL
142022015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14203
14204 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14205 to allow any size enum.
14206
e6c2c623
PMR
142072015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14208
14209 * gdb.ada/array_ptr_renaming.exp: New testcase.
14210 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14211 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14212
06da0f77
PL
142132015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14214
14215 * gdb.trace/ftrace-lock.c: New file.
14216 * gdb.trace/ftrace-lock.exp: New file.
14217
4f51c22a
PL
142182015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14219
14220 * gdb.arch/insn-reloc.c: New file.
14221 * gdb.arch/ftrace-insn-reloc.exp: New file.
14222
7041adf4
PL
142232015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14224
14225 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14226 instruction.
14227 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14228 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14229 * gdb.trace/range-stepping.c: Likewise.
14230 * gdb.trace/trace-break.c: Likewise.
14231 * gdb.trace/trace-mt.c (thread_function): Likewise.
14232 * gdb.trace/ftrace.c (marker): Likewise.
14233 * gdb.trace/trace-condition.c (marker): Likewise.
14234 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14235 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14236 is_aarch64_target.
14237
015d2e7e
DE
142382015-09-18 Doug Evans <xdje42@gmail.com>
14239
14240 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14241 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14242
26b188a2
SL
142432015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14244
14245 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14246 the breakpoint.
14247
79dc332b
SL
142482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14249
14250 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14251 the pending breakpoint. Remove timeout override for "Run till
14252 MI pending breakpoint on pendfunc3 on thread 2" test.
14253
f57929f2
SL
142542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14255
14256 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14257 filename pattern.
14258
3f469b17
SL
142592015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14260
14261 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14262 in breakpoint filename pattern.
14263
515b89b3
SL
142642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14265
7800dbe4
SL
14266 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14267
142682015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14269
515b89b3
SL
14270 * gdb.linespec/explicit.exp: Check for readline support for
14271 tab-completion tests. Fix obvious typo.
14272
d2939ba2
MM
142732015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14274
14275 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14276 and replay.
14277
cbb55fa7
MM
142782015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14279
14280 * gdb.btrace/non-stop.c: New.
14281 * gdb.btrace/non-stop.exp: New.
14282
43691ca1
PL
142832015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14284 Yao Qi <yao.qi@linaro.org>
14285
14286 * gdb.trace/trace-condition.c: New file.
14287 * gdb.trace/trace-condition.exp: New file.
14288
d78908cf
WW
142892015-09-16 Wei-cheng Wang <cole945@gmail.com>
14290
14291 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14292 for testing bytecode compilation.
14293
1ed415e2
PA
142942015-09-16 Pedro Alves <palves@redhat.com>
14295 Sandra Loosemore <sandra@codesourcery.com>
14296
14297 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14298 (SECONDS): Redefine.
14299 (main): Call pthread_kill and alarm early.
14300 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14301 support.
14302 (test): If the target can't hardware step and doesn't support
14303 displaced stepping, increase the timeout.
14304
d136eff5
PA
143052015-09-16 Pedro Alves <palves@redhat.com>
14306
14307 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14308 (enable_debug): New procedures.
14309 (test): Use them. Bail out if waiting for threads fails.
14310 (top level): Bail out if a test fails.
14311
991f019c
YQ
143122015-09-16 Yao Qi <yao.qi@linaro.org>
14313
14314 * gdb.asm/asm-source.exp: Set asm-arch for
14315 aarch64*-*-* target.
14316 * gdb.asm/aarch64.inc: New file.
14317
bfca584f
PMR
143182015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14319
14320 * gdb.ada/array_of_variable_length.exp: New testcase.
14321 * gdb.ada/array_of_variable_length/foo.adb: New file.
14322 * gdb.ada/array_of_variable_length/pck.adb: New file.
14323 * gdb.ada/array_of_variable_length/pck.ads: New file.
14324
b326e587
DE
143252015-09-15 Doug Evans <dje@google.com>
14326
14327 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14328 of function static local variable.
14329
5382cfab
PW
143302015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14331
14332 * gdb.threads/tls-so_extern.exp: New test file.
14333 * gdb.threads/tls-so_extern.c: New test file.
14334 * gdb.threads/tls-so_extern_main.c: New test file.
14335
141c5cc4
JK
143362015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14337
14338 * gdb.opt/solib-intra-step-lib.c: New file.
14339 * gdb.opt/solib-intra-step-main.c: New file.
14340 * gdb.opt/solib-intra-step.exp: New file.
14341
d15dcecd
PA
143422015-09-15 Pedro Alves <palves@redhat.com>
14343
14344 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14345 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14346
4c2f2a79
PA
143472015-09-14 Pedro Alves <palves@redhat.com>
14348
14349 * gdb.base/hook-stop-continue.c: Delete.
14350 * gdb.base/hook-stop-continue.exp: Delete.
14351 * gdb.base/hook-stop-frame.c: Delete.
14352 * gdb.base/hook-stop-frame.exp: Delete.
14353 * gdb.base/hook-stop.c: New file.
14354 * gdb.base/hook-stop.exp: New file.
14355
919e6dbe
PMR
143562015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14357
14358 * gdb.ada/access_to_packed_array.exp: New testcase.
14359 * gdb.ada/access_to_packed_array/foo.adb: New file.
14360 * gdb.ada/access_to_packed_array/pack.adb: New file.
14361 * gdb.ada/access_to_packed_array/pack.ads: New file.
14362
157280a4
MM
143632015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14364
14365 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14366 buffer size test.
14367
2fd33e94
DB
143682015-09-11 Don Breazeal <donb@codesourcery.com>
14369
14370 * gdb.base/foll-exec.c: Add copyright header. Fix
14371 formatting issues.
14372 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14373 (do_exec_tests): Use clean_restart in place of zap_session,
14374 and for test initialization. Fix formatting issues. Use
14375 fail in place of perror.
14376 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14377 an expect statement to match an expression with output from
14378 the program under debug.
14379 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14380 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14381 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14382 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14383 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14384
e70b6e8e
DE
143852015-09-09 Doug Evans <dje@google.com>
14386
14387 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14388
7a551a51
DE
143892015-09-09 Doug Evans <dje@google.com>
14390
14391 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14392
4c666f84
DE
143932015-09-09 Doug Evans <dje@google.com>
14394
14395 * gdb.base/savedregs.exp: Fix typo.
14396
243a9253
PA
143972015-09-09 Pedro Alves <palves@redhat.com>
14398
14399 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14400
c0fa8fbd
SL
144012015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14402
14403 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14404 command actually switches threads. Give up on remaining
14405 tests if target fails to stop at breakpoint.
14406
cd7c1778
PMR
144072015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14408
14409 * gdb.ada/funcall_char.exp: New testcase.
14410 * gdb.ada/funcall_char/foo.adb: New file.
14411
dc5c8746
PMR
144122015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14413
14414 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14415 expected outputs. Add two testcases for completing ambiguous
14416 functions.
14417 * gdb.ada/complete/aux_pck.adb: New file.
14418 * gdb.ada/complete/aux_pck.ads: New file.
14419 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14420 Ambiguous_Func functions.
14421 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14422 * gdb.ada/complete/pck.adb: Likewise.
14423
4e83a1e7
UW
144242015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14425
14426 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14427 failures to run the test program under GDB.
14428
8ce74153
LM
144292015-08-26 Luis Machado <lgustavo@codesourcery.com>
14430
14431 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14432 to C.
14433
e9756d52
PP
144342015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14435
14436 * gdb.base/run-after-attach.exp: New test file.
14437 * gdb.base/run-after-attach.c: New test file.
14438
8d37573b
DB
144392015-08-26 Don Breazeal <donb@codesourcery.com>
14440
14441 * gdb.base/foll-exec-2.c: New test program.
14442 * gdb.base/foll-exec-2.exp: New test.
14443
63e43d3a
PMR
144442015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14445
14446 * gdb.base/nested-subp1.exp: New file.
14447 * gdb.base/nested-subp1.c: New file.
14448 * gdb.base/nested-subp2.exp: New file.
14449 * gdb.base/nested-subp2.c: New file.
14450 * gdb.base/nested-subp3.exp: New file.
14451 * gdb.base/nested-subp3.c: New file.
14452
3d40fbb5
PA
144532015-08-24 Pedro Alves <palves@redhat.com>
14454
14455 * gdb.server/connect-without-multi-process.c: New file.
14456 * gdb.server/connect-without-multi-process.exp: New file.
14457
4422ac93
LM
144582015-08-24 Luis Machado <lgustavo@codesourcery.com>
14459
14460 * gdb.opt/inline-markers.c: Make z int.
14461
91dddb86
LM
144622015-08-24 Luis Machado <lgustavo@codesourcery.com>
14463
14464 * gdb.opt/inline-markers.c: Make z volatile.
14465
a48847ee
LM
144662015-08-24 Luis Machado <lgustavo@codesourcery.com>
14467
14468 * gdb.opt/inline-bt.c: New volatile global z.
14469 * gdb.opt/inline-cmds.c: Likewise.
14470 * gdb.opt/inline-locals.c: Likewise.
14471 * gdb.opt/inline-markers.c: New extern global z.
14472 (marker): Use z.
14473 (inline_fn): Likewise.
14474
0ebbc52b
PA
144752015-08-24 Pedro Alves <palves@redhat.com>
14476
14477 * config/m32r-stub.exp: Remove file.
14478 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14479 * gdb.base/call-rt-st.exp: Likewise.
14480 * gdb.base/call-strs.exp: Likewise.
14481 * gdb.base/default.exp: Remove references to h8300-*-hms and
14482 *-*-udi*.
14483 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14484
77c365df
AA
144852015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14486
14487 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14488 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14489 and "return" use KFAIL when GDB can not read/write the vector
14490 return value.
14491
4313b8c0
GB
144922015-08-21 Gary Benson <gbenson@redhat.com>
14493
14494 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14495
0e433b32
PA
144962015-08-20 Pedro Alves <palves@redhat.com>
14497
14498 * gdb.server/solib-list.exp: No longer expect an interior stop in
14499 non-stop mode.
14500
221e1a37
PA
145012015-08-20 Pedro Alves <palves@redhat.com>
14502
14503 * gdb.server/connect-stopped-target.c: New file.
14504 * gdb.server/connect-stopped-target.exp: New file.
14505
40e3ad0e
PA
145062015-08-20 Pedro Alves <palves@redhat.com>
14507
14508 * gdb.dwarf2/comp-unit-lang.exp: New file.
14509 * gdb.dwarf2/comp-unit-lang.c: New file.
14510
af39b327
PMR
145112015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14512
14513 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14514 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14515
7d45c7c3 145162015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 14517
7d45c7c3
KB
14518 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14519 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14520
4d6cceb4
DE
145212015-08-18 Doug Evans <dje@google.com>
14522 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14523
14524 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14525 skip_python_tests. New arg prompt_regexp.
14526 (skip_python_tests): New function.
14527 * lib/mi-support.exp (mi_skip_python_tests): New function.
14528 * gdb.python/py-mi-objfile-gdb.py: New file.
14529 * gdb.python/py-mi-objfile.c: New file.
14530 * gdb.python/py-mi-objfile.exp: New file.
14531
ad89c2aa
KS
145322015-08-17 Keith Seitz <keiths@redhat.com>
14533
14534 * gdb.linespec/explicit.exp: Move strace test from here ...
14535 * gdb.trace/strace.exp: ... to here.
14536
e3ae3c43
PP
145372015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14538
14539 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14540 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14541
604b2636
DE
145422015-08-14 Doug Evans <xdje42@gmail.com>
14543
14544 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14545 inferior before selecting a new file.
14546
6ff0ba5f
DE
145472015-08-14 Doug Evans <xdje42@gmail.com>
14548
14549 * gdb.mi/mi-disassemble.exp: Update.
14550 * gdb.base/disasm-optim.S: New file.
14551 * gdb.base/disasm-optim.c: New file.
14552 * gdb.base/disasm-optim.h: New file.
14553 * gdb.base/disasm-optim.exp: New file.
14554
9ca98f92
KS
145552015-08-14 Keith Seitz <keiths@redhat.com>
14556
14557 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14558 "evaluated-by".
14559
52bbc560
JB
145602015-08-13 Joel Brobecker <brobecker@adacore.com>
14561
14562 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14563
5d8c3ed3
PMR
145642015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14565
14566 * gdb.ada/fun_renaming.exp: New testcase.
14567 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14568 * gdb.ada/fun_renaming/pack.adb: New file.
14569 * gdb.ada/fun_renaming/pack.ads: New file.
14570
ea8812bc
KS
145712015-08-12 Keith Seitz <keiths@redhat.com>
14572
14573 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14574 gdb_get_line_number.
14575
4dafcdeb
JB
145762015-08-12 Joel Brobecker <brobecker@adacore.com>
14577
14578 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14579 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14580 gdb.base/dso2dso.exp: New files.
14581
5ba32597
SDJ
145822015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14583 Pedro Alves <palves@redhat.com>
14584 Keith Seitz <keiths@redhat.com>
14585
14586 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14587 GDBFLAGS.
14588
b6dafabf
PP
145892015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14590
14591 * gdb.base/gdbhistsize-history.exp
14592 (test_histsize_history_setting): Use save_vars.
14593 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14594 Use save_vars.
14595 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14596 * gdb.base/readline.exp: Use save_vars.
14597
abe8e607
PP
145982015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14599
14600 * lib/gdb.exp (save_vars): New proc.
14601
629500fa
KS
146022015-08-11 Keith Seitz <keiths@redhat.com>
14603
14604 * gdb.base/help.exp: Update help_breakpoint_text.
14605
eb8c4e2e
KS
146062015-08-11 Keith Seitz <keiths@redhat.com>
14607
14608 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14609 (at toplevel): Call test_explicit_breakpoints.
14610 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14611 breakpoints.
14612 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14613 breakpoint conditions, "-cond".
14614
87f0e720
KS
146152015-08-11 Keith Seitz <keiths@redhat.com>
14616
14617 * gdb.linespec/3explicit.c: New file.
14618 * gdb.linespec/cpexplicit.cc: New file.
14619 * gdb.linespec/cpexplicit.exp: New file.
14620 * gdb.linespec/explicit.c: New file.
14621 * gdb.linespec/explicit.exp: New file.
14622 * gdb.linespec/explicit2.c: New file.
14623 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14624 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14625 before using in the matching pattern.
14626 Clarify that `prefix' is a regular expression.
14627
f00aae0f
KS
146282015-08-11 Keith Seitz <keiths@redhat.com>
14629
14630 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14631 test.
14632 Add tests for missing ",FMT" and ",".
14633
e27852be
DE
146342015-08-10 Doug Evans <dje@google.com>
14635 Keith Seitz <keiths@redhat.com>
14636
14637 PR gdb/17960
14638 * gdb.base/completion.exp: Add location completer tests.
14639
7f03bd92
PA
146402015-08-07 Pedro Alves <palves@redhat.com>
14641
14642 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14643 tests here.
14644 (top level): Run do_test with and without displaced stepping.
14645
3fc8eb30
PA
146462015-08-07 Pedro Alves <palves@redhat.com>
14647
14648 * gdb.base/valgrind-disp-step.c: New file.
14649 * gdb.base/valgrind-disp-step.exp: New file.
14650
d4569d7b
PA
146512015-08-07 Pedro Alves <palves@redhat.com>
14652
14653 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14654 Delete function.
14655 (main): Add alarm. Run an infinite loop instead of calling
14656 wait_threads.
14657 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14658 comment.
14659 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14660 Delete function.
14661 (main): Add alarm. Run an infinite loop instead of calling
14662 wait_threads.
14663 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14664 comment.
14665
e1316e60
PA
146662015-08-07 Pedro Alves <palves@redhat.com>
14667
14668 * gdb.base/checkpoint-ns.exp: New file.
14669 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14670 standard_testfile.
14671
da8c46d2
MM
146722015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14673
14674 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14675 * gdb.btrace/instruction_history.exp: Update.
14676 * gdb.btrace/tsx.exp: New.
14677 * gdb.btrace/tsx.c: New.
14678
de1c2c52
PA
146792015-08-06 Pedro Alves <palves@redhat.com>
14680
14681 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14682 increase timeout.
14683 * gdb.reverse/until-precsave.exp: Bump timeouts.
14684
782e0bf4
PA
146852015-08-06 Pedro Alves <palves@redhat.com>
14686
14687 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14688
83e97ed0
PA
146892015-08-06 Pedro Alves <palves@redhat.com>
14690
14691 PR gdb/18749
14692 * gdb.threads/process-dies-while-handling-bp.c: New file.
14693 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14694
863d01bd
PA
146952015-08-06 Pedro Alves <palves@redhat.com>
14696
14697 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14698 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14699
0a39bb32
PA
147002015-08-05 Pedro Alves <palves@redhat.com>
14701
14702 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14703 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14704
ee2d2b10
SL
147052015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14706
14707 * gdb.base/bp-permanent.exp: Report test as unsupported if
14708 the target cannot stop at the permanent breakpoint.
14709
4e1bdb00
DE
147102015-08-03 Doug Evans <dje@google.com>
14711
14712 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14713 10000.
14714
3d338901
DE
147152015-08-03 Doug Evans <dje@google.com>
14716
14717 * Makefile.in (workers/%.worker, build-perf): New rule.
14718 (GDB_PERFTEST_MODE): New variable.
14719 (check-perf): Use it.
14720 (clean): Clean up gdb.perf parallel build subdirs.
14721 * lib/build-piece.exp: New file.
14722 * lib/gdb.exp (make_gdb_parallel_path): New function
14723 (standard_output_file, standard_temp_file): Call it.
14724 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14725 of $GDB_PARALLEL.
14726 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14727
af061d3e
DE
147282015-08-03 Doug Evans <dje@google.com>
14729
8e1afc81 14730 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
14731 (LOG_FILE_NAME): New global.
14732 (TextReporter.__init__): Initialize self.txt_sum.
14733 (TextReporter.report): Add support for multiple data-points.
14734 Move report to perftest.sum, put raw data in perftest.log.
14735 (TextReporter.start): Open sum and log files.
14736 (TextReporter.end): Close sum and log files.
8e1afc81
DE
14737 * gdb.perf/lib/perftest/testresult.py
14738 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 14739
2c8c5d37
PA
147402015-07-31 Pedro Alves <palves@redhat.com>
14741
14742 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14743 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14744 kill_wait_spawned_process instead of explicit "kill -9".
14745 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14746 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14747 kill_wait_spawned_process.
14748 * gdb.base/attach-twice.exp: Likewise.
14749 * gdb.base/attach.exp: Likewise.
14750 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14751 gdb_test_multiple.
14752 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14753 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14754 kill_wait_spawned_process.
14755 * gdb.base/valgrind-infcall.exp: Likewise.
14756 * gdb.multi/multi-attach.exp: Likewise.
14757 * gdb.python/py-prompt.exp: Likewise.
14758 * gdb.python/py-sync-interp.exp: Likewise.
14759 * gdb.server/ext-attach.exp: Likewise.
14760 * gdb.threads/attach-into-signal.exp (corefunc): Use
14761 spawn_wait_for_attach, spawn_id_get_pid and
14762 kill_wait_spawned_process.
14763 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14764 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14765 spawn_id_get_pid and kill_wait_spawned_process.
14766 * gdb.threads/attach-stopped.exp (corefunc): Use
14767 spawn_wait_for_attach, spawn_id_get_pid and
14768 kill_wait_spawned_process.
14769 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14770 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14771 kill_wait_spawned_process instead of explicit "kill -9".
14772 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14773 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14774 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14775 processes. Don't map cygwin/windows pids here. Now returns a
14776 spawn id list.
14777
032a0fca
SL
147782015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14779
14780 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14781 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14782 correct patch.
14783
61a934ca
SL
147842015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14785
14786 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14787
4bc4d428
SL
147882015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14789
14790 Reapply:
14791 2014-05-21 Mark Wielaard <mjw@redhat.com>
14792
14793 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14794
998d452a
PA
147952015-07-30 Pedro Alves <palves@redhat.com>
14796
14797 * linux-low.c (handle_extended_wait): Set the child's last
14798 reported status to TARGET_WAITKIND_STOPPED.
14799
69dde7dc
PA
148002015-07-30 Pedro Alves <palves@redhat.com>
14801
14802 PR threads/18600
14803 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14804 only shows inferior 1.
14805
4dd63d48
PA
148062015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14807 Pedro Alves <palves@redhat.com>
14808
14809 PR threads/18600
14810 * gdb.threads/fork-plus-threads.c: New file.
14811 * gdb.threads/fork-plus-threads.exp: New file.
14812
d618e4c5
PP
148132015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14814
14815 * gdb.base/batch-preserve-term-settings.exp
14816 (test_terminal_settings_preserved_after_cli_exit): Use
14817 send_quit_command.
14818
1eef6428
PA
148192015-07-29 Pedro Alves <palves@redhat.com>
14820 Don Breazeal <donb@codesourcery.com>
14821
14822 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14823 output from both inferior_spawn_id and gdb_spawn_id.
14824
7da5b897
SDJ
148252015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14826
14827 * gdb.threads/attach-into-signal.exp (corefunc): Use
14828 with_test_prefix on nested loops, uniquefying the test messages.
14829
dac804df
SDJ
148302015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14831
14832 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14833 commit.
14834
06265e53
PP
148352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14836
14837 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14838 New proc.
14839 (test_terminal_settings_preserved_after_sigterm): New test.
14840
18206ca3
PP
148412015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14842
14843 * gdb.base/batch-preserve-term-settings.exp
14844 (test_terminal_settings_preserved_after_cli_exit): New test.
14845
90074d11
PP
148462015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14847
14848 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14849 manipulation of saved_gdbflags.
14850 (test_terminal_settings_preserved): Remove global declaration of
14851 the unused variable pagination_prompt. Remove manipulation of
14852 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14853 GDBFLAGS.
14854
eb1a7902
PA
148552015-07-29 Pedro Alves <palves@redhat.com>
14856
14857 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14858
8b75dd3b
PA
148592015-07-29 Pedro Alves <palves@redhat.com>
14860
14861 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14862 at the top.
14863
dedad4e3
PA
148642015-07-29 Pedro Alves <palves@redhat.com>
14865
14866 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14867 (main): Call gdb_unbuffer_output.
14868 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14869 (main): Call gdb_unbuffer_output.
14870 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14871 (main): Call gdb_unbuffer_output.
14872 * gdb.base/call-strs.exp: Adjust to step over the
14873 gdb_unbuffer_output call.
14874 * gdb.base/catch-gdb-caused-signals.c: Include
14875 "../lib/unbuffer_output.c".
14876 (main): Call gdb_unbuffer_output.
14877 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14878 (main): Call gdb_unbuffer_output.
14879 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14880 (main): Call gdb_unbuffer_output.
14881 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14882 (main): Call gdb_unbuffer_output.
14883 * gdb.base/shlib-call.exp: Adjust to step over the
14884 gdb_unbuffer_output call.
14885 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14886 (main): Call gdb_unbuffer_output.
14887 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14888 (main): Call gdb_unbuffer_output.
14889 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14890 (main): Rename to ...
14891 (test): ... this.
14892 (main): Reimplement.
14893 * gdb.base/varargs.exp: Run to test instead of to main.
14894 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14895 (main): Call gdb_unbuffer_output.
14896
58789a91
PA
148972015-07-29 Pedro Alves <palves@redhat.com>
14898
14899 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14900 factore out from mi_continue_dprintf. For call-style dprintfs,
14901 expect dprintf output out of $inferior_spawn_id.
14902 (mi_continue_dprintf): Use mi_expect_dprintf.
14903 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14904 (main): Call gdb_unbuffer_output.
14905
e8376742
PA
149062015-07-29 Pedro Alves <palves@redhat.com>
14907
14908 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14909 (default_mi_gdb_start): Set inferior_spawn_id instead of
14910 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14911 gdb_spawn_id.
14912 (mi_gdb_test): Always expect inferior output from both
14913 $inferior_spawn_id and $gdb_spawn_id.
14914
08280010
PA
149152015-07-29 Pedro Alves <palves@redhat.com>
14916
14917 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14918 send_inferior and $inferior_spawn_id.
14919
4d30e432
PA
149202015-07-29 Pedro Alves <palves@redhat.com>
14921
14922 * gdb.gdb/complaints.exp (test_initial_complaints)
14923 (test_serial_complaints, test_short_complaints): Use
14924 gdb_test_stdio.
14925 (test_empty_complaint): Handle $inferior_spawn_id !=
14926 $gdb_spawn_id.
14927
0d30a335
PA
149282015-07-29 Pedro Alves <palves@redhat.com>
14929
14930 * gdb.base/varargs.exp: Use gdb_test_stdio.
14931
39413b29
PA
149322015-07-29 Pedro Alves <palves@redhat.com>
14933
14934 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14935
7cb000a9
PA
149362015-07-29 Pedro Alves <palves@redhat.com>
14937
14938 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14939
d7b8ac82
PA
149402015-07-29 Pedro Alves <palves@redhat.com>
14941
14942 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14943 parameter into two new parameters, "inf_result" and "gdb_result".
14944 Expect inferior output and gdb output from $inferior_spawn_id and
14945 $gdb_spawn_id, respectively. Adjust all callers.
14946
789c3a0c
PA
149472015-07-29 Pedro Alves <palves@redhat.com>
14948
14949 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14950 of gdb_test_sequence.
14951
77e760c3
PA
149522015-07-29 Pedro Alves <palves@redhat.com>
14953
14954 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14955 (saw_spurious_output): Expect inferior output from
14956 $inferior_spawn_id. Use gdb_test_stdio.
14957
8396d2cd
PA
149582015-07-29 Pedro Alves <palves@redhat.com>
14959
14960 * gdb.base/dprintf.exp: Use standard_testfile. Change
14961 prepare_for_testing call.
14962 (srcfile): Don't set.
14963 (restart): New procedure.
14964 (test_dprintf): New procecure, use to continue over dprintfs.
14965 (test_call, test_agent): New procedures, tests moved here.
14966 Restart gdb and recreate dprintfs. Adjust expected output.
14967
2051d61f
PA
149682015-07-29 Pedro Alves <palves@redhat.com>
14969
14970 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14971
452397af
PA
149722015-07-29 Pedro Alves <palves@redhat.com>
14973
14974 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14975
8aed9555
PA
149762015-07-29 Pedro Alves <palves@redhat.com>
14977
14978 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14979 gdb_test_stdio.
14980
188a61b4
PA
149812015-07-29 Pedro Alves <palves@redhat.com>
14982
14983 * lib/gdb.exp (gdb_test_stdio): New procedure.
14984
12264a45
PA
149852015-07-29 Pedro Alves <palves@redhat.com>
14986
14987 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14988
23ffc893
PA
149892015-07-29 Pedro Alves <palves@redhat.com>
14990
14991 * gdb.base/call-signal-resume.exp: Remove check for
14992 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14993 * gdb.base/unwindonsignal.exp: Likewise.
14994 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14995 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14996
65566918
PA
149972015-07-29 Pedro Alves <palves@redhat.com>
14998
14999 * gdb.base/siginfo-addr.c (pass): New function.
15000 (handler): Call it iff si_addr is correct.
15001 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15002 Set a breakpoint at "pass" and continue to it.
15003
d60a9221
SDJ
150042015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15005
15006 * gdb.python/py-objfile.exp: Make some tests have unique names.
15007 * gdb.python/py-pp-registration.exp: Likewise.
15008
bde40b8f
PA
150092015-07-28 Pedro Alves <palves@redhat.com>
15010
15011 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15012
13e1dec8
SM
150132015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15014
15015 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15016
da33c9a7
SM
150172015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15018
15019 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15020
077836f7
PP
150212015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15022
15023 * gdb.base/gdb-sigterm-2.exp: New test.
15024
b8cc7b2e
DE
150252015-07-25 Doug Evans <xdje42@gmail.com>
15026
15027 Revert:
15028 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15029 (workers/%.worker, build-perf): New rule.
15030 (GDB_PERFTEST_MODE): New variable.
15031 (check-perf): Use it.
15032 (clean): Clean up gdb.perf parallel build subdirs.
15033 * lib/build-piece.exp: New file.
15034 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15035 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15036 name.
15037 (standard_temp_file): Ditto.
15038 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15039 of $GDB_PARALLEL.
15040
c8bd4544
DE
150412015-07-24 Doug Evans <dje@google.com>
15042
15043 * gdb.perf/lib/perftest/utils.py: New file.
15044 * gdb.perf/gm-hello.cc: New file.
15045 * gdb.perf/gm-pervasive-typedef.cc: New file.
15046 * gdb.perf/gm-pervasive-typedef.h: New file.
15047 * gdb.perf/gm-std.cc: New file.
15048 * gdb.perf/gm-std.h: New file.
15049 * gdb.perf/gm-use-cerr.cc: New file.
15050 * gdb.perf/gm-utils.h: New file.
15051 * gdb.perf/gmonster-null-lookup.py: New file.
15052 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15053 * gdb.perf/gmonster-print-cerr.py: New file.
15054 * gdb.perf/gmonster-ptype-string.py: New file.
15055 * gdb.perf/gmonster-runto-main.py: New file.
15056 * gdb.perf/gmonster-select-file.py: New file.
15057 * gdb.perf/gmonster1-null-lookup.exp: New file.
15058 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15059 * gdb.perf/gmonster1-print-cerr.exp: New file.
15060 * gdb.perf/gmonster1-ptype-string.exp: New file.
15061 * gdb.perf/gmonster1-runto-main.exp: New file.
15062 * gdb.perf/gmonster1-select-file.exp: New file.
15063 * gdb.perf/gmonster1.cc: New file.
15064 * gdb.perf/gmonster1.exp: New file.
15065 * gdb.perf/gmonster2-null-lookup.exp: New file.
15066 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15067 * gdb.perf/gmonster2-print-cerr.exp: New file.
15068 * gdb.perf/gmonster2-ptype-string.exp: New file.
15069 * gdb.perf/gmonster2-runto-main.exp: New file.
15070 * gdb.perf/gmonster2-select-file.exp: New file.
15071 * gdb.perf/gmonster2.cc: New file.
15072 * gdb.perf/gmonster2.exp: New file.
15073
6eab34f3
DE
150742015-07-24 Doug Evans <dje@google.com>
15075
15076 * gdb.perf/README: New file.
15077 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15078 * lib/gen-perf-test.exp: New file.
15079
63738bfd
DE
150802015-07-24 Doug Evans <dje@google.com>
15081
15082 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15083 (PerfTest::startup): New function.
15084 (PerfTest::run): Return result of calling body.
15085 (PerfTest::assemble): Rewrite.
15086 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15087 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15088 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15089 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15090 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15091
7b606f95
DE
150922015-07-24 Doug Evans <dje@google.com>
15093
15094 * lib/gdb.exp (clean_restart): Make executable optional.
15095
a97b16b8
DE
150962015-07-24 Doug Evans <dje@google.com>
15097
15098 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15099 compiler_info references.
15100 * gdb.cp/temargs.exp: Ditto.
15101 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15102 (get_compiler_info): Early exit if already computed. Set compiler_info
15103 to "unknown" if there was a problem.
15104 (test_compiler_info): Add function comment. Call get_compiler_info.
15105
35baa57f
DE
151062015-07-24 Doug Evans <dje@google.com>
15107
15108 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15109 (workers/%.worker, build-perf): New rule.
15110 (GDB_PERFTEST_MODE): New variable.
15111 (check-perf): Use it.
15112 (clean): Clean up gdb.perf parallel build subdirs.
15113 * lib/build-piece.exp: New file.
15114 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15115 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15116 name.
15117 (standard_temp_file): Ditto.
15118 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15119 of $GDB_PARALLEL.
15120
6ebea266
DE
151212015-07-24 Doug Evans <dje@google.com>
15122
15123 * lib/future.exp (gdb_default_target_compile): New option
15124 "early_flags".
15125 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15126 --as-needed.
15127
1e76a7e9
SDJ
151282015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15129
15130 * gdb.base/catch-syscall.exp: Call gdb_exit before
15131 gdb_skip_xml_test.
15132
5068630a
PA
151332015-07-24 Pedro Alves <palves@redhat.com>
15134
15135 * gdb.python/py-events.exp: Accept output between the stop event
15136 and the prompt.
15137 * gdb.python/py-evsignal.exp: Likewise.
15138 * gdb.python/py-evthreads.exp: Likewise.
15139
77598427
PA
151402015-07-24 Pedro Alves <palves@redhat.com>
15141
15142 PR gdb/18717
15143 * gdb.threads/non-ldr-exit.c: New file.
15144 * gdb.threads/non-ldr-exit.exp: New file.
15145
11e6c98f
YQ
151462015-07-24 Yao Qi <yao.qi@linaro.org>
15147
15148 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15149 restarting process.
15150
51aee833
YQ
151512015-07-24 Yao Qi <yao.qi@linaro.org>
15152
15153 * gdb.server/ext-restart.exp: New file.
15154
8cfe207c
YQ
151552015-07-24 Yao Qi <yao.qi@linaro.org>
15156
15157 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15158 argument options.
15159 * gdb.server/ext-wrapper.exp: New file.
15160
cc12ce38
DE
151612015-07-23 Doug Evans <dje@google.com>
15162
15163 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15164 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15165
d0d84780
PMR
151662015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15167
15168 * gdb.ada/var_arr_typedef.exp: New testcase.
15169 * gdb.ada/var_arr_typedef/pack.adb: New file.
15170 * gdb.ada/var_arr_typedef/pack.ads: New file.
15171 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15172
8b558f79
JB
151732015-07-20 Joel Brobecker <brobecker@adacore.com>
15174
15175 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15176
775a3298
JK
151772015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15178
15179 * gdb.arch/i386-biarch-core.exp: Replace istarget
15180 by "complete set gnutarget". Remove expectation for the "core-file"
15181 command.
15182
db1ff28b
JK
151832015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15184
15185 Revert the previous commit:
15186 Tests for validate symbol file using build-id.
15187
0a94970d
JK
151882015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15189
15190 Tests for validate symbol file using build-id.
15191 * gdb.base/solib-mismatch-lib.c: New file.
15192 * gdb.base/solib-mismatch-libmod.c: New file.
15193 * gdb.base/solib-mismatch.c: New file.
15194 * gdb.base/solib-mismatch.exp: New file.
15195
03346981
SL
151962015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15197
15198 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15199 nios2-*-linux*.
15200 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15201 * gdb.base/siginfo.exp: Likewise.
15202 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15203
42422cc7
PL
152042015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15205
15206 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15207 Move it to ...
15208 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15209 ... here.
15210 * gdb.trace/range-stepping.exp: Check that the target supports
15211 range stepping.
15212
cfa68bae
JK
152132015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15214
15215 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15216
8ffdba26
PA
152172015-07-14 Pedro Alves <palves@redhat.com>
15218
15219 * gdb.base/killed-outside.exp: New file.
15220 * gdb.base/killed-outside.c: New file.
15221
218a5a11
JK
152222015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15223
15224 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15225 (n at main): New.
15226 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15227
e03ed3c6
AA
152282015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15229
15230 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15231 infcall tests instead of setting up for KFAIL.
15232
485668e5
MM
152332015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15234
15235 * gdb.btrace/record_goto-step.exp: New.
15236
08464196
JK
152372015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15238
15239 PR compile/18484
15240 * gdb.compile/compile.c (struct struct_type): Add volatile to
15241 selffield's type.
15242 * gdb.compile/compile.exp
15243 (compile code struct_object.selffield = &struct_object): Skip further
15244 struct_object tests if this one xfails.
15245
bcf5c1d9
RC
152462015-07-08 Robert O'Callahan <robert@ocallahan.org>
15247
15248 PR exp/18617
15249 * gdb.trace/ax.exp: Add test.
15250
4931af25
YQ
152512015-07-07 Yao Qi <yao.qi@linaro.org>
15252
15253 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15254 instead of istarget "aarch64*-*-*".
15255 * gdb.arch/aarch64-fp.exp: Likewise.
15256 * gdb.base/float.exp: Likewise.
15257 * gdb.reverse/aarch64.exp: Likewise.
15258 * lib/gdb.exp (is_aarch64_target): New proc.
15259
9fcf688e
YQ
152602015-07-07 Yao Qi <yao.qi@linaro.org>
15261
15262 * lib/gdb.exp (is_aarch32_target): New proc.
15263 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15264 instead of "istarget "arm*-*-*"".
15265 * gdb.arch/arm-disp-step.exp: Likewise.
15266 * gdb.arch/thumb-bx-pc.exp: Likewise.
15267 * gdb.arch/thumb-prologue.exp: Likewise.
15268 * gdb.arch/thumb-singlestep.exp: Likewise.
15269 * gdb.base/disp-step-syscall.exp: Likewise.
15270 * gdb.base/float.exp: Likewise.
15271
fbd8d50d
YQ
152722015-07-07 Yao Qi <yao.qi@linaro.org>
15273
15274 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15275 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15276
71be1fdc
YQ
152772015-07-07 Yao Qi <yao.qi@linaro.org>
15278
15279 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15280 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15281 if it exists.
15282 * gdb.multi/multi-arch.exp: Likewise.
15283
3e221d36
SM
152842015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15285
15286 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15287 print.
15288
d441430b
YQ
152892015-07-07 Yao Qi <yao.qi@linaro.org>
15290
15291 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15292
06f810bd
MG
152932015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15294
15295 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15296 '[' and ']' characters.
15297
5e61e7c0
IB
152982015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15299
15300 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15301
28bf096c
PA
153022015-06-29 Pedro Alves <palves@redhat.com>
15303
15304 PR threads/18127
15305 * gdb.threads/hand-call-new-thread.c: New file.
15306 * gdb.threads/hand-call-new-thread.c: New file.
15307
ee93cd5e
KS
153082015-06-26 Keith Seitz <keiths@redhat.com>
15309 Doug Evans <dje@google.com>
15310
15311 PR 16253
15312 * gdb.cp/var-tag-2.cc: New file.
15313 * gdb.cp/var-tag-3.cc: New file.
15314 * gdb.cp/var-tag-4.cc: New file.
15315 * gdb.cp/var-tag.cc: New file.
15316 * gdb.cp/var-tag.exp: New file.
15317
fc637f04
PP
153182015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15319
15320 * gdb.base/history-duplicates.exp: New test.
15321
2e52ae68
PP
153222015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15323
15324 * gdb.base/completion.exp: Test the completion of the "focus"
15325 command.
15326
6e22494e
JK
153272015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15328
15329 * gdb.arch/amd64-prologue-skip.S: New file.
15330 * gdb.arch/amd64-prologue-skip.exp: New file.
15331
bf7b9cd9
SM
153322015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15333
15334 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15335 is_address_zero_readable check.
15336
201e8dfd
PB
153372015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15338
15339 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15340 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15341
5cd867b4
YQ
153422015-06-24 Yao Qi <yao.qi@linaro.org>
15343
15344 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15345 linux targets.
15346
4d7be007
YQ
153472015-06-24 Yao Qi <yao.qi@linaro.org>
15348
15349 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15350 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15351 * gdb.base/siginfo-thread.exp: Likewise.
15352
07fcd301
YQ
153532015-06-22 Yao Qi <yao.qi@linaro.org>
15354
15355 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15356
52042a00
YQ
153572015-06-22 Yao Qi <yao.qi@linaro.org>
15358
15359 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15360 aarch64*-*-*.
15361 (skip_hw_watchpoint_tests): Likewise.
15362
74bd41ce
PP
153632015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15364
15365 * gdb.base/gdbinit-history.exp: Test the interaction between
15366 setting GDBHISTSIZE and setting the history size via .gdbinit.
15367
bc460514
PP
153682015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15369
15370 PR gdb/16999
15371 * gdb.base/gdbhistsize-history.exp: New test.
15372
b58c513b
PP
153732015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15374
15375 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15376 with GDBHISTSIZE.
15377 * gdb.base/readline.exp: Likewise.
15378
92046791
YQ
153792015-06-17 Yao Qi <yao.qi@linaro.org>
15380
15381 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15382 line.
15383
2093d2d3
PP
153842015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15385
15386 * gdb.base/gdbinit-history.exp: Add test case to check that
15387 an unlimited history file does not get truncated on exit.
15388
e6c693af
AA
153892015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15390
15391 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15392 (VECTOR): New macro. Use it...
15393 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15394 ...for these typedefs.
15395 (int8, char1, int1, double1): New typedefs.
15396 (struct just_int2, struct two_int2): New structures.
15397 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15398 (add_structvecs, add_singlevecs): New functions.
15399 (main): Call add_some_intvecs twice.
15400 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15401 the compile and exit upon failure. Try compiling for the "native"
15402 architecture. Test inferior function calls with vector arguments
15403 and vector return value handling with "finish" and "return".
15404
c74f7d1c
JT
154052015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15406
15407 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15408 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15409 PE file.
15410 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15411
98aa42ee
AT
154122015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15413
15414 PR breakpoints/16465
15415 * gdb.mi/mi-dprintf-pending.c: New file.
15416 * gdb.mi/mi-dprintf-pending.exp: New test.
15417 * gdb.mi/mi-dprintf-pendshr.c: New file.
15418
7d73c23c 154192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 15420 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
15421
15422 * gdb.arch/i386-mpx-map.c: New file.
15423 * gdb.arch/i386-mpx-map.exp: New File.
15424
154252015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15426
15427 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15428 * gdb.arch/i386-mpx.exp: Indentation fixed.
15429
154302015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15431
15432 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15433 function and improved indentation.
15434 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15435 gdb_test_multiple. Added additional tests to skip the test.
15436
154372015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15438
15439 * gdb.arch/i386-avx512.c: Change path in include file.
15440 * gdb.arch/i386-avx512.exp: Change include dir path
15441 compilation flag.
15442 * gdb.arch/i386-mpx.c: Change path in include file.
15443 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15444 flag.
15445
d5eba19a
JK
154462015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15447
15448 * gdb.compile/compile-print.exp (compile print *vararray@3)
15449 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15450
7f361056
JK
154512015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15452
15453 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15454 (do not keep jit in memory): ... this.
15455 (expect 5): Change it to ...
15456 (expect no 5): ... this.
15457
3b462ec2
SM
154582015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15459
15460 PR gdb/15564
15461 * gdb.mi/mi-detach.exp: New file.
15462
e0619de6
JK
154632015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15464
15465 PR symtab/18392
15466 * gdb.arch/amd64-tailcall-self.S: New file.
15467 * gdb.arch/amd64-tailcall-self.c: New file.
15468 * gdb.arch/amd64-tailcall-self.exp: New file.
15469
e970cb34
DB
154702015-05-28 Don Breazeal <donb@codesourcery.com>
15471
15472 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15473 tests for remote targets by checking is_target_gdbserver.
15474
b2e2f908
DE
154752015-05-27 Doug Evans <dje@google.com>
15476
15477 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15478 * gdb.dwarf2/opaque-type-lookup.c: New file.
15479 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15480
82c7be31
DE
154812015-05-26 Doug Evans <dje@google.com>
15482
15483 * gdb.cp/iostream.cc: New file.
15484 * gdb.cp/iostream.exp: New file.
15485
b4f54984
DE
154862015-05-26 Doug Evans <dje@google.com>
15487
15488 * gdb.dwarf2/dw2-op-call.exp: Update.
15489 * gdb.dwarf2/dw4-sig-types.exp: Update.
15490 * gdb.dwarf2/implptr.exp: Update.
15491 * gdb.mi/mi-cmd-param-changed.exp: Update.
15492
4ea6efe9
DE
154932015-05-26 Doug Evans <dje@google.com>
15494
15495 * gdb.python/py-lazy-string.c: New file.
15496 * gdb.python/py-lazy-string.exp: New file.
15497 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15498 (main): Update. Add estring3.
15499 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15500 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15501
f6bb7db3
YQ
155022015-05-26 Omair Javaid <omair.javaid@linaro.org>
15503 Yao Qi <yao.qi@linaro.org>
15504
15505 * gdb.reverse/aarch64.c: New.
15506 * gdb.reverse/aarch64.exp: New.
15507
a81bfbd0
OJ
155082015-05-26 Omair Javaid <omair.javaid@linaro.org>
15509
25d49b86
PA
15510 * lib/gdb.exp (supports_process_record): Return true for
15511 aarch64*-linux*.
a81bfbd0
OJ
15512 (supports_reverse): Likewise.
15513
158bf1b4
PP
155142015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15515
15516 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15517 Use with_test_prefix.
15518
a0145030
AB
155192015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15520
15521 * gdb.base/completion.exp: Add test for completion of layout
15522 names.
15523
ebe3b578
AB
155242015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15525
15526 * lib/gdb.exp (skip_tui_tests): New proc.
15527 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15528
84204ed7
PA
155292015-05-19 Pedro Alves <palves@redhat.com>
15530
15531 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15532 Save the whole env array instead of just HOME. Unset HISTSIZE in
15533 the environment while testing. Restore whole environment
15534 afterwards.
15535
37442ce1
DE
155362015-05-16 Doug Evans <xdje42@gmail.com>
15537
15538 * gdb.guile/scm-ports.c: New file.
15539 * gdb.guile/scm-ports.exp: Add memory port tests.
15540
36de76f9
JK
155412015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15542
15543 * gdb.compile/compile-print.c: New file.
15544 * gdb.compile/compile-print.exp: New file.
15545
3a9558c4
JK
155462015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15547
15548 * gdb.compile/compile-ops.exp: Cast param to void.
15549 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15550 (compile code struct_object.selffield = &struct_object): Add xfail.
15551
aa715135
JG
155522015-05-15 Joel Brobecker <brobecker@adacore.com>
15553
15554 * gdb.ada/arr_enum_with_gap: New testcase.
15555
931e5bc3
JG
155562015-05-15 Joel Brobecker <brobecker@adacore.com>
15557
15558 * gdb.ada/byte_packed_arr: New testcase.
15559
9cd4d857
JB
155602015-05-15 Joel Brobecker <brobecker@adacore.com>
15561
15562 * gdb.ada/pckd_neg: New testcase.
15563
ebfd00d2
PP
155642015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15565
15566 PR gdb/17820
15567 * gdb.base/gdbinit-history.exp: New test.
15568 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15569 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15570
4c082a81
SC
155712015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15572
15573 * gdb.python/py-xmethods.cc: Enhance test case.
15574 * gdb.python/py-xmethods.exp: New tests.
15575 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15576 function.
15577 (B_indexoper): Likewise.
15578 (global_dm_list) : Add new xmethod worker functions.
15579
f7797074
SDJ
155802015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15581
15582 * gdb.base/coredump-filter.exp: Correctly unset
15583 "coredump_var_addr" array.
15584
a4674e4e
PA
155852015-05-08 Pedro Alves <palves@redhat.com>
15586
15587 * gdb.server/non-existing-program.exp: Unset spawn_id.
15588
df2eb078
SC
155892015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15590
15591 PR python/18291
15592 * gdb.python/py-xmethods.exp: Add tests.
15593
422349a3
YQ
155942015-05-08 Yao Qi <yao.qi@linaro.org>
15595
15596 PR gdb/18208
15597 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15598 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15599 function set_coredump_filter, and remove remote_exec call.
15600 Remove argument ipid. Callers update.
15601 (top level): Don't get inferior's PID.
15602
63fc80ce
AA
156032015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15604
15605 * gdb.base/watch_thread_num.exp: Skip test on targets without
15606 access watchpoints.
15607
80ad801e
PA
156082015-05-06 Pedro Alves <palves@redhat.com>
15609
15610 PR server/18081
15611 * gdb.server/non-existing-program.exp: New file.
15612
0fa7fe50
JB
156132015-05-05 Joel Brobecker <brobecker@adacore.com>
15614
15615 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15616
3ea89b92
PMR
156172015-05-05 Joel Brobecker <brobecker@adacore.com>
15618
15619 * gdb.ada/out_of_line_in_inlined: New testcase.
15620
87b8eff0
JB
156212015-05-05 Joel Brobecker <brobecker@adacore.com>
15622
15623 * gdb.ada/var_rec_arr: New testcase.
15624
5fccc635
YQ
156252015-04-30 Yao Qi <yao.qi@linaro.org>
15626
15627 * gdb.base/break-idempotent.exp: If
15628 skip_hw_watchpoint_multi_tests returns true, skip the tests
15629 on "rwatch" and "awatch".
15630
42d38f42
YQ
156312015-04-30 Yao Qi <yao.qi@linaro.org>
15632
15633 * gdb.base/relativedebug.exp: Invoke gdb command
15634 "info sharedlibrary", and if libc.so doesn't have debug info,
15635 skip the test.
15636
2ce1cdbf
DE
156372015-04-29 Doug Evans <dje@google.com>
15638
15639 * gdb.python/py-xmethods.exp: Add ptype tests.
15640 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15641 get_result_type method.
15642
f24a38c5
LM
156432015-04-29 Luis Machado <lgustavo@codesourcery.com>
15644
15645 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15646 the target does not support hardware watchpoints.
15647
ecbf2b3c
LM
156482015-04-29 Luis Machado <lgustavo@codesourcery.com>
15649
15650 * gdb.base/break-always.exp: Abort testing if writing to memory
15651 causes an error.
15652
34f5f757
DE
156532015-04-28 Doug Evans <dje@google.com>
15654
15655 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15656 * gdb.python/py-pp-registration.exp: ... here. New file.
15657 * gdb.python/py-pp-registration.c: New file.
15658 * gdb.python/py-pp-registration.py: New file.
15659
69b4374a
DE
156602015-04-28 Doug Evans <dje@google.com>
15661
15662 * gdb.python/py-bad-printers.c: New file.
15663 * gdb.python/py-bad-printers.py: New file.
15664 * gdb.python/py-bad-printers.exp: New file.
15665
59fb7612
SS
156662015-04-28 Sasha Smundak <asmundak@google.com>
15667
15668 * gdb.python/py-type.exp: New test.
15669
2631b16a
AW
156702015-04-28 Andy Wingo <wingo@igalia.com>
15671
15672 * gdb.python/py-parameter.exp:
15673 * gdb.guile/scm-parameter.exp: Escape the path that we are
15674 matching against, as it might contain characters that are special
15675 to regular expressions.
15676
460efde1
JB
156772015-04-27 Joel Brobecker <brobecker@adacore.com>
15678
15679 * gdb.ada/rec_comp: New testcase.
15680
2d369d8e
SDJ
156812015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15682
15683 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15684 before using it.
15685
cf75d6c3
AB
156862015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15687
15688 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15689 new tests for verilog output.
15690
8dbe7ca5
YQ
156912015-04-24 Yao Qi <yao.qi@linaro.org>
15692
15693 * boards/remote-gdbserver-on-localhost.exp: New file.
15694
4ef9fb2f
PA
156952015-04-23 Pedro Alves <palves@redhat.com>
15696
15697 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15698 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15699 "end of file", remove $inferior_spawn_id from the indirect list.
15700
0a803169
PA
157012015-04-23 Pedro Alves <palves@redhat.com>
15702
15703 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15704
749ef8f8
PA
157052015-04-23 Pedro Alves <palves@redhat.com>
15706
15707 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15708 on $any_spawn_id instead of only on $gdb_spawn_id.
15709
8aae4344
PM
157102015-04-21 Pierre Muller <muller@sourceware.org>
15711
15712 PR pascal/17815
15713 * lib/pascal.exp (gpc_compile): Add new option "class".
15714 (fpc_compile): Likewise.
15715 * gdb.pascal/case-insensitive-symbols.pas: New file.
15716 * gdb.pascal/case-insensitive-symbols.exp: New file.
15717
1586c8fb
GB
157182015-04-20 Gary Benson <gbenson@redhat.com>
15719
15720 * gdb.base/attach.exp: Fix three extended remote failures.
15721
1b6e6f5c
GB
157222015-04-17 Gary Benson <gbenson@redhat.com>
15723
15724 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15725 the main executable over the remote protocol.
15726
e797481d
PA
157272015-04-16 Pedro Alves <palves@redhat.com>
15728
15729 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15730 a new gdbserver if gdbserver_reconnect_p is set.
15731
1ca99c42
PA
157322015-04-16 Pedro Alves <palves@redhat.com>
15733
15734 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15735 is set, don't exit gdbserver.
15736
af9fd6f8
AA
157372015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15738
15739 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15740 appropriate .insn, such that an older assembler can be used.
15741 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15742 the z/Architecture instruction set on 31-bit targets as well.
15743
04ff1e61
AA
157442015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15745
15746 * gdb.go/handcall.exp: Remove all logic related to the first
15747 breakpoint and rely on go_runto_main instead.
15748 * gdb.go/strings.exp: Likewise.
15749 * gdb.go/unsafe.exp: Likewise.
15750 * gdb.go/hello.exp: Likewise. Also rename the remaining
15751 breakpoint marker to "breakpoint 1".
15752 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15753 * gdb.go/strings.go: Likewise.
15754 * gdb.go/unsafe.go: Likewise.
15755 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15756 "set breakpoint 2 here" and rename the remaining breakpoint marker
15757 to "breakpoint 1".
15758
40d2f8d6
SM
157592015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15760
15761 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15762 if itertools.imap is not present.
15763 * gdb.python/py-objfile.exp: Add parentheses.
15764 * gdb.python/py-type.exp: Same.
15765 * gdb.python/py-unwind-maint.py: Same.
15766
8cbc97c6
YQ
157672015-04-15 Yao Qi <yao.qi@linaro.org>
15768
15769 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15770 of ":$ptr_size" and set its form explicitly.
15771
45fd756c
YQ
157722015-04-15 Pedro Alves <palves@redhat.com>
15773 Yao Qi <yao.qi@linaro.org>
15774
15775 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15776 timeout by factor of 4.
15777 (test_regular_watch): Likewise.
15778 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15779 * gdb.reverse/sigall-reverse.exp: Likewise.
15780 * gdb.reverse/until-precsave.exp: Likewise.
15781 * lib/gdb.exp (with_timeout_factor): New proc.
15782 (gdb_expect): Move some code to ...
15783 (get_largest_timeout): ... here. New procedure.
15784
9e811bc3
LM
157852015-04-14 Luis Machado <lgustavo@codesourcery.com>
15786
15787 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15788
0ff6fcb2
LM
157892015-04-13 Luis Machado <lgustavo@codesourcery.com>
15790
15791 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15792 to write to the .text section.
15793
7578d5f7
LM
157942015-04-13 Luis Machado <lgustavo@codesourcery.com>
15795
15796 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15797 Handle the case of targets that do not provide PID information.
15798
2efe15c4
YQ
157992015-04-13 Yao Qi <yao.qi@linaro.org>
15800
15801 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15802 and use expect instead of gdb_expect.
15803
8cd8f2f8
SDJ
158042015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15805
15806 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15807 "coredump_var_addr" to avoid naming conflict with other testcases.
15808
9ee41772
PA
158092015-04-10 Pedro Alves <palves@redhat.com>
15810
15811 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15812 gdb_test_sequence and gdb_assert.
15813
07473109
PA
158142015-04-10 Pedro Alves <palves@redhat.com>
15815
15816 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15817 test messages that don't include the breakpoint address.
15818
de3db44c
YQ
158192015-04-10 Yao Qi <yao.qi@linaro.org>
15820
15821 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15822 false for some offset and width combinations which aren't
15823 supported by linux kernel.
15824
c79d856c
PA
158252015-04-10 Pedro Alves <palves@redhat.com>
15826
15827 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15828 procedure, factored out from ...
15829 (top level): ... here. Add "set displaced-stepping" testing axis.
15830 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15831 parameter "displaced". Use it.
15832 (top level): Use foreach and add "set displaced-stepping" testing
15833 axis.
15834
ebc90b50
PA
158352015-04-10 Pedro Alves <palves@redhat.com>
15836
15837 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15838 Remove comment.
15839 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15840 both the address of the instruction that triggers the watchpoint
15841 and the address of the instruction immediately after, and use
15842 those addresses for the test. Fix comment.
15843
8f572e5c
PA
158442015-04-10 Pedro Alves <palves@redhat.com>
15845
15846 * gdb.base/sigstep.exp (breakpoint_to_handler)
15847 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15848 Test "backtrace" in handler.
15849 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15850 (top level): Add new "displaced" test axis to
15851 breakpoint_to_handler, breakpoint_to_handler_entry and
15852 breakpoint_over_handler.
15853
8d707a12
PA
158542015-04-10 Pedro Alves <palves@redhat.com>
15855
15856 PR gdb/18216
15857 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15858
ef713951
YQ
158592015-04-10 Yao Qi <yao.qi@linaro.org>
15860
15861 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15862 (test_add_rn_pc): New function.
15863 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15864 (top level): Invoke test_add_rn_pc.
15865
906d60cf
PA
158662015-04-10 Pedro Alves <palves@redhat.com>
15867
15868 PR gdb/13858
15869 * gdb.base/step-over-no-symbols.exp: New file.
15870
f2983cc3
AW
158712015-04-09 Andy Wingo <wingo@igalia.com>
15872
15873 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15874 after the Python tests.
15875
6d62641c
SDJ
158762015-04-08 Keith Seitz <keiths@redhat.com>
15877
15878 PR python/16699
15879 * gdb.python/py-completion.exp: New tests for completion.
15880 * gdb.python/py-completion.py (CompleteLimit1): New class.
15881 (CompleteLimit2): Likewise.
15882 (CompleteLimit3): Likewise.
15883 (CompleteLimit4): Likewise.
15884 (CompleteLimit5): Likewise.
15885 (CompleteLimit6): Likewise.
15886 (CompleteLimit7): Likewise.
15887
f3770638
PA
158882015-04-08 Pedro Alves <palves@redhat.com>
15889
15890 PR gdb/18214
15891 PR gdb/18216
15892 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15893 function.
15894 (main): Install it as SIGUSR1 handler.
15895 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15896 parameter. Always use "setup" as prefix. Toggle "set
15897 displaced-stepping" off/on depending on global. Don't switch to
15898 thread 1 here.
15899 (top level): Add displaced stepping "off/on" test axis. Update
15900 "setup" calls. Wrap each subtest with with_test_prefix. Test
15901 continuing with a queued signal in each thread.
15902
4496bed7
PA
159032015-04-08 Pedro Alves <palves@redhat.com>
15904
15905 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15906 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15907 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15908 Return early if running to main fails.
15909 * gdb.trace/while-stepping.exp: Likewise.
15910
b97fde92
PA
159112015-04-07 Pedro Alves <palves@redhat.com>
15912
15913 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15914 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15915 interact with inferior program.
15916
f71c18e7
PA
159172015-04-07 Pedro Alves <palves@redhat.com>
15918
15919 * lib/gdb.exp (inferior_spawn_id): New global.
15920 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15921 spawn id after processing the user code.
15922 (default_gdb_start): Set inferior_spawn_id.
15923 (send_inferior): New procedure.
15924 * lib/gdbserver-support.exp (gdbserver_start): Set
15925 inferior_spawn_id.
15926 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15927
6423214f
PA
159282015-04-07 Pedro Alves <palves@redhat.com>
15929
15930 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15931 * lib/gdbserver-support.exp (gdbserver_start): Make
15932 $server_spawn_id global.
15933 (gdbserver_start): Don't wait for gdbserver's spawn id with
15934 expect_background.
15935 (close_gdbserver): New procedure.
15936 (gdb_exit): Rename the default version and reimplement.
15937
71c0ee8c
PA
159382015-04-07 Pedro Alves <palves@redhat.com>
15939
72f4393d 15940 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15941 append the substituted item, not the original item.
15942
203bc29b
PA
159432015-04-07 Pedro Alves <palves@redhat.com>
15944
15945 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15946 gdb_expect.
15947
508a3ddf
PA
159482015-04-07 Pedro Alves <palves@redhat.com>
15949
15950 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15951 output appearing once only.
15952
9f6dbe2b
PA
159532015-04-07 Pedro Alves <palves@redhat.com>
15954
15955 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15956 that doesn't expect anything. Return early if running to main
15957 fails.
15958
337532fa
YQ
159592015-04-07 Yao Qi <yao.qi@linaro.org>
15960
15961 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15962 (child_function): Call alarm.
15963 (main): Move call to alarm into the loop.
15964 * gdb.threads/non-stop-fair-events.exp: Build program with
15965 -DTIMEOUT=$timeout.
15966
01b622d4
DE
159672015-04-06 Doug Evans <xdje42@gmail.com>
15968
15969 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15970 Fix dest parameter to board_info.
15971 (fpc_compile): Ditto.
15972 (gdb_compile_pascal): Rename dest arg to destfile.
15973
961f4160
PMR
159742015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15975
15976 * gdb.ada/funcall_ref.exp: New file.
15977 * gdb.ada/funcall_ref/foo.adb: New file.
15978
cafda597
YQ
159792015-04-02 Yao Qi <yao.qi@linaro.org>
15980
15981 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15982 is remote.
15983
fed040c6
GB
159842015-04-02 Gary Benson <gbenson@redhat.com>
15985
15986 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15987
d11916aa
SS
159882015-04-01 Sasha Smundak <asmundak@google.com>
15989
15990 * gdb.python/py-unwind-maint.c: New file.
15991 * gdb.python/py-unwind-maint.exp: New test.
15992 * gdb.python/py-unwind-maint.py: New file.
15993 * gdb.python/py-unwind.c: New file.
15994 * gdb.python/py-unwind.exp: New test.
15995 * gdb.python/py-unwind.py: New test.
15996
a1471180
PA
159972015-04-01 Pedro Alves <palves@redhat.com>
15998
15999 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16000 to fail instead of non-existent $test.
16001
0bbeccb1
PA
160022015-04-01 Pedro Alves <palves@redhat.com>
16003
16004 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16005 GDBFLAGS if not empty.
16006
3c724c8c
PMR
160072015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16008
16009 * gdb.ada/complete.exp: Remove "multi_line".
16010 * gdb.ada/info_exc.exp: Remove "multi_line".
16011 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16012 * gdb.ada/ptype_field.exp: Remove "multi_line".
16013 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16014 * gdb.ada/tagged.exp: Remove "multi_line".
16015 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16016 [multi_line ...]
16017 * gdb.btrace/delta.exp: Likewise.
16018 * gdb.btrace/exception.exp: Likewise.
16019 * gdb.btrace/function_call_history.exp: Likewise.
16020 * gdb.btrace/instruction_history.exp: Likewise.
16021 * gdb.btrace/nohist.exp: Likewise.
16022 * gdb.btrace/record_goto.exp: Likewise.
16023 * gdb.btrace/segv.exp: Likewise.
16024 * gdb.btrace/stepi.exp: Likewise.
16025 * gdb.btrace/tailcall.exp: Likewise.
16026 * gdb.btrace/unknown_functions.exp: Likewise.
16027 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16028 * lib/gdb.exp: Add the "multi_line" helper.
16029
4eec2deb
PA
160302015-04-01 Pedro Alves <palves@redhat.com>
16031
16032 * gdb.threads/tid-reuse.c: New file.
16033 * gdb.threads/tid-reuse.exp: New file.
16034
df8411da
SDJ
160352015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16036
16037 PR corefiles/16092
16038 * gdb.base/coredump-filter.c: New file.
16039 * gdb.base/coredump-filter.exp: Likewise.
16040
6ef37366
PM
160412015-03-27 Petr Machata <pmachata@redhat.com>
16042
16043 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16044 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16045 (Dwarf::assemble): Initialize them.
16046 (Dwarf::lines): New function.
16047
7ec911b0
JT
160482015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16049
16050 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16051 SYMBOL_PREFIX for x86_64-*-cygwin.
16052
ff908ebf
AW
160532015-03-26 Andy Wingo <wingo@igalia.com>
16054
16055 PR symtab/18148
16056 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16057 const_value but not a location.
16058 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16059 location defined in non-main CUs are visible.
16060
6d5f0679
YQ
160612015-03-26 Yao Qi <yao.qi@linaro.org>
16062
16063 PR testsuite/18139
16064 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16065 Add a line number entry for the same line.
16066 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16067 Add a line number entry for the same line.
16068
2898689b
YQ
160692015-03-26 Yao Qi <yao.qi@linaro.org>
16070
16071 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16072 .int 0.
16073 (func): Likewise. Add .Lfunc_1 label.
16074 Use .Lfunc_1 label.
16075 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16076 .int 0.
16077 (func): Likewise.
16078 Use .Lfunc_1 label.
16079
85180498
YQ
160802015-03-26 Yao Qi <yao.qi@linaro.org>
16081
16082 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16083 Call gdb_compile instead to compile each .s files without debug
16084 information.
16085
8aa08a8d
YQ
160862015-03-26 Yao Qi <yao.qi@linaro.org>
16087
16088 * gdb.base/savedregs.exp (process_saved_regs): Make
16089 "Saved registers:" optional in the pattern.
16090
66849923
MM
160912015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16092
16093 * gdb.btrace/next.exp: Merged into step.exp.
16094 * gdb.btrace/finish.exp: Merged into step.exp.
16095 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16096 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16097 "record goto" and checking the exact replay position.
16098 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16099 check for "Recording format" in "info record" output.
16100 * gdb.btrace/record_goto.exp: Choose test file based on target.
16101 * gdb.btrace/x86-record_goto.S: Renamed into ...
16102 * gdb.btrace/x86_64-record_goto.S: ... this.
16103 * gdb.btrace/i686-record_goto.S: New.
16104 * gdb.btrace/x86-tailcall.S: Renamed into ...
16105 * gdb.btrace/x86_64-tailcall.S: ... this.
16106 * gdb.btrace/i686-tailcall.S: New.
16107 * gdb.btrace/x86-tailcall.c: Renamed into ...
16108 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16109 separate statements. Update test.
16110 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16111 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16112 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16113 * gdb.btrace/tailcall.exp: Choose test file based on target.
16114 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16115
11cc1b74
MM
161162015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16117
16118 * gdb.btrace/exception.exp: Increase BTS buffer size.
16119
a25d8bf9
PA
161202015-03-24 Pedro Alves <palves@redhat.com>
16121
16122 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16123
856e7dd6
PA
161242015-03-24 Pedro Alves <palves@redhat.com>
16125
16126 * gdb.threads/schedlock.exp (test_step): No longer expect that
16127 "set scheduler-locking step" with "next" over a function call runs
16128 threads unlocked.
16129
ad235a41
AT
161302015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16131
16132 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16133
15630549
AT
161342015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16135
16136 PR breakpoints/16466
16137 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16138 * gdb.mi/mi-pending.c (thread_func): New function.
16139 (int main): Add threading support required.
16140 * gdb.mi/mi-pending.exp: Add tests for this issue.
16141 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16142 (pendfunc2): Remove stdio dependency.
16143 * gdb.mi/mi-pendshr2.c: New file.
16144
693dca06
KS
161452015-03-23 Keith Seitz <keiths@redhat.com>
16146
16147 * gdb.linespec/keywords.c: New file.
16148 * gdb.linespec/keywords.exp: New file.
16149
7e993ebf
KS
161502015-03-23 Keith Seitz <keiths@redhat.com>
16151
16152 PR gdb/18021
16153 * gdb.dwarf2/staticvirtual.exp: New test.
16154
bc23328c
JK
161552015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16156
16157 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16158 * README: Remove HP-UX and gdb.hp.
16159 (configuration):
16160 * configure: Regenerate.
16161 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16162 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16163 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16164 gdb.hp/gdb.defects/Makefile.
16165 * gdb.hp/Makefile.in: File deleted.
16166 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16167 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16168 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16169 * gdb.hp/gdb.aCC/run.c: File deleted.
16170 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16171 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16172 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16173 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16174 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16175 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16176 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16177 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16178 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16179 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16180 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16181 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16182 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16183 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16184 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16185 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16186 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16187 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16188 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16189 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16190 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16191 * gdb.hp/gdb.compat/average.c: File deleted.
16192 * gdb.hp/gdb.compat/sum.c: File deleted.
16193 * gdb.hp/gdb.compat/xdb.c: File deleted.
16194 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16195 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16196 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16197 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16198 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16199 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16200 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16201 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16202 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16203 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16204 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16205 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16206 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16207 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16208 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16209 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16210 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16211 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16212 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16213 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16214 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16215 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16216 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16217 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16218 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16219 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16220 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16221 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16222 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16223 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16224 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16225 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16226 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16227 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16228 * gdb.hp/tools/odump: File deleted.
16229
8bf3b159
PA
162302015-03-19 Pedro Alves <palves@redhat.com>
16231
16232 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16233 (saw_thread_3): New globals.
16234 (top level): Increment them when an event for the corresponding
16235 thread is seen.
16236 (no thread starvation): New test.
16237
eb54c8bf
PA
162382015-03-19 Pedro Alves <palves@redhat.com>
16239
16240 * gdb.threads/continue-pending-status.c: New file.
16241 * gdb.threads/continue-pending-status.exp: New file.
16242
32d2e5d6
PA
162432015-03-18 Pedro Alves <palves@redhat.com>
16244
16245 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16246 Use gdb_is_target_remote instead of is_remote. Use
16247 gdb_test_multiple instead of gdb_expect. Exit early if
16248 gdb_test_multiple hits its internal matches. Tighten stepi tests
16249 expected output. Fail on exit with any signal, instead of just
16250 SIGILL.
16251
f68f11b7
YQ
162522015-03-18 Yao Qi <yao.qi@linaro.org>
16253
16254 PR tdep/18107
16255 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16256 variable.
16257 * gdb.base/catch-syscall.exp: Don't skip it on
16258 aarch64*-*-linux* target. Remove elements in all_syscalls.
16259 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16260 target.
16261 (setup_all_syscalls): New proc.
16262
ca5fd19b
YQ
162632015-03-16 Yao Qi <yao.qi@linaro.org>
16264
16265 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16266 (top level): Skip tests if valid_addr_p returns false for
16267 $cmd1 or $cmd2.
16268
85642ba0
AW
162692015-03-11 Andy Wingo <wingo@igalia.com>
16270
16271 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16272
e03f9645
YQ
162732015-03-11 Yao Qi <yao.qi@linaro.org>
16274
16275 * gdb.base/catch-syscall.exp: Fix typo in comments.
16276
5d0962b2
YQ
162772015-03-11 Yao Qi <yao.qi@linaro.org>
16278
16279 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16280
b2df3cef
PA
162812015-03-09 Pedro Alves <palves@redhat.com>
16282
16283 * dg-extract-results.py: Delete.
16284
ef878e53
PA
162852015-03-09 Pedro Alves <palves@redhat.com>
16286
16287 Merge dg-extract-results.sh from GCC upstream (r218843).
16288
16289 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16290 * dg-extract-results.sh: Use --text with grep to avoid issues with
16291 binary files. Fall back to cat -v, if that doesn't work.
16292
9494d219
PA
162932015-03-05 Pedro Alves <palves@redhat.com>
16294
16295 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16296
a8d9763a
SM
162972015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16298
16299 * lib/mi-support.exp (mi_expect_interrupt): Accept
16300 alternative event for when in all-stop mode.
16301
be9957b8
PA
163022015-03-04 Pedro Alves <palves@redhat.com>
16303
16304 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16305
d57be0f4 163062015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16307
16308 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16309
c214c7cf
AA
163102015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16311
16312 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16313 regexps for GDB's current line display, accept a hex address
16314 preceding the line number.
16315
6d74a497
AA
163162015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16317
16318 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16319 the 'arch1' variable for "s390*-linux*" targets.
16320
511aee7c
PA
163212015-03-04 Pedro Alves <palves@redhat.com>
16322
16323 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16324 (main): Pass missing retval argument to pthread_join call.
16325
95e50b27
PA
163262015-03-02 Pedro Alves <palves@redhat.com>
16327
16328 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16329 (top level): Call do_test with non-stop as well.
16330
28054d69
PA
163312015-03-02 Pedro Alves <palves@redhat.com>
16332
16333 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16334 -1.
16335
4fa5d7b4
AA
163362015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16337
16338 * gdb.arch/s390-vregs.exp: New test.
16339 * gdb.arch/s390-vregs.S: New file.
16340
97c18565
PA
163412015-02-27 Pedro Alves <palves@redhat.com>
16342
16343 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16344 call to catch_command_errors.
16345 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16346 catch_command_errors.
16347
a37bfa30
PA
163482015-02-27 Pedro Alves <palves@redhat.com>
16349
16350 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16351 "true" for boolean result.
16352 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16353 prototype of main.
16354
6f98576f
PA
163552015-02-27 Pedro Alves <palves@redhat.com>
16356
16357 * lib/unbuffer_output.c: New file.
16358 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16359 (main): Call gdb_unbuffer_output.
16360
eba5ab56
YQ
163612015-02-27 Yao Qi <yao.qi@linaro.org>
16362
16363 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16364 target.
16365
0def5aaa
DE
163662015-02-26 Doug Evans <dje@google.com>
16367
16368 * gdb.cp/class2.cc (Dbase, D): New classes.
16369 (main): New local delta.
16370 * gdb.cp/class2.exp: Test printing delta.
16371 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16372 (dynbar): New global.
16373 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16374
081a1c2c
JK
163752015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16376
16377 * gdb.compile/compile-ifunc.c: New file.
16378 * gdb.compile/compile-ifunc.exp: New file.
16379
2f41223f
AT
163802015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16381
16382 * gdb.base/structs.exp: Check for correct struct on finish.
16383
03eddd80
YQ
163842015-02-26 Yao Qi <yao.qi@linaro.org>
16385
16386 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16387 is zero.
16388
80c57053
JK
163892015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16390
16391 * gdb.arch/cordic.ko.bz2: New file.
16392 * gdb.arch/cordic.ko.debug.bz2: New file.
16393 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16394
21613c12
YQ
163952015-02-25 Yao Qi <yao.qi@linaro.org>
16396
16397 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16398 aarch64*-*-* target.
16399
d8b901ed
PA
164002015-02-23 Pedro Alves <palves@redhat.com>
16401
16402 * lib/gdb.exp (delete_breakpoints): Rewrite using
16403 gdb_test_multiple.
16404
e5b85ead
PA
164052015-02-23 Pedro Alves <palves@redhat.com>
16406
16407 * gdb.base/info-os.c: Include stdlib.h.
16408
85c3a371
DE
164092015-02-22 Doug Evans <xdje42@gmail.com>
16410
16411 PR symtab/17855
16412 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16413 is read after symbols have been re-read.
16414 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16415 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16416
96553a0c
DE
164172015-02-21 Doug Evans <dje@google.com>
16418
16419 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16420
97a0c697
JK
164212015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16422
16423 PR corefiles/17808
16424 * gdb.arch/i386-biarch-core.core.bz2: New file.
16425 * gdb.arch/i386-biarch-core.exp: New file.
16426
a47cd6e9
PA
164272015-02-21 Pedro Alves <palves@redhat.com>
16428
16429 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16430 runto_main fails.
16431
c5facdc4
PA
164322015-02-20 Pedro Alves <palves@redhat.com>
16433
16434 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16435 info probes.
16436
2db9a427
PA
164372015-02-20 Pedro Alves <palves@redhat.com>
16438
16439 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16440
60fb7e9e
PA
164412015-02-20 Pedro Alves <palves@redhat.com>
16442
16443 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16444 clean_restart before gdb_target_supports_trace.
16445
5c5019c2
PA
164462015-02-20 Pedro Alves <palves@redhat.com>
16447
16448 PR threads/18006
16449 * gdb.threads/clone-thread_db.c: New file.
16450 * gdb.threads/clone-thread_db.exp: New file.
16451
c9587f88
AT
164522015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16453
16454 PR breakpoints/16812
16455 * gdb.base/catch-gdb-caused-signals.c: New file.
16456 * gdb.base/catch-gdb-caused-signals.exp: New file.
16457
f6a88844
JM
164582015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16459
16460 * configure: Regenerated.
16461 * configure.ac: Use GDB_AC_TRANSFORM.
16462 * aclocal.m4: sinclude ../transform.m4.
16463
497c491b
JM
164642015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16465
16466 * lib/dtrace.exp: New file.
16467 * gdb.base/dtrace-probe.exp: Likewise.
16468 * gdb.base/dtrace-probe.d: Likewise.
16469 * gdb.base/dtrace-probe.c: Likewise.
16470 * lib/pdtrace.in: Likewise.
16471 * configure.ac: Output variables with the transformed names of
16472 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16473 * configure: Regenerated.
16474
03e98035
JM
164752015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16476
16477 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16478 expected message when trying to access $_probe_* convenience
16479 variables while not on a probe.
16480
63cc30e9
JK
164812015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16482
16483 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16484
0703599a
PA
164852015-02-11 Pedro Alves <pedro@codesourcery.com>
16486
16487 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16488 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16489
7e60a48e
DE
164902015-02-10 Doug Evans <xdje42@gmail.com>
16491
16492 * lib/gdb.exp (gdb_load): Always return a result.
16493
01b088bc
PA
164942015-02-10 Pedro Alves <palves@redhat.com>
16495
16496 * gdb.threads/signal-sigtrap.c: New file.
16497 * gdb.threads/signal-sigtrap.exp: New file.
16498
b05ec7a5
AT
164992015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16500
16501 * gdb.trace/no-attach-trace.c: New file.
16502 * gdb.trace/no-attach-trace.exp: New file.
16503
a2c2acaf
MW
165042015-02-09 Mark Wielaard <mjw@redhat.com>
16505
16506 * gdb.dwarf2/atomic.c: New file.
16507 * gdb.dwarf2/atomic-type.exp: Likewise.
16508
31fd9caa
MM
165092015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16510
16511 * gdb.btrace/buffer-size.exp: Update "info record" output.
16512 * gdb.btrace/delta.exp: Update "info record" output.
16513 * gdb.btrace/enable.exp: Update "info record" output.
16514 * gdb.btrace/finish.exp: Update "info record" output.
16515 * gdb.btrace/instruction_history.exp: Update "info record" output.
16516 * gdb.btrace/next.exp: Update "info record" output.
16517 * gdb.btrace/nexti.exp: Update "info record" output.
16518 * gdb.btrace/step.exp: Update "info record" output.
16519 * gdb.btrace/stepi.exp: Update "info record" output.
16520 * gdb.btrace/nohist.exp: Update "info record" output.
16521
d33501a5
MM
165222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16523
16524 * gdb.btrace/buffer-size: New.
16525
f4abbc16
MM
165262015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16527
16528 * gdb.btrace/delta.exp: Update "info record" output.
16529 * gdb.btrace/enable.exp: Update "info record" output.
16530 * gdb.btrace/finish.exp: Update "info record" output.
16531 * gdb.btrace/instruction_history.exp: Update "info record" output.
16532 * gdb.btrace/next.exp: Update "info record" output.
16533 * gdb.btrace/nexti.exp: Update "info record" output.
16534 * gdb.btrace/step.exp: Update "info record" output.
16535 * gdb.btrace/stepi.exp: Update "info record" output.
16536 * gdb.btrace/nohist.exp: Update "info record" output.
16537
b9d61307
SM
165382015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16539
16540 PR gdb/15678
16541 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16542
e584fdbc
PA
165432015-02-06 Pedro Alves <palves@redhat.com>
16544
16545 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16546 macro.
16547 (seconds_left, again): New globals.
16548 (main): Wait seconds_left in a 1-second sleep loop instead of
16549 sleeping 180 seconds. If 'again' is set, reset the seconds
16550 counter.
16551 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16552 'again' in the inferior before detaching. Print the seconds left.
16553 (options): New global.
16554 (top level): Build program with -DTIMEOUT=$timeout.
16555
77f41761
PA
165562015-02-06 Pedro Alves <palves@redhat.com>
16557
16558 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16559 determine how many seconds to pass to 'alarm'.
16560 * gdb.base/gdb-sigterm.exp (top level): Build program with
16561 -DTIMEOUT=$timeout.
16562 (do_test): Return success/failure indication. Add more verbose
16563 logging. Don't fail if 200 single steps are seen. Instead, fail
16564 when the test times out.
16565 (passes): New global.
16566 (top level): Break the testing loop if testing fails on any
16567 iteration. Use gdb_assert.
16568
b9394193
DB
165692015-02-04 Don Breazeal <donb@codesourcery.com>
16570
16571 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16572 and initialize them.
16573 (ipc_cleanup): New function.
16574 (main): Don't declare shmid, semid, and msqid. Add a call to
16575 atexit so that we call ipc_cleanup on exit.
16576
42d9e528
PA
165772015-02-04 Pedro Alves <palves@redhat.com>
16578
16579 * boards/native-extended-gdbserver.exp: Remove any target variant
16580 specifications from the board name before clearing the isremote
16581 flag from board_info.
16582
ae6ae975
DE
165832015-01-31 Doug Evans <xdje42@gmail.com>
16584
16585 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16586
cfb069a8
GB
165872015-01-31 Gary Benson <gbenson@redhat.com>
16588
16589 * gdb.base/completion.exp: Disable completion limiting for
16590 existing tests. Add new tests to check completion limiting.
16591 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16592
5dd31d79
DE
165932015-01-31 Doug Evans <xdje42@gmail.com>
16594
16595 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16596
9f050062
DE
165972015-01-31 Doug Evans <xdje42@gmail.com>
16598
16599 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16600 entries. Duplicate file section script entries.
16601 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16602 inlined entries. Add test for safe-path rejection.
16603 * gdb.python/py-section-script.c: Add duplicate inlined section script
16604 entries. Duplicate file section script entries.
16605 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16606 inlined entries. Add test for safe-path rejection.
16607
df25ebbd
JB
166082015-01-29 Joel Brobecker <brobecker@adacore.com>
16609
16610 * gdb.ada/disc_arr_bound: New testcase.
16611
4a0ca9ec
JB
166122015-01-29 Joel Brobecker <brobecker@adacore.com>
16613
16614 * gdb.ada/mi_var_array: New testcase.
16615
3a8b707a
DE
166162015-01-27 Doug Evans <dje@google.com>
16617
16618 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16619 Add test for objfile.filename, objfile.username after objfile
16620 has been unloaded.
16621
f8313f6e
JB
166222015-01-26 Joel Brobecker <brobecker@adacore.com>
16623
16624 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16625 the second test to print the name attribute of value
16626 returned by the call to gdb.lookup_type, and adjust
16627 the expected output accordingly.
16628
37bc665e
MW
166292015-01-25 Mark Wielaard <mjw@redhat.com>
16630
16631 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16632 * gdb.base/disp-step-fork.c: Include unistd.h.
16633 * gdb.base/siginfo-obj.c: Include stdio.h.
16634 * gdb.base/siginfo-thread.c: Likewise.
16635 * gdb.mi/non-stop.c: Include unistd.h.
16636 * gdb.mi/nsthrexec.c: Include stdio.h.
16637 * gdb.mi/pthreads.c: Include unistd.h.
16638 * gdb.modula2/unbounded1.c (main): Declare returns int.
16639 * gdb.reverse/consecutive-reverse.c: Likewise.
16640 * gdb.threads/create-fail.c: Include unistd.h.
16641 * gdb.threads/killed.c: Likewise.
16642 * gdb.threads/linux-dp.c: Likewise.
16643 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16644 * gdb.threads/non-ldr-exc-2.c: Likewise.
16645 * gdb.threads/non-ldr-exc-3.c: Likewise.
16646 * gdb.threads/non-ldr-exc-4.c: Likewise.
16647 * gdb.threads/pthreads.c: Include unistd.h.
16648 (main): Declare returns int.
16649 * gdb.threads/tls-main.c (foo): New declaration.
16650 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16651
f7e5394d
SM
166522015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16653
16654 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16655 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16656
743649fd
MW
166572015-01-15 Mark Wielaard <mjw@redhat.com>
16658
16659 * gdb.base/noreturn-return.c: New file.
16660 * gdb.base/noreturn-return.exp: New file.
16661 * gdb.base/noreturn-finish.c: New file.
16662 * gdb.base/noreturn-finish.exp: New file.
16663
198297aa
PA
166642015-01-23 Pedro Alves <palves@redhat.com>
16665
16666 * gdb.threads/continue-pending-after-query.c: New file.
16667 * gdb.threads/continue-pending-after-query.exp: New file.
16668
717cf30c
AG
166692015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16670 Simon Marchi <simon.marchi@ericsson.com>
16671
16672 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16673 * gdb.base/valgrind-db-attach.exp: Same.
16674 * gdb.base/valgrind-infcall.exp: Same.
16675 * lib/mi-support.exp (default_mi_gdb_start): Same.
16676 * lib/prompt.exp (default_prompt_gdb_start): Same.
16677 * lib/gdb.exp (default_gdb_spawn): Same.
16678 (gdb_interact): New.
16679
16680
4b62a76e
JK
166812015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16682
16683 * gdb.compile/compile.exp (pointer to jit function): New test.
16684
b4cdae6f
WW
166852015-01-17 Wei-cheng Wang <cole945@gmail.com>
16686
16687 * lib/gdb.exp (supports_process_record): Return true for
16688 powerpc*-*-linux*.
16689 (supports_reverse): Likewise.
16690
d221e7ef
DB
166912015-01-15 Don Breazeal <donb@codesourcery.com>
16692
16693 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16694 instead of checking whether the target board is remote and
16695 use spawn_wait_for_attach instead of exec/sleep.
16696 * gdb.base/attach-twice.exp: Likewise.
16697
bafffb51
JB
166982015-01-15 Joel Brobecker <brobecker@adacore.com>
16699
16700 * gdb.ada/var_arr_attrs: New testcase.
16701
5589af0e
PA
167022015-01-14 Pedro Alves <palves@redhat.com>
16703 Joel Brobecker <brobecker@adacore.com>
16704
16705 PR gdb/17525
16706 * gdb.base/bp-cmds-execution-x-script.c: New file.
16707 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16708 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16709
6c400b59
PA
167102015-01-14 Pedro Alves <palves@redhat.com>
16711
16712 PR cli/17828
16713 * gdb.base/batch-preserve-term-settings.c: New file.
16714 * gdb.base/batch-preserve-term-settings.exp: New file.
16715
e02c96a7
DE
167162015-01-13 Doug Evans <dje@google.com>
16717
16718 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16719 binary.
16720
576fd14c
JB
167212015-01-13 Joel Brobecker <brobecker@adacore.com>
16722
16723 * Makefile.in (clean mostlyclean): Do not delete *.py.
16724
04dccad0
JB
167252015-01-13 Joel Brobecker <brobecker@adacore.com>
16726
16727 * gdb.python/py-lookup-type.exp: New file.
16728
3d230f71
PA
167292015-01-12 Pedro Alves <palves@redhat.com>
16730
16731 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16732 restore GDBFLAGS before returning.
16733
7e67715d
JK
167342015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16735
16736 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16737 is_amd64_regs_target and is_x86_like_target.
16738
f2e0d4b4
DE
167392015-01-11 Doug Evans <xdje42@gmail.com>
16740
16741 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16742 is given without an explicit form.
16743 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16744 attributes.
16745 * gdb.dwarf/corrupt.exp: Ditto.
16746 * gdb.dwarf2/enum-type.exp: Ditto.
16747 * gdb.trace/entry-values.exp: Ditto.
16748 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16749
439250fb
DE
167502015-01-11 Doug Evans <xdje42@gmail.com>
16751
16752 PR gdb/15830
16753 * gdb.base/maint.exp: Remove references to "maint demangle".
16754 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16755 Add tests for explicitly specifying language to demangle.
16756 * gdb.dlang/demangle.exp: Ditto.
16757
ede9f622
PA
167582015-01-09 Pedro Alves <palves@redhat.com>
16759
16760 * gdb.threads/non-stop-fair-events.c: New file.
16761 * gdb.threads/non-stop-fair-events.exp: New file.
16762
a7b796db
PA
167632015-01-09 Pedro Alves <palves@redhat.com>
16764
16765 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16766 the global scope. Set a breakpoint after all threads are started
16767 rather than stepping over two source lines. Expect the prompt.
16768 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16769 global.
16770 (NUM): Now 15.
16771 (main): Use threads_started_barrier to wait for all threads to
16772 start. Main thread no longer calls thread_function. Exit after
16773 180 seconds.
16774 (loop): New function.
16775 (thread_function): Wait on threads_started_barrier barrier. Call
16776 'loop' at each iteration.
16777 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16778 threads have started, instead of hardcoding number of "next"
16779 steps. Use an access watchpoint instead of a write watchpoint.
16780
9665ffdd
PA
167812015-01-09 Pedro Alves <palves@redhat.com>
16782
16783 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16784 (thread_func): Wait on barrier.
16785 (main): Wait for all threads to start before stopping GDB.
16786 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16787 global.
16788 (thread1_func, thread2_func): Wait on barrier.
16789 (main): Wait for all threads to start before stopping GDB.
16790 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16791 New global.
16792 (thread1_func, thread2_func): Wait on barrier.
16793 (main): Wait for all threads to start before stopping GDB.
16794
c945a99f
PA
167952015-01-09 Pedro Alves <palves@redhat.com>
16796
16797 * gdb.threads/attach-many-short-lived-threads.c: New file.
16798 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16799
c1a747c1
PA
168002014-01-09 Pedro Alves <palves@redhat.com>
16801
16802 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16803 instead of to thread 2.
16804 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16805 Add barrier around each pthread_create call instead of around all
16806 calls.
16807 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16808 Set a break on thread_function and have the child threads hit it
16809 one at at a time.
16810
60b3033e
PA
168112015-01-09 Pedro Alves <palves@redhat.com>
16812
16813 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16814 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16815 false.
16816 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16817 checking whether the target board is remote.
16818 * gdb.multi/multi-attach.exp: Likewise.
16819 * gdb.python/py-sync-interp.exp: Likewise.
16820 * gdb.server/ext-attach.exp: Likewise.
16821 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16822 tests that need to attach, instead of checking whether the target
16823 board is remote at the top of the file.
16824
acc018ac
YQ
168252015-01-08 Yao Qi <yao@codesourcery.com>
16826
16827 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16828
50a18af8
JK
168292015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16830
16831 Fix testcase compilation.
16832 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16833
8503d6e1
JB
168342015-01-06 Joel Brobecker <brobecker@adacore.com>
16835
16836 * gdb.python/py-type.exp: Add a couple test about empty
16837 array creation, and negative-length array creation.
16838
cc73dbcc
DE
168392015-01-02 Doug Evans <xdje42@gmail.com>
16840
16841 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16842
0300bbc7
DE
168432015-01-02 Doug Evans <dje@google.com>
16844
16845 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16846
9d85a0ec
YQ
168472014-12-29 Yao Qi <yao@codesourcery.com>
16848
16849 * gdb.trace/entry-values.exp: Update comments. Rename variable
16850 bar_call_foo to returned_from_foo.
16851
87186c6a
MMN
168522014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16853
16854 PR gdb/17394
16855 * gdb.linespec/break-asm-file.c: New file.
16856 * gdb.linespec/break-asm-file.exp: New file.
16857 * gdb.linespec/break-asm-file0.s: New file.
16858 * gdb.linespec/break-asm-file1.s: New file.
16859
1bab7383
YQ
168602014-12-18 Nigel Stephens <nigel@mips.com>
16861 Maciej W. Rozycki <macro@codesourcery.com>
16862
16863 * gdb.base/float.exp: Handle the new output from "info float" on
16864 MIPS targets.
16865
1bc1068a
JK
168662014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16867
16868 Fix MinGW compilation.
16869 * gdb.compile/compile-ops.exp: Update untested message if
16870 !skip_compile_feature_tests.
16871 * gdb.compile/compile-setjmp.exp: Likewise.
16872 * gdb.compile/compile-tls.exp: Likewise.
16873 * gdb.compile/compile.exp: Likewise.
16874 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16875 supported on this host".
16876
b6615d10
DE
168772014-12-16 Doug Evans <xdje42@gmail.com>
16878
16879 * boards/stabs.exp: New file.
16880
25dda427
AA
168812014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16882
16883 * gdb.base/completion.exp: Adjust to format changes of "maint
16884 print user-registers".
16885
bf330350
CU
168862014-12-16 Catalin Udma <catalin.udma@freescale.com>
16887
16888 PR server/17457
16889 * gdb.arch/aarch64-fp.c: New file.
16890 * gdb.arch/aarch64-fp.exp: New file.
16891
395cf596
SDJ
168922014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16893
16894 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16895 r210637, r210913, r211666, r215400, r215817).
16896
16897 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16898 * dg-extract-results.py: New file.
16899 * dg-extract-results.sh: Use it if the environment seems
16900 suitable.
16901
16902 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16903
16904 * dg-extract-results.py (parse_run): Handle warnings that
16905 are printed before a test harness is run.
16906
16907 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16908
16909 * dg-extract-results.py (Named): Remove __cmp__ method.
16910 (output_variation): Use a key to sort variation.harnesses.
16911
16912 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16913
16914 * dg-extract-results.py: For Python 3, force sys.stdout to
16915 handle surrogate escape sequences.
16916 (safe_open): New function.
16917 (output_segment, main): Use it.
16918
16919 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16920
16921 * dg-extract-results.py (Prog.result_re): Include options
16922 in test name.
16923
16924 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16925
16926 * dg-extract-results.py (output_variation): Always sort if
16927 do_sum.
16928
e882ef3c
SM
169292014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16930
16931 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16932 as long as we get pagination notifications.
16933
4992aa20
JM
169342014-12-15 Jason Merrill <jason@redhat.com>
16935
16936 * Makefile.in (check-gdb.%): Restore.
16937 * README: Mention it.
16938
c1b5a1a6
JB
169392014-12-13 Joel Brobecker <brobecker@adacore.com>
16940
16941 * gdb.ada/str_uninit: New testcase.
16942
5537b577
JK
169432014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16944
16945 PR symtab/17642
16946 * gdb.base/vla-stub-define.c: New file.
16947 * gdb.base/vla-stub.c: New file.
16948 * gdb.base/vla-stub.exp: New file.
16949
bb2ec1b3
TT
169502014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16951 Jan Kratochvil <jan.kratochvil@redhat.com>
16952 Tom Tromey <tromey@redhat.com>
16953
16954 * configure.ac: Add gdb.compile/.
16955 * configure: Regenerate.
16956 * gdb.compile/Makefile.in: New file.
16957 * gdb.compile/compile-ops.exp: New file.
16958 * gdb.compile/compile-ops.c: New file.
16959 * gdb.compile/compile-tls.c: New file.
16960 * gdb.compile/compile-tls.exp: New file.
16961 * gdb.compile/compile-constvar.S: New file.
16962 * gdb.compile/compile-constvar.c: New file.
16963 * gdb.compile/compile-mod.c: New file.
16964 * gdb.compile/compile-nodebug.c: New file.
16965 * gdb.compile/compile-setjmp-mod.c: New file.
16966 * gdb.compile/compile-setjmp.c: New file.
16967 * gdb.compile/compile-setjmp.exp: New file.
16968 * gdb.compile/compile-shlib.c: New file.
16969 * gdb.compile/compile.c: New file.
16970 * gdb.compile/compile.exp: New file.
16971 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16972
4ff709eb
TT
169732014-12-12 Tom Tromey <tromey@redhat.com>
16974
16975 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16976 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16977
6dddd6a5
DE
169782014-12-12 Doug Evans <dje@google.com>
16979
16980 * lib/gdb-python.exp (get_python_valueof): New function.
16981 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16982
71c24708
AA
169832014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16984
16985 * gdb.base/completion.exp: Add test for completion of "info
16986 registers ".
16987
3e29f34a
MR
169882014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16989
16990 * gdb.base/func-ptrs.c: New file.
16991 * gdb.base/func-ptrs.exp: New file.
16992
fc126975
SM
169932014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16994
16995 PR breakpoints/17012
16996 * gdb.base/dprintf-detach.c: New file.
16997 * gdb.base/dprintf-detach.exp: New file.
16998
0a46d518
SM
169992014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17000
17001 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17002 * lib/gdb.exp (target_is_gdbserver): New procedure.
17003
a0be3e44
DE
170042014-12-08 Doug Evans <dje@google.com>
17005
17006 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17007
df1b803a
YQ
170082014-12-05 Yao Qi <yao@codesourcery.com>
17009
17010 * gdb.guile/scm-error.exp: Remove the third argument to
17011 gdb_remote_download.
17012 * gdb.guile/scm-frame-args.exp: Likewise.
17013 * gdb.guile/scm-section-script.exp: Likewise.
17014
ddb9f679
YQ
170152014-12-05 Yao Qi <yao@codesourcery.com>
17016
17017 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17018
86e4ed39
DE
170192014-12-04 Doug Evans <dje@google.com>
17020
17021 * gdb.python/py-objfile.exp: Add tests for
17022 objfile.add_separate_debug_file.
17023
7c50a931
DE
170242014-12-04 Doug Evans <dje@google.com>
17025
17026 * lib/gdb.exp (get_build_id): New function.
17027 (build_id_debug_filename_get): Rewrite to use it.
17028 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17029
621661e3
MR
170302014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17031
17032 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17033 `method(long)', not just 0x0.
17034 * gdb.cp/nsalias.exp: Align code labels to 4.
17035 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17036 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17037 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17038 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17039 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17040 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17041
29f0c3b7
DE
170422014-12-02 Doug Evans <dje@google.com>
17043
e1e061e7 17044 PR symtab/17602
29f0c3b7 17045 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17046 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17047 * gdb.cp/anon-ns.exp: Update.
17048
162078c8
NB
170492014-12-02 Nick Bull <nicholaspbull@gmail.com>
17050
17051 * gdb.python/py-events.py (inferior_call_handler): New.
17052 (register_changed_handler, memory_changed_handler): New.
17053 (test_events.invoke): Register new handlers.
17054 * gdb.python/py-events.exp: Add tests for inferior call,
17055 memory_changed and register_changed events.
17056
fdb09caf
AA
170572014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17058
17059 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17060 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17061 if the linker doesn't understand this.
17062
55cfb2c4
SM
170632014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17064
17065 * gdb.python/python.exp: Change expected reply to help().
17066
9e8cd6df
YQ
170672014-12-01 Yao Qi <yao@codesourcery.com>
17068
17069 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17070 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17071 * configure: Re-generated.
17072
6c659fc2
SC
170732014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17074
17075 * gdb.cp/chained-calls.cc: New file.
17076 * gdb.cp/chained-calls.exp: New file.
17077 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17078
d7fc3181
SM
170792014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17080
17081 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17082 * gdb.dwarf2/symtab-producer.exp: Same.
17083 * gdb.gdb/python-interrupts.exp: Same.
17084 * gdb.gdb/python-selftest.exp: Same.
17085 * gdb.python/py-linetable.exp: Same.
17086 * gdb.python/py-type.exp: Same.
17087 * gdb.python/py-value-cc.exp: Same.
17088 * gdb.python/py-value.exp: Same.
17089
10e79639
YQ
170902014-11-28 Yao Qi <yao@codesourcery.com>
17091
17092 * gdb.base/break-probes.exp: Match library name prefixed with
17093 sysroot.
17094
f28a0564
SM
170952014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17096
17097 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17098 test expected output. Add parentheses for the call to print.
17099 Remove L suffix from integers.
17100
3fe1ce1d
DE
171012014-11-26 Doug Evans <dje@google.com>
17102
17103 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17104
84429e27
YQ
171052014-11-22 Yao Qi <yao@codesourcery.com>
17106
17107 * gdb.trace/entry-values.c: Remove asms.
17108 (foo): Add foo_label.
17109 (bar): Add bar_label.
17110 * gdb.trace/entry-values.exp: Remove code computing foo's
17111 length and bar's length.
17112 (Dwarf::assemble): Invoke function_range for bar and use
17113 MACRO_AT_func for foo.
17114
26741859
YQ
171152014-11-22 Yao Qi <yao@codesourcery.com>
17116
17117 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17118 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17119 Use .Lgcc43_procstart instead of gcc43.
17120
45e44d27
JB
171212014-11-21 Joel Brobecker <brobecker@adacore.com>
17122
17123 * gdb.ada/n_arr_bound: New testcase.
17124
458c8db8
SDJ
171252014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17126
17127 PR breakpoints/10737
17128 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17129 test_catch_syscall_multi_arch.
17130 (test_catch_syscall_multi_arch): New function.
17131
43f3e411
DE
171322014-11-20 Doug Evans <xdje42@gmail.com>
17133
17134 * gdb.base/maint.exp: Update expected output.
17135
0d7b2549
AA
171362014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17137
17138 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17139 4-byte instruction on S390.
17140
8908fca5
JB
171412014-11-19 Joel Brobecker <brobecker@adacore.com>
17142
17143 * gdb.ada/arr_arr: New testcase.
17144
4a46959e
JB
171452014-11-19 Joel Brobecker <brobecker@adacore.com>
17146
17147 * gdb.ada/pkd_arr_elem: New Testcase.
17148
470e2f4e
LM
171492014-11-18 Luis Machado <lgustavo@codesourcery.com>
17150
17151 * gdb.reverse/break-precsave: Expect completion message for
17152 core file reads.
17153 * gdb.reverse/consecutive-precsave.exp: Likewise.
17154 * gdb.reverse/finish-precsave.exp: Likewise.
17155 * gdb.reverse/i386-precsave.exp: Likewise.
17156 * gdb.reverse/machinestate-precsave.exp: Likewise.
17157 * gdb.reverse/sigall-precsave.exp: Likewise.
17158 * gdb.reverse/solib-precsave.exp: Likewise.
17159 * gdb.reverse/step-precsave.exp: Likewise.
17160 * gdb.reverse/until-precsave.exp: Likewise.
17161 * gdb.reverse/watch-precsave.exp: Likewise.
17162
a267f3ad
AA
171632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17164
17165 * gdb.base/bp-permanent.c: Include unistd.h.
17166 * gdb.python/py-framefilter-mi.c (main): Add return type.
17167 * gdb.python/py-framefilter.c (main): Likewise.
17168 * gdb.trace/actions-changed.c (main): Likewise.
17169
12084a9a
AA
171702014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17171
17172 * gdb.mi/until.c: Add eye-catchers.
17173 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17174 line numbers.
17175
dc7e1a77
AA
171762014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17177
17178 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17179 function header variants in break1.c.
17180 * gdb.base/ena-dis-br.exp: Likewise.
17181 * gdb.base/hbreak2.exp: Likewise.
17182 * gdb.reverse/until-precsave.exp: Drop references to removed
17183 non-prototype function header variants in ur1.c.
17184 * gdb.reverse/until-reverse.exp: Likewise.
17185
41c77605
PM
171862014-11-17 Petr Machata <pmachata@redhat.com>
17187
17188 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17189 ${_cu_offset_size} bytes abbrev offset.
17190
34248c3a
DE
171912014-11-15 Doug Evans <xdje42@gmail.com>
17192
17193 PR symtab/17559
17194 * gdb.base/line-symtabs.exp: New file.
17195 * gdb.base/line-symtabs.c: New file.
17196 * gdb.base/line-symtabs.h: New file.
17197
646da059
YQ
171982014-11-14 Yao Qi <yao@codesourcery.com>
17199
17200 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17201 (func): Add label func_label.
17202 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17203 Replace low_pc and high_pc with MACRO_AT_range.
17204 Replace name, low_pc and high_pc with MACRO_AT_func.
17205
9301ebe6
YQ
172062014-11-14 Yao Qi <yao@codesourcery.com>
17207
17208 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17209 Replace name, low_pc and high_pc with MACRO_AT_func.
17210
f166b542
YQ
172112014-11-14 Yao Qi <yao@codesourcery.com>
17212
17213 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17214 produce debug information.
17215 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17216
0f6e71e3
YQ
172172014-11-14 Yao Qi <yao@codesourcery.com>
17218
17219 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17220 object and get function length.
17221 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17222 with MACRO_AT_func.
17223 (top-level): Replace gdb_compile and clean_restart with
17224 prepare_for_testing.
17225 * gdb.dwarf2/main.c (main): Add label main_label.
17226
876c4df9
YQ
172272014-11-14 Yao Qi <yao@codesourcery.com>
17228
17229 * lib/dwarf.exp (function_range): New procedure.
17230 (Dwarf::_handle_macro_at_func): New procedure.
17231 (Dwarf::_handle_macro_at_range): New procedure.
17232 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17233
02ad9cf1
YQ
172342014-11-14 Yao Qi <yao@codesourcery.com>
17235
17236 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17237 (_handle_attribute): New procedure.
17238
a59add0c
AA
172392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17240
17241 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17242 * gdb.base/call-sc.c (zed): Likewise.
17243 * gdb.base/checkpoint.c (main): Likewise.
17244 * gdb.base/dump.c (main): Likewise.
17245 * gdb.base/gcore.c (main): Likewise.
17246 * gdb.base/huge.c (main): Likewise.
17247 * gdb.base/multi-forks.c (main): Likewise.
17248 * gdb.base/pr10179-a.c (main): Likewise.
17249 * gdb.base/savedregs.c (main): Likewise.
17250 * gdb.base/sigaltstack.c (main): Likewise.
17251 * gdb.base/siginfo.c (main): Likewise.
17252 * gdb.base/structs.c (zed): Likewise.
17253 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17254 * gdb.mi/mi-syn-frame.c (main): Likewise.
17255 * gdb.mi/until.c (foo, main): Likewise.
17256 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17257 * gdb.base/solib-weak.c (foo): Declare.
17258 * gdb.base/attach-twice.c: Include stdio.h.
17259 * gdb.base/weaklib1.c: Likewise.
17260 * gdb.base/weaklib2.c: Likewise.
17261 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17262 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17263 unistd.h.
17264 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17265 * gdb.mi/mi-exit-code.c: Likewise.
17266 * gdb.base/break-interp-lib.c: Include string.h.
17267 * gdb.base/coremaker.c: Likewise.
17268 * gdb.base/testenv.c: Likewise.
17269 * gdb.python/py-finish-breakpoint.c: Likewise.
17270 * gdb.base/inferior-died.c: Include sys/wait.h.
17271 * gdb.base/fileio.c: Include time.h.
17272 * gdb.base/async-shell.c: Include unistd.h.
17273 * gdb.base/dprintf-non-stop.c: Likewise.
17274 * gdb.base/info-os.c: Likewise.
17275 * gdb.mi/mi-console.c: Likewise.
17276 * gdb.mi/watch-nonstop.c: Likewise.
17277 * gdb.python/py-events.c: Likewise.
17278 * gdb.base/async.c (baz): Move up before its invocation.
17279 * gdb.base/code_elim2.c (my_global_func): Likewise.
17280 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17281 * gdb.base/advance.c (func2): Likewise.
17282
3b5d5997
AA
172832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17284
17285 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17286 variant.
17287 * gdb.base/annota3.c: Likewise.
17288 * gdb.base/async.c: Likewise.
17289 * gdb.base/average.c: Likewise.
17290 * gdb.base/call-ar-st.c: Likewise.
17291 * gdb.base/call-rt-st.c: Likewise.
17292 * gdb.base/call-sc.c: Likewise.
17293 * gdb.base/call-strs.c: Likewise.
17294 * gdb.base/ending-run.c: Likewise.
17295 * gdb.base/execd-prog.c: Likewise.
17296 * gdb.base/exprs.c: Likewise.
17297 * gdb.base/foll-exec.c: Likewise.
17298 * gdb.base/foll-fork.c: Likewise.
17299 * gdb.base/foll-vfork.c: Likewise.
17300 * gdb.base/funcargs.c: Likewise.
17301 * gdb.base/gcore.c: Likewise.
17302 * gdb.base/jump.c: Likewise.
17303 * gdb.base/langs0.c: Likewise.
17304 * gdb.base/langs1.c: Likewise.
17305 * gdb.base/langs2.c: Likewise.
17306 * gdb.base/mips_pro.c: Likewise.
17307 * gdb.base/nodebug.c: Likewise.
17308 * gdb.base/opaque0.c: Likewise.
17309 * gdb.base/opaque1.c: Likewise.
17310 * gdb.base/recurse.c: Likewise.
17311 * gdb.base/run.c: Likewise.
17312 * gdb.base/scope0.c: Likewise.
17313 * gdb.base/scope1.c: Likewise.
17314 * gdb.base/setshow.c: Likewise.
17315 * gdb.base/setvar.c: Likewise.
17316 * gdb.base/shmain.c: Likewise.
17317 * gdb.base/shr1.c: Likewise.
17318 * gdb.base/shr2.c: Likewise.
17319 * gdb.base/sigall.c: Likewise.
17320 * gdb.base/signals.c: Likewise.
17321 * gdb.base/so-indr-cl.c: Likewise.
17322 * gdb.base/solib2.c: Likewise.
17323 * gdb.base/structs.c: Likewise.
17324 * gdb.base/sum.c: Likewise.
17325 * gdb.base/vforked-prog.c: Likewise.
17326 * gdb.base/watchpoint.c: Likewise.
17327 * gdb.reverse/shr2.c: Likewise.
17328 * gdb.reverse/until-reverse.c: Likewise.
17329 * gdb.reverse/ur1.c: Likewise.
17330 * gdb.reverse/watch-reverse.c: Likewise.
17331
066a77c5
AA
173322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17333
17334 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17335 variant.
17336 * gdb.base/sepdebug.exp: Drop references to removed code.
17337
4f204ea5
AA
173382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17339
17340 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17341 variant. Preserve original line numbering.
17342 * gdb.base/list1.c: Likewise.
17343
3b377a3a
AA
173442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17345
17346 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17347 variant.
17348 * gdb.base/break1.c: Likewise.
17349 * gdb.base/break.exp: Drop references to removed code.
17350
e444df73
AA
173512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17352
17353 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17354 variant.
17355
8008f2a7
AA
173562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17357
17358 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17359
a5a06887
AA
173602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17361
17362 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17363 logic into perform_all_tests() and invoke it with and without
17364 function header prototypes.
17365 (do_function_calls): Remove conditional XFAIL for PR 5318.
17366 (rerun_and_prepare): Remove duplicate code.
17367 (perform_all_tests): New. Main logic moved here.
17368
44dba9b9
AA
173692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17370
17371 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17372 code guarded by #ifdef NO_PROTOTYPES.
17373 (t_double_many_args): Likewise.
17374 (DEF_FUNC_MANY_ARGS_1): Likewise.
17375 (DEF_FUNC_VALUES_1): Likewise.
17376 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17377 guarded by #ifdef PROTOTYPES.
17378
d1fbcd56
AA
173792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17380
17381 * gdb.mi/mi-console.c: Add eye-catcher.
17382 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17383 instead of literal line number.
17384
b0e59b8f
AA
173852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17386
17387 * gdb.base/shr2.c: Add eye-catcher.
17388 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17389 line number.
17390
78f98cca
AA
173912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17392
17393 * gdb.base/jump.c: Add eye-catchers.
17394 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17395 numbers.
17396
58fa2af0
AA
173972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17398
17399 * gdb.base/execd-prog.c: Add eye-catchers.
17400 * gdb.base/foll-exec.c: Likewise.
17401 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17402 line numbers.
17403
04e5059b
AA
174042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17405
17406 * gdb.base/ending-run.c: Add eye-catchers.
17407 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17408 literal line numbers.
17409
dbfdb174
AA
174102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17411
17412 * gdb.base/call-rt-st.c: Add eye-catchers.
17413 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17414 literal line numbers.
17415
888a2ade
AA
174162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17417
17418 * gdb.base/call-ar-st.c: Add eye-catchers.
17419 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17420 literal line numbers.
17421
6acc2dde
AA
174222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17423
17424 * gdb.base/average.c: Add eye-catchers.
17425 * gdb.base/sum.c: Likewise.
17426 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17427 regexps dynamically.
17428
9ecfcd1d
AA
174292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17430
17431 * gdb.base/solib1.c: Add eye-catchers.
17432 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17433 literal line numbers.
17434
78708b7c
PA
174352014-11-12 Pedro Alves <palves@redhat.com>
17436
17437 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17438 leader has exited.
17439
af48d08f
PA
174402014-11-12 Pedro Alves <palves@redhat.com>
17441
17442 * gdb.arch/i386-bp_permanent.c: New file.
17443 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17444 (srcfile): Set to i386-bp_permanent.c.
17445 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17446 that stepi does not execute the 'leave' instruction, instead of
17447 testing it does execute.
17448 * gdb.base/bp-permanent.c: New file.
17449 * gdb.base/bp-permanent.exp: New file.
17450
af3768e9
DE
174512014-11-10 Doug Evans <xdje42@gmail.com>
17452
17453 PR symtab/17564
17454 * gdb.base/symtab-search-order.exp: New file.
17455 * gdb.base/symtab-search-order.c: New file.
17456 * gdb.base/symtab-search-order-1.c: New file.
17457 * gdb.base/symtab-search-order-shlib-1.c: New file.
17458
9de00a4a
PA
174592014-11-07 Pedro Alves <palves@redhat.com>
17460
17461 PR gdb/17511
17462 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17463 i?86-*-linux*.
17464
e0f52461
SC
174652014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17466
17467 PR c++/17494
17468 * gdb.cp/pr17494.cc: New file.
17469 * gdb.cp/pr17494.exp: New file.
17470
6ce8c980
YQ
174712014-11-02 Yao Qi <yao@codesourcery.com>
17472
17473 * gdb.python/python.exp: Get working directory and match the
17474 output of "set extended-prompt \\w " with it.
17475
02be9a71
DE
174762014-10-30 Doug Evans <dje@google.com>
17477
17478 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17479 in objfiles.
17480 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17481 in progspaces.
17482
3bdff46b
LM
174832014-10-30 Janis Johnson <janisjo@codesourcery.com>
17484
17485 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17486 * gdb.base/realname-expand.exp: Likewise.
17487 * gdb.linespec/macro-relative.exp: Likewise.
17488
ab917dfb
PA
174892014-10-29 Pedro Alves <palves@redhat.com>
17490
17491 PR gdb/17408
17492 * gdb.threads/schedlock.c (some_function): New function.
17493 (call_function): New global.
17494 (MAYBE_CALL_SOME_FUNCTION): New macro.
17495 (thread_function): Call it.
17496 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17497 and use it instead of a global counter. Adjust all callers.
17498 (get_current_thread): Use "find current thread" for test message
17499 here rather than having all callers pass down the same string.
17500 (goto_loop): New procedure, factored out from ...
17501 (my_continue): ... this.
17502 (step_ten_loops): Change parameter from test message to command to
17503 use. Adjust.
17504 (list_count): Delete global.
17505 (check_result): New procedure, factored out from duplicate top
17506 level code.
17507 (continue tests): Wrap in with_test_prefix.
17508 (test_step): New procedure, factored out from duplicate top level
17509 code.
17510 (top level): Test "step" in combination with all scheduler-locking
17511 modes. Test "next" in combination with all scheduler-locking
17512 modes, and in combination with stepping over a function call or
17513 not.
17514 * gdb.threads/next-bp-other-thread.c: New file.
17515 * gdb.threads/next-bp-other-thread.exp: New file.
17516
d3d4baed
PA
175172014-10-29 Pedro Alves <palves@redhat.com>
17518
17519 PR python/17372
17520 * gdb.python/python.exp: Test a multi-line command that spawns
17521 interactive Python.
17522 * gdb.base/multi-line-starts-subshell.exp: New file.
17523
563e8d85
YQ
175242014-10-29 Yao Qi <yao@codesourcery.com>
17525
17526 * gdb.base/fileio.exp: Make directories on host.
17527
0ea4d52e
YQ
175282014-10-29 Yao Qi <yao@codesourcery.com>
17529
17530 * gdb.base/fileio.c (test_write): Close the file.
17531
7f5ef605
PA
175322014-10-28 Pedro Alves <palves@redhat.com>
17533
17534 PR gdb/12623
17535 * gdb.base/sigstep.c (no_handler): New global.
17536 (main): If 'no_handler is true, set the signal handlers to
17537 SIG_IGN.
17538 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17539 with_sw_watch and no_handler parameters. Handle them.
17540 (top level) <stepping over handler when stopped at a breakpoint
17541 test>: Add a test axis for testing with a software watchpoint, and
17542 another for testing with the signal handler set to SIG_IGN.
17543 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17544 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17545
abbdbd03
PA
175462014-10-28 Pedro Alves <palves@redhat.com>
17547
17548 PR gdb/17511
17549 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17550 * gdb.base/sigstep.exp (other_handler_location): New global.
17551 (advance): Support stepping into the signal handler, and running
17552 commands while in the handler.
17553 (in_handler_map): New global.
17554 (top level): In the advance test, add combinations for getting
17555 into the handler with stepping commands, and for running commands
17556 in the handler. Add comment descripting the advancei tests.
17557
1df4399f
PA
175582014-10-28 Pedro Alves <palves@redhat.com>
17559
17560 * gdb.base/sigstep.exp: Use build_executable instead of
17561 prepare_for_testing.
17562 (top level): Move code that starts GDB, runs to main and creates a
17563 display to ...
17564 (restart): ... this new procedure.
17565 (top level): Move backtrace from signal handler test to ...
17566 (validate_backtrace): ... this new procedure.
17567 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17568 with_test_prefix. Always restart GDB.
17569 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17570 with_test_prefix. Always restart GDB. No need to delete
17571 breakpoints after the test.
17572 (test_skip_handler): Remove prefix parameter.
17573 (skip_over_handler, breakpoint_to_handler)
17574 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17575 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17576 restart GDB. No need to delete breakpoints after the test.
17577 (top level): Use foreach to call the test procedures with
17578 different commands.
17579
a5b6e449
PA
175802014-10-28 Pedro Alves <palves@redhat.com>
17581
17582 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17583 instead of GNATS numbers.
17584 * gdb.base/sigbpt.exp: Likewise.
17585 * gdb.base/siginfo.exp: Likewise.
17586 * gdb.base/sigstep.exp: Likewise.
17587
e5f8a7cc
PA
175882014-10-27 Pedro Alves <palves@redhat.com>
17589
17590 * gdb.base/sigstep.c (dummy): New global.
17591 (main): Issue a couple writes to the new global.
17592 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17593 procedures.
17594 (skip_over_handler): Use test_skip_handler.
17595 (top level): Call skip_over_handler for stepi and nexti too.
17596 (breakpoint_over_handler): Use test_skip_handler.
17597 (top level): Call breakpoint_over_handler for stepi and nexti too.
17598
763905a3
YQ
175992014-10-27 Yao Qi <yao@codesourcery.com>
17600
17601 * gdb.trace/tfile.c (adjust_function_address)
17602 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17603 function descriptor.
17604
6f259a23
DB
176052014-10-24 Don Breazeal <donb@codesourcery.com>
17606
17607 * gdb.base/foll-fork.exp (test_follow_fork,
17608 catch_fork_child_follow): Check for updated fork messages emitted
17609 from infrun.c.
17610 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17611 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17612 vfork_and_exec_child_follow_through_step): Check for updated vfork
17613 messages emitted from infrun.c.
17614
09dd9a69
PA
176152014-10-24 Pedro Alves <palves@redhat.com>
17616
17617 * gdb.base/corefile.exp: Remove references to ultrix.
17618 * gdb.base/interrupt.exp: Likewise.
17619 * gdb.base/whatis.exp: Likewise.
17620 * gdb.gdb/selftest.exp: Likewise.
17621 * gdb.threads/manythreads.exp: Likewise.
17622 * gdb.threads/print-threads.exp: Likewise.
17623 * gdb.threads/pthreads.exp:: Likewise.
17624 * gdb.threads/schedlock.exp: Likewise.
17625
3433cfa5
SC
176262014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17627
17628 * gdb.cp/non-trivial-retval.cc: Add a test case.
17629 * gdb.cp/non-trivial-retval.exp: Add a test.
17630
092f880b
YQ
176312014-10-20 Yao Qi <yao@codesourcery.com>
17632
17633 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17634 * gdb.python/py-objfile-script-gdb.py: New file.
17635 * gdb.python/py-objfile-script.exp: Update reference to
17636 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17637 of remote_download. Remove the dest file.
17638
acbdb7f3
YQ
176392014-10-20 Yao Qi <yao@codesourcery.com>
17640
17641 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17642 * gdb.base/step-line.exp: Likewise.
17643 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17644 * gdb.dwarf2/dw2-basic.exp: Likewise.
17645 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17646 * gdb.dwarf2/dw2-filename.exp: Likewise.
17647 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17648 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17649 * gdb.dwarf2/dw2-producer.exp: Likewise.
17650 * gdb.dwarf2/mac-fileno.exp: Likewise.
17651 * gdb.python/py-frame-args.exp: Likewise.
17652 * gdb.python/py-framefilter.exp: Likewise.
17653 * gdb.python/py-mi.exp: Likewise.
17654 * gdb.python/py-objfile-script.exp: Likewise
17655 * gdb.python/py-pp-integral.exp: Likewise.
17656 * gdb.python/py-pp-re-notag.exp: Likewise.
17657 * gdb.python/py-prettyprint.exp: Likewise.
17658 * gdb.python/py-section-script.exp: Likewise.
17659 * gdb.python/py-typeprint.exp: Likewise.
17660 * gdb.python/py-xmethods.exp: Likewise.
17661 * gdb.stabs/weird.exp: Likewise.
17662 * gdb.xml/tdesc-regs.exp: Likewise.
17663
bd286a29
KCY
176642014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17665
17666 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17667 (out_cu): Use addr_len for the size of addresses.
17668 (out_line): Likewise. Size DW_LNE_set_address instruction
17669 according to addr_len.
17670 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17671 (FUNC): Add START_INSNS to definition.
17672
673dc4a0
YQ
176732014-10-18 Yao Qi <yao@codesourcery.com>
17674
17675 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17676 gdb_has_argv0 return true.
17677 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17678 check [target_info exists noargs], check [gdb_has_argv0]
17679 instead.
17680 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17681 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17682 procedures.
17683
4ffbba72
DE
176842014-10-17 Doug Evans <dje@google.com>
17685
17686 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17687 event.
17688 * gdb.python/py-events.py: Add clear_objfiles event.
17689
d096d8c1
DE
176902014-10-17 Doug Evans <dje@google.com>
17691
17692 * gdb.python/py-objfile.exp: Test progspace attribute.
17693
a80db015
LM
176942014-10-17 Luis Machado <lgustavo@codesourcery.com>
17695
17696 * gdb.guile/scm-breakpoint.exp: Do not assume any
17697 directory separators when matching source file paths.
17698 * gdb.python/py-breakpoint.exp: Likewise.
17699 * gdb.reverse/break-precsave.exp: Likewise.
17700 * gdb.reverse/break-reverse.exp: Likewise.
17701 * gdb.reverse/consecutive-precsave.exp: Likewise.
17702 * gdb.reverse/finish-precsave.exp: Likewise.
17703 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17704 * gdb.reverse/finish-reverse.exp: Likewise.
17705 * gdb.reverse/i386-precsave.exp: Likewise.
17706 * gdb.reverse/i387-env-reverse.exp: Likewise.
17707 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17708 * gdb.reverse/machinestate-precsave.exp: Likewise.
17709 * gdb.reverse/machinestate.exp: Likewise.
17710 * gdb.reverse/sigall-precsave.exp: Likewise.
17711 * gdb.reverse/solib-precsave.exp: Likewise.
17712 * gdb.reverse/step-precsave.exp: Likewise.
17713 * gdb.reverse/until-precsave.exp: Likewise.
17714 * gdb.reverse/watch-precsave.exp: Likewise.
17715 * gdb.reverse/watch-reverse.exp: Likewise.
17716
b22089ab
YQ
177172014-10-17 Yao Qi <yao@codesourcery.com>
17718
17719 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17720 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17721
6c4486e6
PA
177222014-10-17 Pedro Alves <palves@redhat.com>
17723
17724 PR gdb/17471
17725 * gdb.base/bg-execution-repeat.c: New file.
17726 * gdb.base/bg-execution-repeat.exp: New file.
17727
0ff33695
PA
177282014-10-17 Pedro Alves <palves@redhat.com>
17729
17730 PR gdb/17300
17731 * gdb.base/continue-all-already-running.c: New file.
17732 * gdb.base/continue-all-already-running.exp: New file.
17733
6fdebc3d
PA
177342014-10-17 Pedro Alves <palves@redhat.com>
17735
17736 PR gdb/17472
17737 * gdb.base/annota-input-while-running.c: New file.
17738 * gdb.base/annota-input-while-running.exp: New file.
17739
32a8097b
PA
177402014-10-17 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.base/callfuncs.exp: emove references to osf.
17743 * gdb.base/sigall.exp: Likewise.
17744 * gdb.gdb/selftest.exp: Likewise.
17745 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17746 * gdb.mi/non-stop.c: Likewise.
17747 * gdb.mi/pthreads.c: Likewise.
17748 * gdb.reverse/sigall-precsave.exp: Likewise.
17749 * gdb.reverse/sigall-reverse.exp: Likewise.
17750 * gdb.threads/pthreads.c: Likewise.
17751 * gdb.threads/pthreads.exp: Likewise.
17752
7a3517ff
YQ
177532014-10-17 Yao Qi <yao@codesourcery.com>
17754
17755 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17756 check 'target_info exists noargs'.
17757 (test_command_prompt_position): Likewise.
17758 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17759 Remove "set args".
17760 (progvar_simple_while_test): Likewise.
17761 (progvar_complex_if_while_test): Likewise.
17762 (if_while_breakpoint_command_test): Likewise.
17763 (infrun_breakpoint_command_test): Likewise.
17764 (breakpoint_command_test): Likewise.
17765 (watchpoint_command_test): Likewise.
17766 (bp_deleted_in_command_test): Likewise.
17767 (temporary_breakpoint_commands): Likewise.
17768
bb99c472
YQ
177692014-10-16 Yao Qi <yao@codesourcery.com>
17770
17771 * gdb.base/remotetimeout.exp: Remove noargs checking.
17772
7c16b83e
PA
177732014-10-15 Pedro Alves <palves@redhat.com>
17774
17775 PR breakpoints/9649
17776 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17777 * gdb.base/breakpoint-in-ro-region.exp
17778 (probe_target_hardware_step): New procedure.
17779 (top level): Probe hardware stepping and hardware breakpoint
17780 support. Test stepping through a read-only region, with both
17781 "breakpoint auto-hw" on and off and both "always-inserted" on and
17782 off.
17783
35a49624
IB
177842014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17785
17786 * gdb.dlang/demangle.exp: Update for demangling changes.
17787
2d1c107c
SC
177882014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17789
17790 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17791 * gdb.cp/non-trivial-retval.exp: Add new tests.
17792
778811d5
SC
177932014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17794
17795 PR c++/13403
17796 PR c++/15154
17797 * gdb.cp/non-trivial-retval.cc: New file.
17798 * gdb.cp/non-trivial-retval.exp: New file.
17799
10c5f0a8
YQ
178002014-10-15 Yao Qi <yao@codesourcery.com>
17801
17802 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17803 remote host.
17804
65d7b369
YQ
178052014-10-15 Yao Qi <yao@codesourcery.com>
17806
17807 * gdb.python/py-symbol.exp: Match file base name if host is
17808 remote, otherwise match file name with dir name.
17809 * gdb.python/py-symtab.exp: Likewise.
17810 * gdb.python/python.exp: Likewise.
17811
46dc1394
YQ
178122014-10-15 Yao Qi <yao@codesourcery.com>
17813
17814 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17815 pattern.
17816 * gdb.python/py-symtab.exp: Likewise.
17817 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17818 locationn.
17819
c40cc657
JB
178202014-10-14 Joel Brobecker <brobecker@adacore.com>
17821
17822 * gdb.ada/addr_arith: New testcase.
17823
2abf49e1
MR
178242014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17825
17826 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17827 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17828 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17829 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17830
f7088df3
SDJ
178312014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17832
17833 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17834 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17835 * gdb.arch/stap-eval-lang-ada.exp: New file.
17836
4dc06805
YQ
178372014-10-14 Yao Qi <yao@codesourcery.com>
17838
17839 * gdb.mi/mi-var-child.c (nothing1): New function.
17840 (nothing2): New function.
17841 (do_children_tests): Set function pointers by nothing1 and
17842 nothing2.
17843 * gdb.mi/mi-var-child.exp: Step over new added statements.
17844 Update test to match the new output.
17845 * gdb.mi/var-cmd.c (nothing1): New function.
17846 (nothing2): New function.
17847 (do_children_tests): Set function pointers by nothing1 and
17848 nothing2.
17849 * gdb.mi/mi-var-display.exp: Update test to match output.
17850 Step to the line specified by $line_dct_nothing.
17851 Increase the number of lines to step.
17852
46a93de2
YQ
178532014-10-14 Yao Qi <yao@codesourcery.com>
17854
17855 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17856 tests.
17857 * gdb.mi/mi2-var-child.exp: Likewise.
17858
14ea52ee
DE
178592014-10-13 Doug Evans <dje@google.com>
17860
17861 * gdb.python/py-objfile.exp: Change name of file name test.
17862
e5c6e92b
DE
178632014-10-13 Doug Evans <dje@google.com>
17864
17865 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17866 from the start of the CU.
17867
c780cc2f
JK
178682014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17869 Yao Qi <yao@codesourcery.com>
17870
17871 Fix "save breakpoints" for "catch" command.
17872 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17873 Remove -nonewline. Match also the added "main" line.
17874
99894e11
JK
178752014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17876
17877 Fix "save breakpoints" for "disable $bpnum" command.
17878 * gdb.base/save-bp.c (main): Add label.
17879 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17880
6e1ac5a3
JK
178812014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17882
17883 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17884
754dd2b0
YQ
178852014-10-11 Yao Qi <yao@codesourcery.com>
17886
17887 * gdb.server/server-kill.exp: Execute command
17888 "set remote trace-status-packet on" before "tstatus".
17889
f90183d7
YQ
178902014-10-11 Yao Qi <yao@codesourcery.com>
17891
17892 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17893 (main): Call getppid.
17894 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17895 and continue to it. Read variable "server_pid".
17896
bf40a607
YQ
178972014-10-11 Yao Qi <yao@codesourcery.com>
17898
17899 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17900
052ca370
YQ
179012014-10-11 Yao Qi <yao@codesourcery.com>
17902
17903 * gdb.threads/thread-find.exp: Don't execute command
17904 "info threads".
17905 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17906 * gdb.threads/linux-dp.exp: Don't check the condition
17907 $threads_created equals to zero.
17908
3831839c
PA
179092014-10-10 Pedro Alves <palves@redhat.com>
17910
17911 * gdb.base/bigcore.exp: Remove references to IRIX.
17912 * gdb.base/funcargs.exp: Likewise.
17913 * gdb.base/interrupt.exp: Likewise.
17914 * gdb.base/mips_pro.exp: Likewise.
17915 * gdb.base/nodebug.exp: Likewise.
17916 * gdb.base/setvar.exp: Likewise.
17917 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17918
8b9a549d
PA
179192014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17920 Pedro Alves <palves@redhat.com>
17921
17922 PR symtab/14466
17923 * gdb.base/vdso-warning.c: New file.
17924 * gdb.base/vdso-warning.exp: New file.
17925
d48ba5e8
DE
179262014-10-02 Doug Evans <dje@google.com>
17927
17928 * gdb.base/structs.c (main): Don't run forever.
17929
2278c276
PA
179302014-10-02 Pedro Alves <palves@redhat.com>
17931
17932 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17933 (top level) <stop threads 1, stop threads 2>: Use it.
17934
b57bacec
PA
179352014-10-02 Pedro Alves <palves@redhat.com>
17936
17937 * gdb.threads/break-while-running.exp (test): Add new
17938 'update_thread_list' argument. Skip "info threads" if false.
17939 (top level): Add new 'update_thread_list' axis.
17940
13fd3ff3
PA
179412014-10-02 Pedro Alves <palves@redhat.com>
17942
17943 PR breakpoints/17431
17944 * gdb.base/execl-update-breakpoints.c: New file.
17945 * gdb.base/execl-update-breakpoints.exp: New file.
17946
0fec99e8
PA
179472014-10-01 Pedro Alves <palves@redhat.com>
17948
17949 * gdb.base/breakpoint-in-ro-region.c: New file.
17950 * gdb.base/breakpoint-in-ro-region.exp: New file.
17951
2ddf4301
SM
179522014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17953
17954 * gdb.mi/mi-exit-code.exp: New file.
17955 * gdb.mi/mi-exit-code.c: New file.
17956
6a5f3f43
YQ
179572014-09-30 Yao Qi <yao@codesourcery.com>
17958
17959 * lib/prelink-support.exp (build_executable_own_libs): Error if
17960 the target isn't native.
17961
345bcc73
YQ
179622014-09-30 Yao Qi <yao@codesourcery.com>
17963
17964 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17965 false.
17966
a25a5a45
PA
179672014-09-22 Pedro Alves <palves@redhat.com>
17968
17969 * gdb.threads/break-while-running.exp: New file.
17970 * gdb.threads/break-while-running.c: New file.
17971
00ba3162
YQ
179722014-09-19 Yao Qi <yao@codesourcery.com>
17973
17974 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17975 Invoke test. Restart GDB with --readnow and invoke test again.
17976
c3b7b696
YQ
179772014-09-19 Yao Qi <yao@codesourcery.com>
17978
17979 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17980 proc set_breakpoint_on_gcd_function. Invoke
17981 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17982 invoke set_breakpoint_on_gcd_function again.
17983
2b4fd423
DE
179842014-09-18 Doug Evans <dje@google.com>
17985
17986 * gdb.dwarf2/symtab-producer.exp: New file.
17987
a5947601
SDJ
179882014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17989
17990 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17991 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17992 * gdb.base/global-var-nested-by-dso.c: Likewise.
17993 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17994
91c19059
SDJ
179952014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17996 Pedro Alves <palves@redhat.com>
17997
17998 * gdb.base/watch-bitfields.exp: Pass string other than test file
17999 name to prepare_for_testing.
18000 (watch): New procedure.
18001 (expect_watchpoint): Use with_test_prefix.
18002 (top level): Factor out tests to ...
18003 (test_watch_location, test_regular_watch): ... these new
18004 procedures, and use with_test_prefix and gdb_continue_to_end.
18005
bb9d5f81
PP
180062014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18007
18008 PR breakpoints/12526
18009 * gdb.base/watch-bitfields.exp: New file.
18010 * gdb.base/watch-bitfields.c: New file.
18011
635856f5
PA
180122014-09-16 Pedro Alves <palves@redhat.com>
18013
18014 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18015 software and hardware addresses, not software address against
18016 itself.
18017
7280ceea
PA
180182014-09-16 Pedro Alves <palves@redhat.com>
18019
18020 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18021 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18022
428b16bd
PA
180232014-09-16 Pedro Alves <palves@redhat.com>
18024
18025 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18026 files.
18027 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18028 "*-*-vxworks*" throughout.
18029 * gdb.base/break.exp: Likewise.
18030 * gdb.base/default.exp: Likewise.
18031 * gdb.base/scope.exp: Likewise.
18032 * gdb.base/sepdebug.exp: Likewise.
18033 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18034 throughout.
18035 * gdb.base/run.c: Likewise.
18036 * gdb.base/sepdebug.c: Likewise.
18037 * gdb.hp/gdb.aCC/run.c: Likewise.
18038 * gdb.reverse/until-reverse.c: Likewise.
18039 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18040
666d413c
YQ
180412014-09-16 Yao Qi <yao@codesourcery.com>
18042
18043 * boards/local-remote-host-native.exp: New file.
18044
57cbd724
DE
180452014-09-14 Doug Evans <xdje42@gmail.com>
18046
18047 * gdb.threads/queue-signal.c (thread_count): New variable.
18048 (thread_count_mutex, thread_count_condvar): New variables.
18049 (incr_thread_count, wait_all_threads_running): New functions.
18050 (main): Wait for all threads to be in their thread functions.
18051
81219e53
DE
180522014-09-13 Doug Evans <xdje42@gmail.com>
18053
18054 * gdb.threads/queue-signal.c: New file.
18055 * gdb.threads/queue-signal.exp: New file.
18056
3714cea7
DE
180572014-09-13 Doug Evans <xdje42@gmail.com>
18058
18059 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18060 be consistent with what default_gdb_init uses.
18061 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18062 the plain text of the prompt. Add some logging printfs.
18063 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18064
fa43b1d7
PA
180652014-09-12 Pedro Alves <palves@redhat.com>
18066
18067 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18068 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18069 * gdb.arch/i386-size-overlap.exp: Likewise.
18070 * gdb.arch/i386-size.exp: Likewise.
18071 * gdb.arch/i386-unwind.exp: Likewise.
18072 * gdb.base/a2-run.exp: Likewise.
18073 * gdb.base/break.exp: Likewise.
18074 * gdb.base/charset.exp: Likewise.
18075 * gdb.base/chng-syms.exp: Likewise.
18076 * gdb.base/commands.exp: Likewise.
18077 * gdb.base/dbx.exp: Likewise.
18078 * gdb.base/find.exp: Likewise.
18079 * gdb.base/funcargs.exp: Likewise.
18080 * gdb.base/jit-simple.exp: Likewise.
18081 * gdb.base/reread.exp: Likewise.
18082 * gdb.base/sepdebug.exp: Likewise.
18083 * gdb.base/step-bt.exp: Likewise.
18084 * gdb.cp/mb-inline.exp: Likewise.
18085 * gdb.cp/mb-templates.exp: Likewise.
18086 * gdb.objc/basicclass.exp: Likewise.
18087 * gdb.threads/killed.exp: Likewise.
18088
9d9bf2df
EBM
180892014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18090
18091 PR tdep/17379
18092 * gdb.arch/powerpc-stackless.S: New file.
18093 * gdb.arch/powerpc-stackless.exp: New file.
18094
1cf2f1b0
JK
180952014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18096
18097 * gdb.base/attach.c: Include unistd.h.
18098 (main): Call alarm. Add label postloop.
18099 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18100 gdb_breakpoint, gdb_continue_to_breakpoint.
18101 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18102
98880d46
PA
181032014-09-11 Pedro Alves <palves@redhat.com>
18104
18105 PR gdb/17347
18106 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18107 * gdb.base/attach.exp (test_command_line_attach_run): New
18108 procedure.
18109 (top level): Call it.
18110
4c92ff2c
PA
181112014-09-11 Pedro Alves <palves@redhat.com>
18112
18113 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18114 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18115 (do_command_attach_tests): Use spawn_wait_for_attach.
18116 * gdb.base/solib-overlap.exp: Likewise.
18117 * gdb.multi/multi-attach.exp: Likewise.
18118 * gdb.python/py-prompt.exp: Likewise.
18119 * gdb.python/py-sync-interp.exp: Likewise.
18120 * gdb.server/ext-attach.exp: Likewise.
18121
3adc1a7d
GKB
181222014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18123
18124 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18125 command in testcase. Simplify testcase.
18126
96334934
JB
181272014-09-10 Joel Brobecker <brobecker@adacore.com>
18128
18129 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18130
eb479039
JB
181312014-09-10 Joel Brobecker <brobecker@adacore.com>
18132
18133 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18134
deede10c
JB
181352014-09-10 Joel Brobecker <brobecker@adacore.com>
18136
18137 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18138
7828a5f5
JB
181392014-09-10 Joel Brobecker <brobecker@adacore.com>
18140
18141 * gdb.dwarf2/dynarr-ptr.c: New file.
18142 * gdb.dwarf2/dynarr-ptr.exp: New file.
18143
33aeebcf
MR
181442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18145
18146 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18147 of 30 rather than hardcoding 120 for a slow test case. Take the
18148 `gdb,timeout' target setting into account for this calculation.
18149 Don't extend the timeout for the test cases that don't need it.
18150
7b415901
MR
181512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18152
18153 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18154 a factor of 2 for a slow test case. Take the `gdb,timeout'
18155 target setting into account for this calculation.
18156 * gdb.reverse/until-precsave.exp: Increase the timeout by
18157 a factor of 15 and 3 respectively rather than adding 120
18158 for a pair of slow test cases. Take the `gdb,timeout'
18159 target setting into account for this calculation.
18160
4a40f85a
MR
181612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18162
18163 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18164 timeout, don't pass one down to gdb_expect.
18165 (gdb_expect): Rework timeout selection.
18166
09635af7
MR
181672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18168
18169 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18170 exception on timeout.
18171 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18172 (gdbserver_start_extended): Catch any `gdbserver_start' error
18173 exceptions.
18174 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18175 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18176 `gdbserver_gdb_load' error exceptions.
18177
2bdd10b7
MR
181782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18179
18180 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18181 120 on waiting for the TCP socket to open.
18182
316935f0
DE
181832014-09-09 Doug Evans <xdje42@gmail.com>
18184
18185 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18186 _caller_matches, _any_caller_is, _any_caller_matches.
18187
83740597
DE
181882014-09-09 Doug Evans <xdje42@gmail.com>
18189
18190 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18191
4c122fc3
YQ
181922014-09-09 Yao Qi <yao@codesourcery.com>
18193
18194 * gdb.mi/mi-var-display.exp: Set print symbol off.
18195
a9f116cb
GKB
181962014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18197
18198 PR gdb/17035
18199 * gdb.base/commands.exp: Add tests to verify user-defined
18200 commands with empty bodies.
18201 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18202 python commands in `show user command`.
18203 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18204 scheme commands in `show user command`.
18205
c75bd3a2
JK
182062014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18207
18208 PR python/17355
18209 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18210 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18211 * gdb.python/py-framefilter-invalidarg.exp: New file.
18212 * gdb.python/py-framefilter-invalidarg.py: New file.
18213
faa42425
DE
182142014-09-06 Doug Evans <xdje42@gmail.com>
18215
18216 PR 15276
18217 * gdb.python/py-caller-is.c: New file.
18218 * gdb.python/py-caller-is.exp: New file.
18219
474ca4f6
SDJ
182202014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18221
18222 PR gdb/17235
18223 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18224 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18225
eb0b0463
SDJ
182262014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18227
18228 PR fortran/17237
18229 * gdb.fortran/print-formatted.exp: New file.
18230 * gdb.fortran/print-formatted.f90: Likewise.
18231
5f3b99cf
SS
182322014-09-03 Sasha Smundak <asmundak@google.com>
18233
18234 * gdb.python/py-frame.exp: Test Frame.read_register.
18235
7d793aa9
SDJ
182362014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18237
18238 PR python/16699
18239 * gdb.python/py-completion.exp: New file.
18240 * gdb.python/py-completion.py: Likewise.
18241
fb0576e9
DE
182422014-08-28 Doug Evans <dje@google.com>
18243
18244 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18245 eax,etc. are live with values set by gdb and thus the compiler can't
18246 use them.
18247 * gdb.arch/i386-pseudo.c (main): Ditto.
18248
ee92b0dd
DE
182492014-08-27 Doug Evans <dje@google.com>
18250
18251 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18252
6649db35
DE
182532014-08-25 Doug Evans <dje@google.com>
18254
18255 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18256 (main): Ditto.
18257
564b7600
DE
182582014-08-25 Doug Evans <dje@google.com>
18259
18260 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18261
3881fb67
YQ
182622014-08-24 Yao Qi <yao@codesourcery.com>
18263
18264 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18265 symbol off.
18266 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18267
a05a36a5
DE
182682014-08-22 Doug Evans <dje@google.com>
18269
18270 PR 17276
18271 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18272 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18273 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18274
7c343b48
YQ
182752014-08-22 Yao Qi <yao@codesourcery.com>
18276
18277 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18278 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18279 * gdb.python/python.exp: Likewise. Use .py file on the host
18280 instead of the build.
18281
22fd09ae
JK
182822014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18283
18284 * gdb.threads/gcore-stale-thread.c: New file.
18285 * gdb.threads/gcore-stale-thread.exp: New file.
18286
a8454a7c
PA
182872014-08-21 Pedro Alves <palves@redhat.com>
18288
18289 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18290 * gdb.base/gcore-relro-pie.exp: Likewise.
18291 * gdb.base/gcore-relro.exp: Likewise.
18292 * gdb.base/gcore.exp: Likewise.
18293 * gdb.base/print-symbol-loading.exp: Likewise.
18294 * gdb.threads/gcore-thread.exp: Likewise.
18295 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18296
2a31c623
PA
182972014-08-20 Pedro Alves <palves@redhat.com>
18298 Jan Kratochvil <jan.kratochvil@redhat.com>
18299
18300 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18301 configure.
18302 (EXPECT): Handle READ1 being set.
18303 (all): Depend on EXTRA_RULES.
18304 (check-read1, expect-read1, read1.so, read1): New rules.
18305 * README (Testsuite Parameters): Document the READ1 make variable.
18306 (Race detection): New section.
18307 * configure: Regenerate.
18308 * configure.ac: If build==host==target, and running under a
18309 GNU/glibc system, add read1 to the extra Makefile rules.
18310 (EXTRA_RULES): AC_SUBST it.
18311 * lib/read1.c: New file.
18312
d36430db
JB
183132014-08-20 Joel Brobecker <brobecker@adacore.com>
18314
18315 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18316 the handling of variables declared as a typedef to an array
18317 which a DW_AT_data_location attribute.
18318
9a0dc9e3
PA
183192014-08-19 Andrew Burgess <aburgess@broadcom.com>
18320 Pedro Alves <palves@redhat.com>
18321
18322 PR symtab/14604
18323 PR symtab/14605
18324 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18325 gdb_test.
18326
0718a8da
PA
183272014-08-19 Pedro Alves <palves@redhat.com>
18328
18329 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18330
13b448cd
YQ
183312014-08-19 Yao Qi <yao@codesourcery.com>
18332
18333 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18334 right line.
18335
1cbf5077
DB
183362014-08-18 David Blaikie <dblaikie@gmail.com>
18337
18338 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18339
bf0fae19
JB
183402014-08-18 Joel Brobecker <brobecker@adacore.com>
18341
18342 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18343 attribute in array range.
18344
3c8c5dcc
JB
183452014-08-18 Joel Brobecker <brobecker@adacore.com>
18346
18347 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18348
e66d4446
SC
183492014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18350
18351 PR c++/17132
18352 * gdb.cp/pr17132.cc: New file.
18353 * gdb.cp/pr17132.exp: New file.
18354
940df408
SC
183552014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18356
18357 * gdb.python/py-xmethods.py (A_getarrayind)
18358 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18359 Use 'print' with function call syntax.
18360 (E_method_matcher.match): Fix tab vs space indentation mixup.
18361
ebcc6c3a
YQ
183622014-08-15 Yao Qi <yao@codesourcery.com>
18363
18364 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18365 false.
18366
775e0f04
YQ
183672014-08-15 Yao Qi <yao@codesourcery.com>
18368
18369 * gdb.cp/casts.exp: Set print symbol off.
18370 * gdb.cp/class2.exp: Likewise.
18371 * gdb.cp/overload.exp: Likewise.
18372 * gdb.cp/templates.exp: Likewise.
18373
d769e349
DE
183742014-08-11 Doug Evans <dje@google.com>
18375
18376 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18377 (test_load_shlib): Update.
18378
20c6f1e1
YQ
183792014-08-09 Yao Qi <yao@codesourcery.com>
18380
18381 * gdb.base/display.exp: Invoke is_address_zero_readable.
18382 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18383 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18384 * gdb.base/hbreak-unmapped.exp: Return if
18385 is_address_zero_readable returns true.
18386 * gdb.base/signest.exp: Likewise.
18387 * gdb.base/signull.exp: Likewise.
18388 * gdb.base/sigbpt.exp: Likewise.
18389 * gdb.guile/scm-disasm.exp: Do the test if
18390 is_address_zero_readable returns false.
18391 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18392 * gdb.python/py-arch.exp: Likewise.
18393 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18394 * lib/gdb.exp (is_address_zero_readable): New proc.
18395
5792e8e3
YQ
183962014-08-09 Yao Qi <yao@codesourcery.com>
18397
18398 PR testsuite/13443
18399 * gdb.mi/mi-var-display.exp: Make test messages unique.
18400
3cecbbbe
TT
184012014-08-04 Tom Tromey <tromey@redhat.com>
18402
18403 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18404 target 0".
18405
00b51ff5
TT
184062014-08-04 Tom Tromey <tromey@redhat.com>
18407
18408 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18409 "target_resume".
18410
6908c509
JB
184112014-08-01 Joel Brobecker <brobecker@adacore.com>
18412
18413 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18414 inner_vla_struct_object_size.
18415 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18416 as xfail.
18417
cc6563d2
PA
184182014-07-30 Pedro Alves <palves@redhat.com>
18419
18420 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18421 comment.
18422
7e09a223
YQ
184232014-07-29 Yao Qi <yao@codesourcery.com>
18424
18425 PR gdb/17206
18426 * gdb.base/until-nodebug.exp: New.
18427
7ebdbe92
DE
184282014-07-28 Doug Evans <xdje42@gmail.com>
18429
18430 PR guile/17203
18431 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18432 previously existing parameter, and previously ambiguously spelled
18433 parameter.
18434
fdb1adc6
WN
184352014-07-28 Will Newton <will.newton@linaro.org>
18436
18437 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18438
186fcde0
DE
184392014-07-26 Ludovic Courtès <ludo@gnu.org>
18440 Doug Evans <xdje42@gmail.com>
18441
18442 PR guile/17146
18443 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18444
70509625
PA
184452014-07-25 Pedro Alves <palves@redhat.com>
18446
18447 * gdb.threads/signal-command-handle-nopass.c: New file.
18448 * gdb.threads/signal-command-handle-nopass.exp: New file.
18449 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18450 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18451 * gdb.threads/signal-delivered-right-thread.c: New file.
18452 * gdb.threads/signal-delivered-right-thread.exp: New file.
18453
c3f814a1
PA
184542014-07-25 Pedro Alves <palves@redhat.com>
18455
18456 * gdb.base/double-prompt-target-event-error.exp
18457 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18458 match.
18459 (cancel_pagination_in_target_event): Rework double prompt
18460 detection.
18461 * gdb.base/paginate-after-ctrl-c-running.exp
18462 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18463 <return>' match.
18464 * gdb.base/paginate-bg-execution.exp
18465 (test_bg_execution_pagination_return)
18466 (test_bg_execution_pagination_cancel): Remove '-notransfer
18467 <return>' matches.
18468 * gdb.base/paginate-execution-startup.exp
18469 (test_fg_execution_pagination_return)
18470 (test_fg_execution_pagination_cancel): Remove '-notransfer
18471 <return>' matches.
18472 * gdb.base/paginate-inferior-exit.exp
18473 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18474 match.
18475 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18476 * lib/gdb.exp (pagination_prompt): Run text through
18477 string_to_regexp.
18478 (gdb_test_multiple): Match $pagination_prompt instead of
18479 "<return>".
18480 (string_to_regexp): Move to lib/gdb-utils.exp.
18481
e214cf6c
JK
184822014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18483
18484 * gdb.arch/amd64-entry-value-paramref.S: New file.
18485 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18486 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18487 * gdb.arch/amd64-optimout-repeat.S: New file.
18488 * gdb.arch/amd64-optimout-repeat.c: New file.
18489 * gdb.arch/amd64-optimout-repeat.exp: New file.
18490
17d0c5c8
JK
184912014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18492
18493 PR gdb/17170
18494 * gdb.base/statistics.exp: New file.
18495
b8b8facf
DE
184962014-07-17 Doug Evans <dje@google.com>
18497
74b49205 18498 PR gdb/17170
b8b8facf
DE
18499 * gdb.base/maint.exp: Update testing of per-command stats.
18500
1b5d0ab3
PA
185012014-07-16 Pedro Alves <palves@redhat.com>
18502
18503 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18504 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18505 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18506 (tfile_write_buf): New functions.
18507 (add_memory_block): Rewrite using the above.
18508 (adjust_function_address): New function.
18509 (FUNCTION_ADDRESS): New macro.
18510 (write_basic_trace_file): Remove short_x local, and use
18511 tfile_write_16. Change type of func_addr local to unsigned long
18512 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18513 here. Cast argument of add_memory_block to char pointer.
18514 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18515 (main): Remove parameters.
18516 * gdb.trace/tfile.exp: Remove nowarnings.
18517
4d974e88
SM
185182014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18519
18520 * gdb.base/debug-expr.exp: Test string evaluation with
18521 "debug expression" on.
18522
41e99568
PA
185232014-07-15 Pedro Alves <palves@redhat.com>
18524
18525 * gdb.base/reread.exp: Use clean_restart.
18526
487d9753
PL
185272014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18528
18529 * gdb.arch/avr-flash-qualifer.c: New.
18530 * gdb.arch/avr-flash-qualifer.exp: New.
18531
cc1c52ad
PA
185322014-07-14 Pedro Alves <palves@redhat.com>
18533
18534 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18535 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18536
1e973570
PA
185372014-07-14 Pedro Alves <palves@redhat.com>
18538
18539 * gdb.base/double-prompt-target-event-error.c: New file.
18540 * gdb.base/double-prompt-target-event-error.exp: New file.
18541
93d6eb10
PA
185422014-07-14 Pedro Alves <palves@redhat.com>
18543
18544 PR gdb/17072
18545 * gdb.base/paginate-inferior-exit.c: New file.
18546 * gdb.base/paginate-inferior-exit.exp: New file.
18547
0017922d
PA
185482014-07-14 Pedro Alves <palves@redhat.com>
18549
18550 PR gdb/17072
18551 * gdb.base/paginate-bg-execution.c: New file.
18552 * gdb.base/paginate-bg-execution.exp: New file.
18553
94696ad3
PA
185542014-07-14 Pedro Alves <palves@redhat.com>
18555
18556 PR gdb/17072
18557 * gdb.base/paginate-execution-startup.c: New file.
18558 * gdb.base/paginate-execution-startup.exp: New file.
18559 * lib/gdb.exp (pagination_prompt): New global.
18560 (default_gdb_spawn): New procedure, factored out from
18561 default_gdb_spawn.
18562 (default_gdb_start): Adjust to call default_gdb_spawn.
18563 (gdb_spawn): New procedure.
18564
bd293940
PA
185652014-07-14 Pedro Alves <palves@redhat.com>
18566
18567 * lib/gdb.exp (gdb_assert): New procedure.
18568 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18569
c933f875
PA
185702014-07-14 Pedro Alves <palves@redhat.com>
18571
18572 * gdb.base/execution-termios.c: New file.
18573 * gdb.base/execution-termios.exp: New file.
18574
d98b7a16
TT
185752014-07-14 Tom Tromey <tromey@redhat.com>
18576
18577 * gdb.cp/vla-cxx.cc: New file.
18578 * gdb.cp/vla-cxx.exp: New file.
18579
548740d6
TT
185802014-07-14 Tom Tromey <tromey@redhat.com>
18581
18582 * gdb.reverse/rerun-prec.c: New file.
18583 * gdb.reverse/rerun-prec.exp: New file.
18584
a25eb028
MR
185852014-07-12 Maciej W. Rozycki <macro@mips.com>
18586 Maciej W. Rozycki <macro@codesourcery.com>
18587
18588 * lib/gdb-utils.exp: New file.
18589 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18590 inline `gdb_init_command' processing.
18591 (gdb_start_cmd): Likewise.
18592 * lib/mi-support.exp (mi_run_cmd): Likewise.
18593 * README: Document `gdb_init_command' and `gdb_init_commands'.
18594
218c2655
JK
185952014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18596
18597 Fix false FAIL running under a very long directory name.
18598 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18599 and "set print elements 10000". Twice.
18600
5401fde3
YQ
186012014-07-11 Yao Qi <yao@codesourcery.com>
18602
18603 * gdb.base/exprs.exp: "set print symbol off".
18604
e76126e8
PA
186052014-07-11 Pedro Alves <palves@redhat.com>
18606
18607 * gdb.threads/kill.c: New file.
18608 * gdb.threads/kill.exp: New file.
18609
2d6f0de6
YQ
186102014-07-10 Yao Qi <yao@codesourcery.com>
18611
18612 * gdb.trace/tfile.c (write_basic_trace_file)
18613 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18614 address written to trace file.
18615
7180e04a
PA
186162014-07-09 Pedro Alves <palves@redhat.com>
18617
18618 * gdb.base/attach-wait-input.exp: New file.
18619 * gdb.base/attach-wait-input.c: New file.
18620
9a9a7608
AB
186212014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18622
18623 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18624 setting up test structures.
18625 (main): Call new test function.
18626 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18627 test function, continue into test function and walk test
18628 structures.
18629
161ac41e
YQ
186302014-07-02 Yao Qi <yao@codesourcery.com>
18631
18632 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18633 'bar_start' at the beginning of functions 'foo' and 'bar'
18634 respectively.
18635 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18636 instead of 'foo' and 'bar'.
18637
1f267ae3
MM
186382014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18639
18640 * gdb.btrace/segv.exp: New.
18641 * gdb.btrace/segv.c: New.
18642
2b239efb
LM
186432014-07-02 Luis Machado <lgustavo@codesourcery.com>
18644
18645 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18646 instruction.
18647
cf363f18
MW
186482014-06-30 Mark Wielaard <mjw@redhat.com>
18649
18650 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18651 vulture, vilify, villar): New volatile array constants.
18652 (vindictive, vegetation): New const volatile array constants.
18653 * gdb.base/volatile.exp: Test volatile and const volatile array
18654 types.
18655
aebf9d24
AA
186562014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18657
18658 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18659 target lacks support for awatch, rwatch, or hbreak.
18660
b67a2c6f
YQ
186612014-06-27 Yao Qi <yao@codesourcery.com>
18662
18663 * gdb.multi/dummy-frame-restore.exp: New.
18664 * gdb.multi/dummy-frame-restore.c: New.
18665
aef92902
MM
186662014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18667
18668 * gdb.btrace/gcore.exp: New.
18669
8e9db26e
PA
186702014-06-23 Pedro Alves <palves@redhat.com>
18671
18672 * gdb.base/watchpoint-reuse-slot.c: New file.
18673 * gdb.base/watchpoint-reuse-slot.exp: New file.
18674
70afc5b7
SC
186752014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18676
18677 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18678 progspace's filename in 'info', 'enable' and 'disable' command
18679 tests.
18680
b972bd9c
JK
186812014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18682
18683 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18684 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18685 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18686
125f8a3d
GB
186872014-06-20 Gary Benson <gbenson@redhat.com>
18688
18689 * gdb.arch/i386-avx.exp: Fix include file location.
18690 * gdb.arch/i386-sse.exp: Likewise.
18691
3ed9baed
IB
186922014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18693
18694 * gdb.dlang/expression.exp: New file.
18695
034f788c
PA
186962014-06-19 Pedro Alves <palves@redhat.com>
18697
18698 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18699 out from ...
18700 (top level): ... here. Iterate running tests under different
18701 scheduler-locking settings.
18702
45371d0c
LM
187032014-06-18 Luis Machado <lgustavo@codesourcery.com>
18704
18705 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18706 to DW_FORM_addr and use non-zero addresses.
18707
5d376983
SC
187082014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18709
18710 PR gdb/17017
18711 * gdb.python/py-xmethods.cc: Add global function call counters and
18712 increment them in their respective functions. Remove "cout"
18713 statements.
18714 * gdb.python/py-xmethods.exp: Make tests check the global function
18715 call counters instead of depending on inferior IO.
18716
a1aa2221
LM
187172014-06-18 Don Breazeal <donb@codesourcery.com>
18718
18719 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18720 Deleted procedure.
18721 (explicit_fork_parent_follow): Deleted procedure.
18722 (explicit_fork_child_follow): Deleted procedure.
18723 (test_follow_fork): New procedure.
18724 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 18725 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
18726 procedure calls.
18727
0fc05997
YQ
187282014-06-17 Yao Qi <yao@codesourcery.com>
18729
18730 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18731 CP1252.
18732
70795c52
LM
187332014-06-17 Luis Machado <lgustavo@codesourcery.com>
18734
18735 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18736 Initialize ptr and S explicitly.
18737 (skip_type_update_when_not_use_rtti_test): Likewise.
18738
6be47f0c
KS
187392014-06-16 Keith Seitz <keiths@redhat.com>
18740
18741 PR mi/15863
18742 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18743 the inferior is started.
18744
d03de421
PA
187452014-06-16 Pedro Alves <palves@redhat.com>
18746
18747 * gdb.base/break-main-file-remove-fail.c: New file.
18748 * gdb.base/break-main-file-remove-fail.exp: New file.
18749 * gdb.base/break-unload-file.exp: Use build_executable instead of
18750 prepare_for_testing.
18751 (test_break): New parameter "initial_load". Handle it.
18752 (top level): Add initial_load cmdline/file axis.
18753
f9579b99
TT
187542014-06-12 Tom Tromey <tromey@redhat.com>
18755
18756 * gdb.base/completion.exp: Don't use directory name in test.
18757
3657956b
GB
187582014-06-09 Gary Benson <gbenson@redhat.com>
18759
18760 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18761 separate the always-available ANSI-standard signals from the
18762 signals that require checking.
18763 (main): Likewise.
18764 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18765 Likewise.
18766 (main): Likewise.
18767
4186eb54
KS
187682014-06-07 Keith Seitz <keiths@redhat.com>
18769
18770 Revert:
18771 PR c++/16253
18772 * gdb.cp/var-tag.cc: New file.
18773 * gdb.cp/var-tag.exp: New file.
18774 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18775 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18776 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18777 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18778
25326a28 187792014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18780
18781 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18782
829155c9
PA
187832014-06-06 Pedro Alves <palves@redhat.com>
18784
18785 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18786 in target debug output instead of looking at RSP packets,
18787 disabling the test on any target that uses hardware stepping.
18788 Update comments.
18789
61c8d22e
PA
187902014-06-06 Pedro Alves <palves@redhat.com>
18791
18792 * gdb.base/break-unload-file.exp: Fix typo.
18793
d9a47287
YQ
187942014-06-06 Yao Qi <yao@codesourcery.com>
18795
18796 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18797 from "jit_function" to "^jit_function".
18798
e5e01dbf
YQ
187992014-06-06 Yao Qi <yao@codesourcery.com>
18800
18801 * gdb.base/async.c (foo): Add one statement.
18802 * gdb.base/async.exp: Get the next instruction address and
18803 match the output of "nexti" by instruction address. Match
18804 the hex address in the output of "finish".
18805
73ba372c
GB
188062014-06-06 Gary Benson <gbenson@redhat.com>
18807
18808 * gdb.base/call-signals.c: Remove preprocessor conditionals
18809 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18810 SIGSEGV and SIGTERM.
18811 * gdb.base/sigall.c: Likewise.
18812 * gdb.base/unwindonsignal.c: Likewise.
18813 * gdb.reverse/sigall-reverse.c: Likewise.
18814
831517df
YQ
188152014-06-06 Yao Qi <yao@codesourcery.com>
18816
18817 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18818 readable, skip the test.
18819
b8b91e98
YQ
188202014-06-06 Yao Qi <yao@codesourcery.com>
18821
18822 * gdb.threads/staticthreads.c (thread_function): Move the line
18823 setting breakpoint on forward.
18824 * gdb.threads/staticthreads.exp: Update comments.
18825
fb934770
LC
188262014-06-05 Ludovic Courtès <ludo@gnu.org>
18827
18828 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18829 "history-append! type error".
18830
6ef284bd
SM
188312014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18832
18833 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18834 erroneous dprintf expected input.
18835
a872e241
DE
188362014-06-04 Doug Evans <xdje42@gmail.com>
18837
18838 * gdb.guile/scm-generics.exp: Delete.
18839
16f691fb
DE
188402014-06-04 Doug Evans <xdje42@gmail.com>
18841
18842 * gdb.guile/scm-breakpoint.exp: Update.
18843 Add tests for breakpoint registration.
18844
012370f6
TT
188452014-06-04 Tom Tromey <tromey@redhat.com>
18846
18847 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18848 VLA-in-union.
18849 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18850 inner_vla_struct, vla_union types. Initialize objects of those
18851 types and compute their sizes.
18852
9f5a4cef
HZ
188532014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18854 Hui Zhu <hui@codesourcery.com>
18855
18856 * gdb.base/fileio.exp: Add test for shell not available as well as
18857 available.
18858 * gdb.base/fileio.c (test_system): Check for shell twice.
18859
90a45c4d
YQ
188602014-06-04 Yao Qi <yao@codesourcery.com>
18861
18862 * gdb.base/auto-connect-native-target.exp: Remove redundant
18863 space from the regexp pattern.
18864
70017e41
YQ
188652014-06-04 Yao Qi <yao@codesourcery.com>
18866
18867 * gdb.base/default.exp: Replace "child" with "native" in
18868 regexp pattern.
18869
883964a7
SC
188702014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18871
18872 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18873 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18874 * gdb.python/py-xmethods.py: Python script supporting the
18875 new testcase and tests.
18876
ef370185
JB
188772014-06-03 Joel Brobecker <brobecker@adacore.com>
18878 Pedro Alves <palves@redhat.com>
18879
18880 PR breakpoints/17000
18881 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18882 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18883
1e2ccb61
BM
188842014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18885
18886 * gdb.base/subst.exp: Add tests to verify partial path matching
18887 output.
18888
c6ec5ab2
PA
188892014-06-03 Pedro Alves <palves@redhat.com>
18890
18891 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18892 target that doesn't use software single-stepping.
18893
835c559f
PA
188942014-06-03 Pedro Alves <palves@redhat.com>
18895
18896 PR breakpoints/17000
18897 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18898 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18899
06eb1586
DE
189002014-06-02 Doug Evans <xdje42@gmail.com>
18901
18902 * gdb.guile/scm-parameter.exp: New file.
18903
e698b8c4
DE
189042014-06-02 Doug Evans <xdje42@gmail.com>
18905
18906 * gdb.guile/scm-cmd.c: New file.
18907 * gdb.guile/scm-cmd.exp: New file.
18908
ded03782
DE
189092014-06-02 Doug Evans <xdje42@gmail.com>
18910
18911 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18912 pretty-printer lookup.
18913 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18914 (make-pp_s-printer): Call it.
18915 (make-pretty-printer-from-dict): New function.
18916 (lookup-pretty-printer-maker-from-dict): New function.
18917 (*pretty-printer*): Simplify.
18918 (make-objfile-pp_s-printer): New function.
18919 (install-objfile-pretty-printers!): New function.
18920 (make-progspace-pp_s-printer): New function.
18921 (install-progspace-pretty-printers!): New function.
18922 * gdb.guile/scm-progspace.c: New file.
18923 * gdb.guile/scm-progspace.exp: New file.
18924
41fac0cf
PA
189252014-06-02 Pedro Alves <palves@redhat.com>
18926
18927 * gdb.base/dprintf-bp-same-addr.c: New file.
18928 * gdb.base/dprintf-bp-same-addr.exp: New file.
18929
96ae5695
EBM
189302014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18931
18932 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18933 * gdb.arch/powerpc-power.s: Likewise.
18934
da02b3a8
JB
189352014-06-02 Joel Brobecker <brobecker@adacore.com>
18936
18937 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18938
c72b2e7b
YQ
189392014-06-01 Yao Qi <yao@codesourcery.com>
18940
18941 * gdb.base/watchpoint.exp (test_watch_location): Check null
18942 pointer can be dereferenced. If not, do the test, otherwise
18943 skip it.
18944
53e8a631
AB
189452014-05-30 Andrew Burgess <aburgess@broadcom.com>
18946
18947 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18948 results.
18949 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18950
938f0e2f
AB
189512014-05-30 Andrew Burgess <aburgess@broadcom.com>
18952
18953 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18954 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18955 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18956 * gdb.arch/amd64-invalid-stack-top.c: New file.
18957 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18958
9ba6657a
PA
189592014-05-30 Pedro Alves <palves@redhat.com>
18960
18961 PR breakpoints/17000
18962 * gdb.base/sss-bp-on-user-bp.c: New file.
18963 * gdb.base/sss-bp-on-user-bp.exp: New file.
18964
522c09bf
DB
189652014-05-30 David Blaikie <dblaikie@gmail.com>
18966
18967 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18968 gnu_inline semantics via attribute.
18969 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18970 source explicitly specifies the required semantics.
18971
bf4ef81e
MR
189722014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18973
18974 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18975
329ea579
PA
189762014-05-29 Pedro Alves <palves@redhat.com>
18977 Tom Tromey <tromey@redhat.com>
18978
18979 * gdb.base/async-shell.exp: Don't enable target-async.
18980 * gdb.base/async.exp
18981 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18982 parameter. Adjust.
18983 (top level): Don't test with "target-async".
18984 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18985 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18986 * gdb.base/inferior-died.exp: Don't enable target-async.
18987 * gdb.base/interrupt-noterm.exp: Likewise.
18988 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18989 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18990 * gdb.mi/mi-nonstop.exp: Likewise.
18991 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18992 * gdb.mi/mi-nsintrall.exp: Likewise.
18993 * gdb.mi/mi-nsmoribund.exp: Likewise.
18994 * gdb.mi/mi-nsthrexec.exp: Likewise.
18995 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18996 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18997 * gdb.python/py-evsignal.exp: Don't enable target-async.
18998 * gdb.python/py-evthreads.exp: Likewise.
18999 * gdb.python/py-prompt.exp: Likewise.
19000 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19001 * gdb.server/solib-list.exp: Don't enable target-async.
19002 * gdb.threads/thread-specific-bp.exp: Likewise.
19003 * lib/mi-support.exp: Adjust to use mi-async.
19004
fd664c91
PA
190052014-05-29 Pedro Alves <palves@redhat.com>
19006
19007 PR gdb/13860
19008 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19009 reason, even in sync mode.
19010
251bde03
PA
190112014-05-29 Pedro Alves <palves@redhat.com>
19012 Hui Zhu <hui@codesourcery.com>
19013
19014 PR PR15693
19015 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19016 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19017 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19018 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19019
7f3c0343
JB
190202014-05-28 Joel Brobecker <brobecker@adacore.com>
19021
19022 * config/monitor.exp (gdb_target_monitor): Replace use of
19023 "set remotebaud" by "set serial baud".
19024
b2715b27
AW
190252014-05-26 Andy Wingo <wingo@igalia.com>
19026
19027 * gdb.guile/scm-breakpoint.exp:
19028 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19029 properties instead of gdb-object-properties.
19030
498a4489
YQ
190312014-05-26 Yao Qi <yao@codesourcery.com>
19032
19033 * gdb.server/no-thread-db.exp: Specify source file name
19034 explicitly when setting a breakpoint.
19035
589fdceb
MM
190362014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19037
19038 * gdb.btrace/vdso.c: New.
19039 * gdb.btrace/vdso.exp: New.
19040
e9089e05
MM
190412014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19042
19043 * gdb.base/gcore.exp (capture_command_output): Move ...
19044 * lib/gdb.exp (capture_command_output): ... here.
19045
67b5c0c1
MM
190462014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19047
19048 * gdb.btrace/data.exp: Test memory access during btrace replay.
19049
a2199296
SM
190502014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19051
19052 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19053
17b2616c
PA
190542014-05-21 Pedro Alves <palves@redhat.com>
19055
19056 PR gdb/13860
19057 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19058 (top level): Test that output related to execution commands is
19059 sent to the console with CLI commands, but not with MI commands.
19060 Test that breakpoint events are always mirrored to the console.
19061 Also expect the new source line to be output after a "next" in
19062 async mode too. Make it a pass/fail test.
19063 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19064 output.
19065 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19066
5166082f
PA
190672014-05-21 Pedro Alves <palves@redhat.com>
19068
19069 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19070 Use them to test variations of "list" after reaching a breakpoint.
19071 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19072 Test "list" with listsize 10 after reaching a breakpoint.
19073 * gdb.python/python.exp (decode_line current location line
19074 number): Adjust expected line number.
19075
2f25d70f
SM
190762014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19077
19078 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19079 behavior for $args, pass it directly to "run".
19080
ff604a67
MR
190812014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19082
19083 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19084 30000 to 65536.
19085
6a3cb8e8
PA
190862014-05-21 Pedro Alves <palves@redhat.com>
19087
19088 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19089 auto-connect-native-target off".
19090 * gdb.base/auto-connect-native-target.c: New file.
19091 * gdb.base/auto-connect-native-target.exp: New file.
19092
4ebfc96e
PA
190932014-05-21 Pedro Alves <palves@redhat.com>
19094
19095 * gdb.base/default.exp: Test "target native" instead of "target
19096 child".
19097
36d46afb
MW
190982014-05-21 Mark Wielaard <mjw@redhat.com>
19099
19100 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19101
5876f503
JK
191022014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19103
19104 Fix TLS access for -static -pthread.
19105 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19106 <HAVE_TLS> (thread_function, main): Initialize it.
19107 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19108 Add clean_restart.
19109 <$have_tls != "">: Check TLSVAR.
19110
0256a6ac
PA
191112014-05-21 Pedro Alves <palves@redhat.com>
19112
19113 * gdb.base/dcache-line-read-error.c: New.
19114 * gdb.base/dcache-line-read-error.exp: New.
19115
936d2992
PA
191162014-05-20 Pedro Alves <palves@redhat.com>
19117
19118 * gdb.base/compare-sections.c: New file.
19119 * gdb.base/compare-sections.exp: New file.
19120
802e8e6d
PA
191212014-05-20 Pedro Alves <palves@redhat.com>
19122
19123 * gdb.base/break-idempotent.c: New file.
19124 * gdb.base/break-idempotent.exp: New file.
19125
e59fa00f
MM
191262014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19127
19128 * gdb.btrace/nohist.exp: New.
19129
8b696e31
YQ
191302014-05-20 Yao Qi <yao@codesourcery.com>
19131
19132 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19133 gdb.reverse directory and gdb_reverse_timeout exists in board
19134 setting.
19135 * README: Document gdb_reverse_timeout.
19136
73c9764f
YQ
191372014-05-20 Yao Qi <yao@codesourcery.com>
19138
19139 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19140 'test_file_name'. Treat args as a string instead of a list.
19141 (gdb_init): Rename argument 'args' by 'test_file_name'.
19142
f1f4348a
JK
191432014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19144
19145 * gdb.arch/powerpc-power.exp: New file.
19146 * gdb.arch/powerpc-power.s: New file.
19147
0dbe70ce
DE
191482014-05-16 Doug Evans <dje@google.com>
19149
19150 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
19151 * gdb.base/completion.exp: Check that all expected files exist
19152 before doing file completion.
0dbe70ce 19153
8d551b02
DE
191542014-05-16 Doug Evans <dje@google.com>
19155
19156 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19157 Update.
19158 (do_syscall_tests_without_xml): Update.
19159
73eb7709
PA
191602014-05-16 Pedro Alves <palves@redhat.com>
19161
19162 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19163 instead of "unknown output after running".
19164
3fae92fc
YQ
191652014-05-16 Yao Qi <yao@codesourcery.com>
19166
19167 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19168 file1.txt from host at the end.
19169 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19170
c2b2ccc5
DE
191712014-05-15 Doug Evans <dje@google.com>
19172
19173 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19174 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19175 loading file. Add test for TU lookup.
19176
8c217a4b
SM
191772014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19178
19179 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19180 calling "-exec-arguments" or "set args" before running the
19181 inferior.
19182
3deb39c6
SM
191832014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19184
19185 * lib/mi-support.exp (mi_expect_stop): Expect message for
19186 inferiors that exit with non-zero exit code.
19187
71a79f8c
YQ
191882014-05-14 Yao Qi <yao@codesourcery.com>
19189
19190 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19191 match absolute path on remote host.
19192 (test_file_list_exec_source_files): Remove "/" from the
19193 pattern.
19194
f23fcd46
YQ
191952014-05-14 Yao Qi <yao@codesourcery.com>
19196
19197 * boards/local-remote-host-notty.exp (${board}_file): New
19198 proc.
19199
9404b58f
KM
192002014-05-07 Kyle McMartin <kyle@redhat.com>
19201
19202 Pushed by Joel Brobecker <brobecker@adacore.com>.
19203 * gdb.arch/aarch64-atomic-inst.c: New file.
19204 * gdb.arch/aarch64-atomic-inst.exp: New file.
19205
5e45f04c
YQ
192062014-05-07 Yao Qi <yao@codesourcery.com>
19207
19208 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19209 in current context" too.
19210
c888a17d
KS
192112014-05-05 Keith Seitz <keiths@redhat.com>
19212
19213 * gdb.linespec/ls-dollar.exp: Add test for linespec
19214 file:convenience_variable.
19215
290a839c
YQ
192162014-05-05 Yao Qi <yao@codesourcery.com>
19217
19218 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19219 traceframes into tfile and ctf trace files. Read data from
19220 trace file and test collected data.
19221 (gdb_collect_locals_test): Likewise.
19222 (gdb_unavailable_registers_test): Likewise.
19223 (gdb_unavailable_floats): Likewise.
19224 (gdb_collect_globals_test): Likewise.
19225 (top-level): Append "ctf" to trace_file_targets if GDB
19226 supports.
19227
b5262cd0
YQ
192282014-05-05 Yao Qi <yao@codesourcery.com>
19229
19230 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19231 code to ...
19232 (gdb_collect_args_test_1): ... it. New proc.
19233 (gdb_collect_locals_test): Move some code to ...
19234 (gdb_collect_locals_test_1): ... it. New proc.
19235 (gdb_unavailable_registers_test): Move some code to ...
19236 (gdb_unavailable_registers_test_1): ... it. New proc.
19237 (gdb_unavailable_floats): Move some code to ...
19238 (gdb_unavailable_floats_1): ... it. New proc.
19239
30a1e6cc
SDJ
192402014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19241
19242 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19243 probes to test for bitness recognition.
19244 * gdb.arch/amd64-stap-optional-prefix.exp
19245 (test_probe_value_without_reg): New procedure.
19246 Add code to test for different kinds of bitness.
19247
f33da99a
SDJ
192482014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19249
19250 PR breakpoints/16889
19251 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19252 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19253
5b80f00d
PA
192542014-05-01 Pedro Alves <palves@redhat.com>
19255
19256 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19257 gdb_file_cmd if no file is specified.
19258 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19259 last_loaded_file to set the remote exec-file.
19260
f8c2a73c
PA
192612014-05-01 Pedro Alves <palves@redhat.com>
19262
19263 * boards/local-remote-host.exp: New file.
19264
be6e8ac7
PA
192652014-05-01 Pedro Alves <palves@redhat.com>
19266
19267 * boards/local-remote-host.exp: Rename to ...
19268 * boards/local-remote-host-notty.exp: ... this.
19269
cac0dc8f
JB
192702014-04-28 Joel Brobecker <brobecker@adacore.com>
19271
19272 * gdb.ada/dyn_arrayidx: New testcase.
19273
9730e6cc
YQ
192742014-04-26 Yao Qi <yao@codesourcery.com>
19275
19276 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19277 and compute the length of function main. Save it in
19278 $main_length.
19279 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19280 (top-level): Use gdb_compile to compile objects into
19281 executable and restart GDB. Remove invocation to
19282 prepare_for_testing.
19283
7ae1a6a6
PA
192842014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19285 Pedro Alves <palves@redhat.com>
19286
19287 PR server/16255
19288 * gdb.multi/multi-attach.c: New file.
19289 * gdb.multi/multi-attach.exp: New file.
19290
4082afcc
PA
192912014-04-25 Pedro Alves <palves@redhat.com>
19292
19293 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19294 user.
19295 (top level): Test that "set remote conditional-breakpoints-packet
19296 off" works as intended.
19297 * gdb.base/dprintf.exp: Test that "set remote
19298 breakpoint-commands-packet off" works as intended.
19299 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19300 New function.
19301 (top level): Call it.
19302 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19303 remote fast-tracepoints-packet off" works as intended.
19304 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19305 * lib/gdb.exp (gdb_is_target_remote): ... here.
19306
2abc3f8d
DB
193072014-04-24 David Blaikie <dblaikie@gmail.com>
19308
19309 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19310 ensure clang would not discard them.
19311 * gdb.base/gdbvars.c: Ditto.
19312 * gdb.base/memattr.c: Ditto.
19313 * gdb.base/whatis.c: Ditto.
19314 * gdb.python/py-prettyprint.c: Ditto.
19315 * gdb.trace/actions.c: Ditto.
19316 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19317 ensure clang would not discard it.
19318
bfd39632
DB
193192014-04-24 David Blaikie <dblaikie@gmail.com>
19320
19321 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19322 clang to emit the full definition of type required by the test
19323 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19324
22842ff6
DB
193252014-04-24 David Blaikie <dblaikie@gmail.com>
19326
19327 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19328 coax Clang into emitting the definition of the type.
19329 * gdb.cp/pr10728-x.h (y): Ditto.
19330 * gdb.cp/pr10728-y.cc (y): Ditto.
19331
c2e827ad
DB
193322014-04-24 David Blaikie <dblaikie@gmail.com>
19333
19334 * gdb.base/label.exp: XFAIL label related tests under Clang.
19335 * gdb.cp/cplabel.exp: Ditto.
19336 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19337 under Clang those using labels.
19338
4c2d33e7
YQ
193392014-04-25 Yao Qi <yao@codesourcery.com>
19340
19341 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19342 double_label.
19343 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19344 partial_label and double_label.
19345
56083b99
DB
193462014-04-24 David Blaikie <dblaikie@gmail.com>
19347
19348 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19349
25d4e99d
DB
193502014-04-24 David Blaikie <dblaikie@gmail.com>
19351
19352 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19353 of the function to work across GCC and Clang.
19354 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19355 pointer types (const void ** const V void **).
19356
01f9f808
MS
193572014-04-24 Michael Sturm <michael.sturm@mintel.com>
19358 Walfred Tedeschi <walfred.tedeschi@intel.com>
19359
19360 * Makefile.in (EXECUTABLES): Added i386-avx512.
19361 * gdb.arch/i386-avx512.c: New file.
19362 * gdb.arch/i386-avx512.exp: Likewise.
19363
4b48d439
KS
193642014-04-23 Keith Seitz <keiths@redhat.com>
19365
19366 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19367 (mi_make_breakpoint_table): New procedure.
19368 (mi_create_breakpoint): Use mi_make_breakpoint
19369 and return the result.
19370 (mi_make_breakpoint): New procedure.
19371 (mi_build_kv_pairs): New procedure.
19372
19373 * gdb.mi/mi-break.exp: Remove unused globals,
19374 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19375 All callers updated.
19376 * gdb.mi/mi-dprintf.exp: Use variable to track command
19377 number.
19378 Update all callers of mi_create_breakpoint and use
19379 mi_make_breakpoint_table.
19380 Remove any unused global variables.
19381 * gdb.mi/mi-nonstop.exp: Likewise.
19382 * gdb.mi/mi-nsintrall.exp: Likewise.
19383 * gdb.mi/mi-nsmoribund.exp: Likewise.
19384 * gdb.mi/mi-nsthrexec.exp: Likewise.
19385 * gdb.mi/mi-reverse.exp: Likewise.
19386 * gdb.mi/mi-simplerun.exp: Likewise.
19387 * gdb.mi/mi-stepn.exp: Likewise.
19388 * gdb.mi/mi-syn-frame.exp: Likewise.
19389 * gdb.mi/mi-until.exp: Likewise.
19390 * gdb.mi/mi-var-cp.exp: Likewise.
19391 * gdb.mi/mi-var-display.exp: Likewise.
19392 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19393 * gdb.mi/mi2-var-child.exp: Likewise.
19394 * gdb.mi/mi-vla-c99.exp: Likewise.
19395 * lib/mi-support.exp: Likewise.
19396
19397 From Ian Lance Taylor <iant@cygnus.com>:
19398 * lib/gdb.exp (parse_args): New procedure.
19399
08351840
PA
194002014-04-23 Pedro Alves <palves@redhat.com>
19401
19402 * gdb.base/break-unload-file.c: New file.
19403 * gdb.base/break-unload-file.exp: New file.
19404 * gdb.base/sym-file-lib.c (baz): New function.
19405 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19406 field.
19407 (load): Store the segment's mapped size.
19408 (unload): New function.
19409 (unload_shlib): New function.
19410 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19411 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19412 set a breakpoint at baz, and call it.
19413 * gdb.base/sym-file.exp: New tests for stale breakpoint
19414 instructions.
19415
076855f9
PA
194162014-04-23 Pedro Alves <palves@redhat.com>
19417
19418 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19419 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19420 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19421 * gdb.base/hbreak-unmapped.c: New file.
19422 * gdb.base/hbreak-unmapped.exp: New file.
19423 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19424 * lib/gdb.exp (gdb_is_target_remote): ... here.
19425
483805cf
PA
194262014-04-22 Pedro Alves <palves@redhat.com>
19427
19428 * gdb.base/consecutive-step-over.c: New file.
19429 * gdb.base/consecutive-step-over.exp: New file.
19430
06d97543
PA
194312014-04-22 Pedro Alves <palves@redhat.com>
19432
19433 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19434 instead of send_gdb/gdb_expect.
19435
b4429ea2
YQ
194362014-04-22 Yao Qi <yao@codesourcery.com>
19437
19438 * lib/trace-support.exp (generate_tracefile): New procedure.
19439 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19440 return 0.
19441 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19442 if generate_tracefile returns 1.
19443
51d48146
PA
194442014-04-18 Tom Tromey <palves@redhat.com>
19445 Pedro alves <tromey@redhat.com>
19446
19447 PR backtrace/15558
19448 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19449 with a backtrace limit.
19450 * gdb.python/py-frame-inline.exp: Test running to an inline
19451 function with a backtrace limit, and printing the newest frame.
19452 * gdb.python/py-frame-inline.c (main): Call f.
19453
bd1dce5f
MS
194542014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19455
19456 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19457
40d1a503
MS
194582014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19459
19460 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19461 Drop prefix from unsupported source file path.
19462
389b98f7
YQ
194632014-04-17 Yao Qi <yao@codesourcery.com>
19464
19465 * lib/gdb.exp (with_target_charset): New proc.
19466 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19467 with_target_charset.
19468 (test_print_strings): Likewise.
19469 (test_repeat_bytes): Likewise.
19470 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19471 for some tests.
19472
22869d73
KS
194732014-04-16 Keith Seitz <keiths@redhat.com>
19474
19475 PR gdb/15827
19476 * gdb.dwarf2/corrupt.c: New file.
19477 * gdb.dwarf2/corrupt.exp: New file.
19478
c4f87ca6
KS
194792014-04-16 Keith Seitz <keiths@redhat.com>
19480
19481 PR c++/16597
19482 * gdb.cp/namelessclass.cc: New file.
19483 * gdb.cp/namelessclass.exp: New file.
19484 * gdb.cp/namelessclass.S: New file.
19485
ab19de87
DE
194862014-04-16 Doug Evans <dje@google.com>
19487
19488 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19489 Add comment.
19490 (gdbserver_default_get_comm_port): New function.
19491 (gdbserver_start): Check if board file provided
19492 "gdbserver,get_comm_port" and use it if so.
19493 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19494 (gdb,socketport): Set to "stdio".
19495 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19496 (stdio_gdbserver_template): Delete.
19497 (${board}_get_remote_address): Update.
19498 (${board}_build_remote_cmd): Delete.
19499 (${board}_get_comm_port): New function.
19500 (${board}_spawn): Update.
19501 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19502 Delete.
19503 (${board}_get_remote_address): Update.
19504 (${board}_get_comm_port): New function.
19505
fc98a809
AB
195062014-04-16 Andrew Burgess <aburgess@broadcom.com>
19507
19508 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19509 appearing in any order.
19510
87fd9e6e
DE
195112014-04-15 Doug Evans <dje@google.com>
19512
19513 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19514 uninitialized value of "description".
19515
099fc3ea
KS
195162014-04-15 Keith Seitz <keiths@redhat.com>
19517
19518 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19519 Remove unused globals.
19520 (test_running_the_program): Likewise.
19521 (test_controlled_execution): Likewise.
19522 (test_controlling_breakpoints): Likewise.
19523 (test_program_termination): Likewise.
19524
5da151d4
KS
195252014-04-15 Keith Seitz <keiths@redhat.com>
19526
19527 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19528 unused globals.
19529 (test_rbreak_creation_and_listing): Likewise.
19530 (test_ignore_count): Likewise.
19531 (test_error): Likewise.
19532
35e5d2f0
PA
195332014-04-15 Pedro Alves <palves@redhat.com>
19534
19535 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19536 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19537 sym-file-loader.c.
19538 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19539 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19540 to sym-file-loader.c.
19541 (struct library): Forward declare.
19542 (load_shlib, lookup_function): Change prototypes.
19543 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19544 (translate_offset): Remove declarations.
19545 (get_text_addr): New declaration.
19546 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19547 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19548 sym-file-loader.h.
19549 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19550 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19551 here from sym-file-loader.h.
19552 (struct library): New structure.
19553 (load_shlib, lookup_function): Change prototypes and adjust to
19554 work with a struct library.
19555 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19556 (translate_offset): Make static.
19557 (get_text_addr): New function.
19558 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19559
eb4c1710
PA
195602014-04-15 Pedro Alves <palves@redhat.com>
19561
19562 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19563
2d1baf52
PA
195642014-04-15 Pedro Alves <palves@redhat.com>
19565
19566 * gdb.base/sym-file-loader.c: Include <limits.h>.
19567 (SELF_LINK): New define.
19568 (get_origin): New function.
19569 (load_shlib): Use it.
19570 * gdb.base/sym-file.exp: Don't early return if the target is
19571 remote. Use runto_main, and issue fail is that fails. Use
19572 gdb_load_shlibs.
19573 (shlib_name): Delete.
19574 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19575
7dd6df01
PA
195762014-04-15 Pedro Alves <palves@redhat.com>
19577
19578 * gdb.base/sym-file.exp: Remove regex characters from test
19579 message. Don't refer to breakpoint numbers in test messages.
19580
b50c8614
KS
195812014-04-14 Keith Seitz <keiths@redhat.com>
19582
19583 PR c++/16253
19584 * gdb.cp/var-tag.cc: New file.
19585 * gdb.cp/var-tag.exp: New file.
19586 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19587 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19588 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19589 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19590
3d567982
TT
195912014-04-14 Tom Tromey <tromey@redhat.com>
19592
19593 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19594 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19595 type.
19596 * gdb.cp/enum-class.exp: New file.
19597 * gdb.cp/enum-class.cc: New file.
19598
0626fc76
TT
195992014-04-14 Tom Tromey <tromey@redhat.com>
19600
19601 * gdb.dwarf2/enum-type.exp: New file.
19602
dca325b3
SA
196032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19604
19605 * gdb.mi/mi-vla-c99.exp: New file.
19606 * gdb.mi/vla.c: New file.
19607
5854b38a
SA
196082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19609
19610 * gdb.base/vla-datatypes.c: New file.
19611 * gdb.base/vla-datatypes.exp: New file.
19612
463bb957
SA
196132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19614
19615 * gdb.base/vla-ptr.c: New file.
19616 * gdb.base/vla-ptr.exp: New file.
19617
3dd170be
SA
196182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19619
19620 * gdb.dwarf2/count.exp: New file.
19621
5ecaaa66
SA
196222014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19623
19624 * gdb.base/vla-sideeffect.c: New file.
19625 * gdb.base/vla-sideeffect.exp: New file.
19626
41f1ada5
DB
196272014-04-14 David Blaikie <dblaikie@gmail.com>
19628
19629 * gdb.mi/non-stop.c: Add return value for non-void function return
19630 statement.
19631 * gdb.threads/staticthreads.c: Ditto.
19632
0be03e84
DE
196332014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19634 Doug Evans <xdje42@gmail.com>
19635
19636 * gdb.guile/scm-value.c: Improve test case.
19637 * gdb.guile/scm-value.exp: Add new test.
19638
f180a1fb
DB
196392014-04-11 David Blaikie <dblaikie@gmail.com>
19640
19641 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19642 override Clang's default.
19643
6b662e19
JB
196442014-04-11 Joel Brobecker <brobecker@adacore.com>
19645
19646 Revert the following changes (regressions):
19647
19648 * gdb.base/vla-sideeffect.c: New file.
19649 * gdb.base/vla-sideeffect.exp: New file.
19650
19651 * gdb.dwarf2/count.exp: New file.
19652
19653 * gdb.base/vla-multi.c: New file.
19654 * gdb.base/vla-multi.exp: New file.
19655
19656 * gdb.base/vla-ptr.c: New file.
19657 * gdb.base/vla-ptr.exp: New file.
19658
19659 * gdb.base/vla-datatypes.c: New file.
19660 * gdb.base/vla-datatypes.exp: New file.
19661
19662 * gdb.mi/mi-vla-c99.exp: New file.
19663 * gdb.mi/vla.c: New file.
19664
245a5f0b
KS
196652014-04-11 Keith Seitz <keiths@redhat.com>
19666
19667 PR c++/16675
19668 * gdb.cp/cpsizeof.exp: New file.
19669 * gdb.cp/cpsizeof.cc: New file.
19670
58a84dcf
SA
196712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19672
191a8a90
JB
19673 * gdb.mi/mi-vla-c99.exp: New file.
19674 * gdb.mi/vla.c: New file.
58a84dcf 19675
c8655f75
SA
196762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19677
19678 * gdb.base/vla-datatypes.c: New file.
19679 * gdb.base/vla-datatypes.exp: New file.
19680
024e13b4
SA
196812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19682
19683 * gdb.base/vla-ptr.c: New file.
19684 * gdb.base/vla-ptr.exp: New file.
19685
1a237e0e
SA
196862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19687
19688 * gdb.base/vla-multi.c: New file.
19689 * gdb.base/vla-multi.exp: New file.
19690
504f3432
SA
196912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19692
19693 * gdb.dwarf2/count.exp: New file.
19694
3bce8237
SA
196952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19696
191a8a90
JB
19697 * gdb.base/vla-sideeffect.c: New file.
19698 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 19699
322f9c21
YQ
197002014-04-11 Yao Qi <yao@codesourcery.com>
19701
19702 * gdb.base/completion.exp: Check file exists before running tests
19703 on file completion.
19704
d708bcd1
PA
197052014-04-10 Pedro Alves <palves@redhat.com>
19706
19707 * gdb.base/cond-eval-mode.c: New file.
19708 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19709 prepare_for_testing to build the new file. Check result of
19710 runto_main.
19711 (test_break, test_watch): New procedures.
19712 (top level): Use them.
19713
ae1d2761
PM
197142014-04-08 Pierre Muller <muller@sourceware.org>
19715
19716 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19717 Ctrl-V use for mingw hosts.
19718
7af389b8
SC
197192014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19720
19721 * gdb.python/py-value.c: Improve test case.
19722 * gdb.python/py-value.exp: Add new test.
19723
5e703181
DE
197242014-04-07 David Blaikie <dblaikie@gmail.com>
19725
19726 * lib/compiler.c: Identify the clang compiler.
19727 * lib/compiler.cc: Ditto.
19728
9810b410
YQ
197292014-04-03 Yao Qi <yao@codesourcery.com>
19730
19731 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19732
98d1b8dc
AB
197332014-04-01 Anton Blanchard <anton@samba.org>
19734
19735 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19736 messages unique.
19737
3114cea1
AB
197382014-04-01 Anton Blanchard <anton@samba.org>
19739
19740 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19741 prepare_for_testing.
19742
62f7182c
AB
197432014-04-01 Anton Blanchard <anton@samba.org>
19744
19745 * gdb.arch/ppc64-atomic-inst.c: Remove.
19746 * gdb.arch/ppc64-atomic-inst.S: New file.
19747 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19748
770e7fc7
DE
197492014-03-31 Doug Evans <dje@google.com>
19750
19751 * gdb.base/print-symbol-loading-lib.c: New file.
19752 * gdb.base/print-symbol-loading-main.c: New file.
19753 * gdb.base/print-symbol-loading.exp: New file.
19754
46e2bafa
YQ
197552014-03-31 Yao Qi <yao@codesourcery.com>
19756
19757 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19758
8776cfe9
JB
197592014-03-28 Joel Brobecker <brobecker@adacore.com>
19760
19761 * gdb.ada/mi_dyn_arr: New testcase.
19762
5d1ef361
DE
197632014-03-27 Doug Evans <dje@google.com>
19764
19765 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19766
b5bee914
YQ
197672014-03-27 Yao Qi <yao@codesourcery.com>
19768
19769 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19770 if target is nios2-*-*.
19771
0d4d0e77
YQ
197722014-03-26 Yao Qi <yao@codesourcery.com>
19773
19774 * lib/gdb.exp (readline_is_used): New proc.
19775 * gdb.base/completion.exp: Move tests on command complete up.
19776 Skip the rest of tests if readline is not used.
19777 * gdb.ada/complete.exp: Skp the test if readline is not
19778 used.
19779 * gdb.base/filesym.exp: Likewise.
19780 * gdb.base/macscp.exp: Likewise.
19781 * gdb.base/readline-ask.exp: Likewise.
19782 * gdb.base/readline.exp: Likewise.
19783 * gdb.python/py-cmd.exp: Likewise.
19784 * gdb.trace/tfile.exp: Likewise.
19785
29361eee
YQ
197862014-03-26 Yao Qi <yao@codesourcery.com>
19787
19788 * gdb.base/macscp.exp: Fix code format issues.
19789
bc9a5525
UW
197902014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19791
19792 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19793 * gdb.asm/powerpc64le.inc: New file.
19794
d3839ede
PA
197952014-03-25 Pedro Alves <palves@redhat.com>
19796 Doug Evans <dje@google.com>
19797
19798 * gdb.base/source-execution.c: New file.
19799 * gdb.base/source-execution.exp: New file.
19800 * gdb.base/source-execution.gdb: New file.
19801
01672a57
DE
198022014-03-24 Doug Evans <dje@google.com>
19803
19804 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19805 using fission.
19806
88bbeca9
HZ
198072014-03-24 Hui Zhu <hui@codesourcery.com>
19808 Pedro Alves <palves@redhat.com>
19809
19810 PR breakpoints/16101
19811 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19812 test pass/fail messages. Detect missing support for dprintf when
19813 breakpoints are actually inserted.
19814 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19815 breakpoints are actually inserted.
19816 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19817 fails.
19818
d2348791
JK
198192014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19820
19821 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19822
feef67ab
DE
198232014-03-22 Doug Evans <xdje42@gmail.com>
19824
19825 * gdb.python/python.exp (python not supported): Verify multi-line
19826 python command issues an error.
25d743f9 19827 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 19828 guile command issues an error.
feef67ab 19829
ecebef6a
MR
198302014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19831
19832 * gdb.threads/thread-specific.exp: Handle the lack of usable
19833 $this_breakpoint and $this_thread.
19834
ccdd1909
HZ
198352014-03-21 Hui Zhu <hui@codesourcery.com>
19836
19837 * gdb.base/attach.exp (do_command_attach_tests): New.
19838
beb460e8
PA
198392014-03-20 Tom Tromey <tromey@redhat.com>
19840 Pedro Alves <palves@redhat.com>
19841
19842 PR cli/15718
19843 * gdb.base/condbreak-call-false.c: New file.
19844 * gdb.base/condbreak-call-false.exp: New file.
19845
40acf43a
PA
198462014-03-20 Pedro Alves <palves@redhat.com>
19847
19848 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19849 Delete.
19850 (block_signals, unblock_signals): Delete.
19851 (child_function_2, main): Remove references to deleted variable
19852 and functions.
19853
9f5e1e02
PA
198542014-03-20 Pedro Alves <palves@redhat.com>
19855
19856 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19857 Use pthread_kill to signal thread 2.
19858 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19859 Adjust to make the test send itself a signal rather than using the
19860 host's "kill" command.
19861
99619bea
PA
198622014-03-20 Pedro Alves <palves@redhat.com>
19863
19864 * gdb.threads/multiple-step-overs.c: New file.
19865 * gdb.threads/multiple-step-overs.exp: New file.
19866 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19867 Adjust expected infrun debug output.
19868
2adfaa28
PA
198692014-03-20 Pedro Alves <palves@redhat.com>
19870
19871 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19872 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19873
31e77af2
PA
198742014-03-20 Pedro Alves <palves@redhat.com>
19875
19876 PR breakpoints/7143
19877 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19878 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19879 of gdb_test_multiple.
19880 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19881 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19882
b9f437de
PA
198832014-03-20 Pedro Alves <palves@redhat.com>
19884
19885 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19886 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19887
05adc73e
PA
198882014-03-19 Pedro Alves <palves@redhat.com>
19889
19890 * gdb.base/async.exp: Remove early return.
19891
6048b950
PA
198922014-03-19 Pedro Alves <palves@redhat.com>
19893
19894 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19895
8bcfb00a
PA
198962014-03-19 Pedro Alves <palves@redhat.com>
19897
19898 * gdb.base/async.exp (test_background): Expect \r\n after
19899 "completed." in the fail pattern.
19900
884e37dc
PA
199012014-03-19 Pedro Alves <palves@redhat.com>
19902
19903 * gdb.base/async.exp (test_background): New procedure.
19904 Use it for all background execution command tests.
19905
148e57e2
PA
199062014-03-19 Pedro Alves <palves@redhat.com>
19907
19908 * gdb.base/async.exp: Use prepare_for_testing.
19909
f48088c7
PA
199102014-03-19 Pedro Alves <palves@redhat.com>
19911
19912 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19913 the same line.
19914
e2f6c966
PA
199152014-03-19 Pedro Alves <palves@redhat.com>
19916
19917 * gdb.base/async.c (main): Add "jump here" and "until here" line
19918 marker comments.
19919 * gdb.base/async.exp (jump_here): New global.
19920 (jump& test): Use it.
19921 (until_here): New global.
19922 (until& test): Use it.
19923
c30568d4
PA
199242014-03-19 Pedro Alves <palves@redhat.com>
19925
19926 * gdb.base/async.exp: Don't frob gdb_protocol.
19927
0172b6a7
DE
199282014-03-18 Doug Evans <xdje42@gmail.com>
19929
19930 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19931 Fix spelling of exec-done-display.
19932
06c868a8
JK
199332014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19934
19935 PR gdb/15358
19936 * gdb.base/gdb-sigterm.c: New file.
19937 * gdb.base/gdb-sigterm.exp: New file.
19938
0c7e1a46
PA
199392014-03-18 Pedro Alves <palves@redhat.com>
19940
19941 PR gdb/13860
19942 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19943 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19944 solib-event.
19945
f7c77d93
JB
199462014-03-17 Joel Brobecker <brobecker@adacore.com>
19947
19948 * gdb.ada/pckd_arr_ren: New testcase.
19949
5a1e8c7a
DE
199502014-03-13 Doug Evans <xdje42@gmail.com>
19951
19952 PR guile/16612
19953 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19954 collect after discarding symbols.
19955
350e1a76
DE
199562014-03-13 Ludovic Courtès <ludo@gnu.org>
19957 Doug Evans <xdje42@gmail.com>
19958
19959 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19960 to history survives a gc.
19961
a69900ae
PA
199622014-03-13 Pedro Alves <palves@redhat.com>
19963
19964 * gdb.base/default.exp: Don't test "target procfs".
19965
5db9f0bd
PA
199662014-03-13 Pedro Alves <palves@redhat.com>
19967
19968 * gdb.base/default.exp: Update "target child" and "target procfs"
19969 tests to not expect "Unix".
19970
b3ccfe11
TT
199712014-03-12 Tom Tromey <tromey@redhat.com>
19972
19973 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19974 New procs. Add target-async tests.
19975 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19976 Add target-async tests.
19977
646f4417
AA
199782014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19979
19980 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19981 'func_start' and 'func_end' for the beginning and end of the
19982 function code, respectively.
19983 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19984 'func_end' instead of 'func' and 'main'.
19985
288c211f
AA
199862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19987
19988 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19989 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19990 generate the debug info assembler source.
19991
e0c0f156
AA
199922014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19993
19994 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19995 * gdb.dwarf2/arr-subrange.exp: Likewise.
19996 * gdb.dwarf2/dwz.exp: Likewise.
19997 * gdb.dwarf2/method-ptr.exp: Likewise.
19998 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19999 * gdb.dwarf2/subrange.exp: Likewise.
20000 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20001 * gdb.dwarf2/implptrpiece.exp: Likewise.
20002 * gdb.dwarf2/nostaticblock.exp: Likewise.
20003
0e5c4555
AA
200042014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20005
20006 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20007 directory to absolute path name arguments.
20008
5ec18f2b
JG
200092014-03-10 Joel Brobecker <brobecker@adacore.com>
20010
20011 * gdb.ada/tagged_access: New testcase.
20012
847fc4f2
MM
200132014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20014
20015 * gdb.btrace/data.exp: Update expected output.
20016
cc3da688
YQ
200172014-03-06 Yao Qi <yao@codesourcery.com>
20018
20019 * gdb.trace/pr16508.exp: New file.
20020
0f26cec1
PA
200212014-03-05 Pedro Alves <palves@redhat.com>
20022
20023 PR gdb/16575
20024 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20025 procedure.
20026 (top level): Adjust to use it. Add tests that exercise breakpoint
20027 interaction with the code-cache.
20028
7a5a839f
LC
200292014-02-26 Ludovic Courtès <ludo@gnu.org>
20030
20031 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20032 test for 'history-append!'.
20033
31aa7e4e
JB
200342014-02-26 Joel Brobecker <brobecker@adacore.com>
20035
20036 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20037 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20038 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20039 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20040 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20041 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20042
1b588015
JB
200432014-02-26 Joel Brobecker <brobecker@adacore.com>
20044
20045 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20046 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20047 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20048
55426c9d
JB
200492014-02-26 Joel Brobecker <brobecker@adacore.com>
20050
20051 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20052
dc53a7ad
JB
200532014-02-26 Joel Brobecker <brobecker@adacore.com>
20054
20055 * gdb.dwarf2/arr-stride.c: New file.
20056 * gdb.dwarf2/arr-stride.exp: New file.
20057
12ab52e9
PA
200582014-02-26 Pedro Alves <palves@redhat.com>
20059
20060 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20061 that won't ever trigger. Make sure that GDB reports the correct
20062 breakpoint that caused the stop.
20063
849c862e
JK
200642014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20065
20066 PR gdb/16626
20067 * gdb.base/auto-load-script: New file.
20068 * gdb.base/auto-load.c: New file.
20069 * gdb.base/auto-load.exp: New file.
20070
71b7d793
JK
20071 PR gdb/16626
20072 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20073
e2f0d509
JK
200742014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20075
20076 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20077 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20078
50cc37c8
DE
200792014-02-24 Doug Evans <dje@google.com>
20080
20081 * lib/gdb.exp (run_on_host): Log error output if program fails.
20082
ea4758f2
PA
200832014-02-21 Pedro Alves <palves@redhat.com>
20084
20085 * gdb.threads/step-after-sr-lock.c: Rename to ...
20086 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20087 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20088 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20089 ... this.
20090
d7b30f67
SDJ
200912014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20092
20093 PR tdep/16397
20094 * gdb.arch/amd64-stap-special-operands.exp: New file.
20095 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20096 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20097 * gdb.arch/amd64-stap-triplet.S: Likewise.
20098 * gdb.arch/amd64-stap-triplet.c: Likewise.
20099
83deb43f
JB
201002014-02-20 Joel Brobecker <brobecker@adacore.com>
20101
20102 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20103 in .section pseudo-op.
20104
adde2bff
DE
201052014-02-20 lin zuojian <manjian2006@gmail.com>
20106 Joel Brobecker <brobecker@adacore.com>
20107 Doug Evans <xdje42@gmail.com>
20108
20109 PR symtab/16581
20110 * gdb.dwarf2/dw2-icycle.S: New file.
20111 * gdb.dwarf2/dw2-icycle.c: New file.
20112 * gdb.dwarf2/dw2-icycle.exp: New file.
20113
f7bd0f78
SC
201142014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20115
20116 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20117 operations on gdb.Value objects.
20118 * gdb.python/py-value-cc.exp: Add new test to test operations on
20119 gdb.Value objects.
20120
c17ef0d5
DE
201212014-02-18 Doug Evans <dje@google.com>
20122
20123 * Makefile.in (TESTS): New variable.
20124 (expanded_tests, expanded_tests_or_none): New variables
20125 (check-single): Pass $(expanded_tests_or_none) to runtest.
20126 (check-parallel): Only run tests in $(TESTS) if non-empty.
20127 (check/no-matching-tests-found): New rule.
20128 * README: Document TESTS makefile variable.
20129
5dd3176f
DE
201302014-02-18 Doug Evans <dje@google.com>
20131
20132 * Makefile.in (check-parallel): rm -rf outputs temp.
20133
0b10be4f
JK
201342014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20135
20136 Fix "ERROR: no fileid for" in the testsuite.
20137 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20138
85f224e7
DE
201392014-02-12 Doug Evans <dje@google.com>
20140
20141 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20142 (MISCELLANEOUS): New variable.
20143 (clean): rm -rf $(MISCELLANEOUS).
20144 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20145 dwp live in the same directory as symlinks, with each symlink pointed
20146 to a differently named file in a different directory.
20147
149b30ff
DE
201482014-02-11 Doug Evans <dje@google.com>
20149
20150 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20151 of Tcl file commands.
20152
1dfdac32
MK
201532014-02-10 Mark Kettenis <kettenis@gnu.org>
20154
20155 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20156 "kill -SIGUSR1 -1".
20157
aa4fb036
JB
201582014-02-10 Joel Brobecker <brobecker@adacore.com>
20159
20160 * gdb.ada/tick_length_array_enum_idx: New testcase.
20161
ed3ef339
DE
201622014-02-10 Doug Evans <xdje42@gmail.com>
20163
20164 * configure.ac (AC_OUTPUT): Add gdb.guile.
20165 * configure: Regenerate.
20166 * lib/gdb-guile.exp: New file.
20167 * lib/gdb.exp (get_target_charset): New function.
20168 * gdb.base/help.exp: Update expected output from "apropos apropos".
20169 * gdb.guile/Makefile.in: New file.
20170 * gdb.guile/guile.exp: New file.
20171 * gdb.guile/scm-arch.c: New file.
20172 * gdb.guile/scm-arch.exp: New file.
20173 * gdb.guile/scm-block.c: New file.
20174 * gdb.guile/scm-block.exp: New file.
20175 * gdb.guile/scm-breakpoint.c: New file.
20176 * gdb.guile/scm-breakpoint.exp: New file.
20177 * gdb.guile/scm-disasm.c: New file.
20178 * gdb.guile/scm-disasm.exp: New file.
20179 * gdb.guile/scm-equal.c: New file.
20180 * gdb.guile/scm-equal.exp: New file.
20181 * gdb.guile/scm-error.exp: New file.
20182 * gdb.guile/scm-error.scm: New file.
20183 * gdb.guile/scm-frame-args.c: New file.
20184 * gdb.guile/scm-frame-args.exp: New file.
20185 * gdb.guile/scm-frame-args.scm: New file.
20186 * gdb.guile/scm-frame-inline.c: New file.
20187 * gdb.guile/scm-frame-inline.exp: New file.
20188 * gdb.guile/scm-frame.c: New file.
20189 * gdb.guile/scm-frame.exp: New file.
20190 * gdb.guile/scm-generics.exp: New file.
20191 * gdb.guile/scm-gsmob.exp: New file.
20192 * gdb.guile/scm-iterator.c: New file.
20193 * gdb.guile/scm-iterator.exp: New file.
20194 * gdb.guile/scm-math.c: New file.
20195 * gdb.guile/scm-math.exp: New file.
20196 * gdb.guile/scm-objfile-script-gdb.in: New file.
20197 * gdb.guile/scm-objfile-script.c: New file.
20198 * gdb.guile/scm-objfile-script.exp: New file.
20199 * gdb.guile/scm-objfile.c: New file.
20200 * gdb.guile/scm-objfile.exp: New file.
20201 * gdb.guile/scm-ports.exp: New file.
20202 * gdb.guile/scm-pretty-print.c: New file.
20203 * gdb.guile/scm-pretty-print.exp: New file.
20204 * gdb.guile/scm-pretty-print.scm: New file.
20205 * gdb.guile/scm-section-script.c: New file.
20206 * gdb.guile/scm-section-script.exp: New file.
20207 * gdb.guile/scm-section-script.scm: New file.
20208 * gdb.guile/scm-symbol.c: New file.
20209 * gdb.guile/scm-symbol.exp: New file.
20210 * gdb.guile/scm-symtab-2.c: New file.
20211 * gdb.guile/scm-symtab.c: New file.
20212 * gdb.guile/scm-symtab.exp: New file.
20213 * gdb.guile/scm-type.c: New file.
20214 * gdb.guile/scm-type.exp: New file.
20215 * gdb.guile/scm-value-cc.cc: New file.
20216 * gdb.guile/scm-value-cc.exp: New file.
20217 * gdb.guile/scm-value.c: New file.
20218 * gdb.guile/scm-value.exp: New file.
20219 * gdb.guile/source2.scm: New file.
20220 * gdb.guile/types-module.cc: New file.
20221 * gdb.guile/types-module.exp: New file.
20222
7026a7c1
YQ
202232014-02-10 Yao Qi <yao@codesourcery.com>
20224
20225 PR testsuite/16543
20226 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20227 * configure: Regenerated.
20228 * Makefile.in: New file.
20229
6c466447
AS
202302014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20231
20232 * gdb.python/py-framefilter.exp: Fix typo.
20233
6e854735
YQ
202342014-02-08 Yao Qi <yao@codesourcery.com>
20235
20236 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20237 that no =breakpoint-modified is emitted when breakpoints are
20238 modified through MI commands.
20239
d137e6dc
PA
202402014-02-07 Pedro Alves <pedro@codesourcery.com>
20241 Pedro Alves <palves@redhat.com>
20242
20243 * gdb.threads/step-after-sr-lock.c: New file.
20244 * gdb.threads/step-after-sr-lock.exp: New file.
20245
b5ee5a50
PA
202462014-02-07 Pedro Alves <palves@redhat.com>
20247
20248 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20249
3c77faf3
JK
202502014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20251
20252 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20253 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20254
6dddc817
DE
202552014-02-06 Doug Evans <xdje42@gmail.com>
20256
20257 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20258 output.
20259
20260 * gdb.gdb/python-interrupts.exp: New file.
20261
de7b2893
YQ
202622014-02-05 Yao Qi <yao@codesourcery.com>
20263
20264 * gdb.trace/report.exp (use_collected_data): Test the output
20265 of "info threads" and "info inferiors".
20266
66d032ac
YQ
202672014-02-05 Yao Qi <yao@codesourcery.com>
20268
20269 Revert this patch:
20270
20271 2013-05-24 Yao Qi <yao@codesourcery.com>
20272
20273 * gdb.trace/tfile.exp: Test inferior and thread.
20274
591a12a1
UW
202752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20276
20277 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20278 on a function.
20279 * gdb.base/step-bt.c: Call hello via function pointer to make
20280 sure its first instruction is executed on powerpc64le-linux.
20281
0ff3e01f
UW
202822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20283
20284 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20285
084ee545
UW
202862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20287
20288 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20289 of the test patterns for use on little-endian systems.
20290
6ed14ff3
UW
202912014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20292
20293 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20294 (decimal_vector): Fix for little-endian.
20295
401e27fd
JM
202962014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20297
20298 * gdb.arch/sparc-sysstep.exp: New file.
20299 * gdb.arch/sparc-sysstep.c: Likewise.
20300
20301 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20302
8b924729
EBM
203032014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20304
20305 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20306
fb151210
JB
203072014-01-23 Tom Tromey <tromey@redhat.com>
20308
20309 * gdb.ada/array_char_idx: New testcase.
20310
0740f8d8
TT
203112014-01-23 Tom Tromey <tromey@redhat.com>
20312
20313 PR python/16487:
20314 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20315 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20316 classes.
20317
21909fa1
TT
203182014-01-23 Tom Tromey <tromey@redhat.com>
20319
20320 PR python/16491:
20321 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20322 string from an inferior frame.
20323 * gdb.python/py-framefilter-mi.exp: Update.
20324
87ce2a04
DE
203252014-01-22 Doug Evans <dje@google.com>
20326
20327 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20328
237b092b
AA
203292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20330
20331 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20332
d674a709
AA
203332014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20334
20335 * gdb.trace/entry-values.exp: Remove excess space character from
20336 regex patterns. Handle s390 call instruction.
20337
20fa3390
AA
203382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20339
20340 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20341 define "*_start" label. Make "name" static.
20342 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20343 ${name} by references to ${name}_start.
20344
78466714
AA
203452014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20346
20347 * gdb.base/info-macros.exp: Remove "debug" from the compile
20348 options.
20349
ec9f644a
IB
203502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20351
20352 * gdb.dlang/demangle.exp: New file.
20353
94b1b47e
IB
203542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20355
20356 * gdb.dlang/primitive-types.exp: New file.
20357
7f420862
IB
203582014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20359
20360 * configure.ac: Create gdb.dlang/Makefile.
20361 * configure: Regenerate.
20362 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20363 * gdb.dlang/Makefile.in: New file.
20364 * lib/d-support.exp: New file.
20365 * lib/gdb.exp (skip_d_tests): New proc.
20366
52834460
MM
203672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20368
20369 * gdb.btrace/delta.exp: Check reverse stepi.
20370 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20371 * gdb.btrace/finish.exp: New.
20372 * gdb.btrace/next.exp: New.
20373 * gdb.btrace/nexti.exp: New.
20374 * gdb.btrace/record_goto.c: Add comments.
20375 * gdb.btrace/step.exp: New.
20376 * gdb.btrace/stepi.exp: New.
20377 * gdb.btrace/multi-thread-step.c: New.
20378 * gdb.btrace/multi-thread-step.exp: New.
20379 * gdb.btrace/rn-dl-bind.c: New.
20380 * gdb.btrace/rn-dl-bind.exp: New.
20381 * gdb.btrace/data.c: New.
20382 * gdb.btrace/data.exp: New.
20383 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20384
6e07b1d2
MM
203852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20386
20387 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20388 * gdb.btrace/exception.exp: Update.
20389 * gdb.btrace/instruction_history.exp: Update.
20390 * gdb.btrace/record_goto.exp: Update.
20391 * gdb.btrace/tailcall.exp: Update.
20392 * gdb.btrace/unknown_functions.exp: Update.
20393 * gdb.btrace/delta.exp: New.
20394
0b722aec
MM
203952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20396
20397 * gdb.btrace/record_goto.exp: Add backtrace test.
20398 * gdb.btrace/tailcall.exp: Add backtrace test.
20399
066ce621
MM
204002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20401
20402 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20403 * gdb.btrace/record_goto.c: New.
20404 * gdb.btrace/record_goto.exp: New.
20405 * gdb.btrace/x86-record_goto.S: New.
20406
0688d04e
MM
204072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20408
20409 * gdb.btrace/function_call_history.exp: Update tests.
20410 * gdb.btrace/instruction_history.exp: Update tests.
20411
8710b709
MM
204122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20413
20414 * gdb.btrace/function_call_history.exp: Fix expected field
20415 order for "record function-call-history".
20416 Add new tests for "record function-call-history /c".
20417 * gdb.btrace/exception.cc: New.
20418 * gdb.btrace/exception.exp: New.
20419 * gdb.btrace/tailcall.exp: New.
20420 * gdb.btrace/x86-tailcall.S: New.
20421 * gdb.btrace/x86-tailcall.c: New.
20422 * gdb.btrace/unknown_functions.c: New.
20423 * gdb.btrace/unknown_functions.exp: New.
20424 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20425
5de9129b
MM
204262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20427
20428 * gdb.btrace/instruction_history.exp: Update.
20429 * gdb.btrace/function_call_history.exp: Update.
20430
23a7fe75
MM
204312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20432
20433 * gdb.btrace/function_call_history.exp: Fix expected function
20434 trace.
20435 * gdb.btrace/instruction_history.exp: Initialize traced.
20436 Remove traced_functions.
20437
724c7dd8
MM
204382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20439
20440 * gdb.btrace/function_call_history.exp: Update
20441 * gdb.btrace/instruction_history.exp: Update.
20442
6d78d93b
MM
204432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20444
20445 * gdb.btrace/enable.exp: Update expected text.
20446
93a360cc
OJ
204472014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20448
20449 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20450 bytes.
20451
3772b53f
MR
204522014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20453
20454 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20455
596662fa
OJ
204562014-01-15 Omair Javaid <omair.javaid@linaro.org>
20457
20458 * lib/gdb.exp (supports_process_record): Return true for
20459 arm*-linux*. (supports_reverse): Likewise.
20460
b5b08fb4
SC
204612014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20462
20463 PR python/15464
20464 PR python/16113
20465 * gdb.python/py-type.c: Enhance test case.
20466 * gdb.python/py-value-cc.cc: Likewise
20467 * gdb.python/py-type.exp: Add new tests.
20468 * gdb.python/py-value-cc.exp: Likewise
20469
52d7fb13
AA
204702014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20471 Pedro Alves <palves@redhat.com>
20472
20473 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20474 Make "name" extern.
20475 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20476 references to ${name}_start by references to ${name}.
20477
a2cd8cfe
JB
204782014-01-10 Joel Brobecker <brobecker@adacore.com>
20479
20480 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20481
4e23fced
JB
204822014-01-10 Joel Brobecker <brobecker@adacore.com>
20483
20484 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20485
c6a9e42c
PA
204862014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20487 Pedro Alves <palves@redhat.com>
20488
20489 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 20490 mi_gdb_target_load.
c6a9e42c 20491
b7ea362b
PA
204922014-01-08 Pedro Alves <palves@redhat.com>
20493
20494 * gdb.threads/reconnect-signal.c: New file.
20495 * gdb.threads/reconnect-signal.exp: New file.
20496
5e3f4fab
EBM
204972014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20498
20499 * gdb.base/source-dir.exp: New file.
20500
79301218
JB
205012014-01-07 Joel Brobecker <brobecker@adacore.com>
20502
20503 * gdb.ada/mi_interface: New testcase.
20504
8e355c5d
JB
205052014-01-07 Joel Brobecker <brobecker@adacore.com>
20506
20507 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20508 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20509 gdb.ada/pp-rec-component/pck.ads: New files.
20510
c0d48811
JB
205112014-01-07 Joel Brobecker <brobecker@adacore.com>
20512
20513 * gdb.python/py-pp-integral.c: New file.
20514 * gdb.python/py-pp-integral.py: New file.
20515 * gdb.python/py-pp-integral.exp: New file.
20516
17b609c3 20517For older changes see ChangeLog-1993-2013.
c906108c 20518\f
8d8cb839
EZ
20519;; Local Variables:
20520;; mode: change-log
20521;; left-margin: 8
20522;; fill-column: 74
20523;; version-control: never
20524;; End:
902f2ccb 20525
b811d2c2 20526 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
20527 Copying and distribution of this file, with or without modification,
20528 are permitted provided the copyright notice and this notice are preserved.
This page took 5.27525 seconds and 4 git commands to generate.