[gdb/testsuite] Add pseudo line number program instruction: line
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-07-16 Tom de Vries <tdevries@suse.de>
2
3 * lib/dwarf.exp (program): Initialize _line.
4 (DW_LNE_end_sequence): Reinitialize _line.
5 (DW_LNS_advance_line): Update _line.
6 (line): New proc.
7 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
8 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
9 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
10 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
11 * gdb.dwarf2/dw2-is-stmt.exp: Same.
12 * gdb.dwarf2/dw2-ranges-func.exp: Same.
13
14 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
15
16 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
17 generic.
18
19 2020-07-15 Tom de Vries <tdevries@suse.de>
20
21 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
22 is_amd64_regs_target.
23
24 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
25
26 * gdb.fortran/ptype-on-functions.exp: Add more tests.
27 * gdb.fortran/ptype-on-functions.f90: Likewise.
28
29 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
30
31 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
32 values in documentation for addr_size to 4 and 8.
33
34 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
35
36 * gdb.arch/amd64-osabi.exp: Update.
37 * gdb.arch/arm-disassembler-options.exp: Update.
38 * gdb.arch/powerpc-disassembler-options.exp: Update.
39 * gdb.arch/ppc64-symtab-cordic.exp: Update.
40 * gdb.arch/s390-disassembler-options.exp: Update.
41 * gdb.base/all-architectures.exp.tcl: Update.
42 * gdb.base/attach-pie-noexec.exp: Update.
43 * gdb.base/catch-syscall.exp: Update.
44 * gdb.xml/tdesc-arch.exp: Update.
45
46 2020-07-14 Tom de Vries <tdevries@suse.de>
47
48 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
49 (local_gettid): ... this.
50 (fn): Update.
51
52 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
53
54 * gdb.base/info_sources.exp: Skip directory match tests on
55 remote hosts.
56
57 2020-07-13 Gary Benson <gbenson@redhat.com>
58
59 * gdb.base/savedregs.exp (caller): Use parentheses to
60 make expected expression evaluation ordering explicit.
61
62 2020-07-13 Gary Benson <gbenson@redhat.com>
63
64 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
65
66 2020-07-13 Gary Benson <gbenson@redhat.com>
67
68 * gdb.base/bigcore.c (main): Use a volatile pointer when
69 attempting to trigger a SIGSEGV.
70 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
71 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
72 * gdb.base/savedregs.c (thrower): Likewise.
73 * gdb.mi/mi-syn-frame.c (bar): Likewise.
74
75 2020-07-13 Gary Benson <gbenson@redhat.com>
76
77 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
78 defining and using VLA structure fields into...
79 * gdb.base/vla-struct-fields.c: New file.
80 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
81 tests into...
82 * gdb.base/vla-struct-fields.exp: New file.
83
84 2020-07-13 Tom de Vries <tdevries@suse.de>
85
86 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
87 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
88 * gdb.base/gold-gdb-index.exp: Same.
89 * gdb.base/morestack.exp: Same.
90
91 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
92
93 PR rust/26121
94 * gdb.rust/modules.rs: Prevent linker from discarding test
95 symbol.
96
97 2020-07-10 Pedro Alves <pedro@palves.net>
98
99 PR gdb/26199
100 * gdb.multi/multi-target.c (exit_thread): New.
101 (thread_start): Break loop if EXIT_THREAD.
102 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
103 (top level) Call test_no_resumed.
104
105 2020-07-08 Tom Tromey <tromey@adacore.com>
106
107 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
108 * gdb.ada/catch_ex.exp: Examine catchpoint text.
109
110 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
111
112 PR python/22748
113 * gdb.opt/inline-frame-tailcall.c: New file.
114 * gdb.opt/inline-frame-tailcall.exp: New file.
115 * gdb.python/py-unwind-inline.c: New file.
116 * gdb.python/py-unwind-inline.exp: New file.
117 * gdb.python/py-unwind-inline.py: New file.
118
119 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
120
121 * gdb.python/py-arch-reg-groups.exp: New file.
122
123 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
124
125 * gdb.python/py-arch-reg-names.exp: New file.
126
127 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
128
129 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
130 gdb.PendingFrame.architecture method.
131
132 2020-07-06 Tom de Vries <tdevries@suse.de>
133
134 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
135
136 2020-07-03 Pedro Alves <palves@redhat.com>
137
138 * gdb.base/structs2.c (main): Adjust second parem_reg call to
139 explicitly write negative numbers.
140 * gdb.base/structs2.exp: Adjust expected output.
141
142 2020-07-03 Pedro Alves <palves@redhat.com>
143
144 * gdb.base/charset.c (init_string): Change all char parameters to
145 unsigned char parameters.
146
147 2020-07-03 Pedro Alves <palves@redhat.com>
148
149 * gdb.base/call-sc.exp (start_scalars_test): Use
150 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
151 * gdb.base/overlays.c: Remove references to PARAMS.
152 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
153 * gdb.base/reread.exp: Don't set 'prototypes' global.
154 * gdb.base/structs.exp (start_structs_test): Use
155 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
156 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
157 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
158 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
159 call.
160 * gdb.base/varargs.exp: Don't set 'prototypes' global.
161
162 2020-07-03 Pedro Alves <palves@redhat.com>
163
164 * gdb.base/m32rovly.c: Delete.
165 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
166
167 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
168
169 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
170 of gdb_py_test_multiple.
171 * gdb.python/py-cmd.exp: Likewise.
172 * gdb.python/py-events.exp: Likewise.
173 * gdb.python/py-function.exp: Likewise.
174 * gdb.python/py-inferior.exp: Likewise.
175 * gdb.python/py-infthread.exp: Likewise.
176 * gdb.python/py-linetable.exp: Likewise.
177 * gdb.python/py-parameter.exp: Likewise.
178 * gdb.python/py-value.exp: Likewise.
179
180 2020-06-30 Tom de Vries <tdevries@suse.de>
181
182 PR testsuite/26175
183 * lib/future.exp (gdb_default_target_compile): Detect and handle
184 early_flags.
185
186 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
187
188 * boards/simavr.exp (gdb_load): Catch errors when closing
189 previous connection. Close connection, wait for process and
190 unset simavr_spawn_id on failure.
191
192 2020-06-29 Tom de Vries <tdevries@suse.de>
193
194 * lib/gdb.exp (unknown): Make test-case unresolved.
195
196 2020-06-29 Tom de Vries <tdevries@suse.de>
197
198 PR gdb/25475
199 * gdb.server/solib-list.exp: Verify that the symbol reload
200 confirmation question is asked.
201
202 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
203
204 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
205 have a input seq nr in each pass message.
206 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
207 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
208 * gdb.python/python.exp: Make test names unique,
209 use gdb_test_multiline instead of gdb_py_test_multiple,
210 use $gdb_test_name.
211 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
212
213 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
214
215 * configure.ac: Add --enable-libctf.
216 * aclocal.m4: sinclude ../config/enable.m4.
217 * Makefile.in (site.exp): Add enable_libctf to site.exp.
218 * lib/gdb.exp (skip_ctf_tests): Use it.
219 * gdb.base/ctf-constvars.exp: Error message tweak.
220 * gdb.base/ctf-ptype.exp: Likewise.
221 * configure: Regenerate.
222
223 2020-06-26 Gary Benson <gbenson@redhat.com>
224
225 * gdb.cp/try_catch.cc: Include string.h.
226 (main): Replace comparison against string literal with
227 strcmp, avoiding build failure with -Wstring-compare.
228 Add "marker test-complete".
229 * gdb.cp/try_catch.exp: Run the test to the above marker,
230 then verify that the value of "test" is still true.
231
232 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
233
234 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
235
236 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
237
238 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
239
240 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
243 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
244 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
245 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
246 * gdb.arch/riscv-tdesc-loading.exp: New file.
247
248 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
249
250 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
251
252 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
253
254 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
255 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
256 * gdb.arch/riscv-tdesc-regs.c: New file.
257 * gdb.arch/riscv-tdesc-regs.exp: New file.
258
259 2020-06-24 Pedro Alves <palves@redhat.com>
260
261 * gdb.arch/amd64-entry-value-paramref.exp: Use
262 prepare_for_testing_full and don't pass "c++" for the .S file
263 build spec.
264 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
265 $options, since it's an assembly file. Remove -Wno-deprecated.
266 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
267 compiling C++ programs.
268
269 2020-06-24 Pedro Alves <palves@redhat.com>
270
271 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
272 Clang, add "-Wno-unknown-warning-option" to the options.
273
274 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
275
276 * gdb.xml/tdesc-reload.c: New file.
277 * gdb.xml/tdesc-reload.exp: New file.
278 * gdb.xml/maint-xml-dump-01.xml: New file.
279 * gdb.xml/maint-xml-dump-02.xml: New file.
280 * gdb.xml/maint-xml-dump.exp: New file.
281
282 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
283
284 * lib/completion-support.exp (test_gdb_completion_offers_commands):
285 Adjust for omitted commands when TUI is disabled.
286
287 2020-06-23 Gary Benson <gbenson@redhat.com>
288 Pedro Alves <palves@redhat.com>
289
290 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
291 * gdb.cp/nsimport.cc: Likewise.
292 * gdb.cp/nsnested.cc: Likewise.
293 * gdb.cp/nsnoimports.cc: Likewise.
294 * gdb.cp/nsusing.cc: Likewise.
295 * gdb.cp/smartp.cc: Likewise.
296 * gdb.python/py-pp-integral.c: Likewise.
297 * gdb.python/py-pp-re-notag.c: Likewise.
298
299 2020-06-23 Gary Benson <gbenson@redhat.com>
300
301 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
302 * gdb.cp/nsimport.cc: Likewise.
303 * gdb.cp/nsnested.cc: Likewise.
304 * gdb.cp/nsnoimports.cc: Likewise.
305 * gdb.cp/nsusing.cc: Likewise.
306 * gdb.cp/smartp.cc: Likewise.
307 * gdb.python/py-pp-integral.c: Likewise.
308 * gdb.python/py-pp-re-notag.c: Likewise.
309
310 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
311
312 * gdb.base/default-args.exp: New test.
313 * gdb.base/default-args.c: New file.
314 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
315 * gdb.base/default.exp: Update to new help text.
316 * gdb.base/help.exp: Likewise.
317 * gdb.base/page.exp: Likewise.
318 * gdb.base/style.exp: Likewise.
319 * gdb.guile/guile.exp: Likewise.
320 * gdb.python/python.exp: Likewise.
321
322 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
323
324 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
325 remote host. Fix search path syntax on Windows host.
326
327 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
328
329 * gdb.base/attach.exp: Test priority of 'exec-file' changed
330 over 'exec-file-mismatch'.
331 * gdb.base/attach.c: Mark should_exit volatile.
332 * gdb.base/attach2.c: Likewise. Add a comment explaining
333 why the sleep cannot be big.
334 * gdb.base/attach3.c: New file.
335
336 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
337
338 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
339 prefix optional.
340
341 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
342
343 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
344 for remote host.
345
346 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
347 Hafiz Abid Qadeer <abidh@codesourcery.com>
348
349 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
350 file sent to remote host.
351 (top level): Allow int32_t as type of 32-bit register.
352
353 2020-06-19 Tom de Vries <tdevries@suse.de>
354
355 * lib/gdb.exp (gdb_note): New proc.
356 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
357 (gdb_default_target_compile): ... here. Only call
358 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
359 (use_gdb_compile): Change to array.
360 (toplevel): Update sets of use_gdb_compile to specify language.
361 Warn about default_target_compile override. Store dejagnu's version
362 of default_target_compile in dejagnu_default_target_compile.
363
364 2020-06-18 Tom de Vries <tdevries@suse.de>
365
366 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
367 (default_gdb_init): ... here.
368
369 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
370
371 Fix TUI support checks in gdb.tui tests.
372
373 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
374 just say UNSUPPORTED.
375 * gdb.tui/corefile-run.exp: Likewise.
376 * gdb.tui/empty.exp: Likewise.
377 * gdb.tui/list-before.exp: Likewise.
378 * gdb.tui/list.exp: Likewise.
379 * gdb.tui/main.exp: Likewise.
380 * gdb.tui/regs.exp: Likewise.
381 * gdb.tui/resize.exp: Likewise.
382 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
383 * gdb.tui/tui-layout-asm.exp: Likewise.
384 * gdb.tui/tui-missing-src.exp: Likewise.
385 * gdb.tui/winheight.exp: Likewise.
386 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
387
388 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
389
390 Fix TCL error in gdb.python/py-format-string.exp.
391
392 * gdb.python/py-format-string.exp: Move test for python support
393 earlier, out of function body.
394
395 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
396
397 * gdb.base/index-cache-load-twice.c: New.
398 * gdb.base/index-cache-load-twice.exp: New.
399
400 2020-06-17 Keith Seitz <keiths@redhat.com>
401
402 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
403 when executing "gdb --configuration".
404
405 2020-06-17 Tom de Vries <tdevries@suse.de>
406
407 * lib/gdb.exp (gdb_tcl_unknown): New proc.
408 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
409 conditional on presence of gdb_tcl_unknown.
410 (gdb_finish): Make override undo conditional on presence of
411 gdb_tcl_unknown.
412
413 2020-06-16 Tom Tromey <tom@tromey.com>
414
415 * gdb.python/tui-window.py (failwin): New function. Register it
416 as a TUI window type.
417 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
418
419 2020-06-16 Gary Benson <gbenson@redhat.com>
420
421 * gdb.python/py-nested-maps.c (create_map): Add missing return
422 value.
423 (create_map_map): Likewise.
424
425 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
426
427 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
428 variable.
429 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
430 and use the already-defined 'options' variable.
431
432 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
433 Tom de Vries <tdevries@suse.de>
434
435 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
436 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
437 (gdb_setup_known_globals): New proc.
438 (gdb_cleanup_globals): New proc.
439 * lib/gdb.exp (load_lib): New override proc.
440 (gdb_stdin_log_init): Set var in_file as persistent global.
441 * lib/pascal.exp (gdb_stdin_log_init): Set vars
442 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
443 fpc_compiler as persistent global.
444
445 2020-06-12 Tom de Vries <tdevries@suse.de>
446
447 * lib/tuiterm.exp (spawn): Rename to ...
448 (tui_spawn): ... this.
449 (toplevel): Move rename of spawn ...
450 (gdb_init_tuiterm): ... here. New proc.
451 (gdb_finish_tuiterm): New proc.
452 * lib/gdb.exp (gdb_finish_hooks): New global var.
453 (gdb_finish): Handle gdb_finish_hooks.
454 (tuiterm_env): New proc.
455 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
456 tuiterm_env.
457 * gdb.tui/basic.exp: Same.
458 * gdb.tui/corefile-run.exp: Same.
459 * gdb.tui/empty.exp: Same.
460 * gdb.tui/list-before.exp: Same.
461 * gdb.tui/list.exp: Same.
462 * gdb.tui/main.exp: Same.
463 * gdb.tui/new-layout.exp: Same.
464 * gdb.tui/regs.exp: Same.
465 * gdb.tui/resize.exp: Same.
466 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
467 * gdb.tui/tui-layout-asm.exp: Same.
468 * gdb.tui/tui-missing-src.exp: Same.
469 * gdb.tui/winheight.exp: Same.
470
471 2020-06-12 Tom de Vries <tdevries@suse.de>
472
473 PR testsuite/26110
474 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
475 (gdb_finish): Reinstall dejagnu's override of ::unknown.
476
477 2020-06-11 Tom Tromey <tom@tromey.com>
478
479 PR gdb/18318:
480 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
481 floating point tests.
482
483 2020-06-11 Keith Seitz <keiths@redhat.com>
484
485 PR gdb/21356
486 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
487 vla_struct.
488 Add new struct vla_typedef and union vla_typedef_union and
489 corresponding instantiation objects.
490 Initialize new objects.
491 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
492 and vla_typedef_union_object.
493 Fixup type for vla_struct_object.
494
495 2020-06-11 Tom de Vries <tdevries@suse.de>
496
497 * lib/gdb.exp (with_override): New proc, factored out of ...
498 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
499
500 2020-06-10 Tom de Vries <tdevries@suse.de>
501
502 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
503
504 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
505
506 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
507 parameter, update callers.
508
509 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
510
511 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
512 * gdb.dwarf2/share-psymtabs-bt.c: New file.
513 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
514
515 2020-06-04 Tom de Vries <tdevries@suse.de>
516
517 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
518
519 2020-06-04 Tom de Vries <tdevries@suse.de>
520
521 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
522 exp_continue.
523
524 2020-06-04 Tom de Vries <tdevries@suse.de>
525
526 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
527
528 2020-06-03 Tom de Vries <tdevries@suse.de>
529
530 PR symtab/26046
531 * gdb.cp/breakpoint-locs-2.cc: New test.
532 * gdb.cp/breakpoint-locs.cc: New test.
533 * gdb.cp/breakpoint-locs.exp: New file.
534 * gdb.cp/breakpoint-locs.h: New test.
535
536 2020-06-03 Tom de Vries <tdevries@suse.de>
537
538 PR testsuite/25609
539 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
540 value of global verbose.
541 * gdb.base/jit-elf.exp: Same.
542 * gdb.base/jit-reader.exp: Same.
543
544 2020-06-02 Tom de Vries <tdevries@suse.de>
545
546 * gdb.dwarf2/multidictionary.exp: Don't use
547 gdb_spawn_with_cmdline_opts.
548
549 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
550
551 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
552 use_header case.
553 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
554 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
555 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
556 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
557 * gdb.dwarf2/dw2-inline-header.c: New file.
558 * gdb.dwarf2/dw2-inline-header.h: New file.
559
560 2020-05-30 Pedro Alves <palves@redhat.com>
561
562 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
563 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
564
565 2020-05-29 Gary Benson <gbenson@redhat.com>
566
567 * gdb.compile/compile-cplus.exp (additional_flags): Also
568 set when building with clang.
569 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
570 when building with clang.
571
572 2020-05-29 Gary Benson <gbenson@redhat.com>
573
574 * gdb.arch/i386-avx.exp (additional_flags): Also set when
575 building with clang.
576 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
577
578 2020-05-29 Gary Benson <gbenson@redhat.com>
579
580 * gdb.cp/koenig.exp (prepare_for_testing): Add
581 additional_flags=-Wno-unused-comparison.
582 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
583
584 2020-05-28 Gary Benson <gbenson@redhat.com>
585
586 * gdb.base/sigaltstack.c (catcher): Add default case to switch
587 statement.
588
589 2020-05-28 Gary Benson <gbenson@redhat.com>
590
591 * gdb.cp/classes.exp (prepare_for_testing): Add
592 additional_flags=-Wno-deprecated-register.
593 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
594 * gdb.cp/misc.exp: Likewise.
595
596 2020-05-28 Gary Benson <gbenson@redhat.com>
597
598 * gdb.linespec/cpls-ops.cc (dummy): New static global.
599 (test_op_new::operator new): Add return statement.
600 (test_op_new_array::operator new[]): Likewise.
601
602 2020-05-27 Pedro Alves <palves@redhat.com>
603
604 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
605 check. Use test_gdb_complete_unique instead of
606 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
607 test_gdb_complete_multiple instead of
608 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
609
610 2020-05-27 Luis Machado <luis.machado@linaro.org>
611
612 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
613 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
614 * gdb.arch/arm-disassembler-options.exp: Likewise.
615 * gdb.arch/arm-disp-step.exp: Likewise.
616 * gdb.arch/thumb-prologue.exp: Likewise.
617 * gdb.base/async.exp: Likewise.
618 * gdb.base/auxv.exp: Likewise.
619 * gdb.base/complex-parts.exp: Likewise.
620 * gdb.base/ena-dis-br.exp: Likewise.
621 * gdb.base/foll-exec.exp: Likewise.
622 * gdb.base/permissions.exp: Likewise.
623 * gdb.base/relocate.exp: Likewise.
624 * gdb.base/return2.exp: Likewise.
625 * gdb.base/sigbpt.exp: Likewise.
626 * gdb.base/siginfo-obj.exp: Likewise.
627 * gdb.cp/converts.exp: Likewise.
628 * gdb.cp/exceptprint.exp: Likewise.
629 * gdb.cp/inherit.exp: Likewise.
630 * gdb.cp/nsnoimports.exp: Likewise.
631 * gdb.cp/virtbase2.exp: Likewise.
632 * gdb.mi/mi-var-cmd.exp: Likewise.
633 * gdb.mi/var-cmd.c: Likewise.
634
635 2020-05-26 Tom Tromey <tromey@adacore.com>
636
637 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
638
639 2020-05-26 Tom Tromey <tromey@adacore.com>
640
641 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
642 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
643 type.
644 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
645 variable.
646
647 2020-05-26 Christian Biesinger <cbiesinger@google.com>
648
649 * Makefile.in: Use = instead of == for the test command
650 for portability.
651
652 2020-05-26 Tom de Vries <tdevries@suse.de>
653
654 * gdb.base/gold-gdb-index-2.c: New test.
655 * gdb.base/gold-gdb-index.c: New test.
656 * gdb.base/gold-gdb-index.exp: New file.
657 * gdb.base/gold-gdb-index.h: New test.
658
659 2020-05-25 Tom de Vries <tdevries@suse.de>
660
661 * boards/gold-gdb-index.exp: New file.
662
663 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
664
665 * boards/simavr.exp: New file.
666
667 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
668
669 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
670 * gdb.base/inferior-args.exp: New file.
671 * gdb.base/inferior-args.c: New file.
672
673 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
674
675 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
676 inferior_args. Pass it to gdb_reload.
677 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
678 inferior_args.
679 (gdb_reload): Add inferior_args argument.
680 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
681 pass it to gdbserver_run.
682 * boards/native-gdbserver.exp: Do not set noargs.
683 * boards/native-extended-gdbserver.exp (gdb_reload): Add
684 inferior_args argument.
685 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
686 * gdb.base/a2-run.exp: Check for use_gdb_stub.
687 * gdb.base/args.exp: Likewise.
688
689 2020-05-25 Tom de Vries <tdevries@suse.de>
690
691 * lib/gdb.exp (exec_is_pie): Add comment.
692
693 2020-05-25 Tom de Vries <tdevries@suse.de>
694
695 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
696 instead of $binfile in the untested message.
697
698 2020-05-25 Tom de Vries <tdevries@suse.de>
699
700 PR testsuite/26031
701 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
702
703 2020-05-25 Tom de Vries <tdevries@suse.de>
704
705 * boards/gold.exp: New file.
706
707 2020-05-23 Tom Tromey <tom@tromey.com>
708
709 * gdb.base/style.exp: Remove completion styling test.
710 * lib/gdb-utils.exp (style): Remove completion styles.
711
712 2020-05-23 Tom Tromey <tom@tromey.com>
713
714 * gdb.base/style.exp: Add completion styling test.
715 * lib/gdb-utils.exp (style): Add completion styles.
716
717 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
718
719 * gdb.base/annota1.exp: Update expected results.
720 * gdb.cp/annota2.exp: Update expected results, remove duplicate
721 test name.
722 * gdb.cp/annota3.exp: Update expected results.
723
724 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
725
726 PR gdb/26016
727 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
728 against MAP_FAILED.
729 * gdb.base/coremaker.c (mmapdata): Likewise.
730 * gdb.base/jit-reader-host.c (main): Likewise.
731 * gdb.base/sym-file-loader.c (load): Likewise.
732 (load_shlib): Likewise.
733
734 2020-05-20 Tom Tromey <tromey@adacore.com>
735
736 * gdb.ada/array_char_idx.exp: Recognize initialized array.
737
738 2020-05-20 Tom de Vries <tdevries@suse.de>
739
740 PR symtab/25833
741 * gdb.base/with-mf-inc.c: New test.
742 * gdb.base/with-mf-main.c: New test.
743 * gdb.base/with-mf.exp: New file.
744
745 2020-05-19 Tom Tromey <tromey@adacore.com>
746
747 * gdb.rust/simple.exp: Restore missing test result.
748
749 2020-05-19 Tom de Vries <tdevries@suse.de>
750
751 * gdb.base/gdb-caching-proc.exp: Fix typo.
752
753 2020-05-19 Tom Tromey <tromey@adacore.com>
754
755 * gdb.rust/simple.exp: Add some test descriptions.
756 (test_one_slice): Use with_test_prefix.
757
758 2020-05-18 Tom de Vries <tdevries@suse.de>
759
760 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
761
762 2020-05-17 Pedro Alves <palves@redhat.com>
763
764 PR gdb/25741
765 * gdb.base/hw-sw-break-same-address.exp: New file.
766
767 2020-05-16 Pedro Alves <palves@redhat.com>
768
769 * gdb.multi/multi-re-run.exp (test_re_run): Switch
770 LAST_LOADED_FILE accordingly.
771
772 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
773
774 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
775
776 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
777
778 * gdb.base/help.exp: Test apropos and help for commands
779 having aliases. Fixed comments not starting with an
780 upper-case letter or not finishing with a dot.
781
782 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
783
784 * gdb.base/alias.exp: Update help output check.
785
786 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
787
788 * gdb.base/default.exp: Update output following fixes.
789
790 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
791
792 * gdb.base/alias.exp: Test aliases starting with a prefix of
793 another alias.
794
795 2020-05-15 Gary Benson <gbenson@redhat.com>
796
797 * gdb.base/info-os.c (main): Add return statement.
798 * gdb.base/info_minsym.c (minsym_fun): Likewise.
799 * gdb.base/large-frame-2.c (func): Likewise.
800 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
801 * gdb.base/pr10179-b.c (foo2): Likewise.
802 * gdb.base/valgrind-disp-step.c (foo): Likewise.
803 * gdb.base/watch-cond.c (func): Likewise.
804 * gdb.multi/goodbye.c (verylongfun): Likewise.
805 * gdb.multi/hello.c (commonfun): Likewise.
806 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
807 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
808 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
809 Likewise.
810 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
811 * gdb.threads/interrupt-while-step-over.c (child_function):
812 Likewise.
813 * gdb.trace/actions-changed.c (end): Likewise.
814
815 2020-05-15 Gary Benson <gbenson@redhat.com>
816
817 * gdb.opencl/callfuncs.exp: Report when test skipped.
818 * gdb.opencl/convs_casts.exp: Likewise.
819 * gdb.opencl/datatypes.exp: Likewise.
820 * gdb.opencl/operators.exp: Likewise.
821 * gdb.opencl/vec_comps.exp: Likewise.
822
823 2020-05-15 Tom de Vries <tdevries@suse.de>
824
825 * gdb.base/align.exp.in: Rename to ...
826 * gdb.base/align.exp.tcl: ... this.
827 * gdb.base/align-c++.exp: Update.
828 * gdb.base/align-c.exp: Update.
829 * gdb.base/all-architectures.exp.in: Rename to ...
830 * gdb.base/all-architectures.exp: ... this.
831 * gdb.base/all-architectures-0.exp: Update.
832 * gdb.base/all-architectures-1.exp: Update.
833 * gdb.base/all-architectures-2.exp: Update.
834 * gdb.base/all-architectures-3.exp: Update.
835 * gdb.base/all-architectures-4.exp: Update.
836 * gdb.base/all-architectures-5.exp: Update.
837 * gdb.base/all-architectures-6.exp: Update.
838 * gdb.base/all-architectures-7.exp: Update.
839 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
840 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
841 * gdb.base/infcall-nested-structs-c++.exp: Update.
842 * gdb.base/infcall-nested-structs-c.exp: Update.
843 * gdb.base/info-types.exp.in: Rename to ...
844 * gdb.base/info-types.exp.tcl: ... this.
845 * gdb.base/info-types-c++.exp: Update.
846 * gdb.base/info-types-c.exp: Update.
847 * gdb.base/max-depth.exp.in: Rename to ...
848 * gdb.base/max-depth.exp.tcl: ... this.
849 * gdb.base/max-depth-c++.exp: Update.
850 * gdb.base/max-depth-c.exp: Update.
851 * gdb.cp/cpexprs.exp.in: Rename to ...
852 * gdb.cp/cpexprs.exp.tcl: ... this.
853 * gdb.cp/cpexprs-debug-types.exp: Update.
854 * gdb.cp/cpexprs.exp: Update.
855 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
856 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
857 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
858 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
859 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
860 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
861 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
862 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
863 * gdb.dwarf2/clang-debug-names-2.exp: Update.
864 * gdb.dwarf2/clang-debug-names.exp: Update.
865
866 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
867
868 * lib/check-test-names.exp: Remove code that prevents this file
869 loading when tests are run in parallel.
870
871 2020-05-15 Pedro Alves <palves@redhat.com>
872
873 * gdb.multi/multi-kill.exp (start_inferior): Remove
874 'testpid' parameter. Refer to namespace variable directly.
875 (testpid): Declare as namespace variable.
876
877 2020-05-15 Pedro Alves <palves@redhat.com>
878
879 * gdb.multi/multi-kill.exp: Wrap in namespace.
880 (start_inferior): Add TESTPID parameter. Use it instead of the
881 testpid global.
882 (top level): Define empty TESTPID array, and pass it down to
883 start_inferior.
884
885 2020-05-14 Tom de Vries <tdevries@suse.de>
886
887 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
888 output.
889
890 2020-05-14 Tom de Vries <tdevries@suse.de>
891
892 * gdb.base/align.exp: Split into ...
893 * gdb.base/align.exp.in: ...
894 * gdb.base/align-c++.exp: ...
895 * gdb.base/align-c.exp: ... these.
896 * gdb.base/infcall-nested-structs.exp: Split into ...
897 * gdb.base/infcall-nested-structs.exp.in: ...
898 * gdb.base/infcall-nested-structs-c++.exp: ...
899 * gdb.base/infcall-nested-structs-c.exp: ... these.
900 * gdb.base/info-types.exp: Split into ...
901 * gdb.base/info-types.exp.in: ...
902 * gdb.base/info-types-c++.exp: ...
903 * gdb.base/info-types-c.exp: ... these.
904 * gdb.base/max-depth.exp: Split into ...
905 * gdb.base/max-depth.exp.in: ...
906 * gdb.base/max-depth-c++.exp: ...
907 * gdb.base/max-depth-c.exp: ... these.
908 * gdb.cp/infcall-nodebug.exp: Split into ...
909 * gdb.cp/infcall-nodebug.exp.in: ...
910 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
911 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
912 * gdb.cp/infcall-nodebug-c-d0.exp: ...
913 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
914
915 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
916 Pedro Alves <palves@redhat.com>
917
918 * gdb.multi/multi-exit.c: New file.
919 * gdb.multi/multi-exit.exp: New file.
920 * gdb.multi/multi-kill.c: New file.
921 * gdb.multi/multi-kill.exp: New file.
922
923 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
924
925 * gdb.base/annota1.exp: Update the expected output.
926 * gdb.cp/annota2.exp: Ditto.
927
928 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
929
930 * lib/check-test-names.exp: Disable when testing is being run in
931 parallel.
932
933 2020-05-12 Tom de Vries <tdevries@suse.de>
934
935 * gdb.base/jit-elf.exp: Fix string concat.
936
937 2020-05-12 Tom de Vries <tdevries@suse.de>
938
939 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
940 messages.
941
942 2020-05-12 Tom de Vries <tdevries@suse.de>
943
944 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
945
946 2020-05-12 Tom de Vries <tdevries@suse.de>
947
948 * gdb.ada/catch_ex.exp: Use with_test_prefix.
949 * gdb.ada/mi_catch_ex.exp: Same.
950 * gdb.ada/mi_catch_ex_hand.exp: Same.
951
952 2020-05-12 Tom de Vries <tdevries@suse.de>
953
954 * gdb.fortran/complex.exp: Use with_test_prefix.
955
956 2020-05-12 Tom de Vries <tdevries@suse.de>
957
958 * gdb.trace/passcount.exp: Fix test-names.
959
960 2020-05-12 Tom de Vries <tdevries@suse.de>
961
962 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
963
964 2020-05-12 Tom de Vries <tdevries@suse.de>
965
966 * gdb.gdb/complaints.exp: Use with_test_prefix.
967 * gdb.xml/tdesc-regs.exp: Same.
968 * gdb.opt/inline-locals.exp: Fix test name.
969
970 2020-05-12 Tom de Vries <tdevries@suse.de>
971
972 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
973 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
974 * gdb.dwarf2/implref-struct.exp: Same.
975 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
976 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
977
978 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
979
980 * gdb.base/jit-so.exp (one_jit_test): Change test name.
981
982 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
983
984 * lib/check-test-names.exp (all_test_names): New module variable.
985 (counts): Add 'duplicates' field.
986 (_check_duplicates): New procedure.
987 (check): Also check for duplicates.
988 (do_log_summary): Print duplicates count.
989 (do_reset_vars): Reset counter for duplicate test names, and
990 discard all know test names.
991
992 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
993
994 * lib/gdb.exp: Include check-test-names.exp library.
995 * lib/check-test-names.exp: New file.
996
997 2020-05-11 Tom de Vries <tdevries@suse.de>
998
999 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1000
1001 2020-05-11 Keith Seitz <keiths@redhat.com>
1002
1003 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1004
1005 2020-05-11 Tom de Vries <tdevries@suse.de>
1006
1007 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1008 * gdb.cp/cpexprs.exp.in: .. here.
1009 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1010 cpexprs.exp.
1011
1012 2020-05-11 Keith Seitz <keiths@redhat.com>
1013
1014 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1015 test names.
1016 * gdb.ada/arrayptr.exp: Likewise.
1017 * gdb.ada/assign_arr.exp: Likewise.
1018 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1019 * gdb.ada/bp_on_var.exp: Likewise.
1020 * gdb.ada/call_pn.exp: Likewise.
1021 * gdb.ada/complete.exp: Likewise.
1022 * gdb.ada/fun_overload_menu.exp: Likewise.
1023 * gdb.ada/funcall_param.exp: Likewise.
1024 * gdb.ada/funcall_ref.exp: Likewise.
1025 * gdb.ada/packed_array_assign.exp: Likewise.
1026 * gdb.ada/same_component_name.exp: Likewise.
1027 * gdb.ada/type_coercion.exp: Likewise.
1028 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1029 * gdb.ada/variant_record_packed_array.exp: Likewise.
1030
1031 2020-05-11 Tom de Vries <tdevries@suse.de>
1032
1033 PR symtab/25941
1034 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1035 out of ...
1036 * gdb.dwarf2/clang-debug-names.exp: ... here.
1037 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1038 clang-debug-names.exp.in.
1039 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1040 * gdb.dwarf2/clang-debug-names-2.c: New test.
1041
1042 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1043
1044 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1045 (fortran_runto_main): New Proc, fortran version of runto_main.
1046 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1047 * gdb.fortran/array-bounds.exp: Likewise.
1048 * gdb.fortran/array-slices.exp: Likewise.
1049 * gdb.fortran/block-data.exp: Likewise.
1050 * gdb.fortran/charset.exp: Likewise.
1051 * gdb.fortran/common-block.exp: Likewise.
1052 * gdb.fortran/complex.exp: Likewise.
1053 * gdb.fortran/derived-type-function.exp: Likewise.
1054 * gdb.fortran/derived-type.exp: Likewise.
1055 * gdb.fortran/info-modules.exp: Likewise.
1056 * gdb.fortran/info-types.exp: Likewise.
1057 * gdb.fortran/intrinsics.exp: Likewise.
1058 * gdb.fortran/library-module.exp: Likewise.
1059 * gdb.fortran/logical.exp: Likewise.
1060 * gdb.fortran/max-depth.exp: Likewise.
1061 * gdb.fortran/module.exp: Likewise.
1062 * gdb.fortran/multi-dim.exp: Likewise.
1063 * gdb.fortran/nested-funcs.exp: Likewise.
1064 * gdb.fortran/print-formatted.exp: Likewise.
1065 * gdb.fortran/print_type.exp: Likewise.
1066 * gdb.fortran/printing-types.exp: Likewise.
1067 * gdb.fortran/ptr-indentation.exp: Likewise.
1068 * gdb.fortran/ptype-on-functions.exp: Likewise.
1069 * gdb.fortran/subarray.exp: Likewise.
1070 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1071 * gdb.fortran/vla-datatypes.exp: Likewise.
1072 * gdb.fortran/vla-history.exp: Likewise.
1073 * gdb.fortran/vla-ptr-info.exp: Likewise.
1074 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1075 * gdb.fortran/vla-ptype.exp: Likewise.
1076 * gdb.fortran/vla-sizeof.exp: Likewise.
1077 * gdb.fortran/vla-type.exp: Likewise.
1078 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1079 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1080 * gdb.fortran/vla-value-sub.exp: Likewise.
1081 * gdb.fortran/vla-value.exp: Likewise.
1082 * gdb.fortran/whatis_type.exp: Likewise.
1083 * gdb.mi/mi-var-child-f.exp: Likewise.
1084
1085 2020-05-09 Tom de Vries <tdevries@suse.de>
1086
1087 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1088
1089 2020-05-08 Tom de Vries <tdevries@suse.de>
1090
1091 * gdb.dwarf2/clang-debug-names.c: New test.
1092 * gdb.dwarf2/clang-debug-names.exp: New file.
1093
1094 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
1095
1096 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1097 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1098
1099 2020-05-06 Tom de Vries <tdevries@suse.de>
1100
1101 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1102 breakpoint is at a "recommended breakpoint location".
1103 * gdb.reverse/consecutive-reverse.exp: Same.
1104
1105 2020-05-06 Tom de Vries <tdevries@suse.de>
1106
1107 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1108 address.
1109
1110 2020-05-06 Tom de Vries <tdevries@suse.de>
1111
1112 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1113
1114 2020-05-06 Tom de Vries <tdevries@suse.de>
1115
1116 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1117 info for r.
1118
1119 2020-05-06 Tom de Vries <tdevries@suse.de>
1120
1121 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1122 necessary.
1123
1124 2020-05-06 Tom de Vries <tdevries@suse.de>
1125
1126 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1127 void.
1128
1129 2020-05-06 Tom de Vries <tdevries@suse.de>
1130
1131 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1132 of ...
1133 * gdb.base/async.exp: ... here.
1134 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1135 "recommended breakpoint location".
1136
1137 2020-05-06 Tom de Vries <tdevries@suse.de>
1138
1139 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1140
1141 2020-05-04 Tom de Vries <tdevries@suse.de>
1142
1143 * gdb.base/async.exp: Check whether instruction addresses are a
1144 "recommended breakpoint location".
1145
1146 2020-05-03 Tom Tromey <tom@tromey.com>
1147
1148 * gdb.base/sepdebug.exp: Remove "catch" test.
1149 * gdb.base/break.exp: Remove "catch" test.
1150 * gdb.base/default.exp: Update expected output.
1151
1152 2020-05-02 Tom de Vries <tdevries@suse.de>
1153
1154 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1155 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1156 * gdb.arch/i386-mpx-map.exp: Same.
1157 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1158 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1159 * gdb.arch/i386-mpx.exp: Same.
1160
1161 2020-05-02 Tom de Vries <tdevries@suse.de>
1162
1163 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1164
1165 2020-05-01 Tom de Vries <tdevries@suse.de>
1166
1167 * gdb.ada/operator_bp.exp: Allow more than required amount of
1168 breakpoint.
1169
1170 2020-05-01 Tom de Vries <tdevries@suse.de>
1171
1172 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1173
1174 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1175
1176 PR gdb/18706
1177 * gdb.cp/stub-array-size.cc: New test.
1178 * gdb.cp/stub-array-size.exp: New file.
1179 * gdb.cp/stub-array-size.h: New test.
1180 * gdb.cp/stub-array-size2.cc: New test.
1181
1182 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1183
1184 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1185 output to the new format.
1186
1187 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
1188
1189 * gdb.base/break.exp: Use with_test_prefix.
1190
1191 2020-04-29 Tom de Vries <tdevries@suse.de>
1192
1193 * lib/gdb.exp (debug_types): New proc.
1194 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1195 * gdb.python/py-symtab.exp: Same.
1196
1197 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
1198
1199 PR gdb/17320
1200 * gdb.base/pretty-array.c: New test.
1201 * gdb.base/pretty-array.exp: New file.
1202
1203 2020-04-29 Tom de Vries <tdevries@suse.de>
1204
1205 PR symtab/25889
1206 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1207 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1208 and include cpexprs.exp.
1209
1210 2020-04-28 Mark Williams <mark@myosotissp.com>
1211
1212 PR gdb/24480
1213 * dw4-toplevel-types.exp: Test for top level types.
1214 * dw4-toplevel-types.cc: Test for top level types.
1215
1216 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1217
1218 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1219 (theads -> threads).
1220
1221 2020-04-28 Tom de Vries <tdevries@suse.de>
1222
1223 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1224
1225 2020-04-28 Tom de Vries <tdevries@suse.de>
1226
1227 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1228
1229 2020-04-28 Tom de Vries <tdevries@suse.de>
1230
1231 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1232
1233 2020-04-28 Tom de Vries <tdevries@suse.de>
1234
1235 * gdb.dwarf2/main-foo.c: New test.
1236 * gdb.dwarf2/struct-with-sig.exp: New file.
1237
1238 2020-04-25 Tom de Vries <tdevries@suse.de>
1239
1240 * boards/debug-types.exp: New file.
1241
1242 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1243
1244 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1245
1246 2020-04-24 Tom Tromey <tom@tromey.com>
1247
1248 PR symtab/12707:
1249 * gdb.python/py-symbol.exp: Update expected results for
1250 linkage_name test.
1251 * gdb.cp/print-demangle.exp: New file.
1252 * gdb.base/c-linkage-name.exp: Fix test.
1253 * gdb.guile/scm-symbol.exp: Update expected results for
1254 linkage_name test.
1255
1256 2020-04-24 Tom Tromey <tom@tromey.com>
1257
1258 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1259 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1260 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1261 assembler.
1262
1263 2020-04-24 Tom de Vries <tdevries@suse.de>
1264
1265 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1266 C++.
1267
1268 2020-04-24 Tom Tromey <tromey@adacore.com>
1269
1270 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1271 values.
1272 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1273 values. Update test for minimal encodings.
1274 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1275 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1276 values. Update test for minimal encodings.
1277
1278 2020-04-24 Tom Tromey <tromey@adacore.com>
1279
1280 PR python/23662:
1281 * gdb.ada/variant.exp: Add Python checks.
1282 * gdb.rust/simple.exp: Add dynamic type checks.
1283
1284 2020-04-24 Tom Tromey <tromey@adacore.com>
1285
1286 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1287 Make array type matching more lax.
1288 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1289 * gdb.ada/mi_variant.exp: New file.
1290 * gdb.ada/mi_variant/pck.ads: New file.
1291 * gdb.ada/mi_variant/pkg.adb: New file.
1292 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1293 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1294
1295 2020-04-24 Tom Tromey <tromey@adacore.com>
1296
1297 * gdb.ada/variant.exp: Add dynamic field offset tests.
1298 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1299 * gdb.ada/variant/pkg.adb: Add new variables.
1300
1301 2020-04-24 Tom Tromey <tromey@adacore.com>
1302
1303 * gdb.ada/variant.exp: New file
1304 * gdb.ada/variant/pkg.adb: New file
1305 * gdb.ada/variant/pck.adb: New file
1306
1307 2020-04-24 Tom de Vries <tdevries@suse.de>
1308
1309 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1310
1311 2020-04-24 Tom de Vries <tdevries@suse.de>
1312
1313 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1314 flags.
1315
1316 2020-04-24 Tom de Vries <tdevries@suse.de>
1317
1318 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1319
1320 2020-04-24 Tom de Vries <tdevries@suse.de>
1321
1322 * lib/gdb.exp (default_gdb_start): Handle eof.
1323 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1324 failure.
1325 * gdb.base/readnever.exp: Handle clean_restart failure.
1326
1327 2020-04-23 Tom de Vries <tdevries@suse.de>
1328
1329 * gdb.base/decl-before-def.exp: Run to main and print a again.
1330
1331 2020-04-23 Tom de Vries <tdevries@suse.de>
1332
1333 * gdb.base/decl-before-def-decl.c: New test.
1334 * gdb.base/decl-before-def-def.c: New test.
1335 * gdb.base/decl-before-def.exp: New file.
1336
1337 2020-04-23 Tom de Vries <tdevries@suse.de>
1338
1339 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1340
1341 2020-04-22 Tom de Vries <tdevries@suse.de>
1342
1343 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1344 debug_info_offset.
1345 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1346 before $objsfile in the line line.
1347
1348 2020-04-22 Tom de Vries <tdevries@suse.de>
1349
1350 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1351
1352 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1353
1354 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1355 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1356 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1357 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1358 * gdb.base/jit-protocol.h: Update definitions to match all usage
1359 contexts.
1360
1361 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1362
1363 * gdb.base: Rename all jit related test and source files.
1364
1365 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1366
1367 * gdb.base/jit-reader.exp: Relax register output check.
1368
1369 2020-04-22 Tom de Vries <tdevries@suse.de>
1370
1371 PR symtab/25764
1372 * gdb.base/psym-external-decl-2.c: New test.
1373 * gdb.base/psym-external-decl.c: New test.
1374 * gdb.base/psym-external-decl.exp: New file.
1375 * gdb.threads/tls.exp: Add PR25807 kfail.
1376
1377 2020-04-22 Tom de Vries <tdevries@suse.de>
1378
1379 PR symtab/25801
1380 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1381 in "info source" output.
1382
1383 2020-04-22 Tom de Vries <tdevries@suse.de>
1384
1385 PR symtab/25700
1386 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1387 symtab for imported_unit.c.
1388
1389 2020-04-21 Gary Benson <gbenson@redhat.com>
1390
1391 * gdb.base/advance.c (func): New argument, to match call site.
1392 (func2, func3): Add return statements.
1393
1394 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1395
1396 * gdb.multi/run-only-second-inf.c: New file.
1397 * gdb.multi/run-only-second-inf.exp: New file.
1398
1399 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1400
1401 * gdb.btrace/multi-inferior.c: New test.
1402 * gdb.btrace/multi-inferior.exp: New file.
1403
1404 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1405
1406 * gdb.btrace/enable-new-thread.c: New test.
1407 * gdb.btrace/enable-new-thread.exp: New file.
1408
1409 2020-04-21 Tom de Vries <tdevries@suse.de>
1410
1411 PR gdb/25471
1412 * gdb.threads/killed-outside.c: New test.
1413 * gdb.threads/killed-outside.exp: New file.
1414
1415 2020-04-20 Gary Benson <gbenson@redhat.com>
1416
1417 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1418 * gdb.base/nested-subp2.exp: Likewise.
1419 * gdb.base/nested-subp3.exp: Likewise.
1420
1421 2020-04-20 Gary Benson <gbenson@redhat.com>
1422
1423 * gdb.base/nested-subp1.exp: Disable test when using clang.
1424 * gdb.base/nested-subp2.exp: Likewise.
1425 * gdb.base/nested-subp3.exp: Likewise.
1426
1427 2020-04-20 Gary Benson <gbenson@redhat.com>
1428
1429 * gdb.cp/exception.cc: Fix compilation error with clang.
1430
1431 2020-04-20 Gary Benson <gbenson@redhat.com>
1432
1433 * gdb.trace/tspeed.c: Fix compilation error with clang.
1434
1435 2020-04-20 Gary Benson <gbenson@redhat.com>
1436
1437 * gdb.base/jit-main.c: Fix compilation error with clang.
1438
1439 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1440
1441 * gdb.base/attach-twice.c: Include "sys/types.h".
1442 (PTRACE_ATTACH): Add fallback definition.
1443 (main): Pass `0' to the 4th argument of `ptrace'.
1444
1445 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1446
1447 * gdb.base/fork-running-state.c: Include "signal.h".
1448
1449 2020-04-17 Tom Tromey <tromey@adacore.com>
1450
1451 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1452 Update tests.
1453 * gdb.btrace/cpu.exp: Update tests.
1454 * gdb.base/maint.exp: Update tests.
1455 * gdb.base/default.exp: Update tests.
1456 * gdb.base/completion.exp: Update tests.
1457
1458 2020-04-16 Tom de Vries <tdevries@suse.de>
1459
1460 PR symtab/25791
1461 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1462 (ensure_gdb_index): and factor out and move ...
1463 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1464 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1465
1466 2020-04-16 Tom de Vries <tdevries@suse.de>
1467
1468 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1469 loading exec.
1470
1471 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1472
1473 * gdb.base/many-completions.exp: New file.
1474
1475 2020-04-14 Tom de Vries <tdevries@suse.de>
1476
1477 PR symtab/25718
1478 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1479
1480 2020-04-14 Tom de Vries <tdevries@suse.de>
1481
1482 PR symtab/25720
1483 * gdb.base/maint-expand-symbols-header-file.c: New test.
1484 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1485 * gdb.base/maint-expand-symbols-header-file.h: New test.
1486
1487 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1488
1489 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1490 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1491 get_func_info.
1492 (get_func_info): Delete.
1493 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1494 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1495 * lib/dwarf.exp (get_func_info): New function.
1496
1497 2020-04-13 Tom de Vries <tdevries@suse.de>
1498
1499 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1500 to what find_gnatmake does.
1501
1502 2020-04-10 Tom de Vries <tdevries@suse.de>
1503
1504 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1505 -readnow.
1506
1507 2020-04-10 Tom de Vries <tdevries@suse.de>
1508
1509 PR cli/25808
1510 * gdb.base/style.c: Add leading newlines.
1511 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1512 Check listing of main's one-line body.
1513
1514 2020-04-08 Tom de Vries <tdevries@suse.de>
1515
1516 * lib/gdb.exp (psymtabs_p): New proc.
1517 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1518 importing unit" unsupported if there are no partial symbols.
1519
1520 2020-04-08 Tom de Vries <tdevries@suse.de>
1521
1522 PR testsuite/25760
1523 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1524
1525 2020-04-07 Tom de Vries <tdevries@suse.de>
1526
1527 PR symtab/25796
1528 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1529
1530 2020-04-07 Tom de Vries <tdevries@suse.de>
1531
1532 * gdb.base/check-psymtab.c: New test.
1533 * gdb.base/check-psymtab.exp: New file.
1534
1535 2020-04-06 Tom Tromey <tromey@adacore.com>
1536
1537 * gdb.ada/variant-record/proc.adb: New file.
1538 * gdb.ada/variant-record/value.adb: New file.
1539 * gdb.ada/variant-record/value.s: New file.
1540 * gdb.ada/variant-record.exp: New file.
1541
1542 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
1543
1544 PR gdb/25325
1545 * gdb.cp/typed-enum.cc: New test.
1546 * gdb.cp/typed-enum.exp: New file.
1547
1548 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1549
1550 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1551 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1552 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1553 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1554 * gdb.opt/inline-small-func.c: New file.
1555 * gdb.opt/inline-small-func.exp: New file.
1556 * gdb.opt/inline-small-func.h: New file.
1557
1558 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1559
1560 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1561 function.
1562
1563 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1564
1565 * lib/dwarf.exp (function_range): Allow compiler options to be
1566 specified.
1567
1568 2020-04-02 Tom de Vries <tdevries@suse.de>
1569
1570 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1571 __attribute__((always_inline)).
1572 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1573
1574 2020-04-02 Tom de Vries <tdevries@suse.de>
1575
1576 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1577 (gdbserver_gdb_exit): ... here. Add timeout warning.
1578 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1579 (connect_target_extended_remote): Append new server_spawn_id to
1580 server_spawn_ids.
1581 (cleanup): New proc.
1582 (setup, <toplevel>): Call cleanup.
1583
1584 2020-04-02 Tom de Vries <tdevries@suse.de>
1585
1586 * gdb.base/main-psymtab.exp: New file.
1587
1588 2020-04-02 Tom de Vries <tdevries@suse.de>
1589
1590 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1591
1592 2020-04-01 Tom Tromey <tom@tromey.com>
1593
1594 * gdb.base/complex-parts.exp: Add type tests.
1595
1596 2020-04-01 Tom Tromey <tom@tromey.com>
1597
1598 * gdb.base/complex-parts.exp: Add arithmetic tests.
1599
1600 2020-04-01 Tom Tromey <tom@tromey.com>
1601
1602 * gdb.compile/compile.exp: Update.
1603 * gdb.compile/compile-cplus.exp: Update.
1604 * gdb.base/varargs.exp: Update.
1605 * gdb.base/floatn.exp: Update.
1606 * gdb.base/endianity.exp: Update.
1607 * gdb.base/callfuncs.exp (do_function_calls): Update.
1608 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1609 (complex_float_integral_args): Update.
1610 * gdb.base/complex.exp: Update.
1611 * gdb.base/complex-parts.exp: Update.
1612
1613 2020-04-01 Tom Tromey <tromey@adacore.com>
1614
1615 * gdb.rust/union.rs: New file.
1616 * gdb.rust/union.exp: New file.
1617 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1618 (main): Update.
1619 * gdb.rust/simple.exp: Move union tests to union.exp.
1620
1621 2020-04-01 Tom Tromey <tromey@adacore.com>
1622
1623 * gdb.rust/simple.rs (main): Remove "y0".
1624
1625 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1626
1627 * gdb.multi/stop-all-on-exit.c: New test.
1628 * gdb.multi/stop-all-on-exit.exp: New file.
1629
1630 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
1631
1632 PR gdb/24789
1633 * gdb.cp/misc.cc: Add integer reference variable.
1634 * gdb.cp/misc.exp: Add test.
1635
1636 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1637
1638 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1639 scenario to cover execution until the end and also the case
1640
1641 2020-03-31 Tom de Vries <tdevries@suse.de>
1642
1643 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1644 c. Use "maint info symtabs" to check symtab expansion.
1645
1646 2020-03-30 Tom de Vries <tdevries@suse.de>
1647
1648 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1649 unsupported.
1650 (verify_psymtab_expanded): Move ...
1651 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1652 test.
1653 (readnow): New proc.
1654
1655 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1656
1657 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1658 with $hex.
1659
1660 2020-03-20 Tom Tromey <tromey@adacore.com>
1661
1662 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1663
1664 2020-03-20 Tom Tromey <tromey@adacore.com>
1665
1666 * gdb.ada/sub_variant/subv.adb: New file.
1667 * gdb.ada/sub_variant.exp: New file.
1668
1669 2020-03-20 Tom de Vries <tdevries@suse.de>
1670
1671 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1672 first break fails.
1673 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1674
1675 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1676
1677 * gdb.server/exit-multiple-threads.c: New file.
1678 * gdb.server/exit-multiple-threads.exp: New file.
1679
1680 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1681
1682 * gdb.fortran/mixed-lang-stack.c: New file.
1683 * gdb.fortran/mixed-lang-stack.cpp: New file.
1684 * gdb.fortran/mixed-lang-stack.exp: New file.
1685 * gdb.fortran/mixed-lang-stack.f90: New file.
1686
1687 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1688
1689 * gdb.linespec/cp-completion-aliases.cc: New file.
1690 * gdb.linespec/cp-completion-aliases.exp: New file.
1691
1692 2020-03-19 Tom de Vries <tdevries@suse.de>
1693
1694 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1695 more precise.
1696
1697 2020-03-18 Tom de Vries <tdevries@suse.de>
1698
1699 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1700 * gdb.dwarf2/break-inline-psymtab.c: New test.
1701 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1702
1703 2020-03-16 Tom de Vries <tdevries@suse.de>
1704
1705 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1706 cache_verify and cache_verify_proc.
1707
1708 2020-03-15 Tom de Vries <tdevries@suse.de>
1709
1710 * gdb.server/solib-list.exp: Handle
1711 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1712
1713 2020-03-15 Tom de Vries <tdevries@suse.de>
1714
1715 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1716 objfiles".
1717
1718 2020-03-14 Tom Tromey <tom@tromey.com>
1719
1720 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1721
1722 2020-03-14 Tom de Vries <tdevries@suse.de>
1723
1724 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1725
1726 2020-03-14 Tom de Vries <tdevries@suse.de>
1727
1728 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1729 result in line-by-line fashion.
1730
1731 2020-03-14 Tom de Vries <tdevries@suse.de>
1732
1733 * lib/gdb.exp (supports_statement_frontiers): New proc.
1734 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1735
1736 2020-03-14 Tom de Vries <tdevries@suse.de>
1737
1738 * gdb.base/printcmds.exp: Add missing quoting for "print
1739 teststring2".
1740
1741 2020-03-13 Tom Tromey <tom@tromey.com>
1742
1743 * gdb.base/printcmds.exp (test_print_strings): Add regression
1744 test.
1745 * gdb.base/printcmds.c (charptr): New typedef.
1746 (teststring2): New global.
1747
1748 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1749
1750 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1751 full path in the test name.
1752 (test_ld): Add some with_test_prefix blocks to make test names
1753 unique.
1754
1755 2020-03-13 Tom de Vries <tdevries@suse.de>
1756
1757 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1758
1759 2020-03-13 Tom de Vries <tdevries@suse.de>
1760
1761 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1762
1763 2020-03-13 Tom de Vries <tdevries@suse.de>
1764
1765 PR symtab/25646
1766 * gdb.dwarf2/imported-unit.exp: Add test.
1767
1768 2020-03-13 Tom de Vries <tdevries@suse.de>
1769
1770 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1771 (var1, var2): New variable.
1772 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1773 matching symbols.
1774
1775 2020-03-13 Tom de Vries <tdevries@suse.de>
1776
1777 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1778 (Term::command): Use prompt prefix.
1779 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1780 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1781 command_no_prompt_prefix instead of prefix.
1782 * gdb.tui/tui-layout-asm.exp: Same.
1783
1784 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1785
1786 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1787
1788 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1789
1790 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1791 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1792 on" while stepping over the test instruction, match printed
1793 message.
1794
1795 2020-03-12 Tom de Vries <tdevries@suse.de>
1796
1797 * gdb.base/info-types.exp: Use exp_continue during matching of output
1798 of "info types".
1799
1800 2020-03-12 Tom de Vries <tdevries@suse.de>
1801
1802 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1803
1804 2020-03-12 Tom de Vries <tdevries@suse.de>
1805
1806 * gdb.fortran/module.exp: Use exp_continue during matching of output
1807 of "info variable -n".
1808
1809 2020-03-12 Tom de Vries <tdevries@suse.de>
1810
1811 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1812 gdb.dwarf2/dw2-ranges-base.c.
1813
1814 2020-03-12 Tom de Vries <tdevries@suse.de>
1815
1816 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1817 in presence of GLIBC debuginfo.
1818
1819 2020-03-12 Tom de Vries <tdevries@suse.de>
1820
1821 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1822 $core.
1823
1824 2020-03-12 Tom de Vries <tdevries@suse.de>
1825
1826 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1827 more precise.
1828
1829 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
1830
1831 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1832 from Unix to Windows path.
1833
1834 2020-03-11 Tom de Vries <tdevries@suse.de>
1835
1836 * gdb.ada/minsyms.exp: Set language to ada.
1837
1838 2020-03-11 Tom de Vries <tdevries@suse.de>
1839
1840 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1841
1842 2020-03-11 Tom de Vries <tdevries@suse.de>
1843
1844 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1845
1846 2020-03-11 Tom Tromey <tromey@adacore.com>
1847
1848 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1849
1850 2020-03-11 Tom de Vries <tdevries@suse.de>
1851
1852 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1853
1854 2020-03-11 Tom de Vries <tdevries@suse.de>
1855
1856 * gdb.base/break-interp.exp: Limit verbose scope.
1857
1858 2020-03-11 Tom de Vries <tdevries@suse.de>
1859
1860 * gdb.fortran/logical.f90: Define variable with character type.
1861 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1862
1863 2020-03-11 Tom de Vries <tdevries@suse.de>
1864
1865 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1866
1867 2020-03-11 Tom de Vries <tdevries@suse.de>
1868
1869 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1870 symtabs.
1871
1872 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1873 Bernd Edlinger <bernd.edlinger@hotmail.de>
1874
1875 * gdb.cp/step-and-next-inline.cc: New file.
1876 * gdb.cp/step-and-next-inline.exp: New file.
1877 * gdb.cp/step-and-next-inline.h: New file.
1878 * gdb.dwarf2/dw2-is-stmt.c: New file.
1879 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1880 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1881 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1882 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1883
1884 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1885
1886 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1887 is-stmt flag in the line table.
1888
1889 2020-03-09 Tom de Vries <tdevries@suse.de>
1890
1891 * lib/gdb.exp (cached_file): Create cache dir.
1892
1893 2020-03-07 Tom de Vries <tdevries@suse.de>
1894
1895 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1896 * gdb.cp/rvalue-ref-params.exp: Same.
1897
1898 2020-03-06 Tom de Vries <tdevries@suse.de>
1899
1900 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1901 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1902
1903 2020-03-06 Tom de Vries <tdevries@suse.de>
1904
1905 * README: Fix "the the".
1906 * gdb.base/dprintf.exp: Same.
1907
1908 2020-03-05 Tom de Vries <tdevries@suse.de>
1909
1910 * gdb.base/maint.exp: Update "main print statistics" expected output.
1911
1912 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1913
1914 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1915 (fortran_int8): Likewise.
1916 (fortran_real4): Likewise.
1917 (fortran_real8): Likewise.
1918 (fortran_complex4): Likewise.
1919 (fortran_logical4): Likewise.
1920 (fortran_character1): Likewise.
1921
1922 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1923
1924 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1925 printed as true.
1926
1927 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1928
1929 * gdb.base/printcmds.exp: Add test to verify printf of a
1930 variable holding an address.
1931
1932 2020-03-03 Tom de Vries <tdevries@suse.de>
1933
1934 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1935
1936 2020-03-03 Tom de Vries <tdevries@suse.de>
1937
1938 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1939 gdb_test_multiple call.
1940
1941 2020-03-03 Tom de Vries <tdevries@suse.de>
1942
1943 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1944 gdb_test_multiple calls.
1945
1946 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1947
1948 * gdb.base/default.exp: Remove test of 'set history filename'.
1949 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1950 filename to the empty string.
1951 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1952 and GDBHISTSIZE.
1953
1954 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1955
1956 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1957 disabled.
1958
1959 2020-03-02 Pedro Alves <palves@redhat.com>
1960 Tom de Vries <tdevries@suse.de>
1961
1962 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1963 -prompt prefix, before user_code argument. Add -lbl option likewise.
1964 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1965 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1966 argument.
1967 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1968 have "\r\n" at start-of-line, instead of at end-of-line.
1969
1970 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
1971
1972 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1973 libinproctrace.so.
1974
1975 2020-02-28 Luis Machado <luis.machado@linaro.org>
1976
1977 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1978 to "p/x".
1979
1980 2020-02-28 Luis Machado <luis.machado@linaro.org>
1981
1982 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1983 asm/ptrace.h and error.h.
1984
1985 2020-02-28 Tom de Vries <tdevries@suse.de>
1986
1987 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1988 (struct wrapper, do_something, mundane/symada__cS): Move ...
1989 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1990 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1991 Update "print symada__cS before partial symtab expansion" regexp.
1992 Update breakpoint location. Flush symbol cache after expansion.
1993
1994 2020-02-28 Luis Machado <luis.machado@linaro.org>
1995
1996 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1997
1998 2020-02-27 Tom de Vries <tdevries@suse.de>
1999
2000 * config/sid.exp: Remove unused globals.
2001 * gdb.base/attach.exp: Same.
2002 * gdb.base/catch-load.exp: Same.
2003 * gdb.base/dbx.exp: Same.
2004 * lib/gdb.exp: Same.
2005 * lib/mi-support.exp: Same.
2006 * lib/prompt.exp: Same.
2007
2008 2020-02-27 Tom de Vries <tdevries@suse.de>
2009
2010 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2011 not set.
2012
2013 2020-02-26 Aaron Merey <amerey@redhat.com>
2014
2015 * gdb.debuginfod: New directory for debuginfod tests.
2016 * gdb.debuginfod/main.c: New test file.
2017 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2018
2019 2020-02-26 Tom de Vries <tdevries@suse.de>
2020
2021 PR gdb/25603
2022 * gdb.base/persistent-lang.cc: New test.
2023 * gdb.base/persistent-lang.exp: New file.
2024
2025 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2026
2027 * gdb.fortran/derived-type-striding.exp: Add a new test.
2028 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2029 new test.
2030
2031 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2032
2033 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2034 names.
2035
2036 2020-02-25 Tom de Vries <tdevries@suse.de>
2037
2038 PR go/18926
2039 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2040
2041 2020-02-24 Tom de Vries <tdevries@suse.de>
2042
2043 PR gdb/25592
2044 * gdb.base/info-locals-unused-static-var.c: New test.
2045 * gdb.base/info-locals-unused-static-var.exp: New file.
2046
2047 2020-02-22 Tom Tromey <tom@tromey.com>
2048
2049 * gdb.python/tui-window.exp: New file.
2050 * gdb.python/tui-window.py: New file.
2051
2052 2020-02-22 Tom Tromey <tom@tromey.com>
2053
2054 PR tui/17850:
2055 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2056 tests.
2057
2058 2020-02-22 Tom Tromey <tom@tromey.com>
2059
2060 * gdb.tui/new-layout.exp: Add sub-layout tests.
2061
2062 2020-02-22 Tom Tromey <tom@tromey.com>
2063
2064 * gdb.tui/new-layout.exp: New file.
2065
2066 2020-02-22 Tom Tromey <tom@tromey.com>
2067
2068 * gdb.rust/rust-style.rs: New file.
2069 * gdb.rust/rust-style.exp: New file.
2070 * gdb.base/style.exp: Test structure printing.
2071 * gdb.base/style.c (struct some_struct): New type.
2072 (enum etype): New type.
2073 (struct_value): New global.
2074
2075 2020-02-21 Tom de Vries <tdevries@suse.de>
2076
2077 PR go/18926
2078 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2079 Remove blanket xfails. Use message argument for gdb_breakpoint.
2080 Make continuing to breakpoint test conditional on setting breakpoint.
2081 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2082 DW_AT_name attribute. Add xfail for GCC PR93866.
2083
2084 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2085
2086 * gdb.dwarf2/cpp-linkage-name.c: New file.
2087 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2088
2089 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
2090
2091 * lib/gdb.exp (gdb_wrapper_init): Reset
2092 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2093 not exist.
2094
2095 2020-02-20 Tom de Vries <tdevries@suse.de>
2096
2097 PR go/17018
2098 * gdb.go/hello.exp: Copy ...
2099 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2100 print of st to print value of global definition. Add xfail for GCC
2101 PR93844.
2102 * gdb.go/hello.exp: Remove printing of st before definition.
2103 * gdb.go/hello.go: Copy ...
2104 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2105 to st.
2106 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2107
2108 2020-02-20 Tom de Vries <tdevries@suse.de>
2109
2110 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2111 (gdb_simple_compile): Handle compile_flags go by using .go extension
2112 for source file.
2113 * gdb.go/chan.exp: Use support_go_compile.
2114 * gdb.go/handcall.exp: Same.
2115 * gdb.go/hello.exp: Same.
2116 * gdb.go/integers.exp: Same.
2117 * gdb.go/max-depth.exp: Same.
2118 * gdb.go/methods.exp: Same.
2119 * gdb.go/package.exp: Same.
2120 * gdb.go/strings.exp: Same.
2121 * gdb.go/types.exp: Same.
2122 * gdb.go/unsafe.exp: Same.
2123
2124 2020-02-19 Tom de Vries <tdevries@suse.de>
2125
2126 * gdb.python/lib-types.exp: Make xfail more strict.
2127
2128 2020-02-19 Tom de Vries <tdevries@suse.de>
2129
2130 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2131
2132 2020-02-19 Doug Evans <dje@google.com>
2133
2134 PR rust/25535
2135 * gdb.rust/simple.exp: Add test.
2136 * gdb.rust/simple.rs: Add test.
2137
2138 2020-02-19 Tom de Vries <tdevries@suse.de>
2139
2140 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2141 output line-by-line.
2142
2143 2020-02-19 Tom de Vries <tdevries@suse.de>
2144
2145 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2146
2147 2020-02-19 Tom de Vries <tdevries@suse.de>
2148
2149 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2150 prelink.
2151
2152 2020-02-19 Tom de Vries <tdevries@suse.de>
2153
2154 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2155 (gdb_do_cache): Use gdb_do_cache_wrap.
2156 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2157
2158 2020-02-19 Tom de Vries <tdevries@suse.de>
2159
2160 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2161 gdb_compile option.
2162
2163 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2164
2165 * gdb.base/printcmds.exp (test_print_enums): Update expected
2166 output.
2167
2168 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2169
2170 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2171 for "unknown".
2172
2173 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2174
2175 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2176 enumerator.
2177
2178 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2179
2180 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2181 FE_, add FE_NONE.
2182 (three): Update.
2183 (enum flag_enum_without_zero): New enum.
2184 (flag_enum_without_zero): New variable.
2185 (enum not_flag_enum): New enum.
2186 (three_not_flag): New variable.
2187 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2188 (test_print_enums): Add more tests for printing flag enums.
2189
2190 2020-02-18 Tom de Vries <tdevries@suse.de>
2191
2192 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2193 (gdb_compile_ada): ... here.
2194 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2195 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2196
2197 2020-02-14 Tom Tromey <tom@tromey.com>
2198
2199 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2200 build directory.
2201 * boards/gdbserver-base.exp: Update path to gdbserver.
2202
2203 2020-02-13 Tom de Vries <tdevries@suse.de>
2204
2205 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2206
2207 2020-02-13 Tom de Vries <tdevries@suse.de>
2208
2209 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2210 are missing.
2211
2212 2020-02-13 Tom de Vries <tdevries@suse.de>
2213
2214 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2215 call.
2216
2217 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2218
2219 PR tui/25126
2220 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2221 * gdb.base/cached-source-file.c: New file.
2222 * gdb.base/cached-source-file.exp: New file.
2223
2224 2020-02-11 Tom de Vries <tdevries@suse.de>
2225
2226 PR testsuite/25488
2227 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2228
2229 2020-02-10 Tom de Vries <tdevries@suse.de>
2230
2231 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2232
2233 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
2234
2235 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2236 and $after_addr are both integers before making a comparison.
2237
2238 2020-02-09 Tom de Vries <tdevries@suse.de>
2239
2240 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2241 command output and paste it into gdb.log. If any, paste catch message
2242 to gdb.log.
2243
2244 2020-02-07 Tom Tromey <tromey@adacore.com>
2245
2246 PR breakpoints/24915:
2247 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2248
2249 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
2250
2251 * gdb.tui/tui-missing-src.exp: Add the "missing source
2252 file" test for the TUI.
2253
2254 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2255
2256 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2257 including a port number in the output.
2258
2259 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2260
2261 * lib/fortran.exp (fortran_int4): Handle clang.
2262 (fortran_int8): Likewise.
2263 (fortran_real4): Likewise.
2264 (fortran_real8): Likewise.
2265 (fortran_complex4): Likewise.
2266 (fortran_logical4): Likewise.
2267 (fortran_character1): Likewise.
2268
2269 2020-02-04 Tom de Vries <tdevries@suse.de>
2270
2271 * README (Race detection): Add note.
2272
2273 2020-02-04 Tom de Vries <tdevries@suse.de>
2274
2275 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2276
2277 2020-02-04 Tom de Vries <tdevries@suse.de>
2278
2279 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2280
2281 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2282
2283 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2284 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2285 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2286 blttar, bnetarl.
2287 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2288 binary for blttar, bnetarl.
2289 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2290 wait instruction. Delete ldmx test.
2291 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2292
2293 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2294
2295 * gdb.fortran/array-bounds-high.exp: New file.
2296 * gdb.fortran/array-bounds-high.f90: New file.
2297
2298 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2299
2300 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2301 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2302
2303 2020-02-01 Tom de Vries <tdevries@suse.de>
2304
2305 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2306
2307 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2308
2309 PR tui/9765
2310 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2311 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2312
2313 2020-01-29 Luis Machado <luis.machado@linaro.org>
2314
2315 * gdb.arch/aarch64-brk-patterns.c: New source file.
2316 * gdb.arch/aarch64-brk-patterns.exp: New test.
2317
2318 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2319
2320 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2321 GCC/Clang version.
2322 * gdb.cp/pass-by-ref.exp: Ditto.
2323
2324 2020-01-29 Tom de Vries <tdevries@suse.de>
2325
2326 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2327 * gdb.threads/watchpoint-fork-mt.c: Same.
2328 * gdb.threads/watchpoint-fork-parent.c: Same.
2329 * gdb.threads/watchpoint-fork-st.c: Same.
2330 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2331
2332 2020-01-27 Luis Machado <luis.machado@linaro.org>
2333
2334 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2335 sitting at a syscall instruction when we hit the syscall function's
2336 breakpoint.
2337 Check PC against one obtained with the x command.
2338 Validate syscall number.
2339 (step_over_syscall): Don't continue to the syscall instruction if
2340 we're already there.
2341
2342 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2343
2344 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2345
2346 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2347
2348 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2349 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2350
2351 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2352
2353 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2354 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2355
2356 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2357
2358 * gdb.base/maint.exp: Update line table parsing test.
2359 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2360
2361 2020-01-24 Pedro Alves <palves@redhat.com>
2362
2363 PR gdb/25410
2364 * gdb.multi/multi-re-run-1.c: New.
2365 * gdb.multi/multi-re-run-2.c: New.
2366 * gdb.multi/multi-re-run.exp: New.
2367
2368 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2369
2370 PR gdb/23718
2371 * gdb.server/server-kill-python.exp: New file.
2372
2373 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2374
2375 * gdb.server/multi-ui-errors.c: New file.
2376 * gdb.server/multi-ui-errors.exp: New file.
2377
2378 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2379
2380 PR tui/9765
2381 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2382
2383 2020-01-19 Tom Tromey <tom@tromey.com>
2384
2385 * gdb.tui/main.exp: Add check for plain "file".
2386
2387 2020-01-16 Christian Biesinger <cbiesinger@google.com>
2388
2389 * lib/gdb.exp: Fix spelling error (seperatelly).
2390
2391 2020-01-14 Tom Tromey <tom@tromey.com>
2392
2393 PR symtab/12535:
2394 * gdb.python/python.exp: Test decode_line with empty string
2395 argument.
2396
2397 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2398
2399 * gdb.base/skip-inline.exp: Extend test.
2400
2401 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2402
2403 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2404 * gdb.dwarf2/dw2-bad-elf.c: New file.
2405 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2406
2407 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2408
2409 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2410 _line_saw_file.
2411
2412 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2413
2414 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2415 border.
2416
2417 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2418
2419 * gdb.multi/multi-target.exp (setup): Factor out "info
2420 connections" and "info inferiors" tests to ...
2421 (test_info_inferiors): ... this new procedure.
2422 (top level): Run new "info-inferiors" tests.
2423
2424 2020-01-10 Pedro Alves <palves@redhat.com>
2425
2426 * gdb.server/bkpt-other-inferior.exp: New file.
2427
2428 2020-01-10 Pedro Alves <palves@redhat.com>
2429
2430 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2431 of "add-inferior".
2432 * gdb.base/quit-live.exp: Likewise.
2433 * gdb.base/remote-exec-file.exp: Likewise.
2434 * gdb.guile/scm-progspace.exp: Likewise.
2435 * gdb.linespec/linespec.exp: Likewise.
2436 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2437 * gdb.mi/user-selected-context-sync.exp: Likewise.
2438 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2439 "info inferiors" tests.
2440 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2441 "add-inferior".
2442 * gdb.multi/watchpoint-multi.exp: Likewise.
2443 * gdb.python/py-inferior.exp: Likewise.
2444 * gdb.server/extended-remote-restart.exp: Likewise.
2445 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2446 "info inferiors".
2447 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2448 * gdb.trace/report.exp: Likewise.
2449
2450 2020-01-10 Pedro Alves <palves@redhat.com>
2451
2452 * gdb.multi/multi-target.c: New file.
2453 * gdb.multi/multi-target.exp: New file.
2454 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2455 mode requested, but remote does not support non-stop".
2456
2457 2020-01-10 Pedro Alves <palves@redhat.com>
2458
2459 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2460 disconnect before reconnecting.
2461
2462 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2463 Pedro Alves <palves@redhat.com>
2464
2465 * gdb.server/connect-without-multi-process.exp: Also test
2466 continuing to end.
2467
2468 2020-01-10 Pedro Alves <palves@redhat.com>
2469
2470 * gdb.base/remote-exec-file.exp: New file.
2471
2472 2020-01-10 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2475 output.
2476 * gdb.threads/async.c: New.
2477 * gdb.threads/async.exp: New.
2478 * gdb.multi/tids-gid-reset.c: New.
2479 * gdb.multi/tids-gid-reset.exp: New.
2480
2481 2020-01-10 George Barrett <bob@bob131.so>
2482
2483 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2484 to help in finding the image relocation offset.
2485 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2486 options in arguments.
2487 (stap_test_no_debuginfo): Likewise.
2488 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2489 test variants.
2490 (stap_test): Add null semaphore relocation test.
2491
2492 2020-01-10 George Barrett <bob@bob131.so>
2493
2494 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2495 * gdb.base/stap-probe.exp: Likewise.
2496 (stap_test): Pass argument as an additional flag.
2497 (stap_test_no_debuginfo): Likewise.
2498 (stap_test): Check `info probes stap' output for semaphore
2499 addresses if the test binary is supposed to have them.
2500
2501 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2502
2503 * gdb.tui/basic.exp: Add more scrolling tests.
2504
2505 2020-01-09 Tom Tromey <tom@tromey.com>
2506
2507 PR tui/18932:
2508 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2509 meangingful value.
2510 (Term::command, Term::resize): Update.
2511 * gdb.tui/basic.exp: Add scrolling test.
2512
2513 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2514
2515 * gdb.tui/tui-layout-asm.exp: New file.
2516
2517 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2518
2519 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2520
2521 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2522
2523 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2524 (Term::enter_tui): Use Term::prepare_for_tui.
2525
2526 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2527
2528 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2529 called.
2530
2531 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2532
2533 * gdb.base/skip.exp: Fix race condition in test.
2534
2535 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2536
2537 * gdb.base/backtrace.c: New file.
2538 * gdb.base/backtrace.exp: New file.
2539
2540 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2541
2542 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2543
2544 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2545
2546 * gdb.base/style.exp: Test that warnings are styled.
2547
2548 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2549
2550 * gdb.base/line65535.exp: New file.
2551 * gdb.base/line65535.c: New file.
2552
2553 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2554
2555 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2556 * lib/gnat_debug_info_test.adb: New file.
2557 * gdb.ada/ptype_tagged_param.exp: Use
2558 gnat_runtime_has_debug_info, expect a different output if
2559 runtime does not have debug info.
2560
2561 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2562
2563 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2564 (another) quote in test name.
2565
2566 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2567
2568 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2569 Add quote in test name.
2570
2571 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2572
2573 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2574 directory instead.
2575 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2576 * gdb.cp/pass-by-ref-2.cc: New file.
2577 * gdb.cp/pass-by-ref-2.exp: New file.
2578
2579 2019-12-20 Tom Tromey <tom@tromey.com>
2580
2581 * gdb.tui/list-before.exp: New file.
2582
2583 2019-12-20 Tom Tromey <tom@tromey.com>
2584
2585 * gdb.tui/list.exp: Check for source on initial listing.
2586
2587 2019-12-11 Tom Tromey <tromey@adacore.com>
2588
2589 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2590 Add crlf test.
2591
2592 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
2593
2594 * gdb.base/default.exp: Update value of $_gdb_major.
2595
2596 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2597
2598 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2599
2600 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2601
2602 * gdb.base/skip.exp: Whitespace fix.
2603
2604 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2605
2606 * gdb.base/skip-inline.c: New file.
2607 * gdb.base/skip-inline.exp: New file.
2608
2609 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2610
2611 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2612 jit_function_00 to jit_function_stack_mangle.
2613 * gdb.base/jithost.c (jit_function_t): Rename to...
2614 (jit_function_stack_mangle_t): ... this.
2615 (jit_function_add_t): New typedef.
2616 (jit_function_00_code): Rename to...
2617 (jit_function_stack_mangle_code): ... this, make static.
2618 (jit_function_add_code): New.
2619 (main): Generate "add" function and call it. Adjust to changes
2620 in jithost_abi.
2621 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2622 (struct jithost_abi) <begin, end>: Remove fields.
2623 <object, function_stack_mangle, function_add>: New fields.
2624 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2625 code_end>: Remove fields.
2626 <func_stack_mangle>: New field.
2627 (read_debug_info): Adjust to renaming, create block for "add"
2628 function.
2629 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2630
2631 2019-12-11 Tom Tromey <tom@tromey.com>
2632
2633 * gdb.tui/resize.exp: Fix regexp.
2634 * gdb.tui/regs.exp: Fix regexps.
2635 * gdb.tui/main.exp: Fix regexp.
2636
2637 2019-12-11 Tom Tromey <tom@tromey.com>
2638
2639 * gdb.tui/resize.exp: Update.
2640 * gdb.tui/empty.exp (layouts): Update.
2641
2642 2019-12-11 Tom Tromey <tom@tromey.com>
2643
2644 * gdb.tui/regs.exp: Update.
2645 * gdb.tui/empty.exp (layouts): Update.
2646 * gdb.tui/basic.exp: Update.
2647 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2648
2649 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2650
2651 * gdb.base/options.exp: Add -raw-values in the print completion list.
2652 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2653
2654 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2655
2656 * gdb.threads/omp-par-scope.c: New file.
2657 * gdb/threads/omp-par-scope.exp: New file.
2658
2659 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2660
2661 * lib/gdb.exp (support_nested_function_tests): New proc.
2662
2663 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2664
2665 * lib/gdb.exp (gdb_compile_openmp): New proc.
2666 (build_executable_from_specs): Add an "openmp" option.
2667 (gdb_compile_pthreads): Add non-executable case.
2668
2669 2019-12-10 Tom Tromey <tromey@adacore.com>
2670
2671 * gdb.ada/unchecked_union.exp: New file.
2672 * gdb.ada/unchecked_union/pck.adb: New file.
2673 * gdb.ada/unchecked_union/pck.ads: New file.
2674 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2675 * gdb-utils.exp (string_to_regexp): Also quote "?".
2676
2677 2019-12-10 George Barrett <bob@bob131.so>
2678
2679 Test scripted probe breakpoints.
2680 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2681 * gdb.python/py-breakpoint.c (main): Likewise.
2682 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2683 specifier test.
2684 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2685
2686 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2687
2688 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2689 an rvalue parameter.
2690 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2691 parameter.
2692
2693 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2694
2695 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2696 modules.
2697
2698 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2699
2700 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2701 broken version of GCC.
2702
2703 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2704
2705 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2706 sym-info-cmds library.
2707 * gdb.fortran/info-types.exp: Likewise.
2708 * lib/sym-info-cmds.exp: New file.
2709
2710 2019-12-08 Tom de Vries <tdevries@suse.de>
2711
2712 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2713
2714 2019-12-07 Keith Seitz <keiths@redhat.com>
2715
2716 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2717 * gdb.base/corefile-buildid-shlib.c: New file.
2718 * gdb.base/corefile-buildid.c: New file.
2719 * gdb.base/corefile-buildid.exp: New file.
2720
2721 2019-12-06 Tom de Vries <tdevries@suse.de>
2722
2723 * gdb.dwarf2/varval.exp: Add decl before def test.
2724
2725 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2726
2727 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2728
2729 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2730
2731 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2732 CV and reference conversion for overload resolution.
2733 * gdb.cp/rvalue-ref-overload.exp: Test it.
2734
2735 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2736
2737 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2738 * gdb.base/frameapply.exp: Test faas without command.
2739
2740 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2741
2742 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2743 Fortran tests.
2744 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2745 order.
2746
2747 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2748
2749 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2750 casting to type with no kind specified.
2751 (test_basic_parsing_of_type_kinds): Additional tests for types
2752 with no kind specified, and add tests for single/double
2753 precision/complex types.
2754
2755 2019-12-04 Tom Tromey <tromey@adacore.com>
2756
2757 * gdb.base/endianity.c (struct other) <x>: New field.
2758 (main): Initialize it.
2759 * gdb.base/endianity.exp: Update.
2760
2761 2019-12-04 Tom Tromey <tromey@adacore.com>
2762
2763 * gdb.ada/scalar_storage/storage.adb: New file.
2764 * gdb.ada/scalar_storage/pck.adb: New file.
2765 * gdb.ada/scalar_storage/pck.ads: New file.
2766 * gdb.ada/scalar_storage.exp: New file.
2767
2768 2019-12-04 Tom Tromey <tromey@adacore.com>
2769
2770 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2771 (main): Initialize it.
2772 * gdb.base/endianity.exp: Update.
2773
2774 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2775
2776 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2777
2778 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2779
2780 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2781 -symbol-info-module-functions and -symbol-info-module-variables.
2782
2783 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2784
2785 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2786
2787 2019-12-01 Richard Bunt <richard.bunt@arm.com>
2788 Andrew Burgess <andrew.burgess@embecosm.com>
2789
2790 * gdb.fortran/derived-type-striding.exp: New file.
2791 * gdb.fortran/derived-type-striding.f90: New file.
2792 * gdb.fortran/array-slices.exp: New file.
2793 * gdb.fortran/array-slices.f90: New file.
2794
2795 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2796
2797 * gdb.base/define.exp: Test . in command names.
2798 * gdb.base/setshow.exp: Update test, as . is now part of
2799 command name.
2800
2801 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2802
2803 * gdb.base/define-prefix.exp: New file.
2804
2805 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2806
2807 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2808 compile.
2809 (skip_btrace_pt_tests): Likewise.
2810
2811 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2812
2813 * gdb.fortran/info-modules.exp: Compile source files in correct
2814 order.
2815
2816 2019-11-27 Kevin Buettner <kevinb@redhat.com>
2817
2818 * gdb.dwarf2/imported-unit.exp: New file.
2819 * gdb.dwarf2/imported-unit.c: New file.
2820
2821 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2822
2823 * gdb.mi/mi-fortran-modules-2.f90: New file.
2824 * gdb.mi/mi-fortran-modules.exp: New file.
2825 * gdb.mi/mi-fortran-modules.f90: New file.
2826
2827 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2828
2829 * gdb.mi/mi-sym-info-1.c: New file.
2830 * gdb.mi/mi-sym-info-2.c: New file.
2831 * gdb.mi/mi-sym-info.exp: New file.
2832
2833 2019-11-22 Tom Tromey <tromey@adacore.com>
2834
2835 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2836 * gdb.ada/tasks/foo.adb: Add another stopping location.
2837
2838 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2839
2840 * gdb.base/endianity.c: New test.
2841 * gdb.base/endianity.exp: New file.
2842
2843 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2844
2845 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2846
2847 2019-11-21 Tom de Vries <tdevries@suse.de>
2848
2849 PR gdb/24956
2850 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2851
2852 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2853
2854 * gdb.python/py-progspace.exp: Add missing parentheses on some
2855 'print' commands.
2856
2857 2019-11-19 Tom Tromey <tom@tromey.com>
2858
2859 * gdb.tui/winheight.exp: New file.
2860
2861 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2862
2863 * gdb.base/ctf-whatis.c: Delete.
2864 * gdb.base/ctf-whatis.exp: Delete.
2865 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2866
2867 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2868
2869 * gdb.base/ctf-cvexpr.exp: Delete.
2870 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2871
2872 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2873
2874 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2875 the compiler. Clean up header comment a little.
2876 * gdb.base/ctf-ptype.exp: Likewise.
2877 * gdb.base/ctf-whatis.exp: Likewise.
2878 * lib/gdb.exp (skip_ctf_tests): New proc.
2879
2880 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2881
2882 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2883 * gdb.tui/corefile-run.exp: New file.
2884
2885 2019-11-14 Tom Tromey <tromey@adacore.com>
2886
2887 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2888 regression tests.
2889
2890 2019-11-12 Tom Tromey <tom@tromey.com>
2891
2892 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2893 after any command. Expect prompt after WAIT_FOR is seen.
2894 (enter_tui): Enable resize messages.
2895 (command): Expect command in output.
2896 (get_line): Avoid error when cursor appears to be off-screen.
2897 (dump_screen): Include screen size in title.
2898 (_do_resize): New proc, from "resize".
2899 (resize): Rewrite. Do resize in two steps.
2900 * gdb.tui/empty.exp (layouts): Fix entries.
2901 (check_boxes): Remove xfail.
2902 (check_text): Dump screen on failure.
2903
2904 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2905
2906 * gdb.python/py-symbol.exp: Add test for
2907 gdb.lookup_static_symbols.
2908
2909 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2910
2911 * gdb.python/py-symbol.c: Declare and call function from new
2912 py-symbol-2.c file.
2913 * gdb.python/py-symbol.exp: Compile both source files, and add new
2914 tests for gdb.lookup_static_symbol.
2915 * gdb.python/py-symbol-2.c: New file.
2916
2917 2019-11-02 Tom de Vries <tdevries@suse.de>
2918
2919 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2920 * gdb.base/anon.exp: Same.
2921 * gdb.base/auto-connect-native-target.exp: Same.
2922 * gdb.base/call-ar-st.exp: Same.
2923 * gdb.base/catch-syscall.exp: Same.
2924 * gdb.base/commands.exp: Same.
2925 * gdb.base/default.exp: Same.
2926 * gdb.base/display.exp: Same.
2927 * gdb.base/float.exp: Same.
2928 * gdb.base/foll-fork.exp: Same.
2929 * gdb.base/help.exp: Same.
2930 * gdb.base/info-macros.exp: Same.
2931 * gdb.base/info-proc.exp: Same.
2932 * gdb.base/info-target.exp: Same.
2933 * gdb.base/long_long.exp: Same.
2934 * gdb.base/macscp.exp: Same.
2935 * gdb.base/memattr.exp: Same.
2936 * gdb.base/nofield.exp: Same.
2937 * gdb.base/pointers.exp: Same.
2938 * gdb.base/printcmds.exp: Same.
2939 * gdb.base/ptype.exp: Same.
2940 * gdb.base/restore.exp: Same.
2941 * gdb.base/return.exp: Same.
2942 * gdb.base/scope.exp: Same.
2943 * gdb.base/set-noassign.exp: Same.
2944 * gdb.base/setshow.exp: Same.
2945 * gdb.base/shlib-call.exp: Same.
2946 * gdb.base/signals.exp: Same.
2947 * gdb.base/sigstep.exp: Same.
2948 * gdb.base/skip.exp: Same.
2949 * gdb.base/solib-symbol.exp: Same.
2950 * gdb.base/stap-probe.exp: Same.
2951 * gdb.base/step-line.exp: Same.
2952 * gdb.base/step-test.exp: Same.
2953 * gdb.base/style.exp: Same.
2954 * gdb.base/varargs.exp: Same.
2955 * gdb.base/vla-datatypes.exp: Same.
2956 * gdb.base/vla-ptr.exp: Same.
2957 * gdb.base/vla-sideeffect.exp: Same.
2958 * gdb.base/volatile.exp: Same.
2959 * gdb.base/watch-cond-infcall.exp: Same.
2960 * gdb.base/watchpoint.exp: Same.
2961
2962 2019-11-02 Tom de Vries <tdevries@suse.de>
2963
2964 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2965 * gdb.cp/cpexprs.exp: Same.
2966 * gdb.cp/except-multi-location.exp: Same.
2967 * gdb.cp/exceptprint.exp: Same.
2968 * gdb.cp/gdb2384.exp: Same.
2969 * gdb.cp/inherit.exp: Same.
2970 * gdb.cp/m-static.exp: Same.
2971 * gdb.cp/meth-typedefs.exp: Same.
2972 * gdb.cp/misc.exp: Same.
2973 * gdb.cp/namespace.exp: Same.
2974 * gdb.cp/non-trivial-retval.exp: Same.
2975 * gdb.cp/overload.exp: Same.
2976 * gdb.cp/pr17132.exp: Same.
2977 * gdb.cp/re-set-overloaded.exp: Same.
2978 * gdb.cp/rvalue-ref-types.exp: Same.
2979 * gdb.cp/templates.exp: Same.
2980
2981 2019-11-01 Luis Machado <luis.machado@linaro.org>
2982
2983 PR gdb/25124
2984
2985 * gdb.arch/pr25124.S: New file.
2986 * gdb.arch/pr25124.exp: New file.
2987
2988 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2989
2990 * gdb.fortran/info-modules.exp: Update expected results, and add
2991 additional tests for 'info module functinos', and 'info module
2992 variables'.
2993 * gdb.fortran/info-types.exp: Update expected results.
2994 * gdb.fortran/info-types.f90: Extend testcase with additional
2995 module variables and functions.
2996
2997 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2998
2999 * gdb.fortran/info-modules.exp: New file.
3000 * gdb.fortran/info-types.exp: Build with new file.
3001 * gdb.fortran/info-types.f90: Include and use new module.
3002 * gdb.fortran/info-types-2.f90: New file.
3003
3004 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3005
3006 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3007 * gdb.base/settings.exp: Test all settings types using
3008 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3009 that now verifies that the value of "maint show" is the same as
3010 returned by the settings functions. Test the type of the
3011 maintenance settings.
3012 * gdb.base/default.exp: Update show_conv_list.
3013
3014 2019-10-31 Tom de Vries <tdevries@suse.de>
3015
3016 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3017 gdb_test.
3018 * gdb.arch/amd64-disp-step.exp: Same.
3019 * gdb.asm/asm-source.exp: Same.
3020 * gdb.btrace/buffer-size.exp: Same.
3021 * gdb.btrace/cpu.exp: Same.
3022 * gdb.btrace/enable.exp: Same.
3023 * gdb.dwarf2/count.exp: Same.
3024 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3025 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3026 * gdb.fortran/vla-datatypes.exp: Same.
3027 * gdb.fortran/vla-history.exp: Same.
3028 * gdb.fortran/vla-ptype.exp: Same.
3029 * gdb.fortran/vla-value.exp: Same.
3030 * gdb.fortran/whatis_type.exp: Same.
3031 * gdb.guile/guile.exp: Same.
3032 * gdb.multi/tids.exp: Same.
3033 * gdb.python/py-finish-breakpoint.exp: Same.
3034 * gdb.python/py-framefilter.exp: Same.
3035 * gdb.python/py-pp-registration.exp: Same.
3036 * gdb.python/py-xmethods.exp: Same.
3037 * gdb.python/python.exp: Same.
3038 * gdb.server/connect-with-no-symbol-file.exp: Same.
3039 * gdb.server/no-thread-db.exp: Same.
3040 * gdb.server/run-without-local-binary.exp: Same.
3041 * gdb.stabs/weird.exp: Same.
3042 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3043 * gdb.threads/thread-find.exp: Same.
3044 * gdb.threads/tls-shared.exp: Same.
3045 * gdb.threads/tls.exp: Same.
3046 * gdb.threads/wp-replication.exp: Same.
3047 * gdb.trace/ax.exp: Same.
3048 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3049
3050 2019-10-31 Tom de Vries <tdevries@suse.de>
3051
3052 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3053 * gdb.ada/array_subscript_addr.exp: Same.
3054 * gdb.ada/arrayidx.exp: Same.
3055 * gdb.ada/arrayparam.exp: Same.
3056 * gdb.ada/arrayptr.exp: Same.
3057 * gdb.ada/boolean_expr.exp: Same.
3058 * gdb.ada/call_pn.exp: Same.
3059 * gdb.ada/complete.exp: Same.
3060 * gdb.ada/fixed_cmp.exp: Same.
3061 * gdb.ada/fun_addr.exp: Same.
3062 * gdb.ada/funcall_param.exp: Same.
3063 * gdb.ada/interface.exp: Same.
3064 * gdb.ada/mod_from_name.exp: Same.
3065 * gdb.ada/null_array.exp: Same.
3066 * gdb.ada/packed_array.exp: Same.
3067 * gdb.ada/packed_tagged.exp: Same.
3068 * gdb.ada/print_chars.exp: Same.
3069 * gdb.ada/print_pc.exp: Same.
3070 * gdb.ada/ptype_arith_binop.exp: Same.
3071 * gdb.ada/ptype_field.exp: Same.
3072 * gdb.ada/ptype_tagged_param.exp: Same.
3073 * gdb.ada/rec_return.exp: Same.
3074 * gdb.ada/ref_tick_size.exp: Same.
3075 * gdb.ada/str_ref_cmp.exp: Same.
3076 * gdb.ada/taft_type.exp: Same.
3077 * gdb.ada/tagged.exp: Same.
3078 * gdb.ada/type_coercion.exp: Same.
3079 * gdb.ada/uninitialized_vars.exp: Same.
3080
3081 2019-10-30 Tom de Vries <tdevries@suse.de>
3082
3083 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3084
3085 2019-10-26 Tom de Vries <tdevries@suse.de>
3086
3087 * gdb.base/bigcore.c: Fix typos in comments.
3088 * gdb.base/ctf-ptype.c: Same.
3089 * gdb.base/long_long.c: Same.
3090 * gdb.dwarf2/dw2-op-out-param.S: Same.
3091 * gdb.python/py-evthreads.c: Same.
3092 * gdb.reverse/i387-stack-reverse.c: Same.
3093 * gdb.trace/tfile.c: Same.
3094 * lib/compiler.c: Same.
3095 * lib/compiler.cc: Same.
3096
3097 2019-10-25 Tom de Vries <tdevries@suse.de>
3098
3099 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3100 gdb_test_multiple calls.
3101 * gdb.reverse/sigall-reverse.exp: Same.
3102 * gdb.reverse/solib-precsave.exp: Same.
3103 * gdb.reverse/solib-reverse.exp: Same.
3104 * gdb.reverse/until-precsave.exp: Same.
3105 * gdb.reverse/until-reverse.exp: Same.
3106
3107 2019-10-24 Tom de Vries <tdevries@suse.de>
3108
3109 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3110 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3111 kfail using -wrap pattern flag and convenience variable
3112 gdb_test_name.
3113
3114 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3115
3116 * gdb.python/py-progspace.exp: Add tests for the
3117 Progspace.block_for_pc method.
3118
3119 2019-10-23 Tom Tromey <tom@tromey.com>
3120
3121 * configure: Rebuild.
3122 * aclocal.m4: Use m4_include, not sinclude.
3123
3124 2019-10-21 Tom de Vries <tdevries@suse.de>
3125
3126 * gdb.base/infcall-nested-structs.c: Add
3127 __attribute__((noinline,noclone)) to all functions.
3128 (call_all): Add missing variable initialization. Simplify return value.
3129 (breakpt): Increment volatile variable, to prevent call from being
3130 optimized out.
3131 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3132
3133 2019-10-17 Tom de Vries <tdevries@suse.de>
3134
3135 * gdb.fortran/module.exp: Allow info variables to print info for files
3136 other than module.f90.
3137
3138 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3139
3140 * gdb.fortran/module.exp: Extend with 'info variables' test.
3141
3142 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3143
3144 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3145 F77_FOR_TARGET.
3146
3147 2019-10-16 Tom de Vries <tdevries@suse.de>
3148
3149 PR tdep/25096
3150 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3151
3152 2019-10-16 Tom de Vries <tdevries@suse.de>
3153
3154 PR tdep/24104
3155 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3156 Add KFAIL for PR tdep/25096.
3157
3158 2019-10-16 Tom de Vries <tdevries@suse.de>
3159
3160 PR testsuite/25059
3161 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3162
3163 2019-10-16 Tom de Vries <tdevries@suse.de>
3164
3165 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3166 as signed.
3167
3168 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3169
3170 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3171 one instead of increasing timeout.
3172
3173 2019-10-13 Tom de Vries <tdevries@suse.de>
3174
3175 PR record/25038
3176 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3177 * gdb.reverse/sigall-reverse.exp: Same.
3178 * gdb.reverse/solib-precsave.exp: Same.
3179 * gdb.reverse/solib-reverse.exp: Same.
3180 * gdb.reverse/step-precsave.exp: Same.
3181 * gdb.reverse/until-precsave.exp: Same.
3182 * gdb.reverse/until-reverse.exp: Same.
3183 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3184
3185 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3186
3187 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3188 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3189 (cmp_struct_05_01, cmp_struct_static_02_01)
3190 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3191 comparisons.
3192
3193 2019-10-10 Tom de Vries <tdevries@suse.de>
3194
3195 PR testsuite/24888
3196 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3197 gnatlink.
3198
3199 2019-10-09 Tom de Vries <tdevries@suse.de>
3200
3201 PR testsuite/25048
3202 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3203
3204 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3205
3206 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3207 exceptions due to missing debug information.
3208
3209 2019-10-07 Tom de Vries <tdevries@suse.de>
3210
3211 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3212
3213 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3214
3215 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3216 * gdb.base/annota1.exp: Update to use gdb_test_name.
3217
3218 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
3219
3220 * gdb.base/ctf-whatis.exp: New file.
3221 * gdb.base/ctf-whatis.c: New file.
3222 * gdb.base/ctf-ptype.exp: New file.
3223 * gdb.base/ctf-ptype.c: New file.
3224 * gdb.base/ctf-constvars.exp: New file.
3225 * gdb.base/ctf-constvars.c: New file.
3226 * gdb.base/ctf-cvexpr.exp: New file.
3227
3228 2019-10-04 Tom de Vries <tdevries@suse.de>
3229
3230 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3231 for loop.
3232
3233 2019-10-03 Tom Tromey <tom@tromey.com>
3234
3235 PR rust/24976:
3236 * gdb.rust/simple.rs (Union2): New type.
3237 (main): Use Union2.
3238 * gdb.rust/simple.exp: Add test.
3239
3240 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3241
3242 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3243 nested function prefix.
3244
3245 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3246 Richard Bunt <richard.bunt@arm.com>
3247 Andrew Burgess <andrew.burgess@embecosm.com>
3248
3249 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3250 nested functions.
3251 * gdb.fortran/nested-funcs.f90: Update expected results.
3252 * gdb.fortran/nested-funcs-2.exp: New file.
3253 * gdb.fortran/nested-funcs-2.f90: New file.
3254
3255 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3256
3257 * gdb.python/py-parameter.exp: Make test names unique.
3258 * gdb.python/py-template.exp: Likewise.
3259 * gdb.python/py-value.exp: Likewise.
3260
3261 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3262
3263 * gdb.base/break-interp.exp: Reduce test name duplication.
3264 * gdb.base/call-sc.exp: Likewise.
3265 * gdb.base/callfuncs.exp: Likewise.
3266 * gdb.base/charset.exp: Likewise.
3267 * gdb.base/dump.exp: Likewise.
3268 * gdb.base/ena-dis-br.exp: Likewise.
3269 * gdb.base/relational.exp: Likewise.
3270 * gdb.base/step-over-syscall.exp: Likewise.
3271 * gdb.base/structs.exp: Likewise.
3272
3273 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3274
3275 * gdb.linespec/explicit.exp: Make test names unique.
3276 * gdb.linespec/ls-errs.exp: Likewise.
3277
3278 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3279
3280 * gdb.reverse/break-precsave.exp: Make test names unique.
3281 * gdb.reverse/break-reverse.exp: Likewise.
3282 * gdb.reverse/finish-precsave.exp: Likewise.
3283 * gdb.reverse/finish-reverse.exp: Likewise.
3284 * gdb.reverse/machinestate-precsave.exp: Likewise.
3285 * gdb.reverse/machinestate.exp: Likewise.
3286 * gdb.reverse/readv-reverse.exp: Likewise.
3287 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3288 * gdb.reverse/sigall-precsave.exp: Likewise.
3289 * gdb.reverse/sigall-reverse.exp: Likewise.
3290 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3291 * gdb.reverse/watch-precsave.exp: Likewise.
3292 * gdb.reverse/watch-reverse.exp: Likewise.
3293
3294 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3295
3296 * gdb.threads/stop-with-handle.c: New file.
3297 * gdb.threads/stop-with-handle.exp: New file.
3298
3299 2019-10-03 Tom de Vries <tdevries@suse.de>
3300
3301 PR testsuite/25059
3302 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3303 directory" line to be missing.
3304
3305 2019-10-03 Tom de Vries <tdevries@suse.de>
3306
3307 PR testsuite/25059
3308 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3309 type optional.
3310
3311 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3312
3313 * gdb.python/py-format-string.c (string.h): New include.
3314 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3315 the same value, for endianness-independence.
3316 * gdb.python/py-format-string.exp (default_regexp_dict)
3317 (test_pretty_structs, test_format): Adjust expected output to the
3318 changed initialization.
3319
3320 2019-10-02 Tom Tromey <tromey@adacore.com>
3321
3322 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3323
3324 2019-10-02 Pedro Alves <palves@redhat.com>
3325 Andrew Burgess <andrew.burgess@embecosm.com>
3326
3327 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3328 "print-file-var.h".
3329 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3330 (get_version_1): Print this_version_id and its address.
3331 Add extern "C" wrappers around interface functions.
3332 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3333 "print-file-var.h".
3334 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3335 (get_version_2): Print this_version_id and its address.
3336 Add extern "C" wrappers around interface functions.
3337 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3338 <stddef.h> and "print-file-var.h".
3339 Add extern "C" wrappers around interface functions.
3340 [VERSION_ID_MAIN] (this_version_id): Define.
3341 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3342 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3343 up extern "C" blocks.
3344 * gdb.base/print-file-var.exp (test): New, factored out from top
3345 level.
3346 (top level): Test all combinations of attribute hidden or not,
3347 dlopen or not, and this_version_id symbol in main file or not.
3348 Compile tests as both C++ and C, make test names unique.
3349
3350 2019-10-01 Tom Tromey <tom@tromey.com>
3351
3352 * gdb.base/style.exp: Test "show logging filename".
3353
3354 2019-10-01 Tom Tromey <tom@tromey.com>
3355
3356 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3357 * gdb.base/style.exp: Add metadata style test.
3358
3359 2019-10-01 Tom Tromey <tom@tromey.com>
3360
3361 * gdb.base/style.exp: Test "pwd".
3362
3363 2019-10-01 Tom Tromey <tom@tromey.com>
3364
3365 * gdb.base/style.exp: Update tests.
3366
3367 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3368
3369 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3370 'six' to unsigned.
3371 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3372 'five'. Use an all-ones bit pattern for each.
3373 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3374 to its changed values.
3375
3376 2019-09-30 Tom Tromey <tromey@adacore.com>
3377
3378 * gdb.rust/traits.rs: Disable all warnings.
3379
3380 2019-09-29 Tom de Vries <tdevries@suse.de>
3381
3382 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
3383
3384 2019-09-29 Tom de Vries <tdevries@suse.de>
3385
3386 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3387
3388 2019-09-27 Tom de Vries <tdevries@suse.de>
3389
3390 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3391
3392 2019-09-27 Tom de Vries <tdevries@suse.de>
3393
3394 PR record/23188
3395 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3396
3397 2019-09-26 Tom Tromey <tromey@adacore.com>
3398
3399 * gdb.ada/py_taft.exp: New file.
3400 * gdb.ada/py_taft/main.adb: New file.
3401 * gdb.ada/py_taft/pkg.adb: New file.
3402 * gdb.ada/py_taft/pkg.ads: New file.
3403
3404 2019-09-24 Tom de Vries <tdevries@suse.de>
3405
3406 PR gdb/24598
3407 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3408
3409 2019-09-22 Tom de Vries <tdevries@suse.de>
3410
3411 * gdb.base/restore.exp: Allow register variables to be optimized out at
3412 -O0.
3413
3414 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3415
3416 * gdb.arch/spu-info.exp: Remove file.
3417 * gdb.arch/spu-info.c: Remove file.
3418 * gdb.arch/spu-ls.exp: Remove file.
3419 * gdb.arch/spu-ls.c: Remove file.
3420
3421 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3422 * gdb.asm/spu.inc: Remove file.
3423
3424 * gdb.base/dump.exp: Remove support for spu*-*-*.
3425 * gdb.base/stack-checking.exp: Likewise.
3426 * gdb.base/overlays.exp: Likewise.
3427 * gdb.base/ovlymgr.c: Likewise.
3428 * gdb.base/spu.ld: Remove file.
3429
3430 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3431 * gdb.cp/cpexprs.exp: Likewise.
3432 * gdb.cp/exception.exp: Likewise.
3433 * gdb.cp/gdb2495.exp: Likewise.
3434 * gdb.cp/mb-templates.exp: Likewise.
3435 * gdb.cp/pr9167.exp: Likewise.
3436 * gdb.cp/userdef.exp: Likewise.
3437
3438 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3439
3440 * gdb.cell: Remove directory.
3441 * lib/cell.exp: Remove file.
3442
3443 2019-09-19 Tom de Vries <tdevries@suse.de>
3444
3445 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3446
3447 2019-09-19 Tom de Vries <tdevries@suse.de>
3448
3449 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3450
3451 2019-09-19 Tom de Vries <tdevries@suse.de>
3452
3453 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3454 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3455 (gdb_target_cmd): ... here.
3456 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3457 value 2.
3458
3459 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3460
3461 * gdb.base/source-dir.exp: Avoid having directory names in test
3462 names.
3463
3464 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3465
3466 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3467 directory.
3468
3469 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3470
3471 * gdb.base/list-missing-source.exp: New file.
3472
3473 2019-09-14 Tom de Vries <tdevries@suse.de>
3474
3475 PR teststuite/24599
3476 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3477 * lib/ada.exp (gnatmake_version_at_least): New proc.
3478
3479 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3480
3481 * gdb.base/maint.exp: Use exec_has_index_section.
3482
3483 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3484
3485 * gdb.base/maint.exp: Add test for 'maint info sections'.
3486
3487 2019-09-12 Tom de Vries <tdevries@suse.de>
3488
3489 * gdb.base/store.exp: Allow register variables to be optimized out at
3490 -O0.
3491
3492 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3493
3494 * gdb.ada/rdv_wait.exp: Update to new task names.
3495 * gdb.base/task_switch_in_core.exp: Likewise.
3496 * gdb.base/info_sources_base.c: Likewise.
3497
3498 2019-09-10 Tom Tromey <tromey@adacore.com>
3499
3500 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3501
3502 2019-09-10 Tom Tromey <tromey@adacore.com>
3503
3504 * gdb.ada/dgopt.exp: New file.
3505 * gdb.ada/dgopt/x.adb: New file.
3506
3507 2019-09-08 Tom Tromey <tom@tromey.com>
3508
3509 * gdb.tui/resize.exp: Remove setup_xfail.
3510 * gdb.tui/regs.exp: Remove setup_xfail.
3511 * gdb.tui/basic.exp: Remove setup_xfail.
3512
3513 2019-09-06 David Blaikie <dblaikie@gmail.com>
3514
3515 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3516 * gdb.cp/cplabel.exp: Ditto.
3517 * gdb.linespec/ls-errs.exp: Ditto.
3518
3519 2019-09-05 Tom de Vries <tdevries@suse.de>
3520
3521 * lib/gdb.exp (cmp_file_string): New proc.
3522 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3523 runto_main. Verify save breakpoints output.
3524
3525 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3526
3527 * gdb.base/info-var.exp: Test info variables without running
3528 to main, to avoid expect's buffer overflow.
3529
3530 2019-09-03 Tom Tromey <tromey@adacore.com>
3531
3532 * gdb.ada/bias.exp: New file.
3533 * gdb.ada/bias/bias.adb: New file.
3534 * gdb.ada/print_chars.exp: Add regression test.
3535 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3536 (MC): New variable.
3537
3538 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3539
3540 * gdb.base/argv0-symlink.exp: Run only on native target
3541 and local host.
3542
3543 2019-08-29 Tom de Vries <tdevries@suse.de>
3544
3545 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3546 diverse debug info.
3547 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3548
3549 2019-08-28 Tom de Vries <tdevries@suse.de>
3550
3551 * gdb.base/info-var.exp: Allow info variables to print info for files
3552 other than info-var-f1.c and info-var-f2.c.
3553
3554 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3555
3556 * gdb.fortran/info-types.exp: Add module.
3557 * gdb.fortran/info-types.f90: Update expected results.
3558
3559 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3560
3561 * gdb.fortran/info-types.exp: New file.
3562 * gdb.fortran/info-types.f90: New file.
3563 * lib/fortran.exp (fortran_character1): New proc.
3564
3565 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3566
3567 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3568 functions'. Reindent as needed.
3569 * gdb.base/info-var-f1.c: New file.
3570 * gdb.base/info-var-f2.c: New file.
3571 * gdb.base/info-var.exp: New file.
3572 * gdb.base/info-var.h: New file.
3573
3574 2019-08-26 Tom de Vries <tdevries@suse.de>
3575
3576 PR c++/24852
3577 * gdb.cp/no-libstdcxx-probe.exp: New test.
3578
3579 2019-08-26 Tom de Vries <tdevries@suse.de>
3580
3581 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3582 * tests need to be skipped.
3583 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3584 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3585 mi_skip_libstdcxx_probe_tests.
3586
3587 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3588
3589 * gdb.python/py-xmethods.exp: Use raw strings when passing
3590 arguments to SimpleXMethodMatcher.
3591
3592 2019-08-22 Tom de Vries <tdevries@suse.de>
3593
3594 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3595 more informative.
3596
3597 2019-08-21 Pedro Alves <palves@redhat.com>
3598
3599 * gdb.base/with.exp: Test "with" with no arguments.
3600
3601 2019-08-21 Tom de Vries <tdevries@suse.de>
3602
3603 * gdb.base/gdb-caching-proc.exp: Sort files.
3604
3605 2019-08-20 Tom de Vries <tdevries@suse.de>
3606
3607 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3608 compilation.
3609
3610 2019-08-16 Tom de Vries <tdevries@suse.de>
3611
3612 * gdb.base/compare-sections.exp ("after run to main"): Allow
3613 mismatched read-only sections for PIE executables.
3614
3615 2019-08-16 Tom Tromey <tom@tromey.com>
3616
3617 * lib/tuiterm.exp (_csi_Z): New proc.
3618 * gdb.tui/basic.exp: Update window positions.
3619 * gdb.tui/empty.exp: Update window positions.
3620
3621 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3622
3623 * gdb.base/examine-backward.exp: Correct regexp for
3624 "examine 3 bytes backward from ${address_zero}".
3625
3626 2019-08-15 Tom Tromey <tom@tromey.com>
3627
3628 * gdb.tui/empty.exp: Enable resizing tests.
3629
3630 2019-08-15 Tom Tromey <tromey@adacore.com>
3631
3632 * gdb.ada/char_enum.exp: Add regression tests.
3633 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3634 and '0'.
3635 (Char, Gchar): Update.
3636 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3637
3638 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3639
3640 * gdb.python/python.exp: Expect a leading underscore on
3641 GdbOutput{,Error}File.
3642
3643 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3644
3645 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3646 Windows host.
3647
3648 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3649
3650 * gdb.base/batch-preserve-term-settings.exp
3651 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3652
3653 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3654
3655 * lib/gdb.exp: When running on a mingw target, replace
3656 /x/ with x:/.
3657
3658 2019-08-14 Alan Hayward <alan.hayward@arm.com>
3659
3660 * gdb.arch/aarch64-prologue.c: New test.
3661 * gdb.arch/aarch64-prologue.exp: New file.
3662
3663 2019-08-13 Tom de Vries <tdevries@suse.de>
3664
3665 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3666 Thread.
3667
3668 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3669
3670 * gdb.python/py-completion.exp: Download the .py file to the host
3671 and use its host pathname. Conditionalize tests that use
3672 tab completion and manipulate files on the build machine.
3673 * gdb.python/py-events.exp: Download the .py file to the host
3674 and use its host pathname.
3675 * gdb.python/py-evsignal.exp: Likewise.
3676 * gdb.python/py-evthreads.exp: Likewise.
3677 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3678 pathname syntax.
3679 * gdb.python/py-framefilter.exp: Download the .py file to the right
3680 place on the host. Match Windows pathname syntax.
3681 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3682 .py file to the host and use its host pathname.
3683 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3684 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3685 build pathname. Skip symlink test on Windows host. Add missing
3686 newline at end of file.
3687 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3688 and use its host pathname.
3689 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3690 * gdb.python/py-section-script.exp: Use host location of binfile
3691 on safe-path. Use correct path separator on Windows host.
3692 Reorder alternatives in gdb_test_multiple to prevent matching
3693 the wrong alternative on success.
3694 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3695
3696 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3697
3698 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3699 expect the GDB inferior to no longer immediately stop after
3700 being resumed with "signal SIGINT".
3701
3702 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3703
3704 * gdb.linespec/break-ask.exp: Generalize regexps to match
3705 Windows pathnames too.
3706
3707 2019-08-08 Tom de Vries <tdevries@suse.de>
3708
3709 PR testsuite/24862
3710 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3711
3712 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3713
3714 * gdb.base/style.exp: Update tests for help doc new invariants.
3715 * gdb.base/help.exp: Likewise.
3716
3717 2019-08-06 Tom Tromey <tom@tromey.com>
3718
3719 * gdb.base/style.exp: Add disassemble test.
3720 * gdb.base/style.c (some_called_function): New function.
3721 (main): Use it.
3722
3723 2019-08-05 Christian Biesinger <cbiesinger@google.com>
3724
3725 * gdb.python/py-block.exp: Test dictionary access on blocks.
3726
3727 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
3728
3729 PR gdb/24863
3730 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3731 -list-thread-groups --available test when running under
3732 check-read1.
3733
3734 2019-08-05 Tom de Vries <tdevries@suse.de>
3735
3736 PR testsuite/24863
3737 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3738 * gdb.base/help.exp: Use with_read1_timeout_factor.
3739 * gdb.base/info-macros.exp: Same.
3740 * gdb.cp/nested-types.exp: Same.
3741
3742 2019-08-05 Tom de Vries <tdevries@suse.de>
3743
3744 * lib/gdb.exp (version_at_least): Factor out of ...
3745 (tcl_version_at_least): ... here.
3746 (gdb_compile): Fail if pie results in non-PIE executable.
3747 (readelf_version, readelf_prints_pie): New proc.
3748 (exec_is_pie): Return -1 if unknown.
3749
3750 2019-08-05 Tom de Vries <tdevries@suse.de>
3751
3752 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3753
3754 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3755
3756 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3757
3758 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3759
3760 * lib/completion-support.exp (test_gdb_complete_none): Skip
3761 tab completion tests if no readline support.
3762 (test_gdb_complete_unique_re): Likewise.
3763 (test_gdb_complete_multiple): Likewise.
3764
3765 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3766
3767 * gdb.base/info_sources.exp: New file.
3768 * gdb.base/info_sources.c: New file.
3769 * gdb.base/info_sources_base.c: New file.
3770
3771 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3772
3773 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3774 prefix argument.
3775 (test_exit_status): Add prefix argument.
3776
3777 2019-08-01 Tom de Vries <tdevries@suse.de>
3778
3779 PR testsuite/24863
3780 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3781 calling exp_continue for new thread and thread exited messages.
3782
3783 2019-08-01 Tom de Vries <tdevries@suse.de>
3784
3785 PR testsuite/24863
3786 * gdb.base/structs.exp: Fix check-read1 timeout using
3787 gdb_test_sequence.
3788 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3789
3790 2019-08-01 Tom de Vries <tdevries@suse.de>
3791
3792 PR testsuite/24863
3793 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3794 line.
3795
3796 2019-08-01 Tom de Vries <tdevries@suse.de>
3797
3798 PR testsuite/24863
3799 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3800
3801 2019-07-30 Tom Tromey <tromey@adacore.com>
3802
3803 * gdb.ada/display_nested.exp: New file.
3804 * gdb.ada/display_nested/foo.adb: New file.
3805 * gdb.ada/display_nested/pack.adb: New file.
3806 * gdb.ada/display_nested/pack.ads: New file.
3807
3808 2019-07-30 Christian Biesinger <cbiesinger@google.com>
3809
3810 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3811 namespace.
3812 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3813
3814 2019-07-30 Tom de Vries <tdevries@suse.de>
3815
3816 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3817 instead.
3818
3819 2019-07-30 Tom de Vries <tdevries@suse.de>
3820
3821 PR testsuite/24834
3822 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3823 (exec_is_pie): New proc.
3824
3825 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3826
3827 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3828
3829 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3830
3831 * gdb.python/py-objfile.c: Add global and static vars.
3832 * gdb.python/py-objfile.exp: Test new functions Objfile.
3833 lookup_global_symbol and lookup_static_symbol.
3834
3835 2019-07-29 Tom Tromey <tom@tromey.com>
3836
3837 * lib/tuiterm.exp (Term::_csi_@): New proc.
3838 (Term::_csi_X): Don't move cursor.
3839
3840 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3841
3842 * gdb.base/options.exp: Update backtrace - completion to
3843 new option -frame-info.
3844 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3845 Test new 'set print frame-info'. Test backtrace -frame-info
3846 overriding 'set print frame-info'.
3847 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3848 Test new 'set print frame-info'.
3849 Verify consistency of backtrace with and without filters, with and
3850 without -no-filters.
3851 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3852 default.
3853
3854 2019-07-29 Tom de Vries <tdevries@suse.de>
3855
3856 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3857 no arguments".
3858
3859 2019-07-29 Tom de Vries <tdevries@suse.de>
3860
3861 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3862 is a substring of the first for "complete non-unique file name".
3863
3864 2019-07-29 Tom de Vries <tdevries@suse.de>
3865
3866 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3867 with ".*".
3868
3869 2019-07-29 Tom de Vries <tdevries@suse.de>
3870
3871 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3872 Pass prompt_regexp parameter to gdb_test_multiple calls.
3873
3874 2019-07-29 Tom de Vries <tdevries@suse.de>
3875
3876 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
3877 print registers" regexps.
3878
3879 2019-07-29 Tom de Vries <tdevries@suse.de>
3880
3881 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3882
3883 2019-07-29 Tom de Vries <tdevries@suse.de>
3884
3885 PR gdb/24855
3886 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3887 (skip_python_tests_prompt): Add prompt_regexp argument to
3888 gdb_test_multiple calls.
3889
3890 2019-07-27 Tom Tromey <tom@tromey.com>
3891
3892 * gdb.tui/main.exp: New file.
3893
3894 2019-07-27 Tom Tromey <tom@tromey.com>
3895
3896 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3897 optional.
3898 * gdb.tui/empty.exp: New file.
3899
3900 2019-07-27 Tom Tromey <tom@tromey.com>
3901
3902 * lib/tuiterm.exp (spawn): New proc.
3903 (Term::resize): New proc.
3904 * gdb.tui/resize.exp: New file.
3905
3906 2019-07-27 Tom Tromey <tom@tromey.com>
3907
3908 * gdb.tui/list.exp: New file.
3909
3910 2019-07-27 Tom Tromey <tom@tromey.com>
3911
3912 * gdb.tui/regs.exp: New file.
3913
3914 2019-07-27 Tom Tromey <tom@tromey.com>
3915
3916 * gdb.tui/basic.exp: Add "layout split" test.
3917
3918 2019-07-27 Tom Tromey <tom@tromey.com>
3919
3920 * gdb.tui/basic.exp: Add "layout asm" test.
3921
3922 2019-07-27 Tom Tromey <tom@tromey.com>
3923
3924 * lib/tuiterm.exp: New file.
3925 * gdb.tui/basic.exp: New file.
3926
3927 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3928
3929 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3930 Enable tests associated with this flag. Adjust regex
3931 referencing "foo_low" to now refer to "foo_cold" instead.
3932
3933 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3934
3935 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3936 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3937 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3938 foo_cold. Revise comments to match.
3939 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3940 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3941 were wrapped into this proc; Call do_test in loop from outermost
3942 level.
3943 (foo_low): Rename all occurrences to "foo_cold".
3944 (backtrace from baz): New test.
3945 (x2/i foo_cold): New test.
3946 (info line *foo_cold): New test.
3947
3948 2019-07-26 Tom de Vries <tdevries@suse.de>
3949
3950 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3951
3952 2019-07-25 Tom de Vries <tdevries@suse.de>
3953
3954 PR testsuite/24830
3955 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3956 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3957 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3958 (skip_libstdcxx_probe_tests): ... here.
3959 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3960
3961 2019-07-24 Tom de Vries <tdevries@suse.de>
3962
3963 PR testsuite/24807
3964 * gdb.objc/basicclass.m: Include stdio.h.
3965 * gdb.objc/nondebug.m: Same.
3966 * gdb.objc/objcdecode.m: Same.
3967
3968 2019-07-24 Tom de Vries <tdevries@suse.de>
3969
3970 PR testsuite/24612
3971 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3972 additional_flags.
3973
3974 2019-07-24 Tom de Vries <tdevries@suse.de>
3975
3976 PR testsuite/24831
3977 * gdb.multi/tids.exp: Update error messages for info threads.
3978
3979 2019-07-24 Tom de Vries <tdevries@suse.de>
3980
3981 * gdb.base/info-types.exp: Allow info types to print info for more than
3982 one file.
3983
3984 2019-07-23 Tom de Vries <tdevries@suse.de>
3985
3986 PR testsuite/24842
3987 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3988 gdb_spawn_with_cmdline_opts.
3989
3990 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3991
3992 * gdb.arch/arm-cmse-sgstubs.c: New test.
3993 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3994
3995 2019-07-23 Tom de Vries <tdevries@suse.de>
3996
3997 PR testsuite/24711
3998 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3999 issuing next command.
4000
4001 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4002
4003 * gdb.ada/info_auto_lang.exp: Update expected results.
4004 * gdb.base/info-types.c: Add additional types to check.
4005 * gdb.base/info-types.exp: Update expected results.
4006
4007 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4008
4009 * gdb.base/info-types.c: New file.
4010 * gdb.base/info-types.exp: New file.
4011
4012 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4013
4014 * gdb.arch/riscv-bp-infcall.c: New file.
4015 * gdb.arch/riscv-bp-infcall.exp: New file.
4016
4017 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4018
4019 PR breakpoints/24541
4020 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4021
4022 2019-07-14 Tom de Vries <tdevries@suse.de>
4023
4024 PR testsuite/24760
4025 * gdb.objc/basicclass.exp: Fix unterminated string.
4026
4027 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4028 Andrew Burgess <andrew.burgess@embecosm.com>
4029
4030 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4031 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4032 negative bounds.
4033 * gdb.fortran/vla-value.exp: Print elements of an array with
4034 negative bounds.
4035 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4036 testing.
4037
4038 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4039
4040 * gdb.base/options.exp (expect_string): Dequote strings in
4041 results.
4042 (test-string): Test strings with different quoting and reindent.
4043
4044 2019-07-10 Tom Tromey <tromey@adacore.com>
4045
4046 * gdb.ada/mi_ex_cond.exp: Update expected results.
4047 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4048 * gdb.ada/mi_catch_ex.exp: Update expected results.
4049 * gdb.ada/mi_catch_assert.exp: Update expected results.
4050 * gdb.ada/catch_ex.exp (catch_exception_info)
4051 (catch_exception_entry, catch_assert_entry)
4052 (catch_unhandled_entry): Update.
4053 * gdb.ada/catch_assert_if.exp: Update expected results.
4054
4055 2019-07-10 Richard Bunt <richard.bunt@arm.com>
4056 Stephen Roberts <stephen.roberts@arm.com>
4057
4058 * gdb.base/define.exp: Restore original prompt.
4059
4060 2019-07-09 Pedro Alves <palves@redhat.com>
4061
4062 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4063 breakpoints" output.
4064 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4065 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4066 throw" creates breakpoint.
4067 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4068 'type="catchpoint"'.
4069
4070 2019-07-09 Pedro Alves <palves@redhat.com>
4071
4072 PR c++/15468
4073 * gdb.cp/except-multi-location-lib.cc: New.
4074 * gdb.cp/except-multi-location-main.cc: New.
4075 * gdb.cp/except-multi-location.exp: New.
4076
4077 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4078
4079 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4080 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4081 argument and update callers.
4082
4083 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4084
4085 * gdb.arch/amd64-break-on-asm-line.S: New file.
4086 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4087
4088 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4089
4090 * gdb.base/printcmds.exp: Test printing C string and
4091 C wide string convenience vars without transiting via the inferior.
4092 Also make test names unique.
4093
4094 2019-07-08 Alan Hayward <alan.hayward@arm.com>
4095
4096 PR breakpoints/25011
4097 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4098
4099 2019-07-04 Pedro Alves <palves@redhat.com>
4100
4101 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4102 body returned ok(0), break(3) or continue(4).
4103 * gdb.testsuite/foreach_with_prefix.exp: New file.
4104
4105 2019-07-04 Alan Hayward <alan.hayward@arm.com>
4106
4107 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4108
4109 2019-07-03 Pedro Alves <palves@redhat.com>
4110
4111 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4112 "return -code".
4113
4114 2019-07-03 Pedro Alves <palves@redhat.com>
4115
4116 PR cli/24732
4117 * gdb.base/shell.exp: Load completion-support.exp.
4118 Adjust expected error output. Add completion tests.
4119
4120 2019-07-03 Pedro Alves <palves@redhat.com>
4121
4122 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4123 string_to_regexp.
4124
4125 2019-07-03 Pedro Alves <palves@redhat.com>
4126
4127 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4128 (expect_integer): Adjust to expect "-string".
4129 (expect_string): New.
4130 (all_options): Expect "-string".
4131 (test-flag, test-boolean): Adjust to expect "-string".
4132 (test-string): New proc.
4133 (top level): Call it.
4134
4135 2019-07-03 Pedro Alves <palves@redhat.com>
4136
4137 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4138 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4139 the expected output in the success.
4140
4141 2019-07-03 Pedro Alves <palves@redhat.com>
4142
4143 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4144 Split one gdb_test_multiple call in two to avoid a race.
4145
4146 2019-07-03 Pedro Alves <palves@redhat.com>
4147
4148 * gdb.base/with.c: New file.
4149 * gdb.base/with.exp: New file.
4150
4151 2019-07-03 Pedro Alves <palves@redhat.com>
4152
4153 * gdb.base/settings.exp: Replace all references to "maint
4154 test-settings set" with references to "maint set test-settings",
4155 and all references to "maint test-settings show" with references
4156 to "maint show test-settings".
4157
4158 2019-07-03 Pedro Alves <palves@redhat.com>
4159
4160 * gdb.base/settings.exp (test-string): Adjust expected out when
4161 testing "maint test-settings show filename"
4162
4163 2019-07-02 Pedro Alves <palves@redhat.com>
4164
4165 * gdb.base/options.exp (test-info-threads): New procedure.
4166 (top level): Call it.
4167
4168 2019-06-28 Tom Tromey <tromey@adacore.com>
4169
4170 * gdb.dwarf2/ada-linkage-name.c: New file.
4171 * gdb.dwarf2/ada-linkage-name.exp: New file.
4172
4173 2019-06-27 Tom Tromey <tromey@adacore.com>
4174
4175 PR c++/20020:
4176 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4177
4178 2019-06-26 Tom de Vries <tdevries@suse.de>
4179
4180 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4181
4182 2019-06-26 Tom de Vries <tdevries@suse.de>
4183
4184 * gdb.base/index-cache.exp: Add back missing debug option.
4185
4186 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4187
4188 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4189
4190 2019-06-25 Tom de Vries <tdevries@suse.de>
4191
4192 PR testsuite/24727
4193 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4194
4195 2019-06-24 Tom de Vries <tdevries@suse.de>
4196
4197 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4198
4199 2019-06-24 Tom de Vries <tdevries@suse.de>
4200
4201 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4202 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4203 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4204
4205 2019-06-24 Tom de Vries <tdevries@suse.de>
4206
4207 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4208
4209 2019-06-21 Tom de Vries <tdevries@suse.de>
4210
4211 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4212
4213 2019-06-21 Tom de Vries <tdevries@suse.de>
4214
4215 PR testsuite/24518
4216 PR ada/24713
4217 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4218 index.
4219
4220 2019-06-19 Tom Tromey <tromey@adacore.com>
4221
4222 * gdb.ada/length_cond.exp: Add intro comment.
4223
4224 2019-06-19 Tom Tromey <tromey@adacore.com>
4225
4226 * gdb.ada/length_cond.exp: New file.
4227 * gdb.ada/length_cond/length_cond.adb: New file.
4228 * gdb.ada/length_cond/pck.adb: New file.
4229 * gdb.ada/length_cond/pck.ads: New file.
4230
4231 2019-06-18 Tom de Vries <tdevries@suse.de>
4232
4233 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4234
4235 2019-06-18 Tom Tromey <tromey@adacore.com>
4236
4237 * gdb.base/list0.h: Add comment explaining control character.
4238
4239 2019-06-18 Tom de Vries <tdevries@suse.de>
4240
4241 * boards/fission.exp: Break up long debug_flags line.
4242
4243 2019-06-16 Tom de Vries <tdevries@suse.de>
4244
4245 PR gdb/24445
4246 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4247 generated index.
4248
4249 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4250
4251 PR gdb/24686
4252 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4253 improve detection of bug gdb/24541.
4254
4255 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4256
4257 PR gdb/24669
4258 * gdb.base/index-cache.exp (uses_readnow,
4259 expecting_index_cache_use): Define global variable.
4260 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4261 expecting_index_cache_use.
4262
4263 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4264 Andrew Burgess <andrew.burgess@embecosm.com>
4265
4266 * gdb.fortran/pointers.f90: New file.
4267 * gdb.fortran/print_type.exp: New file.
4268 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4269 * gdb.fortran/vla-type.exp: Likewise.
4270 * gdb.fortran/vla-value.exp: Likewise.
4271 * gdb.mi/mi-vla-fortran.exp: Likewise.
4272
4273 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4274
4275 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4276 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4277 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4278 as a stop reason.
4279
4280 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4281
4282 * gdb.base/annota1.exp: Update expected results.
4283 * gdb.cp/annota2.exp: Likewise.
4284 * gdb.cp/annota3.exp: Likewise.
4285
4286 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4287
4288 * gdb.base/style-logging.exp: Remove path from test name.
4289
4290 2019-06-14 Tom Tromey <tromey@adacore.com>
4291
4292 PR gdb/24502:
4293 * gdb.base/style-logging.exp: New file.
4294
4295 2019-06-14 Tom Tromey <tromey@adacore.com>
4296
4297 * gdb.base/symfile-warn.exp: New file.
4298 * gdb.base/symfile-warn.c: New file.
4299
4300 2019-06-14 Tom Tromey <tromey@adacore.com>
4301
4302 * gdb.base/annotate-symlink.exp: New file.
4303
4304 2019-06-14 Tom Tromey <tromey@adacore.com>
4305
4306 * gdb.ada/set_wstr.exp: Add reassignment test.
4307
4308 2019-06-14 Tom Tromey <tromey@adacore.com>
4309
4310 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4311 'unchecked_access and 'unrestricted_access as well.
4312
4313 2019-06-14 Tom Tromey <tromey@adacore.com>
4314
4315 PR ada/24539:
4316 * gdb.ada/vla.exp: Update tests.
4317 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4318 pragma.
4319
4320 2019-06-13 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.base/settings.exp (test-integer): Test junk after
4323 "unlimited".
4324
4325 2019-06-13 Pedro Alves <palves@redhat.com>
4326
4327 * gdb.base/options.exp (test-thread-apply): New.
4328 (top level): Call it.
4329
4330 2019-06-13 Pedro Alves <palves@redhat.com>
4331
4332 * gdb.base/options.exp (test-frame-apply): New.
4333 (top level): Test print commands with different "frame apply"
4334 prefixes.
4335
4336 2019-06-13 Pedro Alves <palves@redhat.com>
4337
4338 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
4339 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4340 'max_completions' parameter and handle it.
4341 (test_gdb_completion_offers_commands): New.
4342
4343 2019-06-13 Pedro Alves <palves@redhat.com>
4344
4345 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4346
4347 2019-06-13 Pedro Alves <palves@redhat.com>
4348
4349 * gdb.base/options.exp (test-backtrace): New.
4350 (top level): Call it.
4351
4352 2019-06-13 Pedro Alves <palves@redhat.com>
4353
4354 * gdb.guile/scm-frame-args.exp: Use "set print
4355 raw-frame-arguments" instead of "set print raw frame-arguments".
4356 * gdb.python/py-frame-args.exp: Likewise.
4357
4358 2019-06-13 Pedro Alves <palves@redhat.com>
4359
4360 * gdb.compile/compile.exp: Adjust expected output to option
4361 processing changes.
4362
4363 2019-06-13 Pedro Alves <palves@redhat.com>
4364
4365 * gdb.base/options.exp: Build executable.
4366 (test-print): New procedure.
4367 (top level): Call it, once for "print" and another for "compile
4368 print".
4369
4370 2019-06-13 Pedro Alves <palves@redhat.com>
4371
4372 * gdb.base/options.c: New file.
4373 * gdb.base/options.exp: New file.
4374
4375 2019-06-13 Pedro Alves <palves@redhat.com>
4376
4377 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4378 that "o" is ambiguous.
4379
4380 2019-06-13 Pedro Alves <palves@redhat.com>
4381
4382 * gdb.base/settings.c: New file.
4383 * gdb.base/settings.exp: New file.
4384
4385 2019-06-13 Pedro Alves <palves@redhat.com>
4386
4387 * gdb.base/completion.exp: Fix comment typo.
4388
4389 2019-06-13 Pedro Alves <palves@redhat.com>
4390
4391 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4392 foo --1" test.
4393
4394 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4395
4396 * gdb.fortran/block-data.f: New.
4397 * gdb.fortran/block-data.exp: New.
4398
4399 2019-06-11 Tom de Vries <tdevries@suse.de>
4400
4401 PR testsuite/24521
4402 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4403 message.
4404
4405 2019-06-11 Tom de Vries <tdevries@suse.de>
4406
4407 PR testsuite/24521
4408 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4409
4410 2019-06-11 Tom de Vries <tdevries@suse.de>
4411
4412 * boards/readnow.exp: New file.
4413
4414 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4415
4416 * gdb.fortran/vla-sizeof.exp: Update expected results.
4417
4418 2019-06-06 Amos Bird <amosbird@gmail.com>
4419
4420 * gdb.base/annota1.exp (thread_switch): Add test for
4421 thread-exited annotation.
4422
4423 2019-06-06 Tom Tromey <tromey@adacore.com>
4424
4425 * gdb.base/maint.exp: Expect command started/finished output.
4426
4427 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4428
4429 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4430 comment.
4431 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4432
4433 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4434
4435 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4436 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4437 * gdb.arch/riscv-unwind-long-insn.c: New file.
4438 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4439
4440 2019-06-04 Christian Biesinger <cbiesinger@google.com>
4441
4442 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
4443
4444 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4445
4446 * lib/gdb.exp (help_list_trailer): New regexp variable
4447 factorizing the help trailer message.
4448 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4449 arg to allow to better factorize various tests.
4450 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4451 (test_prefix_command_help): Use help_list_trailer.
4452 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4453 * gdb.guile/scm-cmd.exp: Likewise.
4454 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4455 * gdb.base/help.exp: Use test_user_defined_class_help.
4456 * gdb.base/style.exp: Add tests for styling of help and apropos.
4457 * lib/gdb-utils.exp (style): Add title and highlight styles.
4458
4459 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4460
4461 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4462 $_shell_exitsignal.
4463 * gdb.base/default.exp: Update for new convenience variables.
4464
4465 2019-05-29 Tom Tromey <tromey@adacore.com>
4466
4467 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4468 to "break complete ada" test case's regexp.
4469
4470 2019-05-29 Tom Tromey <tromey@adacore.com>
4471
4472 PR c++/20020:
4473 * gdb.cp/constexpr-field.exp: New file.
4474 * gdb.cp/constexpr-field.cc: New file.
4475
4476 2019-05-29 Tom Tromey <tromey@adacore.com>
4477
4478 * gdb.base/finish.exp (finish_no_print): New proc.
4479 (finish_tests): Call it.
4480
4481 2019-05-24 Tom de Vries <tdevries@suse.de>
4482
4483 * gdb.dwarf2/gdb-add-index.exp: New file.
4484
4485 2019-05-22 Tom Tromey <tromey@adacore.com>
4486
4487 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4488 * gdb.base/style.exp: Use "style".
4489 * lib/gdb-utils.exp (style): New proc.
4490
4491 2019-05-22 Tom de Vries <tdevries@suse.de>
4492
4493 * gdb.base/align.exp: Require c++11.
4494
4495 2019-05-22 Tom de Vries <tdevries@suse.de>
4496
4497 PR testsuite/24586
4498 * gdb.python/py-mi-var-info-path-expression.exp: Call
4499 mi_skip_python_tests to check if python is supported.
4500
4501 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4502
4503 * gdb.arch/aarch64-pauth.c: New test.
4504 * gdb.arch/aarch64-pauth.exp: New file.
4505
4506 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4507
4508 * README (Re-running Tests Outside The Testsuite): New section.
4509
4510 2019-05-21 Tom de Vries <tdevries@suse.de>
4511
4512 * gdb.arch/amd64-eval.exp: Require c++11.
4513 * gdb.base/max-depth.exp: Same.
4514 * gdb.compile/compile-cplus-array-decay.exp: Same.
4515 * gdb.cp/meth-typedefs.exp: Same.
4516 * gdb.cp/subtypes.exp: Same.
4517 * gdb.cp/temargs.exp: Same.
4518
4519 2019-05-21 Alan Hayward <alan.hayward@arm.com>
4520
4521 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4522
4523 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4524
4525 PR gdb/18644
4526 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4527 * gdb.fortran/printing-types.exp: Add new test.
4528 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4529 testing.
4530 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4531 setup_kfail call.
4532
4533 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4534
4535 * README (Running the Testsuite): Change example.
4536 (Testsuite Parameters): Remove TRANSCRIPT.
4537 * lib/gdb.exp: Remove TRANSCRIPT check.
4538
4539 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4540
4541 * README (Testsuite Parameters): Add replay logging to
4542 GDBSERVER_DEBUG.
4543 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4544 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4545 as a comma separated list.
4546 (gdb_debug_init): Override procedure.
4547
4548 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4549
4550 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4551 (gdb_write_cmd_file): New procedure.
4552 * lib/gdbserver-support.exp (gdbserver_start): Call
4553 gdbserver_write_cmd_file.
4554 (gdbserver_write_cmd_file): New procedure.
4555
4556 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4557
4558 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4559 (delete_breakpoints): Likewise.
4560 (gdb_run_cmd): Likewise.
4561 (gdb_start_cmd): Likewise.
4562 (gdb_starti_cmd): Likewise.
4563 (gdb_internal_error_resync): Likewise.
4564 (gdb_test_multiple): Likewise.
4565 (gdb_reinitialize_dir): Likewise.
4566 (default_gdb_exit): Likewise.
4567 (gdb_file_cmd): Mark kill as optional.
4568 (default_gdb_start): Call gdb_stdin_log_init.
4569 (send_gdb): Call gdb_stdin_log_write.
4570 (rerun_to_main): Mark Y as an answer.
4571 (gdb_stdin_log_init): New function.
4572 (gdb_stdin_log_write): Likewise.
4573
4574 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4575
4576 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4577 * gdb.base/debug-expr.exp: Likewise.
4578 * gdb.base/foll-fork.exp: Likewise.
4579 * gdb.base/foll-vfork.exp: Likewise.
4580 * gdb.base/fork-print-inferior-events.exp: Likewise.
4581 * gdb.base/gdb-sigterm.exp: Likewise.
4582 * gdb.base/gdbinit-history.exp: Likewise.
4583 * gdb.base/osabi.exp: Likewise.
4584 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4585 * gdb.base/ui-redirect.exp: Likewise.
4586 * gdb.gdb/unittest.exp: Likewise.
4587 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4588 * gdb.mi/mi-watch.exp: Likewise.
4589 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4590 * gdb.mi/user-selected-context-sync.exp: Likewise.
4591 * gdb.python/python.exp: Disable debug test when debugging.
4592 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4593 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4594 Likewise.
4595 * gdb.threads/stepi-random-signal.exp: Likewise.
4596
4597 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4598
4599 * Makefile.in: Pass through GDB_DEBUG.
4600 * README (Testsuite Parameters): Add GDB_DEBUG.
4601 (gdb,debug): Add board setting.
4602 * lib/gdb.exp (default_gdb_start): Start debugging.
4603 (gdb_debug_enabled): New procedure.
4604 (gdb_debug_init): Likewise.
4605
4606 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4607
4608 * Makefile.in: Pass through GDB_DEBUG.
4609 * README (Testsuite Parameters): Add GDB_DEBUG.
4610 (gdb,debug): Add board setting.
4611 * lib/gdb.exp (default_gdb_start): Start debugging.
4612 (gdb_debug_enabled): New procedure.
4613 (gdb_debug_init): Likewise.
4614
4615 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4616
4617 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4618
4619 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4620
4621 * gdb.base/ui-redirect.exp: Test redirection.
4622
4623 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4624
4625 * gdb.mi/mi-complete.exp: New file.
4626 * gdb.mi/mi-complete.cc: Likewise.
4627
4628 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4629
4630 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4631 indexed and sliced arrays, and pointers to arrays.
4632
4633 2019-05-14 Tom Tromey <tromey@adacore.com>
4634
4635 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4636 styling test.
4637
4638 2019-05-14 Tom de Vries <tdevries@suse.de>
4639
4640 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4641 selection entry encoding.
4642
4643 2019-05-10 Tom Tromey <tromey@adacore.com>
4644
4645 * gdb.ada/info_exc.exp: Add "complete" test.
4646
4647 2019-05-09 Tom de Vries <tdevries@suse.de>
4648
4649 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4650 CU-relative.
4651
4652 2019-05-09 Tom de Vries <tdevries@suse.de>
4653
4654 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4655 CU-relative.
4656
4657 2019-05-08 Joel Brobecker <brobecker@adacore.com>
4658
4659 * gdb.ada/frame_arg_lang.exp: New testcase.
4660 * gdb.ada/frame_arg_lang/bla.adb: New file.
4661 * gdb.ada/frame_arg_lang/pck.ads: New file.
4662 * gdb.ada/frame_arg_lang/pck.adb: New file.
4663 * gdb.ada/frame_arg_lang/foo.c: New file.
4664
4665 2019-05-08 Tom Tromey <tromey@adacore.com>
4666
4667 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4668
4669 2019-05-08 Tom Tromey <tromey@adacore.com>
4670
4671 * gdb.base/ptype-offsets.exp: Update tests.
4672
4673 2019-05-08 Tom Tromey <tromey@adacore.com>
4674
4675 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4676 cases.
4677 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4678 "short".
4679
4680 2019-05-08 Tom Tromey <tromey@adacore.com>
4681
4682 * gdb.ada/vla.exp: New file.
4683 * gdb.ada/vla/vla.adb: New file.
4684
4685 2019-05-07 Tom de Vries <tdevries@suse.de>
4686
4687 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4688
4689 2019-05-07 Tom de Vries <tdevries@suse.de>
4690
4691 PR testsuite/24522
4692 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4693 section.
4694
4695 2019-05-07 Tom de Vries <tdevries@suse.de>
4696
4697 PR testsuite/24522
4698 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4699 .debug_aranges section.
4700
4701 2019-05-07 Tom de Vries <tdevries@suse.de>
4702
4703 PR testsuite/24159
4704 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4705
4706 2019-05-06 Tom de Vries <tdevries@suse.de>
4707
4708 * lib/gdb.exp (exec_has_index_section): New proc.
4709 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4710 section.
4711
4712 2019-05-04 Tom de Vries <tdevries@suse.de>
4713
4714 * boards/cc-with-debug-names.exp: New file.
4715
4716 2019-05-03 Tom Tromey <tromey@adacore.com>
4717
4718 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4719 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4720 * gdb.ada/char_enum.exp: Add test.
4721
4722 2019-05-03 Tom de Vries <tdevries@suse.de>
4723
4724 * boards/cc-with-gdb-index.exp: New file.
4725
4726 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4727
4728 * gdb.rust/simple.exp: Add new test case.
4729 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4730 (main): Initialise an instance of the new struct.
4731
4732 2019-05-01 Tom Tromey <tromey@adacore.com>
4733
4734 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4735 record.
4736 (NPR): New variable.
4737 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4738 test.
4739
4740 2019-05-01 Tom Tromey <tromey@adacore.com>
4741
4742 * gdb.ada/packed_array_assign.exp: Add packed assignment
4743 regression test.
4744
4745 2019-05-01 Tom de Vries <tdevries@suse.de>
4746
4747 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4748
4749 2019-05-01 Tom de Vries <tdevries@suse.de>
4750
4751 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4752
4753 2019-04-30 Ali Tamur <tamur@google.com>
4754
4755 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4756
4757 2019-04-30 Tom Tromey <tromey@adacore.com>
4758
4759 * lib/ada.exp (find_ada_tool): New proc.
4760 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4761 * gdb.ada/catch_ex_std.exp: New file.
4762 * gdb.ada/catch_ex_std/foo.adb: New file.
4763 * gdb.ada/catch_ex_std/some_package.adb: New file.
4764 * gdb.ada/catch_ex_std/some_package.ads: New file.
4765
4766 2019-04-30 Tom Tromey <tromey@adacore.com>
4767
4768 PR c++/24470:
4769 * gdb.cp/temargs.cc: Add test code from PR.
4770
4771 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4772
4773 * gdb.fortran/vla-datatypes.exp: Update expected results.
4774 * gdb.fortran/vla-ptype.exp: Likewise.
4775 * gdb.fortran/vla-type.exp: Likewise.
4776 * gdb.fortran/vla-value.exp: Likewise.
4777
4778 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4779
4780 * gdb.fortran/ptr-indentation.exp: Update expected results.
4781 * gdb.fortran/ptype-on-functions.exp: Likewise.
4782 * gdb.fortran/vla-ptr-info.exp: Likewise.
4783 * gdb.fortran/vla-value.exp: Likewise.
4784
4785 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4786
4787 * gdb.fortran/ptype-on-functions.exp: New file.
4788 * gdb.fortran/ptype-on-functions.f90: New file.
4789
4790 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4791
4792 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4793 case void string.
4794
4795 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4796
4797 * gdb.fortran/complex.exp: Expand.
4798 * gdb.fortran/complex.f: Renamed to...
4799 * gdb.fortran/complex.f90: ...this, and extended to add more
4800 complex values.
4801
4802 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4803
4804 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4805 MODULO, CMPLX.
4806
4807 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4808 Richard Bunt <richard.bunt@arm.com>
4809
4810 * gdb.base/max-depth.c: New file.
4811 * gdb.base/max-depth.exp: New file.
4812 * gdb.python/py-nested-maps.c: New file.
4813 * gdb.python/py-nested-maps.exp: New file.
4814 * gdb.python/py-nested-maps.py: New file.
4815 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4816 (test_all_common): Call test_max_depth.
4817 * gdb.fortran/max-depth.exp: New file.
4818 * gdb.fortran/max-depth.f90: New file.
4819 * gdb.go/max-depth.exp: New file.
4820 * gdb.go/max-depth.go: New file.
4821 * gdb.modula2/max-depth.exp: New file.
4822 * gdb.modula2/max-depth.c: New file.
4823 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4824
4825 2019-04-29 Tom de Vries <tdevries@suse.de>
4826
4827 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4828
4829 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4830
4831 * gdb.base/callexit.exp: Test may-call-functions off.
4832
4833 2019-04-25 Keith Seitz <keiths@redhat.com>
4834
4835 PR c++/24367
4836 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4837 (another_incomplete_struct, test_incomplete): New definitions.
4838 (main): Use new definitions.
4839 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4840 functions.
4841
4842 2019-04-25 Ali Tamur <tamur@google.com>
4843
4844 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4845
4846 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4847
4848 PR corefiles/11608
4849 PR corefiles/18187
4850 * gdb.base/coredump-filter-build-id.exp: New file.
4851
4852 2019-04-25 Alan Hayward <alan.hayward@arm.com>
4853
4854 * Makefile.in: Pass through GDBSERVER_DEBUG.
4855 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4856 (gdbserver,debug): Add board setting.
4857 * gdb.trace/tspeed.exp: Skip when debugging.
4858 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4859 * lib/gdbserver-support.exp: Likewise
4860
4861 2019-04-24 Tom Tromey <tromey@adacore.com>
4862
4863 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4864 Rust.
4865
4866 2019-04-24 Tom Tromey <tromey@adacore.com>
4867
4868 * gdb.arch/amd64-eval.exp: Test bitfield return.
4869 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4870 (class Foo) <return_bitfields>: New method.
4871 (main): Call it.
4872
4873 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4874
4875 * gdb.cp/many-args.cc: New file.
4876 * gdb.cp/many-args.exp: New file.
4877
4878 2019-04-23 Tom de Vries <tdevries@suse.de>
4879
4880 PR gdb/24433
4881 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4882
4883 2019-04-23 Alan Hayward <alan.hayward@arm.com>
4884
4885 * gdb.trace/backtrace.exp: Use nopie flag.
4886 * gdb.trace/circ.exp: Likewise.
4887 * gdb.trace/collection.exp: Likewise.
4888 * gdb.trace/ftrace.exp: Likewise.
4889 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4890 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4891 * gdb.trace/qtro.exp: Likewise.
4892 * gdb.trace/read-memory.exp: Likewise.
4893 * gdb.trace/report.exp: Likewise.
4894 * gdb.trace/tfile.exp: Likewise.
4895 * gdb.trace/tfind.exp: Likewise.
4896 * gdb.trace/unavailable.exp: Likewise.
4897
4898 2019-04-22 Pedro Alves <palves@redhat.com>
4899
4900 * gdb.base/solib-probes-nosharedlibrary.c,
4901 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4902
4903 2019-04-19 Tom Tromey <tromey@adacore.com>
4904
4905 * gdb.ada/ptype_union.c: New file.
4906 * gdb.ada/ptype_union.exp: New file.
4907
4908 2019-04-19 Tom Tromey <tromey@adacore.com>
4909
4910 PR symtab/24423:
4911 * gdb.base/list0.h (foo): Add a control-l character.
4912
4913 2019-04-18 Tom de Vries <tdevries@suse.de>
4914
4915 PR gdb/24433
4916 * boards/local-board.exp: Set sysroot to "".
4917
4918 2019-04-18 Tom de Vries <tdevries@suse.de>
4919 Pedro Alves <palves@redhat.com>
4920
4921 PR gdb/24454
4922 * gdb.threads/vfork-follow-child-exec.c: New file.
4923 * gdb.threads/vfork-follow-child-exec.exp: New file.
4924 * gdb.threads/vfork-follow-child-exit.c: New file.
4925 * gdb.threads/vfork-follow-child-exit.exp: New file.
4926
4927 2019-04-15 Leszek Swirski <leszeks@google.com>
4928
4929 * gdb.arch/amd64-eval.cc: New file.
4930 * gdb.arch/amd64-eval.exp: New file.
4931
4932 2019-04-11 Alan Hayward <alan.hayward@arm.com>
4933
4934 * gdb.server/sysroot.c: New test.
4935 * gdb.server/sysroot.exp: New file.
4936 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4937 matching param.
4938
4939 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4940
4941 * gdb.base/align.exp: Extend test to cover structures containing
4942 only static fields.
4943
4944 2019-04-11 Tom de Vries <tdevries@suse.de>
4945
4946 * boards/cc-with-dwz-m.exp: New file.
4947 * boards/cc-with-dwz.exp: New file.
4948 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4949
4950 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
4951
4952 * gdb.base/start-cpp.exp: New file.
4953 * gdb.base/start-cpp.cc: New file.
4954
4955 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4956
4957 * gdb.python/py-thrhandle.exp: Adjust tests to call
4958 thread_from_handle instead of thread_from_thread_handle.
4959
4960 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4961
4962 * gdb.python/py-thrhandle.exp: Add tests for
4963 gdb.InferiorThread.handle.
4964
4965 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4966
4967 * gdb.python/py-function.exp: Check calling helper function from
4968 all languages.
4969 * lib/gdb.exp (gdb_supported_languages): New proc.
4970
4971 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4972
4973 * gdb.base/complex-parts.c: New file.
4974 * gdb.base/complex-parts.exp: New file.
4975
4976 2019-04-01 Tom Tromey <tromey@adacore.com>
4977
4978 PR symtab/23331:
4979 * gdb.dwarf2/dw2-ranges-main.c: New file.
4980 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4981 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4982
4983 2019-03-30 Simon Marchi <simark@simark.ca>
4984
4985 * gdb.base/default.exp: Add values for $_gdb_major and
4986 $_gdb_minor.
4987
4988 2019-03-29 Tom Tromey <tromey@adacore.com>
4989
4990 * gdb.base/help.exp: Tighten apropos regexp.
4991
4992 2019-03-29 Keith Seitz <keiths@redhat.com>
4993
4994 * gdb.fortran/array-bounds.exp: New file.
4995 * gdb.fortran/array-bounds.f90: New file.
4996
4997 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4998
4999 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5000
5001 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5002
5003 * gdb.multi/hello.c (main): Increase alarm timer.
5004
5005 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5006
5007 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5008 factor when no hardware watchpoint support.
5009
5010 2019-03-28 Alan Hayward <alan.hayward@arm.com>
5011 Pedro Alves <palves@redhat.com>
5012
5013 * boards/local-board.exp: set sysroot to /.
5014
5015 2019-03-27 Alan Hayward <alan.hayward@arm.com>
5016
5017 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5018 in child.
5019
5020 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5021
5022 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5023 field.
5024 (make_container): Initialise new field.
5025 * gdb.python/py-prettyprint.exp: Add new tests.
5026 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5027 <display_hint>: New method.
5028
5029 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5030
5031 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5032 gdb_continue_to_breakpoint more throughout this test.
5033 (run_lang_tests) Supply unique test names, and use
5034 gdb_test_no_output.
5035
5036 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5037
5038 * gdb.base/finish-pretty.exp: Update expected results.
5039 * gdb.base/pretty-print.c: New file.
5040 * gdb.base/pretty-print.exp: New file.
5041
5042 2019-03-25 Pedro Alves <palves@redhat.com>
5043
5044 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5045 move comments outside list. Append '-i "" eof' section.
5046
5047 2019-03-22 Alan Hayward <alan.hayward@arm.com>
5048
5049 PR testsuite/25016
5050 * README: Add pie options.
5051 * gdb.base/break-interp.exp: Ensure pie is disabled.
5052 * gdb.base/dump.exp: Likewise.
5053 * lib/gdb.exp (gdb_compile): Add pie option.
5054
5055 2019-03-19 Tom Tromey <tromey@adacore.com>
5056
5057 * gdb.mi/mi2-cli-display.c: New file.
5058 * gdb.mi/mi2-cli-display.exp: New file.
5059
5060 2019-03-18 Joel Brobecker <brobecker@adacore.com>
5061 Tom Tromey <tromey@adacore.com>
5062
5063 * gdb.ada/ptype_array/pck.adb: New file.
5064 * gdb.ada/ptype_array/pck.ads: New file.
5065 * gdb.ada/ptype_array/foo.adb: New file.
5066 * gdb.ada/ptype_array.exp: New file.
5067
5068 2019-03-14 Tom Tromey <tromey@adacore.com>
5069
5070 * gdb.base/style.exp: Add "set style sources" test.
5071
5072 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5073
5074 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5075 * mi-breakpoint-multiple-locations.exp: ... this.
5076 (make_breakpoints_pattern): New proc.
5077 (do_test): Add mi_version parameter, test -break-insert,
5078 -break-info and =breakpoint-created.
5079
5080 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5081
5082 * config/default.exp: Remove 'load_lib gdb.exp'.
5083 * config/monitor.exp: Likewise.
5084 * config/sid.exp: Likewise.
5085 * config/sim.exp: Likewise.
5086 * config/slite.exp: Likewise.
5087 * config/unix.exp: Likewise.
5088 * gdb.base/default.exp: Remove unhelpful comment.
5089
5090 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5091
5092 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5093
5094 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5095
5096 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5097
5098 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5099
5100 * gdb.fortran/type-kinds.exp: Update expected results.
5101
5102 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5103
5104 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5105
5106 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5107
5108 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5109 function.
5110 (test_basic_parsing_of_type_kinds): Expand types tested.
5111 (test_parsing_invalid_type_kinds): New function.
5112
5113 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5114
5115 * gdb.fortran/intrinsics.exp: New file.
5116 * gdb.fortran/intrinsics.f90: New file.
5117 * gdb.fortran/type-kinds.exp: New file.
5118
5119 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5120
5121 * gdb.fortran/dot-ops.exp: New file.
5122
5123 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5124
5125 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5126 Check upper and lower case logical literals.
5127
5128 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5129
5130 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5131 Remove duplicate tests.
5132
5133 2019-03-06 Alan Hayward <alan.hayward@arm.com>
5134
5135 * lib/gdb.exp (builtin_cd): rename of cd.
5136 (cd): Override builtin.
5137
5138 2019-03-06 Richard Bunt <richard.bunt@arm.com>
5139
5140 * gdb.fortran/function-calls.exp: New file.
5141 * gdb.fortran/function-calls.f90: New test.
5142
5143 2019-03-04 Richard Bunt <richard.bunt@arm.com>
5144
5145 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5146 on user program standard output.
5147 * gdb.fortran/short-circuit-argument-list.f90: Record function
5148 calls.
5149
5150 2019-02-28 Alan Hayward <alan.hayward@arm.com>
5151
5152 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5153 failure.
5154
5155 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5156
5157 PR gdb/8527
5158 * gdb.base/interrupt-daemon-attach.c,
5159 gdb.base/interrupt-daemon-attach.exp: New test.
5160
5161 2019-02-27 Pedro Alves <palves@redhat.com>
5162
5163 * gdb.base/page.exp: Add tests for "set width/height -1".
5164
5165 2019-02-27 Pedro Alves <palves@redhat.com>
5166
5167 * gdb.base/page.exp: Add tests for "set/show width/height" with
5168 "infinite" values.
5169
5170 2019-02-27 Tom Tromey <tromey@adacore.com>
5171
5172 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5173 2.4.
5174 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5175 workaround.
5176
5177 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5178
5179 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5180 tests for structs with static members.
5181
5182 2019-02-26 Tom Tromey <tromey@adacore.com>
5183
5184 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5185 ValueError, not TypeError.
5186
5187 2019-02-26 Kevin Buettner <kevinb@redhat.com>
5188
5189 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5190 call from main program.
5191
5192 2019-02-23 Joel Brobecker <brobecker@adacore.com>
5193
5194 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5195 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5196 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5197 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5198 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5199
5200 2019-02-22 Keith Seitz <keiths@redhat.com>
5201
5202 PR symtab/23853
5203 * gdb.base/symlink-sourcefile.c: New file.
5204 * gdb.base/symlink-sourcefile.exp: New file.
5205
5206 2019-02-20 Tom Tromey <tom@tromey.com>
5207
5208 * gdb.base/info_qt.exp: Update.
5209
5210 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5211
5212 * gdb.base/source.exp: Move "error in sourced script" code to
5213 the end.
5214 * gdb.base/source-error.gdb: Move contents to
5215 source-error-1.gdb. Add new code to source source-error-1.gdb.
5216 * gdb.base/source-error-1.gdb: New file, from previous
5217 source-error.gdb.
5218
5219 2019-02-17 Tom Tromey <tom@tromey.com>
5220
5221 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5222 for macro styling.
5223 * gdb.base/style.c (SOME_MACRO): New macro.
5224
5225 2019-02-17 Tom Tromey <tom@tromey.com>
5226
5227 * gdb.base/style.exp: Add line-wrapping tests.
5228 * gdb.base/page.exp: Add test for quitting during pagination.
5229
5230 2019-02-17 Joel Brobecker <brobecker@adacore.com>
5231
5232 * gdb.ada/big_packed_array: New testcase.
5233 * gdb.ada/homonym.exp: Fix incorrect expected output for
5234 "break <homonym__get_value>" test.
5235
5236 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
5237
5238 PR breakpoints/21870
5239 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5240 and prepare_for_testing. Add comment.
5241 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5242 redundant cleanup call. Clean up comment.
5243
5244 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
5245
5246 PR breakpoints/21870
5247 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5248 * gdb.arch/aarch64-dbreg-contents.c: New file.
5249
5250 2019-02-10 Joel Brobecker <brobecker@adacore.com>
5251
5252 * gdb.ada/mi_ref_changeable: New testcase.
5253
5254 2019-02-07 Alan Hayward <alan.hayward@arm.com>
5255
5256 * gdb.base/attach.exp: Add double attach test.
5257
5258 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5259
5260 * lib/gdb.exp (default_gdb_start): Don't match pagination
5261 prompt.
5262 (gdb_init): Set stty_init.
5263
5264 2019-01-27 Tom Tromey <tom@tromey.com>
5265
5266 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5267 skip_python_tests.
5268
5269 2019-01-24 Alan Hayward <alan.hayward@arm.com>
5270
5271 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5272 New structure.
5273 (struct struct_static_02_02): Likewise.
5274 (struct struct_static_02_03): Likewise.
5275 (struct struct_static_02_04): Likewise.
5276 (struct struct_static_04_01): Likewise.
5277 (struct struct_static_04_02): Likewise.
5278 (struct struct_static_04_03): Likewise.
5279 (struct struct_static_04_04): Likewise.
5280 (struct struct_static_06_01): Likewise.
5281 (struct struct_static_06_02): Likewise.
5282 (struct struct_static_06_03): Likewise.
5283 (struct struct_static_06_04): Likewise.
5284 (cmp_struct_static_02_01): Likewise.
5285 (cmp_struct_static_02_02): Likewise.
5286 (cmp_struct_static_02_03): Likewise.
5287 (cmp_struct_static_02_04): Likewise.
5288 (cmp_struct_static_04_01): Likewise.
5289 (cmp_struct_static_04_02): Likewise.
5290 (cmp_struct_static_04_03): Likewise.
5291 (cmp_struct_static_04_04): Likewise.
5292 (cmp_struct_static_06_01): Likewise.
5293 (cmp_struct_static_06_02): Likewise.
5294 (cmp_struct_static_06_03): Likewise.
5295 (cmp_struct_static_06_04): Likewise.
5296 (call_all): Test new structs.
5297 * gdb.base/infcall-nested-structs.exp: Likewise.
5298
5299 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5300 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5301
5302 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5303 * gdb.base/stack-protector.c: New test.
5304 * gdb.base/stack-protector.exp: New file.
5305 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5306 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5307 option.
5308 (gdb_compile): Remove stack protector for GCC and prevent
5309 recursion.
5310
5311 2019-01-16 Keith Seitz <keiths@redhat.com>
5312
5313 PR gdb/23773
5314 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5315
5316 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5317
5318 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5319 aliases.
5320 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5321 tests.
5322 * gdb.arch/powerpc-vector-regs.c: New file.
5323 * gdb.arch/powerpc-vector-regs.exp: New file.
5324
5325 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5326
5327 * gdb.arch/altivec-regs.exp: Fix the list passed to
5328 gdb_expect_list when testing "info vector".
5329
5330 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5331
5332 * gdb.base/style.exp: Don't include path in testname.
5333
5334 2019-01-10 Keith Seitz <keiths@redhat.com>
5335
5336 PR gdb/23712
5337 PR symtab/23010
5338 * gdb.dwarf2/multidictionary.exp: New file.
5339
5340 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5341
5342 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5343 (test_gnuv3_style_demangling): ... this.
5344 (test_lucid_style_demangling): Remove.
5345 (test_arm_style_demangling): Remove.
5346 (test_hp_style_demangling): Remove.
5347 (do_tests): Remove calls to the above.
5348
5349 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5350
5351 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5352 case.
5353
5354 2019-01-06 Tom Tromey <tom@tromey.com>
5355
5356 PR gdb/28155:
5357 * gdb.dwarf2/typedef-void-finish.exp: New file.
5358
5359 2018-12-28 Tom Tromey <tom@tromey.com>
5360 Simon Marchi <simark@simark.ca>
5361
5362 * gdb.base/jit-exec.exp: New file.
5363 * gdb.base/jit-exec.c: New file.
5364 * gdb.base/jit-execd.c: New file.
5365
5366 2018-12-28 Tom Tromey <tom@tromey.com>
5367
5368 * gdb.base/style.exp: Update test to check for address styling.
5369
5370 2018-12-28 Tom Tromey <tom@tromey.com>
5371
5372 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5373 message.
5374
5375 2018-12-28 Tom Tromey <tom@tromey.com>
5376
5377 * gdb.base/style.exp: Add test for version number styling.
5378
5379 2018-12-28 Tom Tromey <tom@tromey.com>
5380
5381 * gdb.base/style.exp: Add test for print_address_symbolic.
5382
5383 2018-12-28 Tom Tromey <tom@tromey.com>
5384
5385 * gdb.base/style.exp: Add test for breakpoint setting.
5386
5387 2018-12-28 Tom Tromey <tom@tromey.com>
5388
5389 * gdb.base/style.exp: Add test for variable names.
5390
5391 2018-12-28 Tom Tromey <tom@tromey.com>
5392
5393 * gdb.base/style.exp: New file.
5394 * gdb.base/style.c: New file.
5395
5396 2018-12-28 Tom Tromey <tom@tromey.com>
5397
5398 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5399 "dumb".
5400 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5401 the TERM environment variable.
5402
5403 2018-12-27 Tom Tromey <tom@tromey.com>
5404
5405 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5406 pagination test.
5407
5408 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5409
5410 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5411 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5412
5413 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5414
5415 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5416 Filename a.adb changed to bp_fun_addr.adb.
5417 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5418
5419 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5420
5421 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5422 non-PIE executables.
5423 * README: Mention the gdb,nopie_flag board setting.
5424 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5425 non-PIE executable.
5426 * gdb.arch/amd64-entry-value.exp: Likewise.
5427 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5428 * gdb.arch/i386-float.exp: Likewise.
5429 * gdb.arch/i386-signal.exp: Likewise.
5430 * gdb.mi/mi-reg-undefined.exp: Likewise.
5431
5432 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5433
5434 PR gdb/23974
5435 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5436
5437 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5438
5439 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5440 Update order of results accordingly.
5441
5442 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5443
5444 * gdb.base/annota1.exp: Update a test regexp.
5445
5446 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5447
5448 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5449
5450 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5451
5452 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5453 (reuse_time): Initialize to REUSE_TIME_CAP.
5454 (check_rc): New function.
5455 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5456 Check pthread_create rc.
5457 (spawner_thread_func): Check pthread_create and pthread_join rc.
5458
5459 2018-12-08 Pedro Alves <palves@redhat.com>
5460
5461 * gdb.base/list.exp (test_forward_search): Rename to ...
5462 (test_forward_reverse_search): ... this. Also test reverse-search
5463 and the forward-search alias.
5464
5465 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5466
5467 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5468 local timeout variable before return, and remove all local timeout
5469 variable entirely.
5470 (gdb_load): Likewise.
5471
5472 2018-12-01 Tom de Vries <tdevries@suse.de>
5473
5474 * gdb.base/gdb-caching-proc.exp: New file.
5475
5476 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5477
5478 * Makefile.in (TIMESTAMP): New variable.
5479 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5480 command.
5481 (check-single-racy): Likewise.
5482 (check/%.exp): Likewise.
5483 (check-racy/%.exp): Likewise.
5484 (workers/%.worker): Likewise.
5485 (build-perf): Likewise.
5486 (check-perf): Likewise.
5487 * README: Describe new "TS" and "TS_FORMAT" variables.
5488 * print-ts.py: New file.
5489
5490 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5491
5492 PR python/23714
5493 * gdb.python/python.exp: Test command repetition after
5494 gdb.execute.
5495
5496 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5497
5498 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5499 is correctly aligned.
5500
5501 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5502
5503 * gdb.ada/info_auto_lang.exp: New testcase.
5504 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5505 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5506 * gdb.ada/info_auto_lang/some_c.c: New file.
5507
5508 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5509
5510 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5511 FUNC_lang language syntax.
5512
5513 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5514
5515 * gdb.base/info_minsym.c: New file.
5516 * gdb.base/info_minsym.exp: New file.
5517
5518 2018-11-19 Tom Tromey <tom@tromey.com>
5519
5520 PR rust/23625:
5521 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5522 * gdb.rust/expr.exp: Update expected output. Change one test.
5523
5524 2018-11-19 Tom Tromey <tom@tromey.com>
5525
5526 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5527
5528 2018-11-19 Pedro Alves <palves@redhat.com>
5529
5530 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5531 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5532 see the expected warning.
5533
5534 2018-11-16 Alan Hayward <alan.hayward@arm.com>
5535
5536 PR gdb/22736:
5537 * gdb.cp/infcall-nodebug-lib.c: New test.
5538 * gdb.cp/infcall-nodebug-main.c: New test.
5539 * gdb.cp/infcall-nodebug.exp: New file.
5540
5541 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5542
5543 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5544 completer tests.
5545
5546 2018-11-09 Tom de Vries <tdevries@suse.de>
5547
5548 * gdb.base/msym-lang.c: New test.
5549 * gdb.base/msym-lang.exp: New file.
5550 * gdb.base/msym-lang-main.c: New test.
5551
5552 2018-11-08 Tom Tromey <tom@tromey.com>
5553
5554 PR gdb/23555:
5555 PR gdb/23838:
5556 * gdb.base/warning.exp: New file.
5557
5558 2018-11-08 Jan Beulich <jbeulich@suse.com>
5559
5560 * testsuite/gdb.arch/i386-avx512.c,
5561 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5562
5563 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5564
5565 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5566 point hardware.
5567
5568 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5569
5570 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5571 * gdb.dwarf2/missing-type-name.exp: New file.
5572
5573 2018-11-06 Tom de Vries <tdevries@suse.de>
5574
5575 * gdb.base/many-headers.c: New test.
5576 * gdb.base/many-headers.exp: New file.
5577
5578 2018-11-06 Jim Wilson <jimw@sifive.com>
5579
5580 * gdb.base/code_elim.exp: For riscv, set additional_flags
5581 to include -msmall-data-limit=0.
5582
5583 2018-11-01 Joel Brobecker <brobecker@adacore.com>
5584
5585 * gdb.ada/watch_minus_l: New testcase.
5586
5587 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5588
5589 * gdb.arch/aix-sighandle.c: New file.
5590 * gdb.arch/aix-sighandle.exp: New file.
5591
5592 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5593
5594 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5595 registers being unions.
5596
5597 2018-10-31 Tom de Vries <tdevries@suse.de>
5598
5599 * lib/valgrind.exp: New file.
5600 (vgdb_start, vgdb_stop): New procs, factored out of ...
5601 * gdb.base/valgrind-bt.exp: ... here, ...
5602 * gdb.base/valgrind-disp-step.exp: ... here and ...
5603 * gdb.base/valgrind-infcall.exp: ... here.
5604
5605 2018-10-31 Tom de Vries <tdevries@suse.de>
5606
5607 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5608
5609 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5610
5611 * gdb.dwarf2/void-type.c: New file.
5612 * gdb.dwarf2/void-type.exp: New file.
5613
5614 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5615
5616 * gdb.base/info_qt.c: New file.
5617 * gdb.base/info_qt.exp: New file.
5618
5619 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5620
5621 * gdb.arch/powerpc-htm-regs.c: New file.
5622 * gdb.arch/powerpc-htm-regs.exp: New file.
5623
5624 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5625
5626 * gdb.arch/powerpc-tar.c: New file.
5627 * gdb.arch/powerpc-tar.exp: New file.
5628
5629 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5630
5631 * gdb.arch/powerpc-ppr-dscr.c: New file.
5632 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5633
5634 2018-10-25 Tom de Vries <tdevries@suse.de>
5635
5636 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5637
5638 2018-10-24 Tom de Vries <tdevries@suse.de>
5639
5640 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5641 longer exists error.
5642
5643 2018-10-24 Tom de Vries <tdevries@suse.de>
5644
5645 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5646
5647 2018-10-24 Tom de Vries <tdevries@suse.de>
5648
5649 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5650 --db-attach in valgrind.
5651
5652 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5653
5654 * gdb.arch/riscv-reg-aliases.c: New file.
5655 * gdb.arch/riscv-reg-aliases.exp: New file.
5656
5657 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5658
5659 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5660
5661 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5662
5663 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5664
5665 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5666
5667 * gdb.cp/ovldbreak.exp: Fix regexps.
5668
5669 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5670
5671 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5672
5673 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5674
5675 PR cli/23785
5676 * gdb.base/restore.exp: New test to check if "restore" with an
5677 invalid file doesn't segfault.
5678
5679 2018-10-18 Tom de Vries <tdevries@suse.de>
5680
5681 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5682 * gdb.ada/excep_handle.exp: Same.
5683 * gdb.ada/mi_string_access.exp: Same.
5684 * gdb.ada/mi_var_union.exp: Same.
5685 * gdb.arch/arc-analyze-prologue.exp: Same.
5686 * gdb.arch/arc-decode-insn.exp: Same.
5687 * gdb.base/readnever.exp: Same.
5688 * gdb.fortran/printing-types.exp: Same.
5689 * gdb.guile/scm-lazy-string.exp: Same.
5690
5691 2018-10-16 Tom de Vries <tdevries@suse.de>
5692
5693 PR gdb/23730
5694 * gdb.base/catch-follow-exec.c: Add copyright notice.
5695 * gdb.base/catch-follow-exec.exp: Rewrite to use
5696 gdb_spawn_with_cmdline_opts. Require gdb-native.
5697
5698 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5699
5700 * gdb.trace/actions-changed.exp: Check for arch support.
5701 * gdb.trace/actions.exp: Likewise.
5702 * gdb.trace/ax.exp: Likewise.
5703 * gdb.trace/backtrace.exp: Likewise.
5704 * gdb.trace/change-loc.exp: Likewise.
5705 * gdb.trace/deltrace.exp: Likewise.
5706 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5707 * gdb.trace/ftrace.exp: Likewise.
5708 * gdb.trace/infotrace.exp: Check for arch support.
5709 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5710 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5711 * gdb.trace/mi-tsv-changed.exp: Likewise.
5712 * gdb.trace/packetlen.exp: Likewise.
5713 * gdb.trace/passc-dyn.exp: Likewise.
5714 * gdb.trace/passcount.exp: Likewise.
5715 * gdb.trace/pending.exp: Likewise.
5716 * gdb.trace/range-stepping.exp: Check for shlib support.
5717 * gdb.trace/report.exp: Check for arch support.
5718 * gdb.trace/save-trace.exp: Likewise.
5719 * gdb.trace/signal.exp: Check for signal support.
5720 * gdb.trace/tfind.exp: Check for arch support.
5721 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5722 * gdb.trace/trace-common.h: Add comment.
5723 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5724 * gdb.trace/trace-enable-disable.exp: Likewise.
5725 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5726 * gdb.trace/tracecmd.exp: Check for arch support.
5727 * gdb.trace/tspeed.exp: Check for shlib and target support.
5728 * gdb.trace/tstatus.exp: Check for arch support.
5729 * gdb.trace/tsv.exp: Likewise.
5730 * gdb.trace/while-dyn.exp: Likewise.
5731 * gdb.trace/while-stepping.exp: Likewise.
5732 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5733
5734 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5735
5736 * gdb.trace/tspeed.exp: Remove nowarnings.
5737 (prepare_for_trace_test): Declare "global ipalib".
5738 * gdb.trace/tspeed.c: Include unistd.h.
5739 (main): Remove superfluous printf argument.
5740
5741 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5742
5743 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5744 directory prefix on the filename.
5745
5746 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5747
5748 * gdb.gdb/unittest.exp: Update expected message informing that
5749 selftests have been disabled.
5750 * gdb.server/unittest.exp: Likewise.
5751
5752 2018-10-09 Tom de Vries <tdevries@suse.de>
5753
5754 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5755 with runto_main.
5756
5757 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
5758
5759 PR c++/16841
5760 * gdb.cp/virtbase2.cc: New file.
5761 * gdb.cp/virtbase2.exp: New file.
5762
5763 2018-10-06 Tom Tromey <tom@tromey.com>
5764
5765 PR python/19399:
5766 * gdb.python/py-inferior.exp: Add architecture test.
5767
5768 2018-10-06 Tom Tromey <tom@tromey.com>
5769
5770 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5771 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5772
5773 2018-10-06 Tom Tromey <tom@tromey.com>
5774
5775 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5776 of a "throw" catchpoint.
5777
5778 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5779
5780 * gdb.base/info-proc.exp: Update string expected from "help info
5781 proc".
5782
5783 2018-10-04 Tom Tromey <tom@tromey.com>
5784
5785 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5786 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5787 (test_initial_complaints, test_empty_complaints): Update.
5788 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5789
5790 2018-10-04 Tom Tromey <tom@tromey.com>
5791
5792 PR cli/19551:
5793 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5794 * lib/gdb.exp (gdb_file_cmd): Update.
5795 * gdb.stabs/weird.exp (print_weird_var): Update.
5796 * gdb.server/solib-list.exp: Update.
5797 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5798 * gdb.mi/mi-cli.exp: Update.
5799 * gdb.linespec/linespec.exp: Update.
5800 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5801 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5802 * gdb.cp/cp-relocate.exp: Update.
5803 * gdb.base/sym-file.exp: Update.
5804 * gdb.base/relocate.exp: Update.
5805 * gdb.base/readnever.exp: Update.
5806 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5807 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5808 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5809 * gdb.base/code_elim.exp: Update.
5810 * gdb.base/break-unload-file.exp (test_break): Update.
5811 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5812 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5813 Update.
5814 * gdb.base/attach.exp (do_attach_tests): Update.
5815 * gdb.base/sepdebug.exp: Update.
5816 * gdb.python/py-section-script.exp: Update.
5817
5818 2018-10-04 Tom Tromey <tom@tromey.com>
5819
5820 PR cli/22234:
5821 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5822 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5823 output.
5824
5825 2018-10-04 Tom Tromey <tom@tromey.com>
5826
5827 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5828 set width and height to 0.
5829 (test_command_line_attach_run): Use -quiet.
5830
5831 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5832
5833 * lib/gdb.exp (skip_ifunc_tests): New.
5834 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5835 other compile failures.
5836 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5837
5838 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5839
5840 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5841 is_amd64_regs_target.
5842
5843 2018-10-01 Alan Hayward <alan.hayward@arm.com>
5844
5845 * gdb.arch/aarch64-sighandler-regs.c: New test.
5846 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5847 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5848
5849 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5850
5851 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5852 assembly.
5853
5854 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5855
5856 * gdb.base/frame-selection.exp: New file.
5857 * gdb.base/frame-selection.c: New file.
5858
5859 2018-09-27 Alan Hayward <alan.hayward@arm.com>
5860
5861 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5862 pthread barrier.
5863 (main): Likewise.
5864
5865 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5866
5867 * gdb.base/large-frame-1.c: New file.
5868 * gdb.base/large-frame-2.c: New file.
5869 * gdb.base/large-frame.exp: New file.
5870 * gdb.base/large-frame.h: New file.
5871
5872 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5873
5874 PR gdb/20948
5875 * gdb.base/write_mem.exp: New test.
5876 * gdb.base/write_mem.c: Likewise.
5877
5878 2018-09-23 Tom Tromey <tom@tromey.com>
5879
5880 PR python/18852:
5881 * gdb.python/py-parameter.exp: Add test for parameter that throws
5882 on "set".
5883
5884 2018-09-23 Tom Tromey <tom@tromey.com>
5885
5886 PR python/17284:
5887 * gdb.python/py-template.exp (test_template_arg): Add test for
5888 negative template argument number.
5889
5890 2018-09-23 Tom Tromey <tom@tromey.com>
5891
5892 PR python/14062:
5893 * gdb.python/python.exp: Add test for post_event error.
5894
5895 2018-09-23 Tom Tromey <tom@tromey.com>
5896
5897 PR python/18170:
5898 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5899 convert pointers to int and long.
5900
5901 2018-09-23 Tom Tromey <tom@tromey.com>
5902
5903 PR python/20126:
5904 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5905 signed-ness conversion tests.
5906
5907 2018-09-23 Tom Tromey <tom@tromey.com>
5908
5909 PR python/18352;
5910 * gdb.python/py-value.exp (test_float_conversion): New proc.
5911 Use it.
5912
5913 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5914
5915 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5916
5917 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5918
5919 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5920 no readline.
5921 * gdb.base/utf8-identifiers.exp: Likewise.
5922 * gdb.cp/cpcompletion.exp: Likewise.
5923 * gdb.linespec/cpcompletion.exp: Likewise.
5924 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5925 * gdb.linespec/cpls-ops.exp: Likewise.
5926
5927 2018-09-19 Richard Bunt <richard.bunt@arm.com>
5928 Chris January <chris.january@arm.com>
5929
5930 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5931 * gdb.fortran/short-circuit-argument-list.exp: New file.
5932 * gdb.fortran/short-circuit-argument-list.f90: New test.
5933
5934 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5935
5936 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5937 "arch=" keyword when executing "-stack-list-frames".
5938
5939 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5940
5941 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5942 "arch=" keyword when executing "-stack-list-frames".
5943
5944 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5945
5946 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5947 break ada".
5948
5949 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5950
5951 PR python/23669
5952 * gdb.python/python.exp: Test gdb.execute("show commands").
5953
5954 2018-09-16 Tom Tromey <tom@tromey.com>
5955
5956 * gdb.base/new-ui.exp (do_execution_tests): Update.
5957 * gdb.base/dbx.exp (test_breakpoints): Update.
5958
5959 2018-09-14 Alan Hayward <alan.hayward@arm.com>
5960
5961 * lib/gdb.exp (gdb_simple_compile): Add proc.
5962 (is_elf_target): Use gdb_simple_compile.
5963 (skip_altivec_tests): Likewise.
5964 (skip_vsx_tests): Likewise.
5965 (skip_tsx_tests): Likewise.
5966 (skip_btrace_tests): Likewise.
5967 (skip_btrace_pt_tests): Likewise.
5968 (gdb_can_simple_compile): Likewise.
5969 (gdb_has_argv0): Likewise.
5970 (gdb_target_symbol_prefix): Likewise.
5971 (target_supports_scheduler_locking): Likewise.
5972
5973 2018-09-13 Tom Tromey <tom@tromey.com>
5974
5975 * Makefile.in (TAGS): Recognize proc_with_prefix and
5976 gdb_caching_proc.
5977
5978 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5979
5980 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5981 method.
5982
5983 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5984
5985 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5986 and a few other Inferior properties when the Inferior is no
5987 longer valid.
5988
5989 2018-09-13 Tom Tromey <tom@tromey.com>
5990
5991 PR rust/23650:
5992 * gdb.rust/simple.exp: Add test for enum field access error.
5993
5994 2018-09-13 Tom Tromey <tom@tromey.com>
5995
5996 PR rust/23626:
5997 * gdb.rust/simple.rs (EmptyEnum): New type.
5998 (main): Use it.
5999 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6000
6001 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6002
6003 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6004 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6005 * gdb.python/py-symtab.exp: Update test printing an objfile.
6006
6007 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6008
6009 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6010 object.
6011
6012 2018-09-12 Alan Hayward <alan.hayward@arm.com>
6013
6014 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6015 (support_complex_tests): Use gdb_can_simple_compile.
6016 (is_ilp32_target): Likewise.
6017 (is_lp64_target): Likewise.
6018 (is_64_target): Likewise.
6019 (is_amd64_regs_target): Likewise.
6020 (is_aarch32_target): Likewise.
6021 (gdb_int128_helper): Likewise.
6022
6023 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6024
6025 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6026
6027 2018-09-10 Jerome Guitton <guitton@adacore.com>
6028
6029 * gdb.ada/same_component_name: Add test for case of tagged record
6030 with variable-length fields.
6031
6032 2018-09-10 Xavier Roirand <roirand@adacore.com>
6033
6034 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6035 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6036 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6037 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6038
6039 2018-09-10 Xavier Roirand <roirand@adacore.com>
6040
6041 * gdb.ada/mi_string_access.exp: New testcase.
6042 * gdb.ada/mi_string_access/bar.adb: New file.
6043 * gdb.ada/mi_string_access/pck.adb: New file.
6044 * gdb.ada/mi_string_access/pck.asd: New file.
6045
6046 2018-09-10 Xavier Roirand <roirand@adacore.com>
6047
6048 * gdb.ada/mi_var_union.exp: New testcase.
6049 * gdb.ada/mi_var_union/bar.adb: New file.
6050 * gdb.ada/mi_var_union/pck.adb: New file.
6051 * gdb.ada/mi_var_union/pck.asd: New file.
6052
6053 2018-09-08 Tom Tromey <tom@tromey.com>
6054
6055 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6056
6057 2018-09-08 Tom Tromey <tom@tromey.com>
6058
6059 PR python/16047:
6060 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6061 (register_pretty_printers): Register new printer.
6062 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6063 test.
6064 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6065 (an_int_type3): New global.
6066
6067 2018-09-08 Joel Brobecker <brobecker@adacore.com>
6068
6069 * gdb.ada/expr_with_funcall: New testcase.
6070
6071 2018-09-08 Joel Brobecker <brobecker@adacore.com>
6072
6073 * gdb.ada/packed_array_assign: New testcase.
6074
6075 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6076
6077 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6078 names, and add test prefixes to make test names unique.
6079
6080 2018-09-05 Tom de Vries <tdevries@suse.de>
6081
6082 * gdb.dwarf2/varval.exp: Add test.
6083
6084 2018-09-04 Gary Benson <gbenson@redhat.com>
6085
6086 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6087 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6088
6089 2018-08-31 Tom Tromey <tom@tromey.com>
6090
6091 * gdb.rust/simple.rs: Rename second variable "v".
6092
6093 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6094
6095 * gdb.base/funcargs.c (use_a): New function.
6096 (recurse): Call use_a.
6097
6098 2018-08-29 Keith Seitz <keiths@redhat.com>
6099
6100 * gdb.compile/compile-cplus-anonymous.cc: New file.
6101 * gdb.compile/compile-cplus-anonymous.exp: New file.
6102 * gdb.compile/compile-cplus-array-decay.cc: New file.
6103 * gdb.compile/compile-cplus-array-decay.exp: New file.
6104 * gdb.compile/compile-cplus-inherit.cc: New file.
6105 * gdb.compile/compile-cplus-inherit.exp: New file.
6106 * gdb.compile/compile-cplus-member.cc: New file.
6107 * gdb.compile/compile-cplus-member.exp: New file.
6108 * gdb.compile/compile-cplus-method.cc: New file.
6109 * gdb.compile/compile-cplus-method.exp: New file.
6110 * gdb.compile/compile-cplus-mod.c: "New" file.
6111 * gdb.compile/compile-cplus-namespace.cc: New file.
6112 * gdb.compile/compile-cplus-namespace.exp: New file.
6113 * gdb.compile/compile-cplus-nested.cc: New file.
6114 * gdb.compile/compile-cplus-nested.exp: New file.
6115 * gdb.compile/compile-cplus-print.c: "New" file.
6116 * gdb.compile/compile-cplus-print.exp: "New" file.
6117 * gdb.compile/compile-cplus-virtual.cc: New file.
6118 * gdb.compile/compile-cplus-virtual.exp: New file.
6119 * gdb.compile/compile-cplus.c: "New" file.
6120 * gdb.compile/compile-cplus.exp: "New" file.
6121 * lib/compile-support.exp: New file.
6122
6123 2018-08-16 Gary Benson <gbenson@redhat.com>
6124
6125 PR gdb/13000:
6126 * gdb.base/batch-exit-status.exp: New file.
6127 * gdb.base/batch-exit-status.good-commands: Likewise.
6128 * gdb.base/batch-exit-status.bad-commands: Likewise.
6129
6130 2018-08-29 Alan Hayward <alan.hayward@arm.com>
6131
6132 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6133 (struct struct02): Likewise.
6134 (struct struct03): Likewise.
6135 (struct struct04): Likewise.
6136 (struct struct_01_01): New struct.
6137 (struct struct_01_02): Likewise.
6138 (struct struct_01_03): Likewise.
6139 (struct struct_01_04): Likewise.
6140 (struct struct_02_01): Likewise.
6141 (struct struct_02_02): Likewise.
6142 (struct struct_02_03): Likewise.
6143 (struct struct_02_04): Likewise.
6144 (struct struct_04_01): Likewise.
6145 (struct struct_04_02): Likewise.
6146 (struct struct_04_03): Likewise.
6147 (struct struct_04_04): Likewise.
6148 (struct struct_05_01): Likewise.
6149 (struct struct_05_02): Likewise.
6150 (struct struct_05_03): Likewise.
6151 (struct struct_05_04): Likewise.
6152 (cmp_struct01): Remove function.
6153 (cmp_struct02): Likewise.
6154 (cmp_struct03): Likewise.
6155 (cmp_struct04): Likewise.
6156 (cmp_struct_01_01): Add Function.
6157 (cmp_struct_01_02): Likewise.
6158 (cmp_struct_01_03): Likewise.
6159 (cmp_struct_01_04): Likewise.
6160 (cmp_struct_02_01): Likewise.
6161 (cmp_struct_02_02): Likewise.
6162 (cmp_struct_02_03): Likewise.
6163 (cmp_struct_02_04): Likewise.
6164 (cmp_struct_04_01): Likewise.
6165 (cmp_struct_04_02): Likewise.
6166 (cmp_struct_04_03): Likewise.
6167 (cmp_struct_04_04): Likewise.
6168 (cmp_struct_05_01): Likewise.
6169 (cmp_struct_05_02): Likewise.
6170 (cmp_struct_05_03): Likewise.
6171 (cmp_struct_05_04): Likewise.
6172 (call_all): Add new structs.
6173 * gdb.base/infcall-nested-structs.exp: Likewise.
6174
6175 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6176
6177 * gdb.python/py-framefilter-mi.exp: Update regexp to
6178 check for "arch" field in frame output.
6179
6180 2018-08-23 Kevin Buettner <kevinb@redhat.com>
6181
6182 * gdb.dwarf2/dw2-ranges-func.c: New file.
6183 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6184
6185 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6186
6187 * gdb.base/term.exp: Compare terminal settings with values from
6188 the inferior.
6189 * gdb.base/term.c: Get and set terminal settings.
6190
6191 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6192
6193 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6194 accommodate new "arch" field in frame output.
6195 * gdb.mi/mi-return.exp: Likewise.
6196 * gdb.mi/mi-stack.exp: Likewise.
6197 * gdb.mi/mi-syn-frame.exp: Likewise.
6198 * gdb.mi/user-selected-context-sync.exp: Likewise.
6199
6200 2018-08-19 Michael Spang <spang@google.com>
6201
6202 PR gdb/11786
6203 * gdb.base/gcore-tls-pie.c: New file.
6204 * gdb.base/gcore-tls-pie.exp: New file.
6205
6206 2018-08-18 Kevin Buettner <kevinb@redhat.com>
6207
6208 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
6209 * gdb.dwarf2/varval.c: New file.
6210 * gdb.dwarf2/varval.exp: New file.
6211
6212 2018-08-17 Alan Hayward <alan.hayward@arm.com>
6213
6214 PR gdb/18931
6215 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6216
6217 2018-08-16 Keith Seitz <keiths@redhat.com>
6218
6219 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6220 tests expected to pass.
6221
6222 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6223
6224 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6225 -data-disassemble -a.
6226 (test_disassembly_bogus_args): Likewise.
6227
6228 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6229
6230 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6231
6232 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6233
6234 * gdb.base/vla-optimized-out.exp: Add new test.
6235
6236 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6237
6238 * gdb.base/vla-optimized-out-o3.exp: Delete.
6239 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6240 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6241 deleted tests.
6242
6243 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6244
6245 PR gdb/18050:
6246 * gdb.server/extended-remote-restart.c: New file.
6247 * gdb.server/extended-remote-restart.exp: New file.
6248
6249 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6250
6251 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6252 "set variable index = 42".
6253
6254 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6255
6256 * boards/index-cache-gdb.exp: New file.
6257 * gdb.dwarf2/index-cache.exp: New file.
6258 * gdb.dwarf2/index-cache.c: New file.
6259 * gdb.base/maint.exp: Check if we are using the index cache.
6260
6261 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6262
6263 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6264 MAKEFLAGS.
6265
6266 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6267
6268 * dg-extract-results.sh: Move to toplevel contrib.
6269 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6270 * Makefile.in (check-parallel-racy): Likewise.
6271
6272 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6273
6274 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6275 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6276 tests if the target supports scheduler locking.
6277
6278 2018-08-04 Tom de Vries <tdevries@suse.de>
6279
6280 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6281
6282 2018-08-02 Tom Tromey <tom@tromey.com>
6283
6284 PR symtab/16842.
6285 * gdb.cp/temargs.exp: Test "info address" of a template
6286 parameter.
6287
6288 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6289
6290 * gdb.python/py-mi-var-info-path-expression.c: New file.
6291 * gdb.python/py-mi-var-info-path-expression.py: New file.
6292 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6293
6294 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6295
6296 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6297 error after "cannot resolve name" string.
6298
6299 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6300
6301 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6302 started.
6303 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6304
6305 2018-07-28 Tom de Vries <tdevries@suse.de>
6306
6307 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6308
6309 2018-07-26 Tom de Vries <tdevries@suse.de>
6310
6311 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6312
6313 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6314
6315 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6316 is visible.
6317
6318 2018-07-26 Tom de Vries <tdevries@suse.de>
6319
6320 PR breakpoints/23366
6321 * gdb.base/catch-follow-exec.c: New test.
6322 * gdb.base/catch-follow-exec.exp: New file.
6323
6324 2018-07-25 Tom de Vries <tdevries@suse.de>
6325
6326 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6327 vla-optimized-out.c.
6328
6329 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6330
6331 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6332 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6333
6334 2018-07-20 Tom de Vries <tdevries@suse.de>
6335
6336 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6337 NOCLONE macro.
6338 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6339
6340 2018-07-19 Tom de Vries <tdevries@suse.de>
6341
6342 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6343 regular expression.
6344
6345 2018-07-18 Tom de Vries <tdevries@suse.de>
6346
6347 * gdb.base/vla-optimized-out.c: New test.
6348 * gdb.base/vla-optimized-out.exp: New file.
6349
6350 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6351
6352 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6353 message "No address associated with hostname" when gdbserver
6354 cannot resolve the hostname.
6355
6356 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6357
6358 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6359 Add some test prefixes to make tests unique.
6360
6361 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6362
6363 * gdb.base/frameapply.c: New file.
6364 * gdb.base/frameapply.exp: New file.
6365
6366 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6367
6368 * gdb.base/skip.exp: Update expected error message.
6369
6370 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6371 Jan Kratochvil <jan.kratochvil@redhat.com>
6372 Paul Fertser <fercerpav@gmail.com>
6373 Tsutomu Seki <sekiriki@gmail.com>
6374
6375 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6376 parameter.
6377 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6378 by default.
6379 * boards/native-gdbserver.exp: Likewise.
6380 * gdb.server/run-without-local-binary.exp: Improve regexp used
6381 for detecting when a remote debugging connection succeeds.
6382 * gdb.server/server-connect.exp: New file.
6383 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6384 Do not prefix the port number with ":".
6385 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6386 support for detecting and using it. Add '$debughost_gdbserver'
6387 to the list of arguments used to start gdbserver. Handle case
6388 when gdbserver cannot resolve a network name.
6389
6390 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6391
6392 PR c++/23373
6393 * gdb.base/ptype-offsets.cc (struct static_member): New
6394 struct.
6395 (main) <stmember>: New variable.
6396 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6397 with a static member in it.
6398
6399 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6400
6401 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6402 watchpoints enabled and disabled.
6403
6404 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6405
6406 * gdb.base/examine-backward.exp: Still run tests around address
6407 0x0, even if address 0x0 is not readable. Update the pattern for
6408 matching address 0x0 in expected output.
6409
6410 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6411
6412 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6413 malloc/free.
6414
6415 2018-07-04 Tom de Vries <tdevries@suse.de>
6416
6417 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6418
6419 2018-07-02 Maciej W. Rozycki <macro@mips.com>
6420
6421 PR tdep/8282
6422 * gdb.arch/mips-disassembler-options.exp: New test.
6423 * gdb.arch/mips-disassembler-options.s: New test source.
6424
6425 2018-06-29 Pedro Alves <palves@redhat.com>
6426
6427 * gdb.threads/names.exp: Adjust expected "info threads" output.
6428
6429 2018-06-29 Pedro Alves <palves@redhat.com>
6430
6431 * gdb.opt/inline-break.exp (line number, address): Add "info
6432 break" tests.
6433
6434 2018-06-29 Pedro Alves <palves@redhat.com>
6435
6436 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6437 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6438 number and address and running to them.
6439
6440 2018-06-29 Richard Bunt <richard.bunt@arm.com>
6441
6442 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6443
6444 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6445
6446 * lib/compiler.c: Remove executable permission flag.
6447
6448 2018-06-28 Richard Bunt <richard.bunt@arm.com>
6449
6450 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6451 code.
6452 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6453
6454 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6455
6456 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6457
6458 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6459
6460 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6461 address argument is omitted.
6462
6463 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6464
6465 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6466
6467 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
6468
6469 PR gdb/21695
6470 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6471 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6472
6473 2018-06-26 Tom Tromey <tom@tromey.com>
6474
6475 PR rust/22574:
6476 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6477 * gdb.rust/simple.rs (struct SimpleLayout): New.
6478
6479 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6480
6481 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6482 "info registers" output.
6483
6484 2018-06-21 Richard Bunt <richard.bunt@arm.com>
6485
6486 * gdb.base/watchpoint-hw-attach.c: New test.
6487 * gdb.base/watchpoint-hw-attach.exp: New file.
6488
6489 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6490
6491 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6492 through /bin/sh.
6493 * boards/dwarf4-gdb-index.exp: Likewise.
6494 * boards/fission-dwp.exp: Likewise.
6495
6496 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6497
6498 * gdb.base/float128.exp: Add comment and improved fail message
6499 to the failure case of "print large128" test.
6500
6501 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6502
6503 * configure.ac: Remove AC_PREREQ.
6504 * configure: Re-generate.
6505
6506 2018-06-19 Pedro Alves <palves@redhat.com>
6507
6508 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6509 (func_extern_caller): New.
6510 (main): Call func_extern_caller.
6511 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6512 logic change.
6513
6514 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
6515
6516 PR gdb/16841
6517 * gdb.cp/typedef-base.cc: New file.
6518 * gdb.cp/typedef-base.exp: New file.
6519
6520 2018-06-18 Tom de Vries <tdevries@suse.de>
6521
6522 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6523
6524 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6525 Richard Bunt <Richard.Bunt@arm.com>
6526
6527 * gdb.threads/attach-slow-waitpid.c: New file.
6528 * gdb.threads/attach-slow-waitpid.exp: New file.
6529 * gdb.threads/slow-waitpid.c: New file.
6530
6531 2018-06-14 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.base/fork-running-state.c: Include <errno.h>.
6534 (exit_if_relative_exits): New.
6535 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6536 exits.
6537 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6538 child exits.
6539
6540 2018-06-14 Tom de Vries <tdevries@suse.de>
6541
6542 PR cli/22573
6543 * gdb.base/finish-pretty.c: New test.
6544 * gdb.base/finish-pretty.exp: New file.
6545
6546 2018-06-14 Pedro Alves <palves@redhat.com>
6547
6548 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6549 gdb's expected startup output.
6550
6551 2018-06-14 Pedro Alves <palves@redhat.com>
6552
6553 * lib/selftest-support.exp (selftest_setup): Remove inlined
6554 function handling.
6555
6556 2018-06-14 Tom de Vries <tdevries@suse.de>
6557
6558 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6559 matching of breakpoint printing.
6560
6561 2018-06-13 Tom de Vries <tdevries@suse.de>
6562
6563 PR testsuite/23269
6564 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6565 (fork_child): ... here, and ...
6566 (fork_parent): ... here.
6567
6568 2018-06-12 Tom de Vries <tdevries@suse.de>
6569
6570 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6571
6572 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6573 Stephen Roberts <stephen.roberts@arm.com>
6574
6575 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6576 rewrite test to describe action performed, rather than possible
6577 failure.
6578
6579 2018-06-08 Gary Benson <gbenson@redhat.com>
6580
6581 * gdb.threads/check-libthread-db.exp: New file.
6582 * gdb.threads/check-libthread-db.c: Likewise.
6583
6584 2018-06-05 Tom Tromey <tom@tromey.com>
6585
6586 * gdb.base/default.exp: Update expected "show version" output.
6587
6588 2018-06-05 Tom Tromey <tom@tromey.com>
6589
6590 PR cli/12326:
6591 * gdb.cp/static-print-quit.exp: Update.
6592 * lib/gdb.exp (pagination_prompt): Update.
6593 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6594 * gdb.python/python.exp: Update.
6595
6596 2018-06-04 Joel Brobecker <brobecker@adacore.com>
6597
6598 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6599
6600 2018-06-01 Joel Brobecker <brobecker@adacore.com>
6601
6602 * gdb.ada/bp_fun_addr: New testcase.
6603
6604 2018-06-01 Tom Tromey <tom@tromey.com>
6605
6606 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6607 results.
6608 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6609 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6610 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6611 * gdb.base/maint.exp (maint_pass_if): Update.
6612
6613 2018-05-31 Maciej W. Rozycki <macro@mips.com>
6614
6615 * gdb.base/endian.exp: New test.
6616 * gdb.base/endian.c: New test source.
6617
6618 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6619
6620 PR gdb/23203
6621 * gdb.base/bt-selected-frame.c: New file.
6622 * gdb.base/bt-selected-frame.exp: New file.
6623 * lib/gdb.exp (get_current_frame_number): New function.
6624
6625 2018-05-24 Maciej W. Rozycki <macro@mips.com>
6626 Pedro Alves <palves@redhat.com>
6627
6628 * gdb.threads/tls-core.c: Include <stdlib.h>
6629 (thread_proc): Call `abort'.
6630 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6631 (tls_core_test): New procedure, bits factored out from ...
6632 (top level): ... here. Test both native cores and gcore cores.
6633
6634 2018-05-23 Tom Tromey <tom@tromey.com>
6635
6636 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6637
6638 2018-05-23 Tom Tromey <tom@tromey.com>
6639
6640 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6641 symfile_complaints.
6642 (test_short_complaints): Likewise.
6643 (test_empty_complaints): Likewise.
6644 (test_initial_complaints): Update.
6645
6646 2018-05-23 Tom Tromey <tom@tromey.com>
6647
6648 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6649
6650 2018-05-23 Tom Tromey <tom@tromey.com>
6651
6652 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6653 (test_short_complaints): Update.
6654
6655 2018-05-22 Pedro Alves <palves@redhat.com>
6656
6657 * gdb.base/remote.exp: Only gdb_start after compiling the
6658 testcase. Issue "disconnect" before testing "set remote" command
6659 defaults. Issue clean_restart before running to main.
6660
6661 2018-05-22 Pedro Alves <palves@redhat.com>
6662
6663 * gdb.base/remote.exp: Adjust expected output of "show remote
6664 memory-write-packet-size". Add tests for "set remote
6665 memory-write-packet-size 0" and "set remote
6666 memory-write-packet-size fixed/limit".
6667
6668 2018-05-22 Pedro Alves <palves@redhat.com>
6669
6670 PR gdb/22973
6671 * gdb.base/utf8-identifiers.c: New file.
6672 * gdb.base/utf8-identifiers.exp: New file.
6673
6674 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6675
6676 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6677
6678 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6679
6680 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6681
6682 2018-05-18 Tom Tromey <tom@tromey.com>
6683
6684 * gdb.base/ptype-offsets.exp: Update.
6685
6686 2018-05-17 Keith Seitz <keiths@redhat.com>
6687
6688 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6689 in expected breakpoint stop locations.
6690 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6691 move to proper scope to test variable values.
6692 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6693 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6694 New functions.
6695 (main): Call not_inline_func3.
6696 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6697 inline_func1, inline_func2, and inline_func3. Test that when each
6698 breakpoint is hit, GDB properly reports both the stop location
6699 and the backtrace. Repeat tests for temporary breakpoints.
6700
6701 2018-05-15 Maciej W. Rozycki <macro@mips.com>
6702
6703 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6704 rather then trying to access it in determining whether the PID
6705 of `gdbserver' could have been retrieved.
6706
6707 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6708
6709 * gdb.arch/amd64-init-x87-values.S: New file.
6710 * gdb.arch/amd64-init-x87-values.exp: New file.
6711
6712 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6713
6714 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6715
6716 2018-05-04 Tom Tromey <tom@tromey.com>
6717
6718 PR python/22730:
6719 * gdb.python/python.exp: Test multi-line execute.
6720
6721 2018-05-04 Tom Tromey <tom@tromey.com>
6722
6723 PR python/22731:
6724 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6725
6726 2018-05-04 Tom Tromey <tom@tromey.com>
6727
6728 PR gdb/11750:
6729 * gdb.base/define.exp: Test defining a user command inside a user
6730 command.
6731 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6732
6733 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6734 Pedro Alves <palves@redhat.com>
6735
6736 PR breakpoints/19806 and support for PR external/20207.
6737 * gdb.base/watchpoint-unaligned.c: New file.
6738 * gdb.base/watchpoint-unaligned.exp: New file.
6739
6740 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6741
6742 * gdb.base/maint.exp: Make test names unique, use
6743 test_prefix_command_help to test 'help maint info', and remove
6744 repeated test of 'help maint'.
6745
6746 2018-05-04 Tom Tromey <tom@tromey.com>
6747
6748 PR gdb/22619:
6749 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6750 behavior.
6751
6752 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6753
6754 * gdb.base/maint.exp: Process output from 'maint print registers'
6755 line at a time.
6756
6757 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6758
6759 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6760 timeout.
6761
6762 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6763
6764 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6765 filter pattern.
6766
6767 2018-05-02 Pedro Alves <palves@redhat.com>
6768
6769 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6770 to_log_command renames.
6771 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6772
6773 2018-05-02 Tom Tromey <tom@tromey.com>
6774
6775 * gdb.python/py-parameter.exp: Set test message.
6776
6777 2018-05-02 Tom Tromey <tom@tromey.com>
6778
6779 PR python/20084:
6780 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6781 PARAM_ZUINTEGER_UNLIMITED tests.
6782
6783 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6784
6785 PR rust/23124
6786 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6787 when casting.
6788
6789 2018-04-30 Tom Tromey <tom@tromey.com>
6790
6791 * gdb.python/py-type.exp: Check align attribute.
6792 * gdb.python/py-type.c: New "aligncheck" global.
6793
6794 2018-04-30 Tom Tromey <tom@tromey.com>
6795
6796 PR exp/17095:
6797 * gdb.dwarf2/dw2-align.exp: New file.
6798 * gdb.cp/align.exp: New file.
6799 * gdb.base/align.exp: New file.
6800 * lib/gdb.exp (gdb_int128_helper): New proc.
6801 (has_int128_c, has_int128_cxx): New caching procs.
6802
6803 2018-04-27 Tom Tromey <tom@tromey.com>
6804
6805 PR rust/22545:
6806 * gdb.rust/simple.exp: Add inclusive range tests.
6807
6808 2018-04-26 Pedro Alves <palves@redhat.com>
6809
6810 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6811 ifunc breakpoint locations correctly of ifunc breakpoints set
6812 while the program resolves the ifunc.
6813
6814 2018-04-26 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.base/gnu-ifunc-final.c: New file.
6817 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6818 * gdb.base/gnu-ifunc.exp (executable): Delete.
6819 (staticexecutable): Adjust.
6820 (lib_opts, exec_opts): Delete.
6821 (make_binsuffix, build, set-break): New procedures.
6822 (misc_tests): New, with tests factored out from the top level.
6823 (top level): Test different combinations of ifunc resolver name,
6824 resolver with and with debug info, and ifunc target with and
6825 without debug info. Wrap static tests with with_target_prefix.
6826
6827 2018-04-26 Pedro Alves <palves@redhat.com>
6828
6829 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6830 return type" warnings.
6831
6832 2018-04-25 Pedro Alves <palves@redhat.com>
6833
6834 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6835 killed".
6836 * gdb.base/kill-after-signal.exp: Likewise.
6837 * gdb.threads/kill.exp: Likewise.
6838
6839 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6840 Sergio Durigan Junior <sergiodj@redhat.com>
6841 Pedro Alves <palves@redhat.com>
6842
6843 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6844 regexps to expect for '[Inferior ... detached]' as well.
6845 * gdb.base/attach.exp: Likewise.
6846 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6847 "gdb_continue_to_end".
6848 (test_catch_syscall_with_wrong_args): Likewise.
6849 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6850 ']'. Don't set 'verbose' on.
6851 * gdb.base/foll-vfork.exp: Likewise.
6852 * gdb.base/fork-print-inferior-events.c: New file.
6853 * gdb.base/fork-print-inferior-events.exp: New file.
6854 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6855 '[Inferior ... has been killed]' message.
6856 * gdb.base/kill-after-signal.exp: Likewise.
6857 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6858 detach message.
6859 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6860 message.
6861 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6862 regexps to expect for '[Inferior ... detached]' as well.
6863 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6864
6865 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6866
6867 PR gdb/23104
6868 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6869
6870 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6871
6872 PR gdb/23095
6873 * gdb.base/break-probes.exp: Pass shlib_load to
6874 prepare_for_testing. Set normal_bp to r_debug_state if target is
6875 bsd.
6876
6877 2018-04-19 Richard Bunt <richard.bunt@arm.com>
6878
6879 * gdb.threads/multiple-successive-infcall.c: New test.
6880 * gdb.threads/multiple-successive-infcall.exp: New file.
6881
6882 2018-04-17 Tom Tromey <tom@tromey.com>
6883
6884 * gdb.rust/simple.rs (Union): New type.
6885 (main): New local "u".
6886 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6887
6888 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6889
6890 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6891 number information in output of "whereis" command.
6892 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6893
6894 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6895
6896 * gdb.ada/info_types.exp: Adjust expected output to the line
6897 numbers now printed by "info var/func/type".
6898 * gdb.base/completion.exp: Likewise.
6899 * gdb.base/included.exp: Likewise.
6900 * gdb.cp/cp-relocate.exp: Likewise.
6901 * gdb.cp/cplusfuncs.exp: Likewise.
6902 * gdb.cp/namespace.exp: Likewise.
6903 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6904
6905 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6906
6907 * gdb.btrace/cpu.exp: New.
6908
6909 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6910
6911 * gdb.base/step-indirect-call-thunk.exp: New.
6912 * gdb.base/step-indirect-call-thunk.c: New.
6913 * gdb.reverse/step-indirect-call-thunk.exp: New.
6914 * gdb.reverse/step-indirect-call-thunk.c: New.
6915
6916 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6917
6918 * gdb.base/pie-fork.c: New file.
6919 * gdb.base/pie-fork.exp: New file.
6920
6921 2018-04-11 Tom Tromey <tom@tromey.com>
6922
6923 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6924
6925 2018-04-10 Pedro Alves <palves@redhat.com>
6926
6927 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6928 exits. Instead loop running forever.
6929 (fork_parent): Run forever too.
6930
6931 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6932
6933 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6934 mi_continue_to_line.
6935 * gdb.mi/mi-stack.c (callee4): Add comment.
6936
6937 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6938
6939 * gdb.mi/mi-stack.exp: Fix indentation.
6940
6941 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6942
6943 PR gdb/22979
6944 * gdb.arch/amd64-osabi.exp: New file.
6945
6946 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6947
6948 PR gdb/22980
6949 * gdb.base/osabi.exp: New file.
6950
6951 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
6952
6953 * gdb.cp/static-typedef-print.exp: New file.
6954 * gdb.cp/static-typedef-print.cc: New file.
6955
6956 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6957
6958 * gdb.ada/varsize_limit: New testcase.
6959
6960 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6961
6962 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6963
6964 * gdb.ada/notcplusplus: New testcase.
6965
6966 * gdb.base/c-linkage-name.c: New file.
6967 * gdb.base/c-linkage-name.exp: New testcase.
6968
6969 2018-03-26 Tom Tromey <tom@tromey.com>
6970
6971 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6972 * gdb.python/py-framefilter.py (name_error): New global.
6973 (ErrorInName.function): Use name_error.
6974
6975 2018-03-26 Tom Tromey <tom@tromey.com>
6976
6977 PR backtrace/15582:
6978 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6979
6980 2018-03-23 Keith Seitz <keiths@redhat.com>
6981
6982 PR c++/22968
6983 * gdb.cp/subtypes.exp: New file.
6984 * gdb.cp/subtypes.h: New file.
6985 * gdb.cp/subtypes.cc: New file.
6986 * gdb.cp/subtypes-2.cc: New file.
6987
6988 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6989
6990 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6991 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6992 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6993 -nostartfiles when compiling the test. Confirm that all registers
6994 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6995
6996 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6997
6998 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6999 option, syntax was wrong anyway.
7000 * gdb.arch/arm-disp-step.exp: Likewise.
7001 * gdb.arch/sparc64-regs.exp: Likewise.
7002 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7003 option, syntax was wrong anyway, switch to use
7004 prepare_for_testing.
7005 * gdb.arch/i386-disp-step.exp: Likewise.
7006
7007 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7008
7009 * gdb.ada/exec_changed.exp: Replace "target_info exists
7010 use_gdb_stub" by "use_gdb_stub".
7011 * gdb.ada/start.exp: Likewise.
7012 * gdb.base/async-shell.exp: Likewise.
7013 * gdb.base/attach-pie-misread.exp: Likewise.
7014 * gdb.base/attach-wait-input.exp: Likewise.
7015 * gdb.base/break-entry.exp: Likewise.
7016 * gdb.base/break-interp.exp: Likewise.
7017 * gdb.base/dprintf-detach.exp: Likewise.
7018 * gdb.base/nostdlib.exp: Likewise.
7019 * gdb.base/solib-nodir.exp: Likewise.
7020 * gdb.base/statistics.exp: Likewise.
7021 * gdb.base/testenv.exp: Likewise.
7022 * gdb.mi/mi-exec-run.exp: Likewise.
7023 * gdb.mi/mi-start.exp: Likewise.
7024 * gdb.multi/dummy-frame-restore.exp: Likewise.
7025 * gdb.multi/multi-arch-exec.exp: Likewise.
7026 * gdb.multi/multi-arch.exp: Likewise.
7027 * gdb.multi/tids.exp: Likewise.
7028 * gdb.multi/watchpoint-multi.exp: Likewise.
7029 * gdb.python/py-events.exp: Likewise.
7030 * gdb.threads/attach-into-signal.exp: Likewise.
7031 * gdb.threads/attach-stopped.exp: Likewise.
7032 * gdb.threads/threadapply.exp: Likewise.
7033 * lib/selftest-support.exp: Likewise.
7034
7035 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7036
7037 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7038
7039 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7040
7041 * gdb.perf/template-breakpoints.cc: New file.
7042 * gdb.perf/template-breakpoints.exp: New file.
7043 * gdb.perf/template-breakpoints.py: New file.
7044
7045 2018-03-19 Tom Tromey <tom@tromey.com>
7046
7047 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7048 y0.
7049 * gdb.rust/simple.exp: Test bare identifier form of struct
7050 initializer.
7051
7052 2018-03-19 Tom Tromey <tom@tromey.com>
7053
7054 * gdb.gdb/observer.exp: Remove.
7055
7056 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7057
7058 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7059 "qualified" option when setting breakpoints.
7060 * gdb.trace/backtrace.exp: Likewise.
7061 * gdb.trace/circ.exp: Likewise.
7062 * gdb.trace/collection.exp: Likewise.
7063 * gdb.trace/disconnected-tracing.exp: Likewise.
7064 * gdb.trace/ftrace-lock.exp: Likewise.
7065 * gdb.trace/ftrace.exp: Likewise.
7066 * gdb.trace/infotrace.exp: Likewise.
7067 * gdb.trace/packetlen.exp: Likewise.
7068 * gdb.trace/passc-dyn.exp: Likewise.
7069 * gdb.trace/qtro.exp: Likewise.
7070 * gdb.trace/read-memory.exp: Likewise.
7071 * gdb.trace/report.exp: Likewise.
7072 * gdb.trace/signal.exp: Likewise.
7073 * gdb.trace/status-stop.exp: Likewise.
7074 * gdb.trace/strace.exp: Likewise.
7075 * gdb.trace/tfind.exp: Likewise.
7076 * gdb.trace/trace-break.exp: Likewise.
7077 * gdb.trace/trace-condition.exp: Likewise.
7078 * gdb.trace/trace-mt.exp: Likewise.
7079 * gdb.trace/tstatus.exp: Likewise.
7080 * gdb.trace/tsv.exp: Likewise.
7081 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7082 * gdb.trace/unavailable.exp: Likewise.
7083 * gdb.trace/while-dyn.exp: Likewise.
7084
7085 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7086
7087 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7088 that libinproctrace is copied to the target.
7089
7090 2018-03-14 Tom Tromey <tom@tromey.com>
7091
7092 PR cli/14977:
7093 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7094 a null pointer.
7095 * gdb.base/wchar.exp: Likewise.
7096
7097 2018-03-14 Tom Tromey <tom@tromey.com>
7098
7099 PR cli/19918:
7100 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7101 flag.
7102
7103 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7104
7105 PR gdb/22841
7106 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7107 "target" to remote_exec.
7108
7109 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7110
7111 PR gdb/22841
7112 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7113 ${board}_upload): Remove.
7114
7115 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7116
7117 * gdb.cp/watch-cp.cc: New test.
7118 * gdb.cp/watch-cp.exp: New file.
7119
7120 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7121
7122 * gdb.base/infcall-nested-structs.exp: New file.
7123 * gdb.base/infcall-nested-structs.c: New file.
7124 * gdb.base/float.exp: Add riscv support.
7125
7126 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7127
7128 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7129 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7130
7131 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7132
7133 * gdb.server/abspath.exp: New file.
7134 * lib/gdb.exp (with_cwd): New procedure.
7135
7136 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7137
7138 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7139 use it.
7140 (gdb_is_target_remote_prompt): New proc.
7141 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7142 (gdb_is_target_native): Pass prompt parameter to
7143 gdb_is_target_1.
7144
7145 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7146
7147 * gdb.base/load-command.c: New file.
7148 * gdb.base/load-command.exp: New file.
7149 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7150 (gdb_is_target_1): ...this, and generalize for other targets
7151 than just remote.
7152 (gdb_is_target_remote): Use gdb_is_target_1.
7153 (gdb_is_target_native): use gdb_is_target_1.
7154
7155 2018-02-26 Tom Tromey <tom@tromey.com>
7156
7157 PR python/16497:
7158 * gdb.python/py-framefilter.exp: Update test.
7159
7160 2018-02-26 Tom Tromey <tom@tromey.com>
7161
7162 * gdb.dwarf2/variant.c: New file.
7163 * gdb.dwarf2/variant.exp: New file.
7164
7165 2018-02-26 Tom Tromey <tom@tromey.com>
7166
7167 * gdb.rust/simple.exp: Accept more possible results in enum test.
7168
7169 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7170
7171 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7172 parentheses.
7173
7174 2018-02-23 Maciej W. Rozycki <macro@mips.com>
7175
7176 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7177 name of a variable: $actual_linejj -> $actual_line.
7178
7179 2018-02-21 John Baldwin <jhb@FreeBSD.org>
7180
7181 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7182
7183 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7184
7185 * gdb.btrace/buffer-size.exp: Do not force BTS.
7186
7187 2018-02-14 Pedro Alves <palves@redhat.com>
7188
7189 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7190 getting a "Quit".
7191
7192 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7193
7194 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7195 Fix test name.
7196
7197 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7198
7199 * gdb.cp/m-static.exp: Check type of optimized out static
7200 member.
7201
7202 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7203
7204 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7205 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7206
7207 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7208 Leszek Swirski <leszeks@google.com>
7209
7210 * gdb.python/py-prettyprint.c
7211 (struct to_string_returns_value_inner,
7212 struct to_string_returns_value_wrapper): New.
7213 (main): Add tsrvw variable.
7214 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7215 ToStringReturnsValueWrapper): New classes.
7216 (register_pretty_printers): Register new pretty-printers.
7217 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7218 recursive pretty printer.
7219 * gdb.python/py-mi.exp: Likewise.
7220
7221 2018-02-01 Leszek Swirski <leszeks@google.com>
7222
7223 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7224 functions with the same name as an include file are parsed
7225 correctly.
7226
7227 2018-02-01 Yao Qi <yao.qi@linaro.org>
7228
7229 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7230 "\[^\r\n\]*".
7231
7232 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7233
7234 * gdb.arch/powerpc-prologue-frame.s: New file.
7235 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7236 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7237
7238 2018-01-31 Joel Brobecker <brobecker@adacore.com>
7239
7240 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7241
7242 2018-01-30 Pedro Alves <palves@redhat.com>
7243
7244 PR gdb/13211
7245 * gdb.base/interrupt-daemon.c: New.
7246 * gdb.base/interrupt-daemon.exp: New.
7247 * gdb.multi/multi-term-settings.c: New.
7248 * gdb.multi/multi-term-settings.exp: New.
7249
7250 2018-01-30 Joel Brobecker <brobecker@adacore.com>
7251
7252 * gdb.base/break.exp: Save the location where the breakpoint
7253 on break.c:47 was actually inserted when debugging the version
7254 compiled at -O2 and use it in the expected output of the "info
7255 break" test performed soon after.
7256
7257 2018-01-22 Pedro Alves <palves@redhat.com>
7258 Sergio Durigan Junior <sergiodj@redhat.com>
7259
7260 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7261 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7262
7263 2018-01-22 Joel Brobecker <brobecker@adacore.com>
7264
7265 * gdb.base/break-include.c, gdb.base/break-include.inc,
7266 gdb.base/break-include.exp: New files.
7267 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7268 line number now being the actual line number where the breakpoint
7269 was inserted.
7270 * gdb.mi/mi-break.exp: Likewise.
7271 * gdb.mi/mi-reverse.exp: Likewise.
7272 * gdb.mi/mi-simplerun.exp: Ditto.
7273
7274 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7275
7276 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7277 varobj.
7278 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7279
7280 2018-01-21 Don Breazeal <donb@codesourcery.com>
7281 Andrew Burgess <andrew.burgess@embecosm.com>
7282
7283 * gdb.mi/basics.c: Add new global.
7284 * gdb.mi/mi-frame-regs.exp: New file.
7285 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7286 case.
7287
7288 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7289
7290 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7291 non-parameter, and on an unknown symbol.
7292
7293 2018-01-19 Tom Tromey <tom@tromey.com>
7294
7295 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7296 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7297
7298 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7299
7300 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7301 setrlimit and chdir to int.
7302
7303 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7304
7305 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7306 function.
7307 (my_tend): Likewise.
7308 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7309 rationale of avoiding FP- and vector instructions.
7310
7311 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7312
7313 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7314 "info reg" with "\[ \t\]*".
7315 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7316 "\[ \t\]+".
7317 * gdb.arch/s390-multiarch.exp: Ditto.
7318 * gdb.base/pc-fp.exp: Ditto.
7319 * gdb.reverse/i386-precsave.exp: Ditto.
7320 * gdb.reverse/i386-reverse.exp: Ditto.
7321 * gdb.reverse/i387-env-reverse.exp: Ditto.
7322 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7323
7324 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7325
7326 * lib/gdb.exp (gdb_compile): Re-enable use of
7327 universal_compile_options for languages other than Rust.
7328
7329 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7330
7331 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7332
7333 2018-01-17 Mike Gulick <mgulick@mathworks.com>
7334
7335 PR gdb/16577
7336 * gdb.base/solib-vanish.exp: New.
7337 * gdb.base/solib-vanish-main.c: New.
7338 * gdb.base/solib-vanish-lib1.c: New.
7339 * gdb.base/solib-vanish-lib2.c: New.
7340
7341 2018-01-17 Yao Qi <yao.qi@linaro.org>
7342
7343 * gdb.compile/compile.exp: Match the address printed for
7344 frame in the output of command "bt".
7345
7346 2018-01-15 Tom Tromey <tom@tromey.com>
7347
7348 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7349 compute sp_reg.
7350
7351 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7352
7353 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7354 to prepare.
7355 (prepare): Return 0 on error, 1 on success.
7356
7357 2018-01-12 Pedro Alves <palves@redhat.com>
7358
7359 * gdb.base/continue-after-aborted-step-over.c: New.
7360 * gdb.base/continue-after-aborted-step-over.exp: New.
7361
7362 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7363
7364 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7365 options when not creating an executable.
7366
7367 2018-01-11 Pedro Alves <palves@redhat.com>
7368
7369 PR remote/22597
7370 * gdb.server/stop-reply-no-thread.c: New file.
7371 * gdb.server/stop-reply-no-thread.exp: New file.
7372
7373 2018-01-10 Pedro Alves <palves@redhat.com>
7374
7375 PR gdb/22670
7376 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7377 functions too. Test setting breakpoints and printing C functions
7378 with no debug info too.
7379 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7380
7381 2018-01-10 Pedro Alves <palves@redhat.com>
7382
7383 PR gdb/22670
7384 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7385 a fail.
7386
7387 2018-01-10 Pedro Alves <palves@redhat.com>
7388
7389 PR gdb/22670
7390 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7391
7392 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7393
7394 * gdb.server/unittest.exp: Match the output in non-development
7395 mode.
7396
7397 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7398
7399 * gdb.gdb/unittest.exp: Match output in non-development mode.
7400
7401 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7402
7403 * gdb.ada/access_tagged_param.exp: Relax expected output
7404 for value of "ObjL" in "continue" to pck.inspect breakpoint
7405 test.
7406
7407 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7408
7409 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7410 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
7411
7412 2018-01-05 Pedro Alves <palves@redhat.com>
7413
7414 PR gdb/18653
7415 * gdb.base/libsegfault.exp: New.
7416
7417 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7418
7419 PR gdb/22670
7420 * gdb.ada/access_tagged_param.exp: New file.
7421 * gdb.ada/access_tagged_param/foo.adb: New file.
7422
7423 2018-01-05 Pedro Alves <palves@redhat.com>
7424
7425 PR gdb/22670
7426 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7427 exercise lower case too, and to exercise both full matching and
7428 wild matching.
7429
7430 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7431
7432 * gdb.ada/rename_subscript_param: New testcase.
7433
7434 2018-01-05 Jerome Guitton <guitton@adacore.com>
7435
7436 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7437
7438 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7439
7440 * gdb.ada/convvar_comp: New testcase.
7441
7442 2018-01-05 Xavier Roirand <roirand@adacore.com>
7443
7444 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7445 (My_Table): New global variable.
7446 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7447
7448 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7449
7450 PR gdb/22670
7451 * gdb.ada/maint_with_ada: New testcase.
7452
7453 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7454
7455 PR gdb/22670
7456 * gdb.ada/bp_c_mixed_case: New testcase.
7457
7458 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7459
7460 PR gdb/22670
7461 * gdb.ada/complete.exp: Add "complete break ada" test.
7462
7463 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7464
7465 PR gdb/22670
7466 * gdb.ada/info_addr_mixed_case: New testcase.
7467
7468 2018-01-03 Xavier Roirand <roirand@adacore.com>
7469
7470 * gdb.ada/excep_handle.exp: New testcase.
7471 * gdb.ada/excep_handle/foo.adb: New file.
7472 * gdb.ada/excep_handle/pck.ads: New file.
7473
7474 2018-01-03 Joel Brobecker <brobecker@adacore.com>
7475
7476 * gdb.base/step-line.c: Add extra empty line in copyright header.
7477 * gdb.base/step-line.inp: Likewise.
7478
7479 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7480
7481 * gdb.ada/dyn_stride.exp: Add slice test.
7482
7483 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7484
7485 * gdb.ada/dyn_stride: New testcase.
7486
7487 2017-12-27 Stafford Horne <shorne@gmail.com>
7488
7489 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7490 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7491
7492 2017-12-27 Stafford Horne <shorne@gmail.com>
7493
7494 * gdb.base/reggroups.c: New file.
7495 * gdb.base/reggroups.exp: New file.
7496
7497 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7498
7499 * gdb.dwarf2/ada-valprint-error.c: New file.
7500 * gdb.dwarf2/ada-valprint-error.exp: New file.
7501
7502 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7503
7504 * gdb.ada/assign_arr: New testcase.
7505
7506 2017-12-18 Xavier Roirand <roirand@adacore.com>
7507
7508 * gdb.ada/funcall_ptr: New testcase.
7509
7510 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7511
7512 PR cli/16224
7513 * gdb.base/ptype-offsets.cc: New file.
7514 * gdb.base/ptype-offsets.exp: New file.
7515
7516 2017-12-15 Yao Qi <yao.qi@linaro.org>
7517
7518 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7519 if XML is disabled.
7520
7521 2017-12-15 Xavier Roirand <roirand@adacore.com>
7522
7523 * gdb.ada/same_component_name: New testcase.
7524
7525 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7526
7527 * gdb.ada/str_binop_equal: New testcase.
7528
7529 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7530
7531 * gdb.ada/task_switch_in_core: New testcase.
7532
7533 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7534
7535 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7536 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7537 call test_bkpt_qualified.
7538 (test_bkpt_qualified): New proc.
7539
7540 2017-12-13 Pedro Alves <palves@redhat.com>
7541
7542 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7543 Tighten regexp by matching with an anchor.
7544
7545 2017-12-13 Pedro Alves <palves@redhat.com>
7546
7547 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7548 ("expression with namespace"): New set of tests.
7549 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7550 (Nested::Test_NS::qux): New.
7551 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7552 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7553
7554 2017-12-13 Joel Brobecker <brobecker@adacore.com>
7555
7556 * gdb.base/server-del-break.c: New file.
7557 * gdb.base/server-del-break.exp: New file.
7558
7559 2017-12-12 Stafford Horne <shorne@gmail.com>
7560
7561 * gdb.xml/tdesc-regs.exp: Add or1k support.
7562
7563 2017-12-12 Stafford Horne <shorne@gmail.com>
7564
7565 * gdb.base/bp-permanent.c: Define nop of or1k.
7566
7567 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7568
7569 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7570 output with components being reordered.
7571
7572 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7573
7574 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7575 output with components being reordered.
7576
7577 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7578 Pedro Alves <palves@redhat.com>
7579
7580 * gdb.base/maint.exp (check for .gdb_index): Check also for
7581 .debug_names.
7582 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7583 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7584 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7585 (.gdb_index used after symbol reloading): Support also .debug_names.
7586 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7587
7588 2017-12-08 Yao Qi <yao.qi@linaro.org>
7589
7590 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7591 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7592
7593 2017-12-08 Yao Qi <yao.qi@linaro.org>
7594
7595 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7596 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7597
7598 2017-12-08 Yao Qi <yao.qi@linaro.org>
7599
7600 * gdb.arch/aarch64-tagged-pointer.c: New file.
7601 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7602
7603 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7604
7605 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7606 "int".
7607
7608 2017-12-07 Keith Seitz <keiths@redhat.com>
7609
7610 PR breakpoints/22569
7611 * gdb.linespec/ls-errs.exp: Change expected result of "break
7612 -source this file has spaces.c -line 3".
7613 Check that an explicit source file followed by whitespace is
7614 identified as an invalid explicit location.
7615
7616 2017-12-07 Keith Seitz <keiths@redhat.com>
7617
7618 * gdb.cp/nested-types.cc: New file.
7619 * gdb.cp/nested-types.exp: New file.
7620 * lib/cp-support.exp: Load data-structures.exp library.
7621 (debug_cp_test_ptype_class): New global.
7622 (cp_ptype_class_verbose, next_line): New procedures.
7623 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7624 Add and document new return value.
7625 Switch the list of lines to a queue.
7626 Add support for new `type' key for nested type definitions.
7627 Add debugging/troubleshooting messages.
7628 * lib/data-structures.exp: New file.
7629
7630 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7631
7632 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7633 with proc_with_prefix, don't use with_test_prefix.
7634
7635 2017-12-07 Tom Tromey <tom@tromey.com>
7636
7637 * gdb.base/break.exp: Add test for empty "commands".
7638
7639 2017-12-07 Yao Qi <yao.qi@linaro.org>
7640
7641 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7642 malloc and catch syscall.
7643
7644 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7645
7646 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
7647 tests for explicit locations.
7648
7649 2017-12-06 Pedro Alves <palves@redhat.com>
7650
7651 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7652 force-disabling XML descriptions.
7653
7654 2017-12-04 Pedro Alves <palves@redhat.com>
7655
7656 PR gdb/22499
7657 * gdb.arch/amd64-disp-step-avx.S: New file.
7658 * gdb.arch/amd64-disp-step-avx.exp: New file.
7659
7660 2017-12-03 Pedro Alves <palves@redhat.com>
7661
7662 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7663 and <string.h>.
7664 (parent_function): Print distinct messages when waitpid fails, or
7665 the child exits with a signal, or the child exits for an unhandled
7666 reason.
7667 * gdb.threads/process-dies-while-detaching.exp
7668 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7669 it. Wait for both inferior output and GDB's prompt. Use an
7670 indirect spawn id list.
7671 (do_detach): New parameter 'child_exit'. Use it to compute
7672 expected inferior output.
7673 (test_detach, test_detach_watch, test_detach_killed_outside):
7674 Adjust to pass down the expected child exit kind.
7675
7676 2017-12-01 Joel Brobecker <brobecker@adacore.com>
7677 Sergio Durigan Junior <sergiodj@redhat.com>
7678 Pedro Alves <palves@redhat.com>
7679
7680 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7681
7682 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7683
7684 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7685 to 'symbol-file' and 'add-symbol-file' can be
7686 position-independent.
7687
7688 2017-12-01 Yao Qi <yao.qi@linaro.org>
7689
7690 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7691 the URL in copyright header.
7692 * gdb.arch/aarch64-fp.exp: Likewise.
7693 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7694 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7695 * gdb.base/expand-psymtabs.exp: Likewise.
7696 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7697 * gdb.fortran/common-block.exp: Likewise.
7698 * gdb.fortran/common-block.f90: Likewise.
7699 * gdb.fortran/logical.exp: Likewise.
7700 * gdb.fortran/vla-datatypes.f90: Likewise.
7701 * gdb.fortran/vla-sub.f90: Likewise.
7702
7703 2017-11-30 Joel Brobecker <brobecker@adacore.com>
7704
7705 * gdb.ada/repeat_dyn: New testcase.
7706
7707 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7708
7709 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7710 Update for changed thread numbering.
7711 * gdb.cell/bt.exp: Update for changed GDB output.
7712
7713 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7714
7715 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7716 setting isremote by hand.
7717 * boards/dwarf4-gdb-index.exp: Likewise.
7718 * boards/fission.exp: Likewise.
7719 * boards/stabs.exp: Likewise.
7720
7721 2017-11-30 Pedro Alves <palves@redhat.com>
7722
7723 * gdb.linespec/cpls-ops.exp
7724 (check_explicit_skips_function_argument): Extract the underlying
7725 type of size_t instead of hardcoding it.
7726
7727 2017-11-29 Pedro Alves <palves@redhat.com>
7728
7729 PR c++/19436
7730 * gdb.linespec/cpls-abi-tag.cc: New file.
7731 * gdb.linespec/cpls-abi-tag.exp: New file.
7732
7733 2017-11-29 Pedro Alves <palves@redhat.com>
7734
7735 * gdb.base/langs.exp: Use -qualified.
7736 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7737 it.
7738 * gdb.cp/namespace.exp: Use -qualified.
7739 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7740 (overload-3, template-overload, template-ret-type, const-overload)
7741 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7742 procedures.
7743 (test_driver): Call them.
7744 * gdb.cp/save-bp-qualified.cc: New.
7745 * gdb.cp/save-bp-qualified.exp: New.
7746 * gdb.linespec/explicit.exp: Test -qualified.
7747 * lib/completion-support.exp (completion::explicit_opts_list): Add
7748 "-qualified".
7749 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7750
7751 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7752
7753 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7754
7755 2017-11-29 Tom Tromey <tom@tromey.com>
7756
7757 * gdb.base/relocate.exp: Update invalid argument test.
7758 Add new tests for invalid arguments.
7759
7760 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7761
7762 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7763 Return 0 as a long.
7764 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7765
7766 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7767
7768 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7769 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7770 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7771 func ().
7772 * gdb.cp/shadow.cc (B.func): Return 0.
7773
7774 2017-11-27 Joel Brobecker <brobecker@adacore.com>
7775
7776 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7777 expected output in gdb_expect call to allow the exception
7778 message to be present as well. Fix syntax confusion to avoid
7779 TCL thinking that exception_name is an array.
7780
7781 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7782
7783 * gdb.arch/spu-info.c: Include <unistd.h>.
7784 (do_signal_test): Fix broken calls to write.
7785 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7786 Fix checks for empty mailboxes. Update signal tests for corrected
7787 do_signal_test routine. Allow nonzero event status.
7788 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7789 * gdb.cell/arch.exp: Use standard_output_file.
7790 * gdb.cell/break.exp: Likewise.
7791 * gdb.cell/bt.exp: Likewise.
7792 * gdb.cell/core.exp: Likewise.
7793 * gdb.cell/dwarfaddr.exp: Likewise.
7794 * gdb.cell/ea-cache.exp: Likewise.
7795 * gdb.cell/ea-standalone.exp: Likewise.
7796 * gdb.cell/f-regs.exp: Likewise.
7797 * gdb.cell/fork.exp: Likewise.
7798 * gdb.cell/gcore.exp: Likewise.
7799 * gdb.cell/mem-access.exp: Likewise.
7800 * gdb.cell/ptype.exp: Likewise.
7801 * gdb.cell/registers.exp: Likewise.
7802 * gdb.cell/sizeof.exp: Likewise.
7803 * gdb.cell/solib-symbol.exp: Likewise.
7804 * gdb.cell/solib.exp: Likewise.
7805
7806 2017-11-25 Pedro Alves <palves@redhat.com>
7807
7808 * gdb.base/complete-empty.exp: New file.
7809 * gdb.base/completion.exp: Adjust.
7810
7811 2017-11-25 Pedro Alves <palves@redhat.com>
7812
7813 * gdb.linespec/cpls-ops.cc: New file.
7814 * gdb.linespec/cpls-ops.exp: New file.
7815 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7816 factored out from ...
7817 (test_complete_prefix_range): ... this.
7818
7819 2017-11-24 Pedro Alves <palves@redhat.com>
7820
7821 * gdb.linespec/cpcompletion.exp: New file.
7822 * gdb.linespec/cpls-hyphen.cc: New file.
7823 * gdb.linespec/cpls.cc: New file.
7824 * gdb.linespec/cpls2.cc: New file.
7825 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7826 test to use test_gdb_complete_unique. Add label completion,
7827 keyword completion and explicit location completion tests.
7828 * lib/completion-support.exp: New file.
7829
7830 2017-11-24 Joel Brobecker <brobecker@adacore.com>
7831
7832 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7833 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7834 when hitting an exception catchpoint.
7835
7836 2017-11-22 Yao Qi <yao.qi@linaro.org>
7837
7838 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7839
7840 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7841
7842 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7843 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7844 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7845
7846 2017-11-22 Yao Qi <yao.qi@linaro.org>
7847
7848 * gdb.base/info-os.exp: Pass pthreads.
7849 * gdb.multi/multi-attach.exp: Likewise.
7850
7851 2017-11-22 Yao Qi <yao.qi@linaro.org>
7852
7853 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7854 compiler.
7855
7856 2017-11-22 Yao Qi <yao.qi@linaro.org>
7857
7858 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7859 * gdb.base/break-interp.exp: Likewise.
7860 * gdb.base/jit-attach-pie.exp: Likewise.
7861
7862 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7863
7864 * gdb.base/float128.c (large128): New variable.
7865 * gdb.base/float128.exp: Add test to print largest __float128 value.
7866
7867 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7868
7869 * gdb.arch/vsx-regs.exp: Update register content checks.
7870
7871 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7872
7873 * gdb.arch/ppc-longdouble.exp: New file.
7874 * gdb.arch/ppc-longdouble.c: Likewise.
7875
7876 2017-11-21 Pedro Alves <palves@redhat.com>
7877
7878 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7879
7880 2017-11-20 Pedro Alves <palves@redhat.com>
7881
7882 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7883 (long_double_typedef): New typedefs.
7884 Use DEF on double and long double.
7885 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7886 cases.
7887 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7888 and 'long_double_ptr_same_size' locals. Use them to decide
7889 whether cast from array/function to float is valid/invalid.
7890
7891 2017-11-17 Tom Tromey <tom@tromey.com>
7892
7893 * gdb.rust/traits.rs: New file.
7894 * gdb.rust/traits.exp: New file.
7895
7896 2017-11-17 Joel Brobecker <brobecker@adacore.com>
7897
7898 * gdb.ada/minsyms: New testcase.
7899
7900 2017-11-16 Pedro Alves <palves@redhat.com>
7901
7902 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7903 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7904
7905 2017-11-16 Pedro Alves <palves@redhat.com>
7906
7907 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7908 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7909
7910 2017-11-16 Pedro Alves <palves@redhat.com>
7911
7912 * gdb.server/reconnect-ctrl-c.c: New file.
7913 * gdb.server/reconnect-ctrl-c.exp: New file.
7914
7915 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7916
7917 * gdb.python/py-rbreak.exp: New file.
7918 * gdb.python/py-rbreak.c: New file.
7919 * gdb.python/py-rbreak-func2.c: New file.
7920
7921 2017-11-16 Pedro Alves <palves@redhat.com>
7922
7923 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7924 pattern.
7925 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7926 GDB.
7927
7928 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7929
7930 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7931 regex.
7932
7933 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7934
7935 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7936 test names.
7937
7938 2017-11-09 Pedro Alves <palves@redhat.com>
7939
7940 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7941 factored out from ...
7942 (top level): ... here, and adjusted to avoid expecting beyond the
7943 prompt in a single gdb_test_multiple.
7944
7945 2017-11-09 Pedro Alves <palves@redhat.com>
7946
7947 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7948 output.
7949 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7950 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7951 * gdb.server/ext-run.exp ("kill" test): Likewise.
7952 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7953
7954 2017-11-09 Pedro Alves <palves@redhat.com>
7955
7956 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7957 match till end of line.
7958
7959 2017-11-09 Pedro Alves <palves@redhat.com>
7960
7961 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7962
7963 2017-11-09 Pedro Alves <palves@redhat.com>
7964
7965 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7966 New procedures, factored out from ...
7967 (top level): ... here, and adjusted to avoid expecting beyond the
7968 prompt in one go.
7969
7970 2017-11-09 Pedro Alves <palves@redhat.com>
7971
7972 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7973 output. Fix '?' match.
7974
7975 2017-11-08 Joel Brobecker <brobecker@adacore.com>
7976
7977 * gdb.ada/scoped_watch: New testcase.
7978 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7979 which is actually correct.
7980 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7981 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7982
7983 2017-11-08 Pedro Alves <palves@redhat.com>
7984
7985 * gdb.gdb/complaints.exp (test_initial_complaints)
7986 (test_serial_complaints, test_short_complaints): Call
7987 complaint_internal instead of complaint.
7988
7989 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7990
7991 * gdb.threads/tls-core.c: New file.
7992 * gdb.threads/tls-core.exp: Likewise.
7993
7994 2017-11-08 Pedro Alves <palves@redhat.com>
7995
7996 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7997 (p Exported_Capitalized): New test.
7998 (p exported_capitalized): New test.
7999
8000 2017-11-07 Pedro Alves <palves@redhat.com>
8001
8002 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8003
8004 2017-11-07 Pedro Alves <palves@redhat.com>
8005
8006 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8007 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8008 (disable_invalid, disable_inverted, disable_negative): New
8009 procedures.
8010 ("bad numbers"): New set of tests.
8011
8012 2017-11-07 Pedro Alves <palves@redhat.com>
8013
8014 * gdb.cp/ena-dis-br-range.exp: Add tests.
8015
8016 2017-11-07 Pedro Alves <palves@redhat.com>
8017
8018 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8019
8020 2017-11-07 Xavier Roirand <roirand@adacore.com>
8021 Pedro Alves <palves@redhat.com>
8022
8023 * gdb.base/ena-dis-br.exp: Add reference to
8024 gdb.cp/ena-dis-br-range.exp.
8025 * gdb.cp/ena-dis-br-range.exp: New file.
8026 * gdb.cp/ena-dis-br-range.cc: New file.
8027
8028 2017-11-06 Pedro Alves <palves@redhat.com>
8029
8030 * gdb.base/attach-non-pgrp-leader.c: New.
8031 * gdb.base/attach-non-pgrp-leader.exp: New.
8032
8033 2017-11-06 Pedro Alves <palves@redhat.com>
8034
8035 * configure.ac: No longer check for termio.h and sgtty.h.
8036 * configure: Regenerate.
8037 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8038 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8039 Remove termio and sgtty code.
8040
8041 2017-11-03 Yao Qi <yao.qi@linaro.org>
8042
8043 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8044 in GDB is disabled.
8045
8046 2017-11-03 Yao Qi <yao.qi@linaro.org>
8047
8048 * gdb.python/py-thrhandle.exp: Skip it if python is not
8049 enabled.
8050
8051 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8052
8053 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8054 as a breakpoint command.
8055
8056 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8057
8058 PR python/21213
8059 * gdb.python/py-infthread.exp: Test calling
8060 InferiorThread.inferior () multiple times in a row.
8061
8062 2017-10-27 Keith Seitz <keiths@redhat.com>
8063
8064 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8065 Test "info break" for every inlined function breakpoint.
8066
8067 2017-10-27 Yao Qi <yao.qi@linaro.org>
8068
8069 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8070
8071 2017-10-26 Patrick Frants <osscontribute@gmail.com>
8072
8073 * gdb.cp/classes.exp (test_static_members): Test printing
8074 Outer::instance.
8075 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8076 (Inner::instance, Outer::instance): New.
8077
8078 2017-10-24 Pedro Alves <palves@redhat.com>
8079
8080 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8081 extra console" test in two stages.
8082
8083 2017-10-24 Pedro Alves <palves@redhat.com>
8084
8085 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8086
8087 2017-10-24 Pedro Alves <palves@redhat.com>
8088
8089 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8090 loop.
8091
8092 2017-10-24 Pedro Alves <palves@redhat.com>
8093
8094 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8095 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8096
8097 2017-10-24 Pedro Alves <palves@redhat.com>
8098
8099 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8100 parameter and handle it. Don't output read value in test name.
8101
8102 2017-10-24 Pedro Alves <palves@redhat.com>
8103
8104 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8105 custom test name.
8106
8107 2017-10-24 Pedro Alves <palves@redhat.com>
8108
8109 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8110 include the unstable output directory name in the test's name.
8111 (initial_setup_simple) <'set args'>: Use custom test name.
8112
8113 2017-10-24 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8116 with explicit test name.
8117
8118 2017-10-20 Pedro Alves <palves@redhat.com>
8119
8120 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8121 'wait -i'. Use gdb_assert and remote_close.
8122
8123 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8124
8125 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8126 number from variable rather than hard-coded.
8127
8128 2017-10-19 Pedro Alves <palves@redhat.com>
8129
8130 * gdb.base/long-inferior-output.c: New file.
8131 * gdb.base/long-inferior-output.exp: New file.
8132
8133 2017-11-18 Keith Seitz <keiths@redhat.com>
8134
8135 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8136 method.
8137 (main): Call it.
8138 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8139 Add additional user-defined conversion operator tests.
8140
8141 2017-10-17 Pedro Alves <palves@redhat.com>
8142
8143 * boards/native-stdio-gdbserver.exp: Load "local-board".
8144
8145 2017-10-17 Pedro Alves <palves@redhat.com>
8146
8147 * gdb.base/quit-live.c: New file.
8148 * gdb.base/quit-live.exp: New file.
8149
8150 2017-10-16 Keith Seitz <keiths@redhat.com>
8151
8152 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8153 (class_with_protected_typedef, class_with_private_typedef)
8154 (struct_with_public_typedef, struct_with_protected_typedef)
8155 (struct_with_private_typedef): New classes/structs.
8156 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8157 typedefs and access specifiers.
8158
8159 2017-10-16 Pedro Alves <palves@redhat.com>
8160 Simon Marchi <simon.marchi@polymtl.ca>
8161
8162 * README (Local vs Remote vs Native): New section.
8163 * boards/local-board.exp: New file, with bits factored out from
8164 ...
8165 * boards/native-extended-gdbserver.exp: ... here. Load
8166 "local-board".
8167 * boards/native-gdbserver.exp: Load "local-board".
8168 (${board}_spawn, ${board}_exec): Delete.
8169 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8170 ...
8171 * boards/stdio-gdbserver-base.exp: ... this new file.
8172 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8173 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8174 procedure.
8175 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8176 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8177 stdio_gdbserver_command.
8178 (${board}_get_remote_address, ${board}_get_comm_port)
8179 (${board}_download, ${board}_upload): Delete.
8180 (get_target_remote_pipe_cmd): New.
8181
8182 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8183
8184 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8185 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8186 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8187 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8188 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8189 remove with_test_prefix.
8190
8191 2017-10-13 Pedro Alves <palves@redhat.com>
8192
8193 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8194 * gdb.base/annota1.exp: Use it instead of is_remote.
8195 * gdb.base/annota3.exp: Use it instead of is_remote.
8196 * gdb.cp/annota2.exp: Use it instead of is_remote.
8197 * gdb.cp/annota3.exp: Use it instead of is_remote.
8198 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8199
8200 2017-10-13 Pedro Alves <palves@redhat.com>
8201
8202 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8203 (test_num_test_vars, run_and_count_vars, find_env)
8204 (test_set_unset_env, test_inherit_env_var): New procedures.
8205 (top level): Use them.
8206
8207 2017-10-13 Pedro Alves <palves@redhat.com>
8208
8209 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8210 also skip on stub-like targets.
8211
8212 2017-10-13 Pedro Alves <palves@redhat.com>
8213
8214 PR gdb/22293
8215 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8216 (top level): Move some tests to ...
8217 (test_not_found): ... this new procedure.
8218 (top level): Call it.
8219
8220 2017-10-13 Pedro Alves <palves@redhat.com>
8221
8222 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8223 expect different "info terminal" output if testing with a
8224 non-native target.
8225
8226 2017-10-13 Pedro Alves <palves@redhat.com>
8227 Simon Marchi <simon.marchi@polymtl.ca>
8228
8229 PR python/12966
8230 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8231
8232 2017-10-13 Pedro Alves <palves@redhat.com>
8233
8234 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8235 already.
8236
8237 2017-10-13 Pedro Alves <palves@redhat.com>
8238
8239 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8240 is_remote.
8241
8242 2017-10-13 Pedro Alves <palves@redhat.com>
8243
8244 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8245 is_remote.
8246
8247 2017-10-13 Pedro Alves <palves@redhat.com>
8248
8249 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8250 is set.
8251 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8252 instead of is_remote.
8253
8254 2017-10-13 Pedro Alves <palves@redhat.com>
8255
8256 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8257 (top level): Add comment.
8258
8259 2017-10-13 Pedro Alves <palves@redhat.com>
8260
8261 * gdb.base/remote.exp (top level): Fix comment typo and add
8262 missing return.
8263
8264 2017-10-13 Pedro Alves <palves@redhat.com>
8265 Simon Marchi <simon.marchi@polymtl.ca>
8266
8267 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8268 calls and add comments. Skip test if use_gdb_stub is set.
8269 (top level): Use "set cwd" command instead of "cd" command.
8270
8271 2017-10-13 Pedro Alves <palves@redhat.com>
8272
8273 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8274 is_remote target check.
8275
8276 2017-10-13 Pedro Alves <palves@redhat.com>
8277
8278 * gdb.base/scope.exp: Use build_executable + clean_restart +
8279 gdb_file_cmd instead of prepare_for_testing and no longer skip
8280 "before run" tests on is_remote target boards. Update comments.
8281 * boards/native-extended-gdbserver.exp
8282 (extended_gdbserver_load_last_file): New, factored out from ...
8283 (gdb_load): ... this. Move further below and add comment.
8284 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8285
8286 2017-10-12 Pedro Alves <palves@redhat.com>
8287
8288 * gdb.base/attach.exp: Remove references to gdb64.
8289 * gdb.base/dbx.exp: Remove references to gdb64.
8290
8291 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8292 Pedro Alves <palves@redhat.com>
8293
8294 * gdb.base/label.exp: Remove is_remote target check.
8295
8296 2017-10-12 Pedro Alves <palves@redhat.com>
8297
8298 * gdb.base/auvx.exp (coredir): Update comment.
8299 (top level) <core_works>: Use "set cwd" command instead of "cd"
8300 command.
8301
8302 2017-10-12 Pedro Alves <palves@redhat.com>
8303 Simon Marchi <simon.marchi@polymtl.ca>
8304
8305 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8306 target boards.
8307
8308 2017-10-12 Pedro Alves <palves@redhat.com>
8309 Simon Marchi <simon.marchi@polymtl.ca>
8310
8311 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8312 Instead skip if there's any gdb_protocol set.
8313
8314 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8315 Pedro Alves <palves@redhat.com>
8316
8317 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8318
8319 2017-10-12 Pedro Alves <palves@redhat.com>
8320 Simon Marchi <simon.marchi@polymtl.ca>
8321
8322 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8323 instead of on dejagnu remote boards.
8324
8325 2017-10-12 Pedro Alves <palves@redhat.com>
8326 Simon Marchi <simon.marchi@polymtl.ca>
8327
8328 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8329 checks. Use build_executable + clean_restart instead of
8330 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8331 of enabling non-stop after starting gdb.
8332
8333 2017-10-12 Pedro Alves <palves@redhat.com>
8334
8335 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8336 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8337 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8338 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8339
8340 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8341
8342 * gdb.arch/arc-tdesc-cpu.exp: New file.
8343 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8344
8345 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8346
8347 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8348
8349 2017-10-10 Pedro Alves <palves@redhat.com>
8350
8351 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8352 expect CLI output.
8353
8354 2017-10-10 Pedro Alves <palves@redhat.com>
8355
8356 * lib/selftest-support.exp (selftest_setup): Update for
8357 captured_command_loop's prototype change.
8358
8359 2017-10-09 Pedro Alves <palves@redhat.com>
8360
8361 Test both arch1=>arch2 and arch2=>arch1.
8362
8363 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8364 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8365 factored out to...
8366 (append_arch1_options, append_arch2_options, append_arch_options)
8367 (build_executables): New procedures.
8368 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8369 local.
8370 (top level): Add new 'first_arch' testing axis.
8371
8372 2017-10-09 Pedro Alves <palves@redhat.com>
8373
8374 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8375 (barrier): New.
8376 (thread_start, all_started): New functions.
8377 (main): Spawn new thread and wait until it is scheduled.
8378 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8379 option.
8380 (do_test): Add 'selected_thread' parameter. Run to all_started
8381 instead of main. Explicitly set the breakpoint at main. Switch
8382 to the SELECTED_THREAD thread.
8383 (top level): Test handling the exec event with either the main
8384 thread or the second thread selected.
8385
8386 2017-10-09 Pedro Alves <palves@redhat.com>
8387
8388 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8389 logic. Move STOP marker after the value checks.
8390 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8391 regexp.
8392
8393 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8394
8395 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8396
8397 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8398
8399 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8400 integer-to-dfp conversion.
8401 * gdb.base/dfp-test.exp: Likewise.
8402
8403 2017-10-04 Pedro Alves <palves@redhat.com>
8404
8405 * gdb.multi/hangout.c: Include <unistd.h>.
8406 (hangout_loop): New function.
8407 (main): Call alarm. Call hangout_loop in a loop.
8408 * gdb.multi/hello.c: Include <unistd.h>.
8409 (hello_loop): New function.
8410 (main): Call alarm. Call hangout_loop in a loop.
8411 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8412 inferior with the other selected.
8413
8414 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8415
8416 * gdb.mi/list-thread-groups-available.exp: New file.
8417 * gdb.mi/list-thread-groups-available.c: New file.
8418
8419 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8420
8421 * gdb.base/set-cwd.exp: Make it available on
8422 native-extended-gdbserver.
8423
8424 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8425
8426 * gdb.base/set-cwd.c: New file.
8427 * gdb.base/set-cwd.exp: Likewise.
8428
8429 2017-10-02 Tom Tromey <tom@tromey.com>
8430
8431 PR rust/22236:
8432 * gdb.rust/simple.rs (main): New variable "fslice".
8433 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8434
8435 2017-10-02 Tom Tromey <tom@tromey.com>
8436
8437 * gdb.rust/simple.exp: Test ptype of a slice.
8438
8439 2017-10-02 Tom Tromey <tom@tromey.com>
8440
8441 * gdb.rust/simple.exp: Test index of slice.
8442
8443 2017-09-27 Tom Tromey <tom@tromey.com>
8444
8445 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8446
8447 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8448 Pedro Alves <palves@redhat.com>
8449
8450 * gdb.base/compare-sections.exp (get value of read-only section): Read
8451 as unsigned value.
8452 (corrupt read-only section): Likewise and don't set written if patching
8453 failed.
8454
8455 2017-09-21 Kevin Buettner <kevinb@redhat.com>
8456
8457 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8458 files.
8459
8460 2017-09-20 Pedro Alves <palves@redhat.com>
8461
8462 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8463 symbol names in gdb's output.
8464 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8465
8466 2017-09-20 Pedro Alves <palves@redhat.com>
8467
8468 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8469 Rename to ...
8470 (test_list_ambiguous_symbol): ... this and add a symbol name
8471 parameter. Adjust.
8472 (test_list_ambiguous_function): Reimplement on top of
8473 test_list_ambiguous_symbol and also test listing ambiguous
8474 variables.
8475 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8476 (ambiguous_fun): ... this.
8477 (ambiguous_var): New.
8478 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8479 (ambiguous_fun): ... this.
8480 (ambiguous_var): New.
8481
8482 2017-09-19 John Baldwin <jhb@FreeBSD.org>
8483
8484 * gdb.base/starti.c: New file.
8485 * gdb.base/starti.exp: New file.
8486 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8487
8488 2017-09-14 Pedro Alves <palves@redhat.com>
8489
8490 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8491 (top level): Use it instead of runto.
8492
8493 2017-09-11 Tom Tromey <tom@tromey.com>
8494
8495 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8496
8497 2017-09-11 Tom Tromey <tom@tromey.com>
8498
8499 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8500 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8501
8502 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8503
8504 * gdb.fortran/printing-types.exp: New file.
8505 * gdb.fortran/printing-types.exp: New file.
8506
8507 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8508
8509 * gdb.fortran/vla-ptype.exp: Fix typos.
8510 * gdb.fortran/vla-value.exp: Same.
8511
8512 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8513
8514 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8515 * gdb.mi/mi-var-child-f.exp: Likewise.
8516 * gdb.mi/mi-vla-fortran.exp: Likewise.
8517
8518 2017-09-08 Frank Penczek <frank.penczek@intel.com>
8519 Christoph Weinmann <christoph.t.weinmann@intel.com>
8520 Bernhard Heckel <bernhard.heckel@intel.com>
8521
8522 * gdb.fortran/ptr-indentation.f90: New file.
8523 * gdb.fortran/ptr-indentation.exp: New file.
8524
8525 2017-09-05 Tom Tromey <tom@tromey.com>
8526
8527 PR gdb/22010:
8528 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8529
8530 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8531
8532 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8533
8534 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8535
8536 * gdb.threads/tls-nodebug-pie.c: New file.
8537 * gdb.threads/tls-nodebug-pie.exp: New file.
8538
8539 2017-09-05 Tom Tromey <tom@tromey.com>
8540
8541 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8542 for rust.
8543
8544 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8545
8546 * gdb.multi/multi-arch-exec.exp: Test with different
8547 "follow-exec-mode" settings.
8548 (do_test): New procedure.
8549
8550 2017-09-04 Pedro Alves <palves@redhat.com>
8551
8552 * gdb.base/func-static.c (S::method const, S::method volatile)
8553 (S::method volatile const): New methods.
8554 (c_s, v_s, cv_s): New instances.
8555 (main): Call method() on them.
8556 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8557 (cannot_resolve): New procedure.
8558 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8559 print-quote-unquoted columns.
8560 (do_test): Test printing each scope too.
8561
8562 2017-09-04 Pedro Alves <palves@redhat.com>
8563
8564 * gdb.base/local-static.exp: Also test with
8565 class::method::variable wholly quoted.
8566 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8567
8568 2017-09-04 Pedro Alves <palves@redhat.com>
8569
8570 * gdb.base/local-static.c: New.
8571 * gdb.base/local-static.cc: New.
8572 * gdb.base/local-static.exp: New.
8573
8574 2017-09-04 Pedro Alves <palves@redhat.com>
8575
8576 * gdb.asm/asm-source.exp: Add casts to int.
8577 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8578 (dataglobal64_1, dataglobal64_2): New globals.
8579 * gdb.base/nodebug.exp: Test different expressions involving the
8580 new globals, with print, whatis and ptype. Add casts to int.
8581 * gdb.base/solib-display.exp: Add casts to int.
8582 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8583 * gdb.cp/m-static.exp: Add cast to int.
8584 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8585 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8586 tls variable with no debug info without a cast. Test with a cast
8587 to int too.
8588 * gdb.trace/entry-values.exp: Add casts.
8589
8590 2017-09-04 Pedro Alves <palves@redhat.com>
8591
8592 * gdb.base/nodebug.exp: Test that ptype's error about functions
8593 with unknown return type includes the function name too.
8594
8595 2017-09-04 Pedro Alves <palves@redhat.com>
8596
8597 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8598 return type of munmap in infcall.
8599 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8600 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8601 type of ftell in infcall.
8602 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8603 type of getpid in infcall.
8604 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8605 infcall.
8606 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8607 Bail on failure to extract the pid.
8608 * gdb.base/nodebug.c: #include <stdint.h>.
8609 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8610 New functions.
8611 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8612 Change expected output of print/whatis/ptype with functions with
8613 no debug info. Test all supported languages. Call
8614 test_call_promotion.
8615 * gdb.compile/compile.exp: Adjust expected output to expect
8616 warning.
8617 * gdb.threads/siginfo-threads.exp: Likewise.
8618
8619 2017-09-04 Pedro Alves <palves@redhat.com>
8620
8621 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8622 "prototypes". Test calling float functions via prototyped and
8623 unprototyped function pointers.
8624 (perform_all_tests): New parameter "prototypes". Pass it down.
8625 (top level): Pass down "prototypes" parameter to
8626 perform_all_tests.
8627
8628 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8629
8630 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8631 Test with nested loops.
8632
8633 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8634
8635 * gdb.base/commands.exp: Call the new procedures.
8636 (loop_break_test, loop_continue_test): New procedures.
8637
8638 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8639
8640 * gdb.base/commands.exp: Call new procedure.
8641 (define_if_without_arg_test): New procedure.
8642
8643 2017-09-04 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.base/list-ambiguous.exp: New file.
8646 * gdb.base/list-ambiguous0.c: New file.
8647 * gdb.base/list-ambiguous1.c: New file.
8648 * gdb.base/list.exp (test_list_range): Adjust expected output.
8649
8650 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8651
8652 * gdb.base/share-env-with-gdbserver.c: New file.
8653 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8654
8655 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8656
8657 * gdb.base/commands.exp (gdbvar_simple_if_test,
8658 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8659 progvar_simple_if_test, progvar_simple_while_test,
8660 progvar_complex_if_while_test, user_defined_command_test,
8661 user_defined_command_args_eval,
8662 user_defined_command_args_stack_test,
8663 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8664 temporary_breakpoint_commands,
8665 gdb_test_no_prompt, redefine_hook_test,
8666 redefine_backtrace_test): Remove "global gdb_prompt".
8667
8668 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8669
8670 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8671 New proc, call it from toplevel.
8672
8673 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8674
8675 PR remote/21852
8676 * gdb.server/normal.c: New file, copied from gdb.base.
8677 * gdb.server/run-without-local-binary.exp: New file.
8678
8679 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
8680
8681 * gdb.arch/sparc64-adi.exp: New file.
8682 * gdb.arch/sparc64-adi.c: New file.
8683
8684 2017-08-22 Pedro Alves <palves@redhat.com>
8685
8686 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8687 (top level): Add "list all overloads" tests.
8688
8689 2017-08-22 Tom Tromey <tom@tromey.com>
8690
8691 * gdb.gdb/xfullpath.exp: Remove.
8692
8693 2017-08-21 Pedro Alves <palves@redhat.com>
8694
8695 PR gdb/19487
8696 * gdb.base/symbol-alias.c: New.
8697 * gdb.base/symbol-alias2.c: New.
8698 * gdb.base/symbol-alias.exp: New.
8699
8700 2017-08-21 Pedro Alves <palves@redhat.com>
8701
8702 * gdb.base/dfp-test.c
8703 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8704 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8705 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8706 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8707 * gdb.base/whatis-ptype-typedefs.c: New.
8708 * gdb.base/whatis-ptype-typedefs.exp: New.
8709 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8710 (an_int, an_int_type, an_int_type2): New globals.
8711 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8712 involving typedefs and cast expressions.
8713 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8714 (lookup_typedefs_function): New.
8715 (typedefs_pretty_printers_dict): New.
8716 (top level): Register lookup_typedefs_function in
8717 gdb.pretty_printers.
8718
8719 2017-08-18 Yao Qi <yao.qi@linaro.org>
8720
8721 * gdb.server/unittest.exp: New.
8722
8723 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8724
8725 PR gdb/21954
8726 * gdb.base/environ.exp: Add test to check if 'unset environment'
8727 works.
8728
8729 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8730
8731 * lib/gdb.exp (universal_compile_options): New caching proc.
8732 (gdb_compile): Suppress GCC's coloring of messages.
8733
8734 2017-08-14 Tom Tromey <tom@tromey.com>
8735
8736 PR gdb/21675:
8737 * gdb.base/printcmds.exp (test_radices): New function.
8738 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8739 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8740 * lib/gdb.exp (get_integer_valueof): Use p/d.
8741
8742 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8743
8744 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8745 characters.
8746
8747 2017-08-05 Tom Tromey <tom@tromey.com>
8748
8749 * gdb.rust/simple.exp: Allow String to appear in a different
8750 namespace.
8751
8752 2017-07-26 Yao Qi <yao.qi@linaro.org>
8753
8754 * gdb.gdb/unittest.exp: Invoke command
8755 "maintenance check xml-descriptions".
8756
8757 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8758
8759 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8760 calling context.
8761 (hex128): Drop erroneous calculation of parameters.
8762
8763 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8764
8765 * gdb.python/py-unwind.exp: Disable stack protection when
8766 building test file.
8767
8768 2017-07-20 Pedro Alves <palves@redhat.com>
8769
8770 * gdb.base/default.exp (set language): Adjust expected output.
8771
8772 2017-07-20 Pedro Alves <palves@redhat.com>
8773
8774 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8775 (test_minsym): ... this, and make static.
8776 (get_pck__foo__bar__minsym): Rename to ...
8777 (get_test_minsym): ... this.
8778 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8779 symbol names and comments.
8780 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8781 (get_test_minsym): ... this.
8782 (pck__foo__bar__minsym__2): Rename to ...
8783 (test_minsym): ... this.
8784 (main): Adjust.
8785
8786 2017-07-17 Pedro Alves <palves@redhat.com>
8787
8788 * gdb.base/completion.exp: Adjust expected output.
8789 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8790 the completer works.
8791
8792 2017-07-17 Pedro Alves <palves@redhat.com>
8793
8794 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8795
8796 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8797
8798 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8799
8800 2017-07-14 Tom Tromey <tom@tromey.com>
8801
8802 PR rust/21764:
8803 * gdb.rust/simple.exp: Add tests.
8804
8805 2017-07-14 Tom Tromey <tom@tromey.com>
8806
8807 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8808
8809 2017-07-14 Pedro Alves <palves@redhat.com>
8810
8811 * gdb.linespec/base/one/thefile.cc (z1): New function.
8812 * gdb.linespec/base/two/thefile.cc (z2): New function.
8813 * gdb.linespec/linespec.exp: Add tests.
8814
8815 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8816
8817 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8818 to mi_create_breakpoint.
8819
8820 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8821
8822 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8823 mi_create_breakpoint.
8824
8825 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8826
8827 * gdb.dlang/demangle.exp: Update for demangling changes.
8828
8829 2017-07-09 Tom Tromey <tom@tromey.com>
8830
8831 * gdb.dwarf2/shortpiece.exp: New file.
8832
8833 2017-07-06 David Blaikie <dblaikie@gmail.com>
8834
8835 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8836 built from fissiont-multi-cu{1,2}.c.
8837 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8838 except putting 'main' and 'func' in separate CUs in the same DWO file.
8839 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8840 test.
8841 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8842 test.
8843
8844 2017-07-06 Pedro Alves <palves@redhat.com>
8845
8846 * gdb.python/py-unwind.exp: Test flushregs.
8847
8848 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8849
8850 PR cli/21688
8851 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8852 tests for alias commands and trailing whitespace.
8853
8854 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8855
8856 PR cli/21688
8857 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8858 procedure. Call it.
8859
8860 2017-06-29 Pedro Alves <palves@redhat.com>
8861
8862 * gdb.base/printcmds.exp: Add tests.
8863
8864 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8865
8866 PR gdb/21337
8867 * gdb.base/reread-readsym.exp: New file.
8868 * gdb.base/reread-readsym.c: New file.
8869
8870 2017-06-21 Kevin Buettner <kevinb@redhat.com>
8871
8872 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8873 subpattern.
8874
8875 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8876
8877 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8878 extended mnemonic.
8879 * gdb.arch/powerpc-power9.s: Likewise.
8880
8881 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8882
8883 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8884 on 32-bit x86 targets. Exploit is_*_target macros where
8885 appropriate.
8886
8887 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8888
8889 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8890 register pieces.
8891
8892 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8893
8894 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8895 located in one or more DWARF pieces.
8896
8897 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8898
8899 * lib/gdb.exp (get_endianness): New proc.
8900 * gdb.arch/aarch64-fp.exp: Use it.
8901 * gdb.arch/altivec-regs.exp: Likewise.
8902 * gdb.arch/e500-regs.exp: Likewise.
8903 * gdb.arch/vsx-regs.exp: Likewise.
8904 * gdb.base/dump.exp: Likewise.
8905 * gdb.base/funcargs.exp: Likewise.
8906 * gdb.base/gnu_vector.exp: Likewise.
8907 * gdb.dwarf2/formdata16.exp: Likewise.
8908 * gdb.dwarf2/implptrpiece.exp: Likewise.
8909 * gdb.dwarf2/nonvar-access.exp: Likewise.
8910 * gdb.python/py-inferior.exp: Likewise.
8911 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8912
8913 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8914
8915 PR gdb/21226
8916 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8917 stack value pieces are taken from the LSB end.
8918
8919 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8920
8921 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8922 variable at nonzero offset.
8923
8924 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8925
8926 * gdb.dwarf2/var-access.c: New file.
8927 * gdb.dwarf2/var-access.exp: New test.
8928 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8929
8930 2017-06-12 Tom Tromey <tom@tromey.com>
8931
8932 * gdb.dwarf2/formdata16.exp: Add tests.
8933
8934 2017-06-12 Tom Tromey <tom@tromey.com>
8935
8936 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8937
8938 2017-06-12 Tom Tromey <tom@tromey.com>
8939
8940 PR exp/16225:
8941 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8942 * gdb.arch/vsx-regs.exp: Update tests.
8943 * gdb.arch/s390-vregs.exp (hex128): New proc.
8944 Update test.
8945 * gdb.arch/altivec-regs.exp: Update tests.
8946
8947 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8948
8949 * gdb.base/startup-with-shell.c: New file.
8950 * gdb.base/startup-with-shell.exp: Likewise.
8951
8952 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8953
8954 * gdb.server/non-existing-program.exp: Update regex in order to
8955 reflect the fact that gdbserver is now using fork_inferior (with a
8956 shell) to startup the inferior.
8957
8958 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8959
8960 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8961 support function calls from GDB.
8962
8963 2017-05-21 Tom Tromey <tom@tromey.com>
8964
8965 PR rust/21466:
8966 * gdb.rust/unsized.exp: New file.
8967 * gdb.rust/unsized.rs: New file.
8968
8969 2017-05-19 Tom Tromey <tom@tromey.com>
8970
8971 PR rust/21484:
8972 * gdb.rust/watch.exp: New file.
8973 * gdb.rust/watch.rs: New file.
8974
8975 2017-05-18 Tom Tromey <tom@tromey.com>
8976
8977 * gdb.rust/simple.exp: Allow Box to be qualified.
8978
8979 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8980
8981 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8982
8983 2017-05-18 Pedro Alves <palves@redhat.com>
8984
8985 * gdb.base/fileio.c (test_write, test_read, test_close)
8986 (test_fstat): Don't print 'ret' in the fail path.
8987
8988 2017-05-18 Pedro Alves <palves@redhat.com>
8989
8990 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8991 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8992 (test_system, test_rename, test_unlink, test_time): Change
8993 prototypes.
8994 * gdb.base/fileio.exp (stop_msg): Adjust.
8995
8996 2017-05-18 Pedro Alves <palves@redhat.com>
8997
8998 * gdb.base/fileio.c (null_str): New global.
8999 (test_stat): Use it.
9000 * gdb.base/fileio.exp: Remove nowarnings.
9001
9002 2017-05-17 Yao Qi <yao.qi@linaro.org>
9003
9004 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9005
9006 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9007
9008 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9009 argument command.
9010 (top-level): Invoke test_set_inferior_tty.
9011
9012 2017-05-04 Pedro Alves <palves@redhat.com>
9013
9014 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9015 Add parens to print call for Python 3.
9016
9017 2017-05-03 Keith Seitz <keiths@redhat.com>
9018
9019 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9020 (main): Call it.
9021
9022 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9023
9024 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9025 to prev and next.
9026
9027 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9028
9029 * gdb.python/py-record-btrace.exp: Remove test for
9030 gdb.BtraceInstruction.error.
9031
9032 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9033
9034 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9035
9036 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9037
9038 * gdb.python/py-record-btrace-threads.c: New file.
9039 * gdb.python/py-record-btrace-threads.exp: New file.
9040
9041 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9042
9043 PR testsuite/8595
9044 * gdb.base/environ.exp: Make test available in all architectures.
9045 Move bits related to "info program" testing to
9046 gdb.base/info-program.exp. Rewrite tests to use the two new
9047 procedures mentione below.
9048 (test_set_show_env_var) New procedure.
9049 (test_set_show_env_var_equal): Likewise.
9050 * gdb.base/info-program.exp: New file.
9051
9052 2017-04-27 Keith Seitz <keiths@redhat.com>
9053
9054 * gdb.cp/oranking.cc (test15): New function.
9055 (main): Call test15 and declare additional variables for testing.
9056 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9057 "p foo101('abc')" tests.
9058 Add tests for cv qualifier overloads.
9059 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9060 "lvalue reference overload" test.
9061 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9062 "print value of f1 on Child&& in f2" test.
9063
9064 2017-04-19 Pedro Alves <palves@redhat.com>
9065
9066 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9067 procedure.
9068 (top level): Call it.
9069 * lib/gdb.exp (gdb_define_cmd): New procedure.
9070
9071 2017-04-12 Pedro Alves <palves@redhat.com>
9072
9073 PR gdb/21323
9074 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9075 (wchar): New global.
9076 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9077 (do_test_wide_char, wide_char_types_no_program, top level): Add
9078 wchar_t testing.
9079
9080 2017-04-12 Pedro Alves <palves@redhat.com>
9081
9082 PR c++/21323
9083 * gdb.cp/wide_char_types.c: New file.
9084 * gdb.cp/wide_char_types.exp: New file.
9085
9086 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9087
9088 PR gdb/21352
9089 * gdb.trace/tsv.exp: Add test for "tsave -r".
9090
9091 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9092
9093 * gdb.dlang/watch-loc.c: New file.
9094 * gdb.dlang/watch-loc.exp: New file.
9095
9096 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9097
9098 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9099
9100 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9101
9102 * gdb.arch/arc-analyze-prologue.S: New file.
9103 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9104
9105 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9106
9107 * gdb.arch/arc-decode-insn.S: New file.
9108 * gdb.arch/arc-decode-insn.exp: Likewise.
9109
9110 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9111
9112 PR tdep/20928
9113 * gdb.arch/sparc64-regs.exp: New file.
9114 * gdb.arch/sparc64-regs.S: Likewise.
9115
9116 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9117
9118 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9119 and memory view on Python 3.
9120
9121 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
9122 Keith Seitz <keiths@redhat.com>
9123
9124 PR gdb/14441
9125 * gdb.cp/demangle.exp: Add rvalue reference tests.
9126 * gdb.cp/rvalue-ref-casts.cc: New file.
9127 * gdb.cp/rvalue-ref-casts.exp: New file.
9128 * gdb.cp/rvalue-ref-overload.cc: New file.
9129 * gdb.cp/rvalue-ref-overload.exp: New file.
9130 * gdb.cp/rvalue-ref-params.cc: New file.
9131 * gdb.cp/rvalue-ref-params.exp: New file.
9132 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9133 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9134 * gdb.cp/rvalue-ref-types.cc: New file.
9135 * gdb.cp/rvalue-ref-types.exp: New file.
9136 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9137 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9138
9139 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9140
9141 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9142 New procedure.
9143
9144 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9145
9146 * lib/mi-support.exp (mi_gdb_test): Add additional message
9147 for unexpected output.
9148
9149 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9150
9151 * gdb.base/examine-backward.c (Barrier): New character array
9152 constant, to ensure that TestStrings is preceded by a string
9153 terminator.
9154
9155 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9156
9157 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9158 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9159 and implicit pointer into such a location.
9160
9161 2017-03-16 Doug Evans <dje@google.com>
9162
9163 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9164
9165 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9166
9167 * gdb.cp/m-static.exp: Fix expectation for prototype of
9168 test5.single_constructor and single_constructor::single_constructor.
9169
9170 2017-03-16 Doug Evans <dje@google.com>
9171
9172 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9173 * gdb.guile/scm-lazy-string.c: New file.
9174 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9175 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9176 for pointer, array, typedef lazy strings.
9177
9178 2017-03-16 Doug Evans <dje@google.com>
9179
9180 PR python/17728, python/18439, python/18779
9181 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9182 * gdb.python/py-lazy-string.c (pointer): New typedef.
9183 (main): New locals ptr, array, typedef_ptr.
9184 * gdb.python/py-value.exp: Move lazy string tests to ...
9185 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9186 array, typedef lazy strings.
9187
9188 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9189
9190 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9191 Add optional 'test' parameter.
9192
9193 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9194
9195 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9196 Skip for versions of DejaGnu < 1.5.
9197
9198 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9199
9200 * lib/gdb.exp (dejagnu_version): New proc.
9201 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9202 Use dejagnu_version.
9203
9204 2017-03-10 Keith Seitz <keiths@redhat.com>
9205
9206 PR c++/8128
9207 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9208 type from destructor regexps.
9209 Add a branch which actually passes the test.
9210 Adjust "ptype t5i" test names.
9211
9212 2017-03-08 Pedro Alves <palves@redhat.com>
9213
9214 * gdb.base/step-over-exit.exp: Add explicit test message.
9215
9216 2017-03-08 Pedro Alves <palves@redhat.com>
9217
9218 PR gdb/18360
9219 * gdb.threads/interrupt-while-step-over.c: New file.
9220 * gdb.threads/interrupt-while-step-over.exp: New file.
9221
9222 2017-03-08 Pedro Alves <palves@redhat.com>
9223
9224 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9225 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9226
9227 2017-03-08 Pedro Alves <palves@redhat.com>
9228
9229 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9230 PKRU as not supported as a PASS.
9231
9232 2017-03-08 Pedro Alves <palves@redhat.com>
9233
9234 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9235 prefix instead of $binfile1/$binfile2.
9236 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9237 in test message.
9238 * gdb.python/py-completion.exp: Use "load python file" as test
9239 messages instead of unstable path names.
9240
9241 2017-03-08 Pedro Alves <palves@redhat.com>
9242 Jan Kratochvil <jan.kratochvil@redhat.com>
9243
9244 PR cli/21218
9245 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9246 New proc.
9247 (top level): Call it.
9248
9249 2017-03-08 Pedro Alves <palves@redhat.com>
9250
9251 PR tui/21216
9252 * gdb.tui/tui-nl-filtered-output.exp: New file.
9253
9254 2017-03-08 Pedro Alves <palves@redhat.com>
9255
9256 * gdb.base/completion.exp: Move TUI completion tests to ...
9257 * gdb.tui/completion.exp: ... this new file.
9258
9259 2017-03-08 Pedro Alves <palves@redhat.com>
9260
9261 * gdb.base/tui-disasm-long-lines.c,
9262 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9263 gdb.base/tui-layout.exp: Move to ...
9264 * gdb.tui/: ... this new directory.
9265
9266 2017-03-07 Pedro Alves <palves@redhat.com>
9267
9268 * gdb.base/tui-layout.c: New file.
9269 * gdb.base/tui-layout.exp: New file.
9270
9271 2017-03-07 Pedro Alves <palves@redhat.com>
9272
9273 * gdb.base/tui-layout.c: Rename to ...
9274 * gdb.base/tui-disasm-long-lines.c: ... this.
9275 * gdb.base/tui-layout.exp: Rename to ...
9276 * gdb.base/tui-disasm-long-lines.exp: ... this.
9277
9278 2017-03-07 Pedro Alves <palves@redhat.com>
9279
9280 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9281
9282 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9283
9284 * i386-mpx-call.c: New file.
9285 * i386-mpx-call.exp: New file.
9286
9287 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9288
9289 * gdb.arch/powerpc-power.exp: Delete test.
9290 * gdb.arch/powerpc-power.s: Likewise.
9291 * gdb.disasm/disassembler-options.exp: New test.
9292 * gdb.arch/powerpc-altivec.exp: Likewise.
9293 * gdb.arch/powerpc-altivec.s: Likewise.
9294 * gdb.arch/powerpc-altivec2.exp: Likewise.
9295 * gdb.arch/powerpc-altivec2.s: Likewise.
9296 * gdb.arch/powerpc-altivec3.exp: Likewise.
9297 * gdb.arch/powerpc-altivec3.s: Likewise.
9298 * gdb.arch/powerpc-power7.exp: Likewise.
9299 * gdb.arch/powerpc-power7.s: Likewise.
9300 * gdb.arch/powerpc-power8.exp: Likewise.
9301 * gdb.arch/powerpc-power8.s: Likewise.
9302 * gdb.arch/powerpc-power9.exp: Likewise.
9303 * gdb.arch/powerpc-power9.s: Likewise.
9304 * gdb.arch/powerpc-vsx.exp: Likewise.
9305 * gdb.arch/powerpc-vsx.s: Likewise.
9306 * gdb.arch/powerpc-vsx2.exp: Likewise.
9307 * gdb.arch/powerpc-vsx2.s: Likewise.
9308 * gdb.arch/powerpc-vsx3.exp: Likewise.
9309 * gdb.arch/powerpc-vsx3.s: Likewise.
9310 * gdb.arch/arm-disassembler-options.exp: Likewise.
9311 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9312 * gdb.arch/s390-disassembler-options.exp: Likewise.
9313
9314 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
9315
9316 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9317 (check_supported_features): ... this. Changed return type to void.
9318 (supports_rdseed): New static global.
9319 (rdseed): Check supports_rdseed.
9320 (initialize): Call check_supported_features.
9321
9322 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9323
9324 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9325 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9326 and lqarx/stqcx.
9327 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9328 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9329
9330 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9331
9332 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9333 uppercase.
9334
9335 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9336
9337 * gdb.dwarf2/formdata16.c: New file.
9338 * gdb.dwarf2/formdata16.exp: New file.
9339 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9340
9341 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9342
9343 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9344 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9345 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9346 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9347 DW_AT_GNU_*.
9348
9349 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9350
9351 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9352
9353 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9354
9355 PR gdb/21164
9356 * gdb.base/maint.exp: Add testcases for when the commands do
9357 not have arguments.
9358
9359 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9360
9361 * gdb.cp/chained-calls.exp: Use p instead of P.
9362
9363 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9364
9365 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9366 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9367
9368 2017-02-14 Tom Tromey <tom@tromey.com>
9369
9370 PR python/13598:
9371 * gdb.python/py-events.exp: Add before_prompt event tests.
9372
9373 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9374
9375 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9376
9377 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9378
9379 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9380 (main): Call my_unique_function_name.
9381 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9382 completion of patterns with a single match.
9383 Add missing -re switches to gdb_test_multiple calls.
9384
9385 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9386
9387 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9388 return if core file is not recognized.
9389
9390 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9391
9392 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9393 and extra UIs.
9394
9395 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9396
9397 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9398 proc_with_prefix.
9399
9400 2017-02-10 Tom Tromey <tom@tromey.com>
9401
9402 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9403
9404 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
9405
9406 PR gdb/21122
9407 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9408
9409 2017-02-08 Jerome Guitton <guitton@adacore.com>
9410
9411 * gdb.base/define.exp: Add test for command abbreviations
9412 in define.
9413
9414 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
9415
9416 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9417 * gdb.reverse/insn-reverse-x86.c: New file.
9418
9419 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9420
9421 PR tdep/20936
9422 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9423
9424 2017-02-03 Tom Tromey <tom@tromey.com>
9425
9426 PR rust/21097:
9427 * gdb.rust/simple.exp: Add new tests.
9428
9429 2017-02-02 Pedro Alves <palves@redhat.com>
9430
9431 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9432 tests.
9433
9434 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9435
9436 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9437 taking a 2-byte value out of a 4-byte DWARF implicit value on
9438 big-endian targets.
9439 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9440 logic. Add test cases for DW_OP_implicit.
9441
9442 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9443
9444 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9445
9446 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9447
9448 * gdb.btrace/enable.exp: Call gdb_exit before
9449 skip_gdbserver_tests.
9450
9451 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9452
9453 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9454 GDBFLAGS.
9455
9456 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9457
9458 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9459 the test is skipped.
9460 * gdb.btrace/data.exp: Likewise.
9461 * gdb.btrace/delta.exp: Likewise.
9462 * gdb.btrace/dlopen.exp: Likewise.
9463 * gdb.btrace/enable-running.exp: Likewise.
9464 * gdb.btrace/enable.exp: Likewise.
9465 * gdb.btrace/exception.exp: Likewise.
9466 * gdb.btrace/function_call_history.exp: Likewise.
9467 * gdb.btrace/gcore.exp: Likewise.
9468 * gdb.btrace/instruction_history.exp: Likewise.
9469 * gdb.btrace/multi-thread-step.exp: Likewise.
9470 * gdb.btrace/nohist.exp: Likewise.
9471 * gdb.btrace/non-stop.exp: Likewise.
9472 * gdb.btrace/reconnect.exp: Likewise.
9473 * gdb.btrace/record_goto-step.exp: Likewise.
9474 * gdb.btrace/record_goto.exp: Likewise.
9475 * gdb.btrace/rn-dl-bind.exp: Likewise.
9476 * gdb.btrace/segv.exp: Likewise.
9477 * gdb.btrace/step.exp: Likewise.
9478 * gdb.btrace/stepi.exp: Likewise.
9479 * gdb.btrace/tailcall-only.exp: Likewise.
9480 * gdb.btrace/tailcall.exp: Likewise.
9481 * gdb.btrace/tsx.exp: Likewise.
9482 * gdb.btrace/unknown_functions.exp: Likewise.
9483 * gdb.btrace/vdso.exp: Likewise.
9484
9485 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9486
9487 * gdb.btrace/enable-running.c: New.
9488 * gdb.btrace/enable-running.exp: New.
9489
9490 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9491
9492 * gdb.arch/amd64-gs_base.c: New file.
9493 * gdb.arch/amd64-gs_base.exp: New file.
9494
9495 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9496
9497 * lib/memory.exp: Remove spurious empty newlines.
9498
9499 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9500
9501 * gdb.python/py-bad-printers.exp: Load python file using "source".
9502 * gdb.python/py-events.exp: Likewise.
9503 * gdb.python/py-evsignal.exp: Likewise.
9504 * gdb.python/py-evthreads.exp: Likewise.
9505 * gdb.python/py-frame-args.exp: Likewise.
9506 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9507 * gdb.python/py-framefilter-mi.exp: Likewise.
9508 * gdb.python/py-framefilter.exp: Likewise.
9509 * gdb.python/py-mi.exp: Likewise.
9510 * gdb.python/py-pp-maint.exp: Likewise.
9511 * gdb.python/py-pp-registration.exp: Likewise.
9512 * gdb.python/py-prettyprint.exp: Likewise.
9513 (run_lang_tests): Likewise.
9514 * gdb.python/py-typeprint.exp: Likewise.
9515
9516 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9517
9518 * lib/memory.exp: New file.
9519 * lib/gdb.exp: Load memory.exp.
9520 * gdb.base/memattr.exp (delete_memory): Move proc to
9521 lib/memory.exp and rename to delete_memory_regions.
9522 Replace delete_memory with delete_memory_regions.
9523 Cleanup memory regions before tests.
9524 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9525 before tests.
9526
9527 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9528
9529 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9530 files.
9531 (initialize): New function conditionally defined.
9532 (testcases): Move within conditional block.
9533 (main): Call initialize.
9534 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9535 of gdb.reverse/insn-reverse.c.
9536 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9537 gdb.reverse/insn-reverse.c.
9538
9539 2017-01-26 Yao Qi <yao.qi@linaro.org>
9540
9541 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9542 disassemble on address 0.
9543
9544 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9545 Yao Qi <yao.qi@linaro.org>
9546
9547 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9548 * gdb.dwarf2/implptr-64bit.S: Remove.
9549 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9550 variables in caller's context. Add DW_OP_implicit_value.
9551
9552 2017-01-25 Yao Qi <yao.qi@linaro.org>
9553
9554 * lib/dwarf.exp (Dwarf::_location): Handle
9555 DW_OP_GNU_implicit_pointer with proper size.
9556
9557 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9558
9559 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9560 and add untested calls.
9561
9562 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9563
9564 * gdb.python/python.exp: Check line number against what GDB thinks
9565 the line number is for func1.
9566
9567 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9568
9569 * gdb.dlang/debug-expr.exp: New file.
9570
9571 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
9572
9573 Fix test names for the following files:
9574
9575 * gdb.ada/exec_changed.exp
9576 * gdb.ada/info_types.exp
9577 * gdb.arch/aarch64-atomic-inst.exp
9578 * gdb.arch/aarch64-fp.exp
9579 * gdb.arch/altivec-abi.exp
9580 * gdb.arch/altivec-regs.exp
9581 * gdb.arch/amd64-byte.exp
9582 * gdb.arch/amd64-disp-step.exp
9583 * gdb.arch/amd64-dword.exp
9584 * gdb.arch/amd64-entry-value-inline.exp
9585 * gdb.arch/amd64-entry-value-param.exp
9586 * gdb.arch/amd64-entry-value-paramref.exp
9587 * gdb.arch/amd64-entry-value.exp
9588 * gdb.arch/amd64-i386-address.exp
9589 * gdb.arch/amd64-invalid-stack-middle.exp
9590 * gdb.arch/amd64-invalid-stack-top.exp
9591 * gdb.arch/amd64-optimout-repeat.exp
9592 * gdb.arch/amd64-prologue-skip.exp
9593 * gdb.arch/amd64-prologue-xmm.exp
9594 * gdb.arch/amd64-stap-special-operands.exp
9595 * gdb.arch/amd64-stap-wrong-subexp.exp
9596 * gdb.arch/amd64-tailcall-cxx.exp
9597 * gdb.arch/amd64-tailcall-noret.exp
9598 * gdb.arch/amd64-tailcall-ret.exp
9599 * gdb.arch/amd64-tailcall-self.exp
9600 * gdb.arch/amd64-word.exp
9601 * gdb.arch/arm-bl-branch-dest.exp
9602 * gdb.arch/arm-disp-step.exp
9603 * gdb.arch/arm-neon.exp
9604 * gdb.arch/arm-single-step-kernel-helper.exp
9605 * gdb.arch/avr-flash-qualifier.exp
9606 * gdb.arch/disp-step-insn-reloc.exp
9607 * gdb.arch/e500-abi.exp
9608 * gdb.arch/e500-regs.exp
9609 * gdb.arch/ftrace-insn-reloc.exp
9610 * gdb.arch/i386-avx512.exp
9611 * gdb.arch/i386-bp_permanent.exp
9612 * gdb.arch/i386-byte.exp
9613 * gdb.arch/i386-cfi-notcurrent.exp
9614 * gdb.arch/i386-disp-step.exp
9615 * gdb.arch/i386-dr3-watch.exp
9616 * gdb.arch/i386-float.exp
9617 * gdb.arch/i386-gnu-cfi.exp
9618 * gdb.arch/i386-mpx-map.exp
9619 * gdb.arch/i386-mpx-sigsegv.exp
9620 * gdb.arch/i386-mpx-simple_segv.exp
9621 * gdb.arch/i386-mpx.exp
9622 * gdb.arch/i386-permbkpt.exp
9623 * gdb.arch/i386-prologue.exp
9624 * gdb.arch/i386-signal.exp
9625 * gdb.arch/i386-size-overlap.exp
9626 * gdb.arch/i386-unwind.exp
9627 * gdb.arch/i386-word.exp
9628 * gdb.arch/mips-fcr.exp
9629 * gdb.arch/powerpc-d128-regs.exp
9630 * gdb.arch/powerpc-stackless.exp
9631 * gdb.arch/ppc64-atomic-inst.exp
9632 * gdb.arch/s390-stackless.exp
9633 * gdb.arch/s390-tdbregs.exp
9634 * gdb.arch/s390-vregs.exp
9635 * gdb.arch/sparc-sysstep.exp
9636 * gdb.arch/thumb-bx-pc.exp
9637 * gdb.arch/thumb-singlestep.exp
9638 * gdb.arch/thumb2-it.exp
9639 * gdb.arch/vsx-regs.exp
9640 * gdb.asm/asm-source.exp
9641 * gdb.base/a2-run.exp
9642 * gdb.base/advance.exp
9643 * gdb.base/all-bin.exp
9644 * gdb.base/anon.exp
9645 * gdb.base/args.exp
9646 * gdb.base/arithmet.exp
9647 * gdb.base/async-shell.exp
9648 * gdb.base/async.exp
9649 * gdb.base/attach-pie-noexec.exp
9650 * gdb.base/attach-twice.exp
9651 * gdb.base/auto-load.exp
9652 * gdb.base/bang.exp
9653 * gdb.base/bitfields.exp
9654 * gdb.base/break-always.exp
9655 * gdb.base/break-caller-line.exp
9656 * gdb.base/break-entry.exp
9657 * gdb.base/break-inline.exp
9658 * gdb.base/break-on-linker-gcd-function.exp
9659 * gdb.base/break-probes.exp
9660 * gdb.base/break.exp
9661 * gdb.base/breakpoint-shadow.exp
9662 * gdb.base/call-ar-st.exp
9663 * gdb.base/call-sc.exp
9664 * gdb.base/call-signal-resume.exp
9665 * gdb.base/call-strs.exp
9666 * gdb.base/callfuncs.exp
9667 * gdb.base/catch-fork-static.exp
9668 * gdb.base/catch-gdb-caused-signals.exp
9669 * gdb.base/catch-load.exp
9670 * gdb.base/catch-signal-fork.exp
9671 * gdb.base/catch-signal.exp
9672 * gdb.base/catch-syscall.exp
9673 * gdb.base/charset.exp
9674 * gdb.base/checkpoint.exp
9675 * gdb.base/chng-syms.exp
9676 * gdb.base/code-expr.exp
9677 * gdb.base/code_elim.exp
9678 * gdb.base/commands.exp
9679 * gdb.base/completion.exp
9680 * gdb.base/complex.exp
9681 * gdb.base/cond-expr.exp
9682 * gdb.base/condbreak.exp
9683 * gdb.base/consecutive.exp
9684 * gdb.base/continue-all-already-running.exp
9685 * gdb.base/coredump-filter.exp
9686 * gdb.base/corefile.exp
9687 * gdb.base/dbx.exp
9688 * gdb.base/debug-expr.exp
9689 * gdb.base/define.exp
9690 * gdb.base/del.exp
9691 * gdb.base/disabled-location.exp
9692 * gdb.base/disasm-end-cu.exp
9693 * gdb.base/disasm-optim.exp
9694 * gdb.base/display.exp
9695 * gdb.base/duplicate-bp.exp
9696 * gdb.base/ena-dis-br.exp
9697 * gdb.base/ending-run.exp
9698 * gdb.base/enumval.exp
9699 * gdb.base/environ.exp
9700 * gdb.base/eu-strip-infcall.exp
9701 * gdb.base/eval-avoid-side-effects.exp
9702 * gdb.base/eval-skip.exp
9703 * gdb.base/exitsignal.exp
9704 * gdb.base/expand-psymtabs.exp
9705 * gdb.base/filesym.exp
9706 * gdb.base/find-unmapped.exp
9707 * gdb.base/finish.exp
9708 * gdb.base/float.exp
9709 * gdb.base/foll-exec-mode.exp
9710 * gdb.base/foll-exec.exp
9711 * gdb.base/foll-fork.exp
9712 * gdb.base/fortran-sym-case.exp
9713 * gdb.base/freebpcmd.exp
9714 * gdb.base/func-ptr.exp
9715 * gdb.base/func-ptrs.exp
9716 * gdb.base/funcargs.exp
9717 * gdb.base/gcore-buffer-overflow.exp
9718 * gdb.base/gcore-relro-pie.exp
9719 * gdb.base/gcore-relro.exp
9720 * gdb.base/gcore.exp
9721 * gdb.base/gdb1090.exp
9722 * gdb.base/gdb11530.exp
9723 * gdb.base/gdb11531.exp
9724 * gdb.base/gdb1821.exp
9725 * gdb.base/gdbindex-stabs.exp
9726 * gdb.base/gdbvars.exp
9727 * gdb.base/hbreak.exp
9728 * gdb.base/hbreak2.exp
9729 * gdb.base/included.exp
9730 * gdb.base/infcall-input.exp
9731 * gdb.base/inferior-died.exp
9732 * gdb.base/infnan.exp
9733 * gdb.base/info-macros.exp
9734 * gdb.base/info-os.exp
9735 * gdb.base/info-proc.exp
9736 * gdb.base/info-shared.exp
9737 * gdb.base/info-target.exp
9738 * gdb.base/infoline.exp
9739 * gdb.base/interp.exp
9740 * gdb.base/interrupt.exp
9741 * gdb.base/jit-reader.exp
9742 * gdb.base/jit-simple.exp
9743 * gdb.base/kill-after-signal.exp
9744 * gdb.base/kill-detach-inferiors-cmd.exp
9745 * gdb.base/label.exp
9746 * gdb.base/langs.exp
9747 * gdb.base/ldbl_e308.exp
9748 * gdb.base/line-symtabs.exp
9749 * gdb.base/linespecs.exp
9750 * gdb.base/list.exp
9751 * gdb.base/long_long.exp
9752 * gdb.base/longest-types.exp
9753 * gdb.base/maint.exp
9754 * gdb.base/max-value-size.exp
9755 * gdb.base/memattr.exp
9756 * gdb.base/mips_pro.exp
9757 * gdb.base/morestack.exp
9758 * gdb.base/moribund-step.exp
9759 * gdb.base/multi-forks.exp
9760 * gdb.base/nested-addr.exp
9761 * gdb.base/nextoverexit.exp
9762 * gdb.base/noreturn-finish.exp
9763 * gdb.base/noreturn-return.exp
9764 * gdb.base/nostdlib.exp
9765 * gdb.base/offsets.exp
9766 * gdb.base/opaque.exp
9767 * gdb.base/pc-fp.exp
9768 * gdb.base/permissions.exp
9769 * gdb.base/print-symbol-loading.exp
9770 * gdb.base/prologue-include.exp
9771 * gdb.base/psymtab.exp
9772 * gdb.base/ptype.exp
9773 * gdb.base/random-signal.exp
9774 * gdb.base/randomize.exp
9775 * gdb.base/range-stepping.exp
9776 * gdb.base/readline-ask.exp
9777 * gdb.base/recpar.exp
9778 * gdb.base/recurse.exp
9779 * gdb.base/relational.exp
9780 * gdb.base/restore.exp
9781 * gdb.base/return-nodebug.exp
9782 * gdb.base/return.exp
9783 * gdb.base/run-after-attach.exp
9784 * gdb.base/save-bp.exp
9785 * gdb.base/scope.exp
9786 * gdb.base/sect-cmd.exp
9787 * gdb.base/set-lang-auto.exp
9788 * gdb.base/set-noassign.exp
9789 * gdb.base/setvar.exp
9790 * gdb.base/sigall.exp
9791 * gdb.base/sigbpt.exp
9792 * gdb.base/siginfo-addr.exp
9793 * gdb.base/siginfo-infcall.exp
9794 * gdb.base/siginfo-obj.exp
9795 * gdb.base/siginfo.exp
9796 * gdb.base/signals-state-child.exp
9797 * gdb.base/signest.exp
9798 * gdb.base/sigstep.exp
9799 * gdb.base/sizeof.exp
9800 * gdb.base/skip.exp
9801 * gdb.base/solib-corrupted.exp
9802 * gdb.base/solib-nodir.exp
9803 * gdb.base/solib-search.exp
9804 * gdb.base/stack-checking.exp
9805 * gdb.base/stale-infcall.exp
9806 * gdb.base/stap-probe.exp
9807 * gdb.base/start.exp
9808 * gdb.base/step-break.exp
9809 * gdb.base/step-bt.exp
9810 * gdb.base/step-line.exp
9811 * gdb.base/step-over-exit.exp
9812 * gdb.base/step-over-syscall.exp
9813 * gdb.base/step-resume-infcall.exp
9814 * gdb.base/step-test.exp
9815 * gdb.base/store.exp
9816 * gdb.base/structs3.exp
9817 * gdb.base/sym-file.exp
9818 * gdb.base/symbol-without-target_section.exp
9819 * gdb.base/term.exp
9820 * gdb.base/testenv.exp
9821 * gdb.base/ui-redirect.exp
9822 * gdb.base/until.exp
9823 * gdb.base/unwindonsignal.exp
9824 * gdb.base/value-double-free.exp
9825 * gdb.base/vla-datatypes.exp
9826 * gdb.base/vla-ptr.exp
9827 * gdb.base/vla-sideeffect.exp
9828 * gdb.base/volatile.exp
9829 * gdb.base/watch-cond-infcall.exp
9830 * gdb.base/watch-cond.exp
9831 * gdb.base/watch-non-mem.exp
9832 * gdb.base/watch-read.exp
9833 * gdb.base/watch-vfork.exp
9834 * gdb.base/watchpoint-cond-gone.exp
9835 * gdb.base/watchpoint-delete.exp
9836 * gdb.base/watchpoint-hw-hit-once.exp
9837 * gdb.base/watchpoint-hw.exp
9838 * gdb.base/watchpoint-stops-at-right-insn.exp
9839 * gdb.base/watchpoints.exp
9840 * gdb.base/wchar.exp
9841 * gdb.base/whatis-exp.exp
9842 * gdb.btrace/buffer-size.exp
9843 * gdb.btrace/data.exp
9844 * gdb.btrace/delta.exp
9845 * gdb.btrace/dlopen.exp
9846 * gdb.btrace/enable.exp
9847 * gdb.btrace/exception.exp
9848 * gdb.btrace/function_call_history.exp
9849 * gdb.btrace/gcore.exp
9850 * gdb.btrace/instruction_history.exp
9851 * gdb.btrace/nohist.exp
9852 * gdb.btrace/reconnect.exp
9853 * gdb.btrace/record_goto-step.exp
9854 * gdb.btrace/record_goto.exp
9855 * gdb.btrace/rn-dl-bind.exp
9856 * gdb.btrace/segv.exp
9857 * gdb.btrace/step.exp
9858 * gdb.btrace/stepi.exp
9859 * gdb.btrace/tailcall-only.exp
9860 * gdb.btrace/tailcall.exp
9861 * gdb.btrace/tsx.exp
9862 * gdb.btrace/unknown_functions.exp
9863 * gdb.btrace/vdso.exp
9864 * gdb.compile/compile-ifunc.exp
9865 * gdb.compile/compile-ops.exp
9866 * gdb.compile/compile-print.exp
9867 * gdb.compile/compile-setjmp.exp
9868 * gdb.cp/abstract-origin.exp
9869 * gdb.cp/ambiguous.exp
9870 * gdb.cp/annota2.exp
9871 * gdb.cp/annota3.exp
9872 * gdb.cp/anon-ns.exp
9873 * gdb.cp/anon-struct.exp
9874 * gdb.cp/anon-union.exp
9875 * gdb.cp/arg-reference.exp
9876 * gdb.cp/baseenum.exp
9877 * gdb.cp/bool.exp
9878 * gdb.cp/breakpoint.exp
9879 * gdb.cp/bs15503.exp
9880 * gdb.cp/call-c.exp
9881 * gdb.cp/casts.exp
9882 * gdb.cp/chained-calls.exp
9883 * gdb.cp/class2.exp
9884 * gdb.cp/classes.exp
9885 * gdb.cp/cmpd-minsyms.exp
9886 * gdb.cp/converts.exp
9887 * gdb.cp/cp-relocate.exp
9888 * gdb.cp/cpcompletion.exp
9889 * gdb.cp/cpexprs.exp
9890 * gdb.cp/cplabel.exp
9891 * gdb.cp/cplusfuncs.exp
9892 * gdb.cp/cpsizeof.exp
9893 * gdb.cp/ctti.exp
9894 * gdb.cp/derivation.exp
9895 * gdb.cp/destrprint.exp
9896 * gdb.cp/dispcxx.exp
9897 * gdb.cp/enum-class.exp
9898 * gdb.cp/exception.exp
9899 * gdb.cp/exceptprint.exp
9900 * gdb.cp/expand-psymtabs-cxx.exp
9901 * gdb.cp/expand-sals.exp
9902 * gdb.cp/extern-c.exp
9903 * gdb.cp/filename.exp
9904 * gdb.cp/formatted-ref.exp
9905 * gdb.cp/fpointer.exp
9906 * gdb.cp/gdb1355.exp
9907 * gdb.cp/gdb2495.exp
9908 * gdb.cp/hang.exp
9909 * gdb.cp/impl-this.exp
9910 * gdb.cp/infcall-dlopen.exp
9911 * gdb.cp/inherit.exp
9912 * gdb.cp/iostream.exp
9913 * gdb.cp/koenig.exp
9914 * gdb.cp/local.exp
9915 * gdb.cp/m-data.exp
9916 * gdb.cp/m-static.exp
9917 * gdb.cp/mb-ctor.exp
9918 * gdb.cp/mb-inline.exp
9919 * gdb.cp/mb-templates.exp
9920 * gdb.cp/member-name.exp
9921 * gdb.cp/member-ptr.exp
9922 * gdb.cp/meth-typedefs.exp
9923 * gdb.cp/method.exp
9924 * gdb.cp/method2.exp
9925 * gdb.cp/minsym-fallback.exp
9926 * gdb.cp/misc.exp
9927 * gdb.cp/namelessclass.exp
9928 * gdb.cp/namespace-enum.exp
9929 * gdb.cp/namespace-nested-import.exp
9930 * gdb.cp/namespace.exp
9931 * gdb.cp/nextoverthrow.exp
9932 * gdb.cp/no-dmgl-verbose.exp
9933 * gdb.cp/non-trivial-retval.exp
9934 * gdb.cp/noparam.exp
9935 * gdb.cp/nsdecl.exp
9936 * gdb.cp/nsimport.exp
9937 * gdb.cp/nsnested.exp
9938 * gdb.cp/nsnoimports.exp
9939 * gdb.cp/nsrecurs.exp
9940 * gdb.cp/nsstress.exp
9941 * gdb.cp/nsusing.exp
9942 * gdb.cp/operator.exp
9943 * gdb.cp/oranking.exp
9944 * gdb.cp/overload-const.exp
9945 * gdb.cp/overload.exp
9946 * gdb.cp/ovldbreak.exp
9947 * gdb.cp/ovsrch.exp
9948 * gdb.cp/paren-type.exp
9949 * gdb.cp/parse-lang.exp
9950 * gdb.cp/pass-by-ref.exp
9951 * gdb.cp/pr-1023.exp
9952 * gdb.cp/pr-1210.exp
9953 * gdb.cp/pr-574.exp
9954 * gdb.cp/pr10687.exp
9955 * gdb.cp/pr12028.exp
9956 * gdb.cp/pr17132.exp
9957 * gdb.cp/pr17494.exp
9958 * gdb.cp/pr9067.exp
9959 * gdb.cp/pr9167.exp
9960 * gdb.cp/pr9631.exp
9961 * gdb.cp/printmethod.exp
9962 * gdb.cp/psmang.exp
9963 * gdb.cp/psymtab-parameter.exp
9964 * gdb.cp/ptype-cv-cp.exp
9965 * gdb.cp/ptype-flags.exp
9966 * gdb.cp/re-set-overloaded.exp
9967 * gdb.cp/ref-types.exp
9968 * gdb.cp/rtti.exp
9969 * gdb.cp/scope-err.exp
9970 * gdb.cp/shadow.exp
9971 * gdb.cp/smartp.exp
9972 * gdb.cp/static-method.exp
9973 * gdb.cp/static-print-quit.exp
9974 * gdb.cp/temargs.exp
9975 * gdb.cp/templates.exp
9976 * gdb.cp/try_catch.exp
9977 * gdb.cp/typedef-operator.exp
9978 * gdb.cp/typeid.exp
9979 * gdb.cp/userdef.exp
9980 * gdb.cp/using-crash.exp
9981 * gdb.cp/var-tag.exp
9982 * gdb.cp/virtbase.exp
9983 * gdb.cp/virtfunc.exp
9984 * gdb.cp/virtfunc2.exp
9985 * gdb.cp/vla-cxx.exp
9986 * gdb.disasm/t01_mov.exp
9987 * gdb.disasm/t02_mova.exp
9988 * gdb.disasm/t03_add.exp
9989 * gdb.disasm/t04_sub.exp
9990 * gdb.disasm/t05_cmp.exp
9991 * gdb.disasm/t06_ari2.exp
9992 * gdb.disasm/t07_ari3.exp
9993 * gdb.disasm/t08_or.exp
9994 * gdb.disasm/t09_xor.exp
9995 * gdb.disasm/t10_and.exp
9996 * gdb.disasm/t11_logs.exp
9997 * gdb.disasm/t12_bit.exp
9998 * gdb.disasm/t13_otr.exp
9999 * gdb.dlang/circular.exp
10000 * gdb.dwarf2/arr-stride.exp
10001 * gdb.dwarf2/arr-subrange.exp
10002 * gdb.dwarf2/atomic-type.exp
10003 * gdb.dwarf2/bad-regnum.exp
10004 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10005 * gdb.dwarf2/callframecfa.exp
10006 * gdb.dwarf2/clztest.exp
10007 * gdb.dwarf2/corrupt.exp
10008 * gdb.dwarf2/data-loc.exp
10009 * gdb.dwarf2/dup-psym.exp
10010 * gdb.dwarf2/dw2-anon-mptr.exp
10011 * gdb.dwarf2/dw2-anonymous-func.exp
10012 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10013 * gdb.dwarf2/dw2-bad-unresolved.exp
10014 * gdb.dwarf2/dw2-basic.exp
10015 * gdb.dwarf2/dw2-canonicalize-type.exp
10016 * gdb.dwarf2/dw2-case-insensitive.exp
10017 * gdb.dwarf2/dw2-common-block.exp
10018 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10019 * gdb.dwarf2/dw2-compressed.exp
10020 * gdb.dwarf2/dw2-const.exp
10021 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10022 * gdb.dwarf2/dw2-cu-size.exp
10023 * gdb.dwarf2/dw2-dup-frame.exp
10024 * gdb.dwarf2/dw2-entry-value.exp
10025 * gdb.dwarf2/dw2-icycle.exp
10026 * gdb.dwarf2/dw2-ifort-parameter.exp
10027 * gdb.dwarf2/dw2-inline-break.exp
10028 * gdb.dwarf2/dw2-inline-param.exp
10029 * gdb.dwarf2/dw2-intercu.exp
10030 * gdb.dwarf2/dw2-intermix.exp
10031 * gdb.dwarf2/dw2-lexical-block-bare.exp
10032 * gdb.dwarf2/dw2-linkage-name-trust.exp
10033 * gdb.dwarf2/dw2-minsym-in-cu.exp
10034 * gdb.dwarf2/dw2-noloc.exp
10035 * gdb.dwarf2/dw2-op-call.exp
10036 * gdb.dwarf2/dw2-op-out-param.exp
10037 * gdb.dwarf2/dw2-opt-structptr.exp
10038 * gdb.dwarf2/dw2-param-error.exp
10039 * gdb.dwarf2/dw2-producer.exp
10040 * gdb.dwarf2/dw2-ranges-base.exp
10041 * gdb.dwarf2/dw2-ref-missing-frame.exp
10042 * gdb.dwarf2/dw2-reg-undefined.exp
10043 * gdb.dwarf2/dw2-regno-invalid.exp
10044 * gdb.dwarf2/dw2-restore.exp
10045 * gdb.dwarf2/dw2-restrict.exp
10046 * gdb.dwarf2/dw2-single-line-discriminators.exp
10047 * gdb.dwarf2/dw2-strp.exp
10048 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10049 * gdb.dwarf2/dw2-unresolved.exp
10050 * gdb.dwarf2/dw2-var-zero-addr.exp
10051 * gdb.dwarf2/dw4-sig-types.exp
10052 * gdb.dwarf2/dwz.exp
10053 * gdb.dwarf2/dynarr-ptr.exp
10054 * gdb.dwarf2/enum-type.exp
10055 * gdb.dwarf2/gdb-index.exp
10056 * gdb.dwarf2/implptr-64bit.exp
10057 * gdb.dwarf2/implptr-optimized-out.exp
10058 * gdb.dwarf2/implptr.exp
10059 * gdb.dwarf2/implref-array.exp
10060 * gdb.dwarf2/implref-const.exp
10061 * gdb.dwarf2/implref-global.exp
10062 * gdb.dwarf2/implref-struct.exp
10063 * gdb.dwarf2/mac-fileno.exp
10064 * gdb.dwarf2/main-subprogram.exp
10065 * gdb.dwarf2/member-ptr-forwardref.exp
10066 * gdb.dwarf2/method-ptr.exp
10067 * gdb.dwarf2/missing-sig-type.exp
10068 * gdb.dwarf2/nonvar-access.exp
10069 * gdb.dwarf2/opaque-type-lookup.exp
10070 * gdb.dwarf2/pieces-optimized-out.exp
10071 * gdb.dwarf2/pieces.exp
10072 * gdb.dwarf2/pr10770.exp
10073 * gdb.dwarf2/pr13961.exp
10074 * gdb.dwarf2/staticvirtual.exp
10075 * gdb.dwarf2/subrange.exp
10076 * gdb.dwarf2/symtab-producer.exp
10077 * gdb.dwarf2/trace-crash.exp
10078 * gdb.dwarf2/typeddwarf.exp
10079 * gdb.dwarf2/valop.exp
10080 * gdb.dwarf2/watch-notconst.exp
10081 * gdb.fortran/array-element.exp
10082 * gdb.fortran/charset.exp
10083 * gdb.fortran/common-block.exp
10084 * gdb.fortran/complex.exp
10085 * gdb.fortran/derived-type-function.exp
10086 * gdb.fortran/derived-type.exp
10087 * gdb.fortran/logical.exp
10088 * gdb.fortran/module.exp
10089 * gdb.fortran/multi-dim.exp
10090 * gdb.fortran/nested-funcs.exp
10091 * gdb.fortran/print-formatted.exp
10092 * gdb.fortran/subarray.exp
10093 * gdb.fortran/vla-alloc-assoc.exp
10094 * gdb.fortran/vla-datatypes.exp
10095 * gdb.fortran/vla-history.exp
10096 * gdb.fortran/vla-ptr-info.exp
10097 * gdb.fortran/vla-ptype-sub.exp
10098 * gdb.fortran/vla-ptype.exp
10099 * gdb.fortran/vla-sizeof.exp
10100 * gdb.fortran/vla-type.exp
10101 * gdb.fortran/vla-value-sub-arbitrary.exp
10102 * gdb.fortran/vla-value-sub-finish.exp
10103 * gdb.fortran/vla-value-sub.exp
10104 * gdb.fortran/vla-value.exp
10105 * gdb.fortran/whatis_type.exp
10106 * gdb.go/chan.exp
10107 * gdb.go/handcall.exp
10108 * gdb.go/hello.exp
10109 * gdb.go/integers.exp
10110 * gdb.go/methods.exp
10111 * gdb.go/package.exp
10112 * gdb.go/strings.exp
10113 * gdb.go/types.exp
10114 * gdb.go/unsafe.exp
10115 * gdb.guile/scm-arch.exp
10116 * gdb.guile/scm-block.exp
10117 * gdb.guile/scm-breakpoint.exp
10118 * gdb.guile/scm-cmd.exp
10119 * gdb.guile/scm-disasm.exp
10120 * gdb.guile/scm-equal.exp
10121 * gdb.guile/scm-frame-args.exp
10122 * gdb.guile/scm-frame-inline.exp
10123 * gdb.guile/scm-frame.exp
10124 * gdb.guile/scm-iterator.exp
10125 * gdb.guile/scm-math.exp
10126 * gdb.guile/scm-objfile.exp
10127 * gdb.guile/scm-ports.exp
10128 * gdb.guile/scm-symbol.exp
10129 * gdb.guile/scm-symtab.exp
10130 * gdb.guile/scm-value-cc.exp
10131 * gdb.guile/types-module.exp
10132 * gdb.linespec/break-ask.exp
10133 * gdb.linespec/cpexplicit.exp
10134 * gdb.linespec/explicit.exp
10135 * gdb.linespec/keywords.exp
10136 * gdb.linespec/linespec.exp
10137 * gdb.linespec/ls-dollar.exp
10138 * gdb.linespec/ls-errs.exp
10139 * gdb.linespec/skip-two.exp
10140 * gdb.linespec/thread.exp
10141 * gdb.mi/mi-async.exp
10142 * gdb.mi/mi-basics.exp
10143 * gdb.mi/mi-break.exp
10144 * gdb.mi/mi-catch-load.exp
10145 * gdb.mi/mi-cli.exp
10146 * gdb.mi/mi-cmd-param-changed.exp
10147 * gdb.mi/mi-console.exp
10148 * gdb.mi/mi-detach.exp
10149 * gdb.mi/mi-disassemble.exp
10150 * gdb.mi/mi-eval.exp
10151 * gdb.mi/mi-file-transfer.exp
10152 * gdb.mi/mi-file.exp
10153 * gdb.mi/mi-fill-memory.exp
10154 * gdb.mi/mi-inheritance-syntax-error.exp
10155 * gdb.mi/mi-linespec-err-cp.exp
10156 * gdb.mi/mi-logging.exp
10157 * gdb.mi/mi-memory-changed.exp
10158 * gdb.mi/mi-read-memory.exp
10159 * gdb.mi/mi-record-changed.exp
10160 * gdb.mi/mi-reg-undefined.exp
10161 * gdb.mi/mi-regs.exp
10162 * gdb.mi/mi-return.exp
10163 * gdb.mi/mi-reverse.exp
10164 * gdb.mi/mi-simplerun.exp
10165 * gdb.mi/mi-solib.exp
10166 * gdb.mi/mi-stack.exp
10167 * gdb.mi/mi-stepi.exp
10168 * gdb.mi/mi-syn-frame.exp
10169 * gdb.mi/mi-until.exp
10170 * gdb.mi/mi-var-block.exp
10171 * gdb.mi/mi-var-child.exp
10172 * gdb.mi/mi-var-cmd.exp
10173 * gdb.mi/mi-var-cp.exp
10174 * gdb.mi/mi-var-display.exp
10175 * gdb.mi/mi-var-invalidate.exp
10176 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10177 * gdb.mi/mi-vla-fortran.exp
10178 * gdb.mi/mi-watch.exp
10179 * gdb.mi/mi2-var-child.exp
10180 * gdb.mi/user-selected-context-sync.exp
10181 * gdb.modula2/unbounded-array.exp
10182 * gdb.multi/dummy-frame-restore.exp
10183 * gdb.multi/multi-arch-exec.exp
10184 * gdb.multi/multi-arch.exp
10185 * gdb.multi/tids.exp
10186 * gdb.multi/watchpoint-multi.exp
10187 * gdb.opencl/callfuncs.exp
10188 * gdb.opencl/convs_casts.exp
10189 * gdb.opencl/datatypes.exp
10190 * gdb.opencl/operators.exp
10191 * gdb.opencl/vec_comps.exp
10192 * gdb.opt/clobbered-registers-O2.exp
10193 * gdb.opt/inline-break.exp
10194 * gdb.opt/inline-bt.exp
10195 * gdb.opt/inline-cmds.exp
10196 * gdb.opt/inline-locals.exp
10197 * gdb.pascal/case-insensitive-symbols.exp
10198 * gdb.pascal/floats.exp
10199 * gdb.pascal/gdb11492.exp
10200 * gdb.python/lib-types.exp
10201 * gdb.python/py-arch.exp
10202 * gdb.python/py-as-string.exp
10203 * gdb.python/py-bad-printers.exp
10204 * gdb.python/py-block.exp
10205 * gdb.python/py-breakpoint-create-fail.exp
10206 * gdb.python/py-breakpoint.exp
10207 * gdb.python/py-caller-is.exp
10208 * gdb.python/py-cmd.exp
10209 * gdb.python/py-explore-cc.exp
10210 * gdb.python/py-explore.exp
10211 * gdb.python/py-finish-breakpoint.exp
10212 * gdb.python/py-finish-breakpoint2.exp
10213 * gdb.python/py-frame-args.exp
10214 * gdb.python/py-frame-inline.exp
10215 * gdb.python/py-frame.exp
10216 * gdb.python/py-framefilter-mi.exp
10217 * gdb.python/py-infthread.exp
10218 * gdb.python/py-lazy-string.exp
10219 * gdb.python/py-linetable.exp
10220 * gdb.python/py-mi-events.exp
10221 * gdb.python/py-mi-objfile.exp
10222 * gdb.python/py-mi.exp
10223 * gdb.python/py-objfile.exp
10224 * gdb.python/py-pp-integral.exp
10225 * gdb.python/py-pp-maint.exp
10226 * gdb.python/py-pp-re-notag.exp
10227 * gdb.python/py-pp-registration.exp
10228 * gdb.python/py-recurse-unwind.exp
10229 * gdb.python/py-strfns.exp
10230 * gdb.python/py-symbol.exp
10231 * gdb.python/py-symtab.exp
10232 * gdb.python/py-sync-interp.exp
10233 * gdb.python/py-typeprint.exp
10234 * gdb.python/py-unwind-maint.exp
10235 * gdb.python/py-unwind.exp
10236 * gdb.python/py-value-cc.exp
10237 * gdb.python/py-xmethods.exp
10238 * gdb.reverse/amd64-tailcall-reverse.exp
10239 * gdb.reverse/break-precsave.exp
10240 * gdb.reverse/break-reverse.exp
10241 * gdb.reverse/consecutive-precsave.exp
10242 * gdb.reverse/consecutive-reverse.exp
10243 * gdb.reverse/finish-precsave.exp
10244 * gdb.reverse/finish-reverse-bkpt.exp
10245 * gdb.reverse/finish-reverse.exp
10246 * gdb.reverse/fstatat-reverse.exp
10247 * gdb.reverse/getresuid-reverse.exp
10248 * gdb.reverse/i386-precsave.exp
10249 * gdb.reverse/i386-reverse.exp
10250 * gdb.reverse/i386-sse-reverse.exp
10251 * gdb.reverse/i387-env-reverse.exp
10252 * gdb.reverse/i387-stack-reverse.exp
10253 * gdb.reverse/insn-reverse.exp
10254 * gdb.reverse/machinestate-precsave.exp
10255 * gdb.reverse/machinestate.exp
10256 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10257 * gdb.reverse/pipe-reverse.exp
10258 * gdb.reverse/readv-reverse.exp
10259 * gdb.reverse/recvmsg-reverse.exp
10260 * gdb.reverse/rerun-prec.exp
10261 * gdb.reverse/s390-mvcle.exp
10262 * gdb.reverse/step-precsave.exp
10263 * gdb.reverse/step-reverse.exp
10264 * gdb.reverse/time-reverse.exp
10265 * gdb.reverse/until-precsave.exp
10266 * gdb.reverse/until-reverse.exp
10267 * gdb.reverse/waitpid-reverse.exp
10268 * gdb.reverse/watch-precsave.exp
10269 * gdb.reverse/watch-reverse.exp
10270 * gdb.rust/generics.exp
10271 * gdb.rust/methods.exp
10272 * gdb.rust/modules.exp
10273 * gdb.rust/simple.exp
10274 * gdb.server/connect-with-no-symbol-file.exp
10275 * gdb.server/ext-attach.exp
10276 * gdb.server/ext-restart.exp
10277 * gdb.server/ext-wrapper.exp
10278 * gdb.server/file-transfer.exp
10279 * gdb.server/server-exec-info.exp
10280 * gdb.server/server-kill.exp
10281 * gdb.server/server-mon.exp
10282 * gdb.server/wrapper.exp
10283 * gdb.stabs/exclfwd.exp
10284 * gdb.stabs/gdb11479.exp
10285 * gdb.threads/clone-new-thread-event.exp
10286 * gdb.threads/corethreads.exp
10287 * gdb.threads/current-lwp-dead.exp
10288 * gdb.threads/dlopen-libpthread.exp
10289 * gdb.threads/gcore-thread.exp
10290 * gdb.threads/sigstep-threads.exp
10291 * gdb.threads/watchpoint-fork.exp
10292 * gdb.trace/actions-changed.exp
10293 * gdb.trace/backtrace.exp
10294 * gdb.trace/change-loc.exp
10295 * gdb.trace/circ.exp
10296 * gdb.trace/collection.exp
10297 * gdb.trace/disconnected-tracing.exp
10298 * gdb.trace/ftrace.exp
10299 * gdb.trace/mi-trace-frame-collected.exp
10300 * gdb.trace/mi-trace-unavailable.exp
10301 * gdb.trace/mi-traceframe-changed.exp
10302 * gdb.trace/mi-tsv-changed.exp
10303 * gdb.trace/no-attach-trace.exp
10304 * gdb.trace/passc-dyn.exp
10305 * gdb.trace/qtro.exp
10306 * gdb.trace/range-stepping.exp
10307 * gdb.trace/read-memory.exp
10308 * gdb.trace/save-trace.exp
10309 * gdb.trace/signal.exp
10310 * gdb.trace/status-stop.exp
10311 * gdb.trace/tfile.exp
10312 * gdb.trace/trace-break.exp
10313 * gdb.trace/trace-buffer-size.exp
10314 * gdb.trace/trace-condition.exp
10315 * gdb.trace/tracefile-pseudo-reg.exp
10316 * gdb.trace/tstatus.exp
10317 * gdb.trace/unavailable.exp
10318 * gdb.trace/while-dyn.exp
10319 * gdb.trace/while-stepping.exp
10320
10321 2016-12-22 Doug Evans <xdje42@gmail.com>
10322
10323 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10324 and msymbols.
10325
10326 2016-12-19 Yao Qi <yao.qi@linaro.org>
10327
10328 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10329 (test_with_self): Don't call do_steps_and_nexts, and remove
10330 code about stepping into xmalloc.
10331
10332 2016-12-09 Yao Qi <yao.qi@linaro.org>
10333
10334 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10335
10336 2016-12-09 Yao Qi <yao.qi@linaro.org>
10337
10338 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10339
10340 2016-12-09 Pedro Alves <palves@redhat.com>
10341
10342 * gdb.base/all-architectures-0.exp: New file.
10343 * gdb.base/all-architectures-1.exp: New file.
10344 * gdb.base/all-architectures-2.exp: New file.
10345 * gdb.base/all-architectures-3.exp: New file.
10346 * gdb.base/all-architectures-4.exp: New file.
10347 * gdb.base/all-architectures-5.exp: New file.
10348 * gdb.base/all-architectures-6.exp: New file.
10349 * gdb.base/all-architectures-7.exp: New file.
10350 * gdb.base/all-architectures.exp.in: New file.
10351
10352 2016-12-09 Yao Qi <yao.qi@linaro.org>
10353
10354 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10355
10356 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10357
10358 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10359 possible.
10360 Remove useless pattern-matching code.
10361
10362 2016-12-02 Pedro Alves <palves@redhat.com>
10363
10364 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10365 procedure.
10366 (top level): Call it.
10367
10368 2016-12-02 Pedro Alves <palves@redhat.com>
10369
10370 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10371 New procedure.
10372 (top level): Call it.
10373
10374 2016-12-02 Pedro Alves <palves@redhat.com>
10375
10376 PR cli/20559
10377 * gdb.base/commands.exp (user_defined_command_args_eval): New
10378 procedure.
10379 (top level): Call it.
10380
10381 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10382
10383 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10384 timeout handling.
10385
10386 2016-12-02 Tom Tromey <tom@tromey.com>
10387
10388 * gdb.dwarf2/main-subprogram.c: New file.
10389 * gdb.dwarf2/main-subprogram.exp: New file.
10390
10391 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10392
10393 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10394 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10395 gdb_test_no_output for a couple of cases.
10396 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10397
10398 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10399
10400 Fix test names and standardize compilation error messages throughout
10401 the following files:
10402
10403 * gdb.ada/start.exp
10404 * gdb.arch/alpha-step.exp
10405 * gdb.arch/e500-prologue.exp
10406 * gdb.arch/ftrace-insn-reloc.exp
10407 * gdb.arch/gdb1291.exp
10408 * gdb.arch/gdb1431.exp
10409 * gdb.arch/gdb1558.exp
10410 * gdb.arch/i386-dr3-watch.exp
10411 * gdb.arch/i386-sse-stack-align.exp
10412 * gdb.arch/ia64-breakpoint-shadow.exp
10413 * gdb.arch/pa-nullify.exp
10414 * gdb.arch/powerpc-aix-prologue.exp
10415 * gdb.arch/thumb-bx-pc.exp
10416 * gdb.base/annota1.exp
10417 * gdb.base/annota3.exp
10418 * gdb.base/arrayidx.exp
10419 * gdb.base/assign.exp
10420 * gdb.base/attach.exp
10421 * gdb.base/auxv.exp
10422 * gdb.base/bang.exp
10423 * gdb.base/bfp-test.exp
10424 * gdb.base/bigcore.exp
10425 * gdb.base/bitfields2.exp
10426 * gdb.base/break-fun-addr.exp
10427 * gdb.base/break-probes.exp
10428 * gdb.base/call-rt-st.exp
10429 * gdb.base/callexit.exp
10430 * gdb.base/catch-fork-kill.exp
10431 * gdb.base/charset.exp
10432 * gdb.base/checkpoint.exp
10433 * gdb.base/comprdebug.exp
10434 * gdb.base/constvars.exp
10435 * gdb.base/coredump-filter.exp
10436 * gdb.base/cursal.exp
10437 * gdb.base/cvexpr.exp
10438 * gdb.base/detach.exp
10439 * gdb.base/display.exp
10440 * gdb.base/dmsym.exp
10441 * gdb.base/dprintf-pending.exp
10442 * gdb.base/dso2dso.exp
10443 * gdb.base/dtrace-probe.exp
10444 * gdb.base/dump.exp
10445 * gdb.base/enum_cond.exp
10446 * gdb.base/exe-lock.exp
10447 * gdb.base/exec-invalid-sysroot.exp
10448 * gdb.base/execl-update-breakpoints.exp
10449 * gdb.base/exprs.exp
10450 * gdb.base/fileio.exp
10451 * gdb.base/find.exp
10452 * gdb.base/finish.exp
10453 * gdb.base/fixsection.exp
10454 * gdb.base/foll-vfork.exp
10455 * gdb.base/frame-args.exp
10456 * gdb.base/gcore.exp
10457 * gdb.base/gdb1250.exp
10458 * gdb.base/global-var-nested-by-dso.exp
10459 * gdb.base/gnu-ifunc.exp
10460 * gdb.base/hashline1.exp
10461 * gdb.base/hashline2.exp
10462 * gdb.base/hashline3.exp
10463 * gdb.base/hbreak-in-shr-unsupported.exp
10464 * gdb.base/huge.exp
10465 * gdb.base/infcall-input.exp
10466 * gdb.base/info-fun.exp
10467 * gdb.base/info-shared.exp
10468 * gdb.base/jit-simple.exp
10469 * gdb.base/jit-so.exp
10470 * gdb.base/jit.exp
10471 * gdb.base/jump.exp
10472 * gdb.base/label.exp
10473 * gdb.base/lineinc.exp
10474 * gdb.base/logical.exp
10475 * gdb.base/longjmp.exp
10476 * gdb.base/macscp.exp
10477 * gdb.base/miscexprs.exp
10478 * gdb.base/new-ui-echo.exp
10479 * gdb.base/new-ui-pending-input.exp
10480 * gdb.base/new-ui.exp
10481 * gdb.base/nodebug.exp
10482 * gdb.base/nofield.exp
10483 * gdb.base/offsets.exp
10484 * gdb.base/overlays.exp
10485 * gdb.base/pending.exp
10486 * gdb.base/pointers.exp
10487 * gdb.base/pr11022.exp
10488 * gdb.base/printcmds.exp
10489 * gdb.base/prologue.exp
10490 * gdb.base/ptr-typedef.exp
10491 * gdb.base/realname-expand.exp
10492 * gdb.base/relativedebug.exp
10493 * gdb.base/relocate.exp
10494 * gdb.base/remote.exp
10495 * gdb.base/reread.exp
10496 * gdb.base/return2.exp
10497 * gdb.base/savedregs.exp
10498 * gdb.base/sep.exp
10499 * gdb.base/sepdebug.exp
10500 * gdb.base/sepsymtab.exp
10501 * gdb.base/set-inferior-tty.exp
10502 * gdb.base/setshow.exp
10503 * gdb.base/shlib-call.exp
10504 * gdb.base/sigaltstack.exp
10505 * gdb.base/siginfo-addr.exp
10506 * gdb.base/signals.exp
10507 * gdb.base/signull.exp
10508 * gdb.base/sigrepeat.exp
10509 * gdb.base/so-impl-ld.exp
10510 * gdb.base/solib-display.exp
10511 * gdb.base/solib-overlap.exp
10512 * gdb.base/solib-search.exp
10513 * gdb.base/solib-symbol.exp
10514 * gdb.base/structs.exp
10515 * gdb.base/structs2.exp
10516 * gdb.base/symtab-search-order.exp
10517 * gdb.base/twice.exp
10518 * gdb.base/unload.exp
10519 * gdb.base/varargs.exp
10520 * gdb.base/watchpoint-solib.exp
10521 * gdb.base/watchpoint.exp
10522 * gdb.base/whatis.exp
10523 * gdb.base/wrong_frame_bt_full.exp
10524 * gdb.btrace/dlopen.exp
10525 * gdb.cell/ea-standalone.exp
10526 * gdb.cell/ea-test.exp
10527 * gdb.cp/dispcxx.exp
10528 * gdb.cp/gdb2384.exp
10529 * gdb.cp/method2.exp
10530 * gdb.cp/nextoverthrow.exp
10531 * gdb.cp/pr10728.exp
10532 * gdb.disasm/am33.exp
10533 * gdb.disasm/h8300s.exp
10534 * gdb.disasm/mn10300.exp
10535 * gdb.disasm/sh3.exp
10536 * gdb.dwarf2/dw2-dir-file-name.exp
10537 * gdb.fortran/complex.exp
10538 * gdb.fortran/library-module.exp
10539 * gdb.guile/scm-pretty-print.exp
10540 * gdb.guile/scm-symbol.exp
10541 * gdb.guile/scm-type.exp
10542 * gdb.guile/scm-value.exp
10543 * gdb.linespec/linespec.exp
10544 * gdb.mi/gdb701.exp
10545 * gdb.mi/gdb792.exp
10546 * gdb.mi/mi-breakpoint-changed.exp
10547 * gdb.mi/mi-dprintf-pending.exp
10548 * gdb.mi/mi-dprintf.exp
10549 * gdb.mi/mi-exit-code.exp
10550 * gdb.mi/mi-pending.exp
10551 * gdb.mi/mi-solib.exp
10552 * gdb.mi/new-ui-mi-sync.exp
10553 * gdb.mi/pr11022.exp
10554 * gdb.mi/user-selected-context-sync.exp
10555 * gdb.opt/solib-intra-step.exp
10556 * gdb.python/py-events.exp
10557 * gdb.python/py-finish-breakpoint.exp
10558 * gdb.python/py-mi.exp
10559 * gdb.python/py-prettyprint.exp
10560 * gdb.python/py-shared.exp
10561 * gdb.python/py-symbol.exp
10562 * gdb.python/py-template.exp
10563 * gdb.python/py-type.exp
10564 * gdb.python/py-value.exp
10565 * gdb.reverse/solib-precsave.exp
10566 * gdb.reverse/solib-reverse.exp
10567 * gdb.server/solib-list.exp
10568 * gdb.stabs/weird.exp
10569 * gdb.threads/reconnect-signal.exp
10570 * gdb.threads/stepi-random-signal.exp
10571 * gdb.trace/actions.exp
10572 * gdb.trace/ax.exp
10573 * gdb.trace/backtrace.exp
10574 * gdb.trace/change-loc.exp
10575 * gdb.trace/deltrace.exp
10576 * gdb.trace/ftrace-lock.exp
10577 * gdb.trace/ftrace.exp
10578 * gdb.trace/infotrace.exp
10579 * gdb.trace/mi-tracepoint-changed.exp
10580 * gdb.trace/packetlen.exp
10581 * gdb.trace/passcount.exp
10582 * gdb.trace/pending.exp
10583 * gdb.trace/range-stepping.exp
10584 * gdb.trace/report.exp
10585 * gdb.trace/stap-trace.exp
10586 * gdb.trace/tfind.exp
10587 * gdb.trace/trace-break.exp
10588 * gdb.trace/trace-condition.exp
10589 * gdb.trace/trace-enable-disable.exp
10590 * gdb.trace/trace-mt.exp
10591 * gdb.trace/tracecmd.exp
10592 * gdb.trace/tspeed.exp
10593 * gdb.trace/tsv.exp
10594 * lib/perftest.exp
10595
10596 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10597
10598 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10599 with gdb_test_no_output.
10600 Use command as test name.
10601
10602 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10603
10604 Fix test names starting with uppercase throughout the files.
10605
10606 * gdb.ada/assign_1.exp
10607 * gdb.ada/boolean_expr.exp
10608 * gdb.base/arrayidx.exp
10609 * gdb.base/del.exp
10610 * gdb.base/gcore-buffer-overflow.exp
10611 * gdb.base/testenv.exp
10612 * gdb.compile/compile.exp
10613 * gdb.python/py-framefilter-invalidarg.exp
10614 * gdb.python/py-framefilter.exp
10615
10616 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10617
10618 Fix test names starting with uppercase throughout the files.
10619
10620 * gdb.ada/array_return.exp
10621 * gdb.ada/expr_delims.exp
10622 * gdb.ada/mi_dyn_arr.exp
10623 * gdb.ada/mi_interface.exp
10624 * gdb.ada/mi_var_array.exp
10625 * gdb.ada/watch_arg.exp
10626 * gdb.arch/alpha-step.exp
10627 * gdb.arch/altivec-regs.exp
10628 * gdb.arch/e500-regs.exp
10629 * gdb.arch/powerpc-d128-regs.exp
10630 * gdb.base/arrayidx.exp
10631 * gdb.base/break.exp
10632 * gdb.base/checkpoint.exp
10633 * gdb.base/debug-expr.exp
10634 * gdb.base/dmsym.exp
10635 * gdb.base/radix.exp
10636 * gdb.base/sepdebug.exp
10637 * gdb.base/testenv.exp
10638 * gdb.base/watch_thread_num.exp
10639 * gdb.base/watchpoint-cond-gone.exp
10640 * gdb.cell/break.exp
10641 * gdb.cell/ea-cache.exp
10642 * gdb.compile/compile.exp
10643 * gdb.cp/gdb2495.exp
10644 * gdb.gdb/selftest.exp
10645 * gdb.gdb/xfullpath.exp
10646 * gdb.go/hello.exp
10647 * gdb.go/integers.exp
10648 * gdb.objc/basicclass.exp
10649 * gdb.pascal/hello.exp
10650 * gdb.pascal/integers.exp
10651 * gdb.python/py-breakpoint.exp
10652 * gdb.python/py-cmd.exp
10653 * gdb.python/py-linetable.exp
10654 * gdb.python/py-xmethods.exp
10655 * gdb.python/python.exp
10656 * gdb.reverse/consecutive-precsave.exp
10657 * gdb.reverse/finish-precsave.exp
10658 * gdb.reverse/i386-precsave.exp
10659 * gdb.reverse/machinestate-precsave.exp
10660 * gdb.reverse/sigall-precsave.exp
10661 * gdb.reverse/solib-precsave.exp
10662 * gdb.reverse/step-precsave.exp
10663 * gdb.reverse/until-precsave.exp
10664 * gdb.reverse/watch-precsave.exp
10665 * gdb.threads/leader-exit.exp
10666 * gdb.threads/pthreads.exp
10667 * gdb.threads/wp-replication.exp
10668 * gdb.trace/actions.exp
10669 * gdb.trace/mi-tsv-changed.exp
10670 * gdb.trace/tsv.exp
10671
10672 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10673
10674 Fix test names starting with uppercase throughout the files.
10675
10676 * gdb.arch/i386-bp_permanent.exp
10677 * gdb.arch/i386-gnu-cfi.exp
10678 * gdb.base/disasm-end-cu.exp
10679 * gdb.base/macscp.exp
10680 * gdb.base/pending.exp
10681 * gdb.base/watch_thread_num.exp
10682 * gdb.cp/exception.exp
10683 * gdb.cp/gdb2495.exp
10684 * gdb.cp/local.exp
10685 * gdb.python/py-evsignal.exp
10686 * gdb.python/python.exp
10687 * gdb.trace/tracecmd.exp
10688
10689 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10690
10691 Fix test names starting with uppercase throughout the files.
10692
10693 * gdb.base/charset.exp
10694 * gdb.base/eval.exp
10695 * gdb.base/multi-forks.exp
10696 * gdb.guile/scm-progspace.exp
10697 * gdb.opencl/datatypes.exp
10698 * gdb.python/py-block.exp
10699 * gdb.python/py-function.exp
10700 * gdb.python/py-symbol.exp
10701 * gdb.python/py-symtab.exp
10702 * gdb.python/py-xmethods.exp
10703 * gdb.reverse/break-precsave.exp
10704 * gdb.reverse/break-reverse.exp
10705 * gdb.reverse/consecutive-precsave.exp
10706 * gdb.reverse/consecutive-reverse.exp
10707 * gdb.reverse/finish-precsave.exp
10708 * gdb.reverse/finish-reverse-bkpt.exp
10709 * gdb.reverse/finish-reverse.exp
10710 * gdb.reverse/fstatat-reverse.exp
10711 * gdb.reverse/getresuid-reverse.exp
10712 * gdb.reverse/i386-precsave.exp
10713 * gdb.reverse/i386-reverse.exp
10714 * gdb.reverse/i386-sse-reverse.exp
10715 * gdb.reverse/i387-stack-reverse.exp
10716 * gdb.reverse/insn-reverse.exp
10717 * gdb.reverse/machinestate-precsave.exp
10718 * gdb.reverse/machinestate.exp
10719 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10720 * gdb.reverse/pipe-reverse.exp
10721 * gdb.reverse/readv-reverse.exp
10722 * gdb.reverse/recvmsg-reverse.exp
10723 * gdb.reverse/rerun-prec.exp
10724 * gdb.reverse/s390-mvcle.exp
10725 * gdb.reverse/sigall-precsave.exp
10726 * gdb.reverse/sigall-reverse.exp
10727 * gdb.reverse/solib-precsave.exp
10728 * gdb.reverse/solib-reverse.exp
10729 * gdb.reverse/step-precsave.exp
10730 * gdb.reverse/step-reverse.exp
10731 * gdb.reverse/time-reverse.exp
10732 * gdb.reverse/until-precsave.exp
10733 * gdb.reverse/until-reverse.exp
10734 * gdb.reverse/waitpid-reverse.exp
10735 * gdb.reverse/watch-precsave.exp
10736 * gdb.reverse/watch-reverse.exp
10737
10738 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10739
10740 Fix test names starting with uppercase throughout the files.
10741
10742 * gdb.arch/i386-mpx-simple_segv.exp
10743 * gdb.arch/i386-mpx.exp
10744 * gdb.arch/i386-permbkpt.exp
10745 * gdb.arch/pa-nullify.exp
10746 * gdb.arch/powerpc-d128-regs.exp
10747 * gdb.arch/vsx-regs.exp
10748 * gdb.base/bfp-test.exp
10749 * gdb.base/break.exp
10750 * gdb.base/breakpoint-shadow.exp
10751 * gdb.base/callfuncs.exp
10752 * gdb.base/charset.exp
10753 * gdb.base/commands.exp
10754 * gdb.base/completion.exp
10755 * gdb.base/dfp-test.exp
10756 * gdb.base/echo.exp
10757 * gdb.base/ending-run.exp
10758 * gdb.base/eval.exp
10759 * gdb.base/expand-psymtabs.exp
10760 * gdb.base/float128.exp
10761 * gdb.base/floatn.exp
10762 * gdb.base/foll-exec-mode.exp
10763 * gdb.base/gdb1056.exp
10764 * gdb.base/gdb11531.exp
10765 * gdb.base/kill-after-signal.exp
10766 * gdb.base/multi-forks.exp
10767 * gdb.base/overlays.exp
10768 * gdb.base/pending.exp
10769 * gdb.base/sepdebug.exp
10770 * gdb.base/testenv.exp
10771 * gdb.base/valgrind-db-attach.exp
10772 * gdb.base/watch_thread_num.exp
10773 * gdb.base/watchpoint-cond-gone.exp
10774 * gdb.base/watchpoint.exp
10775 * gdb.base/watchpoints.exp
10776 * gdb.cp/arg-reference.exp
10777 * gdb.cp/baseenum.exp
10778 * gdb.cp/operator.exp
10779 * gdb.cp/shadow.exp
10780 * gdb.dwarf2/dw2-op-out-param.exp
10781 * gdb.dwarf2/dw2-reg-undefined.exp
10782 * gdb.go/chan.exp
10783 * gdb.go/hello.exp
10784 * gdb.go/integers.exp
10785 * gdb.go/methods.exp
10786 * gdb.go/package.exp
10787 * gdb.guile/scm-parameter.exp
10788 * gdb.guile/scm-progspace.exp
10789 * gdb.guile/scm-value.exp
10790 * gdb.mi/mi-pending.exp
10791 * gdb.mi/user-selected-context-sync.exp
10792 * gdb.multi/multi-attach.exp
10793 * gdb.multi/tids.exp
10794 * gdb.opt/clobbered-registers-O2.exp
10795 * gdb.pascal/floats.exp
10796 * gdb.pascal/integers.exp
10797 * gdb.python/py-block.exp
10798 * gdb.python/py-events.exp
10799 * gdb.python/py-parameter.exp
10800 * gdb.python/py-symbol.exp
10801 * gdb.python/py-symtab.exp
10802 * gdb.python/py-type.exp
10803 * gdb.python/py-value.exp
10804 * gdb.python/py-xmethods.exp
10805 * gdb.python/python.exp
10806 * gdb.reverse/break-precsave.exp
10807 * gdb.reverse/consecutive-precsave.exp
10808 * gdb.reverse/finish-precsave.exp
10809 * gdb.reverse/i386-precsave.exp
10810 * gdb.reverse/machinestate-precsave.exp
10811 * gdb.reverse/sigall-precsave.exp
10812 * gdb.reverse/solib-precsave.exp
10813 * gdb.reverse/step-precsave.exp
10814 * gdb.reverse/until-precsave.exp
10815 * gdb.reverse/watch-precsave.exp
10816 * gdb.server/ext-attach.exp
10817 * gdb.server/ext-restart.exp
10818 * gdb.server/ext-run.exp
10819 * gdb.server/ext-wrapper.exp
10820 * gdb.stabs/gdb11479.exp
10821 * gdb.stabs/weird.exp
10822 * gdb.threads/attach-many-short-lived-threads.exp
10823 * gdb.threads/kill.exp
10824 * gdb.threads/watchpoint-fork.exp
10825
10826 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10827
10828 Fix test names starting with uppercase throughout all the files below.
10829
10830 * gdb.ada/array_return.exp
10831 * gdb.ada/catch_ex.exp
10832 * gdb.ada/info_exc.exp
10833 * gdb.ada/mi_catch_ex.exp
10834 * gdb.ada/mi_dyn_arr.exp
10835 * gdb.ada/mi_ex_cond.exp
10836 * gdb.ada/mi_exc_info.exp
10837 * gdb.ada/mi_interface.exp
10838 * gdb.ada/mi_task_arg.exp
10839 * gdb.ada/mi_task_info.exp
10840 * gdb.ada/mi_var_array.exp
10841 * gdb.arch/alpha-step.exp
10842 * gdb.arch/amd64-disp-step.exp
10843 * gdb.arch/arm-disp-step.exp
10844 * gdb.arch/disp-step-insn-reloc.exp
10845 * gdb.arch/e500-prologue.exp
10846 * gdb.arch/ftrace-insn-reloc.exp
10847 * gdb.arch/gdb1558.exp
10848 * gdb.arch/i386-bp_permanent.exp
10849 * gdb.arch/i386-disp-step.exp
10850 * gdb.arch/i386-float.exp
10851 * gdb.arch/i386-gnu-cfi.exp
10852 * gdb.arch/ia64-breakpoint-shadow.exp
10853 * gdb.arch/mips16-thunks.exp
10854 * gdb.arch/pa-nullify.exp
10855 * gdb.arch/powerpc-aix-prologue.exp
10856 * gdb.arch/powerpc-power.exp
10857 * gdb.arch/ppc-dfp.exp
10858 * gdb.arch/s390-tdbregs.exp
10859 * gdb.arch/spu-info.exp
10860 * gdb.arch/spu-ls.exp
10861 * gdb.arch/thumb-bx-pc.exp
10862 * gdb.base/advance.exp
10863 * gdb.base/annota-input-while-running.exp
10864 * gdb.base/arrayidx.exp
10865 * gdb.base/asmlabel.exp
10866 * gdb.base/async.exp
10867 * gdb.base/attach-wait-input.exp
10868 * gdb.base/auto-connect-native-target.exp
10869 * gdb.base/batch-preserve-term-settings.exp
10870 * gdb.base/bfp-test.exp
10871 * gdb.base/bigcore.exp
10872 * gdb.base/bp-permanent.exp
10873 * gdb.base/break-always.exp
10874 * gdb.base/break-fun-addr.exp
10875 * gdb.base/break-idempotent.exp
10876 * gdb.base/break-main-file-remove-fail.exp
10877 * gdb.base/break-probes.exp
10878 * gdb.base/break-unload-file.exp
10879 * gdb.base/break.exp
10880 * gdb.base/call-ar-st.exp
10881 * gdb.base/call-rt-st.exp
10882 * gdb.base/call-sc.exp
10883 * gdb.base/call-signal-resume.exp
10884 * gdb.base/call-strs.exp
10885 * gdb.base/callexit.exp
10886 * gdb.base/callfuncs.exp
10887 * gdb.base/catch-gdb-caused-signals.exp
10888 * gdb.base/catch-signal-siginfo-cond.exp
10889 * gdb.base/catch-syscall.exp
10890 * gdb.base/compare-sections.exp
10891 * gdb.base/cond-eval-mode.exp
10892 * gdb.base/condbreak-call-false.exp
10893 * gdb.base/consecutive-step-over.exp
10894 * gdb.base/cursal.exp
10895 * gdb.base/disabled-location.exp
10896 * gdb.base/disasm-end-cu.exp
10897 * gdb.base/display.exp
10898 * gdb.base/double-prompt-target-event-error.exp
10899 * gdb.base/dprintf-bp-same-addr.exp
10900 * gdb.base/dprintf-detach.exp
10901 * gdb.base/dprintf-next.exp
10902 * gdb.base/dprintf-non-stop.exp
10903 * gdb.base/dprintf-pending.exp
10904 * gdb.base/dso2dso.exp
10905 * gdb.base/ending-run.exp
10906 * gdb.base/enum_cond.exp
10907 * gdb.base/examine-backward.exp
10908 * gdb.base/exe-lock.exp
10909 * gdb.base/exec-invalid-sysroot.exp
10910 * gdb.base/execl-update-breakpoints.exp
10911 * gdb.base/execution-termios.exp
10912 * gdb.base/fileio.exp
10913 * gdb.base/fixsection.exp
10914 * gdb.base/foll-exec-mode.exp
10915 * gdb.base/foll-exec.exp
10916 * gdb.base/fork-running-state.exp
10917 * gdb.base/frame-args.exp
10918 * gdb.base/fullpath-expand.exp
10919 * gdb.base/func-ptr.exp
10920 * gdb.base/gcore-relro-pie.exp
10921 * gdb.base/gdb1090.exp
10922 * gdb.base/gdb1555.exp
10923 * gdb.base/global-var-nested-by-dso.exp
10924 * gdb.base/gnu-ifunc.exp
10925 * gdb.base/hbreak-in-shr-unsupported.exp
10926 * gdb.base/hbreak-unmapped.exp
10927 * gdb.base/hook-stop.exp
10928 * gdb.base/infcall-input.exp
10929 * gdb.base/info-fun.exp
10930 * gdb.base/info-shared.exp
10931 * gdb.base/interrupt-noterm.exp
10932 * gdb.base/jit-so.exp
10933 * gdb.base/jit.exp
10934 * gdb.base/line-symtabs.exp
10935 * gdb.base/list.exp
10936 * gdb.base/longjmp.exp
10937 * gdb.base/macscp.exp
10938 * gdb.base/max-value-size.exp
10939 * gdb.base/nodebug.exp
10940 * gdb.base/nofield.exp
10941 * gdb.base/overlays.exp
10942 * gdb.base/paginate-after-ctrl-c-running.exp
10943 * gdb.base/paginate-bg-execution.exp
10944 * gdb.base/paginate-inferior-exit.exp
10945 * gdb.base/pending.exp
10946 * gdb.base/pr11022.exp
10947 * gdb.base/printcmds.exp
10948 * gdb.base/ptr-typedef.exp
10949 * gdb.base/ptype.exp
10950 * gdb.base/randomize.exp
10951 * gdb.base/range-stepping.exp
10952 * gdb.base/realname-expand.exp
10953 * gdb.base/relativedebug.exp
10954 * gdb.base/remote.exp
10955 * gdb.base/savedregs.exp
10956 * gdb.base/sepdebug.exp
10957 * gdb.base/set-noassign.exp
10958 * gdb.base/shlib-call.exp
10959 * gdb.base/shreloc.exp
10960 * gdb.base/sigaltstack.exp
10961 * gdb.base/sigbpt.exp
10962 * gdb.base/siginfo-addr.exp
10963 * gdb.base/siginfo-obj.exp
10964 * gdb.base/siginfo-thread.exp
10965 * gdb.base/signest.exp
10966 * gdb.base/signull.exp
10967 * gdb.base/sigrepeat.exp
10968 * gdb.base/skip.exp
10969 * gdb.base/so-impl-ld.exp
10970 * gdb.base/solib-corrupted.exp
10971 * gdb.base/solib-disc.exp
10972 * gdb.base/solib-display.exp
10973 * gdb.base/solib-overlap.exp
10974 * gdb.base/solib-search.exp
10975 * gdb.base/solib-symbol.exp
10976 * gdb.base/source-execution.exp
10977 * gdb.base/sss-bp-on-user-bp-2.exp
10978 * gdb.base/sss-bp-on-user-bp.exp
10979 * gdb.base/stack-checking.exp
10980 * gdb.base/stale-infcall.exp
10981 * gdb.base/step-break.exp
10982 * gdb.base/step-line.exp
10983 * gdb.base/step-over-exit.exp
10984 * gdb.base/step-test.exp
10985 * gdb.base/structs.exp
10986 * gdb.base/sym-file.exp
10987 * gdb.base/symtab-search-order.exp
10988 * gdb.base/term.exp
10989 * gdb.base/type-opaque.exp
10990 * gdb.base/unload.exp
10991 * gdb.base/until-nodebug.exp
10992 * gdb.base/until.exp
10993 * gdb.base/unwindonsignal.exp
10994 * gdb.base/watch-cond.exp
10995 * gdb.base/watch-non-mem.exp
10996 * gdb.base/watch_thread_num.exp
10997 * gdb.base/watchpoint-reuse-slot.exp
10998 * gdb.base/watchpoint-solib.exp
10999 * gdb.base/watchpoint.exp
11000 * gdb.btrace/dlopen.exp
11001 * gdb.cell/arch.exp
11002 * gdb.cell/break.exp
11003 * gdb.cell/bt.exp
11004 * gdb.cell/core.exp
11005 * gdb.cell/data.exp
11006 * gdb.cell/dwarfaddr.exp
11007 * gdb.cell/ea-cache.exp
11008 * gdb.cell/ea-standalone.exp
11009 * gdb.cell/ea-test.exp
11010 * gdb.cell/f-regs.exp
11011 * gdb.cell/fork.exp
11012 * gdb.cell/gcore.exp
11013 * gdb.cell/mem-access.exp
11014 * gdb.cell/ptype.exp
11015 * gdb.cell/registers.exp
11016 * gdb.cell/sizeof.exp
11017 * gdb.cell/solib-symbol.exp
11018 * gdb.cell/solib.exp
11019 * gdb.compile/compile-tls.exp
11020 * gdb.cp/exception.exp
11021 * gdb.cp/gdb2495.exp
11022 * gdb.cp/local.exp
11023 * gdb.cp/mb-inline.exp
11024 * gdb.cp/mb-templates.exp
11025 * gdb.cp/pr10687.exp
11026 * gdb.cp/pr9167.exp
11027 * gdb.cp/scope-err.exp
11028 * gdb.cp/templates.exp
11029 * gdb.cp/virtfunc.exp
11030 * gdb.dwarf2/dw2-dir-file-name.exp
11031 * gdb.dwarf2/dw2-single-line-discriminators.exp
11032 * gdb.fortran/complex.exp
11033 * gdb.fortran/library-module.exp
11034 * gdb.guile/guile.exp
11035 * gdb.guile/scm-cmd.exp
11036 * gdb.guile/scm-frame-inline.exp
11037 * gdb.guile/scm-objfile.exp
11038 * gdb.guile/scm-pretty-print.exp
11039 * gdb.guile/scm-symbol.exp
11040 * gdb.guile/scm-type.exp
11041 * gdb.guile/scm-value.exp
11042 * gdb.linespec/keywords.exp
11043 * gdb.linespec/ls-errs.exp
11044 * gdb.linespec/macro-relative.exp
11045 * gdb.linespec/thread.exp
11046 * gdb.mi/mi-breakpoint-changed.exp
11047 * gdb.mi/mi-dprintf-pending.exp
11048 * gdb.mi/mi-fullname-deleted.exp
11049 * gdb.mi/mi-logging.exp
11050 * gdb.mi/mi-pending.exp
11051 * gdb.mi/mi-solib.exp
11052 * gdb.mi/new-ui-mi-sync.exp
11053 * gdb.mi/user-selected-context-sync.exp
11054 * gdb.multi/dummy-frame-restore.exp
11055 * gdb.multi/multi-arch-exec.exp
11056 * gdb.multi/remove-inferiors.exp
11057 * gdb.multi/watchpoint-multi-exit.exp
11058 * gdb.opt/solib-intra-step.exp
11059 * gdb.perf/backtrace.exp
11060 * gdb.perf/single-step.exp
11061 * gdb.perf/skip-command.exp
11062 * gdb.perf/skip-prologue.exp
11063 * gdb.perf/solib.exp
11064 * gdb.python/lib-types.exp
11065 * gdb.python/py-as-string.exp
11066 * gdb.python/py-bad-printers.exp
11067 * gdb.python/py-block.exp
11068 * gdb.python/py-breakpoint.exp
11069 * gdb.python/py-cmd.exp
11070 * gdb.python/py-events.exp
11071 * gdb.python/py-evthreads.exp
11072 * gdb.python/py-finish-breakpoint.exp
11073 * gdb.python/py-finish-breakpoint2.exp
11074 * gdb.python/py-frame-inline.exp
11075 * gdb.python/py-frame.exp
11076 * gdb.python/py-inferior.exp
11077 * gdb.python/py-infthread.exp
11078 * gdb.python/py-mi.exp
11079 * gdb.python/py-objfile.exp
11080 * gdb.python/py-pp-maint.exp
11081 * gdb.python/py-pp-registration.exp
11082 * gdb.python/py-prettyprint.exp
11083 * gdb.python/py-recurse-unwind.exp
11084 * gdb.python/py-shared.exp
11085 * gdb.python/py-symbol.exp
11086 * gdb.python/py-symtab.exp
11087 * gdb.python/py-template.exp
11088 * gdb.python/py-type.exp
11089 * gdb.python/py-unwind-maint.exp
11090 * gdb.python/py-unwind.exp
11091 * gdb.python/py-value.exp
11092 * gdb.python/python.exp
11093 * gdb.reverse/finish-reverse-bkpt.exp
11094 * gdb.reverse/insn-reverse.exp
11095 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11096 * gdb.reverse/solib-precsave.exp
11097 * gdb.reverse/solib-reverse.exp
11098 * gdb.stabs/gdb11479.exp
11099 * gdb.stabs/weird.exp
11100 * gdb.threads/fork-child-threads.exp
11101 * gdb.threads/fork-plus-threads.exp
11102 * gdb.threads/fork-thread-pending.exp
11103 * gdb.threads/forking-threads-plus-breakpoint.exp
11104 * gdb.threads/hand-call-in-threads.exp
11105 * gdb.threads/interrupted-hand-call.exp
11106 * gdb.threads/linux-dp.exp
11107 * gdb.threads/local-watch-wrong-thread.exp
11108 * gdb.threads/next-while-other-thread-longjmps.exp
11109 * gdb.threads/non-ldr-exit.exp
11110 * gdb.threads/pending-step.exp
11111 * gdb.threads/print-threads.exp
11112 * gdb.threads/process-dies-while-detaching.exp
11113 * gdb.threads/process-dies-while-handling-bp.exp
11114 * gdb.threads/pthreads.exp
11115 * gdb.threads/queue-signal.exp
11116 * gdb.threads/reconnect-signal.exp
11117 * gdb.threads/signal-command-handle-nopass.exp
11118 * gdb.threads/signal-command-multiple-signals-pending.exp
11119 * gdb.threads/signal-delivered-right-thread.exp
11120 * gdb.threads/signal-sigtrap.exp
11121 * gdb.threads/sigthread.exp
11122 * gdb.threads/staticthreads.exp
11123 * gdb.threads/stepi-random-signal.exp
11124 * gdb.threads/thread-unwindonsignal.exp
11125 * gdb.threads/thread_check.exp
11126 * gdb.threads/thread_events.exp
11127 * gdb.threads/tid-reuse.exp
11128 * gdb.threads/tls-nodebug.exp
11129 * gdb.threads/tls-shared.exp
11130 * gdb.threads/tls-so_extern.exp
11131 * gdb.threads/tls.exp
11132 * gdb.threads/wp-replication.exp
11133 * gdb.trace/actions-changed.exp
11134 * gdb.trace/actions.exp
11135 * gdb.trace/backtrace.exp
11136 * gdb.trace/change-loc.exp
11137 * gdb.trace/collection.exp
11138 * gdb.trace/deltrace.exp
11139 * gdb.trace/disconnected-tracing.exp
11140 * gdb.trace/entry-values.exp
11141 * gdb.trace/ftrace-lock.exp
11142 * gdb.trace/ftrace.exp
11143 * gdb.trace/infotrace.exp
11144 * gdb.trace/mi-trace-frame-collected.exp
11145 * gdb.trace/mi-trace-unavailable.exp
11146 * gdb.trace/mi-traceframe-changed.exp
11147 * gdb.trace/mi-tracepoint-changed.exp
11148 * gdb.trace/mi-tsv-changed.exp
11149 * gdb.trace/no-attach-trace.exp
11150 * gdb.trace/packetlen.exp
11151 * gdb.trace/passc-dyn.exp
11152 * gdb.trace/passcount.exp
11153 * gdb.trace/pending.exp
11154 * gdb.trace/pr16508.exp
11155 * gdb.trace/qtro.exp
11156 * gdb.trace/range-stepping.exp
11157 * gdb.trace/read-memory.exp
11158 * gdb.trace/report.exp
11159 * gdb.trace/save-trace.exp
11160 * gdb.trace/signal.exp
11161 * gdb.trace/stap-trace.exp
11162 * gdb.trace/status-stop.exp
11163 * gdb.trace/strace.exp
11164 * gdb.trace/tfile.exp
11165 * gdb.trace/tfind.exp
11166 * gdb.trace/trace-break.exp
11167 * gdb.trace/trace-condition.exp
11168 * gdb.trace/trace-enable-disable.exp
11169 * gdb.trace/trace-mt.exp
11170 * gdb.trace/tracecmd.exp
11171 * gdb.trace/tracefile-pseudo-reg.exp
11172 * gdb.trace/tspeed.exp
11173 * gdb.trace/tstatus.exp
11174 * gdb.trace/tsv.exp
11175 * gdb.trace/unavailable.exp
11176 * gdb.trace/while-dyn.exp
11177 * gdb.trace/while-stepping.exp
11178 * lib/gdb-guile.exp
11179 * lib/gdb.exp
11180 * lib/mi-support.exp
11181 * lib/pascal.exp
11182 * lib/perftest.exp
11183 * lib/prelink-support.exp
11184 * lib/selftest-support.exp
11185
11186 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11187
11188 * Makefile.in: Include disable-implicit-rules.mk.
11189
11190 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11191
11192 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11193 non-byte-aligned bit fields.
11194
11195 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11196
11197 PR gdb/12616
11198 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11199 respects the DW_AT_data_bit_offset attribute.
11200
11201 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11202
11203 * gdb.base/default.exp: Fix output of "set language".
11204
11205 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11206
11207 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11208 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11209 make.
11210 * configure.ac: Remove checks for the make program.
11211 * configure: Re-generate.
11212
11213 2016-11-16 Kevin Buettner <kevinb@redhat.com>
11214
11215 * gdb.python/py-recurse-unwind.c (main): Add loop.
11216 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11217 to read_register() and gdb.parse_and_eval(). Make each code
11218 call a separate case that can be individually tested.
11219 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11220 proc. Call cont_and_backtrace for each of the code paths that
11221 we want to test in the unwinder.
11222
11223 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11224
11225 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11226 the definition of struct S.
11227
11228 2016-11-11 Catherine Moore <clm@codesourcery.com>
11229
11230 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11231
11232 2016-11-09 Pedro Alves <palves@redhat.com>
11233
11234 * gdb.base/commands.exp (runto_or_return): New procedure.
11235 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11236 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11237 (progvar_simple_while_test, progvar_complex_if_while_test)
11238 (if_while_breakpoint_command_test)
11239 (infrun_breakpoint_command_test, breakpoint_command_test)
11240 (user_defined_command_test, watchpoint_command_test)
11241 (test_command_prompt_position, redefine_hook_test)
11242 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11243 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11244 multi_line_input and multi_line. Remove gdb_expect and
11245 gdb_stop_suppressing_tests uses.
11246 * lib/gdb.exp (valnum_re): New global.
11247 (multi_line_input): New procedure.
11248
11249 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11250
11251 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11252 Remove.
11253 (test_setup): Define with proc_with_prefix.
11254 (test_cli_inferior): Likewise.
11255 (test_cli_thread): Likewise.
11256 (test_cli_frame): Likewise.
11257 (test_cli_select_frame): Likewise.
11258 (test_cli_up_down): Likewise.
11259 (test_mi_thread_select): Likewise.
11260 (test_mi_stack_select_frame): Likewise.
11261 (test_cli_in_mi_inferior): Likewise.
11262 (test_cli_in_mi_thread): Likewise.
11263 (test_cli_in_mi_frame): Likewise.
11264 (top level): Do not use with_test_prefix_procname.
11265
11266 2016-11-09 Pedro Alves <palves@redhat.com>
11267
11268 * gdb.base/commands.exp (gdbvar_simple_if_test)
11269 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11270 (progvar_simple_if_test, progvar_simple_while_test)
11271 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11272 (infrun_breakpoint_command_test, breakpoint_command_test)
11273 (user_defined_command_test, watchpoint_command_test)
11274 (test_command_prompt_position, deprecated_command_test)
11275 (bp_deleted_in_command, temporary_breakpoint_commands)
11276 (stray_arg0_test, source_file_with_indented_comment)
11277 (recursive_source_test, if_commands_test)
11278 (error_clears_commands_left, redefine_hook_test)
11279 (redefine_backtrace_test): Use proc_with_prefix.
11280 * lib/gdb.exp (proc_with_prefix): New proc.
11281
11282 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11283
11284 * gdb.base/tui-layout.c: New file.
11285 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11286 disassembly window contains very long lines.
11287
11288 2016-11-08 Tom Tromey <tom@tromey.com>
11289
11290 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11291 depend on Python 2.
11292
11293 2016-11-08 Tom Tromey <tom@tromey.com>
11294
11295 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11296 New method.
11297
11298 2016-10-29 Manish Goregaokar <manish@mozilla.com>
11299
11300 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
11301
11302 2016-10-27 Manish Goregaokar <manish@mozilla.com>
11303
11304 * gdb.rust/simple.rs: Add test for univariant enums without
11305 discriminants and for encoded struct-like enums.
11306
11307 2016-10-28 Pedro Alves <palves@redhat.com>
11308
11309 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11310 gdb_test_multiple, tighten regexps and match symtabs and line
11311 tables incrementally.
11312
11313 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
11314
11315 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11316 general.
11317
11318 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
11319
11320 * gdb.base/exec-invalid-sysroot.exp: New file.
11321
11322 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11323
11324 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11325
11326 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11327
11328 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11329
11330 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11331
11332 * gdb.base/killed-outside.exp: Remove $options from a call to
11333 `prepare_for_testing'.
11334
11335 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11336
11337 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11338 Change test message.
11339
11340 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11341
11342 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11343 Update comment.
11344
11345 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11346
11347 * gdb.trace/mi-trace-save.exp: New file.
11348
11349 2016-10-13 Yao Qi <yao.qi@linaro.org>
11350
11351 * gdb.base/code_elim.exp (get_var_address): Remove.
11352 * gdb.base/relocate.exp: Likewise.
11353 * gdb.base/shreloc.exp: Likewise.
11354 * lib/gdb.exp (get_var_address): New.
11355
11356 2016-10-13 Yao Qi <yao.qi@linaro.org>
11357
11358 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11359 floating point tests if $skip_float_test is false.
11360
11361 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
11362
11363 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11364 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11365 argc values.
11366 Add 1 to argc so we guarantee distinct initial/modified argc values.
11367
11368 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11369
11370 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11371
11372 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11373
11374 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11375 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11376 * gdb.arch/vsx-regs.exp: Likewise.
11377
11378 2016-10-07 Yao Qi <yao.qi@linaro.org>
11379
11380 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11381
11382 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11383
11384 * gdb.python/python.exp: Test decode_line("*0").
11385
11386 2016-10-06 Doug Evans <dje@google.com>
11387
11388 * gdb.python/py-value.exp (test_value_creation): Add test for large
11389 unsigned 64-bit value.
11390
11391 2016-10-06 Tom Tromey <tom@tromey.com>
11392
11393 * gdb.compile/compile.exp: Change java tests to rust.
11394 * gdb.base/setshow.exp: Change java tests to rust.
11395 * gdb.base/default.exp: Remove java from language list.
11396 * README (Examples): Update language example.
11397 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11398 test.
11399 * lib/gdb.exp (skip_java_tests): Remove.
11400 * lib/java.exp: Remove.
11401 * gdb.java: Remove.
11402
11403 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11404
11405 * gdb.arch/mips-fcr.exp: New test.
11406 * gdb.arch/mips-fcr.c: Source for the new test.
11407
11408 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11409
11410 * gdb.base/solib-disc.exp: Use `standard_output_file'
11411 throughout.
11412
11413 2016-10-06 Pedro Alves <palves@redhat.com>
11414
11415 * gdb.base/jit-simple-dl.c: New file.
11416 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11417 * gdb.base/jit-simple.c: ... this.
11418 * gdb.base/jit-simple.exp (jit_run): Delete.
11419 (build_jit): New proc.
11420 (jit_test_reread): Recompile either the main program or the shared
11421 library, depending on what is being tested. Skip changing address
11422 if caller wants to. Compare before/after addresses. If testing
11423 standalone, explicitly load the binary. Test "maint info
11424 breakpoints".
11425 (top level): Add "standalone vs shared lib" and "change address"
11426 vs "same address" axes.
11427
11428 2016-10-06 Pedro Alves <palves@redhat.com>
11429
11430 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11431 call.
11432 (jit_run): Delete.
11433 (jit_test_reread): Use with_test_prefix. Reload the main binary
11434 explicitly. Compare the before/after addresses of the JIT
11435 descriptor.
11436
11437 2016-08-15 Doug Evans <dje@google.com>
11438
11439 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11440 for single bitfields is bool.
11441 * gdb.xml/tdesc-regs.exp: Ditto.
11442
11443 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11444
11445 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11446
11447 2016-10-05 Yao Qi <yao.qi@linaro.org>
11448
11449 * lib/gdb.exp (support_complex_tests): Return zero if
11450 gdb_skip_float_test return true.
11451
11452 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11453 Simon Marchi <simon.marchi@ericsson.com>
11454
11455 PR gdb/20487
11456 * gdb.mi/user-selected-context-sync.exp: New file.
11457 * gdb.mi/user-selected-context-sync.c: New file.
11458
11459 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11460 Simon Marchi <simon.marchi@ericsson.com>
11461
11462 PR gdb/20487
11463 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11464 =thread-select-event check.
11465
11466 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11467
11468 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11469 the compulsory L operand changes.
11470 * gdb.arch/powerpc-power.s: Likewise.
11471
11472 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11473
11474 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11475 * gdb.base/jit-attach-pie.c: New file.
11476 * gdb.base/jit-attach-pie.exp: New file.
11477
11478 2016-09-28 Pedro Alves <palves@redhat.com>
11479
11480 * gdb.base/infcall-input.c: New file.
11481 * gdb.base/infcall-input.exp: New file.
11482
11483 2016-09-22 Yao Qi <yao.qi@linaro.org>
11484
11485 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11486 (gdb_exit): Rename it to ...
11487 (gdbserver_gdb_exit): ... Close GDBserver.
11488 (gdb_exit): New proc, call gdbserver_gdb_exit.
11489 (mi_gdb_exit): Likewise.
11490
11491 2016-09-22 Yao Qi <yao.qi@linaro.org>
11492
11493 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11494 path.
11495 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11496 Remove duplication.
11497
11498 2016-09-22 Yao Qi <yao.qi@linaro.org>
11499
11500 * lib/gdbserver-support.exp: Check the existence of
11501 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11502
11503 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11504
11505 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11506
11507 2016-09-21 Tom Tromey <tom@tromey.com>
11508
11509 PR gdb/20604:
11510 * gdb.base/quit.exp: New file.
11511
11512 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11513
11514 * .gitignore: New file.
11515
11516 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11517
11518 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11519 throughout.
11520
11521 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11522
11523 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11524
11525 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11526
11527 * gdb.cp/casts.cc (decltype): Move it ...
11528 (main): ... with its call to ...
11529 * gdb.cp/casts03.cc: ... a new file.
11530 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11531
11532 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11533
11534 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11535
11536 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11537
11538 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11539 and sync up the test with tests in gas/testsuite/gas/ppc.
11540 * gdb.arch/powerpc-power.exp: Likewise.
11541
11542 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11543
11544 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11545
11546 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11547 Jan Kratochvil <jan.kratochvil@redhat.com>
11548
11549 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11550 make m1's definition to be different from m2's. Use 'dummy' as an
11551 argument for probe 'two'.
11552
11553 2016-09-10 Jon Beniston <jon@beniston.com>
11554
11555 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11556 for sim target.
11557
11558 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11559
11560 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11561 variable declaration.
11562 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11563 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11564 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11565 received HWCAP as its argument.
11566
11567 2016-09-06 Pedro Alves <palves@redhat.com>
11568
11569 * gdb.base/new-ui-pending-input.c: New file.
11570 * gdb.base/new-ui-pending-input.exp: New file.
11571 * gdb.exp (clear_gdb_spawn_id): New procedure.
11572 (with_spawn_id): Check whether gdb_spawn_id exists before
11573 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11574 on exit.
11575
11576 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11577
11578 * gdb.base/float128.c: New file.
11579 * gdb.base/float128.exp: Likewise.
11580 * gdb.base/floatn.c: Likewise.
11581 * gdb.base/floatn.exp: Likewise.
11582
11583 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11584
11585 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11586
11587 2016-09-05 Pedro Alves <palves@redhat.com>
11588
11589 PR backtrace/19927
11590 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11591 unwinders are immediately called as side effect of "source" or
11592 "disable unwinder" commands.
11593 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11594
11595 2016-09-02 Yao Qi <yao.qi@linaro.org>
11596
11597 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11598 is true and $type is "float" or "double".
11599
11600 2016-09-02 Yao Qi <yao.qi@linaro.org>
11601
11602 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11603 true.
11604 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11605 * gdb.base/call-rt-st.exp: Likewise.
11606 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11607 return value instead of gdb,skip_float_test.
11608 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11609 (do_function_calls): Use its return value instead of
11610 gdb,skip_float_test.
11611 * gdb.base/finish.exp: Likewise.
11612 * gdb.base/funcargs.exp: Likewise.
11613 * gdb.base/return.exp: Likewise.
11614 * gdb.base/return2.exp: Likewise.
11615 * gdb.base/varargs.exp: Likewise.
11616 * lib/gdb.exp (gdb_skip_float_test): Change it to
11617 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11618
11619 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11620
11621 * gdb.multi/tids.exp: Test "thread apply all".
11622
11623 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11624
11625 * gdb.base/default.exp (tty): Remove.
11626
11627 2016-08-24 Kevin Buettner <kevinb@redhat.com>
11628
11629 * gdb.python/py-recurse-unwind.c: New file.
11630 * gdb.python/py-recurse-unwind.py: New file.
11631 * gdb.python/py-recurse-unwind.exp: New file.
11632
11633 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11634
11635 * gdb.base/set-inferior-tty.exp: New file.
11636 * gdb.base/set-inferior-tty.c: New file.
11637
11638 2016-08-23 Pedro Alves <palves@redhat.com>
11639
11640 PR gdb/20494
11641 * gdb.base/new-ui-echo.c: New file.
11642 * gdb.base/new-ui-echo.exp: New file.
11643
11644 2016-08-23 Yao Qi <yao.qi@linaro.org>
11645
11646 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11647 gdbserver_spawn.
11648 * gdb.server/connect-without-multi-process.exp (do_test):
11649 Likewise.
11650
11651 2016-08-23 Yao Qi <yao.qi@linaro.org>
11652
11653 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11654 standalone_txt. Delete gdb_txt and standalone_txt on host
11655 and target. Spawn the binary on target. Copy files from
11656 target to host.
11657
11658 2016-08-22 Pedro Alves <palves@redhat.com>
11659
11660 PR gdb/20505
11661 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11662 with_test_prefix. Factor out bits to ...
11663 (test_no_vdso): ... this new procedure.
11664
11665 2016-08-19 Carl Love <cel@us.ibm.com>
11666
11667 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11668 maintaining separate logic for constructing the output path.
11669 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11670 * gdb.arch/ppc-dfp.exp: Likewise.
11671 * gdb.arch/ppc-fp.exp: Likewise.
11672 * gdb.arch/vsx-regs.exp: Likewise.
11673 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11674 binprefix for generating the additional binary files.
11675
11676 2016-08-19 Pedro Alves <palves@redhat.com>
11677
11678 * gdb.trace/mi-trace-frame-collected.exp
11679 (test_trace_frame_collected): On x32, expect two registers.
11680
11681 2016-08-18 Carl Love <cel@us.ibm.com>
11682
11683 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11684 and sync up the test with tests in gas/testsuite/gas/ppc.
11685 * gdb.arch/powerpc-power.exp: Likewise.
11686
11687 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11688
11689 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11690 expected error message.
11691
11692 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11693
11694 * gdb.multi/remove-inferiors.exp: New file.
11695 * gdb.multi/remove-inferiors.c: New file.
11696
11697 2016-08-12 Yao Qi <yao.qi@linaro.org>
11698
11699 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11700 argument list.
11701
11702 2016-08-10 Pedro Alves <palves@redhat.com>
11703
11704 PR gdb/19187
11705 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11706 setup_kfails.
11707
11708 2016-08-09 Pedro Alves <palves@redhat.com>
11709 Simon Marchi <simon.marchi@ericsson.com>
11710
11711 PR gdb/20418
11712 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11713 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11714
11715 2016-08-09 Pedro Alves <palves@redhat.com>
11716
11717 PR mi/20431
11718 * gdb.mi/mi-cmd-error.exp: New file.
11719
11720 2016-08-09 Pedro Alves <palves@redhat.com>
11721
11722 PR gdb/18653
11723 * gdb.base/signals-state-child.c: New file.
11724 * gdb.base/signals-state-child.exp: New file.
11725 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11726
11727 2016-08-09 Pedro Alves <palves@redhat.com>
11728
11729 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11730
11731 2016-08-03 Tom Tromey <tom@tromey.com>
11732
11733 PR python/18565:
11734 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11735
11736 2016-08-01 Yao Qi <yao.qi@linaro.org>
11737
11738 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11739 variable mode to "multi-process" if $multi_process is 1, otherwise
11740 set it to "single-process".
11741
11742 2016-08-01 Yao Qi <yao.qi@linaro.org>
11743
11744 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11745 * gdb.cp/cpexprs.exp: Likewise.
11746 * gdb.cp/m-static.exp: Likewise.
11747
11748 2016-07-26 Tom Tromey <tom@tromey.com>
11749
11750 PR python/20190:
11751 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11752 test.
11753
11754 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11755
11756 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11757 selecting assembly source files.
11758 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11759 assembly source files.
11760 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11761 assembly source files.
11762 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11763 selecting assembly source files.
11764
11765 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11766
11767 * gdb.base/new-ui.exp (do_test_invalid_args): New
11768 procedure.
11769
11770 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11771
11772 * gdb.btrace/reconnect.c: New file.
11773 * gdb.btrace/reconnect.exp: New file.
11774
11775 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11776
11777 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11778 to test_catch_syscall_group.
11779 (test_catch_syscall_group): New.
11780
11781 2016-07-21 Tom Tromey <tom@tromey.com>
11782
11783 * gdb.rust/simple.rs (main): Use empty struct expression.
11784 * gdb.rust/simple.exp: Add tests for empty struct expression.
11785
11786 2016-07-21 Yao Qi <yao.qi@linaro.org>
11787
11788 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11789 if gdb_skip_xml_test is true on some targets.
11790
11791 2016-07-21 Yao Qi <yao.qi@linaro.org>
11792
11793 * gdb.server/solib-list.exp: Unset last_loaded_file.
11794
11795 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11796
11797 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11798 "step into captured_main (args)".
11799
11800 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11801
11802 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11803
11804 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11805
11806 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11807
11808 2016-07-19 Pedro Alves <palves@redhat.com>
11809
11810 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11811 * gdb.opt/inline-bt.exp: Likewise.
11812 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11813 additional_flags=-Winline.
11814 * gdb.opt/inline-locals.exp: Likewise.
11815 * gdb.opt/inline-markers.c (ATTR): Define.
11816 (inlined_fn): Use it.
11817
11818 2016-07-19 Yao Qi <yao.qi@linaro.org>
11819
11820 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11821 (test_with_self): Remove some code. Remove argument executable.
11822 (top-level): Use do_self_tests.
11823
11824 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
11825 Don Breazeal <donb@codesourcery.com>
11826
11827 * gdb.base/maint.exp: Escape paths used in regular expressions.
11828 * gdb.stabs/weird.exp: Likewise.
11829
11830 2016-07-13 Tom Tromey <tom@tromey.com>
11831
11832 PR python/15620, PR python/18620:
11833 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11834 (test_bkpt_events): New procs.
11835
11836 2016-07-13 Tom Tromey <tom@tromey.com>
11837
11838 PR python/17698:
11839 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11840 test.
11841 (test_watchpoints): Likewise.
11842 (test_bkpt_pending): New proc.
11843
11844 2016-07-13 Tom Tromey <tom@tromey.com>
11845
11846 PR cli/18053:
11847 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11848 completion test.
11849
11850 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11851
11852 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11853 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11854 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11855 f_label.
11856 (g): Rename g_end_lbl to g_label.
11857 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11858 low_pc and high_pc.
11859 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11860
11861 2016-07-12 Tom Tromey <tom@tromey.com>
11862
11863 PR python/19293:
11864 * gdb.python/py-unwind-maint.exp: Update tests.
11865
11866 2016-07-12 Yao Qi <yao.qi@linaro.org>
11867
11868 * lib/selftest-support.exp (selftest_setup): Match the output
11869 when captured_main is inlined.
11870
11871 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11872
11873 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11874 New variables.
11875 (print this%a, print this%b, print this): New tests.
11876 * gdb.fortran/derived-types.f90 (this): New object and
11877 initialization.
11878
11879 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11880
11881 * gdb.ada/arraydim.exp: Remove extra directory level in build
11882 directory.
11883
11884 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11885
11886 * lib/ada.exp: Remove extra directory level in build directory.
11887 * gdb.ada/cond_lang.exp: Likewise.
11888 * gdb.ada/exec_changed.exp: Likewise.
11889 * gdb.ada/lang_switch.exp: Likewise.
11890
11891 2016-07-06 Manish Goregaokar <manish@mozilla.com>
11892
11893 * simple.rs: Add test for raw pointer subscripting.
11894 * simple.exp: Add test expectations.
11895
11896 2016-07-05 Yao Qi <yao.qi@linaro.org>
11897
11898 * gdb.mi/mi-reverse.exp: Match =record-started output.
11899
11900 2016-07-01 Pedro Alves <palves@redhat.com>
11901
11902 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11903 procedure.
11904 (jit_reader_test): Test the jit reader's unwinder.
11905 * gdb.base/jithost.c (jit_function_00_code): New global.
11906 (main): Use memcpy to fill in the mmapped code, instead of poking
11907 bytes manually here.
11908 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11909 value.
11910 (read_debug_info): Save the function's range.
11911 (read_sp): New function.
11912 (unwind_frame): Use it. Also unwind RBP.
11913 (get_frame_id): Use read_sp.
11914 (gdb_init_reader): Use calloc instead of malloc.
11915 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11916 parameter. Use gdb_test_multiple.
11917
11918 2016-07-01 Pedro Alves <palves@redhat.com>
11919 Antoine Tremblay <antoine.tremblay@ericsson.com>
11920
11921 * gdb.threads/process-dies-while-detaching.c: New file.
11922 * gdb.threads/process-dies-while-detaching.exp: New file.
11923
11924 2016-07-01 Pedro Alves <palves@redhat.com>
11925
11926 * gdb.multi/watchpoint-multi-exit.c: New file.
11927 * gdb.multi/watchpoint-multi-exit.exp: New file.
11928
11929 2016-06-30 Pedro Alves <palves@redhat.com>
11930
11931 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11932 unset inferior_spawn_id.
11933
11934 2016-06-30 Pedro Alves <palves@redhat.com>
11935
11936 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11937 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11938
11939 2016-06-29 Yao Qi <yao.qi@linaro.org>
11940
11941 * gdb.base/return.c: Add copyright header.
11942
11943 2016-06-29 Tom Tromey <tom@tromey.com>
11944
11945 PR python/20129:
11946 * gdb.python/py-framefilter.exp: Add tests for setting priority
11947 and disabling of non-existent frame filter.
11948
11949 2016-06-29 Yao Qi <yao.qi@linaro.org>
11950
11951 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11952 0x0f07ff.
11953
11954 2016-06-28 Yao Qi <yao.qi@linaro.org>
11955
11956 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11957 triplets. Start gdb, execute catch syscall, and continue. Check
11958 gdb's output to determine catch syscall is supported.
11959
11960 2016-06-27 Manish Goregaokar <manish@mozilla.com>
11961
11962 * gdb.rust/simple.rs: Add test for returning unit in a function.
11963 * gdb.rust/simple.exp: Add expectation for functions returning
11964 unit.
11965
11966 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11967
11968 * gdb.python/py-breakpoint-create-fail.c,
11969 gdb.python/py-breakpoint-create-fail.exp,
11970 gdb.python/py-breakpoint-create-fail.py: New testcase.
11971
11972 2016-06-25 Manish Goregaokar <manish@mozilla.com>
11973
11974 PR gdb/20239
11975 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
11976 * gdb.rust/simple.exp: Add test expectations for new NonZero
11977 tests.
11978
11979 2016-06-24 David Taylor <dtaylor@emc.com>
11980
11981 * gdb.base/offsets.exp: New file.
11982 * gdb.base/offsets.c: New file.
11983
11984 2016-06-23 Tom Tromey <tom@tromey.com>
11985
11986 PR gdb/16483:
11987 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11988 before any filters are loaded.
11989
11990 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11991
11992 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11993 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11994 structs.
11995 * gdb.fortran/derived-type-function.exp: New file.
11996 * gdb.fortran/derived-type-function.f90: New file.
11997
11998
11999 2016-06-21 Pedro Alves <palves@redhat.com>
12000
12001 * gdb.base/new-ui.exp: New file.
12002 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12003 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12004 (with_spawn_id): New procedure.
12005
12006 2016-06-21 Pedro Alves <palves@redhat.com>
12007
12008 * gdb.mi/mi-exec-run.exp: New file.
12009
12010 2016-06-21 Pedro Alves <palves@redhat.com>
12011
12012 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12013 breakpoint command's output on the main UI.
12014 (test_break): New procedure, factored out from calls in the top
12015 level.
12016 (top level): Use foreach_with_prefix to test MI as main UI and as
12017 separate UI.
12018
12019 2016-06-21 Pedro Alves <palves@redhat.com>
12020
12021 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12022 (test_awatch_creation_and_listing)
12023 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12024 Remove 'type' parameter.
12025 (test_watchpoint_all): New parameter mi_mode. Remove
12026 with_test_prefix.
12027 (top level): Use foreach_with_prefix, and add main/separate UI MI
12028 testing axis.
12029
12030 2016-06-21 Pedro Alves <palves@redhat.com>
12031
12032 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12033 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12034 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12035 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12036 (gdb_main_spawn_id, mi_spawn_id): Declare and
12037 comment.
12038 (mi_create_inferior_pty): New procedure,
12039 factored out from default_mi_gdb_start.
12040 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12041 procedures.
12042 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12043 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12044 Use mi_create_inferior_pty.
12045 (mi_gdb_start): Use eval to pass down args list.
12046
12047 2016-06-21 Pedro Alves <palves@redhat.com>
12048
12049 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12050 * gdb.opt/inline-cmds.exp: Add MI tests.
12051
12052 2016-06-21 Pedro Alves <palves@redhat.com>
12053
12054 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12055
12056 2016-06-21 Pedro Alves <palves@redhat.com>
12057
12058 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12059 (top level): Use it instead of mi_execute_to.
12060
12061 2016-06-21 Pedro Alves <palves@redhat.com>
12062
12063 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12064 (cont_handler_str): New.
12065 (signal_stop_handler): Set stop_handler_str instead of printing to
12066 stdout.
12067 (continue_handler): Set cont_handler_str instead of printing to
12068 stdout.
12069 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12070 mi_send_resuming_command. Print stop_handler_str and
12071 cont_handler_str instead of expecting the python events print
12072 directly.
12073
12074 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12075
12076 * gdb.base/jit-reader.exp: New file.
12077 * gdb.base/jithost.c: New file.
12078 * gdb.base/jithost.h: New file.
12079 * gdb.base/jitreader.c : New file.
12080 * gdb.base/jit-protocol.h: New file.
12081
12082 2016-06-17 Yao Qi <yao.qi@linaro.org>
12083
12084 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12085 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12086 and detach-on-fork. Adjust tests.
12087 (top level): Invoke break_cond_on_syscall with combinations of
12088 syscall, follow-fork-mode and detach-on-fork.
12089
12090 2016-06-17 Yao Qi <yao.qi@linaro.org>
12091
12092 * gdb.base/step-over-exit.c: New.
12093 * gdb.base/step-over-exit.exp: New.
12094
12095 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12096
12097 * gdb.base/float.exp: Add target check for nds32*-*-*.
12098 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12099
12100 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12101
12102 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12103 for unsupported target features.
12104 * gdb.base/call-rt-st.exp: Likewise.
12105 * gdb.base/call-sc.exp: Likewise.
12106 * gdb.base/call-signal-resume.exp: Likewise.
12107 * gdb.base/call-strs.exp: Likewise.
12108 * gdb.base/callexit.exp: Likewise.
12109 * gdb.base/callfuncs.exp: Likewise.
12110 * gdb.base/nodebug.exp: Likewise.
12111 * gdb.base/printcmds.exp: Likewise.
12112 * gdb.base/ptype.exp: Likewise.
12113 * gdb.base/structs.exp: Likewise.
12114 * gdb.base/unwindonsignal.exp: Likewise.
12115 * gdb.cp/gdb2495.exp: Likewise.
12116 * gdb.cp/templates.exp: Likewise.
12117 * gdb.cp/virtfunc.exp: Likewise.
12118 * gdb.threads/hand-call-in-threads.exp: Likewise.
12119 * gdb.threads/interrupted-hand-call.exp: Likewise.
12120 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12121
12122 2016-06-10 Tom Tromey <tom@tromey.com>
12123
12124 PR rust/20110:
12125 * gdb.rust/expr.exp: Add test for integer constant larger than
12126 i32.
12127
12128 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12129
12130 * gdb.fortran/nested-funcs.exp: New.
12131 * gdb.fortran/nested-funcs.f90: New.
12132
12133 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12134
12135 * gdb.base/examine-backward.c: New file.
12136 * gdb.base/examine-backward.exp: New file.
12137
12138 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12139
12140 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12141 matching.
12142
12143 2016-06-02 Tom Tromey <tom@tromey.com>
12144
12145 PR python/18984:
12146 * gdb.python/py-shared.exp: Add solib_name test.
12147
12148 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12149
12150 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12151
12152 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12153
12154 PR c++/19893
12155 * gdb.dwarf2/implref.exp: Rename to...
12156 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12157 * gdb.dwarf2/implref-array.c: New file.
12158 * gdb.dwarf2/implref-array.exp: Likewise.
12159 * gdb.dwarf2/implref-global.c: Likewise.
12160 * gdb.dwarf2/implref-global.exp: Likewise.
12161 * gdb.dwarf2/implref-struct.c: Likewise.
12162 * gdb.dwarf2/implref-struct.exp: Likewise.
12163
12164 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12165
12166 * gdb.trace/trace-condition.exp: Add 64bit tests.
12167
12168 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12169
12170 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12171 bits types.
12172 (main): Adapt to 8 to 64 bits types.
12173 * gdb.trace/trace-condition.exp: Add new tests.
12174
12175 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12176
12177 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12178
12179 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12180
12181 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12182 Move condition tests...
12183 * gdb.trace/trace-condition.exp: Here.
12184
12185 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12186
12187 * gdb.trace/trace-condition.exp: Add counter-case tests.
12188
12189 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12190
12191 PR c++/15231
12192 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12193 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12194
12195 2016-05-27 Pedro Alves <palves@redhat.com>
12196
12197 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12198 New procedure.
12199 (top level): Call it, and bail out of DejaGnu is known to be bad.
12200
12201 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12202
12203 * gdb.base/whatis.c: Extend the test case.
12204 * gdb.base/whatis.exp: Add additional tests.
12205
12206 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12207
12208 * gdb.fortran/type.f90: Add pointer variable.
12209 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12210
12211 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12212
12213 * gdb.fortran/vla-type.exp: Fix testcase name.
12214
12215 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12216
12217 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12218
12219 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12220
12221 * gdb.fortran/type.f90: Add nested structures.
12222 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12223 * gdb.fortran/derived-type.exp: Adapt expected output.
12224 * gdb.fortran/vla-type.exp: Adapt expected output.
12225
12226 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12227
12228 * gdb.fortran/whatis_type.exp: Adapt expected output.
12229
12230 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12231
12232 * gdb.fortran/print_type.exp: Fix expected output.
12233 * gdb.fortran/whatis_type.exp: Fix expected output.
12234
12235 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12236
12237 * gdb.fortran/whatis_type.exp: Use multi_line.
12238
12239 2016-05-24 Tom Tromey <tom@tromey.com>
12240
12241 PR python/17386:
12242 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12243 use value as an index.
12244
12245 2016-05-23 Tom Tromey <tom@tromey.com>
12246
12247 PR python/17981:
12248 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12249 no-breakpoint case.
12250
12251 2016-05-24 Pedro Alves <palves@redhat.com>
12252
12253 PR gdb/19828
12254 * gdb.threads/clone-attach-detach.c: New file.
12255 * gdb.threads/clone-attach-detach.exp: New file.
12256
12257 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12258
12259 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12260
12261 2016-05-23 Tom Tromey <tom@tromey.com>
12262
12263 PR python/19438, PR python/18393:
12264 * gdb.python/py-progspace.exp: Add "dir" test.
12265 * gdb.python/py-objfile.exp: Add "dir" test.
12266
12267 2016-05-23 Yao Qi <yao.qi@linaro.org>
12268
12269 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12270 * gdb.arch/thumb2-it.exp: Likewise.
12271
12272 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12273
12274 * gdb.mi/mi-threads-interrupt.c: New file.
12275 * gdb.mi/mi-threads-interrupt.exp: New file.
12276
12277 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12278
12279 PR gdb/18077
12280 * gdb.mi/mi-async-run.exp: New file.
12281 * gdb.mi/mi-async-run.c: New file.
12282
12283 2016-05-17 Tom Tromey <tom@tromey.com>
12284 Manish Goregaokar <manishsmail@gmail.com>
12285
12286 * lib/rust-support.exp: New file.
12287 * lib/gdb.exp (skip_rust_tests): New proc.
12288 (build_executable_from_specs): Handle rust.
12289 * lib/future.exp (gdb_find_rustc): New proc.
12290 (gdb_default_target_compile): Handle rust.
12291 * gdb.rust/expr.exp: New file.
12292 * gdb.rust/generics.exp: New file.
12293 * gdb.rust/generics.rs: New file.
12294 * gdb.rust/methods.exp: New file.
12295 * gdb.rust/methods.rs: New file.
12296 * gdb.rust/modules.exp: New file.
12297 * gdb.rust/modules.rs: New file.
12298 * gdb.rust/simple.exp: New file.
12299 * gdb.rust/simple.rs: New file.
12300
12301 2016-05-17 Tom Tromey <tom@tromey.com>
12302
12303 * gdb.base/default.exp (set language): Add rust.
12304
12305 2016-05-17 Tom Tromey <tom@tromey.com>
12306
12307 * gdb.gdb/unittest.exp: New file.
12308
12309 2016-05-16 Yao Qi <yao.qi@linaro.org>
12310
12311 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12312 shell_prompt. Update shell_prompt_re.
12313
12314 2016-05-12 Doug Evans <dje@google.com>
12315
12316 PR symtab/19999
12317 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12318 $options when building executable.
12319 * gdb.dwarf2/fission-loclists-pie.S: New file.
12320 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12321
12322 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12323
12324 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12325 of [is_remote target],
12326
12327 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12328
12329 * lib/gdb.exp (use_gdb_stub): New procedure.
12330
12331 2016-05-03 Yunlian Jiang <yunlian@google.com>
12332 Doug Evans <dje@google.com>
12333
12334 PR symtab/19914
12335 * gdb.dwarf2/dwp-sepdebug.c: New file.
12336 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12337
12338 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12339
12340 * gdb.base/detach.exp: Remove is_remote check.
12341
12342 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12343
12344 * gdb.base/annota-input-while-running.exp: Don't check for
12345 [is_remote target]. Enable annotations after running to main.
12346 Remove unused "set test..." line.
12347
12348 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12349
12350 * gdb.trace/trace-enable-disable.exp: New file.
12351 * gdb.trace/trace-enable-disable.c: New file.
12352
12353 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12354
12355 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12356 use it in info sharedlibrary test.
12357 * gdb.trace/ftrace-lock.exp: Likewise.
12358 * gdb.trace/ftrace.exp: Likewise.
12359 * gdb.trace/range-stepping.exp: Likewise.
12360 * gdb.trace/trace-break.exp: Likewise.
12361 * gdb.trace/trace-condition.exp: Likewise.
12362 * gdb.trace/trace-mt.exp: Likewise.
12363
12364 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12365
12366 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12367 (gdb_load_shlib): ... this.
12368 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12369 gdb_load_shlib.
12370 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12371 * gdb.base/ctxobj.exp: Likewise.
12372 * gdb.base/dprintf-pending.exp: Likewise.
12373 * gdb.base/dso2dso.exp: Likewise.
12374 * gdb.base/fixsection.exp: Likewise.
12375 * gdb.base/gcore-relro.exp: Likewise.
12376 * gdb.base/gdb1555.exp: Likewise.
12377 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12378 * gdb.base/gnu-ifunc.exp: Likewise.
12379 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12380 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12381 * gdb.base/pending.exp: Likewise.
12382 * gdb.base/print-file-var.exp: Likewise.
12383 * gdb.base/print-symbol-loading.exp: Likewise.
12384 * gdb.base/shlib-call.exp: Likewise.
12385 * gdb.base/shreloc.exp: Likewise.
12386 * gdb.base/so-impl-ld.exp: Likewise.
12387 * gdb.base/solib-disc.exp: Likewise.
12388 * gdb.base/solib-nodir.exp: Likewise.
12389 * gdb.base/solib-overlap.exp: Likewise.
12390 * gdb.base/solib-symbol.exp: Likewise.
12391 * gdb.base/solib-weak.exp (do_test): Likewise.
12392 * gdb.base/sym-file.exp: Likewise.
12393 * gdb.base/symtab-search-order.exp: Likewise.
12394 * gdb.base/type-opaque.exp: Likewise.
12395 * gdb.base/unload.exp: Likewise.
12396 * gdb.base/watchpoint-solib.exp: Likewise.
12397 * gdb.compile/compile.exp: Likewise.
12398 * gdb.cp/gdb2384.exp: Likewise.
12399 * gdb.cp/infcall-dlopen.exp: Likewise.
12400 * gdb.cp/re-set-overloaded.exp: Likewise.
12401 * gdb.fortran/library-module.exp: Likewise.
12402 * gdb.opt/solib-intra-step.exp: Likewise.
12403 * gdb.python/py-finish-breakpoint.exp: Likewise.
12404 * gdb.python/py-shared.exp: Likewise.
12405 * gdb.reverse/solib-precsave.exp: Likewise.
12406 * gdb.reverse/solib-reverse.exp: Likewise.
12407 * gdb.server/solib-list.exp: Likewise.
12408 * gdb.threads/dlopen-libpthread.exp: Likewise.
12409 * gdb.threads/tls-shared.exp: Likewise.
12410 * gdb.threads/tls-so_extern.exp: Likewise.
12411 * gdb.trace/change-loc.exp: Likewise.
12412 * gdb.trace/ftrace-lock.exp: Likewise.
12413 * gdb.trace/ftrace.exp: Likewise.
12414 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12415 * gdb.trace/pending.exp: Likewise.
12416 * gdb.trace/range-stepping.exp: Likewise.
12417 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12418 (strace_info_marker): Likewise.
12419 (strace_probe_marker): Likewise.
12420 (strace_trace_on_same_addr): Likewise.
12421 (strace_trace_on_diff_addr): Likewise.
12422 * gdb.trace/trace-break.exp: Likewise.
12423 * gdb.trace/trace-condition.exp: Likewise.
12424 * gdb.trace/trace-mt.exp: Likewise.
12425
12426 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12427
12428 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12429 result of gdb_remote_download.
12430 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12431 * gdb.base/dso2dso.exp: Likewise.
12432 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12433 * gdb.base/print-file-var.exp: Likewise.
12434 * gdb.base/shlib-call.exp: Likewise.
12435 * gdb.base/shreloc.exp: Likewise.
12436 * gdb.base/solib-overlap.exp: Likewise.
12437 * gdb.base/solib-weak.exp (do_test): Likewise.
12438 * gdb.base/unload.exp: Likewise.
12439
12440 2016-04-27 Yao Qi <yao.qi@linaro.org>
12441
12442 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12443 exists.
12444
12445 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12446
12447 * vla-type.exp: Print structure from toplevel.
12448
12449 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12450
12451 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12452 of dynamic types.
12453 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12454 of dynamic types.
12455
12456 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12457
12458 * gdb.fortran/vla-type.f90: New file.
12459 * gdb.fortran/vla-type.exp: New file.
12460
12461 2016-04-25 Yao Qi <yao.qi@linaro.org>
12462
12463 * gdb.base/branch-to-self.c: New file.
12464 * gdb.base/branch-to-self.exp: New file.
12465
12466 2016-04-22 Yao Qi <yao.qi@linaro.org>
12467
12468 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12469 more after $hex.
12470
12471 2016-04-22 Yao Qi <yao.qi@linaro.org>
12472
12473 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12474 * gdb.base/annota3.exp: Likewise.
12475
12476 2016-04-22 Yao Qi <yao.qi@linaro.org>
12477
12478 * gdb.reverse/step-precsave.exp: Do one step and test program
12479 stops in "callee" and do multiple steps until program goes out
12480 of "callee".
12481 * gdb.reverse/step-reverse.exp: Likewise.
12482
12483 2016-04-22 Yao Qi <yao.qi@linaro.org>
12484
12485 * gdb.trace/signal.exp: Also pass if
12486 $tracepoint_hits($i) > $iterations.
12487
12488 2016-04-22 Yao Qi <yao.qi@linaro.org>
12489
12490 * gdb.trace/signal.c: New file.
12491 * gdb.trace/signal.exp: New file.
12492
12493 2016-04-19 Doug Evans <xdje42@gmail.com>
12494
12495 * gdb.base/bad-file.exp: New file.
12496
12497 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12498
12499 * gdb.dwarf2/implref.exp: New file.
12500
12501 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12502
12503 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12504 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12505 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12506 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12507 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12508 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12509 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12510 * lib/fortran.exp (fortran_int4): New procedure.
12511 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12512 (fortran_logical4): Likewise.
12513
12514 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12515
12516 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12517
12518 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12519
12520 * lib/compiler.c: Add Intel specific preprocessor macros.
12521 * lib/compiler.cc: Likewise.
12522
12523 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
12524
12525 * gdb.server/connect-with-no-symbol-file.c: New file.
12526 * gdb.server/connect-with-no-symbol-file.exp: New file.
12527
12528 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12529
12530 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12531
12532 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12533
12534 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12535 standard output directory.
12536
12537 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12538
12539 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12540
12541 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12542
12543 * gdb.btrace/instruction_history.c (loop): Add declaration.
12544
12545 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12546
12547 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12548
12549 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12550
12551 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12552 parentheses to print.
12553 (continue_handler): Likewise.
12554
12555 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12556
12557 * gdb.server/solib-list.exp: Remove is_remote check.
12558 Pass shlib= to gdb_compile. Don't link shared library with
12559 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12560 Run binary filename through "readlink -f" on the target.
12561
12562 2016-04-08 Pedro Alves <palves@redhat.com>
12563
12564 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12565 interpreter filename as argument to gdbserver_spawn.
12566 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12567 Return empty if $last_loaded_file does not exist.
12568
12569 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12570
12571 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12572 * gdb.base/jit-main.c: Use exit after usage.
12573
12574 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12575
12576 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12577 GDBHISTSIZE prior to the tests.
12578 * gdb.base/gdbinit-history.exp: Likewise.
12579
12580 2016-04-07 Pedro Alves <palves@redhat.com>
12581
12582 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12583 instead of build_executable. Use gdb_load_shlibs.
12584
12585 2016-04-07 Yao Qi <yao.qi@linaro.org>
12586
12587 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12588 Execute "si" command.
12589
12590 2016-04-07 Yao Qi <yao.qi@linaro.org>
12591
12592 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12593 number instead of the comments on some line.
12594
12595 2016-04-06 Don Breazeal <donb@codesourcery.com>
12596
12597 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12598 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12599
12600 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12601
12602 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12603 standard_output_file. Remove unused binfile variable.
12604
12605 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
12606
12607 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12608 * gdb.python/py-mi-objfile.exp: Match "list main" output
12609 in console format.
12610
12611 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12612
12613 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12614 absolute.
12615
12616 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12617
12618 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12619 absolute.
12620 * gdb.trace/ftrace.exp: Likewise.
12621 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12622 targets as well.
12623 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12624 (gdb_load_shlibs): Copy libraries to test directory when testing
12625 natively. Only set solib-search-path if testing remotely.
12626 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12627
12628 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12629
12630 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12631 gdb_download. Use it even if the target is not remote.
12632 * gdb.base/jit.exp (compile_jit_test): Likewise.
12633 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12634 output directory if the destination board is local, otherwise use
12635 the standard remote_download from DejaGnu.
12636 (gdb_download): Remove.
12637 (gdb_load_shlibs): Use gdb_remote_download instead of
12638 gdb_download.
12639 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12640 Use gdb_remote_download instead of gdb_download. Use it even if
12641 the target is not remote.
12642 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12643 instead of gdb_download.
12644
12645 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12646
12647 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12648 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12649 run.
12650
12651 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
12652
12653 PR gdb/19820
12654 * gdb.base/printcmds.exp: Add artificial arrays tests.
12655
12656 2016-03-31 Pedro Alves <palves@redhat.com>
12657
12658 PR gdb/19858
12659 * gdb.base/jit-main.c: Include unistd.h.
12660 (ATTACH): Define to 0 if not already defined.
12661 (wait_for_gdb, mypid): New globals.
12662 (WAIT_FOR_GDB): New macro.
12663 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12664 some breakpoint locations.
12665 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12666 New procedures.
12667 (one_jit_test): Add REATTACH parameter, and handle it. Use
12668 continue_to_test_location.
12669 (top level): Test attach, and adjusts calls to one_jit_test.
12670
12671 2016-03-31 Pedro Alves <palves@redhat.com>
12672
12673 PR gdb/19858
12674 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12675 BINSUFFIX parameter, and handle it.
12676 (top level): Adjust calls compile_jit_test.
12677
12678 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
12679
12680 PR python/19743
12681 * gdb.python/py-mi-events-gdb.py: New file.
12682 * gdb.python/py-mi-events.c: New file.
12683 * gdb.python/py-mi-events.exp: New file.
12684
12685 2016-03-30 Yao Qi <yao.qi@linaro.org>
12686
12687 * gdb.reverse/until-precsave.exp: Match function name only.
12688 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12689 Move malloc to a condition block.
12690 * gdb.reverse/until-reverse.exp: Match function name only.
12691
12692 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12693
12694 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12695 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12696 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12697 variable for GPR 0 instead of assuming it is register 0.
12698 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12699 * lib/trace-support.exp: Add s390 registers.
12700
12701 2016-03-29 Yao Qi <yao.qi@linaro.org>
12702
12703 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12704
12705 2016-03-24 Yao Qi <yao.qi@linaro.org>
12706
12707 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12708 test message.
12709
12710 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12711
12712 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12713 maintaining separate logic for constructing the output path.
12714
12715 2016-03-16 Don Breazeal <donb@codesourcery.com>
12716
12717 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12718 Retry fork and waitpid on interrupted system call errors.
12719 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12720 Use with_timeout_factor to increase timeout by factor of 10.
12721
12722 2016-03-15 Don Breazeal <donb@codesourcery.com>
12723
12724 * gdb.cp/scope-err.cc: New test program.
12725 * gdb.cp/scope-err.exp: New test script.
12726 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12727 lines and "set breakpoint here" comment.
12728 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12729 Fixed some whitespace and format issues.
12730 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12731 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12732
12733 2016-03-15 Doug Evans <dje@google.com>
12734
12735 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12736 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12737 All callers updated. Add tests for enums, mixed flags register.
12738
12739 2016-03-15 Doug Evans <dje@google.com>
12740
12741 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12742 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12743
12744 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12745
12746 * gdb.base/default.exp: Add $_as_string to the list of expected
12747 convenience functions.
12748
12749 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12750
12751 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12752
12753 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12754
12755 * gdb.python/py-as-string.exp: New file.
12756 * gdb.python/py-as-string.c: New file.
12757
12758 2016-03-09 Pedro Alves <palves@redhat.com>
12759
12760 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12761 signal" -> "Thread NN received signal" output change.
12762 * gdb.threads/ia64-sigill.exp: Likewise.
12763 * gdb.threads/linux-dp.exp: Likewise.
12764 * gdb.threads/manythreads.exp: Likewise.
12765 * gdb.threads/pending-step.exp: Likewise.
12766 * gdb.threads/print-threads.exp: Likewise.
12767 * gdb.threads/sigstep-threads.exp: Likewise.
12768 * gdb.threads/staticthreads.exp: Likewise.
12769 * gdb.threads/tls.exp: Likewise.
12770
12771 2016-03-09 Pedro Alves <palves@redhat.com>
12772
12773 * gdb.base/command-line-input.exp: New file.
12774
12775 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12776
12777 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12778 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12779 * gdb.trace/pending.exp: Accept leading dot before function name.
12780 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12781 * lib/trace-support.exp: Set registers for ppc.
12782
12783 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12784
12785 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12786 use it for disassembly; accept .main in addition to main in backtrace.
12787
12788 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
12789 Marcin Kościelnicki <koriakin@0x04.net>
12790
12791 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12792 (gdb_recursion_test_ptr): New global variable.
12793 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12794 gdb_recursion_test.
12795 (gdb_c_test): Ditto.
12796
12797 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12798
12799 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12800 ordering.
12801
12802 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12803
12804 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12805 (bar): Add bar_start_lbl label.
12806 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12807 of foo/bar for emitting DWARF and tracing.
12808
12809 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12810
12811 * analyze-racy-logs.py: Set executable bit.
12812
12813 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12814
12815 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12816 (CHECK_TARGET_TMP): Likewise.
12817 (check-single-racy): New rule.
12818 (check-parallel-racy): Likewise.
12819 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12820 (do-check-parallel-racy): New rule.
12821 (check-racy/%.exp): Likewise.
12822 * README (Racy testcases): New section.
12823 * analyze-racy-logs.py: New file.
12824
12825 2016-03-03 Doug Evans <dje@google.com>
12826
12827 * gdb.base/skip.exp: Use with_test_prefix.
12828
12829 2016-03-03 Yao Qi <yao.qi@linaro.org>
12830
12831 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12832 Invoke step_over_syscall "clone" and break_cond_on_syscall
12833 "clone".
12834 * gdb.base/step-over-clone.c: New file.
12835
12836 2016-03-03 Yao Qi <yao.qi@linaro.org>
12837
12838 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12839 code format.
12840
12841 2016-03-03 Yao Qi <yao.qi@linaro.org>
12842
12843 * gdb.base/disp-step-fork.c: Rename to ...
12844 * gdb.base/step-over-fork.c: ... it. New file.
12845 * gdb.base/disp-step-vfork.c: Rename to ...
12846 * gdb.base/step-over-vfork.c: ... it. New file.
12847 * gdb.base/disp-step-syscall.exp: Rename to ...
12848 * gdb.base/step-over-syscall.exp: ... it. New file.
12849 (disp_step_cross_syscall): Rename to ...
12850 (step_over_syscall): ... it.
12851
12852 2016-03-03 Yao Qi <yao.qi@linaro.org>
12853
12854 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12855 If target supports condition evaluation on target, invoke
12856 break_cond_on_syscall for fork and vfork.
12857
12858 2016-03-03 Yao Qi <yao.qi@linaro.org>
12859
12860 * gdb.base/disp-step-syscall.exp: Don't invoke
12861 support_displaced_stepping.
12862 (disp_step_cross_syscall): Test with displaced stepping off and
12863 on if supported.
12864
12865 2016-03-03 Yao Qi <yao.qi@linaro.org>
12866
12867 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12868 proc.
12869 (setup): New proc.
12870 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12871 and setup.
12872
12873 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12874
12875 * gdb.fortran/vla-history.exp: Remove breakpoint.
12876
12877 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12878
12879 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12880 exceeds timeout.
12881
12882 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12883
12884 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12885 breakpoint.
12886
12887 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12888
12889 * gdb.mi/vla.f90: Nullify pointer after declaration.
12890
12891 2016-03-01 Pedro Alves <palves@redhat.com>
12892
12893 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12894
12895 2016-03-01 Pedro Alves <palves@redhat.com>
12896
12897 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12898 before anything else.
12899 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12900 _GNU_SOURCE here.
12901 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12902 before anything else.
12903 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12904
12905 2016-03-01 Pedro Alves <palves@redhat.com>
12906
12907 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12908
12909 2016-03-01 Yao Qi <yao.qi@linaro.org>
12910
12911 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12912 prepare_for_testing.
12913
12914 2016-03-01 Yao Qi <yao.qi@linaro.org>
12915
12916 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12917
12918 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12919
12920 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12921 manually constructing the output path.
12922
12923 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12924
12925 * gdb.arch/s390-stackless.S: New.
12926 * gdb.arch/s390-stackless.exp: New.
12927
12928 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12929
12930 * gdb.dlang/circular.c: New file.
12931 * gdb.dlang/circular.exp: New file.
12932
12933 2016-02-26 Yao Qi <yao.qi@linaro.org>
12934
12935 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12936 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12937 (testcases): Update.
12938
12939 2016-02-26 Yao Qi <yao.qi@linaro.org>
12940
12941 * gdb.reverse/aarch64.c: Rename to ...
12942 * gdb.reverse/insn-reverse.c: ... it.
12943 * gdb.reverse/aarch64.exp: Rename to ...
12944 * gdb.reverse/insn-reverse.exp: ... it.
12945
12946 2016-02-26 Yao Qi <yao.qi@linaro.org>
12947
12948 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12949 (testcase_ftype): New.
12950 (testcases): New array.
12951 (n_testcases): New.
12952 (main): Call each element in testcases.
12953 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12954 (read_testcase): New.
12955 Do the tests in a loop.
12956
12957 2016-02-25 Yao Qi <yao.qi@linaro.org>
12958
12959 * gdb.base/branches.c: Remove.
12960
12961 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12962
12963 PR gdb/13808
12964 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12965
12966 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12967
12968 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12969
12970 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12971
12972 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12973 change x86_64 call_insn to 'callq'.
12974
12975 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12976
12977 * gdb.trace/tfile-avx.c: Move to...
12978 * gdb.trace/tracefile-pseudo-reg.c: Here.
12979 * gdb.trace/tfile-avx.exp: Move to...
12980 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12981
12982 2016-02-24 Gary Benson <gbenson@redhat.com>
12983
12984 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12985 message on attach.
12986
12987 2016-02-23 Doug Evans <dje@google.com>
12988
12989 * gdb.base/skip.c (test_skip): New function.
12990 (end_test_skip_file_and_function): New function.
12991 (test_skip_file_and_function): New function.
12992 * gdb.base/skip1.c (test_skip): New function.
12993 (skip1_test_skip_file_and_function): New function.
12994 * gdb.base/skip.exp: Add tests for new skip options.
12995 * gdb.base/skip-solib.exp: Update expected output.
12996 * gdb.perf/skip-command.cc: New file.
12997 * gdb.perf/skip-command.exp: New file.
12998 * gdb.perf/skip-command.py: New file.
12999
13000 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13001
13002 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13003 info registers pattern.
13004
13005 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13006
13007 * lib/future.exp: Add D support.
13008 (gdb_find_gdc): New proc.
13009 (gdb_default_target_compile): Add D support.
13010
13011 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
13012
13013 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13014 user+system time.
13015 (trace_speed_test): Determine the iteration count for a time
13016 between 15..30 seconds.
13017
13018 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13019
13020 * gdb.arch/i386-mpx-sigsegv.c: New file.
13021 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13022 * gdb.arch/i386-mpx-simple_segv.c: New file.
13023 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13024
13025 2016-02-18 Yao Qi <yao.qi@linaro.org>
13026
13027 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13028 Don't call setup_kfail.
13029
13030 2016-02-18 Yao Qi <yao.qi@linaro.org>
13031
13032 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13033 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13034
13035 2016-02-16 Doug Evans <dje@google.com>
13036
13037 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13038 * gdb.base/skip1.c: Ditto.
13039 * gdb.base/skip.exp: Whitespace cleanup.
13040
13041 2016-02-16 Don Breazeal <donb@codesourcery.com>
13042
13043 PR remote/19496
13044 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13045 Remove kfail for PR remote/19496.
13046
13047 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13048
13049 * lib/gdb.exp (standard_temp_file): Return a path specific to
13050 the runtest invocation.
13051
13052 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13053
13054 * gdb.trace/save-trace.exp: Change relative path to be in the
13055 standard output directory.
13056
13057 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13058
13059 * gdb.arch/i386-prologue.c: Add missing prototypes.
13060
13061 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13062
13063 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13064 * gdb.arch/i386-prologue.exp: Likewise.
13065 * gdb.arch/i386-size.exp: Likewise.
13066
13067 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13068
13069 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13070 define object file path.
13071 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13072 file path.
13073 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13074 standard_output_file to define binfile.
13075
13076 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13077
13078 Fix compatibility with recent gfortran-5.3.1.
13079 * gdb.fortran/vla-history.exp (print vla1 allocated)
13080 (print vla2 allocated, print $2, print $3): Remove
13081 (print $4): Rename to ...
13082 (print $2): ... here.
13083 (print $9): Rename to ...
13084 (print $5): ... here.
13085 (print $10): Rename to ...
13086 (print $6): ... here.
13087 * gdb.fortran/vla.f90: Add pvla initialization.
13088
13089 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13090
13091 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13092 New test.
13093 * gdb.fortran/vla-value-sub.exp: Likewise.
13094
13095 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13096
13097 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13098
13099 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13100
13101 * i386-biarch-core.exp: Define corefile using
13102 standard_output_file.
13103
13104 2016-02-12 Yao Qi <yao.qi@linaro.org>
13105
13106 * gdb.arch/arm-single-step-kernel-helper.c: New.
13107 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13108
13109 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13110
13111 * gdb.btrace/tailcall-only.exp: New.
13112 * gdb.btrace/tailcall-only.c: New.
13113 * gdb.btrace/x86_64-tailcall-only.S: New.
13114 * gdb.btrace/i686-tailcall-only.S: New.
13115
13116 2016-02-11 Pedro Alves <palves@redhat.com>
13117
13118 * README (Parallel testing): Add missing double quotes.
13119
13120 2016-02-11 Pedro Alves <palves@redhat.com>
13121
13122 * README (Parallel testing): New section.
13123 (GDB_PARALLEL): Rewrite.
13124 (FORCE_PARALLEL): Document.
13125
13126 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13127
13128 * gdb.trace/tfile-avx.c: New test.
13129 * gdb.trace/tfile-avx.exp: New test.
13130
13131 2016-02-09 Keith Seitz <keiths@redhat.com>
13132
13133 PR breakpoints/19546
13134 * gdb.base/infcall-exec.c: New file.
13135 * gdb.base/infcall-exec2.c: New file.
13136 * gdb.base/infcall-exec.exp: New file.
13137
13138 2016-02-09 Keith Seitz <keiths@redhat.com>
13139
13140 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13141 (toplevel): Call test_bkpt_address.
13142
13143 2016-02-09 Keith Seitz <keiths@redhat.com>
13144
13145 PR python/19506
13146 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13147 (toplevel): Call test_bkpt_address.
13148
13149 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13150
13151 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13152 to AC_OUTPUT.
13153 * configure: Regenerate.
13154
13155 2016-02-09 Pedro Alves <palves@redhat.com>
13156
13157 PR breakpoints/19548
13158 * gdb.base/execl-update-breakpoints.c (some_function): New
13159 function.
13160 (main): Call it.
13161 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13162 Tighten expected GDB output.
13163
13164 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13165
13166 * Makefile.in (ALL_SUBDIRS): Remove.
13167 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13168 (distclean maintainer-clean realclean): Likewise.
13169 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13170 * configure: Regenerate.
13171 * gdb.ada/Makefile.in: Delete.
13172 * gdb.arch/Makefile.in: Likewise.
13173 * gdb.asm/Makefile.in: Likewise.
13174 * gdb.base/Makefile.in: Likewise.
13175 * gdb.btrace/Makefile.in: Likewise.
13176 * gdb.cell/Makefile.in: Likewise.
13177 * gdb.compile/Makefile.in: Likewise.
13178 * gdb.cp/Makefile.in: Likewise.
13179 * gdb.disasm/Makefile.in: Likewise.
13180 * gdb.dlang/Makefile.in: Likewise.
13181 * gdb.dwarf2/Makefile.in: Likewise.
13182 * gdb.fortran/Makefile.in: Likewise.
13183 * gdb.gdb/Makefile.in: Likewise.
13184 * gdb.go/Makefile.in: Likewise.
13185 * gdb.guile/Makefile.in: Likewise.
13186 * gdb.java/Makefile.in: Likewise.
13187 * gdb.linespec/Makefile.in: Likewise.
13188 * gdb.mi/Makefile.in: Likewise.
13189 * gdb.modula2/Makefile.in: Likewise.
13190 * gdb.multi/Makefile.in: Likewise.
13191 * gdb.objc/Makefile.in: Likewise.
13192 * gdb.opencl/Makefile.in: Likewise.
13193 * gdb.opt/Makefile.in: Likewise.
13194 * gdb.pascal/Makefile.in: Likewise.
13195 * gdb.perf/Makefile.in: Likewise.
13196 * gdb.python/Makefile.in: Likewise.
13197 * gdb.reverse/Makefile.in: Likewise.
13198 * gdb.server/Makefile.in: Likewise.
13199 * gdb.stabs/Makefile.in: Likewise.
13200 * gdb.threads/Makefile.in: Likewise.
13201 * gdb.trace/Makefile.in: Likewise.
13202 * gdb.xml/Makefile.in: Likewise.
13203 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13204 GDB_PARALLEL.
13205 (standard_output_file): Remove check for GDB_PARALLEL, always
13206 return path in outputs/$subdir/$testname.
13207
13208 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13209
13210 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13211 (site.exp): Assign abs_srcdir to tcl's srcdir.
13212
13213 2016-02-04 Yao Qi <yao.qi@linaro.org>
13214
13215 * gdb.base/foll-exec-mode.c: Include limits.h.
13216 (main): Add parameters argc and argv. Get directory from
13217 argv[0].
13218 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13219 compilation.
13220 * gdb.base/foll-exec.c: Include limits.h.
13221 (main): Add parameters argc and argv.
13222 Get directory from argv[0].
13223 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13224 Adjust tests on the number of lines as source code changed.
13225 * gdb.base/foll-vfork-exit.c: Include limits.h.
13226 (main): Add one line of statement before vfork.
13227 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13228 (main): Add parameters argc and argv. Get directory from
13229 argv[0].
13230 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13231 (setup_gdb): Set tbreak to skip some source lines.
13232 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13233 (main): Add parameters argc and argv. Get directory from
13234 argv[0].
13235 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13236 compilation.
13237 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13238 (main): Add parameters argc and argv. Get directory from
13239 argv[0].
13240 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13241 compilation.
13242
13243 2016-02-01 Doug Evans <dje@google.com>
13244
13245 * gdb.base/skip.exp: Clean up multiple references to same test name.
13246
13247 2016-02-01 Pedro Alves <palves@redhat.com>
13248
13249 PR remote/19496
13250 * gdb.threads/forking-threads-plus-breakpoint.exp
13251 (displaced_stepping_supported): New global.
13252 (probe_displaced_stepping_support): New procedure.
13253 (do_test): Add 'displaced' parameter, and use it.
13254 (top level): Check for displaced stepping support. Add displaced
13255 stepping on/off testing axis.
13256
13257 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13258
13259 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13260 pointer. Don't perform further tests on the unassociated pointer
13261 if the first test fails.
13262
13263 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13264
13265 * gdb.base/max-value-size.c: New file.
13266 * gdb.base/max-value-size.exp: New file.
13267 * gdb.base/huge.exp: Disable max-value-size for this test.
13268
13269 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13270
13271 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13272
13273 2016-01-28 Yao Qi <yao.qi@linaro.org>
13274
13275 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13276
13277 2016-01-25 Pedro Alves <palves@redhat.com>
13278
13279 PR threads/19461
13280 * gdb.base/fork-running-state.c: New file.
13281 * gdb.base/fork-running-state.exp: New file.
13282
13283 2016-01-25 Pedro Alves <palves@redhat.com>
13284
13285 PR gdb/19494
13286 * gdb.base/catch-fork-kill.c: New file.
13287 * gdb.base/catch-fork-kill.exp: New file.
13288
13289 2016-01-25 Pedro Alves <palves@redhat.com>
13290
13291 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13292 Delete, moved to lib/gdb.exp.
13293 * gdb.threads/forking-threads-plus-breakpoint.exp
13294 (foreach_with_prefix): Likewise.
13295 * gdb.threads/process-dies-while-handling-bp.exp
13296 (foreach_with_prefix): Likewise.
13297 * lib/gdb.exp (foreach_with_prefix): New procedure.
13298
13299 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13300
13301 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13302 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13303
13304 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13305
13306 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13307 endian targets.
13308
13309 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13310 Pedro Alves <palves@redhat.com>
13311
13312 Fix testsuite compatibility with Guile.
13313 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13314 number.
13315
13316 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13317
13318 Fix testsuite compatibility with Guile.
13319 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13320 (thread 1): New test for backtrace through signal handler.
13321
13322 2016-01-22 Yao Qi <yao.qi@linaro.org>
13323
13324 PR testsuite/19491
13325 * gdb.base/multi-forks.c: Include
13326 ../lib/unbuffer_output.c
13327 (main): Call gdb_unbuffer_output.
13328
13329 2016-01-21 Doug Evans <dje@google.com>
13330
13331 * lib/ada.exp (gdb_compile_ada): Fix typo.
13332
13333 2016-01-21 Joel Brobecker <brobecker@adacore.com>
13334
13335 * gdb.base/break-fun-addr.exp: New file.
13336 * gdb.base/break-fun-addr1.c: New file.
13337 * gdb.base/break-fun-addr2.c: New file.
13338
13339 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13340
13341 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13342 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13343 enum flag values.
13344
13345 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13346
13347 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13348 when GDB can not set the vector return value. Add more comments
13349 for clarification.
13350
13351 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13352
13353 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13354 command.
13355
13356 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13357
13358 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13359
13360 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13361
13362 * Makefile.in (check-single): Pass --status to runtest.
13363 (check/%.exp): Likewise.
13364
13365 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13366
13367 * Makefile.in (check-parallel): Propagate return code from make
13368 do-check-parallel.
13369
13370 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13371
13372 * gdb.trace/ftrace.exp: Fix expected message on continue.
13373 * gdb.trace/pending.exp: Fix expected message on continue.
13374 * gdb.trace/trace-break.exp: Fix expected message on continue.
13375
13376 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13377
13378 * lib/gdb.exp (gdb_test): Remove unused global references.
13379
13380 2016-01-18 Pedro Alves <palves@redhat.com>
13381
13382 * gdb.base/async-shell.exp: Adjust expected output.
13383 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13384 * gdb.base/siginfo-thread.exp: Adjust expected output.
13385 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13386 * gdb.java/jnpe.exp: Adjust expected output.
13387 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13388 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13389 * gdb.threads/leader-exit.exp: Adjust expected output.
13390 * gdb.threads/manythreads.exp: Adjust expected output.
13391 * gdb.threads/pthreads.exp: Adjust expected output.
13392 * gdb.threads/schedlock.exp: Adjust expected output.
13393 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13394 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13395 expected output.
13396 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13397 output.
13398 * gdb.threads/sigthread.exp: Adjust expected output.
13399 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13400
13401 2016-01-18 Yao Qi <yao.qi@linaro.org>
13402
13403 * gdb.guile/scm-section-script.c: Replace @progbits with
13404 %progbits.
13405 * gdb.python/py-section-script.c: Likewise.
13406
13407 2016-01-15 Pedro Alves <palves@redhat.com>
13408
13409 * gdb.multi/tids.exp: Test star wildcard ranges.
13410
13411 2016-01-15 Pedro Alves <palves@redhat.com>
13412
13413 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13414 command from "thread apply" invocation.
13415 (thr_apply_info_thr_invalid): Default the expected output to the
13416 input tid list.
13417 (top level): Add tests that use convenience variables. Add tests
13418 for "thread apply" with a valid TID list, but missing the command.
13419
13420 2016-01-13 Pedro Alves <palves@redhat.com>
13421
13422 * gdb.base/default.exp: Expect $_gthread as well.
13423 * gdb.multi/tids.exp: Test $_gthread.
13424 * gdb.threads/thread-specific.exp: Test $_gthread.
13425
13426 2016-01-13 Pedro Alves <palves@redhat.com>
13427
13428 * gdb.multi/tids.exp: Test "info threads -gid".
13429
13430 2016-01-13 Pedro Alves <palves@redhat.com>
13431
13432 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13433 Breakpoint.thread.
13434 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13435
13436 2016-01-07 Pedro Alves <palves@redhat.com>
13437
13438 * gdb.base/break.exp: Adjust to output changes.
13439 * gdb.base/hbreak2.exp: Likewise.
13440 * gdb.base/sepdebug.exp: Likewise.
13441 * gdb.base/watch_thread_num.exp: Likewise.
13442 * gdb.linespec/keywords.exp: Likewise.
13443 * gdb.multi/info-threads.exp: Likewise.
13444 * gdb.threads/thread-find.exp: Likewise.
13445 * gdb.multi/tids.c: New file.
13446 * gdb.multi/tids.exp: New file.
13447
13448 2016-01-13 Pedro Alves <palves@redhat.com>
13449
13450 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13451
13452 2016-01-13 Pedro Alves <palves@redhat.com>
13453
13454 * gdb.base/default.exp: Expect $_inferior as well.
13455 * gdb.multi/base.exp: Test $_inferior.
13456
13457 2016-01-13 Pedro Alves <palves@redhat.com>
13458
13459 PR breakpoints/19388
13460 * gdb.base/catch-signal-siginfo-cond.c: New file.
13461 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13462
13463 2016-01-12 Josh Stone <jistone@redhat.com>
13464 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13465
13466 * gdb.base/catch-syscall.c (do_execve): New variable.
13467 (main): Conditionally trigger an execve.
13468 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13469 (test_catch_syscall_execve): New, check entry/return across execve.
13470 (do_syscall_tests): Call test_catch_syscall_execve.
13471
13472 2016-01-12 Pedro Alves <palves@redhat.com>
13473
13474 * gdb.base/random-signal.exp (do_test): New procedure, with body
13475 of testcase moved in.
13476
13477 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13478 Pedro Alves <palves@redhat.com>
13479
13480 * gdb.base/funcargs.exp (finish from indirectly called function):
13481 Reintroduce the case for 'First'.
13482
13483 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13484 Pedro Alves <palves@redhat.com>
13485
13486 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13487 (tcatch_vfork_then_child_follow_exec)
13488 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13489 identification.
13490
13491 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13492
13493 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13494 and repeats to unlimited.
13495 * gdb.python/py-value.exp: Likewise.
13496 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13497 and repeats to unlimited.
13498
13499 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13500
13501 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13502 and reordering the functions.
13503 * gdb.multi/hangout.c: Likewise.
13504 * gdb.multi/hello.c: Likewise.
13505
13506 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13507
13508 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13509 absolute.
13510 (SingleStatisticTestResult.report): Use dict.keys instead of
13511 dict.iterkeys.
13512
13513 2016-01-06 Pedro Alves <palves@redhat.com>
13514
13515 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13516
13517 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13518
13519 * gdb.btrace/dlopen.exp: New.
13520 * gdb.btrace/dlopen.c: New.
13521 * gdb.btrace/dlopen-dso.c: New.
13522
13523 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13524
13525 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13526 PATTERN argument is optional.
13527
13528 2015-12-24 Joel Brobecker <brobecker@adacore.com>
13529
13530 * lib/ada.exp (target_compile_ada_from_dir): New function.
13531 (gdb_compile_ada): Reimplement avoiding the use of project files.
13532 * gdb.ada/gnat_ada.gpr: Delete.
13533 * gdb.ada/cond_lang.exp: Adjust test to make path before
13534 filename optional.
13535 * gdb.ada/small_reg_param.exp: Likewise.
13536
13537 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13538
13539 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13540
13541 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13542
13543 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13544 case.
13545
13546 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13547
13548 * gdb.base/break.exp: Remove dead code.
13549 * gdb.base/sepdebug.exp: Likewise.
13550
13551 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13552
13553 * gdb.asm/asm-source.exp: Remove HP-UX references.
13554 * gdb.base/annota1.exp: Likewise.
13555 * gdb.base/annota3.exp: Likewise.
13556 * gdb.base/attach.exp: Likewise.
13557 * gdb.base/bigcore.exp: Likewise.
13558 * gdb.base/break.exp: Likewise.
13559 * gdb.base/call-ar-st.exp: Likewise.
13560 * gdb.base/callfuncs.exp: Likewise.
13561 * gdb.base/catch-fork-static.exp: Likewise.
13562 * gdb.base/display.exp: Likewise.
13563 * gdb.base/foll-exec-mode.exp: Likewise.
13564 * gdb.base/foll-exec.exp: Likewise.
13565 * gdb.base/foll-fork.exp: Likewise.
13566 * gdb.base/foll-vfork.exp: Likewise.
13567 * gdb.base/funcargs.exp: Likewise.
13568 * gdb.base/hbreak2.exp: Likewise.
13569 * gdb.base/inferior-died.exp: Likewise.
13570 * gdb.base/interrupt.exp: Likewise.
13571 * gdb.base/multi-forks.exp: Likewise.
13572 * gdb.base/nodebug.exp: Likewise.
13573 * gdb.base/sepdebug.exp: Likewise.
13574 * gdb.base/solib1.c: Likewise.
13575 * gdb.base/step-test.exp: Likewise.
13576 * gdb.mi/non-stop.c: Likewise.
13577 * gdb.mi/pthreads.c: Likewise.
13578 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13579 * gdb.threads/pthreads.c: Likewise.
13580 * gdb.threads/staticthreads.exp: Likewise.
13581 * lib/future.exp: Likewise.
13582 * lib/gdb.exp: Likewise.
13583 * gdb.base/so-indr-cl.c: Remove.
13584 * gdb.base/so-indr-cl.exp: Likewise.
13585 * gdb.base/solib.c: Likewise.
13586 * gdb.base/solib.exp: Likewise.
13587 * gdb.base/solib2.c: Likewise.
13588
13589 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13590
13591 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13592 * gdb.base/call-ar-st.exp: Likewise.
13593 * gdb.base/callfuncs.exp: Likewise.
13594 * gdb.base/condbreak.exp: Likewise.
13595 * gdb.base/constvars.exp: Likewise.
13596 * gdb.base/hbreak2.exp: Likewise.
13597 * gdb.base/langs.exp: Likewise.
13598 * gdb.base/list.exp: Likewise.
13599 * gdb.base/long_long.exp: Likewise.
13600 * gdb.base/ptype.exp: Likewise.
13601 * gdb.base/scope.exp: Likewise.
13602 * gdb.base/signals.exp: Likewise.
13603 * gdb.base/so-impl-ld.exp: Likewise.
13604 * gdb.base/varargs.exp: Likewise.
13605 * gdb.base/volatile.exp: Likewise.
13606 * gdb.base/whatis.exp: Likewise.
13607 * gdb.cp/cplusfuncs.exp: Likewise.
13608 * gdb.cp/inherit.exp: Likewise.
13609 * gdb.cp/local.exp: Likewise.
13610 * gdb.cp/member-ptr.exp: Likewise.
13611 * gdb.cp/method.exp: Likewise.
13612 * gdb.cp/overload.exp: Likewise.
13613 * gdb.cp/templates.exp: Likewise.
13614 * gdb.stabs/weird.exp: Likewise.
13615 * lib/compiler.c: Likewise.
13616 * lib/compiler.cc: Likewise.
13617 * lib/cp-support.exp: Likewise.
13618 * lib/gdb.exp: Likewise.
13619
13620 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13621
13622 * configure.ac: Remove HP-UX case.
13623 * configure: Regenerate.
13624
13625 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13626
13627 * lib/gdb.exp (gdb_compile): Add function doc.
13628
13629 2015-12-17 Pedro Alves <palves@redhat.com>
13630
13631 PR threads/19354
13632 * gdb.multi/info-threads.exp: New file.
13633
13634 2015-12-15 Yao Qi <yao.qi@linaro.org>
13635
13636 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13637 is aarch64*-*-*.
13638
13639 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13640
13641 * gdb.base/history-duplicates.exp: Skip if no readline support.
13642
13643 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13644
13645 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13646
13647 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13648
13649 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13650
13651 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13652
13653 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13654 ctrl-C if nointerrupts target property is set.
13655 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13656 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13657 * gdb.base/paginate-bg-execution.exp: Likewise.
13658 * gdb.base/paginate-execution-startup.exp: Likewise.
13659 * gdb.base/random-signal.exp: Likewise.
13660 * gdb.base/range-stepping.exp: Likewise.
13661 * gdb.cp/annota2.exp: Likewise.
13662 * gdb.cp/annota3.exp: Likewise.
13663 * gdb.gdb/selftest.exp: Likewise.
13664 * gdb.threads/continue-pending-status.exp: Likewise.
13665 * gdb.threads/leader-exit.exp: Likewise.
13666 * gdb.threads/manythreads.exp: Likewise.
13667 * gdb.threads/pthreads.exp: Likewise.
13668 * gdb.threads/schedlock.exp: Likewise.
13669 * gdb.threads/sigthread.exp: Likewise.
13670
13671 2015-12-11 Don Breazeal <donb@codesourcery.com>
13672
13673 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13674 remote.
13675 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13676 * gdb.base/foll-exec.exp (main): Enable for target remote.
13677 * gdb.base/foll-fork.exp (main): Likewise.
13678 * gdb.base/foll-vfork.exp (main): Likewise.
13679 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13680 (proc continue_to_exit_bp_loc): Use clean_restart.
13681 * gdb.base/pie-execl.exp (main): Disable for target remote.
13682 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13683 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13684 * gdb.threads/execl.exp (main): Likewise.
13685 * gdb.threads/fork-child-threads.exp (main): Likewise.
13686 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13687 remote.
13688 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13689 remote.
13690 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13691 pid.tid style ptids, instead of just tid.
13692 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13693 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13694 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13695 ptids, instead of just tid.
13696
13697 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13698
13699 * gdb.base/list.exp (test_list_forward): Add end of file error
13700 test.
13701 (test_repeat_list_command): Add end of file error test.
13702 (test_list_backwards): Add beginning of file error test.
13703
13704 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13705
13706 * gdb.base/list.exp (test_list_invalid_args): New function,
13707 defined, and called.
13708
13709 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13710
13711 * gdb.base/list.exp (test_list): Make test names unique.
13712
13713 2015-12-11 Yao Qi <yao.qi@linaro.org>
13714
13715 * gdb.base/coremaker2.c: Remove.
13716
13717 2015-12-10 Pedro Alves <palves@redhat.com>
13718
13719 * gdb.multi/base.exp: Remove stale "spaces" references.
13720
13721 2015-12-10 Pedro Alves <palves@redhat.com>
13722
13723 * gdb.multi/base.exp: Don't use nowarnings.
13724 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13725 * gdb.multi/hangout.c: Include stdio.h.
13726 * gdb.multi/hello.c: Include stdlib.h.
13727 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13728 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13729 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13730
13731 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13732
13733 * gdb.dwarf2/dw2-ranges-base.c: New file.
13734 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13735 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13736 support additional line table, and debug ranges generation.
13737 (Dwarf::ranges): New function, generate .debug_ranges.
13738 (Dwarf::lines): Support generating simple line table programs.
13739 (Dwarf::assemble): Initialise new namespace variables.
13740
13741 2015-12-09 Kevin Buettner <kevinb@redhat.com>
13742
13743 * gdb.base/async.exp (proc test_background): Add case for
13744 asynchronous execution not supported.
13745
13746 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
13747
13748 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13749 format and change test names to make them unique.
13750
13751 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13752 Pedro Alves <pedro@redhat.com>
13753
13754 PR gdb/18702
13755 Add checking of floatformats setup on x86_64 hosts.
13756 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13757 (smallval, bigval): New labels/constants.
13758 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13759 float" after loading bigval and smallval.
13760
13761 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13762
13763 * gdb.ada/fun_overload_menu.exp: New testcase.
13764 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13765
13766 2015-12-04 Josh Stone <jistone@redhat.com>
13767
13768 * gdb.base/catch-fork-static.exp: New.
13769
13770 2015-12-03 Yao Qi <yao.qi@linaro.org>
13771
13772 * gdb.base/sizeof.c: Don't include stdio.h and
13773 ../lib/unbuffer_output.c.
13774 (main): New variable 'size' and 'value'. Remove printf and
13775 gdb_unbuffer_output. Assign return value to size and value.
13776 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13777 at the beginning.
13778 (check_sizeof): Check the result by printing variable 'size'.
13779 (check_valueof): Check the result by printing variable 'value'.
13780
13781 2015-12-01 Yao Qi <yao.qi@linaro.org>
13782
13783 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13784 for aarch64*-*-linux* target.
13785
13786 2015-11-30 Pedro Alves <palves@redhat.com>
13787
13788 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13789
13790 2015-11-30 Pedro Alves <palves@redhat.com>
13791
13792 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13793 Handle non-stop mode vCont replies.
13794
13795 2015-11-30 Pedro Alves <palves@redhat.com>
13796
13797 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13798 prepare_for_testing. Start gdb with "set non-stop on" appended to
13799 GDBFLAGS. Lax expected stop output.
13800
13801 2015-11-27 Yao Qi <yao.qi@linaro.org>
13802
13803 * gdb.arch/arm-neon.exp: New.
13804 * gdb.arch/arm-neon.c: New.
13805
13806 2015-11-27 Yao Qi <yao.qi@linaro.org>
13807
13808 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13809
13810 2015-11-27 Yao Qi <yao.qi@linaro.org>
13811
13812 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13813 frames-invalid annotation.
13814
13815 2015-11-27 Yao Qi <yao.qi@linaro.org>
13816
13817 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13818
13819 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13820
13821 * gdb.threads/names.exp: New file.
13822 * gdb.threads/names.c: New file.
13823 * README: Mention gdb,no_thread_names.
13824
13825 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13826
13827 PR 19297
13828 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13829 support" error.
13830
13831 2015-11-24 Pedro Alves <palves@redhat.com>
13832
13833 PR 17539
13834 * gdb.base/display.exp: Expect displays to be sorted in ascending
13835 order. Use multi_line.
13836 * gdb.base/solib-display.exp: Likewise.
13837
13838 2015-11-24 Pedro Alves <palves@redhat.com>
13839
13840 PR 17539
13841 * gdb.base/display.exp: Expect displays to be sorted in ascending
13842 order. Use multi_line.
13843 * gdb.base/solib-display.exp: Likewise.
13844
13845 2015-11-24 Pedro Alves <palves@redhat.com>
13846
13847 PR 17539
13848 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13849 threads in ascending order.
13850 * gdb.base/foll-fork.exp: Likewise.
13851 * gdb.base/foll-vfork.exp: Likewise.
13852 * gdb.base/multi-forks.exp: Likewise.
13853 * gdb.mi/mi-nonstop.exp: Likewise.
13854 * gdb.mi/mi-nsintrall.exp: Likewise.
13855 * gdb.multi/base.exp: Likewise.
13856 * gdb.multi/multi-arch.exp: Likewise.
13857 * gdb.python/py-inferior.exp: Likewise.
13858 * gdb.threads/break-while-running.exp: Likewise.
13859 * gdb.threads/execl.exp: Likewise.
13860 * gdb.threads/gcore-thread.exp: Likewise.
13861 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13862 * gdb.threads/kill.exp: Likewise.
13863 * gdb.threads/linux-dp.exp: Likewise.
13864 * gdb.threads/multiple-step-overs.exp: Likewise.
13865 * gdb.threads/next-bp-other-thread.exp: Likewise.
13866 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13867 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13868 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13869 * gdb.threads/thread-find.exp: Likewise.
13870 * gdb.threads/tls.exp: Likewise.
13871 * lib/mi-support.exp (mi_reverse_list): Delete.
13872 (mi_check_thread_states): No longer reverse list.
13873
13874 2015-11-24 Pedro Alves <palves@redhat.com>
13875
13876 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13877 use lowercase.
13878
13879 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13880
13881 * gdb.trace/actions.c: Include trace-common.h.
13882 (main): Add a location for a fast tracepoint.
13883 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13884 the normal tracepoints.
13885 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13886
13887 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13888
13889 * save-trace.exp: Factor out code to these...
13890 (gdb_save_tracepoints): New.
13891 (gdb_load_tracepoints): New.
13892 (do_save_load_test): New.
13893
13894 2015-11-23 Kevin Buettner <kevinb@redhat.com>
13895
13896 * gdb.base/asmlabel.exp: New test.
13897 * gdb.base/asmlabel.c: New test case.
13898
13899 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13900
13901 * gdb.base/wrong_frame_bt_full-main.c: New file.
13902 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13903 * gdb.base/wrong_frame_bt_full.exp: New file.
13904
13905 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13906
13907 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13908
13909 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13910
13911 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
13912 pstate register when comparing registers values in
13913 sparc64-*-linux-gnu targets to avoid spurious differences.
13914
13915 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13916
13917 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
13918
13919 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13920
13921 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13922 as type argument to gdb_compile.
13923 * gdb.base/nested-subp2.exp: Likewise.
13924 * gdb.base/nested-subp3.exp: Likewise.
13925
13926 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13927
13928 * lib/dwarf.exp (_note): Fix left shift of negative value.
13929 * gdb.trace/trace-condition.exp: Likewise.
13930
13931 2015-11-13 Yao Qi <yao.qi@linaro.org>
13932
13933 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13934 comments about d10v.
13935 (test_scalar_returns): Likewise.
13936 * gdb.base/d10v.ld: Remove.
13937 * gdb.base/overlays.exp: Remove the target triplet checking for
13938 d10v-*-*.
13939 * gdb.base/structs.exp (test_struct_returns): Remove the
13940 comments about d10v.
13941 (test_struct_calls): Likewise.
13942
13943 2015-11-13 Yao Qi <yao.qi@linaro.org>
13944
13945 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13946 * gdb.base/gnu_vector.c: Don't include stdio.h.
13947 (main): Don't print res and call add_some_intvecs.
13948
13949 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13950
13951 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13952 macro.
13953 (func5): Removed.
13954 (func4): Use FAST_TRACEPOINT_LABEL.
13955 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13956 macro.
13957 (func): Removed.
13958 (thread_function): Use FAST_TRACEPOINT_LABEL.
13959 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13960 (func): Remove.
13961 (marker): Use FAST_TRACEPOINT_LABEL.
13962 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13963 (pendfunc1): Remove.
13964 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13965 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13966 (foo): Remove.
13967 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13968 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13969 macro.
13970 (func): Remove.
13971 (marker): Use FAST_TRACEPOINT_LABEL.
13972 * gdb.trace/trace-common.h: New header.
13973 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13974 macro.
13975 (func): Remove.
13976 (marker): Use FAST_TRACEPOINT_LABEL.
13977 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13978 (func): Remove.
13979 (thread_function): Use FAST_TRACEPOINT_LABEL.
13980
13981 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13982
13983 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13984 in front.
13985 * gdb.trace/change-loc.exp: Use global pcreg definition.
13986 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13987 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13988 in front.
13989 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13990 * gdb.trace/pending.exp: Likewise.
13991 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13992 * gdb.trace/trace-break.exp: Likewise.
13993 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13994 in front.
13995 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13996 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13997 in front.
13998 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13999
14000 2015-11-09 Joel Brobecker <brobecker@adacore.com>
14001
14002 * gdb.ada/fin_fun_out: New testcase.
14003
14004 2015-11-07 Kevin Buettner <kevinb@redhat.com>
14005
14006 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14007 value associated with DW_AT_byte_size.
14008 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14009 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14010 DW_AT_upper_bound.
14011
14012 2015-11-07 Kevin Buettner <kevinb@redhat.com>
14013
14014 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14015 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14016 version.
14017 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14018 gdb.dwarf2/dw2-canonicalize-type.exp,
14019 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14020 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14021 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14022 provided by gdb_target_symbol_prefix_flags_asm.
14023 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14024 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14025 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14026 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14027 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14028 macros where needed). Use this macro for symbols which require
14029 the prefix provided by SYMBOL_PREFIX.
14030
14031 2015-11-05 Kevin Buettner <kevinb@redhat.com>
14032
14033 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14034 New procs.
14035 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14036 representing expressions, of more than one list element.
14037 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14038 to prepend linker symbol prefix to f.
14039 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14040 table_1 and table_2.
14041 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14042 Likewise, for f and g.
14043 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14044 for ptr.
14045 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14046 for main.
14047 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14048 table_1_ptr and table_2_ptr.
14049
14050 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14051 Joel Brobecker <brobecker@adacore.com>
14052
14053 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14054
14055 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14056
14057 * gdb.reverse/s390-mvcle.c: New test.
14058 * gdb.reverse/s390-mvcle.exp: New file.
14059 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14060
14061 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14062
14063 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14064
14065 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14066
14067 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14068 reaching marker2.
14069 * gdb.reverse/getresuid-reverse.exp: Likewise.
14070 * gdb.reverse/pipe-reverse.exp: Likewise.
14071 * gdb.reverse/readv-reverse.exp: Likewise.
14072 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14073 * gdb.reverse/time-reverse.exp: Likewise.
14074 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14075
14076 2015-10-30 Yao Qi <yao.qi@linaro.org>
14077
14078 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14079 (empty_cycle): Remove.
14080 (main): Don't call empty_cycle. Don't use watch_count_done.
14081 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14082 empty_cycle. Rewrite the code counting HW watchpoints.
14083
14084 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14085
14086 * gdb.reverse/fstatat-reverse.c: New test.
14087 * gdb.reverse/fstatat-reverse.exp: New file.
14088 * gdb.reverse/getresuid-reverse.c: New test.
14089 * gdb.reverse/getresuid-reverse.exp: New file.
14090 * gdb.reverse/pipe-reverse.c: New test.
14091 * gdb.reverse/pipe-reverse.exp: New file.
14092 * gdb.reverse/readv-reverse.c: New test.
14093 * gdb.reverse/readv-reverse.exp: New file.
14094 * gdb.reverse/recvmsg-reverse.c: New test.
14095 * gdb.reverse/recvmsg-reverse.exp: New file.
14096 * gdb.reverse/time-reverse.c: New test.
14097 * gdb.reverse/time-reverse.exp: New file.
14098 * gdb.reverse/waitpid-reverse.c: New test.
14099 * gdb.reverse/waitpid-reverse.exp: New file.
14100
14101 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14102
14103 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14104
14105 2015-10-26 Doug Evans <dje@google.com>
14106
14107 PR symtab/17391
14108 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14109 * gdb.dwarf2/bad-regnum.c: New file.
14110 * gdb.dwarf2/bad-regnum.exp: New file.
14111
14112 2015-10-26 Doug Evans <dje@google.com>
14113
14114 PR python/18938
14115 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14116 file.
14117
14118 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14119
14120 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14121 for a change by "Mention language in compile error message".
14122
14123 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14124
14125 PR python/18073
14126 * gdb.python/py-type.c (C::a_method): New.
14127 (C::a_const_method): New.
14128 (C::a_static_method): New.
14129 (a_function): New.
14130 * gdb.python/py-type.exp (test_fields): Test getting fields
14131 from function and method.
14132
14133 2015-10-21 Keven Boell <keven.boell@intel.com>
14134
14135 * gdb.fortran/vla-alloc-assoc.exp: New file.
14136 * gdb.fortran/vla-datatypes.exp: New file.
14137 * gdb.fortran/vla-datatypes.f90: New file.
14138 * gdb.fortran/vla-history.exp: New file.
14139 * gdb.fortran/vla-ptype-sub.exp: New file.
14140 * gdb.fortran/vla-ptype.exp: New file.
14141 * gdb.fortran/vla-sizeof.exp: New file.
14142 * gdb.fortran/vla-sub.f90: New file.
14143 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14144 * gdb.fortran/vla-value-sub-finish.exp: New file.
14145 * gdb.fortran/vla-value-sub.exp: New file.
14146 * gdb.fortran/vla-value.exp: New file.
14147 * gdb.fortran/vla-ptr-info.exp: New file.
14148 * gdb.mi/mi-vla-fortran.exp: New file.
14149 * gdb.mi/vla.f90: New file.
14150
14151 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14152
14153 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14154 of hardwired timeout value.
14155
14156 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14157 Pedro Alves <palves@redhat.com>
14158
14159 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14160 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14161
14162 2015-10-19 Josh Stone <jistone@redhat.com>
14163
14164 * gdb.base/catch-syscall.c: Include <sched.h>.
14165 (unknown_syscall): New variable.
14166 (main): Trigger a vfork and an unknown syscall.
14167 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14168 (unknown_syscall_number): Likewise.
14169 (check_call_to_syscall): Accept an optional syscall pattern.
14170 (check_return_from_syscall): Likewise.
14171 (check_continue): Likewise.
14172 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14173 (test_catch_syscall_skipping_return): New test toggling off 'catch
14174 syscall' to step over the syscall return, then toggling back on.
14175 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14176 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14177 (do_syscall_tests): Call test_catch_syscall_without_args and
14178 test_catch_syscall_mid_vfork.
14179 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14180 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14181
14182 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
14183
14184 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14185 print g_vE): Add new pass patterns.
14186 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14187 print various symbol names for vptr fields.
14188
14189 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14190
14191 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14192 results.
14193
14194 2015-10-12 Yao Qi <yao.qi@linaro.org>
14195
14196 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14197
14198 2015-10-12 Yao Qi <yao.qi@linaro.org>
14199
14200 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14201 is aarch64*-*-linux*.
14202
14203 2015-10-12 Yao Qi <yao.qi@linaro.org>
14204
14205 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14206 (can_relocate_bcond_true): ... it.
14207 (can_relocate_bcond_false): New function.
14208 (foo): Likewise.
14209 (can_relocate_bl): Likewise.
14210 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14211 can_relocate_bl.
14212
14213 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14214
14215 * gdb.base/nested-addr.c: New file.
14216 * gdb.base/nested-addr.exp: New testcase.
14217
14218 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14219
14220 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14221 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14222 its output. Ignore the output of "record goto begin" and instead
14223 check that GDB is replaying.
14224
14225 2015-10-09 Pedro Alves <palves@redhat.com>
14226
14227 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14228 (top level): Use it in the run with no args test.
14229
14230 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14231
14232 * gdb.dlang/properties.exp: New file.
14233
14234 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14235
14236 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14237 whether or not address 0x1000 is mapped on the target.
14238
14239 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14240
14241 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14242 build.
14243
14244 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14245
14246 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14247 instruction-history test.
14248
14249 2015-09-28 Doug Evans <dje@google.com>
14250
14251 * gdb.base/gcore.c (array_func): Add reference to static_array.
14252
14253 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14254
14255 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14256 source line.
14257
14258 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14259
14260 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14261 short or char as base type.
14262
14263 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14264
14265 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14266 to allow any size enum.
14267
14268 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14269
14270 * gdb.ada/array_ptr_renaming.exp: New testcase.
14271 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14272 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14273
14274 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14275
14276 * gdb.trace/ftrace-lock.c: New file.
14277 * gdb.trace/ftrace-lock.exp: New file.
14278
14279 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14280
14281 * gdb.arch/insn-reloc.c: New file.
14282 * gdb.arch/ftrace-insn-reloc.exp: New file.
14283
14284 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14285
14286 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14287 instruction.
14288 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14289 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14290 * gdb.trace/range-stepping.c: Likewise.
14291 * gdb.trace/trace-break.c: Likewise.
14292 * gdb.trace/trace-mt.c (thread_function): Likewise.
14293 * gdb.trace/ftrace.c (marker): Likewise.
14294 * gdb.trace/trace-condition.c (marker): Likewise.
14295 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14296 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14297 is_aarch64_target.
14298
14299 2015-09-18 Doug Evans <xdje42@gmail.com>
14300
14301 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14302 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14303
14304 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14305
14306 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14307 the breakpoint.
14308
14309 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14310
14311 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14312 the pending breakpoint. Remove timeout override for "Run till
14313 MI pending breakpoint on pendfunc3 on thread 2" test.
14314
14315 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14316
14317 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14318 filename pattern.
14319
14320 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14321
14322 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14323 in breakpoint filename pattern.
14324
14325 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14326
14327 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14328
14329 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14330
14331 * gdb.linespec/explicit.exp: Check for readline support for
14332 tab-completion tests. Fix obvious typo.
14333
14334 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14335
14336 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14337 and replay.
14338
14339 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14340
14341 * gdb.btrace/non-stop.c: New.
14342 * gdb.btrace/non-stop.exp: New.
14343
14344 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14345 Yao Qi <yao.qi@linaro.org>
14346
14347 * gdb.trace/trace-condition.c: New file.
14348 * gdb.trace/trace-condition.exp: New file.
14349
14350 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
14351
14352 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14353 for testing bytecode compilation.
14354
14355 2015-09-16 Pedro Alves <palves@redhat.com>
14356 Sandra Loosemore <sandra@codesourcery.com>
14357
14358 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14359 (SECONDS): Redefine.
14360 (main): Call pthread_kill and alarm early.
14361 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14362 support.
14363 (test): If the target can't hardware step and doesn't support
14364 displaced stepping, increase the timeout.
14365
14366 2015-09-16 Pedro Alves <palves@redhat.com>
14367
14368 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14369 (enable_debug): New procedures.
14370 (test): Use them. Bail out if waiting for threads fails.
14371 (top level): Bail out if a test fails.
14372
14373 2015-09-16 Yao Qi <yao.qi@linaro.org>
14374
14375 * gdb.asm/asm-source.exp: Set asm-arch for
14376 aarch64*-*-* target.
14377 * gdb.asm/aarch64.inc: New file.
14378
14379 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14380
14381 * gdb.ada/array_of_variable_length.exp: New testcase.
14382 * gdb.ada/array_of_variable_length/foo.adb: New file.
14383 * gdb.ada/array_of_variable_length/pck.adb: New file.
14384 * gdb.ada/array_of_variable_length/pck.ads: New file.
14385
14386 2015-09-15 Doug Evans <dje@google.com>
14387
14388 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14389 of function static local variable.
14390
14391 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14392
14393 * gdb.threads/tls-so_extern.exp: New test file.
14394 * gdb.threads/tls-so_extern.c: New test file.
14395 * gdb.threads/tls-so_extern_main.c: New test file.
14396
14397 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14398
14399 * gdb.opt/solib-intra-step-lib.c: New file.
14400 * gdb.opt/solib-intra-step-main.c: New file.
14401 * gdb.opt/solib-intra-step.exp: New file.
14402
14403 2015-09-15 Pedro Alves <palves@redhat.com>
14404
14405 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14406 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14407
14408 2015-09-14 Pedro Alves <palves@redhat.com>
14409
14410 * gdb.base/hook-stop-continue.c: Delete.
14411 * gdb.base/hook-stop-continue.exp: Delete.
14412 * gdb.base/hook-stop-frame.c: Delete.
14413 * gdb.base/hook-stop-frame.exp: Delete.
14414 * gdb.base/hook-stop.c: New file.
14415 * gdb.base/hook-stop.exp: New file.
14416
14417 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14418
14419 * gdb.ada/access_to_packed_array.exp: New testcase.
14420 * gdb.ada/access_to_packed_array/foo.adb: New file.
14421 * gdb.ada/access_to_packed_array/pack.adb: New file.
14422 * gdb.ada/access_to_packed_array/pack.ads: New file.
14423
14424 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14425
14426 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14427 buffer size test.
14428
14429 2015-09-11 Don Breazeal <donb@codesourcery.com>
14430
14431 * gdb.base/foll-exec.c: Add copyright header. Fix
14432 formatting issues.
14433 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14434 (do_exec_tests): Use clean_restart in place of zap_session,
14435 and for test initialization. Fix formatting issues. Use
14436 fail in place of perror.
14437 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14438 an expect statement to match an expression with output from
14439 the program under debug.
14440 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14441 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14442 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14443 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14444 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14445
14446 2015-09-09 Doug Evans <dje@google.com>
14447
14448 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14449
14450 2015-09-09 Doug Evans <dje@google.com>
14451
14452 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14453
14454 2015-09-09 Doug Evans <dje@google.com>
14455
14456 * gdb.base/savedregs.exp: Fix typo.
14457
14458 2015-09-09 Pedro Alves <palves@redhat.com>
14459
14460 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14461
14462 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14463
14464 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14465 command actually switches threads. Give up on remaining
14466 tests if target fails to stop at breakpoint.
14467
14468 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14469
14470 * gdb.ada/funcall_char.exp: New testcase.
14471 * gdb.ada/funcall_char/foo.adb: New file.
14472
14473 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14474
14475 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14476 expected outputs. Add two testcases for completing ambiguous
14477 functions.
14478 * gdb.ada/complete/aux_pck.adb: New file.
14479 * gdb.ada/complete/aux_pck.ads: New file.
14480 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14481 Ambiguous_Func functions.
14482 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14483 * gdb.ada/complete/pck.adb: Likewise.
14484
14485 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14486
14487 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14488 failures to run the test program under GDB.
14489
14490 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
14491
14492 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14493 to C.
14494
14495 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14496
14497 * gdb.base/run-after-attach.exp: New test file.
14498 * gdb.base/run-after-attach.c: New test file.
14499
14500 2015-08-26 Don Breazeal <donb@codesourcery.com>
14501
14502 * gdb.base/foll-exec-2.c: New test program.
14503 * gdb.base/foll-exec-2.exp: New test.
14504
14505 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14506
14507 * gdb.base/nested-subp1.exp: New file.
14508 * gdb.base/nested-subp1.c: New file.
14509 * gdb.base/nested-subp2.exp: New file.
14510 * gdb.base/nested-subp2.c: New file.
14511 * gdb.base/nested-subp3.exp: New file.
14512 * gdb.base/nested-subp3.c: New file.
14513
14514 2015-08-24 Pedro Alves <palves@redhat.com>
14515
14516 * gdb.server/connect-without-multi-process.c: New file.
14517 * gdb.server/connect-without-multi-process.exp: New file.
14518
14519 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14520
14521 * gdb.opt/inline-markers.c: Make z int.
14522
14523 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14524
14525 * gdb.opt/inline-markers.c: Make z volatile.
14526
14527 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14528
14529 * gdb.opt/inline-bt.c: New volatile global z.
14530 * gdb.opt/inline-cmds.c: Likewise.
14531 * gdb.opt/inline-locals.c: Likewise.
14532 * gdb.opt/inline-markers.c: New extern global z.
14533 (marker): Use z.
14534 (inline_fn): Likewise.
14535
14536 2015-08-24 Pedro Alves <palves@redhat.com>
14537
14538 * config/m32r-stub.exp: Remove file.
14539 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14540 * gdb.base/call-rt-st.exp: Likewise.
14541 * gdb.base/call-strs.exp: Likewise.
14542 * gdb.base/default.exp: Remove references to h8300-*-hms and
14543 *-*-udi*.
14544 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14545
14546 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14547
14548 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14549 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14550 and "return" use KFAIL when GDB can not read/write the vector
14551 return value.
14552
14553 2015-08-21 Gary Benson <gbenson@redhat.com>
14554
14555 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14556
14557 2015-08-20 Pedro Alves <palves@redhat.com>
14558
14559 * gdb.server/solib-list.exp: No longer expect an interior stop in
14560 non-stop mode.
14561
14562 2015-08-20 Pedro Alves <palves@redhat.com>
14563
14564 * gdb.server/connect-stopped-target.c: New file.
14565 * gdb.server/connect-stopped-target.exp: New file.
14566
14567 2015-08-20 Pedro Alves <palves@redhat.com>
14568
14569 * gdb.dwarf2/comp-unit-lang.exp: New file.
14570 * gdb.dwarf2/comp-unit-lang.c: New file.
14571
14572 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14573
14574 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14575 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14576
14577 2015-08-19 Kevin Buettner <kevinb@redhat.com>
14578
14579 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14580 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14581
14582 2015-08-18 Doug Evans <dje@google.com>
14583 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14584
14585 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14586 skip_python_tests. New arg prompt_regexp.
14587 (skip_python_tests): New function.
14588 * lib/mi-support.exp (mi_skip_python_tests): New function.
14589 * gdb.python/py-mi-objfile-gdb.py: New file.
14590 * gdb.python/py-mi-objfile.c: New file.
14591 * gdb.python/py-mi-objfile.exp: New file.
14592
14593 2015-08-17 Keith Seitz <keiths@redhat.com>
14594
14595 * gdb.linespec/explicit.exp: Move strace test from here ...
14596 * gdb.trace/strace.exp: ... to here.
14597
14598 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14599
14600 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14601 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14602
14603 2015-08-14 Doug Evans <xdje42@gmail.com>
14604
14605 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14606 inferior before selecting a new file.
14607
14608 2015-08-14 Doug Evans <xdje42@gmail.com>
14609
14610 * gdb.mi/mi-disassemble.exp: Update.
14611 * gdb.base/disasm-optim.S: New file.
14612 * gdb.base/disasm-optim.c: New file.
14613 * gdb.base/disasm-optim.h: New file.
14614 * gdb.base/disasm-optim.exp: New file.
14615
14616 2015-08-14 Keith Seitz <keiths@redhat.com>
14617
14618 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14619 "evaluated-by".
14620
14621 2015-08-13 Joel Brobecker <brobecker@adacore.com>
14622
14623 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14624
14625 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14626
14627 * gdb.ada/fun_renaming.exp: New testcase.
14628 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14629 * gdb.ada/fun_renaming/pack.adb: New file.
14630 * gdb.ada/fun_renaming/pack.ads: New file.
14631
14632 2015-08-12 Keith Seitz <keiths@redhat.com>
14633
14634 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14635 gdb_get_line_number.
14636
14637 2015-08-12 Joel Brobecker <brobecker@adacore.com>
14638
14639 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14640 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14641 gdb.base/dso2dso.exp: New files.
14642
14643 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14644 Pedro Alves <palves@redhat.com>
14645 Keith Seitz <keiths@redhat.com>
14646
14647 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14648 GDBFLAGS.
14649
14650 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14651
14652 * gdb.base/gdbhistsize-history.exp
14653 (test_histsize_history_setting): Use save_vars.
14654 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14655 Use save_vars.
14656 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14657 * gdb.base/readline.exp: Use save_vars.
14658
14659 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14660
14661 * lib/gdb.exp (save_vars): New proc.
14662
14663 2015-08-11 Keith Seitz <keiths@redhat.com>
14664
14665 * gdb.base/help.exp: Update help_breakpoint_text.
14666
14667 2015-08-11 Keith Seitz <keiths@redhat.com>
14668
14669 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14670 (at toplevel): Call test_explicit_breakpoints.
14671 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14672 breakpoints.
14673 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14674 breakpoint conditions, "-cond".
14675
14676 2015-08-11 Keith Seitz <keiths@redhat.com>
14677
14678 * gdb.linespec/3explicit.c: New file.
14679 * gdb.linespec/cpexplicit.cc: New file.
14680 * gdb.linespec/cpexplicit.exp: New file.
14681 * gdb.linespec/explicit.c: New file.
14682 * gdb.linespec/explicit.exp: New file.
14683 * gdb.linespec/explicit2.c: New file.
14684 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14685 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14686 before using in the matching pattern.
14687 Clarify that `prefix' is a regular expression.
14688
14689 2015-08-11 Keith Seitz <keiths@redhat.com>
14690
14691 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14692 test.
14693 Add tests for missing ",FMT" and ",".
14694
14695 2015-08-10 Doug Evans <dje@google.com>
14696 Keith Seitz <keiths@redhat.com>
14697
14698 PR gdb/17960
14699 * gdb.base/completion.exp: Add location completer tests.
14700
14701 2015-08-07 Pedro Alves <palves@redhat.com>
14702
14703 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14704 tests here.
14705 (top level): Run do_test with and without displaced stepping.
14706
14707 2015-08-07 Pedro Alves <palves@redhat.com>
14708
14709 * gdb.base/valgrind-disp-step.c: New file.
14710 * gdb.base/valgrind-disp-step.exp: New file.
14711
14712 2015-08-07 Pedro Alves <palves@redhat.com>
14713
14714 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14715 Delete function.
14716 (main): Add alarm. Run an infinite loop instead of calling
14717 wait_threads.
14718 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14719 comment.
14720 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14721 Delete function.
14722 (main): Add alarm. Run an infinite loop instead of calling
14723 wait_threads.
14724 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14725 comment.
14726
14727 2015-08-07 Pedro Alves <palves@redhat.com>
14728
14729 * gdb.base/checkpoint-ns.exp: New file.
14730 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14731 standard_testfile.
14732
14733 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14734
14735 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14736 * gdb.btrace/instruction_history.exp: Update.
14737 * gdb.btrace/tsx.exp: New.
14738 * gdb.btrace/tsx.c: New.
14739
14740 2015-08-06 Pedro Alves <palves@redhat.com>
14741
14742 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14743 increase timeout.
14744 * gdb.reverse/until-precsave.exp: Bump timeouts.
14745
14746 2015-08-06 Pedro Alves <palves@redhat.com>
14747
14748 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14749
14750 2015-08-06 Pedro Alves <palves@redhat.com>
14751
14752 PR gdb/18749
14753 * gdb.threads/process-dies-while-handling-bp.c: New file.
14754 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14755
14756 2015-08-06 Pedro Alves <palves@redhat.com>
14757
14758 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14759 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14760
14761 2015-08-05 Pedro Alves <palves@redhat.com>
14762
14763 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14764 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14765
14766 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14767
14768 * gdb.base/bp-permanent.exp: Report test as unsupported if
14769 the target cannot stop at the permanent breakpoint.
14770
14771 2015-08-03 Doug Evans <dje@google.com>
14772
14773 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14774 10000.
14775
14776 2015-08-03 Doug Evans <dje@google.com>
14777
14778 * Makefile.in (workers/%.worker, build-perf): New rule.
14779 (GDB_PERFTEST_MODE): New variable.
14780 (check-perf): Use it.
14781 (clean): Clean up gdb.perf parallel build subdirs.
14782 * lib/build-piece.exp: New file.
14783 * lib/gdb.exp (make_gdb_parallel_path): New function
14784 (standard_output_file, standard_temp_file): Call it.
14785 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14786 of $GDB_PARALLEL.
14787 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14788
14789 2015-08-03 Doug Evans <dje@google.com>
14790
14791 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
14792 (LOG_FILE_NAME): New global.
14793 (TextReporter.__init__): Initialize self.txt_sum.
14794 (TextReporter.report): Add support for multiple data-points.
14795 Move report to perftest.sum, put raw data in perftest.log.
14796 (TextReporter.start): Open sum and log files.
14797 (TextReporter.end): Close sum and log files.
14798 * gdb.perf/lib/perftest/testresult.py
14799 (SingleStatisticTestResult.record): Handle multiple data-points.
14800
14801 2015-07-31 Pedro Alves <palves@redhat.com>
14802
14803 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14804 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14805 kill_wait_spawned_process instead of explicit "kill -9".
14806 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14807 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14808 kill_wait_spawned_process.
14809 * gdb.base/attach-twice.exp: Likewise.
14810 * gdb.base/attach.exp: Likewise.
14811 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14812 gdb_test_multiple.
14813 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14814 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14815 kill_wait_spawned_process.
14816 * gdb.base/valgrind-infcall.exp: Likewise.
14817 * gdb.multi/multi-attach.exp: Likewise.
14818 * gdb.python/py-prompt.exp: Likewise.
14819 * gdb.python/py-sync-interp.exp: Likewise.
14820 * gdb.server/ext-attach.exp: Likewise.
14821 * gdb.threads/attach-into-signal.exp (corefunc): Use
14822 spawn_wait_for_attach, spawn_id_get_pid and
14823 kill_wait_spawned_process.
14824 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14825 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14826 spawn_id_get_pid and kill_wait_spawned_process.
14827 * gdb.threads/attach-stopped.exp (corefunc): Use
14828 spawn_wait_for_attach, spawn_id_get_pid and
14829 kill_wait_spawned_process.
14830 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14831 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14832 kill_wait_spawned_process instead of explicit "kill -9".
14833 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14834 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14835 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14836 processes. Don't map cygwin/windows pids here. Now returns a
14837 spawn id list.
14838
14839 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14840
14841 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14842 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14843 correct patch.
14844
14845 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14846
14847 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14848
14849 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14850
14851 Reapply:
14852 2014-05-21 Mark Wielaard <mjw@redhat.com>
14853
14854 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14855
14856 2015-07-30 Pedro Alves <palves@redhat.com>
14857
14858 * linux-low.c (handle_extended_wait): Set the child's last
14859 reported status to TARGET_WAITKIND_STOPPED.
14860
14861 2015-07-30 Pedro Alves <palves@redhat.com>
14862
14863 PR threads/18600
14864 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14865 only shows inferior 1.
14866
14867 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14868 Pedro Alves <palves@redhat.com>
14869
14870 PR threads/18600
14871 * gdb.threads/fork-plus-threads.c: New file.
14872 * gdb.threads/fork-plus-threads.exp: New file.
14873
14874 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14875
14876 * gdb.base/batch-preserve-term-settings.exp
14877 (test_terminal_settings_preserved_after_cli_exit): Use
14878 send_quit_command.
14879
14880 2015-07-29 Pedro Alves <palves@redhat.com>
14881 Don Breazeal <donb@codesourcery.com>
14882
14883 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14884 output from both inferior_spawn_id and gdb_spawn_id.
14885
14886 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14887
14888 * gdb.threads/attach-into-signal.exp (corefunc): Use
14889 with_test_prefix on nested loops, uniquefying the test messages.
14890
14891 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14892
14893 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14894 commit.
14895
14896 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14897
14898 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14899 New proc.
14900 (test_terminal_settings_preserved_after_sigterm): New test.
14901
14902 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14903
14904 * gdb.base/batch-preserve-term-settings.exp
14905 (test_terminal_settings_preserved_after_cli_exit): New test.
14906
14907 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14908
14909 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14910 manipulation of saved_gdbflags.
14911 (test_terminal_settings_preserved): Remove global declaration of
14912 the unused variable pagination_prompt. Remove manipulation of
14913 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14914 GDBFLAGS.
14915
14916 2015-07-29 Pedro Alves <palves@redhat.com>
14917
14918 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14919
14920 2015-07-29 Pedro Alves <palves@redhat.com>
14921
14922 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14923 at the top.
14924
14925 2015-07-29 Pedro Alves <palves@redhat.com>
14926
14927 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14928 (main): Call gdb_unbuffer_output.
14929 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14930 (main): Call gdb_unbuffer_output.
14931 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14932 (main): Call gdb_unbuffer_output.
14933 * gdb.base/call-strs.exp: Adjust to step over the
14934 gdb_unbuffer_output call.
14935 * gdb.base/catch-gdb-caused-signals.c: Include
14936 "../lib/unbuffer_output.c".
14937 (main): Call gdb_unbuffer_output.
14938 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14939 (main): Call gdb_unbuffer_output.
14940 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14941 (main): Call gdb_unbuffer_output.
14942 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14943 (main): Call gdb_unbuffer_output.
14944 * gdb.base/shlib-call.exp: Adjust to step over the
14945 gdb_unbuffer_output call.
14946 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14947 (main): Call gdb_unbuffer_output.
14948 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14949 (main): Call gdb_unbuffer_output.
14950 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14951 (main): Rename to ...
14952 (test): ... this.
14953 (main): Reimplement.
14954 * gdb.base/varargs.exp: Run to test instead of to main.
14955 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14956 (main): Call gdb_unbuffer_output.
14957
14958 2015-07-29 Pedro Alves <palves@redhat.com>
14959
14960 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14961 factore out from mi_continue_dprintf. For call-style dprintfs,
14962 expect dprintf output out of $inferior_spawn_id.
14963 (mi_continue_dprintf): Use mi_expect_dprintf.
14964 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14965 (main): Call gdb_unbuffer_output.
14966
14967 2015-07-29 Pedro Alves <palves@redhat.com>
14968
14969 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14970 (default_mi_gdb_start): Set inferior_spawn_id instead of
14971 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14972 gdb_spawn_id.
14973 (mi_gdb_test): Always expect inferior output from both
14974 $inferior_spawn_id and $gdb_spawn_id.
14975
14976 2015-07-29 Pedro Alves <palves@redhat.com>
14977
14978 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14979 send_inferior and $inferior_spawn_id.
14980
14981 2015-07-29 Pedro Alves <palves@redhat.com>
14982
14983 * gdb.gdb/complaints.exp (test_initial_complaints)
14984 (test_serial_complaints, test_short_complaints): Use
14985 gdb_test_stdio.
14986 (test_empty_complaint): Handle $inferior_spawn_id !=
14987 $gdb_spawn_id.
14988
14989 2015-07-29 Pedro Alves <palves@redhat.com>
14990
14991 * gdb.base/varargs.exp: Use gdb_test_stdio.
14992
14993 2015-07-29 Pedro Alves <palves@redhat.com>
14994
14995 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14996
14997 2015-07-29 Pedro Alves <palves@redhat.com>
14998
14999 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15000
15001 2015-07-29 Pedro Alves <palves@redhat.com>
15002
15003 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15004 parameter into two new parameters, "inf_result" and "gdb_result".
15005 Expect inferior output and gdb output from $inferior_spawn_id and
15006 $gdb_spawn_id, respectively. Adjust all callers.
15007
15008 2015-07-29 Pedro Alves <palves@redhat.com>
15009
15010 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15011 of gdb_test_sequence.
15012
15013 2015-07-29 Pedro Alves <palves@redhat.com>
15014
15015 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15016 (saw_spurious_output): Expect inferior output from
15017 $inferior_spawn_id. Use gdb_test_stdio.
15018
15019 2015-07-29 Pedro Alves <palves@redhat.com>
15020
15021 * gdb.base/dprintf.exp: Use standard_testfile. Change
15022 prepare_for_testing call.
15023 (srcfile): Don't set.
15024 (restart): New procedure.
15025 (test_dprintf): New procecure, use to continue over dprintfs.
15026 (test_call, test_agent): New procedures, tests moved here.
15027 Restart gdb and recreate dprintfs. Adjust expected output.
15028
15029 2015-07-29 Pedro Alves <palves@redhat.com>
15030
15031 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15032
15033 2015-07-29 Pedro Alves <palves@redhat.com>
15034
15035 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15036
15037 2015-07-29 Pedro Alves <palves@redhat.com>
15038
15039 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15040 gdb_test_stdio.
15041
15042 2015-07-29 Pedro Alves <palves@redhat.com>
15043
15044 * lib/gdb.exp (gdb_test_stdio): New procedure.
15045
15046 2015-07-29 Pedro Alves <palves@redhat.com>
15047
15048 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15049
15050 2015-07-29 Pedro Alves <palves@redhat.com>
15051
15052 * gdb.base/call-signal-resume.exp: Remove check for
15053 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15054 * gdb.base/unwindonsignal.exp: Likewise.
15055 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15056 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15057
15058 2015-07-29 Pedro Alves <palves@redhat.com>
15059
15060 * gdb.base/siginfo-addr.c (pass): New function.
15061 (handler): Call it iff si_addr is correct.
15062 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15063 Set a breakpoint at "pass" and continue to it.
15064
15065 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15066
15067 * gdb.python/py-objfile.exp: Make some tests have unique names.
15068 * gdb.python/py-pp-registration.exp: Likewise.
15069
15070 2015-07-28 Pedro Alves <palves@redhat.com>
15071
15072 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15073
15074 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15075
15076 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15077
15078 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15079
15080 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15081
15082 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15083
15084 * gdb.base/gdb-sigterm-2.exp: New test.
15085
15086 2015-07-25 Doug Evans <xdje42@gmail.com>
15087
15088 Revert:
15089 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15090 (workers/%.worker, build-perf): New rule.
15091 (GDB_PERFTEST_MODE): New variable.
15092 (check-perf): Use it.
15093 (clean): Clean up gdb.perf parallel build subdirs.
15094 * lib/build-piece.exp: New file.
15095 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15096 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15097 name.
15098 (standard_temp_file): Ditto.
15099 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15100 of $GDB_PARALLEL.
15101
15102 2015-07-24 Doug Evans <dje@google.com>
15103
15104 * gdb.perf/lib/perftest/utils.py: New file.
15105 * gdb.perf/gm-hello.cc: New file.
15106 * gdb.perf/gm-pervasive-typedef.cc: New file.
15107 * gdb.perf/gm-pervasive-typedef.h: New file.
15108 * gdb.perf/gm-std.cc: New file.
15109 * gdb.perf/gm-std.h: New file.
15110 * gdb.perf/gm-use-cerr.cc: New file.
15111 * gdb.perf/gm-utils.h: New file.
15112 * gdb.perf/gmonster-null-lookup.py: New file.
15113 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15114 * gdb.perf/gmonster-print-cerr.py: New file.
15115 * gdb.perf/gmonster-ptype-string.py: New file.
15116 * gdb.perf/gmonster-runto-main.py: New file.
15117 * gdb.perf/gmonster-select-file.py: New file.
15118 * gdb.perf/gmonster1-null-lookup.exp: New file.
15119 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15120 * gdb.perf/gmonster1-print-cerr.exp: New file.
15121 * gdb.perf/gmonster1-ptype-string.exp: New file.
15122 * gdb.perf/gmonster1-runto-main.exp: New file.
15123 * gdb.perf/gmonster1-select-file.exp: New file.
15124 * gdb.perf/gmonster1.cc: New file.
15125 * gdb.perf/gmonster1.exp: New file.
15126 * gdb.perf/gmonster2-null-lookup.exp: New file.
15127 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15128 * gdb.perf/gmonster2-print-cerr.exp: New file.
15129 * gdb.perf/gmonster2-ptype-string.exp: New file.
15130 * gdb.perf/gmonster2-runto-main.exp: New file.
15131 * gdb.perf/gmonster2-select-file.exp: New file.
15132 * gdb.perf/gmonster2.cc: New file.
15133 * gdb.perf/gmonster2.exp: New file.
15134
15135 2015-07-24 Doug Evans <dje@google.com>
15136
15137 * gdb.perf/README: New file.
15138 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15139 * lib/gen-perf-test.exp: New file.
15140
15141 2015-07-24 Doug Evans <dje@google.com>
15142
15143 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15144 (PerfTest::startup): New function.
15145 (PerfTest::run): Return result of calling body.
15146 (PerfTest::assemble): Rewrite.
15147 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15148 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15149 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15150 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15151 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15152
15153 2015-07-24 Doug Evans <dje@google.com>
15154
15155 * lib/gdb.exp (clean_restart): Make executable optional.
15156
15157 2015-07-24 Doug Evans <dje@google.com>
15158
15159 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15160 compiler_info references.
15161 * gdb.cp/temargs.exp: Ditto.
15162 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15163 (get_compiler_info): Early exit if already computed. Set compiler_info
15164 to "unknown" if there was a problem.
15165 (test_compiler_info): Add function comment. Call get_compiler_info.
15166
15167 2015-07-24 Doug Evans <dje@google.com>
15168
15169 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15170 (workers/%.worker, build-perf): New rule.
15171 (GDB_PERFTEST_MODE): New variable.
15172 (check-perf): Use it.
15173 (clean): Clean up gdb.perf parallel build subdirs.
15174 * lib/build-piece.exp: New file.
15175 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15176 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15177 name.
15178 (standard_temp_file): Ditto.
15179 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15180 of $GDB_PARALLEL.
15181
15182 2015-07-24 Doug Evans <dje@google.com>
15183
15184 * lib/future.exp (gdb_default_target_compile): New option
15185 "early_flags".
15186 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15187 --as-needed.
15188
15189 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15190
15191 * gdb.base/catch-syscall.exp: Call gdb_exit before
15192 gdb_skip_xml_test.
15193
15194 2015-07-24 Pedro Alves <palves@redhat.com>
15195
15196 * gdb.python/py-events.exp: Accept output between the stop event
15197 and the prompt.
15198 * gdb.python/py-evsignal.exp: Likewise.
15199 * gdb.python/py-evthreads.exp: Likewise.
15200
15201 2015-07-24 Pedro Alves <palves@redhat.com>
15202
15203 PR gdb/18717
15204 * gdb.threads/non-ldr-exit.c: New file.
15205 * gdb.threads/non-ldr-exit.exp: New file.
15206
15207 2015-07-24 Yao Qi <yao.qi@linaro.org>
15208
15209 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15210 restarting process.
15211
15212 2015-07-24 Yao Qi <yao.qi@linaro.org>
15213
15214 * gdb.server/ext-restart.exp: New file.
15215
15216 2015-07-24 Yao Qi <yao.qi@linaro.org>
15217
15218 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15219 argument options.
15220 * gdb.server/ext-wrapper.exp: New file.
15221
15222 2015-07-23 Doug Evans <dje@google.com>
15223
15224 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15225 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15226
15227 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15228
15229 * gdb.ada/var_arr_typedef.exp: New testcase.
15230 * gdb.ada/var_arr_typedef/pack.adb: New file.
15231 * gdb.ada/var_arr_typedef/pack.ads: New file.
15232 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15233
15234 2015-07-20 Joel Brobecker <brobecker@adacore.com>
15235
15236 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15237
15238 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15239
15240 * gdb.arch/i386-biarch-core.exp: Replace istarget
15241 by "complete set gnutarget". Remove expectation for the "core-file"
15242 command.
15243
15244 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15245
15246 Revert the previous commit:
15247 Tests for validate symbol file using build-id.
15248
15249 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15250
15251 Tests for validate symbol file using build-id.
15252 * gdb.base/solib-mismatch-lib.c: New file.
15253 * gdb.base/solib-mismatch-libmod.c: New file.
15254 * gdb.base/solib-mismatch.c: New file.
15255 * gdb.base/solib-mismatch.exp: New file.
15256
15257 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15258
15259 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15260 nios2-*-linux*.
15261 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15262 * gdb.base/siginfo.exp: Likewise.
15263 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15264
15265 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15266
15267 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15268 Move it to ...
15269 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15270 ... here.
15271 * gdb.trace/range-stepping.exp: Check that the target supports
15272 range stepping.
15273
15274 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15275
15276 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15277
15278 2015-07-14 Pedro Alves <palves@redhat.com>
15279
15280 * gdb.base/killed-outside.exp: New file.
15281 * gdb.base/killed-outside.c: New file.
15282
15283 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15284
15285 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15286 (n at main): New.
15287 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15288
15289 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15290
15291 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15292 infcall tests instead of setting up for KFAIL.
15293
15294 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15295
15296 * gdb.btrace/record_goto-step.exp: New.
15297
15298 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15299
15300 PR compile/18484
15301 * gdb.compile/compile.c (struct struct_type): Add volatile to
15302 selffield's type.
15303 * gdb.compile/compile.exp
15304 (compile code struct_object.selffield = &struct_object): Skip further
15305 struct_object tests if this one xfails.
15306
15307 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
15308
15309 PR exp/18617
15310 * gdb.trace/ax.exp: Add test.
15311
15312 2015-07-07 Yao Qi <yao.qi@linaro.org>
15313
15314 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15315 instead of istarget "aarch64*-*-*".
15316 * gdb.arch/aarch64-fp.exp: Likewise.
15317 * gdb.base/float.exp: Likewise.
15318 * gdb.reverse/aarch64.exp: Likewise.
15319 * lib/gdb.exp (is_aarch64_target): New proc.
15320
15321 2015-07-07 Yao Qi <yao.qi@linaro.org>
15322
15323 * lib/gdb.exp (is_aarch32_target): New proc.
15324 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15325 instead of "istarget "arm*-*-*"".
15326 * gdb.arch/arm-disp-step.exp: Likewise.
15327 * gdb.arch/thumb-bx-pc.exp: Likewise.
15328 * gdb.arch/thumb-prologue.exp: Likewise.
15329 * gdb.arch/thumb-singlestep.exp: Likewise.
15330 * gdb.base/disp-step-syscall.exp: Likewise.
15331 * gdb.base/float.exp: Likewise.
15332
15333 2015-07-07 Yao Qi <yao.qi@linaro.org>
15334
15335 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15336 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15337
15338 2015-07-07 Yao Qi <yao.qi@linaro.org>
15339
15340 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15341 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15342 if it exists.
15343 * gdb.multi/multi-arch.exp: Likewise.
15344
15345 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15346
15347 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15348 print.
15349
15350 2015-07-07 Yao Qi <yao.qi@linaro.org>
15351
15352 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15353
15354 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15355
15356 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15357 '[' and ']' characters.
15358
15359 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15360
15361 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15362
15363 2015-06-29 Pedro Alves <palves@redhat.com>
15364
15365 PR threads/18127
15366 * gdb.threads/hand-call-new-thread.c: New file.
15367 * gdb.threads/hand-call-new-thread.c: New file.
15368
15369 2015-06-26 Keith Seitz <keiths@redhat.com>
15370 Doug Evans <dje@google.com>
15371
15372 PR 16253
15373 * gdb.cp/var-tag-2.cc: New file.
15374 * gdb.cp/var-tag-3.cc: New file.
15375 * gdb.cp/var-tag-4.cc: New file.
15376 * gdb.cp/var-tag.cc: New file.
15377 * gdb.cp/var-tag.exp: New file.
15378
15379 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15380
15381 * gdb.base/history-duplicates.exp: New test.
15382
15383 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15384
15385 * gdb.base/completion.exp: Test the completion of the "focus"
15386 command.
15387
15388 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15389
15390 * gdb.arch/amd64-prologue-skip.S: New file.
15391 * gdb.arch/amd64-prologue-skip.exp: New file.
15392
15393 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15394
15395 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15396 is_address_zero_readable check.
15397
15398 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15399
15400 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15401 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15402
15403 2015-06-24 Yao Qi <yao.qi@linaro.org>
15404
15405 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15406 linux targets.
15407
15408 2015-06-24 Yao Qi <yao.qi@linaro.org>
15409
15410 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15411 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15412 * gdb.base/siginfo-thread.exp: Likewise.
15413
15414 2015-06-22 Yao Qi <yao.qi@linaro.org>
15415
15416 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15417
15418 2015-06-22 Yao Qi <yao.qi@linaro.org>
15419
15420 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15421 aarch64*-*-*.
15422 (skip_hw_watchpoint_tests): Likewise.
15423
15424 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15425
15426 * gdb.base/gdbinit-history.exp: Test the interaction between
15427 setting GDBHISTSIZE and setting the history size via .gdbinit.
15428
15429 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15430
15431 PR gdb/16999
15432 * gdb.base/gdbhistsize-history.exp: New test.
15433
15434 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15435
15436 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15437 with GDBHISTSIZE.
15438 * gdb.base/readline.exp: Likewise.
15439
15440 2015-06-17 Yao Qi <yao.qi@linaro.org>
15441
15442 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15443 line.
15444
15445 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15446
15447 * gdb.base/gdbinit-history.exp: Add test case to check that
15448 an unlimited history file does not get truncated on exit.
15449
15450 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15451
15452 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15453 (VECTOR): New macro. Use it...
15454 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15455 ...for these typedefs.
15456 (int8, char1, int1, double1): New typedefs.
15457 (struct just_int2, struct two_int2): New structures.
15458 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15459 (add_structvecs, add_singlevecs): New functions.
15460 (main): Call add_some_intvecs twice.
15461 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15462 the compile and exit upon failure. Try compiling for the "native"
15463 architecture. Test inferior function calls with vector arguments
15464 and vector return value handling with "finish" and "return".
15465
15466 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15467
15468 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15469 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15470 PE file.
15471 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15472
15473 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15474
15475 PR breakpoints/16465
15476 * gdb.mi/mi-dprintf-pending.c: New file.
15477 * gdb.mi/mi-dprintf-pending.exp: New test.
15478 * gdb.mi/mi-dprintf-pendshr.c: New file.
15479
15480 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15481 Mircea Gherzan <mircea.gherzan@intel.com>
15482
15483 * gdb.arch/i386-mpx-map.c: New file.
15484 * gdb.arch/i386-mpx-map.exp: New File.
15485
15486 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15487
15488 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15489 * gdb.arch/i386-mpx.exp: Indentation fixed.
15490
15491 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15492
15493 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15494 function and improved indentation.
15495 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15496 gdb_test_multiple. Added additional tests to skip the test.
15497
15498 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15499
15500 * gdb.arch/i386-avx512.c: Change path in include file.
15501 * gdb.arch/i386-avx512.exp: Change include dir path
15502 compilation flag.
15503 * gdb.arch/i386-mpx.c: Change path in include file.
15504 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15505 flag.
15506
15507 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15508
15509 * gdb.compile/compile-print.exp (compile print *vararray@3)
15510 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15511
15512 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15513
15514 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15515 (do not keep jit in memory): ... this.
15516 (expect 5): Change it to ...
15517 (expect no 5): ... this.
15518
15519 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15520
15521 PR gdb/15564
15522 * gdb.mi/mi-detach.exp: New file.
15523
15524 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15525
15526 PR symtab/18392
15527 * gdb.arch/amd64-tailcall-self.S: New file.
15528 * gdb.arch/amd64-tailcall-self.c: New file.
15529 * gdb.arch/amd64-tailcall-self.exp: New file.
15530
15531 2015-05-28 Don Breazeal <donb@codesourcery.com>
15532
15533 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15534 tests for remote targets by checking is_target_gdbserver.
15535
15536 2015-05-27 Doug Evans <dje@google.com>
15537
15538 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15539 * gdb.dwarf2/opaque-type-lookup.c: New file.
15540 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15541
15542 2015-05-26 Doug Evans <dje@google.com>
15543
15544 * gdb.cp/iostream.cc: New file.
15545 * gdb.cp/iostream.exp: New file.
15546
15547 2015-05-26 Doug Evans <dje@google.com>
15548
15549 * gdb.dwarf2/dw2-op-call.exp: Update.
15550 * gdb.dwarf2/dw4-sig-types.exp: Update.
15551 * gdb.dwarf2/implptr.exp: Update.
15552 * gdb.mi/mi-cmd-param-changed.exp: Update.
15553
15554 2015-05-26 Doug Evans <dje@google.com>
15555
15556 * gdb.python/py-lazy-string.c: New file.
15557 * gdb.python/py-lazy-string.exp: New file.
15558 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15559 (main): Update. Add estring3.
15560 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15561 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15562
15563 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15564 Yao Qi <yao.qi@linaro.org>
15565
15566 * gdb.reverse/aarch64.c: New.
15567 * gdb.reverse/aarch64.exp: New.
15568
15569 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15570
15571 * lib/gdb.exp (supports_process_record): Return true for
15572 aarch64*-linux*.
15573 (supports_reverse): Likewise.
15574
15575 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15576
15577 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15578 Use with_test_prefix.
15579
15580 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15581
15582 * gdb.base/completion.exp: Add test for completion of layout
15583 names.
15584
15585 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15586
15587 * lib/gdb.exp (skip_tui_tests): New proc.
15588 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15589
15590 2015-05-19 Pedro Alves <palves@redhat.com>
15591
15592 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15593 Save the whole env array instead of just HOME. Unset HISTSIZE in
15594 the environment while testing. Restore whole environment
15595 afterwards.
15596
15597 2015-05-16 Doug Evans <xdje42@gmail.com>
15598
15599 * gdb.guile/scm-ports.c: New file.
15600 * gdb.guile/scm-ports.exp: Add memory port tests.
15601
15602 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15603
15604 * gdb.compile/compile-print.c: New file.
15605 * gdb.compile/compile-print.exp: New file.
15606
15607 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15608
15609 * gdb.compile/compile-ops.exp: Cast param to void.
15610 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15611 (compile code struct_object.selffield = &struct_object): Add xfail.
15612
15613 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15614
15615 * gdb.ada/arr_enum_with_gap: New testcase.
15616
15617 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15618
15619 * gdb.ada/byte_packed_arr: New testcase.
15620
15621 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15622
15623 * gdb.ada/pckd_neg: New testcase.
15624
15625 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15626
15627 PR gdb/17820
15628 * gdb.base/gdbinit-history.exp: New test.
15629 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15630 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15631
15632 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15633
15634 * gdb.python/py-xmethods.cc: Enhance test case.
15635 * gdb.python/py-xmethods.exp: New tests.
15636 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15637 function.
15638 (B_indexoper): Likewise.
15639 (global_dm_list) : Add new xmethod worker functions.
15640
15641 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15642
15643 * gdb.base/coredump-filter.exp: Correctly unset
15644 "coredump_var_addr" array.
15645
15646 2015-05-08 Pedro Alves <palves@redhat.com>
15647
15648 * gdb.server/non-existing-program.exp: Unset spawn_id.
15649
15650 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15651
15652 PR python/18291
15653 * gdb.python/py-xmethods.exp: Add tests.
15654
15655 2015-05-08 Yao Qi <yao.qi@linaro.org>
15656
15657 PR gdb/18208
15658 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15659 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15660 function set_coredump_filter, and remove remote_exec call.
15661 Remove argument ipid. Callers update.
15662 (top level): Don't get inferior's PID.
15663
15664 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15665
15666 * gdb.base/watch_thread_num.exp: Skip test on targets without
15667 access watchpoints.
15668
15669 2015-05-06 Pedro Alves <palves@redhat.com>
15670
15671 PR server/18081
15672 * gdb.server/non-existing-program.exp: New file.
15673
15674 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15675
15676 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15677
15678 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15679
15680 * gdb.ada/out_of_line_in_inlined: New testcase.
15681
15682 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15683
15684 * gdb.ada/var_rec_arr: New testcase.
15685
15686 2015-04-30 Yao Qi <yao.qi@linaro.org>
15687
15688 * gdb.base/break-idempotent.exp: If
15689 skip_hw_watchpoint_multi_tests returns true, skip the tests
15690 on "rwatch" and "awatch".
15691
15692 2015-04-30 Yao Qi <yao.qi@linaro.org>
15693
15694 * gdb.base/relativedebug.exp: Invoke gdb command
15695 "info sharedlibrary", and if libc.so doesn't have debug info,
15696 skip the test.
15697
15698 2015-04-29 Doug Evans <dje@google.com>
15699
15700 * gdb.python/py-xmethods.exp: Add ptype tests.
15701 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15702 get_result_type method.
15703
15704 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15705
15706 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15707 the target does not support hardware watchpoints.
15708
15709 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15710
15711 * gdb.base/break-always.exp: Abort testing if writing to memory
15712 causes an error.
15713
15714 2015-04-28 Doug Evans <dje@google.com>
15715
15716 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15717 * gdb.python/py-pp-registration.exp: ... here. New file.
15718 * gdb.python/py-pp-registration.c: New file.
15719 * gdb.python/py-pp-registration.py: New file.
15720
15721 2015-04-28 Doug Evans <dje@google.com>
15722
15723 * gdb.python/py-bad-printers.c: New file.
15724 * gdb.python/py-bad-printers.py: New file.
15725 * gdb.python/py-bad-printers.exp: New file.
15726
15727 2015-04-28 Sasha Smundak <asmundak@google.com>
15728
15729 * gdb.python/py-type.exp: New test.
15730
15731 2015-04-28 Andy Wingo <wingo@igalia.com>
15732
15733 * gdb.python/py-parameter.exp:
15734 * gdb.guile/scm-parameter.exp: Escape the path that we are
15735 matching against, as it might contain characters that are special
15736 to regular expressions.
15737
15738 2015-04-27 Joel Brobecker <brobecker@adacore.com>
15739
15740 * gdb.ada/rec_comp: New testcase.
15741
15742 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15743
15744 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15745 before using it.
15746
15747 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15748
15749 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15750 new tests for verilog output.
15751
15752 2015-04-24 Yao Qi <yao.qi@linaro.org>
15753
15754 * boards/remote-gdbserver-on-localhost.exp: New file.
15755
15756 2015-04-23 Pedro Alves <palves@redhat.com>
15757
15758 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15759 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15760 "end of file", remove $inferior_spawn_id from the indirect list.
15761
15762 2015-04-23 Pedro Alves <palves@redhat.com>
15763
15764 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15765
15766 2015-04-23 Pedro Alves <palves@redhat.com>
15767
15768 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15769 on $any_spawn_id instead of only on $gdb_spawn_id.
15770
15771 2015-04-21 Pierre Muller <muller@sourceware.org>
15772
15773 PR pascal/17815
15774 * lib/pascal.exp (gpc_compile): Add new option "class".
15775 (fpc_compile): Likewise.
15776 * gdb.pascal/case-insensitive-symbols.pas: New file.
15777 * gdb.pascal/case-insensitive-symbols.exp: New file.
15778
15779 2015-04-20 Gary Benson <gbenson@redhat.com>
15780
15781 * gdb.base/attach.exp: Fix three extended remote failures.
15782
15783 2015-04-17 Gary Benson <gbenson@redhat.com>
15784
15785 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15786 the main executable over the remote protocol.
15787
15788 2015-04-16 Pedro Alves <palves@redhat.com>
15789
15790 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15791 a new gdbserver if gdbserver_reconnect_p is set.
15792
15793 2015-04-16 Pedro Alves <palves@redhat.com>
15794
15795 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15796 is set, don't exit gdbserver.
15797
15798 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15799
15800 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15801 appropriate .insn, such that an older assembler can be used.
15802 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15803 the z/Architecture instruction set on 31-bit targets as well.
15804
15805 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15806
15807 * gdb.go/handcall.exp: Remove all logic related to the first
15808 breakpoint and rely on go_runto_main instead.
15809 * gdb.go/strings.exp: Likewise.
15810 * gdb.go/unsafe.exp: Likewise.
15811 * gdb.go/hello.exp: Likewise. Also rename the remaining
15812 breakpoint marker to "breakpoint 1".
15813 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15814 * gdb.go/strings.go: Likewise.
15815 * gdb.go/unsafe.go: Likewise.
15816 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15817 "set breakpoint 2 here" and rename the remaining breakpoint marker
15818 to "breakpoint 1".
15819
15820 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15821
15822 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15823 if itertools.imap is not present.
15824 * gdb.python/py-objfile.exp: Add parentheses.
15825 * gdb.python/py-type.exp: Same.
15826 * gdb.python/py-unwind-maint.py: Same.
15827
15828 2015-04-15 Yao Qi <yao.qi@linaro.org>
15829
15830 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15831 of ":$ptr_size" and set its form explicitly.
15832
15833 2015-04-15 Pedro Alves <palves@redhat.com>
15834 Yao Qi <yao.qi@linaro.org>
15835
15836 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15837 timeout by factor of 4.
15838 (test_regular_watch): Likewise.
15839 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15840 * gdb.reverse/sigall-reverse.exp: Likewise.
15841 * gdb.reverse/until-precsave.exp: Likewise.
15842 * lib/gdb.exp (with_timeout_factor): New proc.
15843 (gdb_expect): Move some code to ...
15844 (get_largest_timeout): ... here. New procedure.
15845
15846 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
15847
15848 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15849
15850 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15851
15852 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15853 to write to the .text section.
15854
15855 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15856
15857 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15858 Handle the case of targets that do not provide PID information.
15859
15860 2015-04-13 Yao Qi <yao.qi@linaro.org>
15861
15862 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15863 and use expect instead of gdb_expect.
15864
15865 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15866
15867 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15868 "coredump_var_addr" to avoid naming conflict with other testcases.
15869
15870 2015-04-10 Pedro Alves <palves@redhat.com>
15871
15872 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15873 gdb_test_sequence and gdb_assert.
15874
15875 2015-04-10 Pedro Alves <palves@redhat.com>
15876
15877 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15878 test messages that don't include the breakpoint address.
15879
15880 2015-04-10 Yao Qi <yao.qi@linaro.org>
15881
15882 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15883 false for some offset and width combinations which aren't
15884 supported by linux kernel.
15885
15886 2015-04-10 Pedro Alves <palves@redhat.com>
15887
15888 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15889 procedure, factored out from ...
15890 (top level): ... here. Add "set displaced-stepping" testing axis.
15891 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15892 parameter "displaced". Use it.
15893 (top level): Use foreach and add "set displaced-stepping" testing
15894 axis.
15895
15896 2015-04-10 Pedro Alves <palves@redhat.com>
15897
15898 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15899 Remove comment.
15900 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15901 both the address of the instruction that triggers the watchpoint
15902 and the address of the instruction immediately after, and use
15903 those addresses for the test. Fix comment.
15904
15905 2015-04-10 Pedro Alves <palves@redhat.com>
15906
15907 * gdb.base/sigstep.exp (breakpoint_to_handler)
15908 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15909 Test "backtrace" in handler.
15910 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15911 (top level): Add new "displaced" test axis to
15912 breakpoint_to_handler, breakpoint_to_handler_entry and
15913 breakpoint_over_handler.
15914
15915 2015-04-10 Pedro Alves <palves@redhat.com>
15916
15917 PR gdb/18216
15918 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15919
15920 2015-04-10 Yao Qi <yao.qi@linaro.org>
15921
15922 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15923 (test_add_rn_pc): New function.
15924 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15925 (top level): Invoke test_add_rn_pc.
15926
15927 2015-04-10 Pedro Alves <palves@redhat.com>
15928
15929 PR gdb/13858
15930 * gdb.base/step-over-no-symbols.exp: New file.
15931
15932 2015-04-09 Andy Wingo <wingo@igalia.com>
15933
15934 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15935 after the Python tests.
15936
15937 2015-04-08 Keith Seitz <keiths@redhat.com>
15938
15939 PR python/16699
15940 * gdb.python/py-completion.exp: New tests for completion.
15941 * gdb.python/py-completion.py (CompleteLimit1): New class.
15942 (CompleteLimit2): Likewise.
15943 (CompleteLimit3): Likewise.
15944 (CompleteLimit4): Likewise.
15945 (CompleteLimit5): Likewise.
15946 (CompleteLimit6): Likewise.
15947 (CompleteLimit7): Likewise.
15948
15949 2015-04-08 Pedro Alves <palves@redhat.com>
15950
15951 PR gdb/18214
15952 PR gdb/18216
15953 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15954 function.
15955 (main): Install it as SIGUSR1 handler.
15956 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15957 parameter. Always use "setup" as prefix. Toggle "set
15958 displaced-stepping" off/on depending on global. Don't switch to
15959 thread 1 here.
15960 (top level): Add displaced stepping "off/on" test axis. Update
15961 "setup" calls. Wrap each subtest with with_test_prefix. Test
15962 continuing with a queued signal in each thread.
15963
15964 2015-04-08 Pedro Alves <palves@redhat.com>
15965
15966 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15967 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15968 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15969 Return early if running to main fails.
15970 * gdb.trace/while-stepping.exp: Likewise.
15971
15972 2015-04-07 Pedro Alves <palves@redhat.com>
15973
15974 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15975 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15976 interact with inferior program.
15977
15978 2015-04-07 Pedro Alves <palves@redhat.com>
15979
15980 * lib/gdb.exp (inferior_spawn_id): New global.
15981 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15982 spawn id after processing the user code.
15983 (default_gdb_start): Set inferior_spawn_id.
15984 (send_inferior): New procedure.
15985 * lib/gdbserver-support.exp (gdbserver_start): Set
15986 inferior_spawn_id.
15987 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15988
15989 2015-04-07 Pedro Alves <palves@redhat.com>
15990
15991 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15992 * lib/gdbserver-support.exp (gdbserver_start): Make
15993 $server_spawn_id global.
15994 (gdbserver_start): Don't wait for gdbserver's spawn id with
15995 expect_background.
15996 (close_gdbserver): New procedure.
15997 (gdb_exit): Rename the default version and reimplement.
15998
15999 2015-04-07 Pedro Alves <palves@redhat.com>
16000
16001 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
16002 append the substituted item, not the original item.
16003
16004 2015-04-07 Pedro Alves <palves@redhat.com>
16005
16006 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16007 gdb_expect.
16008
16009 2015-04-07 Pedro Alves <palves@redhat.com>
16010
16011 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16012 output appearing once only.
16013
16014 2015-04-07 Pedro Alves <palves@redhat.com>
16015
16016 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16017 that doesn't expect anything. Return early if running to main
16018 fails.
16019
16020 2015-04-07 Yao Qi <yao.qi@linaro.org>
16021
16022 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16023 (child_function): Call alarm.
16024 (main): Move call to alarm into the loop.
16025 * gdb.threads/non-stop-fair-events.exp: Build program with
16026 -DTIMEOUT=$timeout.
16027
16028 2015-04-06 Doug Evans <xdje42@gmail.com>
16029
16030 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16031 Fix dest parameter to board_info.
16032 (fpc_compile): Ditto.
16033 (gdb_compile_pascal): Rename dest arg to destfile.
16034
16035 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16036
16037 * gdb.ada/funcall_ref.exp: New file.
16038 * gdb.ada/funcall_ref/foo.adb: New file.
16039
16040 2015-04-02 Yao Qi <yao.qi@linaro.org>
16041
16042 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16043 is remote.
16044
16045 2015-04-02 Gary Benson <gbenson@redhat.com>
16046
16047 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16048
16049 2015-04-01 Sasha Smundak <asmundak@google.com>
16050
16051 * gdb.python/py-unwind-maint.c: New file.
16052 * gdb.python/py-unwind-maint.exp: New test.
16053 * gdb.python/py-unwind-maint.py: New file.
16054 * gdb.python/py-unwind.c: New file.
16055 * gdb.python/py-unwind.exp: New test.
16056 * gdb.python/py-unwind.py: New test.
16057
16058 2015-04-01 Pedro Alves <palves@redhat.com>
16059
16060 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16061 to fail instead of non-existent $test.
16062
16063 2015-04-01 Pedro Alves <palves@redhat.com>
16064
16065 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16066 GDBFLAGS if not empty.
16067
16068 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16069
16070 * gdb.ada/complete.exp: Remove "multi_line".
16071 * gdb.ada/info_exc.exp: Remove "multi_line".
16072 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16073 * gdb.ada/ptype_field.exp: Remove "multi_line".
16074 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16075 * gdb.ada/tagged.exp: Remove "multi_line".
16076 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16077 [multi_line ...]
16078 * gdb.btrace/delta.exp: Likewise.
16079 * gdb.btrace/exception.exp: Likewise.
16080 * gdb.btrace/function_call_history.exp: Likewise.
16081 * gdb.btrace/instruction_history.exp: Likewise.
16082 * gdb.btrace/nohist.exp: Likewise.
16083 * gdb.btrace/record_goto.exp: Likewise.
16084 * gdb.btrace/segv.exp: Likewise.
16085 * gdb.btrace/stepi.exp: Likewise.
16086 * gdb.btrace/tailcall.exp: Likewise.
16087 * gdb.btrace/unknown_functions.exp: Likewise.
16088 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16089 * lib/gdb.exp: Add the "multi_line" helper.
16090
16091 2015-04-01 Pedro Alves <palves@redhat.com>
16092
16093 * gdb.threads/tid-reuse.c: New file.
16094 * gdb.threads/tid-reuse.exp: New file.
16095
16096 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16097
16098 PR corefiles/16092
16099 * gdb.base/coredump-filter.c: New file.
16100 * gdb.base/coredump-filter.exp: Likewise.
16101
16102 2015-03-27 Petr Machata <pmachata@redhat.com>
16103
16104 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16105 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16106 (Dwarf::assemble): Initialize them.
16107 (Dwarf::lines): New function.
16108
16109 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16110
16111 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16112 SYMBOL_PREFIX for x86_64-*-cygwin.
16113
16114 2015-03-26 Andy Wingo <wingo@igalia.com>
16115
16116 PR symtab/18148
16117 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16118 const_value but not a location.
16119 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16120 location defined in non-main CUs are visible.
16121
16122 2015-03-26 Yao Qi <yao.qi@linaro.org>
16123
16124 PR testsuite/18139
16125 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16126 Add a line number entry for the same line.
16127 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16128 Add a line number entry for the same line.
16129
16130 2015-03-26 Yao Qi <yao.qi@linaro.org>
16131
16132 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16133 .int 0.
16134 (func): Likewise. Add .Lfunc_1 label.
16135 Use .Lfunc_1 label.
16136 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16137 .int 0.
16138 (func): Likewise.
16139 Use .Lfunc_1 label.
16140
16141 2015-03-26 Yao Qi <yao.qi@linaro.org>
16142
16143 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16144 Call gdb_compile instead to compile each .s files without debug
16145 information.
16146
16147 2015-03-26 Yao Qi <yao.qi@linaro.org>
16148
16149 * gdb.base/savedregs.exp (process_saved_regs): Make
16150 "Saved registers:" optional in the pattern.
16151
16152 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16153
16154 * gdb.btrace/next.exp: Merged into step.exp.
16155 * gdb.btrace/finish.exp: Merged into step.exp.
16156 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16157 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16158 "record goto" and checking the exact replay position.
16159 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16160 check for "Recording format" in "info record" output.
16161 * gdb.btrace/record_goto.exp: Choose test file based on target.
16162 * gdb.btrace/x86-record_goto.S: Renamed into ...
16163 * gdb.btrace/x86_64-record_goto.S: ... this.
16164 * gdb.btrace/i686-record_goto.S: New.
16165 * gdb.btrace/x86-tailcall.S: Renamed into ...
16166 * gdb.btrace/x86_64-tailcall.S: ... this.
16167 * gdb.btrace/i686-tailcall.S: New.
16168 * gdb.btrace/x86-tailcall.c: Renamed into ...
16169 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16170 separate statements. Update test.
16171 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16172 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16173 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16174 * gdb.btrace/tailcall.exp: Choose test file based on target.
16175 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16176
16177 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16178
16179 * gdb.btrace/exception.exp: Increase BTS buffer size.
16180
16181 2015-03-24 Pedro Alves <palves@redhat.com>
16182
16183 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16184
16185 2015-03-24 Pedro Alves <palves@redhat.com>
16186
16187 * gdb.threads/schedlock.exp (test_step): No longer expect that
16188 "set scheduler-locking step" with "next" over a function call runs
16189 threads unlocked.
16190
16191 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16192
16193 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16194
16195 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16196
16197 PR breakpoints/16466
16198 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16199 * gdb.mi/mi-pending.c (thread_func): New function.
16200 (int main): Add threading support required.
16201 * gdb.mi/mi-pending.exp: Add tests for this issue.
16202 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16203 (pendfunc2): Remove stdio dependency.
16204 * gdb.mi/mi-pendshr2.c: New file.
16205
16206 2015-03-23 Keith Seitz <keiths@redhat.com>
16207
16208 * gdb.linespec/keywords.c: New file.
16209 * gdb.linespec/keywords.exp: New file.
16210
16211 2015-03-23 Keith Seitz <keiths@redhat.com>
16212
16213 PR gdb/18021
16214 * gdb.dwarf2/staticvirtual.exp: New test.
16215
16216 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16217
16218 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16219 * README: Remove HP-UX and gdb.hp.
16220 (configuration):
16221 * configure: Regenerate.
16222 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16223 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16224 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16225 gdb.hp/gdb.defects/Makefile.
16226 * gdb.hp/Makefile.in: File deleted.
16227 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16228 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16229 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16230 * gdb.hp/gdb.aCC/run.c: File deleted.
16231 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16232 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16233 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16234 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16235 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16236 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16237 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16238 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16239 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16240 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16241 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16242 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16243 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16244 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16245 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16246 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16247 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16248 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16249 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16250 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16251 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16252 * gdb.hp/gdb.compat/average.c: File deleted.
16253 * gdb.hp/gdb.compat/sum.c: File deleted.
16254 * gdb.hp/gdb.compat/xdb.c: File deleted.
16255 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16256 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16257 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16258 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16259 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16260 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16261 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16262 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16263 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16264 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16265 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16266 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16267 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16268 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16269 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16270 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16271 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16272 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16273 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16274 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16275 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16276 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16277 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16278 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16279 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16280 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16281 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16282 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16283 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16284 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16285 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16286 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16287 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16288 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16289 * gdb.hp/tools/odump: File deleted.
16290
16291 2015-03-19 Pedro Alves <palves@redhat.com>
16292
16293 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16294 (saw_thread_3): New globals.
16295 (top level): Increment them when an event for the corresponding
16296 thread is seen.
16297 (no thread starvation): New test.
16298
16299 2015-03-19 Pedro Alves <palves@redhat.com>
16300
16301 * gdb.threads/continue-pending-status.c: New file.
16302 * gdb.threads/continue-pending-status.exp: New file.
16303
16304 2015-03-18 Pedro Alves <palves@redhat.com>
16305
16306 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16307 Use gdb_is_target_remote instead of is_remote. Use
16308 gdb_test_multiple instead of gdb_expect. Exit early if
16309 gdb_test_multiple hits its internal matches. Tighten stepi tests
16310 expected output. Fail on exit with any signal, instead of just
16311 SIGILL.
16312
16313 2015-03-18 Yao Qi <yao.qi@linaro.org>
16314
16315 PR tdep/18107
16316 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16317 variable.
16318 * gdb.base/catch-syscall.exp: Don't skip it on
16319 aarch64*-*-linux* target. Remove elements in all_syscalls.
16320 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16321 target.
16322 (setup_all_syscalls): New proc.
16323
16324 2015-03-16 Yao Qi <yao.qi@linaro.org>
16325
16326 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16327 (top level): Skip tests if valid_addr_p returns false for
16328 $cmd1 or $cmd2.
16329
16330 2015-03-11 Andy Wingo <wingo@igalia.com>
16331
16332 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16333
16334 2015-03-11 Yao Qi <yao.qi@linaro.org>
16335
16336 * gdb.base/catch-syscall.exp: Fix typo in comments.
16337
16338 2015-03-11 Yao Qi <yao.qi@linaro.org>
16339
16340 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16341
16342 2015-03-09 Pedro Alves <palves@redhat.com>
16343
16344 * dg-extract-results.py: Delete.
16345
16346 2015-03-09 Pedro Alves <palves@redhat.com>
16347
16348 Merge dg-extract-results.sh from GCC upstream (r218843).
16349
16350 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16351 * dg-extract-results.sh: Use --text with grep to avoid issues with
16352 binary files. Fall back to cat -v, if that doesn't work.
16353
16354 2015-03-05 Pedro Alves <palves@redhat.com>
16355
16356 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16357
16358 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16359
16360 * lib/mi-support.exp (mi_expect_interrupt): Accept
16361 alternative event for when in all-stop mode.
16362
16363 2015-03-04 Pedro Alves <palves@redhat.com>
16364
16365 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16366
16367 2015-03-04 Mark Kettenis <kettenis@gnu.org>
16368
16369 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16370
16371 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16372
16373 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16374 regexps for GDB's current line display, accept a hex address
16375 preceding the line number.
16376
16377 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16378
16379 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16380 the 'arch1' variable for "s390*-linux*" targets.
16381
16382 2015-03-04 Pedro Alves <palves@redhat.com>
16383
16384 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16385 (main): Pass missing retval argument to pthread_join call.
16386
16387 2015-03-02 Pedro Alves <palves@redhat.com>
16388
16389 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16390 (top level): Call do_test with non-stop as well.
16391
16392 2015-03-02 Pedro Alves <palves@redhat.com>
16393
16394 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16395 -1.
16396
16397 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16398
16399 * gdb.arch/s390-vregs.exp: New test.
16400 * gdb.arch/s390-vregs.S: New file.
16401
16402 2015-02-27 Pedro Alves <palves@redhat.com>
16403
16404 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16405 call to catch_command_errors.
16406 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16407 catch_command_errors.
16408
16409 2015-02-27 Pedro Alves <palves@redhat.com>
16410
16411 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16412 "true" for boolean result.
16413 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16414 prototype of main.
16415
16416 2015-02-27 Pedro Alves <palves@redhat.com>
16417
16418 * lib/unbuffer_output.c: New file.
16419 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16420 (main): Call gdb_unbuffer_output.
16421
16422 2015-02-27 Yao Qi <yao.qi@linaro.org>
16423
16424 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16425 target.
16426
16427 2015-02-26 Doug Evans <dje@google.com>
16428
16429 * gdb.cp/class2.cc (Dbase, D): New classes.
16430 (main): New local delta.
16431 * gdb.cp/class2.exp: Test printing delta.
16432 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16433 (dynbar): New global.
16434 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16435
16436 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16437
16438 * gdb.compile/compile-ifunc.c: New file.
16439 * gdb.compile/compile-ifunc.exp: New file.
16440
16441 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16442
16443 * gdb.base/structs.exp: Check for correct struct on finish.
16444
16445 2015-02-26 Yao Qi <yao.qi@linaro.org>
16446
16447 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16448 is zero.
16449
16450 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16451
16452 * gdb.arch/cordic.ko.bz2: New file.
16453 * gdb.arch/cordic.ko.debug.bz2: New file.
16454 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16455
16456 2015-02-25 Yao Qi <yao.qi@linaro.org>
16457
16458 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16459 aarch64*-*-* target.
16460
16461 2015-02-23 Pedro Alves <palves@redhat.com>
16462
16463 * lib/gdb.exp (delete_breakpoints): Rewrite using
16464 gdb_test_multiple.
16465
16466 2015-02-23 Pedro Alves <palves@redhat.com>
16467
16468 * gdb.base/info-os.c: Include stdlib.h.
16469
16470 2015-02-22 Doug Evans <xdje42@gmail.com>
16471
16472 PR symtab/17855
16473 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16474 is read after symbols have been re-read.
16475 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16476 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16477
16478 2015-02-21 Doug Evans <dje@google.com>
16479
16480 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16481
16482 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16483
16484 PR corefiles/17808
16485 * gdb.arch/i386-biarch-core.core.bz2: New file.
16486 * gdb.arch/i386-biarch-core.exp: New file.
16487
16488 2015-02-21 Pedro Alves <palves@redhat.com>
16489
16490 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16491 runto_main fails.
16492
16493 2015-02-20 Pedro Alves <palves@redhat.com>
16494
16495 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16496 info probes.
16497
16498 2015-02-20 Pedro Alves <palves@redhat.com>
16499
16500 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16501
16502 2015-02-20 Pedro Alves <palves@redhat.com>
16503
16504 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16505 clean_restart before gdb_target_supports_trace.
16506
16507 2015-02-20 Pedro Alves <palves@redhat.com>
16508
16509 PR threads/18006
16510 * gdb.threads/clone-thread_db.c: New file.
16511 * gdb.threads/clone-thread_db.exp: New file.
16512
16513 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16514
16515 PR breakpoints/16812
16516 * gdb.base/catch-gdb-caused-signals.c: New file.
16517 * gdb.base/catch-gdb-caused-signals.exp: New file.
16518
16519 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16520
16521 * configure: Regenerated.
16522 * configure.ac: Use GDB_AC_TRANSFORM.
16523 * aclocal.m4: sinclude ../transform.m4.
16524
16525 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16526
16527 * lib/dtrace.exp: New file.
16528 * gdb.base/dtrace-probe.exp: Likewise.
16529 * gdb.base/dtrace-probe.d: Likewise.
16530 * gdb.base/dtrace-probe.c: Likewise.
16531 * lib/pdtrace.in: Likewise.
16532 * configure.ac: Output variables with the transformed names of
16533 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16534 * configure: Regenerated.
16535
16536 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16537
16538 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16539 expected message when trying to access $_probe_* convenience
16540 variables while not on a probe.
16541
16542 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16543
16544 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16545
16546 2015-02-11 Pedro Alves <pedro@codesourcery.com>
16547
16548 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16549 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16550
16551 2015-02-10 Doug Evans <xdje42@gmail.com>
16552
16553 * lib/gdb.exp (gdb_load): Always return a result.
16554
16555 2015-02-10 Pedro Alves <palves@redhat.com>
16556
16557 * gdb.threads/signal-sigtrap.c: New file.
16558 * gdb.threads/signal-sigtrap.exp: New file.
16559
16560 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16561
16562 * gdb.trace/no-attach-trace.c: New file.
16563 * gdb.trace/no-attach-trace.exp: New file.
16564
16565 2015-02-09 Mark Wielaard <mjw@redhat.com>
16566
16567 * gdb.dwarf2/atomic.c: New file.
16568 * gdb.dwarf2/atomic-type.exp: Likewise.
16569
16570 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16571
16572 * gdb.btrace/buffer-size.exp: Update "info record" output.
16573 * gdb.btrace/delta.exp: Update "info record" output.
16574 * gdb.btrace/enable.exp: Update "info record" output.
16575 * gdb.btrace/finish.exp: Update "info record" output.
16576 * gdb.btrace/instruction_history.exp: Update "info record" output.
16577 * gdb.btrace/next.exp: Update "info record" output.
16578 * gdb.btrace/nexti.exp: Update "info record" output.
16579 * gdb.btrace/step.exp: Update "info record" output.
16580 * gdb.btrace/stepi.exp: Update "info record" output.
16581 * gdb.btrace/nohist.exp: Update "info record" output.
16582
16583 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16584
16585 * gdb.btrace/buffer-size: New.
16586
16587 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16588
16589 * gdb.btrace/delta.exp: Update "info record" output.
16590 * gdb.btrace/enable.exp: Update "info record" output.
16591 * gdb.btrace/finish.exp: Update "info record" output.
16592 * gdb.btrace/instruction_history.exp: Update "info record" output.
16593 * gdb.btrace/next.exp: Update "info record" output.
16594 * gdb.btrace/nexti.exp: Update "info record" output.
16595 * gdb.btrace/step.exp: Update "info record" output.
16596 * gdb.btrace/stepi.exp: Update "info record" output.
16597 * gdb.btrace/nohist.exp: Update "info record" output.
16598
16599 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16600
16601 PR gdb/15678
16602 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16603
16604 2015-02-06 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16607 macro.
16608 (seconds_left, again): New globals.
16609 (main): Wait seconds_left in a 1-second sleep loop instead of
16610 sleeping 180 seconds. If 'again' is set, reset the seconds
16611 counter.
16612 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16613 'again' in the inferior before detaching. Print the seconds left.
16614 (options): New global.
16615 (top level): Build program with -DTIMEOUT=$timeout.
16616
16617 2015-02-06 Pedro Alves <palves@redhat.com>
16618
16619 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16620 determine how many seconds to pass to 'alarm'.
16621 * gdb.base/gdb-sigterm.exp (top level): Build program with
16622 -DTIMEOUT=$timeout.
16623 (do_test): Return success/failure indication. Add more verbose
16624 logging. Don't fail if 200 single steps are seen. Instead, fail
16625 when the test times out.
16626 (passes): New global.
16627 (top level): Break the testing loop if testing fails on any
16628 iteration. Use gdb_assert.
16629
16630 2015-02-04 Don Breazeal <donb@codesourcery.com>
16631
16632 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16633 and initialize them.
16634 (ipc_cleanup): New function.
16635 (main): Don't declare shmid, semid, and msqid. Add a call to
16636 atexit so that we call ipc_cleanup on exit.
16637
16638 2015-02-04 Pedro Alves <palves@redhat.com>
16639
16640 * boards/native-extended-gdbserver.exp: Remove any target variant
16641 specifications from the board name before clearing the isremote
16642 flag from board_info.
16643
16644 2015-01-31 Doug Evans <xdje42@gmail.com>
16645
16646 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16647
16648 2015-01-31 Gary Benson <gbenson@redhat.com>
16649
16650 * gdb.base/completion.exp: Disable completion limiting for
16651 existing tests. Add new tests to check completion limiting.
16652 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16653
16654 2015-01-31 Doug Evans <xdje42@gmail.com>
16655
16656 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16657
16658 2015-01-31 Doug Evans <xdje42@gmail.com>
16659
16660 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16661 entries. Duplicate file section script entries.
16662 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16663 inlined entries. Add test for safe-path rejection.
16664 * gdb.python/py-section-script.c: Add duplicate inlined section script
16665 entries. Duplicate file section script entries.
16666 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16667 inlined entries. Add test for safe-path rejection.
16668
16669 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16670
16671 * gdb.ada/disc_arr_bound: New testcase.
16672
16673 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16674
16675 * gdb.ada/mi_var_array: New testcase.
16676
16677 2015-01-27 Doug Evans <dje@google.com>
16678
16679 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16680 Add test for objfile.filename, objfile.username after objfile
16681 has been unloaded.
16682
16683 2015-01-26 Joel Brobecker <brobecker@adacore.com>
16684
16685 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16686 the second test to print the name attribute of value
16687 returned by the call to gdb.lookup_type, and adjust
16688 the expected output accordingly.
16689
16690 2015-01-25 Mark Wielaard <mjw@redhat.com>
16691
16692 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16693 * gdb.base/disp-step-fork.c: Include unistd.h.
16694 * gdb.base/siginfo-obj.c: Include stdio.h.
16695 * gdb.base/siginfo-thread.c: Likewise.
16696 * gdb.mi/non-stop.c: Include unistd.h.
16697 * gdb.mi/nsthrexec.c: Include stdio.h.
16698 * gdb.mi/pthreads.c: Include unistd.h.
16699 * gdb.modula2/unbounded1.c (main): Declare returns int.
16700 * gdb.reverse/consecutive-reverse.c: Likewise.
16701 * gdb.threads/create-fail.c: Include unistd.h.
16702 * gdb.threads/killed.c: Likewise.
16703 * gdb.threads/linux-dp.c: Likewise.
16704 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16705 * gdb.threads/non-ldr-exc-2.c: Likewise.
16706 * gdb.threads/non-ldr-exc-3.c: Likewise.
16707 * gdb.threads/non-ldr-exc-4.c: Likewise.
16708 * gdb.threads/pthreads.c: Include unistd.h.
16709 (main): Declare returns int.
16710 * gdb.threads/tls-main.c (foo): New declaration.
16711 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16712
16713 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16714
16715 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16716 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16717
16718 2015-01-15 Mark Wielaard <mjw@redhat.com>
16719
16720 * gdb.base/noreturn-return.c: New file.
16721 * gdb.base/noreturn-return.exp: New file.
16722 * gdb.base/noreturn-finish.c: New file.
16723 * gdb.base/noreturn-finish.exp: New file.
16724
16725 2015-01-23 Pedro Alves <palves@redhat.com>
16726
16727 * gdb.threads/continue-pending-after-query.c: New file.
16728 * gdb.threads/continue-pending-after-query.exp: New file.
16729
16730 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16731 Simon Marchi <simon.marchi@ericsson.com>
16732
16733 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16734 * gdb.base/valgrind-db-attach.exp: Same.
16735 * gdb.base/valgrind-infcall.exp: Same.
16736 * lib/mi-support.exp (default_mi_gdb_start): Same.
16737 * lib/prompt.exp (default_prompt_gdb_start): Same.
16738 * lib/gdb.exp (default_gdb_spawn): Same.
16739 (gdb_interact): New.
16740
16741
16742 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16743
16744 * gdb.compile/compile.exp (pointer to jit function): New test.
16745
16746 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
16747
16748 * lib/gdb.exp (supports_process_record): Return true for
16749 powerpc*-*-linux*.
16750 (supports_reverse): Likewise.
16751
16752 2015-01-15 Don Breazeal <donb@codesourcery.com>
16753
16754 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16755 instead of checking whether the target board is remote and
16756 use spawn_wait_for_attach instead of exec/sleep.
16757 * gdb.base/attach-twice.exp: Likewise.
16758
16759 2015-01-15 Joel Brobecker <brobecker@adacore.com>
16760
16761 * gdb.ada/var_arr_attrs: New testcase.
16762
16763 2015-01-14 Pedro Alves <palves@redhat.com>
16764 Joel Brobecker <brobecker@adacore.com>
16765
16766 PR gdb/17525
16767 * gdb.base/bp-cmds-execution-x-script.c: New file.
16768 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16769 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16770
16771 2015-01-14 Pedro Alves <palves@redhat.com>
16772
16773 PR cli/17828
16774 * gdb.base/batch-preserve-term-settings.c: New file.
16775 * gdb.base/batch-preserve-term-settings.exp: New file.
16776
16777 2015-01-13 Doug Evans <dje@google.com>
16778
16779 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16780 binary.
16781
16782 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16783
16784 * Makefile.in (clean mostlyclean): Do not delete *.py.
16785
16786 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16787
16788 * gdb.python/py-lookup-type.exp: New file.
16789
16790 2015-01-12 Pedro Alves <palves@redhat.com>
16791
16792 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16793 restore GDBFLAGS before returning.
16794
16795 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16796
16797 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16798 is_amd64_regs_target and is_x86_like_target.
16799
16800 2015-01-11 Doug Evans <xdje42@gmail.com>
16801
16802 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16803 is given without an explicit form.
16804 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16805 attributes.
16806 * gdb.dwarf/corrupt.exp: Ditto.
16807 * gdb.dwarf2/enum-type.exp: Ditto.
16808 * gdb.trace/entry-values.exp: Ditto.
16809 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16810
16811 2015-01-11 Doug Evans <xdje42@gmail.com>
16812
16813 PR gdb/15830
16814 * gdb.base/maint.exp: Remove references to "maint demangle".
16815 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16816 Add tests for explicitly specifying language to demangle.
16817 * gdb.dlang/demangle.exp: Ditto.
16818
16819 2015-01-09 Pedro Alves <palves@redhat.com>
16820
16821 * gdb.threads/non-stop-fair-events.c: New file.
16822 * gdb.threads/non-stop-fair-events.exp: New file.
16823
16824 2015-01-09 Pedro Alves <palves@redhat.com>
16825
16826 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16827 the global scope. Set a breakpoint after all threads are started
16828 rather than stepping over two source lines. Expect the prompt.
16829 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16830 global.
16831 (NUM): Now 15.
16832 (main): Use threads_started_barrier to wait for all threads to
16833 start. Main thread no longer calls thread_function. Exit after
16834 180 seconds.
16835 (loop): New function.
16836 (thread_function): Wait on threads_started_barrier barrier. Call
16837 'loop' at each iteration.
16838 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16839 threads have started, instead of hardcoding number of "next"
16840 steps. Use an access watchpoint instead of a write watchpoint.
16841
16842 2015-01-09 Pedro Alves <palves@redhat.com>
16843
16844 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16845 (thread_func): Wait on barrier.
16846 (main): Wait for all threads to start before stopping GDB.
16847 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16848 global.
16849 (thread1_func, thread2_func): Wait on barrier.
16850 (main): Wait for all threads to start before stopping GDB.
16851 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16852 New global.
16853 (thread1_func, thread2_func): Wait on barrier.
16854 (main): Wait for all threads to start before stopping GDB.
16855
16856 2015-01-09 Pedro Alves <palves@redhat.com>
16857
16858 * gdb.threads/attach-many-short-lived-threads.c: New file.
16859 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16860
16861 2014-01-09 Pedro Alves <palves@redhat.com>
16862
16863 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16864 instead of to thread 2.
16865 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16866 Add barrier around each pthread_create call instead of around all
16867 calls.
16868 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16869 Set a break on thread_function and have the child threads hit it
16870 one at at a time.
16871
16872 2015-01-09 Pedro Alves <palves@redhat.com>
16873
16874 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16875 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16876 false.
16877 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16878 checking whether the target board is remote.
16879 * gdb.multi/multi-attach.exp: Likewise.
16880 * gdb.python/py-sync-interp.exp: Likewise.
16881 * gdb.server/ext-attach.exp: Likewise.
16882 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16883 tests that need to attach, instead of checking whether the target
16884 board is remote at the top of the file.
16885
16886 2015-01-08 Yao Qi <yao@codesourcery.com>
16887
16888 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16889
16890 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16891
16892 Fix testcase compilation.
16893 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16894
16895 2015-01-06 Joel Brobecker <brobecker@adacore.com>
16896
16897 * gdb.python/py-type.exp: Add a couple test about empty
16898 array creation, and negative-length array creation.
16899
16900 2015-01-02 Doug Evans <xdje42@gmail.com>
16901
16902 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16903
16904 2015-01-02 Doug Evans <dje@google.com>
16905
16906 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16907
16908 2014-12-29 Yao Qi <yao@codesourcery.com>
16909
16910 * gdb.trace/entry-values.exp: Update comments. Rename variable
16911 bar_call_foo to returned_from_foo.
16912
16913 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16914
16915 PR gdb/17394
16916 * gdb.linespec/break-asm-file.c: New file.
16917 * gdb.linespec/break-asm-file.exp: New file.
16918 * gdb.linespec/break-asm-file0.s: New file.
16919 * gdb.linespec/break-asm-file1.s: New file.
16920
16921 2014-12-18 Nigel Stephens <nigel@mips.com>
16922 Maciej W. Rozycki <macro@codesourcery.com>
16923
16924 * gdb.base/float.exp: Handle the new output from "info float" on
16925 MIPS targets.
16926
16927 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16928
16929 Fix MinGW compilation.
16930 * gdb.compile/compile-ops.exp: Update untested message if
16931 !skip_compile_feature_tests.
16932 * gdb.compile/compile-setjmp.exp: Likewise.
16933 * gdb.compile/compile-tls.exp: Likewise.
16934 * gdb.compile/compile.exp: Likewise.
16935 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16936 supported on this host".
16937
16938 2014-12-16 Doug Evans <xdje42@gmail.com>
16939
16940 * boards/stabs.exp: New file.
16941
16942 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16943
16944 * gdb.base/completion.exp: Adjust to format changes of "maint
16945 print user-registers".
16946
16947 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
16948
16949 PR server/17457
16950 * gdb.arch/aarch64-fp.c: New file.
16951 * gdb.arch/aarch64-fp.exp: New file.
16952
16953 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16954
16955 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16956 r210637, r210913, r211666, r215400, r215817).
16957
16958 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16959 * dg-extract-results.py: New file.
16960 * dg-extract-results.sh: Use it if the environment seems
16961 suitable.
16962
16963 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16964
16965 * dg-extract-results.py (parse_run): Handle warnings that
16966 are printed before a test harness is run.
16967
16968 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16969
16970 * dg-extract-results.py (Named): Remove __cmp__ method.
16971 (output_variation): Use a key to sort variation.harnesses.
16972
16973 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16974
16975 * dg-extract-results.py: For Python 3, force sys.stdout to
16976 handle surrogate escape sequences.
16977 (safe_open): New function.
16978 (output_segment, main): Use it.
16979
16980 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16981
16982 * dg-extract-results.py (Prog.result_re): Include options
16983 in test name.
16984
16985 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16986
16987 * dg-extract-results.py (output_variation): Always sort if
16988 do_sum.
16989
16990 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16991
16992 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16993 as long as we get pagination notifications.
16994
16995 2014-12-15 Jason Merrill <jason@redhat.com>
16996
16997 * Makefile.in (check-gdb.%): Restore.
16998 * README: Mention it.
16999
17000 2014-12-13 Joel Brobecker <brobecker@adacore.com>
17001
17002 * gdb.ada/str_uninit: New testcase.
17003
17004 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17005
17006 PR symtab/17642
17007 * gdb.base/vla-stub-define.c: New file.
17008 * gdb.base/vla-stub.c: New file.
17009 * gdb.base/vla-stub.exp: New file.
17010
17011 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17012 Jan Kratochvil <jan.kratochvil@redhat.com>
17013 Tom Tromey <tromey@redhat.com>
17014
17015 * configure.ac: Add gdb.compile/.
17016 * configure: Regenerate.
17017 * gdb.compile/Makefile.in: New file.
17018 * gdb.compile/compile-ops.exp: New file.
17019 * gdb.compile/compile-ops.c: New file.
17020 * gdb.compile/compile-tls.c: New file.
17021 * gdb.compile/compile-tls.exp: New file.
17022 * gdb.compile/compile-constvar.S: New file.
17023 * gdb.compile/compile-constvar.c: New file.
17024 * gdb.compile/compile-mod.c: New file.
17025 * gdb.compile/compile-nodebug.c: New file.
17026 * gdb.compile/compile-setjmp-mod.c: New file.
17027 * gdb.compile/compile-setjmp.c: New file.
17028 * gdb.compile/compile-setjmp.exp: New file.
17029 * gdb.compile/compile-shlib.c: New file.
17030 * gdb.compile/compile.c: New file.
17031 * gdb.compile/compile.exp: New file.
17032 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17033
17034 2014-12-12 Tom Tromey <tromey@redhat.com>
17035
17036 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17037 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17038
17039 2014-12-12 Doug Evans <dje@google.com>
17040
17041 * lib/gdb-python.exp (get_python_valueof): New function.
17042 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17043
17044 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17045
17046 * gdb.base/completion.exp: Add test for completion of "info
17047 registers ".
17048
17049 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17050
17051 * gdb.base/func-ptrs.c: New file.
17052 * gdb.base/func-ptrs.exp: New file.
17053
17054 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17055
17056 PR breakpoints/17012
17057 * gdb.base/dprintf-detach.c: New file.
17058 * gdb.base/dprintf-detach.exp: New file.
17059
17060 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17061
17062 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17063 * lib/gdb.exp (target_is_gdbserver): New procedure.
17064
17065 2014-12-08 Doug Evans <dje@google.com>
17066
17067 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17068
17069 2014-12-05 Yao Qi <yao@codesourcery.com>
17070
17071 * gdb.guile/scm-error.exp: Remove the third argument to
17072 gdb_remote_download.
17073 * gdb.guile/scm-frame-args.exp: Likewise.
17074 * gdb.guile/scm-section-script.exp: Likewise.
17075
17076 2014-12-05 Yao Qi <yao@codesourcery.com>
17077
17078 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17079
17080 2014-12-04 Doug Evans <dje@google.com>
17081
17082 * gdb.python/py-objfile.exp: Add tests for
17083 objfile.add_separate_debug_file.
17084
17085 2014-12-04 Doug Evans <dje@google.com>
17086
17087 * lib/gdb.exp (get_build_id): New function.
17088 (build_id_debug_filename_get): Rewrite to use it.
17089 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17090
17091 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17092
17093 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17094 `method(long)', not just 0x0.
17095 * gdb.cp/nsalias.exp: Align code labels to 4.
17096 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17097 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17098 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17099 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17100 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17101 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17102
17103 2014-12-02 Doug Evans <dje@google.com>
17104
17105 PR symtab/17602
17106 * gdb.cp/anon-ns.cc: Move guts of this file to ...
17107 * gdb.cp/anon-ns2.cc: ... here. New file.
17108 * gdb.cp/anon-ns.exp: Update.
17109
17110 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
17111
17112 * gdb.python/py-events.py (inferior_call_handler): New.
17113 (register_changed_handler, memory_changed_handler): New.
17114 (test_events.invoke): Register new handlers.
17115 * gdb.python/py-events.exp: Add tests for inferior call,
17116 memory_changed and register_changed events.
17117
17118 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17119
17120 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17121 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17122 if the linker doesn't understand this.
17123
17124 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17125
17126 * gdb.python/python.exp: Change expected reply to help().
17127
17128 2014-12-01 Yao Qi <yao@codesourcery.com>
17129
17130 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17131 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17132 * configure: Re-generated.
17133
17134 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17135
17136 * gdb.cp/chained-calls.cc: New file.
17137 * gdb.cp/chained-calls.exp: New file.
17138 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17139
17140 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17141
17142 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17143 * gdb.dwarf2/symtab-producer.exp: Same.
17144 * gdb.gdb/python-interrupts.exp: Same.
17145 * gdb.gdb/python-selftest.exp: Same.
17146 * gdb.python/py-linetable.exp: Same.
17147 * gdb.python/py-type.exp: Same.
17148 * gdb.python/py-value-cc.exp: Same.
17149 * gdb.python/py-value.exp: Same.
17150
17151 2014-11-28 Yao Qi <yao@codesourcery.com>
17152
17153 * gdb.base/break-probes.exp: Match library name prefixed with
17154 sysroot.
17155
17156 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17157
17158 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17159 test expected output. Add parentheses for the call to print.
17160 Remove L suffix from integers.
17161
17162 2014-11-26 Doug Evans <dje@google.com>
17163
17164 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17165
17166 2014-11-22 Yao Qi <yao@codesourcery.com>
17167
17168 * gdb.trace/entry-values.c: Remove asms.
17169 (foo): Add foo_label.
17170 (bar): Add bar_label.
17171 * gdb.trace/entry-values.exp: Remove code computing foo's
17172 length and bar's length.
17173 (Dwarf::assemble): Invoke function_range for bar and use
17174 MACRO_AT_func for foo.
17175
17176 2014-11-22 Yao Qi <yao@codesourcery.com>
17177
17178 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17179 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17180 Use .Lgcc43_procstart instead of gcc43.
17181
17182 2014-11-21 Joel Brobecker <brobecker@adacore.com>
17183
17184 * gdb.ada/n_arr_bound: New testcase.
17185
17186 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17187
17188 PR breakpoints/10737
17189 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17190 test_catch_syscall_multi_arch.
17191 (test_catch_syscall_multi_arch): New function.
17192
17193 2014-11-20 Doug Evans <xdje42@gmail.com>
17194
17195 * gdb.base/maint.exp: Update expected output.
17196
17197 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17198
17199 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17200 4-byte instruction on S390.
17201
17202 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17203
17204 * gdb.ada/arr_arr: New testcase.
17205
17206 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17207
17208 * gdb.ada/pkd_arr_elem: New Testcase.
17209
17210 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
17211
17212 * gdb.reverse/break-precsave: Expect completion message for
17213 core file reads.
17214 * gdb.reverse/consecutive-precsave.exp: Likewise.
17215 * gdb.reverse/finish-precsave.exp: Likewise.
17216 * gdb.reverse/i386-precsave.exp: Likewise.
17217 * gdb.reverse/machinestate-precsave.exp: Likewise.
17218 * gdb.reverse/sigall-precsave.exp: Likewise.
17219 * gdb.reverse/solib-precsave.exp: Likewise.
17220 * gdb.reverse/step-precsave.exp: Likewise.
17221 * gdb.reverse/until-precsave.exp: Likewise.
17222 * gdb.reverse/watch-precsave.exp: Likewise.
17223
17224 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17225
17226 * gdb.base/bp-permanent.c: Include unistd.h.
17227 * gdb.python/py-framefilter-mi.c (main): Add return type.
17228 * gdb.python/py-framefilter.c (main): Likewise.
17229 * gdb.trace/actions-changed.c (main): Likewise.
17230
17231 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17232
17233 * gdb.mi/until.c: Add eye-catchers.
17234 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17235 line numbers.
17236
17237 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17238
17239 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17240 function header variants in break1.c.
17241 * gdb.base/ena-dis-br.exp: Likewise.
17242 * gdb.base/hbreak2.exp: Likewise.
17243 * gdb.reverse/until-precsave.exp: Drop references to removed
17244 non-prototype function header variants in ur1.c.
17245 * gdb.reverse/until-reverse.exp: Likewise.
17246
17247 2014-11-17 Petr Machata <pmachata@redhat.com>
17248
17249 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17250 ${_cu_offset_size} bytes abbrev offset.
17251
17252 2014-11-15 Doug Evans <xdje42@gmail.com>
17253
17254 PR symtab/17559
17255 * gdb.base/line-symtabs.exp: New file.
17256 * gdb.base/line-symtabs.c: New file.
17257 * gdb.base/line-symtabs.h: New file.
17258
17259 2014-11-14 Yao Qi <yao@codesourcery.com>
17260
17261 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17262 (func): Add label func_label.
17263 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17264 Replace low_pc and high_pc with MACRO_AT_range.
17265 Replace name, low_pc and high_pc with MACRO_AT_func.
17266
17267 2014-11-14 Yao Qi <yao@codesourcery.com>
17268
17269 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17270 Replace name, low_pc and high_pc with MACRO_AT_func.
17271
17272 2014-11-14 Yao Qi <yao@codesourcery.com>
17273
17274 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17275 produce debug information.
17276 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17277
17278 2014-11-14 Yao Qi <yao@codesourcery.com>
17279
17280 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17281 object and get function length.
17282 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17283 with MACRO_AT_func.
17284 (top-level): Replace gdb_compile and clean_restart with
17285 prepare_for_testing.
17286 * gdb.dwarf2/main.c (main): Add label main_label.
17287
17288 2014-11-14 Yao Qi <yao@codesourcery.com>
17289
17290 * lib/dwarf.exp (function_range): New procedure.
17291 (Dwarf::_handle_macro_at_func): New procedure.
17292 (Dwarf::_handle_macro_at_range): New procedure.
17293 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17294
17295 2014-11-14 Yao Qi <yao@codesourcery.com>
17296
17297 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17298 (_handle_attribute): New procedure.
17299
17300 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17301
17302 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17303 * gdb.base/call-sc.c (zed): Likewise.
17304 * gdb.base/checkpoint.c (main): Likewise.
17305 * gdb.base/dump.c (main): Likewise.
17306 * gdb.base/gcore.c (main): Likewise.
17307 * gdb.base/huge.c (main): Likewise.
17308 * gdb.base/multi-forks.c (main): Likewise.
17309 * gdb.base/pr10179-a.c (main): Likewise.
17310 * gdb.base/savedregs.c (main): Likewise.
17311 * gdb.base/sigaltstack.c (main): Likewise.
17312 * gdb.base/siginfo.c (main): Likewise.
17313 * gdb.base/structs.c (zed): Likewise.
17314 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17315 * gdb.mi/mi-syn-frame.c (main): Likewise.
17316 * gdb.mi/until.c (foo, main): Likewise.
17317 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17318 * gdb.base/solib-weak.c (foo): Declare.
17319 * gdb.base/attach-twice.c: Include stdio.h.
17320 * gdb.base/weaklib1.c: Likewise.
17321 * gdb.base/weaklib2.c: Likewise.
17322 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17323 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17324 unistd.h.
17325 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17326 * gdb.mi/mi-exit-code.c: Likewise.
17327 * gdb.base/break-interp-lib.c: Include string.h.
17328 * gdb.base/coremaker.c: Likewise.
17329 * gdb.base/testenv.c: Likewise.
17330 * gdb.python/py-finish-breakpoint.c: Likewise.
17331 * gdb.base/inferior-died.c: Include sys/wait.h.
17332 * gdb.base/fileio.c: Include time.h.
17333 * gdb.base/async-shell.c: Include unistd.h.
17334 * gdb.base/dprintf-non-stop.c: Likewise.
17335 * gdb.base/info-os.c: Likewise.
17336 * gdb.mi/mi-console.c: Likewise.
17337 * gdb.mi/watch-nonstop.c: Likewise.
17338 * gdb.python/py-events.c: Likewise.
17339 * gdb.base/async.c (baz): Move up before its invocation.
17340 * gdb.base/code_elim2.c (my_global_func): Likewise.
17341 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17342 * gdb.base/advance.c (func2): Likewise.
17343
17344 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17345
17346 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17347 variant.
17348 * gdb.base/annota3.c: Likewise.
17349 * gdb.base/async.c: Likewise.
17350 * gdb.base/average.c: Likewise.
17351 * gdb.base/call-ar-st.c: Likewise.
17352 * gdb.base/call-rt-st.c: Likewise.
17353 * gdb.base/call-sc.c: Likewise.
17354 * gdb.base/call-strs.c: Likewise.
17355 * gdb.base/ending-run.c: Likewise.
17356 * gdb.base/execd-prog.c: Likewise.
17357 * gdb.base/exprs.c: Likewise.
17358 * gdb.base/foll-exec.c: Likewise.
17359 * gdb.base/foll-fork.c: Likewise.
17360 * gdb.base/foll-vfork.c: Likewise.
17361 * gdb.base/funcargs.c: Likewise.
17362 * gdb.base/gcore.c: Likewise.
17363 * gdb.base/jump.c: Likewise.
17364 * gdb.base/langs0.c: Likewise.
17365 * gdb.base/langs1.c: Likewise.
17366 * gdb.base/langs2.c: Likewise.
17367 * gdb.base/mips_pro.c: Likewise.
17368 * gdb.base/nodebug.c: Likewise.
17369 * gdb.base/opaque0.c: Likewise.
17370 * gdb.base/opaque1.c: Likewise.
17371 * gdb.base/recurse.c: Likewise.
17372 * gdb.base/run.c: Likewise.
17373 * gdb.base/scope0.c: Likewise.
17374 * gdb.base/scope1.c: Likewise.
17375 * gdb.base/setshow.c: Likewise.
17376 * gdb.base/setvar.c: Likewise.
17377 * gdb.base/shmain.c: Likewise.
17378 * gdb.base/shr1.c: Likewise.
17379 * gdb.base/shr2.c: Likewise.
17380 * gdb.base/sigall.c: Likewise.
17381 * gdb.base/signals.c: Likewise.
17382 * gdb.base/so-indr-cl.c: Likewise.
17383 * gdb.base/solib2.c: Likewise.
17384 * gdb.base/structs.c: Likewise.
17385 * gdb.base/sum.c: Likewise.
17386 * gdb.base/vforked-prog.c: Likewise.
17387 * gdb.base/watchpoint.c: Likewise.
17388 * gdb.reverse/shr2.c: Likewise.
17389 * gdb.reverse/until-reverse.c: Likewise.
17390 * gdb.reverse/ur1.c: Likewise.
17391 * gdb.reverse/watch-reverse.c: Likewise.
17392
17393 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17394
17395 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17396 variant.
17397 * gdb.base/sepdebug.exp: Drop references to removed code.
17398
17399 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17400
17401 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17402 variant. Preserve original line numbering.
17403 * gdb.base/list1.c: Likewise.
17404
17405 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17406
17407 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17408 variant.
17409 * gdb.base/break1.c: Likewise.
17410 * gdb.base/break.exp: Drop references to removed code.
17411
17412 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17413
17414 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17415 variant.
17416
17417 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17418
17419 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17420
17421 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17422
17423 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17424 logic into perform_all_tests() and invoke it with and without
17425 function header prototypes.
17426 (do_function_calls): Remove conditional XFAIL for PR 5318.
17427 (rerun_and_prepare): Remove duplicate code.
17428 (perform_all_tests): New. Main logic moved here.
17429
17430 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17431
17432 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17433 code guarded by #ifdef NO_PROTOTYPES.
17434 (t_double_many_args): Likewise.
17435 (DEF_FUNC_MANY_ARGS_1): Likewise.
17436 (DEF_FUNC_VALUES_1): Likewise.
17437 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17438 guarded by #ifdef PROTOTYPES.
17439
17440 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17441
17442 * gdb.mi/mi-console.c: Add eye-catcher.
17443 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17444 instead of literal line number.
17445
17446 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17447
17448 * gdb.base/shr2.c: Add eye-catcher.
17449 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17450 line number.
17451
17452 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17453
17454 * gdb.base/jump.c: Add eye-catchers.
17455 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17456 numbers.
17457
17458 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17459
17460 * gdb.base/execd-prog.c: Add eye-catchers.
17461 * gdb.base/foll-exec.c: Likewise.
17462 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17463 line numbers.
17464
17465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17466
17467 * gdb.base/ending-run.c: Add eye-catchers.
17468 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17469 literal line numbers.
17470
17471 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17472
17473 * gdb.base/call-rt-st.c: Add eye-catchers.
17474 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17475 literal line numbers.
17476
17477 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17478
17479 * gdb.base/call-ar-st.c: Add eye-catchers.
17480 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17481 literal line numbers.
17482
17483 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17484
17485 * gdb.base/average.c: Add eye-catchers.
17486 * gdb.base/sum.c: Likewise.
17487 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17488 regexps dynamically.
17489
17490 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17491
17492 * gdb.base/solib1.c: Add eye-catchers.
17493 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17494 literal line numbers.
17495
17496 2014-11-12 Pedro Alves <palves@redhat.com>
17497
17498 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17499 leader has exited.
17500
17501 2014-11-12 Pedro Alves <palves@redhat.com>
17502
17503 * gdb.arch/i386-bp_permanent.c: New file.
17504 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17505 (srcfile): Set to i386-bp_permanent.c.
17506 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17507 that stepi does not execute the 'leave' instruction, instead of
17508 testing it does execute.
17509 * gdb.base/bp-permanent.c: New file.
17510 * gdb.base/bp-permanent.exp: New file.
17511
17512 2014-11-10 Doug Evans <xdje42@gmail.com>
17513
17514 PR symtab/17564
17515 * gdb.base/symtab-search-order.exp: New file.
17516 * gdb.base/symtab-search-order.c: New file.
17517 * gdb.base/symtab-search-order-1.c: New file.
17518 * gdb.base/symtab-search-order-shlib-1.c: New file.
17519
17520 2014-11-07 Pedro Alves <palves@redhat.com>
17521
17522 PR gdb/17511
17523 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17524 i?86-*-linux*.
17525
17526 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17527
17528 PR c++/17494
17529 * gdb.cp/pr17494.cc: New file.
17530 * gdb.cp/pr17494.exp: New file.
17531
17532 2014-11-02 Yao Qi <yao@codesourcery.com>
17533
17534 * gdb.python/python.exp: Get working directory and match the
17535 output of "set extended-prompt \\w " with it.
17536
17537 2014-10-30 Doug Evans <dje@google.com>
17538
17539 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17540 in objfiles.
17541 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17542 in progspaces.
17543
17544 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
17545
17546 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17547 * gdb.base/realname-expand.exp: Likewise.
17548 * gdb.linespec/macro-relative.exp: Likewise.
17549
17550 2014-10-29 Pedro Alves <palves@redhat.com>
17551
17552 PR gdb/17408
17553 * gdb.threads/schedlock.c (some_function): New function.
17554 (call_function): New global.
17555 (MAYBE_CALL_SOME_FUNCTION): New macro.
17556 (thread_function): Call it.
17557 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17558 and use it instead of a global counter. Adjust all callers.
17559 (get_current_thread): Use "find current thread" for test message
17560 here rather than having all callers pass down the same string.
17561 (goto_loop): New procedure, factored out from ...
17562 (my_continue): ... this.
17563 (step_ten_loops): Change parameter from test message to command to
17564 use. Adjust.
17565 (list_count): Delete global.
17566 (check_result): New procedure, factored out from duplicate top
17567 level code.
17568 (continue tests): Wrap in with_test_prefix.
17569 (test_step): New procedure, factored out from duplicate top level
17570 code.
17571 (top level): Test "step" in combination with all scheduler-locking
17572 modes. Test "next" in combination with all scheduler-locking
17573 modes, and in combination with stepping over a function call or
17574 not.
17575 * gdb.threads/next-bp-other-thread.c: New file.
17576 * gdb.threads/next-bp-other-thread.exp: New file.
17577
17578 2014-10-29 Pedro Alves <palves@redhat.com>
17579
17580 PR python/17372
17581 * gdb.python/python.exp: Test a multi-line command that spawns
17582 interactive Python.
17583 * gdb.base/multi-line-starts-subshell.exp: New file.
17584
17585 2014-10-29 Yao Qi <yao@codesourcery.com>
17586
17587 * gdb.base/fileio.exp: Make directories on host.
17588
17589 2014-10-29 Yao Qi <yao@codesourcery.com>
17590
17591 * gdb.base/fileio.c (test_write): Close the file.
17592
17593 2014-10-28 Pedro Alves <palves@redhat.com>
17594
17595 PR gdb/12623
17596 * gdb.base/sigstep.c (no_handler): New global.
17597 (main): If 'no_handler is true, set the signal handlers to
17598 SIG_IGN.
17599 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17600 with_sw_watch and no_handler parameters. Handle them.
17601 (top level) <stepping over handler when stopped at a breakpoint
17602 test>: Add a test axis for testing with a software watchpoint, and
17603 another for testing with the signal handler set to SIG_IGN.
17604 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17605 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17606
17607 2014-10-28 Pedro Alves <palves@redhat.com>
17608
17609 PR gdb/17511
17610 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17611 * gdb.base/sigstep.exp (other_handler_location): New global.
17612 (advance): Support stepping into the signal handler, and running
17613 commands while in the handler.
17614 (in_handler_map): New global.
17615 (top level): In the advance test, add combinations for getting
17616 into the handler with stepping commands, and for running commands
17617 in the handler. Add comment descripting the advancei tests.
17618
17619 2014-10-28 Pedro Alves <palves@redhat.com>
17620
17621 * gdb.base/sigstep.exp: Use build_executable instead of
17622 prepare_for_testing.
17623 (top level): Move code that starts GDB, runs to main and creates a
17624 display to ...
17625 (restart): ... this new procedure.
17626 (top level): Move backtrace from signal handler test to ...
17627 (validate_backtrace): ... this new procedure.
17628 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17629 with_test_prefix. Always restart GDB.
17630 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17631 with_test_prefix. Always restart GDB. No need to delete
17632 breakpoints after the test.
17633 (test_skip_handler): Remove prefix parameter.
17634 (skip_over_handler, breakpoint_to_handler)
17635 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17636 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17637 restart GDB. No need to delete breakpoints after the test.
17638 (top level): Use foreach to call the test procedures with
17639 different commands.
17640
17641 2014-10-28 Pedro Alves <palves@redhat.com>
17642
17643 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17644 instead of GNATS numbers.
17645 * gdb.base/sigbpt.exp: Likewise.
17646 * gdb.base/siginfo.exp: Likewise.
17647 * gdb.base/sigstep.exp: Likewise.
17648
17649 2014-10-27 Pedro Alves <palves@redhat.com>
17650
17651 * gdb.base/sigstep.c (dummy): New global.
17652 (main): Issue a couple writes to the new global.
17653 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17654 procedures.
17655 (skip_over_handler): Use test_skip_handler.
17656 (top level): Call skip_over_handler for stepi and nexti too.
17657 (breakpoint_over_handler): Use test_skip_handler.
17658 (top level): Call breakpoint_over_handler for stepi and nexti too.
17659
17660 2014-10-27 Yao Qi <yao@codesourcery.com>
17661
17662 * gdb.trace/tfile.c (adjust_function_address)
17663 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17664 function descriptor.
17665
17666 2014-10-24 Don Breazeal <donb@codesourcery.com>
17667
17668 * gdb.base/foll-fork.exp (test_follow_fork,
17669 catch_fork_child_follow): Check for updated fork messages emitted
17670 from infrun.c.
17671 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17672 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17673 vfork_and_exec_child_follow_through_step): Check for updated vfork
17674 messages emitted from infrun.c.
17675
17676 2014-10-24 Pedro Alves <palves@redhat.com>
17677
17678 * gdb.base/corefile.exp: Remove references to ultrix.
17679 * gdb.base/interrupt.exp: Likewise.
17680 * gdb.base/whatis.exp: Likewise.
17681 * gdb.gdb/selftest.exp: Likewise.
17682 * gdb.threads/manythreads.exp: Likewise.
17683 * gdb.threads/print-threads.exp: Likewise.
17684 * gdb.threads/pthreads.exp:: Likewise.
17685 * gdb.threads/schedlock.exp: Likewise.
17686
17687 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17688
17689 * gdb.cp/non-trivial-retval.cc: Add a test case.
17690 * gdb.cp/non-trivial-retval.exp: Add a test.
17691
17692 2014-10-20 Yao Qi <yao@codesourcery.com>
17693
17694 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17695 * gdb.python/py-objfile-script-gdb.py: New file.
17696 * gdb.python/py-objfile-script.exp: Update reference to
17697 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17698 of remote_download. Remove the dest file.
17699
17700 2014-10-20 Yao Qi <yao@codesourcery.com>
17701
17702 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17703 * gdb.base/step-line.exp: Likewise.
17704 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17705 * gdb.dwarf2/dw2-basic.exp: Likewise.
17706 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17707 * gdb.dwarf2/dw2-filename.exp: Likewise.
17708 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17709 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17710 * gdb.dwarf2/dw2-producer.exp: Likewise.
17711 * gdb.dwarf2/mac-fileno.exp: Likewise.
17712 * gdb.python/py-frame-args.exp: Likewise.
17713 * gdb.python/py-framefilter.exp: Likewise.
17714 * gdb.python/py-mi.exp: Likewise.
17715 * gdb.python/py-objfile-script.exp: Likewise
17716 * gdb.python/py-pp-integral.exp: Likewise.
17717 * gdb.python/py-pp-re-notag.exp: Likewise.
17718 * gdb.python/py-prettyprint.exp: Likewise.
17719 * gdb.python/py-section-script.exp: Likewise.
17720 * gdb.python/py-typeprint.exp: Likewise.
17721 * gdb.python/py-xmethods.exp: Likewise.
17722 * gdb.stabs/weird.exp: Likewise.
17723 * gdb.xml/tdesc-regs.exp: Likewise.
17724
17725 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17726
17727 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17728 (out_cu): Use addr_len for the size of addresses.
17729 (out_line): Likewise. Size DW_LNE_set_address instruction
17730 according to addr_len.
17731 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17732 (FUNC): Add START_INSNS to definition.
17733
17734 2014-10-18 Yao Qi <yao@codesourcery.com>
17735
17736 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17737 gdb_has_argv0 return true.
17738 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17739 check [target_info exists noargs], check [gdb_has_argv0]
17740 instead.
17741 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17742 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17743 procedures.
17744
17745 2014-10-17 Doug Evans <dje@google.com>
17746
17747 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17748 event.
17749 * gdb.python/py-events.py: Add clear_objfiles event.
17750
17751 2014-10-17 Doug Evans <dje@google.com>
17752
17753 * gdb.python/py-objfile.exp: Test progspace attribute.
17754
17755 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
17756
17757 * gdb.guile/scm-breakpoint.exp: Do not assume any
17758 directory separators when matching source file paths.
17759 * gdb.python/py-breakpoint.exp: Likewise.
17760 * gdb.reverse/break-precsave.exp: Likewise.
17761 * gdb.reverse/break-reverse.exp: Likewise.
17762 * gdb.reverse/consecutive-precsave.exp: Likewise.
17763 * gdb.reverse/finish-precsave.exp: Likewise.
17764 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17765 * gdb.reverse/finish-reverse.exp: Likewise.
17766 * gdb.reverse/i386-precsave.exp: Likewise.
17767 * gdb.reverse/i387-env-reverse.exp: Likewise.
17768 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17769 * gdb.reverse/machinestate-precsave.exp: Likewise.
17770 * gdb.reverse/machinestate.exp: Likewise.
17771 * gdb.reverse/sigall-precsave.exp: Likewise.
17772 * gdb.reverse/solib-precsave.exp: Likewise.
17773 * gdb.reverse/step-precsave.exp: Likewise.
17774 * gdb.reverse/until-precsave.exp: Likewise.
17775 * gdb.reverse/watch-precsave.exp: Likewise.
17776 * gdb.reverse/watch-reverse.exp: Likewise.
17777
17778 2014-10-17 Yao Qi <yao@codesourcery.com>
17779
17780 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17781 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17782
17783 2014-10-17 Pedro Alves <palves@redhat.com>
17784
17785 PR gdb/17471
17786 * gdb.base/bg-execution-repeat.c: New file.
17787 * gdb.base/bg-execution-repeat.exp: New file.
17788
17789 2014-10-17 Pedro Alves <palves@redhat.com>
17790
17791 PR gdb/17300
17792 * gdb.base/continue-all-already-running.c: New file.
17793 * gdb.base/continue-all-already-running.exp: New file.
17794
17795 2014-10-17 Pedro Alves <palves@redhat.com>
17796
17797 PR gdb/17472
17798 * gdb.base/annota-input-while-running.c: New file.
17799 * gdb.base/annota-input-while-running.exp: New file.
17800
17801 2014-10-17 Pedro Alves <palves@redhat.com>
17802
17803 * gdb.base/callfuncs.exp: emove references to osf.
17804 * gdb.base/sigall.exp: Likewise.
17805 * gdb.gdb/selftest.exp: Likewise.
17806 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17807 * gdb.mi/non-stop.c: Likewise.
17808 * gdb.mi/pthreads.c: Likewise.
17809 * gdb.reverse/sigall-precsave.exp: Likewise.
17810 * gdb.reverse/sigall-reverse.exp: Likewise.
17811 * gdb.threads/pthreads.c: Likewise.
17812 * gdb.threads/pthreads.exp: Likewise.
17813
17814 2014-10-17 Yao Qi <yao@codesourcery.com>
17815
17816 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17817 check 'target_info exists noargs'.
17818 (test_command_prompt_position): Likewise.
17819 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17820 Remove "set args".
17821 (progvar_simple_while_test): Likewise.
17822 (progvar_complex_if_while_test): Likewise.
17823 (if_while_breakpoint_command_test): Likewise.
17824 (infrun_breakpoint_command_test): Likewise.
17825 (breakpoint_command_test): Likewise.
17826 (watchpoint_command_test): Likewise.
17827 (bp_deleted_in_command_test): Likewise.
17828 (temporary_breakpoint_commands): Likewise.
17829
17830 2014-10-16 Yao Qi <yao@codesourcery.com>
17831
17832 * gdb.base/remotetimeout.exp: Remove noargs checking.
17833
17834 2014-10-15 Pedro Alves <palves@redhat.com>
17835
17836 PR breakpoints/9649
17837 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17838 * gdb.base/breakpoint-in-ro-region.exp
17839 (probe_target_hardware_step): New procedure.
17840 (top level): Probe hardware stepping and hardware breakpoint
17841 support. Test stepping through a read-only region, with both
17842 "breakpoint auto-hw" on and off and both "always-inserted" on and
17843 off.
17844
17845 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17846
17847 * gdb.dlang/demangle.exp: Update for demangling changes.
17848
17849 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17850
17851 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17852 * gdb.cp/non-trivial-retval.exp: Add new tests.
17853
17854 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17855
17856 PR c++/13403
17857 PR c++/15154
17858 * gdb.cp/non-trivial-retval.cc: New file.
17859 * gdb.cp/non-trivial-retval.exp: New file.
17860
17861 2014-10-15 Yao Qi <yao@codesourcery.com>
17862
17863 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17864 remote host.
17865
17866 2014-10-15 Yao Qi <yao@codesourcery.com>
17867
17868 * gdb.python/py-symbol.exp: Match file base name if host is
17869 remote, otherwise match file name with dir name.
17870 * gdb.python/py-symtab.exp: Likewise.
17871 * gdb.python/python.exp: Likewise.
17872
17873 2014-10-15 Yao Qi <yao@codesourcery.com>
17874
17875 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17876 pattern.
17877 * gdb.python/py-symtab.exp: Likewise.
17878 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17879 locationn.
17880
17881 2014-10-14 Joel Brobecker <brobecker@adacore.com>
17882
17883 * gdb.ada/addr_arith: New testcase.
17884
17885 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17886
17887 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17888 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17889 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17890 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17891
17892 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17893
17894 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17895 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17896 * gdb.arch/stap-eval-lang-ada.exp: New file.
17897
17898 2014-10-14 Yao Qi <yao@codesourcery.com>
17899
17900 * gdb.mi/mi-var-child.c (nothing1): New function.
17901 (nothing2): New function.
17902 (do_children_tests): Set function pointers by nothing1 and
17903 nothing2.
17904 * gdb.mi/mi-var-child.exp: Step over new added statements.
17905 Update test to match the new output.
17906 * gdb.mi/var-cmd.c (nothing1): New function.
17907 (nothing2): New function.
17908 (do_children_tests): Set function pointers by nothing1 and
17909 nothing2.
17910 * gdb.mi/mi-var-display.exp: Update test to match output.
17911 Step to the line specified by $line_dct_nothing.
17912 Increase the number of lines to step.
17913
17914 2014-10-14 Yao Qi <yao@codesourcery.com>
17915
17916 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17917 tests.
17918 * gdb.mi/mi2-var-child.exp: Likewise.
17919
17920 2014-10-13 Doug Evans <dje@google.com>
17921
17922 * gdb.python/py-objfile.exp: Change name of file name test.
17923
17924 2014-10-13 Doug Evans <dje@google.com>
17925
17926 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17927 from the start of the CU.
17928
17929 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17930 Yao Qi <yao@codesourcery.com>
17931
17932 Fix "save breakpoints" for "catch" command.
17933 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17934 Remove -nonewline. Match also the added "main" line.
17935
17936 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17937
17938 Fix "save breakpoints" for "disable $bpnum" command.
17939 * gdb.base/save-bp.c (main): Add label.
17940 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17941
17942 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17943
17944 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17945
17946 2014-10-11 Yao Qi <yao@codesourcery.com>
17947
17948 * gdb.server/server-kill.exp: Execute command
17949 "set remote trace-status-packet on" before "tstatus".
17950
17951 2014-10-11 Yao Qi <yao@codesourcery.com>
17952
17953 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17954 (main): Call getppid.
17955 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17956 and continue to it. Read variable "server_pid".
17957
17958 2014-10-11 Yao Qi <yao@codesourcery.com>
17959
17960 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17961
17962 2014-10-11 Yao Qi <yao@codesourcery.com>
17963
17964 * gdb.threads/thread-find.exp: Don't execute command
17965 "info threads".
17966 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17967 * gdb.threads/linux-dp.exp: Don't check the condition
17968 $threads_created equals to zero.
17969
17970 2014-10-10 Pedro Alves <palves@redhat.com>
17971
17972 * gdb.base/bigcore.exp: Remove references to IRIX.
17973 * gdb.base/funcargs.exp: Likewise.
17974 * gdb.base/interrupt.exp: Likewise.
17975 * gdb.base/mips_pro.exp: Likewise.
17976 * gdb.base/nodebug.exp: Likewise.
17977 * gdb.base/setvar.exp: Likewise.
17978 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17979
17980 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17981 Pedro Alves <palves@redhat.com>
17982
17983 PR symtab/14466
17984 * gdb.base/vdso-warning.c: New file.
17985 * gdb.base/vdso-warning.exp: New file.
17986
17987 2014-10-02 Doug Evans <dje@google.com>
17988
17989 * gdb.base/structs.c (main): Don't run forever.
17990
17991 2014-10-02 Pedro Alves <palves@redhat.com>
17992
17993 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17994 (top level) <stop threads 1, stop threads 2>: Use it.
17995
17996 2014-10-02 Pedro Alves <palves@redhat.com>
17997
17998 * gdb.threads/break-while-running.exp (test): Add new
17999 'update_thread_list' argument. Skip "info threads" if false.
18000 (top level): Add new 'update_thread_list' axis.
18001
18002 2014-10-02 Pedro Alves <palves@redhat.com>
18003
18004 PR breakpoints/17431
18005 * gdb.base/execl-update-breakpoints.c: New file.
18006 * gdb.base/execl-update-breakpoints.exp: New file.
18007
18008 2014-10-01 Pedro Alves <palves@redhat.com>
18009
18010 * gdb.base/breakpoint-in-ro-region.c: New file.
18011 * gdb.base/breakpoint-in-ro-region.exp: New file.
18012
18013 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18014
18015 * gdb.mi/mi-exit-code.exp: New file.
18016 * gdb.mi/mi-exit-code.c: New file.
18017
18018 2014-09-30 Yao Qi <yao@codesourcery.com>
18019
18020 * lib/prelink-support.exp (build_executable_own_libs): Error if
18021 the target isn't native.
18022
18023 2014-09-30 Yao Qi <yao@codesourcery.com>
18024
18025 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18026 false.
18027
18028 2014-09-22 Pedro Alves <palves@redhat.com>
18029
18030 * gdb.threads/break-while-running.exp: New file.
18031 * gdb.threads/break-while-running.c: New file.
18032
18033 2014-09-19 Yao Qi <yao@codesourcery.com>
18034
18035 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18036 Invoke test. Restart GDB with --readnow and invoke test again.
18037
18038 2014-09-19 Yao Qi <yao@codesourcery.com>
18039
18040 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18041 proc set_breakpoint_on_gcd_function. Invoke
18042 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18043 invoke set_breakpoint_on_gcd_function again.
18044
18045 2014-09-18 Doug Evans <dje@google.com>
18046
18047 * gdb.dwarf2/symtab-producer.exp: New file.
18048
18049 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18050
18051 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18052 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18053 * gdb.base/global-var-nested-by-dso.c: Likewise.
18054 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18055
18056 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18057 Pedro Alves <palves@redhat.com>
18058
18059 * gdb.base/watch-bitfields.exp: Pass string other than test file
18060 name to prepare_for_testing.
18061 (watch): New procedure.
18062 (expect_watchpoint): Use with_test_prefix.
18063 (top level): Factor out tests to ...
18064 (test_watch_location, test_regular_watch): ... these new
18065 procedures, and use with_test_prefix and gdb_continue_to_end.
18066
18067 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18068
18069 PR breakpoints/12526
18070 * gdb.base/watch-bitfields.exp: New file.
18071 * gdb.base/watch-bitfields.c: New file.
18072
18073 2014-09-16 Pedro Alves <palves@redhat.com>
18074
18075 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18076 software and hardware addresses, not software address against
18077 itself.
18078
18079 2014-09-16 Pedro Alves <palves@redhat.com>
18080
18081 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18082 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18083
18084 2014-09-16 Pedro Alves <palves@redhat.com>
18085
18086 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18087 files.
18088 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18089 "*-*-vxworks*" throughout.
18090 * gdb.base/break.exp: Likewise.
18091 * gdb.base/default.exp: Likewise.
18092 * gdb.base/scope.exp: Likewise.
18093 * gdb.base/sepdebug.exp: Likewise.
18094 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18095 throughout.
18096 * gdb.base/run.c: Likewise.
18097 * gdb.base/sepdebug.c: Likewise.
18098 * gdb.hp/gdb.aCC/run.c: Likewise.
18099 * gdb.reverse/until-reverse.c: Likewise.
18100 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18101
18102 2014-09-16 Yao Qi <yao@codesourcery.com>
18103
18104 * boards/local-remote-host-native.exp: New file.
18105
18106 2014-09-14 Doug Evans <xdje42@gmail.com>
18107
18108 * gdb.threads/queue-signal.c (thread_count): New variable.
18109 (thread_count_mutex, thread_count_condvar): New variables.
18110 (incr_thread_count, wait_all_threads_running): New functions.
18111 (main): Wait for all threads to be in their thread functions.
18112
18113 2014-09-13 Doug Evans <xdje42@gmail.com>
18114
18115 * gdb.threads/queue-signal.c: New file.
18116 * gdb.threads/queue-signal.exp: New file.
18117
18118 2014-09-13 Doug Evans <xdje42@gmail.com>
18119
18120 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18121 be consistent with what default_gdb_init uses.
18122 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18123 the plain text of the prompt. Add some logging printfs.
18124 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18125
18126 2014-09-12 Pedro Alves <palves@redhat.com>
18127
18128 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18129 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18130 * gdb.arch/i386-size-overlap.exp: Likewise.
18131 * gdb.arch/i386-size.exp: Likewise.
18132 * gdb.arch/i386-unwind.exp: Likewise.
18133 * gdb.base/a2-run.exp: Likewise.
18134 * gdb.base/break.exp: Likewise.
18135 * gdb.base/charset.exp: Likewise.
18136 * gdb.base/chng-syms.exp: Likewise.
18137 * gdb.base/commands.exp: Likewise.
18138 * gdb.base/dbx.exp: Likewise.
18139 * gdb.base/find.exp: Likewise.
18140 * gdb.base/funcargs.exp: Likewise.
18141 * gdb.base/jit-simple.exp: Likewise.
18142 * gdb.base/reread.exp: Likewise.
18143 * gdb.base/sepdebug.exp: Likewise.
18144 * gdb.base/step-bt.exp: Likewise.
18145 * gdb.cp/mb-inline.exp: Likewise.
18146 * gdb.cp/mb-templates.exp: Likewise.
18147 * gdb.objc/basicclass.exp: Likewise.
18148 * gdb.threads/killed.exp: Likewise.
18149
18150 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18151
18152 PR tdep/17379
18153 * gdb.arch/powerpc-stackless.S: New file.
18154 * gdb.arch/powerpc-stackless.exp: New file.
18155
18156 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18157
18158 * gdb.base/attach.c: Include unistd.h.
18159 (main): Call alarm. Add label postloop.
18160 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18161 gdb_breakpoint, gdb_continue_to_breakpoint.
18162 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18163
18164 2014-09-11 Pedro Alves <palves@redhat.com>
18165
18166 PR gdb/17347
18167 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18168 * gdb.base/attach.exp (test_command_line_attach_run): New
18169 procedure.
18170 (top level): Call it.
18171
18172 2014-09-11 Pedro Alves <palves@redhat.com>
18173
18174 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18175 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18176 (do_command_attach_tests): Use spawn_wait_for_attach.
18177 * gdb.base/solib-overlap.exp: Likewise.
18178 * gdb.multi/multi-attach.exp: Likewise.
18179 * gdb.python/py-prompt.exp: Likewise.
18180 * gdb.python/py-sync-interp.exp: Likewise.
18181 * gdb.server/ext-attach.exp: Likewise.
18182
18183 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18184
18185 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18186 command in testcase. Simplify testcase.
18187
18188 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18189
18190 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18191
18192 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18193
18194 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18195
18196 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18197
18198 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18199
18200 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18201
18202 * gdb.dwarf2/dynarr-ptr.c: New file.
18203 * gdb.dwarf2/dynarr-ptr.exp: New file.
18204
18205 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18206
18207 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18208 of 30 rather than hardcoding 120 for a slow test case. Take the
18209 `gdb,timeout' target setting into account for this calculation.
18210 Don't extend the timeout for the test cases that don't need it.
18211
18212 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18213
18214 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18215 a factor of 2 for a slow test case. Take the `gdb,timeout'
18216 target setting into account for this calculation.
18217 * gdb.reverse/until-precsave.exp: Increase the timeout by
18218 a factor of 15 and 3 respectively rather than adding 120
18219 for a pair of slow test cases. Take the `gdb,timeout'
18220 target setting into account for this calculation.
18221
18222 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18223
18224 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18225 timeout, don't pass one down to gdb_expect.
18226 (gdb_expect): Rework timeout selection.
18227
18228 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18229
18230 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18231 exception on timeout.
18232 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18233 (gdbserver_start_extended): Catch any `gdbserver_start' error
18234 exceptions.
18235 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18236 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18237 `gdbserver_gdb_load' error exceptions.
18238
18239 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18240
18241 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18242 120 on waiting for the TCP socket to open.
18243
18244 2014-09-09 Doug Evans <xdje42@gmail.com>
18245
18246 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18247 _caller_matches, _any_caller_is, _any_caller_matches.
18248
18249 2014-09-09 Doug Evans <xdje42@gmail.com>
18250
18251 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18252
18253 2014-09-09 Yao Qi <yao@codesourcery.com>
18254
18255 * gdb.mi/mi-var-display.exp: Set print symbol off.
18256
18257 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18258
18259 PR gdb/17035
18260 * gdb.base/commands.exp: Add tests to verify user-defined
18261 commands with empty bodies.
18262 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18263 python commands in `show user command`.
18264 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18265 scheme commands in `show user command`.
18266
18267 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18268
18269 PR python/17355
18270 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18271 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18272 * gdb.python/py-framefilter-invalidarg.exp: New file.
18273 * gdb.python/py-framefilter-invalidarg.py: New file.
18274
18275 2014-09-06 Doug Evans <xdje42@gmail.com>
18276
18277 PR 15276
18278 * gdb.python/py-caller-is.c: New file.
18279 * gdb.python/py-caller-is.exp: New file.
18280
18281 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18282
18283 PR gdb/17235
18284 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18285 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18286
18287 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18288
18289 PR fortran/17237
18290 * gdb.fortran/print-formatted.exp: New file.
18291 * gdb.fortran/print-formatted.f90: Likewise.
18292
18293 2014-09-03 Sasha Smundak <asmundak@google.com>
18294
18295 * gdb.python/py-frame.exp: Test Frame.read_register.
18296
18297 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18298
18299 PR python/16699
18300 * gdb.python/py-completion.exp: New file.
18301 * gdb.python/py-completion.py: Likewise.
18302
18303 2014-08-28 Doug Evans <dje@google.com>
18304
18305 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18306 eax,etc. are live with values set by gdb and thus the compiler can't
18307 use them.
18308 * gdb.arch/i386-pseudo.c (main): Ditto.
18309
18310 2014-08-27 Doug Evans <dje@google.com>
18311
18312 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18313
18314 2014-08-25 Doug Evans <dje@google.com>
18315
18316 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18317 (main): Ditto.
18318
18319 2014-08-25 Doug Evans <dje@google.com>
18320
18321 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18322
18323 2014-08-24 Yao Qi <yao@codesourcery.com>
18324
18325 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18326 symbol off.
18327 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18328
18329 2014-08-22 Doug Evans <dje@google.com>
18330
18331 PR 17276
18332 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18333 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18334 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18335
18336 2014-08-22 Yao Qi <yao@codesourcery.com>
18337
18338 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18339 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18340 * gdb.python/python.exp: Likewise. Use .py file on the host
18341 instead of the build.
18342
18343 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18344
18345 * gdb.threads/gcore-stale-thread.c: New file.
18346 * gdb.threads/gcore-stale-thread.exp: New file.
18347
18348 2014-08-21 Pedro Alves <palves@redhat.com>
18349
18350 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18351 * gdb.base/gcore-relro-pie.exp: Likewise.
18352 * gdb.base/gcore-relro.exp: Likewise.
18353 * gdb.base/gcore.exp: Likewise.
18354 * gdb.base/print-symbol-loading.exp: Likewise.
18355 * gdb.threads/gcore-thread.exp: Likewise.
18356 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18357
18358 2014-08-20 Pedro Alves <palves@redhat.com>
18359 Jan Kratochvil <jan.kratochvil@redhat.com>
18360
18361 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18362 configure.
18363 (EXPECT): Handle READ1 being set.
18364 (all): Depend on EXTRA_RULES.
18365 (check-read1, expect-read1, read1.so, read1): New rules.
18366 * README (Testsuite Parameters): Document the READ1 make variable.
18367 (Race detection): New section.
18368 * configure: Regenerate.
18369 * configure.ac: If build==host==target, and running under a
18370 GNU/glibc system, add read1 to the extra Makefile rules.
18371 (EXTRA_RULES): AC_SUBST it.
18372 * lib/read1.c: New file.
18373
18374 2014-08-20 Joel Brobecker <brobecker@adacore.com>
18375
18376 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18377 the handling of variables declared as a typedef to an array
18378 which a DW_AT_data_location attribute.
18379
18380 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
18381 Pedro Alves <palves@redhat.com>
18382
18383 PR symtab/14604
18384 PR symtab/14605
18385 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18386 gdb_test.
18387
18388 2014-08-19 Pedro Alves <palves@redhat.com>
18389
18390 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18391
18392 2014-08-19 Yao Qi <yao@codesourcery.com>
18393
18394 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18395 right line.
18396
18397 2014-08-18 David Blaikie <dblaikie@gmail.com>
18398
18399 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18400
18401 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18402
18403 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18404 attribute in array range.
18405
18406 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18407
18408 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18409
18410 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18411
18412 PR c++/17132
18413 * gdb.cp/pr17132.cc: New file.
18414 * gdb.cp/pr17132.exp: New file.
18415
18416 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18417
18418 * gdb.python/py-xmethods.py (A_getarrayind)
18419 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18420 Use 'print' with function call syntax.
18421 (E_method_matcher.match): Fix tab vs space indentation mixup.
18422
18423 2014-08-15 Yao Qi <yao@codesourcery.com>
18424
18425 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18426 false.
18427
18428 2014-08-15 Yao Qi <yao@codesourcery.com>
18429
18430 * gdb.cp/casts.exp: Set print symbol off.
18431 * gdb.cp/class2.exp: Likewise.
18432 * gdb.cp/overload.exp: Likewise.
18433 * gdb.cp/templates.exp: Likewise.
18434
18435 2014-08-11 Doug Evans <dje@google.com>
18436
18437 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18438 (test_load_shlib): Update.
18439
18440 2014-08-09 Yao Qi <yao@codesourcery.com>
18441
18442 * gdb.base/display.exp: Invoke is_address_zero_readable.
18443 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18444 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18445 * gdb.base/hbreak-unmapped.exp: Return if
18446 is_address_zero_readable returns true.
18447 * gdb.base/signest.exp: Likewise.
18448 * gdb.base/signull.exp: Likewise.
18449 * gdb.base/sigbpt.exp: Likewise.
18450 * gdb.guile/scm-disasm.exp: Do the test if
18451 is_address_zero_readable returns false.
18452 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18453 * gdb.python/py-arch.exp: Likewise.
18454 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18455 * lib/gdb.exp (is_address_zero_readable): New proc.
18456
18457 2014-08-09 Yao Qi <yao@codesourcery.com>
18458
18459 PR testsuite/13443
18460 * gdb.mi/mi-var-display.exp: Make test messages unique.
18461
18462 2014-08-04 Tom Tromey <tromey@redhat.com>
18463
18464 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18465 target 0".
18466
18467 2014-08-04 Tom Tromey <tromey@redhat.com>
18468
18469 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18470 "target_resume".
18471
18472 2014-08-01 Joel Brobecker <brobecker@adacore.com>
18473
18474 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18475 inner_vla_struct_object_size.
18476 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18477 as xfail.
18478
18479 2014-07-30 Pedro Alves <palves@redhat.com>
18480
18481 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18482 comment.
18483
18484 2014-07-29 Yao Qi <yao@codesourcery.com>
18485
18486 PR gdb/17206
18487 * gdb.base/until-nodebug.exp: New.
18488
18489 2014-07-28 Doug Evans <xdje42@gmail.com>
18490
18491 PR guile/17203
18492 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18493 previously existing parameter, and previously ambiguously spelled
18494 parameter.
18495
18496 2014-07-28 Will Newton <will.newton@linaro.org>
18497
18498 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18499
18500 2014-07-26 Ludovic Courtès <ludo@gnu.org>
18501 Doug Evans <xdje42@gmail.com>
18502
18503 PR guile/17146
18504 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18505
18506 2014-07-25 Pedro Alves <palves@redhat.com>
18507
18508 * gdb.threads/signal-command-handle-nopass.c: New file.
18509 * gdb.threads/signal-command-handle-nopass.exp: New file.
18510 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18511 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18512 * gdb.threads/signal-delivered-right-thread.c: New file.
18513 * gdb.threads/signal-delivered-right-thread.exp: New file.
18514
18515 2014-07-25 Pedro Alves <palves@redhat.com>
18516
18517 * gdb.base/double-prompt-target-event-error.exp
18518 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18519 match.
18520 (cancel_pagination_in_target_event): Rework double prompt
18521 detection.
18522 * gdb.base/paginate-after-ctrl-c-running.exp
18523 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18524 <return>' match.
18525 * gdb.base/paginate-bg-execution.exp
18526 (test_bg_execution_pagination_return)
18527 (test_bg_execution_pagination_cancel): Remove '-notransfer
18528 <return>' matches.
18529 * gdb.base/paginate-execution-startup.exp
18530 (test_fg_execution_pagination_return)
18531 (test_fg_execution_pagination_cancel): Remove '-notransfer
18532 <return>' matches.
18533 * gdb.base/paginate-inferior-exit.exp
18534 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18535 match.
18536 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18537 * lib/gdb.exp (pagination_prompt): Run text through
18538 string_to_regexp.
18539 (gdb_test_multiple): Match $pagination_prompt instead of
18540 "<return>".
18541 (string_to_regexp): Move to lib/gdb-utils.exp.
18542
18543 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18544
18545 * gdb.arch/amd64-entry-value-paramref.S: New file.
18546 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18547 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18548 * gdb.arch/amd64-optimout-repeat.S: New file.
18549 * gdb.arch/amd64-optimout-repeat.c: New file.
18550 * gdb.arch/amd64-optimout-repeat.exp: New file.
18551
18552 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18553
18554 PR gdb/17170
18555 * gdb.base/statistics.exp: New file.
18556
18557 2014-07-17 Doug Evans <dje@google.com>
18558
18559 PR gdb/17170
18560 * gdb.base/maint.exp: Update testing of per-command stats.
18561
18562 2014-07-16 Pedro Alves <palves@redhat.com>
18563
18564 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18565 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18566 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18567 (tfile_write_buf): New functions.
18568 (add_memory_block): Rewrite using the above.
18569 (adjust_function_address): New function.
18570 (FUNCTION_ADDRESS): New macro.
18571 (write_basic_trace_file): Remove short_x local, and use
18572 tfile_write_16. Change type of func_addr local to unsigned long
18573 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18574 here. Cast argument of add_memory_block to char pointer.
18575 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18576 (main): Remove parameters.
18577 * gdb.trace/tfile.exp: Remove nowarnings.
18578
18579 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18580
18581 * gdb.base/debug-expr.exp: Test string evaluation with
18582 "debug expression" on.
18583
18584 2014-07-15 Pedro Alves <palves@redhat.com>
18585
18586 * gdb.base/reread.exp: Use clean_restart.
18587
18588 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18589
18590 * gdb.arch/avr-flash-qualifer.c: New.
18591 * gdb.arch/avr-flash-qualifer.exp: New.
18592
18593 2014-07-14 Pedro Alves <palves@redhat.com>
18594
18595 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18596 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18597
18598 2014-07-14 Pedro Alves <palves@redhat.com>
18599
18600 * gdb.base/double-prompt-target-event-error.c: New file.
18601 * gdb.base/double-prompt-target-event-error.exp: New file.
18602
18603 2014-07-14 Pedro Alves <palves@redhat.com>
18604
18605 PR gdb/17072
18606 * gdb.base/paginate-inferior-exit.c: New file.
18607 * gdb.base/paginate-inferior-exit.exp: New file.
18608
18609 2014-07-14 Pedro Alves <palves@redhat.com>
18610
18611 PR gdb/17072
18612 * gdb.base/paginate-bg-execution.c: New file.
18613 * gdb.base/paginate-bg-execution.exp: New file.
18614
18615 2014-07-14 Pedro Alves <palves@redhat.com>
18616
18617 PR gdb/17072
18618 * gdb.base/paginate-execution-startup.c: New file.
18619 * gdb.base/paginate-execution-startup.exp: New file.
18620 * lib/gdb.exp (pagination_prompt): New global.
18621 (default_gdb_spawn): New procedure, factored out from
18622 default_gdb_spawn.
18623 (default_gdb_start): Adjust to call default_gdb_spawn.
18624 (gdb_spawn): New procedure.
18625
18626 2014-07-14 Pedro Alves <palves@redhat.com>
18627
18628 * lib/gdb.exp (gdb_assert): New procedure.
18629 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18630
18631 2014-07-14 Pedro Alves <palves@redhat.com>
18632
18633 * gdb.base/execution-termios.c: New file.
18634 * gdb.base/execution-termios.exp: New file.
18635
18636 2014-07-14 Tom Tromey <tromey@redhat.com>
18637
18638 * gdb.cp/vla-cxx.cc: New file.
18639 * gdb.cp/vla-cxx.exp: New file.
18640
18641 2014-07-14 Tom Tromey <tromey@redhat.com>
18642
18643 * gdb.reverse/rerun-prec.c: New file.
18644 * gdb.reverse/rerun-prec.exp: New file.
18645
18646 2014-07-12 Maciej W. Rozycki <macro@mips.com>
18647 Maciej W. Rozycki <macro@codesourcery.com>
18648
18649 * lib/gdb-utils.exp: New file.
18650 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18651 inline `gdb_init_command' processing.
18652 (gdb_start_cmd): Likewise.
18653 * lib/mi-support.exp (mi_run_cmd): Likewise.
18654 * README: Document `gdb_init_command' and `gdb_init_commands'.
18655
18656 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18657
18658 Fix false FAIL running under a very long directory name.
18659 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18660 and "set print elements 10000". Twice.
18661
18662 2014-07-11 Yao Qi <yao@codesourcery.com>
18663
18664 * gdb.base/exprs.exp: "set print symbol off".
18665
18666 2014-07-11 Pedro Alves <palves@redhat.com>
18667
18668 * gdb.threads/kill.c: New file.
18669 * gdb.threads/kill.exp: New file.
18670
18671 2014-07-10 Yao Qi <yao@codesourcery.com>
18672
18673 * gdb.trace/tfile.c (write_basic_trace_file)
18674 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18675 address written to trace file.
18676
18677 2014-07-09 Pedro Alves <palves@redhat.com>
18678
18679 * gdb.base/attach-wait-input.exp: New file.
18680 * gdb.base/attach-wait-input.c: New file.
18681
18682 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18683
18684 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18685 setting up test structures.
18686 (main): Call new test function.
18687 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18688 test function, continue into test function and walk test
18689 structures.
18690
18691 2014-07-02 Yao Qi <yao@codesourcery.com>
18692
18693 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18694 'bar_start' at the beginning of functions 'foo' and 'bar'
18695 respectively.
18696 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18697 instead of 'foo' and 'bar'.
18698
18699 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18700
18701 * gdb.btrace/segv.exp: New.
18702 * gdb.btrace/segv.c: New.
18703
18704 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
18705
18706 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18707 instruction.
18708
18709 2014-06-30 Mark Wielaard <mjw@redhat.com>
18710
18711 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18712 vulture, vilify, villar): New volatile array constants.
18713 (vindictive, vegetation): New const volatile array constants.
18714 * gdb.base/volatile.exp: Test volatile and const volatile array
18715 types.
18716
18717 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18718
18719 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18720 target lacks support for awatch, rwatch, or hbreak.
18721
18722 2014-06-27 Yao Qi <yao@codesourcery.com>
18723
18724 * gdb.multi/dummy-frame-restore.exp: New.
18725 * gdb.multi/dummy-frame-restore.c: New.
18726
18727 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18728
18729 * gdb.btrace/gcore.exp: New.
18730
18731 2014-06-23 Pedro Alves <palves@redhat.com>
18732
18733 * gdb.base/watchpoint-reuse-slot.c: New file.
18734 * gdb.base/watchpoint-reuse-slot.exp: New file.
18735
18736 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18737
18738 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18739 progspace's filename in 'info', 'enable' and 'disable' command
18740 tests.
18741
18742 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18743
18744 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18745 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18746 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18747
18748 2014-06-20 Gary Benson <gbenson@redhat.com>
18749
18750 * gdb.arch/i386-avx.exp: Fix include file location.
18751 * gdb.arch/i386-sse.exp: Likewise.
18752
18753 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18754
18755 * gdb.dlang/expression.exp: New file.
18756
18757 2014-06-19 Pedro Alves <palves@redhat.com>
18758
18759 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18760 out from ...
18761 (top level): ... here. Iterate running tests under different
18762 scheduler-locking settings.
18763
18764 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
18765
18766 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18767 to DW_FORM_addr and use non-zero addresses.
18768
18769 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18770
18771 PR gdb/17017
18772 * gdb.python/py-xmethods.cc: Add global function call counters and
18773 increment them in their respective functions. Remove "cout"
18774 statements.
18775 * gdb.python/py-xmethods.exp: Make tests check the global function
18776 call counters instead of depending on inferior IO.
18777
18778 2014-06-18 Don Breazeal <donb@codesourcery.com>
18779
18780 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18781 Deleted procedure.
18782 (explicit_fork_parent_follow): Deleted procedure.
18783 (explicit_fork_child_follow): Deleted procedure.
18784 (test_follow_fork): New procedure.
18785 (do_fork_tests): Replace calls to deleted procedures with
18786 calls to test_follow_fork and reset GDB for subsequent
18787 procedure calls.
18788
18789 2014-06-17 Yao Qi <yao@codesourcery.com>
18790
18791 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18792 CP1252.
18793
18794 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
18795
18796 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18797 Initialize ptr and S explicitly.
18798 (skip_type_update_when_not_use_rtti_test): Likewise.
18799
18800 2014-06-16 Keith Seitz <keiths@redhat.com>
18801
18802 PR mi/15863
18803 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18804 the inferior is started.
18805
18806 2014-06-16 Pedro Alves <palves@redhat.com>
18807
18808 * gdb.base/break-main-file-remove-fail.c: New file.
18809 * gdb.base/break-main-file-remove-fail.exp: New file.
18810 * gdb.base/break-unload-file.exp: Use build_executable instead of
18811 prepare_for_testing.
18812 (test_break): New parameter "initial_load". Handle it.
18813 (top level): Add initial_load cmdline/file axis.
18814
18815 2014-06-12 Tom Tromey <tromey@redhat.com>
18816
18817 * gdb.base/completion.exp: Don't use directory name in test.
18818
18819 2014-06-09 Gary Benson <gbenson@redhat.com>
18820
18821 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18822 separate the always-available ANSI-standard signals from the
18823 signals that require checking.
18824 (main): Likewise.
18825 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18826 Likewise.
18827 (main): Likewise.
18828
18829 2014-06-07 Keith Seitz <keiths@redhat.com>
18830
18831 Revert:
18832 PR c++/16253
18833 * gdb.cp/var-tag.cc: New file.
18834 * gdb.cp/var-tag.exp: New file.
18835 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18836 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18837 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18838 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18839
18840 2014-06-06 Doug Evans <xdje42@gmail.com>
18841
18842 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18843
18844 2014-06-06 Pedro Alves <palves@redhat.com>
18845
18846 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18847 in target debug output instead of looking at RSP packets,
18848 disabling the test on any target that uses hardware stepping.
18849 Update comments.
18850
18851 2014-06-06 Pedro Alves <palves@redhat.com>
18852
18853 * gdb.base/break-unload-file.exp: Fix typo.
18854
18855 2014-06-06 Yao Qi <yao@codesourcery.com>
18856
18857 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18858 from "jit_function" to "^jit_function".
18859
18860 2014-06-06 Yao Qi <yao@codesourcery.com>
18861
18862 * gdb.base/async.c (foo): Add one statement.
18863 * gdb.base/async.exp: Get the next instruction address and
18864 match the output of "nexti" by instruction address. Match
18865 the hex address in the output of "finish".
18866
18867 2014-06-06 Gary Benson <gbenson@redhat.com>
18868
18869 * gdb.base/call-signals.c: Remove preprocessor conditionals
18870 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18871 SIGSEGV and SIGTERM.
18872 * gdb.base/sigall.c: Likewise.
18873 * gdb.base/unwindonsignal.c: Likewise.
18874 * gdb.reverse/sigall-reverse.c: Likewise.
18875
18876 2014-06-06 Yao Qi <yao@codesourcery.com>
18877
18878 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18879 readable, skip the test.
18880
18881 2014-06-06 Yao Qi <yao@codesourcery.com>
18882
18883 * gdb.threads/staticthreads.c (thread_function): Move the line
18884 setting breakpoint on forward.
18885 * gdb.threads/staticthreads.exp: Update comments.
18886
18887 2014-06-05 Ludovic Courtès <ludo@gnu.org>
18888
18889 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18890 "history-append! type error".
18891
18892 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18893
18894 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18895 erroneous dprintf expected input.
18896
18897 2014-06-04 Doug Evans <xdje42@gmail.com>
18898
18899 * gdb.guile/scm-generics.exp: Delete.
18900
18901 2014-06-04 Doug Evans <xdje42@gmail.com>
18902
18903 * gdb.guile/scm-breakpoint.exp: Update.
18904 Add tests for breakpoint registration.
18905
18906 2014-06-04 Tom Tromey <tromey@redhat.com>
18907
18908 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18909 VLA-in-union.
18910 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18911 inner_vla_struct, vla_union types. Initialize objects of those
18912 types and compute their sizes.
18913
18914 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18915 Hui Zhu <hui@codesourcery.com>
18916
18917 * gdb.base/fileio.exp: Add test for shell not available as well as
18918 available.
18919 * gdb.base/fileio.c (test_system): Check for shell twice.
18920
18921 2014-06-04 Yao Qi <yao@codesourcery.com>
18922
18923 * gdb.base/auto-connect-native-target.exp: Remove redundant
18924 space from the regexp pattern.
18925
18926 2014-06-04 Yao Qi <yao@codesourcery.com>
18927
18928 * gdb.base/default.exp: Replace "child" with "native" in
18929 regexp pattern.
18930
18931 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18932
18933 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18934 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18935 * gdb.python/py-xmethods.py: Python script supporting the
18936 new testcase and tests.
18937
18938 2014-06-03 Joel Brobecker <brobecker@adacore.com>
18939 Pedro Alves <palves@redhat.com>
18940
18941 PR breakpoints/17000
18942 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18943 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18944
18945 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18946
18947 * gdb.base/subst.exp: Add tests to verify partial path matching
18948 output.
18949
18950 2014-06-03 Pedro Alves <palves@redhat.com>
18951
18952 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18953 target that doesn't use software single-stepping.
18954
18955 2014-06-03 Pedro Alves <palves@redhat.com>
18956
18957 PR breakpoints/17000
18958 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18959 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18960
18961 2014-06-02 Doug Evans <xdje42@gmail.com>
18962
18963 * gdb.guile/scm-parameter.exp: New file.
18964
18965 2014-06-02 Doug Evans <xdje42@gmail.com>
18966
18967 * gdb.guile/scm-cmd.c: New file.
18968 * gdb.guile/scm-cmd.exp: New file.
18969
18970 2014-06-02 Doug Evans <xdje42@gmail.com>
18971
18972 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18973 pretty-printer lookup.
18974 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18975 (make-pp_s-printer): Call it.
18976 (make-pretty-printer-from-dict): New function.
18977 (lookup-pretty-printer-maker-from-dict): New function.
18978 (*pretty-printer*): Simplify.
18979 (make-objfile-pp_s-printer): New function.
18980 (install-objfile-pretty-printers!): New function.
18981 (make-progspace-pp_s-printer): New function.
18982 (install-progspace-pretty-printers!): New function.
18983 * gdb.guile/scm-progspace.c: New file.
18984 * gdb.guile/scm-progspace.exp: New file.
18985
18986 2014-06-02 Pedro Alves <palves@redhat.com>
18987
18988 * gdb.base/dprintf-bp-same-addr.c: New file.
18989 * gdb.base/dprintf-bp-same-addr.exp: New file.
18990
18991 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18992
18993 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18994 * gdb.arch/powerpc-power.s: Likewise.
18995
18996 2014-06-02 Joel Brobecker <brobecker@adacore.com>
18997
18998 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18999
19000 2014-06-01 Yao Qi <yao@codesourcery.com>
19001
19002 * gdb.base/watchpoint.exp (test_watch_location): Check null
19003 pointer can be dereferenced. If not, do the test, otherwise
19004 skip it.
19005
19006 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
19007
19008 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19009 results.
19010 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19011
19012 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
19013
19014 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19015 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19016 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19017 * gdb.arch/amd64-invalid-stack-top.c: New file.
19018 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19019
19020 2014-05-30 Pedro Alves <palves@redhat.com>
19021
19022 PR breakpoints/17000
19023 * gdb.base/sss-bp-on-user-bp.c: New file.
19024 * gdb.base/sss-bp-on-user-bp.exp: New file.
19025
19026 2014-05-30 David Blaikie <dblaikie@gmail.com>
19027
19028 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19029 gnu_inline semantics via attribute.
19030 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19031 source explicitly specifies the required semantics.
19032
19033 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19034
19035 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19036
19037 2014-05-29 Pedro Alves <palves@redhat.com>
19038 Tom Tromey <tromey@redhat.com>
19039
19040 * gdb.base/async-shell.exp: Don't enable target-async.
19041 * gdb.base/async.exp
19042 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19043 parameter. Adjust.
19044 (top level): Don't test with "target-async".
19045 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19046 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19047 * gdb.base/inferior-died.exp: Don't enable target-async.
19048 * gdb.base/interrupt-noterm.exp: Likewise.
19049 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19050 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19051 * gdb.mi/mi-nonstop.exp: Likewise.
19052 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19053 * gdb.mi/mi-nsintrall.exp: Likewise.
19054 * gdb.mi/mi-nsmoribund.exp: Likewise.
19055 * gdb.mi/mi-nsthrexec.exp: Likewise.
19056 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19057 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19058 * gdb.python/py-evsignal.exp: Don't enable target-async.
19059 * gdb.python/py-evthreads.exp: Likewise.
19060 * gdb.python/py-prompt.exp: Likewise.
19061 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19062 * gdb.server/solib-list.exp: Don't enable target-async.
19063 * gdb.threads/thread-specific-bp.exp: Likewise.
19064 * lib/mi-support.exp: Adjust to use mi-async.
19065
19066 2014-05-29 Pedro Alves <palves@redhat.com>
19067
19068 PR gdb/13860
19069 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19070 reason, even in sync mode.
19071
19072 2014-05-29 Pedro Alves <palves@redhat.com>
19073 Hui Zhu <hui@codesourcery.com>
19074
19075 PR PR15693
19076 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19077 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19078 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19079 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19080
19081 2014-05-28 Joel Brobecker <brobecker@adacore.com>
19082
19083 * config/monitor.exp (gdb_target_monitor): Replace use of
19084 "set remotebaud" by "set serial baud".
19085
19086 2014-05-26 Andy Wingo <wingo@igalia.com>
19087
19088 * gdb.guile/scm-breakpoint.exp:
19089 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19090 properties instead of gdb-object-properties.
19091
19092 2014-05-26 Yao Qi <yao@codesourcery.com>
19093
19094 * gdb.server/no-thread-db.exp: Specify source file name
19095 explicitly when setting a breakpoint.
19096
19097 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19098
19099 * gdb.btrace/vdso.c: New.
19100 * gdb.btrace/vdso.exp: New.
19101
19102 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19103
19104 * gdb.base/gcore.exp (capture_command_output): Move ...
19105 * lib/gdb.exp (capture_command_output): ... here.
19106
19107 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19108
19109 * gdb.btrace/data.exp: Test memory access during btrace replay.
19110
19111 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19112
19113 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19114
19115 2014-05-21 Pedro Alves <palves@redhat.com>
19116
19117 PR gdb/13860
19118 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19119 (top level): Test that output related to execution commands is
19120 sent to the console with CLI commands, but not with MI commands.
19121 Test that breakpoint events are always mirrored to the console.
19122 Also expect the new source line to be output after a "next" in
19123 async mode too. Make it a pass/fail test.
19124 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19125 output.
19126 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19127
19128 2014-05-21 Pedro Alves <palves@redhat.com>
19129
19130 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19131 Use them to test variations of "list" after reaching a breakpoint.
19132 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19133 Test "list" with listsize 10 after reaching a breakpoint.
19134 * gdb.python/python.exp (decode_line current location line
19135 number): Adjust expected line number.
19136
19137 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19138
19139 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19140 behavior for $args, pass it directly to "run".
19141
19142 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19143
19144 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19145 30000 to 65536.
19146
19147 2014-05-21 Pedro Alves <palves@redhat.com>
19148
19149 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19150 auto-connect-native-target off".
19151 * gdb.base/auto-connect-native-target.c: New file.
19152 * gdb.base/auto-connect-native-target.exp: New file.
19153
19154 2014-05-21 Pedro Alves <palves@redhat.com>
19155
19156 * gdb.base/default.exp: Test "target native" instead of "target
19157 child".
19158
19159 2014-05-21 Mark Wielaard <mjw@redhat.com>
19160
19161 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19162
19163 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19164
19165 Fix TLS access for -static -pthread.
19166 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19167 <HAVE_TLS> (thread_function, main): Initialize it.
19168 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19169 Add clean_restart.
19170 <$have_tls != "">: Check TLSVAR.
19171
19172 2014-05-21 Pedro Alves <palves@redhat.com>
19173
19174 * gdb.base/dcache-line-read-error.c: New.
19175 * gdb.base/dcache-line-read-error.exp: New.
19176
19177 2014-05-20 Pedro Alves <palves@redhat.com>
19178
19179 * gdb.base/compare-sections.c: New file.
19180 * gdb.base/compare-sections.exp: New file.
19181
19182 2014-05-20 Pedro Alves <palves@redhat.com>
19183
19184 * gdb.base/break-idempotent.c: New file.
19185 * gdb.base/break-idempotent.exp: New file.
19186
19187 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19188
19189 * gdb.btrace/nohist.exp: New.
19190
19191 2014-05-20 Yao Qi <yao@codesourcery.com>
19192
19193 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19194 gdb.reverse directory and gdb_reverse_timeout exists in board
19195 setting.
19196 * README: Document gdb_reverse_timeout.
19197
19198 2014-05-20 Yao Qi <yao@codesourcery.com>
19199
19200 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19201 'test_file_name'. Treat args as a string instead of a list.
19202 (gdb_init): Rename argument 'args' by 'test_file_name'.
19203
19204 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19205
19206 * gdb.arch/powerpc-power.exp: New file.
19207 * gdb.arch/powerpc-power.s: New file.
19208
19209 2014-05-16 Doug Evans <dje@google.com>
19210
19211 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
19212 * gdb.base/completion.exp: Check that all expected files exist
19213 before doing file completion.
19214
19215 2014-05-16 Doug Evans <dje@google.com>
19216
19217 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19218 Update.
19219 (do_syscall_tests_without_xml): Update.
19220
19221 2014-05-16 Pedro Alves <palves@redhat.com>
19222
19223 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19224 instead of "unknown output after running".
19225
19226 2014-05-16 Yao Qi <yao@codesourcery.com>
19227
19228 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19229 file1.txt from host at the end.
19230 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19231
19232 2014-05-15 Doug Evans <dje@google.com>
19233
19234 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19235 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19236 loading file. Add test for TU lookup.
19237
19238 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19239
19240 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19241 calling "-exec-arguments" or "set args" before running the
19242 inferior.
19243
19244 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19245
19246 * lib/mi-support.exp (mi_expect_stop): Expect message for
19247 inferiors that exit with non-zero exit code.
19248
19249 2014-05-14 Yao Qi <yao@codesourcery.com>
19250
19251 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19252 match absolute path on remote host.
19253 (test_file_list_exec_source_files): Remove "/" from the
19254 pattern.
19255
19256 2014-05-14 Yao Qi <yao@codesourcery.com>
19257
19258 * boards/local-remote-host-notty.exp (${board}_file): New
19259 proc.
19260
19261 2014-05-07 Kyle McMartin <kyle@redhat.com>
19262
19263 Pushed by Joel Brobecker <brobecker@adacore.com>.
19264 * gdb.arch/aarch64-atomic-inst.c: New file.
19265 * gdb.arch/aarch64-atomic-inst.exp: New file.
19266
19267 2014-05-07 Yao Qi <yao@codesourcery.com>
19268
19269 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19270 in current context" too.
19271
19272 2014-05-05 Keith Seitz <keiths@redhat.com>
19273
19274 * gdb.linespec/ls-dollar.exp: Add test for linespec
19275 file:convenience_variable.
19276
19277 2014-05-05 Yao Qi <yao@codesourcery.com>
19278
19279 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19280 traceframes into tfile and ctf trace files. Read data from
19281 trace file and test collected data.
19282 (gdb_collect_locals_test): Likewise.
19283 (gdb_unavailable_registers_test): Likewise.
19284 (gdb_unavailable_floats): Likewise.
19285 (gdb_collect_globals_test): Likewise.
19286 (top-level): Append "ctf" to trace_file_targets if GDB
19287 supports.
19288
19289 2014-05-05 Yao Qi <yao@codesourcery.com>
19290
19291 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19292 code to ...
19293 (gdb_collect_args_test_1): ... it. New proc.
19294 (gdb_collect_locals_test): Move some code to ...
19295 (gdb_collect_locals_test_1): ... it. New proc.
19296 (gdb_unavailable_registers_test): Move some code to ...
19297 (gdb_unavailable_registers_test_1): ... it. New proc.
19298 (gdb_unavailable_floats): Move some code to ...
19299 (gdb_unavailable_floats_1): ... it. New proc.
19300
19301 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19302
19303 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19304 probes to test for bitness recognition.
19305 * gdb.arch/amd64-stap-optional-prefix.exp
19306 (test_probe_value_without_reg): New procedure.
19307 Add code to test for different kinds of bitness.
19308
19309 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19310
19311 PR breakpoints/16889
19312 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19313 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19314
19315 2014-05-01 Pedro Alves <palves@redhat.com>
19316
19317 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19318 gdb_file_cmd if no file is specified.
19319 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19320 last_loaded_file to set the remote exec-file.
19321
19322 2014-05-01 Pedro Alves <palves@redhat.com>
19323
19324 * boards/local-remote-host.exp: New file.
19325
19326 2014-05-01 Pedro Alves <palves@redhat.com>
19327
19328 * boards/local-remote-host.exp: Rename to ...
19329 * boards/local-remote-host-notty.exp: ... this.
19330
19331 2014-04-28 Joel Brobecker <brobecker@adacore.com>
19332
19333 * gdb.ada/dyn_arrayidx: New testcase.
19334
19335 2014-04-26 Yao Qi <yao@codesourcery.com>
19336
19337 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19338 and compute the length of function main. Save it in
19339 $main_length.
19340 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19341 (top-level): Use gdb_compile to compile objects into
19342 executable and restart GDB. Remove invocation to
19343 prepare_for_testing.
19344
19345 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19346 Pedro Alves <palves@redhat.com>
19347
19348 PR server/16255
19349 * gdb.multi/multi-attach.c: New file.
19350 * gdb.multi/multi-attach.exp: New file.
19351
19352 2014-04-25 Pedro Alves <palves@redhat.com>
19353
19354 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19355 user.
19356 (top level): Test that "set remote conditional-breakpoints-packet
19357 off" works as intended.
19358 * gdb.base/dprintf.exp: Test that "set remote
19359 breakpoint-commands-packet off" works as intended.
19360 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19361 New function.
19362 (top level): Call it.
19363 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19364 remote fast-tracepoints-packet off" works as intended.
19365 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19366 * lib/gdb.exp (gdb_is_target_remote): ... here.
19367
19368 2014-04-24 David Blaikie <dblaikie@gmail.com>
19369
19370 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19371 ensure clang would not discard them.
19372 * gdb.base/gdbvars.c: Ditto.
19373 * gdb.base/memattr.c: Ditto.
19374 * gdb.base/whatis.c: Ditto.
19375 * gdb.python/py-prettyprint.c: Ditto.
19376 * gdb.trace/actions.c: Ditto.
19377 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19378 ensure clang would not discard it.
19379
19380 2014-04-24 David Blaikie <dblaikie@gmail.com>
19381
19382 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19383 clang to emit the full definition of type required by the test
19384 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19385
19386 2014-04-24 David Blaikie <dblaikie@gmail.com>
19387
19388 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19389 coax Clang into emitting the definition of the type.
19390 * gdb.cp/pr10728-x.h (y): Ditto.
19391 * gdb.cp/pr10728-y.cc (y): Ditto.
19392
19393 2014-04-24 David Blaikie <dblaikie@gmail.com>
19394
19395 * gdb.base/label.exp: XFAIL label related tests under Clang.
19396 * gdb.cp/cplabel.exp: Ditto.
19397 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19398 under Clang those using labels.
19399
19400 2014-04-25 Yao Qi <yao@codesourcery.com>
19401
19402 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19403 double_label.
19404 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19405 partial_label and double_label.
19406
19407 2014-04-24 David Blaikie <dblaikie@gmail.com>
19408
19409 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19410
19411 2014-04-24 David Blaikie <dblaikie@gmail.com>
19412
19413 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19414 of the function to work across GCC and Clang.
19415 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19416 pointer types (const void ** const V void **).
19417
19418 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
19419 Walfred Tedeschi <walfred.tedeschi@intel.com>
19420
19421 * Makefile.in (EXECUTABLES): Added i386-avx512.
19422 * gdb.arch/i386-avx512.c: New file.
19423 * gdb.arch/i386-avx512.exp: Likewise.
19424
19425 2014-04-23 Keith Seitz <keiths@redhat.com>
19426
19427 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19428 (mi_make_breakpoint_table): New procedure.
19429 (mi_create_breakpoint): Use mi_make_breakpoint
19430 and return the result.
19431 (mi_make_breakpoint): New procedure.
19432 (mi_build_kv_pairs): New procedure.
19433
19434 * gdb.mi/mi-break.exp: Remove unused globals,
19435 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19436 All callers updated.
19437 * gdb.mi/mi-dprintf.exp: Use variable to track command
19438 number.
19439 Update all callers of mi_create_breakpoint and use
19440 mi_make_breakpoint_table.
19441 Remove any unused global variables.
19442 * gdb.mi/mi-nonstop.exp: Likewise.
19443 * gdb.mi/mi-nsintrall.exp: Likewise.
19444 * gdb.mi/mi-nsmoribund.exp: Likewise.
19445 * gdb.mi/mi-nsthrexec.exp: Likewise.
19446 * gdb.mi/mi-reverse.exp: Likewise.
19447 * gdb.mi/mi-simplerun.exp: Likewise.
19448 * gdb.mi/mi-stepn.exp: Likewise.
19449 * gdb.mi/mi-syn-frame.exp: Likewise.
19450 * gdb.mi/mi-until.exp: Likewise.
19451 * gdb.mi/mi-var-cp.exp: Likewise.
19452 * gdb.mi/mi-var-display.exp: Likewise.
19453 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19454 * gdb.mi/mi2-var-child.exp: Likewise.
19455 * gdb.mi/mi-vla-c99.exp: Likewise.
19456 * lib/mi-support.exp: Likewise.
19457
19458 From Ian Lance Taylor <iant@cygnus.com>:
19459 * lib/gdb.exp (parse_args): New procedure.
19460
19461 2014-04-23 Pedro Alves <palves@redhat.com>
19462
19463 * gdb.base/break-unload-file.c: New file.
19464 * gdb.base/break-unload-file.exp: New file.
19465 * gdb.base/sym-file-lib.c (baz): New function.
19466 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19467 field.
19468 (load): Store the segment's mapped size.
19469 (unload): New function.
19470 (unload_shlib): New function.
19471 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19472 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19473 set a breakpoint at baz, and call it.
19474 * gdb.base/sym-file.exp: New tests for stale breakpoint
19475 instructions.
19476
19477 2014-04-23 Pedro Alves <palves@redhat.com>
19478
19479 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19480 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19481 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19482 * gdb.base/hbreak-unmapped.c: New file.
19483 * gdb.base/hbreak-unmapped.exp: New file.
19484 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19485 * lib/gdb.exp (gdb_is_target_remote): ... here.
19486
19487 2014-04-22 Pedro Alves <palves@redhat.com>
19488
19489 * gdb.base/consecutive-step-over.c: New file.
19490 * gdb.base/consecutive-step-over.exp: New file.
19491
19492 2014-04-22 Pedro Alves <palves@redhat.com>
19493
19494 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19495 instead of send_gdb/gdb_expect.
19496
19497 2014-04-22 Yao Qi <yao@codesourcery.com>
19498
19499 * lib/trace-support.exp (generate_tracefile): New procedure.
19500 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19501 return 0.
19502 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19503 if generate_tracefile returns 1.
19504
19505 2014-04-18 Tom Tromey <palves@redhat.com>
19506 Pedro alves <tromey@redhat.com>
19507
19508 PR backtrace/15558
19509 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19510 with a backtrace limit.
19511 * gdb.python/py-frame-inline.exp: Test running to an inline
19512 function with a backtrace limit, and printing the newest frame.
19513 * gdb.python/py-frame-inline.c (main): Call f.
19514
19515 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19516
19517 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19518
19519 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19520
19521 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19522 Drop prefix from unsupported source file path.
19523
19524 2014-04-17 Yao Qi <yao@codesourcery.com>
19525
19526 * lib/gdb.exp (with_target_charset): New proc.
19527 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19528 with_target_charset.
19529 (test_print_strings): Likewise.
19530 (test_repeat_bytes): Likewise.
19531 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19532 for some tests.
19533
19534 2014-04-16 Keith Seitz <keiths@redhat.com>
19535
19536 PR gdb/15827
19537 * gdb.dwarf2/corrupt.c: New file.
19538 * gdb.dwarf2/corrupt.exp: New file.
19539
19540 2014-04-16 Keith Seitz <keiths@redhat.com>
19541
19542 PR c++/16597
19543 * gdb.cp/namelessclass.cc: New file.
19544 * gdb.cp/namelessclass.exp: New file.
19545 * gdb.cp/namelessclass.S: New file.
19546
19547 2014-04-16 Doug Evans <dje@google.com>
19548
19549 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19550 Add comment.
19551 (gdbserver_default_get_comm_port): New function.
19552 (gdbserver_start): Check if board file provided
19553 "gdbserver,get_comm_port" and use it if so.
19554 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19555 (gdb,socketport): Set to "stdio".
19556 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19557 (stdio_gdbserver_template): Delete.
19558 (${board}_get_remote_address): Update.
19559 (${board}_build_remote_cmd): Delete.
19560 (${board}_get_comm_port): New function.
19561 (${board}_spawn): Update.
19562 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19563 Delete.
19564 (${board}_get_remote_address): Update.
19565 (${board}_get_comm_port): New function.
19566
19567 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
19568
19569 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19570 appearing in any order.
19571
19572 2014-04-15 Doug Evans <dje@google.com>
19573
19574 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19575 uninitialized value of "description".
19576
19577 2014-04-15 Keith Seitz <keiths@redhat.com>
19578
19579 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19580 Remove unused globals.
19581 (test_running_the_program): Likewise.
19582 (test_controlled_execution): Likewise.
19583 (test_controlling_breakpoints): Likewise.
19584 (test_program_termination): Likewise.
19585
19586 2014-04-15 Keith Seitz <keiths@redhat.com>
19587
19588 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19589 unused globals.
19590 (test_rbreak_creation_and_listing): Likewise.
19591 (test_ignore_count): Likewise.
19592 (test_error): Likewise.
19593
19594 2014-04-15 Pedro Alves <palves@redhat.com>
19595
19596 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19597 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19598 sym-file-loader.c.
19599 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19600 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19601 to sym-file-loader.c.
19602 (struct library): Forward declare.
19603 (load_shlib, lookup_function): Change prototypes.
19604 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19605 (translate_offset): Remove declarations.
19606 (get_text_addr): New declaration.
19607 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19608 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19609 sym-file-loader.h.
19610 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19611 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19612 here from sym-file-loader.h.
19613 (struct library): New structure.
19614 (load_shlib, lookup_function): Change prototypes and adjust to
19615 work with a struct library.
19616 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19617 (translate_offset): Make static.
19618 (get_text_addr): New function.
19619 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19620
19621 2014-04-15 Pedro Alves <palves@redhat.com>
19622
19623 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19624
19625 2014-04-15 Pedro Alves <palves@redhat.com>
19626
19627 * gdb.base/sym-file-loader.c: Include <limits.h>.
19628 (SELF_LINK): New define.
19629 (get_origin): New function.
19630 (load_shlib): Use it.
19631 * gdb.base/sym-file.exp: Don't early return if the target is
19632 remote. Use runto_main, and issue fail is that fails. Use
19633 gdb_load_shlibs.
19634 (shlib_name): Delete.
19635 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19636
19637 2014-04-15 Pedro Alves <palves@redhat.com>
19638
19639 * gdb.base/sym-file.exp: Remove regex characters from test
19640 message. Don't refer to breakpoint numbers in test messages.
19641
19642 2014-04-14 Keith Seitz <keiths@redhat.com>
19643
19644 PR c++/16253
19645 * gdb.cp/var-tag.cc: New file.
19646 * gdb.cp/var-tag.exp: New file.
19647 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19648 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19649 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19650 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19651
19652 2014-04-14 Tom Tromey <tromey@redhat.com>
19653
19654 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19655 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19656 type.
19657 * gdb.cp/enum-class.exp: New file.
19658 * gdb.cp/enum-class.cc: New file.
19659
19660 2014-04-14 Tom Tromey <tromey@redhat.com>
19661
19662 * gdb.dwarf2/enum-type.exp: New file.
19663
19664 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19665
19666 * gdb.mi/mi-vla-c99.exp: New file.
19667 * gdb.mi/vla.c: New file.
19668
19669 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19670
19671 * gdb.base/vla-datatypes.c: New file.
19672 * gdb.base/vla-datatypes.exp: New file.
19673
19674 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19675
19676 * gdb.base/vla-ptr.c: New file.
19677 * gdb.base/vla-ptr.exp: New file.
19678
19679 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19680
19681 * gdb.dwarf2/count.exp: New file.
19682
19683 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19684
19685 * gdb.base/vla-sideeffect.c: New file.
19686 * gdb.base/vla-sideeffect.exp: New file.
19687
19688 2014-04-14 David Blaikie <dblaikie@gmail.com>
19689
19690 * gdb.mi/non-stop.c: Add return value for non-void function return
19691 statement.
19692 * gdb.threads/staticthreads.c: Ditto.
19693
19694 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19695 Doug Evans <xdje42@gmail.com>
19696
19697 * gdb.guile/scm-value.c: Improve test case.
19698 * gdb.guile/scm-value.exp: Add new test.
19699
19700 2014-04-11 David Blaikie <dblaikie@gmail.com>
19701
19702 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19703 override Clang's default.
19704
19705 2014-04-11 Joel Brobecker <brobecker@adacore.com>
19706
19707 Revert the following changes (regressions):
19708
19709 * gdb.base/vla-sideeffect.c: New file.
19710 * gdb.base/vla-sideeffect.exp: New file.
19711
19712 * gdb.dwarf2/count.exp: New file.
19713
19714 * gdb.base/vla-multi.c: New file.
19715 * gdb.base/vla-multi.exp: New file.
19716
19717 * gdb.base/vla-ptr.c: New file.
19718 * gdb.base/vla-ptr.exp: New file.
19719
19720 * gdb.base/vla-datatypes.c: New file.
19721 * gdb.base/vla-datatypes.exp: New file.
19722
19723 * gdb.mi/mi-vla-c99.exp: New file.
19724 * gdb.mi/vla.c: New file.
19725
19726 2014-04-11 Keith Seitz <keiths@redhat.com>
19727
19728 PR c++/16675
19729 * gdb.cp/cpsizeof.exp: New file.
19730 * gdb.cp/cpsizeof.cc: New file.
19731
19732 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19733
19734 * gdb.mi/mi-vla-c99.exp: New file.
19735 * gdb.mi/vla.c: New file.
19736
19737 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19738
19739 * gdb.base/vla-datatypes.c: New file.
19740 * gdb.base/vla-datatypes.exp: New file.
19741
19742 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19743
19744 * gdb.base/vla-ptr.c: New file.
19745 * gdb.base/vla-ptr.exp: New file.
19746
19747 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19748
19749 * gdb.base/vla-multi.c: New file.
19750 * gdb.base/vla-multi.exp: New file.
19751
19752 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19753
19754 * gdb.dwarf2/count.exp: New file.
19755
19756 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19757
19758 * gdb.base/vla-sideeffect.c: New file.
19759 * gdb.base/vla-sideeffect.exp: New file.
19760
19761 2014-04-11 Yao Qi <yao@codesourcery.com>
19762
19763 * gdb.base/completion.exp: Check file exists before running tests
19764 on file completion.
19765
19766 2014-04-10 Pedro Alves <palves@redhat.com>
19767
19768 * gdb.base/cond-eval-mode.c: New file.
19769 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19770 prepare_for_testing to build the new file. Check result of
19771 runto_main.
19772 (test_break, test_watch): New procedures.
19773 (top level): Use them.
19774
19775 2014-04-08 Pierre Muller <muller@sourceware.org>
19776
19777 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19778 Ctrl-V use for mingw hosts.
19779
19780 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19781
19782 * gdb.python/py-value.c: Improve test case.
19783 * gdb.python/py-value.exp: Add new test.
19784
19785 2014-04-07 David Blaikie <dblaikie@gmail.com>
19786
19787 * lib/compiler.c: Identify the clang compiler.
19788 * lib/compiler.cc: Ditto.
19789
19790 2014-04-03 Yao Qi <yao@codesourcery.com>
19791
19792 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19793
19794 2014-04-01 Anton Blanchard <anton@samba.org>
19795
19796 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19797 messages unique.
19798
19799 2014-04-01 Anton Blanchard <anton@samba.org>
19800
19801 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19802 prepare_for_testing.
19803
19804 2014-04-01 Anton Blanchard <anton@samba.org>
19805
19806 * gdb.arch/ppc64-atomic-inst.c: Remove.
19807 * gdb.arch/ppc64-atomic-inst.S: New file.
19808 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19809
19810 2014-03-31 Doug Evans <dje@google.com>
19811
19812 * gdb.base/print-symbol-loading-lib.c: New file.
19813 * gdb.base/print-symbol-loading-main.c: New file.
19814 * gdb.base/print-symbol-loading.exp: New file.
19815
19816 2014-03-31 Yao Qi <yao@codesourcery.com>
19817
19818 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19819
19820 2014-03-28 Joel Brobecker <brobecker@adacore.com>
19821
19822 * gdb.ada/mi_dyn_arr: New testcase.
19823
19824 2014-03-27 Doug Evans <dje@google.com>
19825
19826 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19827
19828 2014-03-27 Yao Qi <yao@codesourcery.com>
19829
19830 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19831 if target is nios2-*-*.
19832
19833 2014-03-26 Yao Qi <yao@codesourcery.com>
19834
19835 * lib/gdb.exp (readline_is_used): New proc.
19836 * gdb.base/completion.exp: Move tests on command complete up.
19837 Skip the rest of tests if readline is not used.
19838 * gdb.ada/complete.exp: Skp the test if readline is not
19839 used.
19840 * gdb.base/filesym.exp: Likewise.
19841 * gdb.base/macscp.exp: Likewise.
19842 * gdb.base/readline-ask.exp: Likewise.
19843 * gdb.base/readline.exp: Likewise.
19844 * gdb.python/py-cmd.exp: Likewise.
19845 * gdb.trace/tfile.exp: Likewise.
19846
19847 2014-03-26 Yao Qi <yao@codesourcery.com>
19848
19849 * gdb.base/macscp.exp: Fix code format issues.
19850
19851 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19852
19853 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19854 * gdb.asm/powerpc64le.inc: New file.
19855
19856 2014-03-25 Pedro Alves <palves@redhat.com>
19857 Doug Evans <dje@google.com>
19858
19859 * gdb.base/source-execution.c: New file.
19860 * gdb.base/source-execution.exp: New file.
19861 * gdb.base/source-execution.gdb: New file.
19862
19863 2014-03-24 Doug Evans <dje@google.com>
19864
19865 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19866 using fission.
19867
19868 2014-03-24 Hui Zhu <hui@codesourcery.com>
19869 Pedro Alves <palves@redhat.com>
19870
19871 PR breakpoints/16101
19872 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19873 test pass/fail messages. Detect missing support for dprintf when
19874 breakpoints are actually inserted.
19875 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19876 breakpoints are actually inserted.
19877 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19878 fails.
19879
19880 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19881
19882 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19883
19884 2014-03-22 Doug Evans <xdje42@gmail.com>
19885
19886 * gdb.python/python.exp (python not supported): Verify multi-line
19887 python command issues an error.
19888 * gdb.guile/guile.exp (guile not supported): Verify multi-line
19889 guile command issues an error.
19890
19891 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19892
19893 * gdb.threads/thread-specific.exp: Handle the lack of usable
19894 $this_breakpoint and $this_thread.
19895
19896 2014-03-21 Hui Zhu <hui@codesourcery.com>
19897
19898 * gdb.base/attach.exp (do_command_attach_tests): New.
19899
19900 2014-03-20 Tom Tromey <tromey@redhat.com>
19901 Pedro Alves <palves@redhat.com>
19902
19903 PR cli/15718
19904 * gdb.base/condbreak-call-false.c: New file.
19905 * gdb.base/condbreak-call-false.exp: New file.
19906
19907 2014-03-20 Pedro Alves <palves@redhat.com>
19908
19909 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19910 Delete.
19911 (block_signals, unblock_signals): Delete.
19912 (child_function_2, main): Remove references to deleted variable
19913 and functions.
19914
19915 2014-03-20 Pedro Alves <palves@redhat.com>
19916
19917 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19918 Use pthread_kill to signal thread 2.
19919 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19920 Adjust to make the test send itself a signal rather than using the
19921 host's "kill" command.
19922
19923 2014-03-20 Pedro Alves <palves@redhat.com>
19924
19925 * gdb.threads/multiple-step-overs.c: New file.
19926 * gdb.threads/multiple-step-overs.exp: New file.
19927 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19928 Adjust expected infrun debug output.
19929
19930 2014-03-20 Pedro Alves <palves@redhat.com>
19931
19932 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19933 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19934
19935 2014-03-20 Pedro Alves <palves@redhat.com>
19936
19937 PR breakpoints/7143
19938 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19939 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19940 of gdb_test_multiple.
19941 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19942 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19943
19944 2014-03-20 Pedro Alves <palves@redhat.com>
19945
19946 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19947 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19948
19949 2014-03-19 Pedro Alves <palves@redhat.com>
19950
19951 * gdb.base/async.exp: Remove early return.
19952
19953 2014-03-19 Pedro Alves <palves@redhat.com>
19954
19955 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19956
19957 2014-03-19 Pedro Alves <palves@redhat.com>
19958
19959 * gdb.base/async.exp (test_background): Expect \r\n after
19960 "completed." in the fail pattern.
19961
19962 2014-03-19 Pedro Alves <palves@redhat.com>
19963
19964 * gdb.base/async.exp (test_background): New procedure.
19965 Use it for all background execution command tests.
19966
19967 2014-03-19 Pedro Alves <palves@redhat.com>
19968
19969 * gdb.base/async.exp: Use prepare_for_testing.
19970
19971 2014-03-19 Pedro Alves <palves@redhat.com>
19972
19973 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19974 the same line.
19975
19976 2014-03-19 Pedro Alves <palves@redhat.com>
19977
19978 * gdb.base/async.c (main): Add "jump here" and "until here" line
19979 marker comments.
19980 * gdb.base/async.exp (jump_here): New global.
19981 (jump& test): Use it.
19982 (until_here): New global.
19983 (until& test): Use it.
19984
19985 2014-03-19 Pedro Alves <palves@redhat.com>
19986
19987 * gdb.base/async.exp: Don't frob gdb_protocol.
19988
19989 2014-03-18 Doug Evans <xdje42@gmail.com>
19990
19991 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19992 Fix spelling of exec-done-display.
19993
19994 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19995
19996 PR gdb/15358
19997 * gdb.base/gdb-sigterm.c: New file.
19998 * gdb.base/gdb-sigterm.exp: New file.
19999
20000 2014-03-18 Pedro Alves <palves@redhat.com>
20001
20002 PR gdb/13860
20003 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20004 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20005 solib-event.
20006
20007 2014-03-17 Joel Brobecker <brobecker@adacore.com>
20008
20009 * gdb.ada/pckd_arr_ren: New testcase.
20010
20011 2014-03-13 Doug Evans <xdje42@gmail.com>
20012
20013 PR guile/16612
20014 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20015 collect after discarding symbols.
20016
20017 2014-03-13 Ludovic Courtès <ludo@gnu.org>
20018 Doug Evans <xdje42@gmail.com>
20019
20020 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20021 to history survives a gc.
20022
20023 2014-03-13 Pedro Alves <palves@redhat.com>
20024
20025 * gdb.base/default.exp: Don't test "target procfs".
20026
20027 2014-03-13 Pedro Alves <palves@redhat.com>
20028
20029 * gdb.base/default.exp: Update "target child" and "target procfs"
20030 tests to not expect "Unix".
20031
20032 2014-03-12 Tom Tromey <tromey@redhat.com>
20033
20034 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20035 New procs. Add target-async tests.
20036 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20037 Add target-async tests.
20038
20039 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20040
20041 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20042 'func_start' and 'func_end' for the beginning and end of the
20043 function code, respectively.
20044 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20045 'func_end' instead of 'func' and 'main'.
20046
20047 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20048
20049 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20050 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20051 generate the debug info assembler source.
20052
20053 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20054
20055 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20056 * gdb.dwarf2/arr-subrange.exp: Likewise.
20057 * gdb.dwarf2/dwz.exp: Likewise.
20058 * gdb.dwarf2/method-ptr.exp: Likewise.
20059 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20060 * gdb.dwarf2/subrange.exp: Likewise.
20061 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20062 * gdb.dwarf2/implptrpiece.exp: Likewise.
20063 * gdb.dwarf2/nostaticblock.exp: Likewise.
20064
20065 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20066
20067 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20068 directory to absolute path name arguments.
20069
20070 2014-03-10 Joel Brobecker <brobecker@adacore.com>
20071
20072 * gdb.ada/tagged_access: New testcase.
20073
20074 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20075
20076 * gdb.btrace/data.exp: Update expected output.
20077
20078 2014-03-06 Yao Qi <yao@codesourcery.com>
20079
20080 * gdb.trace/pr16508.exp: New file.
20081
20082 2014-03-05 Pedro Alves <palves@redhat.com>
20083
20084 PR gdb/16575
20085 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20086 procedure.
20087 (top level): Adjust to use it. Add tests that exercise breakpoint
20088 interaction with the code-cache.
20089
20090 2014-02-26 Ludovic Courtès <ludo@gnu.org>
20091
20092 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20093 test for 'history-append!'.
20094
20095 2014-02-26 Joel Brobecker <brobecker@adacore.com>
20096
20097 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20098 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20099 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20100 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20101 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20102 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20103
20104 2014-02-26 Joel Brobecker <brobecker@adacore.com>
20105
20106 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20107 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20108 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20109
20110 2014-02-26 Joel Brobecker <brobecker@adacore.com>
20111
20112 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20113
20114 2014-02-26 Joel Brobecker <brobecker@adacore.com>
20115
20116 * gdb.dwarf2/arr-stride.c: New file.
20117 * gdb.dwarf2/arr-stride.exp: New file.
20118
20119 2014-02-26 Pedro Alves <palves@redhat.com>
20120
20121 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20122 that won't ever trigger. Make sure that GDB reports the correct
20123 breakpoint that caused the stop.
20124
20125 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20126
20127 PR gdb/16626
20128 * gdb.base/auto-load-script: New file.
20129 * gdb.base/auto-load.c: New file.
20130 * gdb.base/auto-load.exp: New file.
20131
20132 PR gdb/16626
20133 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20134
20135 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20136
20137 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20138 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20139
20140 2014-02-24 Doug Evans <dje@google.com>
20141
20142 * lib/gdb.exp (run_on_host): Log error output if program fails.
20143
20144 2014-02-21 Pedro Alves <palves@redhat.com>
20145
20146 * gdb.threads/step-after-sr-lock.c: Rename to ...
20147 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20148 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20149 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20150 ... this.
20151
20152 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20153
20154 PR tdep/16397
20155 * gdb.arch/amd64-stap-special-operands.exp: New file.
20156 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20157 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20158 * gdb.arch/amd64-stap-triplet.S: Likewise.
20159 * gdb.arch/amd64-stap-triplet.c: Likewise.
20160
20161 2014-02-20 Joel Brobecker <brobecker@adacore.com>
20162
20163 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20164 in .section pseudo-op.
20165
20166 2014-02-20 lin zuojian <manjian2006@gmail.com>
20167 Joel Brobecker <brobecker@adacore.com>
20168 Doug Evans <xdje42@gmail.com>
20169
20170 PR symtab/16581
20171 * gdb.dwarf2/dw2-icycle.S: New file.
20172 * gdb.dwarf2/dw2-icycle.c: New file.
20173 * gdb.dwarf2/dw2-icycle.exp: New file.
20174
20175 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20176
20177 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20178 operations on gdb.Value objects.
20179 * gdb.python/py-value-cc.exp: Add new test to test operations on
20180 gdb.Value objects.
20181
20182 2014-02-18 Doug Evans <dje@google.com>
20183
20184 * Makefile.in (TESTS): New variable.
20185 (expanded_tests, expanded_tests_or_none): New variables
20186 (check-single): Pass $(expanded_tests_or_none) to runtest.
20187 (check-parallel): Only run tests in $(TESTS) if non-empty.
20188 (check/no-matching-tests-found): New rule.
20189 * README: Document TESTS makefile variable.
20190
20191 2014-02-18 Doug Evans <dje@google.com>
20192
20193 * Makefile.in (check-parallel): rm -rf outputs temp.
20194
20195 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20196
20197 Fix "ERROR: no fileid for" in the testsuite.
20198 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20199
20200 2014-02-12 Doug Evans <dje@google.com>
20201
20202 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20203 (MISCELLANEOUS): New variable.
20204 (clean): rm -rf $(MISCELLANEOUS).
20205 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20206 dwp live in the same directory as symlinks, with each symlink pointed
20207 to a differently named file in a different directory.
20208
20209 2014-02-11 Doug Evans <dje@google.com>
20210
20211 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20212 of Tcl file commands.
20213
20214 2014-02-10 Mark Kettenis <kettenis@gnu.org>
20215
20216 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20217 "kill -SIGUSR1 -1".
20218
20219 2014-02-10 Joel Brobecker <brobecker@adacore.com>
20220
20221 * gdb.ada/tick_length_array_enum_idx: New testcase.
20222
20223 2014-02-10 Doug Evans <xdje42@gmail.com>
20224
20225 * configure.ac (AC_OUTPUT): Add gdb.guile.
20226 * configure: Regenerate.
20227 * lib/gdb-guile.exp: New file.
20228 * lib/gdb.exp (get_target_charset): New function.
20229 * gdb.base/help.exp: Update expected output from "apropos apropos".
20230 * gdb.guile/Makefile.in: New file.
20231 * gdb.guile/guile.exp: New file.
20232 * gdb.guile/scm-arch.c: New file.
20233 * gdb.guile/scm-arch.exp: New file.
20234 * gdb.guile/scm-block.c: New file.
20235 * gdb.guile/scm-block.exp: New file.
20236 * gdb.guile/scm-breakpoint.c: New file.
20237 * gdb.guile/scm-breakpoint.exp: New file.
20238 * gdb.guile/scm-disasm.c: New file.
20239 * gdb.guile/scm-disasm.exp: New file.
20240 * gdb.guile/scm-equal.c: New file.
20241 * gdb.guile/scm-equal.exp: New file.
20242 * gdb.guile/scm-error.exp: New file.
20243 * gdb.guile/scm-error.scm: New file.
20244 * gdb.guile/scm-frame-args.c: New file.
20245 * gdb.guile/scm-frame-args.exp: New file.
20246 * gdb.guile/scm-frame-args.scm: New file.
20247 * gdb.guile/scm-frame-inline.c: New file.
20248 * gdb.guile/scm-frame-inline.exp: New file.
20249 * gdb.guile/scm-frame.c: New file.
20250 * gdb.guile/scm-frame.exp: New file.
20251 * gdb.guile/scm-generics.exp: New file.
20252 * gdb.guile/scm-gsmob.exp: New file.
20253 * gdb.guile/scm-iterator.c: New file.
20254 * gdb.guile/scm-iterator.exp: New file.
20255 * gdb.guile/scm-math.c: New file.
20256 * gdb.guile/scm-math.exp: New file.
20257 * gdb.guile/scm-objfile-script-gdb.in: New file.
20258 * gdb.guile/scm-objfile-script.c: New file.
20259 * gdb.guile/scm-objfile-script.exp: New file.
20260 * gdb.guile/scm-objfile.c: New file.
20261 * gdb.guile/scm-objfile.exp: New file.
20262 * gdb.guile/scm-ports.exp: New file.
20263 * gdb.guile/scm-pretty-print.c: New file.
20264 * gdb.guile/scm-pretty-print.exp: New file.
20265 * gdb.guile/scm-pretty-print.scm: New file.
20266 * gdb.guile/scm-section-script.c: New file.
20267 * gdb.guile/scm-section-script.exp: New file.
20268 * gdb.guile/scm-section-script.scm: New file.
20269 * gdb.guile/scm-symbol.c: New file.
20270 * gdb.guile/scm-symbol.exp: New file.
20271 * gdb.guile/scm-symtab-2.c: New file.
20272 * gdb.guile/scm-symtab.c: New file.
20273 * gdb.guile/scm-symtab.exp: New file.
20274 * gdb.guile/scm-type.c: New file.
20275 * gdb.guile/scm-type.exp: New file.
20276 * gdb.guile/scm-value-cc.cc: New file.
20277 * gdb.guile/scm-value-cc.exp: New file.
20278 * gdb.guile/scm-value.c: New file.
20279 * gdb.guile/scm-value.exp: New file.
20280 * gdb.guile/source2.scm: New file.
20281 * gdb.guile/types-module.cc: New file.
20282 * gdb.guile/types-module.exp: New file.
20283
20284 2014-02-10 Yao Qi <yao@codesourcery.com>
20285
20286 PR testsuite/16543
20287 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20288 * configure: Regenerated.
20289 * Makefile.in: New file.
20290
20291 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20292
20293 * gdb.python/py-framefilter.exp: Fix typo.
20294
20295 2014-02-08 Yao Qi <yao@codesourcery.com>
20296
20297 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20298 that no =breakpoint-modified is emitted when breakpoints are
20299 modified through MI commands.
20300
20301 2014-02-07 Pedro Alves <pedro@codesourcery.com>
20302 Pedro Alves <palves@redhat.com>
20303
20304 * gdb.threads/step-after-sr-lock.c: New file.
20305 * gdb.threads/step-after-sr-lock.exp: New file.
20306
20307 2014-02-07 Pedro Alves <palves@redhat.com>
20308
20309 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20310
20311 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20312
20313 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20314 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20315
20316 2014-02-06 Doug Evans <xdje42@gmail.com>
20317
20318 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20319 output.
20320
20321 * gdb.gdb/python-interrupts.exp: New file.
20322
20323 2014-02-05 Yao Qi <yao@codesourcery.com>
20324
20325 * gdb.trace/report.exp (use_collected_data): Test the output
20326 of "info threads" and "info inferiors".
20327
20328 2014-02-05 Yao Qi <yao@codesourcery.com>
20329
20330 Revert this patch:
20331
20332 2013-05-24 Yao Qi <yao@codesourcery.com>
20333
20334 * gdb.trace/tfile.exp: Test inferior and thread.
20335
20336 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20337
20338 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20339 on a function.
20340 * gdb.base/step-bt.c: Call hello via function pointer to make
20341 sure its first instruction is executed on powerpc64le-linux.
20342
20343 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20344
20345 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20346
20347 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20348
20349 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20350 of the test patterns for use on little-endian systems.
20351
20352 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20353
20354 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20355 (decimal_vector): Fix for little-endian.
20356
20357 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20358
20359 * gdb.arch/sparc-sysstep.exp: New file.
20360 * gdb.arch/sparc-sysstep.c: Likewise.
20361
20362 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20363
20364 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20365
20366 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20367
20368 2014-01-23 Tom Tromey <tromey@redhat.com>
20369
20370 * gdb.ada/array_char_idx: New testcase.
20371
20372 2014-01-23 Tom Tromey <tromey@redhat.com>
20373
20374 PR python/16487:
20375 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20376 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20377 classes.
20378
20379 2014-01-23 Tom Tromey <tromey@redhat.com>
20380
20381 PR python/16491:
20382 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20383 string from an inferior frame.
20384 * gdb.python/py-framefilter-mi.exp: Update.
20385
20386 2014-01-22 Doug Evans <dje@google.com>
20387
20388 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20389
20390 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20391
20392 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20393
20394 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20395
20396 * gdb.trace/entry-values.exp: Remove excess space character from
20397 regex patterns. Handle s390 call instruction.
20398
20399 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20400
20401 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20402 define "*_start" label. Make "name" static.
20403 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20404 ${name} by references to ${name}_start.
20405
20406 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20407
20408 * gdb.base/info-macros.exp: Remove "debug" from the compile
20409 options.
20410
20411 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20412
20413 * gdb.dlang/demangle.exp: New file.
20414
20415 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20416
20417 * gdb.dlang/primitive-types.exp: New file.
20418
20419 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20420
20421 * configure.ac: Create gdb.dlang/Makefile.
20422 * configure: Regenerate.
20423 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20424 * gdb.dlang/Makefile.in: New file.
20425 * lib/d-support.exp: New file.
20426 * lib/gdb.exp (skip_d_tests): New proc.
20427
20428 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20429
20430 * gdb.btrace/delta.exp: Check reverse stepi.
20431 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20432 * gdb.btrace/finish.exp: New.
20433 * gdb.btrace/next.exp: New.
20434 * gdb.btrace/nexti.exp: New.
20435 * gdb.btrace/record_goto.c: Add comments.
20436 * gdb.btrace/step.exp: New.
20437 * gdb.btrace/stepi.exp: New.
20438 * gdb.btrace/multi-thread-step.c: New.
20439 * gdb.btrace/multi-thread-step.exp: New.
20440 * gdb.btrace/rn-dl-bind.c: New.
20441 * gdb.btrace/rn-dl-bind.exp: New.
20442 * gdb.btrace/data.c: New.
20443 * gdb.btrace/data.exp: New.
20444 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20445
20446 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20447
20448 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20449 * gdb.btrace/exception.exp: Update.
20450 * gdb.btrace/instruction_history.exp: Update.
20451 * gdb.btrace/record_goto.exp: Update.
20452 * gdb.btrace/tailcall.exp: Update.
20453 * gdb.btrace/unknown_functions.exp: Update.
20454 * gdb.btrace/delta.exp: New.
20455
20456 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20457
20458 * gdb.btrace/record_goto.exp: Add backtrace test.
20459 * gdb.btrace/tailcall.exp: Add backtrace test.
20460
20461 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20462
20463 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20464 * gdb.btrace/record_goto.c: New.
20465 * gdb.btrace/record_goto.exp: New.
20466 * gdb.btrace/x86-record_goto.S: New.
20467
20468 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20469
20470 * gdb.btrace/function_call_history.exp: Update tests.
20471 * gdb.btrace/instruction_history.exp: Update tests.
20472
20473 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20474
20475 * gdb.btrace/function_call_history.exp: Fix expected field
20476 order for "record function-call-history".
20477 Add new tests for "record function-call-history /c".
20478 * gdb.btrace/exception.cc: New.
20479 * gdb.btrace/exception.exp: New.
20480 * gdb.btrace/tailcall.exp: New.
20481 * gdb.btrace/x86-tailcall.S: New.
20482 * gdb.btrace/x86-tailcall.c: New.
20483 * gdb.btrace/unknown_functions.c: New.
20484 * gdb.btrace/unknown_functions.exp: New.
20485 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20486
20487 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20488
20489 * gdb.btrace/instruction_history.exp: Update.
20490 * gdb.btrace/function_call_history.exp: Update.
20491
20492 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20493
20494 * gdb.btrace/function_call_history.exp: Fix expected function
20495 trace.
20496 * gdb.btrace/instruction_history.exp: Initialize traced.
20497 Remove traced_functions.
20498
20499 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20500
20501 * gdb.btrace/function_call_history.exp: Update
20502 * gdb.btrace/instruction_history.exp: Update.
20503
20504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20505
20506 * gdb.btrace/enable.exp: Update expected text.
20507
20508 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20509
20510 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20511 bytes.
20512
20513 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20514
20515 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20516
20517 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
20518
20519 * lib/gdb.exp (supports_process_record): Return true for
20520 arm*-linux*. (supports_reverse): Likewise.
20521
20522 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20523
20524 PR python/15464
20525 PR python/16113
20526 * gdb.python/py-type.c: Enhance test case.
20527 * gdb.python/py-value-cc.cc: Likewise
20528 * gdb.python/py-type.exp: Add new tests.
20529 * gdb.python/py-value-cc.exp: Likewise
20530
20531 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20532 Pedro Alves <palves@redhat.com>
20533
20534 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20535 Make "name" extern.
20536 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20537 references to ${name}_start by references to ${name}.
20538
20539 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20540
20541 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20542
20543 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20544
20545 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20546
20547 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20548 Pedro Alves <palves@redhat.com>
20549
20550 * gdb.mi/mi-info-os.exp: Connect to the target with
20551 mi_gdb_target_load.
20552
20553 2014-01-08 Pedro Alves <palves@redhat.com>
20554
20555 * gdb.threads/reconnect-signal.c: New file.
20556 * gdb.threads/reconnect-signal.exp: New file.
20557
20558 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20559
20560 * gdb.base/source-dir.exp: New file.
20561
20562 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20563
20564 * gdb.ada/mi_interface: New testcase.
20565
20566 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20567
20568 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20569 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20570 gdb.ada/pp-rec-component/pck.ads: New files.
20571
20572 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20573
20574 * gdb.python/py-pp-integral.c: New file.
20575 * gdb.python/py-pp-integral.py: New file.
20576 * gdb.python/py-pp-integral.exp: New file.
20577
20578 For older changes see ChangeLog-1993-2013.
20579 \f
20580 ;; Local Variables:
20581 ;; mode: change-log
20582 ;; left-margin: 8
20583 ;; fill-column: 74
20584 ;; version-control: never
20585 ;; End:
20586
20587 Copyright 2014-2020 Free Software Foundation, Inc.
20588 Copying and distribution of this file, with or without modification,
20589 are permitted provided the copyright notice and this notice are preserved.