]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame_incremental - gdb/testsuite/ChangeLog
gdb: allow casting to rvalue reference in more cases
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.cp/rvalue-ref-params.cc (f3): New function.
4 (f4): New function.
5 (global_int): New global variable.
6 (global_float): Likeiwse.
7 (main): Call both new functions.
8 * gdb.cp/rvalue-ref-params.exp: Add new tests.
9
102021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
11
12 * gdb.dwarf2/fission-relative-dwo.c: New file.
13 * gdb.dwarf2/fission-relative-dwo.exp: New file.
14
152021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
16
17 * gdb.dwarf2/fission-absolute-dwo.c: New file.
18 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
19 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
20 instead of build_executable_from_fission_assembler.
21 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
22 * gdb.dwarf2/fission-loclists.exp: Likewise.
23
24 * gdb.dwarf2/fission-multi-cu.S: Delete file.
25 * gdb.dwarf2/fission-multi-cu.c: New file based on old
26 fission-multi-cu1.c and fission-multi-cu2.c files.
27 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
28 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
29 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
30 * gdb.dwarf2/fission-reread.exp: Likewise.
31 * lib/dwarf.exp (extract_dwo_information): New proc.
32 (strip_dwo_information): New proc.
33 (build_executable_and_dwo_files): New proc.
34 (build_executable_from_fission_assembler): Delete.
35 (Dwarf::_debug_addr_index): New variable.
36 (Dwarf::_cu_is_fission): New variable.
37 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
38 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
39 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
40 if this is a fission CU.
41 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
42 (Dwarf::debug_addr_label): New proc.
43 (Dwarf::cu): Initialise _cu_is_fission.
44 (Dwarf::tu): Likewise.
45 (Dwarf::assemble): Initialise _debug_addr_index.
46
472021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
48
49 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
50
512021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 * gdb.python/py-parameter.exp: Add test for reading data-directory
54 using gdb.parameter API.
55
562021-04-06 Tom de Vries <tdevries@suse.de>
57
58 PR breakpoints/25884
59 * gdb.opt/inline-cmds.exp: Remove kfail.
60
612021-04-06 Tom de Vries <tdevries@suse.de>
62
63 PR testsuite/27691
64 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
65 file "".
66
672021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
68
69 * lib/pdtrace.in: Fix obvious typo.
70
712021-03-31 Tom Tromey <tromey@adacore.com>
72
73 * lib/dwarf.exp (Dwarf::_get_args): New proc.
74 (Dwarf::_location): Use it.
75
762021-03-31 Tom de Vries <tdevries@suse.de>
77
78 PR testsuite/27667
79 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
80
812021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
82
83 PR gdb/27541
84 * gdb.base/index-cache-load-twice.exp: Remove.
85 * gdb.base/index-cache-load-twice.c: Remove.
86 * gdb.dwarf2/per-bfd-sharing.exp: New.
87 * gdb.dwarf2/per-bfd-sharing.c: New.
88
892021-03-30 Tom de Vries <tdevries@suse.de>
90
91 PR testsuite/27604
92 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
93
942021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
95
96 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
97 the infinite loop to avoid a Clang bug.
98
992021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
100
101 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
102 names for uniqueness.
103 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
104 uniqueness.
105
1062021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
109 member.
110 (make_container): Initialise is_array_p.
111 * gdb.python/py-prettyprint.exp: Add new tests.
112 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
113 Check is_array_p and possibly return 'array'.
114
1152021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
116
117 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
118 * gdb.cp/casts.exp: Give tests unique names.
119 * gdb.cp/filename.exp: Likewise.
120 * gdb.cp/gdb2495.exp: Likewise.
121 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
122 * gdb.cp/misc.exp: Rename test to make it unique.
123 * gdb.cp/nsnested.exp: Give tests unique names.
124 * gdb.cp/ovldbreak.exp: Likewise.
125 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
126 being tested. This also removes the duplicate test name.
127 * gdb.cp/ref-types.exp: Likewise.
128 * gdb.cp/temargs.exp: Likewise.
129
1302021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
133 square brackets in test.
134
1352021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * gdb.cp/maint.exp (test_first_component): Run more tests with a
138 variable number of spaces, this removes the duplicate testing of
139 'operator ->' which existed before.
140
1412021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
142
143 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
144 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
145 duplicates, and also to avoid having a string inside parentheses
146 at the end of test names.
147
1482021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
151 Avoid repeated uses of 'runto', and instread just progress once
152 through the test stopping at different breakpoints. Give comments
153 a capital letter and full stop. Give duplicate tests unique names.
154
1552021-03-25 Pedro Alves <pedro@palves.net>
156
157 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
158 "target_non_stop" parameter and use it.
159 (top level): Add "maint set target-non-stop on/off" testing axis.
160
1612021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
162
163 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
164 gdb_test_multiple.
165
1662021-03-24 Luis Machado <luis.machado@linaro.org>
167
168 * gdb.arch/aarch64-mte.c: New file.
169 * gdb.arch/aarch64-mte.exp: New test.
170 * gdb.base/memtag.c: New file.
171 * gdb.base/memtag.exp: New test.
172 * lib/gdb.exp (supports_memtag): New function.
173
1742021-03-24 Luis Machado <luis.machado@linaro.org>
175
176 * gdb.base/options.exp: Adjust for new print options.
177 * gdb.base/with.exp: Likewise.
178
1792021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
180
181 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
182 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
183
1842021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * gdb.dwarf2/dw2-using-debug-str.c: New file.
187 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
188 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
189 not .debug_string.
190
1912021-03-20 Tom Tromey <tom@tromey.com>
192
193 * gdb.base/maint.exp: Update "maint print statistics" output.
194
1952021-03-19 Kevin Buettner <kevinb@redhat.com>
196
197 * lib/gdbserver-support.exp (gdbserver_exit): Use the
198 "-nowait" flag when waiting for gdbserver to exit.
199
2002021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
201
202 * gdb.base/info-macros.exp: Append -fdebug-macro to
203 additional_flags for clang.
204 * gdb.base/macscp.exp: Likewise.
205 * gdb.base/style.exp: Likewise.
206 * gdb.linespec/macro-relative.exp: Likewise.
207
2082021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
209 Pedro Alves <pedro@palves.net>
210
211 * gdb.base/run-attach-while-running.exp: New.
212 * gdb.base/run-attach-while-running.c: New.
213
2142021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
215
216 * gdb.python/py-framefilter-addr.c: New file.
217 * gdb.python/py-framefilter-addr.exp: New file.
218 * gdb.python/py-framefilter-addr.py: New file.
219
2202021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
221
222 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
223 Make use of $gdb_test_name instead of creating a separate $test
224 variable.
225 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
226 adding a '($name)' at the end of each test. This also catches the
227 one place where '($name)' was missing, and so caused a duplicate
228 test name.
229 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
230 duplicate test names based on the command being tested.
231 * gdb.threads/signal-command-multiple-signals-pending.exp:
232 Likewise.
233 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
234 avoid duplicate testnames when a test script uses this proc and
235 also gdb_compile_pthreads.
236 * lib/prelink-support.exp (build_executable_own_libs): Use
237 with_test_prefix to avoid duplicate test names when we call
238 build_executable twice.
239
2402021-03-15 Tom Tromey <tromey@adacore.com>
241
242 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
243
2442021-03-15 Tom Tromey <tromey@adacore.com>
245
246 * gdb.ada/varsize_limit.exp: Add new test.
247 * gdb.ada/varsize_limit/vsizelim.adb: Update.
248
2492021-03-15 Tom Tromey <tromey@adacore.com>
250
251 * gdb.ada/operator_call/twovecs.ads: New file.
252 * gdb.ada/operator_call/twovecs.adb: New file.
253 * gdb.ada/operator_call/opcall.adb: New file.
254 * gdb.ada/operator_call.exp: New file.
255
2562021-03-15 Tom Tromey <tromey@adacore.com>
257
258 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
259 * gdb.ada/enums_overload/enums_overload.ads: New file.
260 * gdb.ada/enums_overload/enums_overload.adb: New file.
261 * gdb.ada/enums_overload.exp: New file.
262
2632021-03-15 Tom Tromey <tromey@adacore.com>
264
265 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
266 Declare.
267 * gdb.ada/assign_arr/target_wrapper.adb: New file.
268 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
269 Call Put.
270 * gdb.ada/assign_arr.exp: Update.
271
2722021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
273
274 * gdb.python/py-auto-load-chaining-f1.c: New file.
275 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
276 * gdb.python/py-auto-load-chaining-f2.c: New file.
277 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
278 * gdb.python/py-auto-load-chaining.c: New file.
279 * gdb.python/py-auto-load-chaining.exp: New file.
280
2812021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
282
283 * gdb.python/py-bad-printers.exp: Extend test names to make them
284 unique.
285 * gdb.python/py-events.exp: Likewise.
286 * gdb.python/py-finish-breakpoint2.exp: Likewise.
287 * gdb.python/py-frame-inline.exp: Likewise.
288 * gdb.python/py-frame.exp: Likewise.
289 * gdb.python/py-infthread.exp: Likewise.
290
2912021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
292
293 * gdb.python/py-value-cc.exp: Remove a duplicate test.
294
2952021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
296
297 * gdb.python/lib-types.exp: Update the test to check the correct
298 python variable.
299
3002021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
301
302 * gdb.python/py-explore-cc.exp: Extend test names to make them
303 unique.
304
3052021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
306
307 * gdb.python/py-lookup-type.exp: Remove duplicate test.
308
3092021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
310
311 * gdb.python/py-symtab.exp: Extend test names to make them
312 unique.
313
3142021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
315
316 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
317 names unique.
318
3192021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
320
321 * gdb.python/py-block.exp: Give tests unique names.
322
3232021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
324
325 * gdb.python/py-pp-maint.exp: Extend test names to make them
326 unique.
327
3282021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
329
330 * gdb.python/py-explore.exp: Add with_test_prefix to make test
331 names unique.
332
3332021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
334
335 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
336
3372021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
338
339 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
340 names unique.
341
3422021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
343
344 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
345 test names unique.
346
3472021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
348
349 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
350 unique.
351
3522021-03-09 Tom Tromey <tromey@adacore.com>
353
354 * gdb.base/cast-call.exp: New file.
355 * gdb.base/cast-call.c: New file.
356
3572021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
358
359 * gdb.gdb/python-helper.exp: New file.
360
3612020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
362
363 * gdb.fortran/intrinsics.exp: Add LOC tests.
364
3652021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
366
367 * gdb.fortran/shape.exp: New file.
368 * gdb.fortran/shape.f90: New file.
369
3702021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.fortran/size.exp: New file.
373 * gdb.fortran/size.f90: New file.
374
3752021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.fortran/rank.exp: New file.
378 * gdb.fortran/rank.f90: New file.
379
3802021-03-08 Tom Tromey <tom@tromey.com>
381
382 * gdb.fortran/debug-expr.exp: Update tests.
383
3842021-03-08 Tom Tromey <tom@tromey.com>
385
386 * gdb.base/debug-expr.exp: Update expected dump output.
387
3882021-03-06 Tom Tromey <tom@tromey.com>
389
390 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
391 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
392 * gdb.dwarf2/dwznolink.exp: New file.
393
3942021-03-05 Mark Wielaard <mark@klomp.org>
395
396 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
397
3982021-03-06 Weimin Pan <weimin.pan@oracle.com>
399
400 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
401
4022021-03-03 Markus Metzger <markus.t.metzger@intel.com>
403
404 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
405
4062021-03-03 Markus Metzger <markus.t.metzger@intel.com>
407
408 * gdb.btrace/non-stop.exp: Adjust expected source lines.
409
4102021-03-03 Markus Metzger <markus.t.metzger@intel.com>
411
412 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
413
4142021-03-03 Markus Metzger <markus.t.metzger@intel.com>
415
416 * gdb.btrace/exception.cc (main): Update test source.
417 * gdb.btrace/exception.exp: Update patterns.
418 * gdb.btrace/function_call_history.exp: Likewise.
419
4202021-03-03 Markus Metzger <markus.t.metzger@intel.com>
421
422 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
423
4242021-03-03 Markus Metzger <markus.t.metzger@intel.com>
425
426 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
427 reverse-continue to breakpoint.
428
4292021-03-03 Markus Metzger <markus.t.metzger@intel.com>
430
431 * gdb.btrace/delta.exp: Remove instruction-history and
432 function-call-history checks.
433
4342021-03-03 Markus Metzger <markus.t.metzger@intel.com>
435
436 * README (Note): Add nopie_ldflag.
437 * lib/gdb.exp (gdb_compile): Extend nopie handling.
438
4392021-03-02 Tom Tromey <tromey@adacore.com>
440
441 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
442 encodings.
443
4442021-02-27 Lancelot Six <lsix@lancelotix.com>
445
446 PR gdb/27393
447 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
448
449
4502021-02-26 Tom Tromey <tom@tromey.com>
451
452 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
453
4542021-02-26 Jan Vrany <jan.vrany@labware.com>
455
456 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
457 Remove trailing \n from expected output.
458
4592021-02-26 Markus Metzger <markus.t.metzger@intel.com>
460
461 * lib/gdb.exp (use_gdb_stub): Extend comment.
462
4632021-02-25 Jan Matyas <jmatyas@codasip.com>
464
465 PR gdb/26819
466 * gdb.server/stop-reply-no-thread.exp: Add two test
467 scenarios that cover remote targets which do not have
468 the concept of threads.
469
4702021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
471
472 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
473
4742021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
475
476 PR fortran/26155
477 * gdb.fortran/call-no-debug-func.f90: New file.
478 * gdb.fortran/call-no-debug-prog.f90: New file.
479 * gdb.fortran/call-no-debug.exp: New file.
480
4812021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
482
483 * gdb.fortran/associated.exp: New file.
484 * gdb.fortran/associated.f90: New file.
485
4862021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
487
488 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
489
4902021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
491
492 * gdb.base/sect-cmd.exp: Update expected results.
493
4942021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
495
496 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
497 techniques. Enable the test for all targets.
498
4992021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
500
501 * gdb.base/maint-info-sections.exp: Add new tests.
502 (check_maint_info_target_sections_output): New proc.
503
5042021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
505
506 * gdb.arch/riscv-default-tdesc.exp: New file.
507
5082021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
509
510 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
511
5122021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
513
514 * gdb.arch/i386-biarch-core.exp: Add target check.
515
5162021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
517
518 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
519
5202021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
521
522 * gdb.fortran/allocated.exp: New file.
523 * gdb.fortran/allocated.f90: New file.
524
5252021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
526
527 * gdb.fortran/lbound-ubound.exp: Remove old comment.
528
5292021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
530
531 * gdb.base/maint-info-sections.exp: Update expected output, and
532 add additional tests. Again.
533
5342021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
535
536 * gdb.base/maint-info-sections.exp: Update expected output, and
537 add additional tests.
538
5392021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
540
541 * gdb.base/maint-info-sections.exp: New file, content is moved
542 from gdb.base/maint.exp and cleaned up to use latest testsuite
543 techniques.
544 * gdb.base/maint.exp: Tests moved out to
545 gdb.base/maint-info-sections.exp.
546
5472021-02-10 Simon Marchi <simon.marchi@efficios.com>
548
549 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
550 GDBFLAGS.
551
5522021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
553
554 * gdb.fortran/lbound-ubound.F90: New file.
555 * gdb.fortran/lbound-ubound.exp: New file.
556
5572021-02-10 Tom de Vries <tdevries@suse.de>
558
559 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
560 "Restore saved setting of complaints".
561
5622021-02-09 Tom de Vries <tdevries@suse.de>
563
564 PR symtab/27341
565 * lib/gdb.exp (with_complaints): New proc, factored out of ...
566 (gdb_load_no_complaints): ... here.
567 * gdb.fortran/function-calls.exp: Add test-case.
568
5692021-02-09 Abid Qadeer <abidh@codesourcery.com>
570
571 * gdb.threads/signal-command-handle-nopass.exp: Call
572 'standard_testfile' before using 'testfile'.
573 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
574 * gdb.threads/signal-delivered-right-thread.exp: Likewise
575 * gdb.threads/signal-sigtrap.exp: Likewise
576
5772021-02-08 Luis Machado <luis.machado@linaro.org>
578
579 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
580
5812021-02-08 Tom de Vries <tdevries@suse.de>
582
583 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
584
5852021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
586
587 * gdb.python/tui-window-disabled.c: New file.
588 * gdb.python/tui-window-disabled.exp: New file.
589 * gdb.python/tui-window-disabled.py: New file.
590
5912021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
592
593 * gdb.python/tui-window.exp: Add new tests.
594 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
595 TestWindow object into global the_window.
596 <remote_title>: New method.
597 (delete_window_title): New function.
598
5992021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
600
601 * gdb.tui/winheight.exp: Add more tests.
602
6032021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
604
605 * gdb.python/py-framefilter.exp: Update expected results.
606 * gdb.python/python.exp: Update expected results.
607
6082021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
609
610 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
611 about bug in GDB, update expected results, and add more tests.
612
6132021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
614
615 * gdb.tui/scroll.exp: New file.
616 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
617 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
618 remaining lines up.
619 (Term::check_region_contents): New proc.
620 (Term::check_box_contents): Use check_region_contents.
621
6222021-02-06 Tom de Vries <tdevries@suse.de>
623
624 PR testsuite/26922
625 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
626 scrolling.
627
6282021-02-05 Tom de Vries <tdevries@suse.de>
629
630 PR breakpoints/27313
631 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
632 rejected.
633
6342021-02-05 Tom de Vries <tdevries@suse.de>
635
636 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
637 * gdb.fortran/mixed-lang-stack.exp: Same.
638
6392021-02-05 Tom de Vries <tdevries@suse.de>
640
641 PR exp/27265
642 * gdb.base/complex-parts.exp: Add tests.
643
6442021-02-05 Tom de Vries <tdevries@suse.de>
645
646 PR symtab/27307
647 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
648
6492021-02-04 Shahab Vahedi <shahab@synopsys.com>
650
651 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
652
6532021-02-03 Pedro Alves <pedro@palves.net>
654
655 * gdb.threads/detach-step-over.c: New file.
656 * gdb.threads/detach-step-over.exp: New file.
657
6582021-02-03 Pedro Alves <pedro@palves.net>
659
660 * gdb.threads/attach-non-stop.c: New file.
661 * gdb.threads/attach-non-stop.exp: New file.
662
6632021-02-02 Lancelot SIX <lsix@lancelotsix.com>
664
665 * gdb.base/inferior-noarg.c: New test.
666 * gdb.base/inferior-noarg.exp: New test.
667
6682021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
669
670 * gdb.base/scope.exp: Use proc_with_prefix.
671
6722021-02-02 Simon Marchi <simon.marchi@efficios.com>
673
674 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
675 table proc.
676 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
677 .debug_rnglists table without offset array.
678 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
679 .debug_loclists table without offset array.
680
6812021-02-02 Simon Marchi <simon.marchi@efficios.com>
682
683 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
684 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
685 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
686 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
687 attribute
688
6892021-02-02 Simon Marchi <simon.marchi@efficios.com>
690
691 PR gdb/26813
692 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
693 (loclists): New proc.
694 * gdb.dwarf2/loclists-multiple-cus.c: New.
695 * gdb.dwarf2/loclists-multiple-cus.exp: New.
696 * gdb.dwarf2/loclists-sec-offset.c: New.
697 * gdb.dwarf2/loclists-sec-offset.exp: New.
698
6992021-02-02 Simon Marchi <simon.marchi@efficios.com>
700
701 * lib/dwarf.exp (_location): Add parameters.
702 (_handle_DW_FORM): Adjust.
703
7042021-02-02 Simon Marchi <simon.marchi@efficios.com>
705
706 PR gdb/26813
707 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
708 (cu): Generate header for DWARF 5.
709 (rnglists): New proc.
710 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
711 * gdb.dwarf2/rnglists-sec-offset.exp: New.
712
7132021-02-02 Tom de Vries <tdevries@suse.de>
714
715 PR symtab/24620
716 * gdb.dwarf2/fission-reread.exp: Add test-case.
717
7182021-02-01 Tom de Vries <tdevries@suse.de>
719
720 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
721 * gdb.dwarf2/fission-loclists-pie.S: Same.
722 * gdb.dwarf2/fission-loclists.S: Same.
723 * gdb.dwarf2/fission-multi-cu.S: Same.
724 * gdb.dwarf2/fission-reread.S: Same.
725 * gdb.dwarf2/fission-base.exp: Use DWO.
726 * gdb.dwarf2/fission-loclists-pie.exp: Same.
727 * gdb.dwarf2/fission-loclists.exp: Same.
728 * gdb.dwarf2/fission-multi-cu.exp: Same.
729 * gdb.dwarf2/fission-reread.exp: Same.
730
7312021-01-29 Tom de Vries <tdevries@suse.de>
732
733 PR breakpoints/26063
734 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
735 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
736
7372021-01-29 Tom de Vries <tdevries@suse.de>
738
739 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
740
7412021-01-28 Tom de Vries <tdevries@suse.de>
742
743 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
744 in the backtrace, and use that in the rest of the test instead of
745 hardcoded constant 3. Use "frame" instead of "up" for robustness.
746
7472021-01-28 Tom de Vries <tdevries@suse.de>
748
749 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
750 * gdb.arch/i386-sse-stack-align.c: Same.
751 * gdb.arch/i386-sse-stack-align.exp: Same.
752
7532021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
754
755 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
756
7572021-01-28 Tom de Vries <tdevries@suse.de>
758
759 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
760
7612021-01-28 Tom de Vries <tdevries@suse.de>
762
763 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
764 "maint info line-table". Make PASS pattern more specific. Make
765 FAIL pattern work for -m32.
766
7672021-01-27 Lancelot SIX <lsix@lancelotsix.com>
768
769 PR gdb/27133
770 * gdb.base/ui-redirect.exp: Add test case that ensures that
771 redirecting both logging and debug does not cause gdb to crash.
772
773
7742021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
775
776 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
777
7782021-01-26 Tom de Vries <tdevries@suse.de>
779
780 * gdb.threads/killed-outside.exp: Allow regular output.
781
7822021-01-26 Tom de Vries <tdevries@suse.de>
783
784 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
785
7862021-01-25 Tom de Vries <tdevries@suse.de>
787
788 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
789 * lib/gdb.exp: Use gdb_load_no_complaints.
790
7912021-01-25 Tom Tromey <tromey@adacore.com>
792
793 * gdb.ada/fixed_points.exp: Add regression test.
794 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
795 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
796
7972021-01-25 Tom Tromey <tromey@adacore.com>
798
799 * gdb.ada/local-enum.exp: Add enumerator resolution test.
800
8012021-01-25 Tom Tromey <tromey@adacore.com>
802
803 * gdb.ada/local-enum.exp: New file.
804 * gdb.ada/local-enum/local.adb: New file.
805
8062021-01-23 Tom Tromey <tom@tromey.com>
807
808 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
809
8102021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
811
812 * gdb.base/line65535.exp: Fix test expectation.
813
8142021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
815
816 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
817 suppression.
818 (default_gdb_exit): Likewise.
819 (default_gdb_spawn): Likewise.
820 (send_gdb): Likewise.
821 (gdb_expect): Likewise.
822 (gdb_expect_list): Likewise.
823 (default_gdb_init): Likewise.
824 (gdb_suppress_entire_file): Remove.
825 (gdb_suppress_tests): Remove.
826 (gdb_stop_suppressing_tests): Remove.
827 (gdb_clear_suppressed): Remove.
828 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
829 related to test suppression.
830 (default_mi_gdb_start): Likewise.
831 (mi_gdb_reinitialize_dir): Likewise.
832 (mi_gdb_test): Likewise.
833 (mi_run_cmd_full): Likewise.
834 (mi_runto_helper): Likewise.
835 (mi_execute_to): Likewise.
836 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
837 * gdb.base/bitfields.exp: Likewise.
838 * gdb.base/bitfields2.exp: Likewise.
839 * gdb.base/break.exp: Likewise.
840 * gdb.base/call-sc.exp: Likewise.
841 * gdb.base/callfuncs.exp: Likewise.
842 * gdb.base/dfp-test.exp: Likewise.
843 * gdb.base/endian.exp: Likewise.
844 * gdb.base/exprs.exp: Likewise.
845 * gdb.base/funcargs.exp: Likewise.
846 * gdb.base/hbreak2.exp: Likewise.
847 * gdb.base/recurse.exp: Likewise.
848 * gdb.base/scope.exp: Likewise.
849 * gdb.base/sepdebug.exp: Likewise.
850 * gdb.base/structs.exp: Likewise.
851 * gdb.base/until.exp: Likewise.
852 * gdb.cp/misc.exp: Likewise.
853
8542021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
855
856 PR cli/25956
857 * gdb.base/style.exp (run_style_tests): Add version string test.
858 (test_startup_version_string): Use version style name.
859 * lib/gdb-utils.exp (style): Handle version style name.
860
8612021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
862
863 * gdb.base/style.exp (limited_style): New proc.
864 (clean_restart_and_disable): New proc.
865 (run_style_tests): New proc. Most of the old tests from this file
866 are now in this proc.
867 (test_startup_version_string): New proc. Reamining test from the
868 old file is in this proc.
869
8702021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
871
872 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
873 Adjust to "set debug remote" changes.
874
8752021-01-21 Luis Machado <luis.machado@linaro.org>
876
877 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
878 message.
879
8802021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
881
882 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
883
8842021-01-21 Hannes Domani <ssbssa@yahoo.de>
885
886 PR python/19151
887 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
888
8892021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
890
891 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
892
8932021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
894
895 * lib/tuiterm.exp: Add links in comments.
896
8972021-01-20 Tom de Vries <tdevries@suse.de>
898
899 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
900 offset.
901
9022021-01-20 Tom de Vries <tdevries@suse.de>
903
904 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
905
9062021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
907
908 * gdb.arch/amd64-stap-expressions.S: New file.
909 * gdb.arch/amd64-stap-expressions.exp: New file.
910
9112021-01-19 Tom de Vries <tdevries@suse.de>
912
913 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
914 sequence.
915
9162021-01-19 Tom de Vries <tdevries@suse.de>
917
918 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
919
9202021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
921
922 * gdb.fortran/array-slices.exp (run_test): Avoid including
923 addresses in test names.
924
9252021-01-15 Tom de Vries <tdevries@suse.de>
926
927 PR testsuite/26997
928 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
929 when adding sizeof.
930
9312021-01-14 Tom de Vries <tdevries@suse.de>
932
933 PR testsuite/24590
934 * gdb.base/style.exp: Handle shorter argv in frame command output.
935
9362021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 PR gdb/26819
939 * gdb.server/stop-reply-no-thread-multi.c: New file.
940 * gdb.server/stop-reply-no-thread-multi.exp: New file.
941
9422021-01-12 Tom de Vries <tdevries@suse.de>
943
944 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
945 (main): Remove call to have_mpx.
946 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
947 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
948 (main): Remote call to have_mpx.
949 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
950 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
951 (main): Remove call to have_mpx.
952 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
953 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
954 (main): Remove call to have_mpx.
955 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
956 * gdb.arch/i386-mpx.c (have_mpx): Remove.
957 (main): Remote call to have_mpx.
958 * gdb.arch/i386-mpx.exp: Use have_mpx.
959 * lib/gdb.exp (have_mpx): New proc.
960
9612021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
962
963 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
964
9652021-01-12 Tom de Vries <tdevries@suse.de>
966
967 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
968
9692021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
970
971 * gdb.fortran/debug-expr.exp: Add new tests.
972
9732021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
974
975 * gdb.fortran/dot-ops.exp: Add new tests.
976
9772021-01-11 Tom de Vries <tdevries@suse.de>
978
979 PR testsuite/26968
980 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
981 Move insn setting $eax to before probe point.
982
9832021-01-09 Tom Tromey <tom@tromey.com>
984
985 * gdb.trace/ax.exp: Do not require an "ext".
986
9872021-01-08 Tom Tromey <tromey@adacore.com>
988
989 * gdb.ada/voidctx/pck.adb: New file.
990 * gdb.ada/voidctx/pck.ads: New file.
991 * gdb.ada/voidctx/voidctx.adb: New file.
992 * gdb.ada/voidctx.exp: New file.
993
9942021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
995
996 PR gdb/27157
997 * gdb.base/empty-host-env-vars.exp: New test.
998
9992021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1000
1001 * gdb.base/completion.exp: Add a new test.
1002
10032021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1004
1005 * gdb.fortran/intvar-dynamic-types.exp: New file.
1006 * gdb.fortran/intvar-dynamic-types.f90: New file.
1007
10082021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1009
1010 * gdb.fortran/intvar-array.exp: New file.
1011 * gdb.fortran/intvar-array.f90: New file.
1012
10132021-01-07 Tom Tromey <tromey@adacore.com>
1014
1015 * gdb.ada/assign_arr.exp: Add 'others' test.
1016
10172021-01-06 Tom Tromey <tromey@adacore.com>
1018
1019 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1020 (FP4_Type): New type.
1021 (FP4_Var): New variable.
1022 * gdb.ada/fixed_points/fixed_points.adb: Update.
1023 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1024
10252021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1026
1027 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1028 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1029 Pass prompt containing debug print to gdb_test_sequence.
1030
10312021-01-04 Tom de Vries <tdevries@suse.de>
1032
1033 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1034
10352021-01-04 Simon Marchi <simon.marchi@efficios.com>
1036
1037
1038
10392021-01-04 Simon Marchi <simon.marchi@efficios.com>
1040
1041 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1042 * gdb.server/connect-without-multi-process.exp: Likewise.
1043 * gdb.server/exit-multiple-threads.exp: Likewise.
1044 * gdb.server/ext-attach.exp: Likewise.
1045 * gdb.server/ext-restart.exp: Likewise.
1046 * gdb.server/ext-run.exp: Likewise.
1047 * gdb.server/ext-wrapper.exp: Likewise.
1048 * gdb.server/multi-ui-errors.exp: Likewise.
1049 * gdb.server/no-thread-db.exp: Likewise.
1050 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1051 * gdb.server/run-without-local-binary.exp: Likewise.
1052 * gdb.server/server-kill.exp: Likewise.
1053 * gdb.server/server-run.exp: Likewise.
1054 * gdb.server/solib-list.exp: Likewise.
1055 * gdb.server/stop-reply-no-thread.exp: Likewise.
1056 * gdb.server/wrapper.exp: Likewise.
1057 * gdb.server/sysroot.exp: Increase timeout when testing the
1058 target: sysroot.
1059
10602021-01-04 Simon Marchi <simon.marchi@efficios.com>
1061
1062 * gdb.server/server-run.exp: Use clean_restart.
1063
10642021-01-04 Simon Marchi <simon.marchi@efficios.com>
1065
1066 * gdb.server/ext-run.exp: Use clean_restart.
1067
10682021-01-04 Simon Marchi <simon.marchi@efficios.com>
1069
1070 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1071 instead of prepare_for_testing.
1072
10732021-01-04 Simon Marchi <simon.marchi@efficios.com>
1074
1075 * gdb.server/solib-list.exp: Use clean_restart.
1076
10772021-01-04 Tom de Vries <tdevries@suse.de>
1078
1079 * gdb.base/morestack.c: Remove printf.
1080 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1081
10822020-12-31 Tom Tromey <tom@tromey.com>
1083
1084 * gdb.rust/simple.exp: Update output for Rust 1.49.
1085
10862020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1087
1088 * gdb.cp/step-and-next-inline.exp: Fix test case.
1089
10902020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1091
1092 * gdb.python/py-frame-args.exp: De-duplicate test names.
1093
10942020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 PR gdb/27059
1097 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1098 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1099
11002020-12-21 Peter Waller <p@pwaller.net>
1101
1102 * gdb.base/style-interp-exec-mi.exp: New.
1103 * gdb.base/style-interp-exec-mi.c: New.
1104
11052020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1106
1107 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1108 gdb_test. Use proc_with_prefix.
1109
11102020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1111
1112 * gdb.btrace/exception.exp: Build with nopie.
1113 * gdb.btrace/function_call_history.exp: Likewise.
1114 * gdb.btrace/unknown_functions.exp: Likewise.
1115
11162020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1117
1118 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1119
11202020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1121
1122 * gdb.python/py-record-btrace.exp: Make test names unique.
1123 * gdb.python/py-record-full.exp: Likewise.
1124
11252020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1126
1127 * gdb.btrace/data.exp: Make test names unique.
1128 * gdb.btrace/delta.exp: Likewise.
1129 * gdb.btrace/enable.exp: Likewise.
1130 * gdb.btrace/function_call_history.exp: Likewise.
1131 * gdb.btrace/nohist.exp: Likewise.
1132 * gdb.btrace/non-stop.exp: Likewise.
1133 * gdb.btrace/rn-dl-bind.exp: Likewise.
1134 * gdb.btrace/step.exp: Likewise.
1135 * gdb.btrace/stepi.exp: Likewise.
1136 * gdb.btrace/tailcall.exp: Likewise.
1137
11382020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1139
1140 * gdb.btrace/enable.exp: Update error message.
1141 * gdb.btrace/multi-inferior.exp: Likewise.
1142 * gdb.btrace/reconnect.exp: Likewise.
1143 * gdb.python/py-record-btrace.exp: Likewise.
1144 * gdb.python/py-record-full.exp: Likewise.
1145
11462020-12-20 Tom de Vries <tdevries@suse.de>
1147
1148 * lib/gdb.exp (save_target_board_info): New proc.
1149 (gdb_compile_shlib): Use save_target_board_info.
1150
11512020-12-19 Tom de Vries <tdevries@suse.de>
1152
1153 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1154 (supports_gnuc): New proc.
1155 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1156 test_compiler_info calls. Add unsupported message.
1157 * gdb.base/endianity.c: Use TEST_SSO.
1158
11592020-12-19 Hannes Domani <ssbssa@yahoo.de>
1160
1161 PR exp/27070
1162 * gdb.python/compare-enum-type-a.c: New test.
1163 * gdb.python/compare-enum-type-b.c: New test.
1164 * gdb.python/compare-enum-type.exp: New file.
1165 * gdb.python/compare-enum-type.h: New test.
1166
11672020-12-18 Hannes Domani <ssbssa@yahoo.de>
1168
1169 * gdb.python/py-format-string.exp: Add tests for address keyword.
1170
11712020-12-18 Hannes Domani <ssbssa@yahoo.de>
1172
1173 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1174
11752020-12-18 Tom Tromey <tromey@adacore.com>
1176
1177 * gdb.ada/fixed_points.exp: Also run with
1178 -fgnat-encodings=minimal. Update expected output.
1179
11802020-12-16 Simon Marchi <simon.marchi@efficios.com>
1181
1182 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1183 * gdb.base/continue-all-already-running.exp: Likewise.
1184 * gdb.base/moribund-step.exp: Likewise.
1185 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1186
11872020-12-16 Tom de Vries <tdevries@suse.de>
1188
1189 * gdb.base/batch-preserve-term-settings.exp:
1190
11912020-12-16 Tom de Vries <tdevries@suse.de>
1192
1193 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1194 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1195
11962020-12-16 Luis Machado <luis.machado@linaro.org>
1197
1198 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1199 pointer-based memory accesses.
1200 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1201 hw watchpoint cases.
1202
12032020-12-15 Rae Kim <rae.kim@gmail.com>
1204
1205 * gdb.base/document.exp: New test.
1206
12072020-12-15 Tom Tromey <tromey@adacore.com>
1208
1209 * gdb.base/style.exp: Add deprecation tests.
1210
12112020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1212
1213 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1214
12152020-12-14 Mark Wielaard <mark@klomp.org>
1216
1217 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1218 specially, set attr_form_comment to the actual FORM string used.
1219
12202020-12-14 Mark Wielaard <mark@klomp.org>
1221
1222 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1223 _constants(SPECIAL_expr) here, but set it...
1224 (Dwarf::cu): ...here based on _cu_version.
1225
12262020-12-14 Tom de Vries <tdevries@suse.de>
1227
1228 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1229 pass -fPIC.
1230 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1231 * gdb.base/break-probes.exp: Same.
1232 * gdb.base/ctxobj.exp: Same.
1233 * gdb.base/dso2dso.exp: Same.
1234 * gdb.base/global-var-nested-by-dso.exp: Same.
1235 * gdb.base/info-shared.exp: Same.
1236 * gdb.base/jit-reader-simple.exp: Same.
1237 * gdb.base/print-file-var.exp: Same.
1238 * gdb.base/skip-solib.exp: Same.
1239 * gdb.btrace/dlopen.exp: Same.
1240
12412020-12-14 Tom de Vries <tdevries@suse.de>
1242
1243 PR testsuite/26963
1244 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1245
12462020-12-14 Tom de Vries <tdevries@suse.de>
1247
1248 PR testsuite/26962
1249 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1250 cast it to its declared type".
1251
12522020-12-14 Tom de Vries <tdevries@suse.de>
1253
1254 PR testsuite/26951
1255 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1256 shell prompt.
1257
12582020-12-14 Tom Tromey <tromey@adacore.com>
1259
1260 * gdb.ada/nested.exp: Add new tests.
1261 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1262
12632020-12-14 Tom Tromey <tromey@adacore.com>
1264
1265 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1266
12672020-12-14 Tom Tromey <tromey@adacore.com>
1268
1269 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1270
12712020-12-13 Tom de Vries <tdevries@suse.de>
1272
1273 PR testsuite/26953
1274 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1275 attribute support if compiler doesn't support it.
1276
12772020-12-13 Tom de Vries <tdevries@suse.de>
1278
1279 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1280 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1281 source to shared lib. Add ada to options.
1282
12832020-12-13 Tom de Vries <tdevries@suse.de>
1284
1285 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1286 calling gnatbind and gnatlink.
1287
12882020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1289
1290 * gdb.base/dcache-flush.c: New file.
1291 * gdb.base/dcache-flush.exp: New file.
1292
12932020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1294
1295 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1296 commands.
1297 * gdb.base/killed-outside.exp: Likewise.
1298 * gdb.opt/inline-bt.exp: Likewise.
1299 * gdb.perf/gmonster-null-lookup.py: Likewise.
1300 * gdb.perf/gmonster-print-cerr.py: Likewise.
1301 * gdb.perf/gmonster-ptype-string.py: Likewise.
1302 * gdb.python/py-unwind.exp: Likewise.
1303
13042020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1305
1306 * gdb.base/commands.exp: Update expected results.
1307
13082020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1309
1310 PR cli/15104
1311 * gdb.base/commands.exp: Add additional tests.
1312 * gdb.base/completion.exp: Add additional tests.
1313
13142020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1315
1316 * gdb.base/completion.exp: Add additional tests.
1317
13182020-12-11 Tom de Vries <tdevries@suse.de>
1319
1320 PR testsuite/26991
1321 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1322 violations by setting bounds registers if the bounds are passed in the
1323 Bounds Table.
1324
13252020-12-11 Tom de Vries <tdevries@suse.de>
1326
1327 PR testsuite/26954
1328 * gdb.base/float128.exp: Detect and handle no mpfr support.
1329
13302020-12-10 Simon Marchi <simon.marchi@efficios.com>
1331
1332 PR gdb/24694
1333 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1334 calls.
1335
13362020-12-10 Tom de Vries <tdevries@suse.de>
1337
1338 PR testsuite/26947
1339 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1340 braces for tcl 8.5 and earlier.
1341
13422020-12-09 Simon Marchi <simon.marchi@efficios.com>
1343
1344 PR 26875, PR 26901
1345 * gdb.base/flexible-array-member.c: New test.
1346 * gdb.base/flexible-array-member.exp: New test.
1347
13482020-12-08 Tom de Vries <tdevries@suse.de>
1349
1350 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1351 using is_amd64_regs_target.
1352
13532020-12-08 Tom de Vries <tdevries@suse.de>
1354
1355 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1356 self_id.
1357
13582020-12-07 Pedro Alves <pedro@palves.net>
1359
1360 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1361 'additional_flags' variable.
1362
13632020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1364
1365 * gdb.linespec/explicit.exp: Extend with a test to check completing
1366 '-' after seemingly complete options.
1367
13682020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1369
1370 * gdb.linespec/keywords.exp: Add tests to check positional
1371 flexibility of "-force-condition".
1372
13732020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1374
1375 * gdb.base/bp-cmds-run-with-ex.c: New file.
1376 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1377 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1378 * gdb.gdb/python-interrupts.exp: Update the call to
1379 'catch_command_errors' with the new argument.
1380 * gdb.gdb/python-selftest.exp: Ditto.
1381
13822020-12-04 Simon Marchi <simon.marchi@efficios.com>
1383
1384 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1385 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1386 * gdb.threads/non-stop-fair-events.exp: Likewise.
1387
13882020-12-04 Simon Marchi <simon.marchi@efficios.com>
1389
1390 * gdb.threads/step-over-exec.exp: New.
1391 * gdb.threads/step-over-exec.c: New.
1392 * gdb.threads/step-over-exec-execd.c: New.
1393 * lib/my-syscalls.S: New.
1394 * lib/my-syscalls.h: New.
1395
13962020-12-04 Simon Marchi <simon.marchi@efficios.com>
1397
1398 * lib/dwarf.exp (declare_labels): Use name as text if text is
1399 not provided.
1400
14012020-12-04 Tom de Vries <tdevries@suse.de>
1402
1403 PR testsuite/26990
1404 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1405 are unsupported.
1406
14072020-12-04 Tom de Vries <tdevries@suse.de>
1408
1409 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1410 clause.
1411
14122020-12-04 Tom de Vries <tdevries@suse.de>
1413
1414 * gdb.reverse/insn-reverse.exp: Fix count handling.
1415
14162020-12-04 Tom de Vries <tdevries@suse.de>
1417
1418 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1419 __x86_64__.
1420
14212020-12-04 Tom de Vries <tdevries@suse.de>
1422
1423 * gdb.reverse/insn-reverse.c (test_nr): New var.
1424 (usage, parse_args): New function.
1425 (main): Call parse_args. Only run test for test_nr.
1426 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1427 and bail out. Run subtests individually, using an inferior arg
1428 specifying the subtest.
1429
14302020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1431
1432 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1433
14342020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1435
1436 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1437 update test to use this.
1438
14392020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1440
1441 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1442
14432020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1444
1445 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1446 (do_test): Don't use with_test_prefix.
1447 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1448 (do_test): Don't use with_test_prefix.
1449 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1450 (do_test): Don't use with_test_prefix.
1451 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1452 (do_test): Don't use with_test_prefix.
1453
14542020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1455
1456 * gdb.threads/non-ldr-exit.exp: Fix comment.
1457
14582020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1459
1460 * gdb.xml/maint-xml-dump-03.xml: New file.
1461
14622020-11-30 Tom de Vries <tdevries@suse.de>
1463
1464 PR symtab/26905
1465 * gdb.dwarf2/count.exp: Remove kfails.
1466
14672020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1468
1469 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1470 indices.
1471
14722020-11-24 Joel Brobecker <brobecker@adacore.com>
1473
1474 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1475 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1476 languages. Remove the associated setup_xfail.
1477
14782020-11-23 Simon Marchi <simon.marchi@efficios.com>
1479
1480 * lib/gdb.exp (gdb_assert): Show error message on error.
1481
14822020-11-23 Tom de Vries <tdevries@suse.de>
1483
1484 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1485 * gdb.ada/mod_from_name.exp: Same.
1486 * gdb.ada/pckd_arr_ren.exp: Same.
1487
14882020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1489
1490 * gdb.base/template.exp: New.
1491 * gdb.base/template.c: New.
1492
14932020-11-22 Gary Benson <gbenson@redhat.com>
1494
1495 PR gdb/26905
1496 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1497 is defined using a DW_AT_count which references another DIE.
1498
14992020-11-21 Tom de Vries <tdevries@suse.de>
1500
1501 * gdb.base/vla-ptr.exp: Add XFAIL.
1502
15032020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1504
1505 * gdb.fortran/array-slices-bad.exp: New file.
1506 * gdb.fortran/array-slices-bad.f90: New file.
1507 * gdb.fortran/array-slices-sub-slices.exp: New file.
1508 * gdb.fortran/array-slices-sub-slices.f90: New file.
1509 * gdb.fortran/array-slices.exp: Rewrite tests.
1510 * gdb.fortran/array-slices.f90: Rewrite tests.
1511 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1512
15132020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1514
1515 * gdb.base/completion.exp: Add new completion tests.
1516
15172020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1518
1519 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1520 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1521 * gdb.mi/mi-nsintrall.exp: Likewise.
1522 * gdb.mi/mi-nsmoribund.exp: Likewise.
1523 * gdb.mi/mi-nsthrexec.exp: Likewise.
1524 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1525
15262020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1527
1528 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1529 of perror.
1530
15312020-11-18 Joseph Myers <joseph@codesourcery.com>
1532
1533 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1534 $arg.exe exists but $arg does not.
1535
15362020-11-17 Gary Benson <gbenson@redhat.com>
1537
1538 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1539 __attribute__ ((used)).
1540
15412020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1542
1543 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1544
15452020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1546
1547 * gdb.base/completion.exp: Add new tests.
1548
15492020-11-16 Tom Tromey <tromey@adacore.com>
1550
1551 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1552 tests.
1553
15542020-11-15 Joel Brobecker <brobecker@adacore.com>
1555
1556 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1557 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1558 (main): Add reference to pck__fp1_var2.
1559 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1560
15612020-11-15 Joel Brobecker <brobecker@adacore.com>
1562
1563 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1564
15652020-11-15 Joel Brobecker <brobecker@adacore.com>
1566
1567 * gdb.ada/fixed_points.exp: Add ptype tests.
1568 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1569
15702020-11-15 Joel Brobecker <brobecker@adacore.com>
1571
1572 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1573
15742020-11-15 Joel Brobecker <brobecker@adacore.com>
1575
1576 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1577 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1578 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1579 New files.
1580 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1581
1582 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1583 New files.
1584
15852020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1586
1587 PR cli/26879
1588 * gdb.fortran/completion.exp: New file.
1589 * gdb.fortran/completion.f90: New file.
1590
15912020-11-12 Joseph Myers <joseph@codesourcery.com>
1592
1593 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1594 but $arg does not.
1595
15962020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1597
1598 * gdb.fortran/types.exp: Add more tests.
1599
16002020-11-12 Tom Tromey <tom@tromey.com>
1601
1602 PR rust/26799:
1603 * gdb.rust/traits.exp: Remove kfails.
1604
16052020-11-12 Gary Benson <gbenson@redhat.com>
1606
1607 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1608 statement.
1609
16102020-11-11 Simon Marchi <simon.marchi@efficios.com>
1611
1612 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1613 always-inserted" axis.
1614 (do_test): Add breakpoint_always_inserted parameter.
1615
16162020-11-10 Tom Tromey <tromey@adacore.com>
1617
1618 * gdb.ada/bias.exp: Update.
1619 * gdb.ada/bias/bias.adb (X): Change value.
1620
16212020-11-10 Gary Benson <gbenson@redhat.com>
1622
1623 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1624 regexp fragment in parentheses to prevent false matching.
1625
16262020-11-10 Gary Benson <gbenson@redhat.com>
1627
1628 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1629
16302020-11-10 Gary Benson <gbenson@redhat.com>
1631
1632 * gdb.cp/step-and-next-inline.exp: Only require
1633 -gstatement-frontiers when building with GCC.
1634 Only setup KFAIL's for GCC issues when using
1635 a GCC-built executable.
1636
16372020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1638
1639 * gdb.base/debug-expr.c: Add extra function to allow for an
1640 additional test.
1641 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1642 to this proc with gdb_test_debug_expr. Add an extra test.
1643 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1644 to this proc with gdb_test_debug_expr, give the tests names
1645 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1646 calls to this proc with gdb_test_debug_expr, give the tests names
1647 * gdb.fortran/debug-expr.exp: New file.
1648 * gdb.fortran/debug-expr.f90: New file.
1649 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1650
16512020-11-06 Simon Marchi <simon.marchi@efficios.com>
1652
1653 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1654 proceduresu.
1655 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1656 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1657 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1658 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1659 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1660 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1661 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1662 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1663
16642020-11-04 Tom Tromey <tromey@adacore.com>
1665
1666 * gdb.ada/funcall_ref.exp: Update.
1667 * gdb.ada/var_rec_arr.exp: Update.
1668
16692020-11-04 Tom Tromey <tromey@adacore.com>
1670
1671 * gdb.ada/rec_ptype.exp: New file.
1672 * gdb.ada/rec_ptype/main.adb: New file.
1673 * gdb.ada/rec_ptype/p.ads: New file.
1674
16752020-11-04 Tom Tromey <tromey@adacore.com>
1676
1677 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1678 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1679 (PT_Full): New variable.
1680 * gdb.ada/tick_length_array_enum_idx/pck.adb
1681 (Full_PT): New type.
1682
16832020-11-04 Tom Tromey <tromey@adacore.com>
1684
1685 * gdb.ada/array_of_variant.exp: New file.
1686 * gdb.ada/array_of_variant/p.adb: New file.
1687 * gdb.ada/array_of_variant/pck.ads: New file.
1688 * gdb.ada/array_of_variant/pck.adb: New file.
1689
16902020-11-04 Tom Tromey <tromey@adacore.com>
1691
1692 * gdb.ada/enum_idx_packed.exp: Add test.
1693 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1694 New variable.
1695 * gdb.ada/enum_idx_packed/pck.ads (Short)
1696 (Multi_Dimension, Multi_Dimension_Access): New types.
1697
16982020-11-04 Tom Tromey <tromey@adacore.com>
1699
1700 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1701
17022020-11-04 Tom Tromey <tromey@adacore.com>
1703
1704 * gdb.ada/set_pckd_arr_elt.exp: Also test
1705 -fgnat-encodings=minimal. Add tests.
1706 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1707 Call Update_Small a second time.
1708 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1709 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1710 (Variant_Access): New types.
1711 (New_Variant): Declare.
1712
17132020-11-04 Tom Tromey <tromey@adacore.com>
1714
1715 * gdb.ada/mod_from_name.exp: Test printing slice.
1716
17172020-11-04 Tom Tromey <tromey@adacore.com>
1718
1719 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1720 values.
1721 * gdb.ada/access_to_unbounded_array.exp: Test different
1722 -fgnat-encodings values.
1723 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1724 values.
1725 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1726 values.
1727 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1728 values.
1729 * gdb.ada/array_of_variable_length.exp: Test different
1730 -fgnat-encodings values.
1731 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1732 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1733 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1734 change.
1735 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1736 values.
1737 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1738 * gdb.ada/out_of_line_in_inlined.exp: Test different
1739 -fgnat-encodings values.
1740 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1741 values.
1742 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1743 values.
1744 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1745 -fgnat-encodings values.
1746 * gdb.ada/variant_record_packed_array.exp: Test different
1747 -fgnat-encodings values.
1748
17492020-11-04 Tom Tromey <tromey@adacore.com>
1750
1751 * gdb.ada/enum_idx_packed.exp: Add tests.
1752 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1753 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1754 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1755 declarations.
1756
17572020-11-03 Tom de Vries <tdevries@suse.de>
1758
1759 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1760 terminator comments.
1761 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1762 terminator.
1763
17642020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1765
1766 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1767 integer format test with regexp.
1768
17692020-11-02 Gary Benson <gbenson@redhat.com>
1770
1771 * gdb.base/print-file-var.exp (test): Separate compiler and
1772 linker options, and build using build_executable_from_specs
1773 to accommodate this.
1774
17752020-11-02 Gary Benson <gbenson@redhat.com>
1776
1777 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1778 for .c files compiled as C++ with Clang if any shared
1779 libraries are specified.
1780
17812020-11-02 Gary Benson <gbenson@redhat.com>
1782
1783 * lib/attributes.h: New header.
1784 * gdb.base/backtrace.c: Include the above. Replace
1785 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1786 * gdb.base/infcall-nested-structs.c: Likewise.
1787 * gdb.base/vla-optimized-out.c: Likewise.
1788
17892020-11-02 Tom de Vries <tdevries@suse.de>
1790
1791 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1792
17932020-11-01 Joel Brobecker <brobecker@adacore.com>
1794
1795 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1796 System.Min_Int and System.Max_Int with smaller hardcoded
1797 constants.
1798
17992020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1800
1801 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1802 * configure: Re-generate.
1803
18042020-10-30 Simon Marchi <simon.marchi@efficios.com>
1805
1806 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1807 expected output.
1808
18092020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1810
1811 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1812 behavior.
1813 * gdb.base/paginate-bg-execution.exp: Ditto.
1814 * gdb.base/paginate-inferior-exit.exp: Ditto.
1815 * gdb.base/double-prompt-target-event-error.c: Remove.
1816 * gdb.base/double-prompt-target-event-error.exp: Remove.
1817
18182020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1819
1820 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1821 inferiors' and 'detach inferiors' do not change the current
1822 inferior.
1823
18242020-10-29 Tom de Vries <tdevries@suse.de>
1825
1826 * gdb.threads/tls.exp: Fix DUPLICATEs.
1827
18282020-10-28 Tom de Vries <tdevries@suse.de>
1829
1830 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1831
18322020-10-28 Tom de Vries <tdevries@suse.de>
1833
1834 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1835 * gdb.base/reread.exp: Same.
1836
18372020-10-28 Tom de Vries <tdevries@suse.de>
1838
1839 * lib/gdb.exp (readnow): Handle arg.
1840 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1841
18422020-10-28 Tom de Vries <tdevries@suse.de>
1843
1844 * gdb.base/relocate.exp: Update regexp for -readnow.
1845
18462020-10-28 Tom de Vries <tdevries@suse.de>
1847
1848 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1849 -readnow.
1850
18512020-10-28 Tom de Vries <tdevries@suse.de>
1852
1853 PR symtab/26772
1854 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1855 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1856
18572020-10-28 Tom de Vries <tdevries@suse.de>
1858
1859 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1860 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1861 complaint during file command for -readnow.
1862
18632020-10-28 Tom de Vries <tdevries@suse.de>
1864
1865 * gdb.cp/nsalias.exp: Fix typo in test name.
1866
18672020-10-28 Tom de Vries <tdevries@suse.de>
1868
1869 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1870
18712020-10-28 Tom de Vries <tdevries@suse.de>
1872
1873 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1874 -readnow.
1875
18762020-10-27 Tom de Vries <tdevries@suse.de>
1877
1878 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1879
18802020-10-27 Tom de Vries <tdevries@suse.de>
1881
1882 * gdb.base/maint.exp: Update for -readnow.
1883
18842020-10-27 Tom de Vries <tdevries@suse.de>
1885
1886 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1887 -readnow.
1888
18892020-10-14 Gary Benson <gbenson@redhat.com>
1890
1891 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1892 "_vptr$Base" as correct, in addition to "_vptr.Base".
1893 (test_mixed): Likewise.
1894
18952020-10-27 Gary Benson <gbenson@redhat.com>
1896
1897 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1898 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1899
19002020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1901
1902 * gdb.base/condbreak.exp: Update the completion tests to
1903 consider the '-force' flag.
1904
19052020-10-27 Tom de Vries <tdevries@suse.de>
1906
1907 * gdb.base/list-ambiguous-readnow.exp: New file.
1908
19092020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1910
1911 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1912 the condition.
1913 * gdb.linespec/cpcompletion.exp: Update to consider the
1914 '-force-condition' keyword.
1915 * gdb.linespec/explicit.exp: Ditto.
1916 * lib/completion-support.exp: Ditto.
1917
19182020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1919
1920 * gdb.base/condbreak-multi-context.cc: New file.
1921 * gdb.base/condbreak-multi-context.exp: New file.
1922
19232020-10-26 Tom Tromey <tom@tromey.com>
1924
1925 * lib/mi-support.exp (default_mi_gdb_start): Call
1926 gdb_stdin_log_init.
1927 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1928 subtract one from gdb_instances.
1929 (gdb_stdin_log_write): Flush in_file.
1930
19312020-10-26 Tom de Vries <tdevries@suse.de>
1932
1933 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1934
19352020-10-26 Tom Tromey <tromey@adacore.com>
1936
1937 * gdb.ada/unsigned_range/foo.adb: New file.
1938 * gdb.ada/unsigned_range/pack.adb: New file.
1939 * gdb.ada/unsigned_range/pack.ads: New file.
1940 * gdb.ada/unsigned_range.exp: New file.
1941
19422020-10-26 Tom de Vries <tdevries@suse.de>
1943
1944 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1945
19462020-10-26 Tom de Vries <tdevries@suse.de>
1947
1948 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1949 for CU.
1950 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1951
19522020-10-23 Tom de Vries <tdevries@suse.de>
1953
1954 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1955 DW_FORM_string.
1956 (Dwarf::_default_form): New proc.
1957 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1958 guessed.
1959
19602020-10-23 Tom de Vries <tdevries@suse.de>
1961
1962 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1963 * gdb.dwarf2/atomic-type.exp: Same.
1964 * gdb.dwarf2/bad-regnum.exp: Same.
1965 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1966 * gdb.dwarf2/dw2-align.exp: Same.
1967 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1968 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1969 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1970 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1971 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1972 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1973 * gdb.dwarf2/enum-type.exp: Same.
1974 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1975 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1976 * gdb.dwarf2/main-subprogram.exp: Same.
1977 * gdb.dwarf2/missing-type-name.exp: Same.
1978 * gdb.dwarf2/nonvar-access.exp: Same.
1979 * gdb.dwarf2/typedef-void-finish.exp: Same.
1980 * gdb.dwarf2/var-access.exp: Same.
1981 * gdb.dwarf2/void-type.exp: Same.
1982
19832020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1984
1985 PR gdb/26693
1986 * gdb.dwarf2/template-specification-full-name.exp: New test.
1987
19882020-10-22 Luis Machado <luis.machado@linaro.org>
1989
1990 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1991 expected an offset from the function.
1992 * gdb.base/msym-bp.exp (test): Likewise.
1993
19942020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1995
1996 * gdb.fortran/array-slices.exp: Add a new test.
1997
19982020-10-21 Gary Benson <gbenson@redhat.com>
1999
2000 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2001 fullname test with Clang. Also expand comments generally.
2002
20032020-10-20 Tom de Vries <tdevries@suse.de>
2004
2005 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2006
20072020-10-20 Tom de Vries <tdevries@suse.de>
2008
2009 * gdb.dwarf2/arr-stride.c: Remove.
2010 * gdb.dwarf2/arr-stride.exp: Use main.c.
2011 * gdb.dwarf2/arr-subrange.c: Remove.
2012 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2013 * gdb.dwarf2/bad-regnum.c: Remove.
2014 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2015 * gdb.dwarf2/corrupt.c: Remove.
2016 * gdb.dwarf2/corrupt.exp: Use main.c.
2017 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2018 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2019 * gdb.dwarf2/dw2-icycle.c: Remove.
2020 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2021 * gdb.dwarf2/formdata16.c: Remove.
2022 * gdb.dwarf2/formdata16.exp: Use main.c.
2023 * gdb.dwarf2/implptrconst.c: Remove.
2024 * gdb.dwarf2/implptrconst.exp: Use main.c.
2025 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2026 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2027 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2028 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2029
20302020-10-20 Tom de Vries <tdevries@suse.de>
2031
2032 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2033 file.
2034 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2035
20362020-10-20 Tom de Vries <tdevries@suse.de>
2037
2038 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2039 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2040 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2041 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2042 * gdb.dwarf2/dw2-ranges.exp: Same.
2043 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2044 * gdb.dwarf2/var-access.exp: Same.
2045
20462020-10-19 Tom Tromey <tromey@adacore.com>
2047
2048 PR tui/26719
2049 * gdb.tui/list.exp: Check source window contents after focus
2050 change.
2051
20522020-10-17 Tom de Vries <tdevries@suse.de>
2053
2054 PR symtab/26317
2055 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2056
20572020-10-17 Tom de Vries <tdevries@suse.de>
2058
2059 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2060 as suffix.
2061 * gdb.dwarf2/atomic.c: Rename to ...
2062 * gdb.dwarf2/atomic-type.c: ... this.
2063 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2064 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2065 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2066 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2067 * gdb.dwarf2/fission-mix2.c: Rename to ...
2068 * gdb.dwarf2/fission-mix-2.c: ... this.
2069 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2070 standard_testfile.
2071 * gdb.dwarf2/ada-valprint-error.exp: Same.
2072 * gdb.dwarf2/arr-stride.exp: Same.
2073 * gdb.dwarf2/arr-subrange.exp: Same.
2074 * gdb.dwarf2/atomic-type.exp: Same.
2075 * gdb.dwarf2/bad-regnum.exp: Same.
2076 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2077 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2078 * gdb.dwarf2/clang-debug-names.exp: Same.
2079 * gdb.dwarf2/comp-unit-lang.exp: Same.
2080 * gdb.dwarf2/corrupt.exp: Same.
2081 * gdb.dwarf2/count.exp: Same.
2082 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2083 * gdb.dwarf2/data-loc.exp: Same.
2084 * gdb.dwarf2/dw2-align.exp: Same.
2085 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2086 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2087 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2088 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2089 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2090 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2091 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2092 * gdb.dwarf2/dw2-inline-param.exp: Same.
2093 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2094 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2095 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2096 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2097 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2098 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2099 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2100 * gdb.dwarf2/dw2-param-error.exp: Same.
2101 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2102 * gdb.dwarf2/dw2-ranges.exp: Same.
2103 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2104 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2105 * gdb.dwarf2/dw4-sig-types.exp: Same.
2106 * gdb.dwarf2/dynarr-ptr.exp: Same.
2107 * gdb.dwarf2/enum-type.exp: Same.
2108 * gdb.dwarf2/fission-mix.exp: Same.
2109 * gdb.dwarf2/formdata16.exp: Same.
2110 * gdb.dwarf2/implptrconst.exp: Same.
2111 * gdb.dwarf2/implptrpiece.exp: Same.
2112 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2113 * gdb.dwarf2/main-subprogram.exp: Same.
2114 * gdb.dwarf2/method-ptr.exp: Same.
2115 * gdb.dwarf2/missing-sig-type.exp: Same.
2116 * gdb.dwarf2/nonvar-access.exp: Same.
2117 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2118 * gdb.dwarf2/shortpiece.exp: Same.
2119 * gdb.dwarf2/staticvirtual.exp: Same.
2120 * gdb.dwarf2/subrange.exp: Same.
2121 * gdb.dwarf2/symtab-producer.exp: Same.
2122 * gdb.dwarf2/typedef-void-finish.exp: Same.
2123 * gdb.dwarf2/var-access.exp: Same.
2124 * gdb.dwarf2/variant.exp: Same.
2125 * gdb.dwarf2/void-type.exp: Same.
2126 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2127 dw2-ranges-main.c.
2128 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2129
21302020-10-16 Tom de Vries <tdevries@suse.de>
2131
2132 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2133
21342020-10-16 Tom de Vries <tdevries@suse.de>
2135
2136 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2137
21382020-10-14 Tom de Vries <tdevries@suse.de>
2139
2140 PR testsuite/26732
2141 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2142 scenario 2.
2143 * gdb.ada/mi_catch_ex_hand.exp: Same.
2144
21452020-10-13 Pedro Alves <pedro@palves.net>
2146
2147 * lib/mi-support.exp (mi_clean_restart): New.
2148 (mi_run_to_main): Delete.
2149 All callers adjust to use mi_clean_restart / mi_runto_main.
2150
21512020-10-13 Pedro Alves <pedro@palves.net>
2152
2153 * config/monitor.exp: Use "list -q".
2154 * gdb.arch/gdb1558.exp: Use "break -q".
2155 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2156 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2157 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2158 * gdb.base/commands.exp: Use "break -q".
2159 * gdb.base/condbreak.exp: Use "break -q".
2160 * gdb.base/ctf-ptype.exp: Use "list -q".
2161 * gdb.base/define.exp: Use "break -q".
2162 * gdb.base/del.exp: Use "break -q".
2163 * gdb.base/fullname.exp: Use "break -q".
2164 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2165 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2166 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2167 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2168 "hbreak -q".
2169 * gdb.base/included.exp: Use "list -q".
2170 * gdb.base/label.exp: Use "break -q".
2171 * gdb.base/lineinc.exp: Use "break -q".
2172 * gdb.base/list.exp: Use "list -q".
2173 * gdb.base/macscp.exp: Use "list -q".
2174 * gdb.base/pending.exp: Use "break -q".
2175 * gdb.base/prologue-include.exp: Use "break -q".
2176 * gdb.base/ptype.exp: Use "list -q".
2177 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2178 * gdb.base/server-del-break.exp: Use "break -q".
2179 * gdb.base/style.exp: Use "break -q".
2180 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2181 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2182 * gdb.cp/exception.exp: Use "tbreak -q".
2183 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2184 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2185 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2186 * gdb.dwarf2/pr13961.exp: Use "break -q".
2187 * gdb.linespec/explicit.exp: Use "list -q".
2188 * gdb.linespec/linespec.exp: Use "break -q".
2189 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2190 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2191 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2192 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2193 * gdb.trace/change-loc.exp: Use "break -q".
2194 * gdb.trace/pending.exp: Use "break -q".
2195 * gdb.tui/basic.exp: Use "list -q".
2196 * gdb.tui/list-before.exp: Use "list -q".
2197 * gdb.tui/list.exp: Use "list -q".
2198 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2199
22002020-10-13 Pedro Alves <pedro@palves.net>
2201
2202 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2203 saved breakpoints file.
2204 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2205 inspecting breakpoint list.
2206 * lib/gdb.exp (runto_main): Add "qualified" to options.
2207 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2208 and handle it.
2209 (mi_runto_main): Pass 1 as qualified argument.
2210
22112020-10-13 Pedro Alves <pedro@palves.net>
2212
2213 * lib/mi-support.exp (mi_runto_main): New proc.
2214 (mi_run_to_main): Use it.
2215 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2216 * gdb.mi/mi-var-cmd.exp: Likewise.
2217 * gdb.mi/mi-var-invalidate.exp: Likewise.
2218 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2219 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2220 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2221 * gdb.mi/user-selected-context-sync.exp: Likewise.
2222 * gdb.opt/inline-cmds.exp: Likewise.
2223 * gdb.python/py-framefilter-mi.exp: Likewise.
2224 * gdb.python/py-mi.exp: Likewise.
2225
22262020-10-13 Pedro Alves <pedro@palves.net>
2227
2228 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2229 "runto main".
2230 * gdb.ada/small_reg_param.exp: Likewise.
2231 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2232 * gdb.base/annota1.exp: Likewise.
2233 * gdb.base/anon.exp: Likewise.
2234 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2235 * gdb.base/dprintf-non-stop.exp: Likewise.
2236 * gdb.base/dprintf.exp: Likewise.
2237 * gdb.base/gdb11530.exp: Likewise.
2238 * gdb.base/gdb11531.exp: Likewise.
2239 * gdb.base/gnu_vector.exp: Likewise.
2240 * gdb.base/interrupt-noterm.exp: Likewise.
2241 * gdb.base/memattr.exp: Likewise.
2242 * gdb.base/step-over-syscall.exp: Likewise.
2243 * gdb.base/watch-cond-infcall.exp: Likewise.
2244 * gdb.base/watch-read.exp: Likewise.
2245 * gdb.base/watch-vfork.exp: Likewise.
2246 * gdb.base/watch_thread_num.exp: Likewise.
2247 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2248 * gdb.guile/scm-frame-inline.exp: Likewise.
2249 * gdb.linespec/explicit.exp: Likewise.
2250 * gdb.opt/inline-break.exp: Likewise.
2251 * gdb.python/py-frame-inline.exp: Likewise.
2252 * gdb.reverse/break-precsave.exp: Likewise.
2253 * gdb.reverse/break-reverse.exp: Likewise.
2254 * gdb.reverse/consecutive-precsave.exp: Likewise.
2255 * gdb.reverse/consecutive-reverse.exp: Likewise.
2256 * gdb.reverse/finish-precsave.exp: Likewise.
2257 * gdb.reverse/finish-reverse.exp: Likewise.
2258 * gdb.reverse/fstatat-reverse.exp: Likewise.
2259 * gdb.reverse/getresuid-reverse.exp: Likewise.
2260 * gdb.reverse/i386-precsave.exp: Likewise.
2261 * gdb.reverse/i386-reverse.exp: Likewise.
2262 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2263 * gdb.reverse/i387-env-reverse.exp: Likewise.
2264 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2265 * gdb.reverse/insn-reverse.exp: Likewise.
2266 * gdb.reverse/machinestate-precsave.exp: Likewise.
2267 * gdb.reverse/machinestate.exp: Likewise.
2268 * gdb.reverse/pipe-reverse.exp: Likewise.
2269 * gdb.reverse/readv-reverse.exp: Likewise.
2270 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2271 * gdb.reverse/rerun-prec.exp: Likewise.
2272 * gdb.reverse/s390-mvcle.exp: Likewise.
2273 * gdb.reverse/solib-precsave.exp: Likewise.
2274 * gdb.reverse/solib-reverse.exp: Likewise.
2275 * gdb.reverse/step-precsave.exp: Likewise.
2276 * gdb.reverse/step-reverse.exp: Likewise.
2277 * gdb.reverse/time-reverse.exp: Likewise.
2278 * gdb.reverse/until-precsave.exp: Likewise.
2279 * gdb.reverse/until-reverse.exp: Likewise.
2280 * gdb.reverse/waitpid-reverse.exp: Likewise.
2281 * gdb.reverse/watch-precsave.exp: Likewise.
2282 * gdb.reverse/watch-reverse.exp: Likewise.
2283 * gdb.threads/kill.exp: Likewise.
2284 * gdb.threads/tid-reuse.exp: Likewise.
2285
22862020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2287
2288 PR gdb/26642
2289 * gdb.base/maint-target-async-off.c: New test.
2290 * gdb.base/maint-target-async-off.exp: New test.
2291
22922020-10-13 Alan Modra <amodra@gmail.com>
2293
2294 * gdb.arch/powerpc-altivec.s,
2295 * gdb.arch/powerpc-power7.s,
2296 * gdb.arch/powerpc-power8.s,
2297 * gdb.arch/powerpc-power9.s,
2298 * gdb.arch/powerpc-vsx.s,
2299 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2300 * gdb.arch/powerpc-altivec.exp,
2301 * gdb.arch/powerpc-power7.exp,
2302 * gdb.arch/powerpc-power8.exp,
2303 * gdb.arch/powerpc-power9.exp,
2304 * gdb.arch/powerpc-vsx.exp,
2305 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2306 disassembly of mfvsrd/mtvsrd.
2307
23082020-10-13 Alan Modra <amodra@gmail.com>
2309
2310 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2311 "target architecture" output.
2312 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2313 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2314 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2315 * gdb.arch/s390-disassembler-options.exp: Likewise.
2316
23172020-10-12 Pedro Alves <pedro@palves.net>
2318
2319 PR exp/26602
2320 PR c++/26550
2321 * gdb.cp/ambiguous.cc (marker1): Delete.
2322 (main): Initialize all the fields of the locals. Replace marker1
2323 call with a "set breakpoint here" marker.
2324 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2325 instead of running to marker1. Add tests printing all the
2326 variables and all the fields of the variables.
2327 (test_ambiguous): New proc, expecting the new GDB output when a
2328 field access is ambiguous. Change all "warning: X ambiguous"
2329 tests to use it.
2330
23312020-10-12 Gary Benson <gbenson@redhat.com>
2332
2333 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2334 * gdb.base/msym-bp-2.c (foo): Likewise.
2335 * gdb.base/msym-lang.c (foo): Likewise.
2336 * gdb.base/msym-lang-main.c (foo): Likewise.
2337 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2338 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2339 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2340 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2341 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2342 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2343 * gdb.python/py-objfile.c (static_var): Likewise.
2344 * gdb.python/py-symbol.c (rr): Likewise.
2345 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2346 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2347
23482020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2349
2350 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2351 output of backtrace.
2352
23532020-10-09 Tom Tromey <tromey@adacore.com>
2354
2355 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2356 (Rec): Add field. Fix range.
2357 * gdb.ada/scalar_storage.exp: Update.
2358
23592020-10-09 Hannes Domani <ssbssa@yahoo.de>
2360
2361 PR exp/26714
2362 * gdb.base/printcmds.exp: Add tests for void results.
2363
23642020-10-09 Jan Vrany <jan.vrany@labware.com>
2365
2366 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2367 is emmited for both 'set directories' and 'directory' commands.
2368
23692020-10-08 Tom Tromey <tom@tromey.com>
2370
2371 * gdb.base/style.exp: Check that "main"'s name is styled.
2372
23732020-10-07 Tom Tromey <tromey@adacore.com>
2374
2375 * gdb.base/find.exp: Rename some tests.
2376
23772020-10-06 Gary Benson <gbenson@redhat.com>
2378
2379 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2380 * gdb.base/list1.c (unused): Likewise.
2381
23822020-10-06 Gary Benson <gbenson@redhat.com>
2383
2384 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2385 __attribute__ ((used)).
2386 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2387
23882020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2389
2390 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2391 make use of regions throughout.
2392 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2393 not {...}.
2394 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2395
23962020-10-05 Hannes Domani <ssbssa@yahoo.de>
2397
2398 * gdb.base/call-sc.c: Fix return struct on stack test case.
2399 * gdb.base/call-sc.exp: Likewise.
2400
24012020-10-02 Gary Benson <gbenson@redhat.com>
2402
2403 * README: Fix "paralell".
2404
24052020-09-30 Gary Benson <gbenson@redhat.com>
2406
2407 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2408 Convert directive to lowercase.
2409 (.Labbrev1_begin): Add missing label.
2410 (abbrev code 0x1): Remove DW_AT_stmt_list.
2411 (.Ldie_b): Likewise.
2412
24132020-09-27 Tom Tromey <tom@tromey.com>
2414
2415 * gdb.tui/new-layout.exp: Use with_test_prefix.
2416
24172020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2418
2419 PR python/26586
2420 * gdb.python/python.exp: add test cases for the from_tty
2421 argument to gdb.execute.
2422
24232020-09-25 Gary Benson <gbenson@redhat.com>
2424
2425 * gdb.base/infcall-nested-structs.exp.tcl: Add
2426 additional_flags=-Wno-tautological-compare for C++
2427 tests when compiling using Clang.
2428
24292020-09-25 Gary Benson <gbenson@redhat.com>
2430
2431 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2432 for .c files.
2433
24342020-09-24 Tom Tromey <tromey@adacore.com>
2435
2436 PR tui/26638:
2437 * gdb.tui/list.exp: Check output of "focus next".
2438
24392020-09-23 Tom Tromey <tom@tromey.com>
2440
2441 * gdb.dwarf2/intbits.exp: New file.
2442 * gdb.dwarf2/intbits.c: New file.
2443
24442020-09-20 Pedro Alves <pedro@palves.net>
2445
2446 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2447 spawn_id before calling remote_close. Close secondary MI channel.
2448
24492020-09-20 Pedro Alves <pedro@palves.net>
2450
2451 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2452 fails.
2453
24542020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2455
2456 * gdb.fortran/array-slices.exp: Update expected results.
2457 * gdb.fortran/class-allocatable-array.exp: Likewise.
2458 * gdb.fortran/multi-dim.exp: Likewise.
2459 * gdb.fortran/vla-type.exp: Likewise.
2460 * gdb.mi/mi-vla-fortran.exp: Likewise.
2461
24622020-09-18 Victor Collod <vcollod@nvidia.com>
2463
2464 PR gdb/26635
2465 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2466 compatible with i386, and move it to...
2467 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2468 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2469 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2470
24712020-09-18 Pedro Alves <pedro@palves.net>
2472
2473 PR gdb/26631
2474 * gdb.multi/multi-target-thread-find.exp: New file.
2475
24762020-09-18 Pedro Alves <pedro@palves.net>
2477
2478 * gdb.multi/multi-target-continue.exp: New file, factored out from
2479 multi-target.exp.
2480 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2481 multi-target.exp.
2482 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2483 multi-target.exp.
2484 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2485 multi-target.exp.
2486 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2487 multi-target.exp.
2488 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2489 multi-target.exp.
2490 * gdb.multi/multi-target.exp: Delete.
2491
24922020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2493
2494 * gdb.fortran/array-slices.exp: Add missing message data.
2495
24962020-09-17 Pedro Alves <pedro@palves.net>
2497
2498 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2499
25002020-09-17 Pedro Alves <pedro@palves.net>
2501
2502 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2503 full prototype.
2504
25052020-09-17 Pedro Alves <pedro@palves.net>
2506
2507 * gdb.python/py-as-string.c: Add cast.
2508
25092020-09-17 Pedro Alves <pedro@palves.net>
2510
2511 * gdb.base/sizeof.c (fill): Add cast.
2512
25132020-09-17 Pedro Alves <pedro@palves.net>
2514
2515 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2516
25172020-09-17 Pedro Alves <pedro@palves.net>
2518
2519 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2520 linkage name.
2521 * gdb.base/prologue.exp: Use print /d.
2522 * gdb.base/symbol-alias.exp: Handle C++ output.
2523 * gdb.base/symbol-alias2.c: Handle C++ output.
2524 [__cplusplus] (func): Explicitly specify linkage name.
2525
25262020-09-17 Pedro Alves <pedro@palves.net>
2527
2528 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2529 (struct my_key_t): ... this. Adjust all references.
2530 (struct value_t): Rename to ...
2531 (struct my_value_t): ... this. Adjust all references.
2532 (create_map, add_map_element, create_map_map)
2533 (add_map_map_element): Add casts.
2534
25352020-09-17 Pedro Alves <pedro@palves.net>
2536
2537 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2538 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2539
25402020-09-17 Pedro Alves <pedro@palves.net>
2541
2542 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2543
25442020-09-17 Pedro Alves <pedro@palves.net>
2545
2546 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2547 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2548 (charfoo, intfoo): Define full prototype.
2549 * gdb.base/ptype1.c (charfoo): Define full prototype.
2550 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2551 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2552
25532020-09-17 Pedro Alves <pedro@palves.net>
2554
2555 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2556 Don't define.
2557 (utf_32_string): Compile for both C and C++.
2558 * gdb.base/charset.exp: Use "print /d".
2559
25602020-09-17 Pedro Alves <pedro@palves.net>
2561
2562 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2563 (nullptr): Rename to ...
2564 (null_ptr): ... this.
2565 * gdb.base/watchpoint.exp: Adjust to rename.
2566
25672020-09-17 Pedro Alves <pedro@palves.net>
2568
2569 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2570 (three_not_flag): Add casts.
2571
25722020-09-17 Pedro Alves <pedro@palves.net>
2573
2574 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2575 char array.
2576 (main): Add references to Barrier, TestStrings, TestStringsH and
2577 TestStringsW.
2578 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2579 and expect a full prototype in C++.
2580
25812020-09-17 Pedro Alves <pedro@palves.net>
2582
2583 * gdb.base/nested-addr.c (main): Add cast.
2584 * gdb.base/nested-addr.exp: Use "print /d".
2585
25862020-09-17 Pedro Alves <pedro@palves.net>
2587
2588 * gdb.base/break.exp (func): New. Use it throughout when
2589 expecting a function name.
2590
25912020-09-17 Pedro Alves <pedro@palves.net>
2592
2593 * gdb.base/display.exp: Issue "set print asm-demangle on".
2594
25952020-09-17 Pedro Alves <pedro@palves.net>
2596
2597 * gdb.base/find.c: Include <string.h>.
2598 (init_bufs): Add cast.
2599 * gdb.base/find.exp: Issue "set print asm-demangle on".
2600
26012020-09-16 Tom Tromey <tromey@adacore.com>
2602
2603 PR gdb/26598:
2604 * gdb.base/skipcxx.exp: New file.
2605 * gdb.base/skipcxx.cc: New file.
2606
26072020-09-16 Tom de Vries <tdevries@suse.de>
2608
2609 PR testsuite/26617
2610 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2611 WITH_DEBUG_SECTIONS is defined.
2612 (xstr, str): New macro.
2613 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2614 to get start and size of _Dmain.
2615 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2616 using additional_flags.
2617
26182020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2619
2620 * gdb.base/bp-cmds-sourced-script.c: New file.
2621 * gdb.base/bp-cmds-sourced-script.exp: New test.
2622 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2623
26242020-09-16 Tom de Vries <tdevries@suse.de>
2625
2626 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2627 get the gdb prompt after issuing "monitor exit".
2628
26292020-09-16 Tom de Vries <tdevries@suse.de>
2630
2631 PR testsuite/26624
2632 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2633
26342020-09-16 Tom de Vries <tdevries@suse.de>
2635
2636 PR testsuite/26618
2637 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2638
26392020-09-15 Tom Tromey <tromey@adacore.com>
2640
2641 PR rust/26197:
2642 * lib/rust-support.exp (rust_llvm_version): New proc.
2643 * gdb.rust/simple.exp: Check rust_llvm_version.
2644
26452020-09-14 Tom de Vries <tdevries@suse.de>
2646
2647 * gdb.rust/traits.exp: Fix PATH warning.
2648
26492020-09-13 Pedro Alves <pedro@palves.net>
2650
2651 * gdb.base/catch-follow-exec.c (main): Add explicit return
2652 statement.
2653 * gdb.base/catch-signal.c (main): Likewise.
2654 * gdb.base/condbreak-call-false.c (main): Likewise.
2655 * gdb.base/consecutive.c (main): Add explicit return
2656 statement and return type.
2657 * gdb.base/cursal.c (main): Add explicit return statement.
2658 * gdb.base/cvexpr.c (main): Likewise.
2659 * gdb.base/display.c (main): Add explicit return statement and
2660 return type.
2661 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2662 * gdb.base/endianity.c (main): Likewise.
2663 * gdb.base/execd-prog.c (main): Likewise.
2664 * gdb.base/gdb1090.c (main): Likewise.
2665 * gdb.base/info_qt.c (main): Likewise.
2666 * gdb.base/lineinc.c (main): Likewise.
2667 * gdb.base/load-command.c (main): Likewise.
2668 * gdb.base/macscp1.c (main): Likewise.
2669 * gdb.base/pr10179-a.c (main): Likewise.
2670 * gdb.base/quit-live.c (main): Likewise.
2671 * gdb.base/scope0.c (main): Likewise.
2672 * gdb.base/settings.c (main): Likewise.
2673 * gdb.base/stack-checking.c (main): Return int.
2674 * gdb.base/varargs.c (main): Add explicit return statement.
2675 * gdb.cp/ambiguous.cc (main): Likewise.
2676 * gdb.cp/anon-struct.cc (main): Likewise.
2677 * gdb.cp/anon-union.cc (main): Likewise.
2678 * gdb.cp/bool.cc (main): Likewise.
2679 * gdb.cp/bs15503.cc (main): Likewise.
2680 * gdb.cp/cplusfuncs.cc (main): Likewise.
2681 * gdb.cp/cttiadd.cc (main): Likewise.
2682 * gdb.cp/extern-c.cc (main): Likewise.
2683 * gdb.cp/filename.cc (main): Likewise.
2684 * gdb.cp/formatted-ref.cc (main): Likewise.
2685 * gdb.cp/mb-ctor.cc (main): Likewise.
2686 * gdb.cp/member-ptr.cc (main): Likewise.
2687 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2688 * gdb.cp/overload-const.cc (main): Likewise.
2689 * gdb.cp/paren-type.cc (main): Likewise.
2690 * gdb.cp/parse-lang.cc (main): Likewise.
2691 * gdb.cp/pr-1023.cc (main): Likewise.
2692 * gdb.cp/psmang1.cc (main): Likewise.
2693 * gdb.cp/readnow-language.cc (main): Likewise.
2694 * gdb.cp/ref-params.cc (main): Likewise.
2695 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2696 * gdb.cp/virtbase2.cc (main): Likewise.
2697 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2698 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2699 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2700 * gdb.mi/mi-console.c (main): Likewise.
2701 * gdb.mi/mi-read-memory.c (main): Likewise.
2702 * gdb.modula2/multidim.c (main): Likewise.
2703 * gdb.opt/inline-small-func.c (main): Likewise.
2704 * gdb.python/py-rbreak.c (main): Likewise.
2705 * gdb.stabs/exclfwd1.c (main): Likewise.
2706 * gdb.trace/qtro.c (main): Likewise.
2707
27082020-09-13 Pedro Alves <pedro@palves.net>
2709
2710 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2711 instead of getenv.
2712
27132020-09-13 Pedro Alves <pedro@palves.net>
2714
2715 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2716 instead of spawning GDB with remote_spawn.
2717 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2718 gdb_spawn instead of spawning GDB with remote_spawn.
2719
27202020-09-13 Pedro Alves <pedro@palves.net>
2721
2722 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2723 file and add calls to first and second.
2724 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2725 add call to f.
2726
27272020-09-13 Pedro Alves <pedro@palves.net>
2728
2729 * gdb.mi/mi-break-qualified.cc: New file.
2730 * gdb.mi/mi-break-qualified.exp: New file.
2731 * lib/mi-support.exp (mi_create_breakpoint_multi)
2732 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2733 procedures.
2734 (mi_create_breakpoint_1): New, factored out from
2735 mi_create_breakpoint.
2736
27372020-09-13 Pedro Alves <pedro@palves.net>
2738
2739 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2740 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2741 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2742 (register_class): Delete.
2743 (main): Don't call register_class.
2744
27452020-09-13 Pedro Alves <pedro@palves.net>
2746
2747 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2748 (do_tests): Remove "calling method for small class" test.
2749 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2750 (register_class): Delete.
2751 (main): Don't call register_class.
2752 * gdb.cp/call-method-register.exp: New file, based on bits removed
2753 from classes.exp.
2754 * gdb.cp/call-method-register.cc: New file, based on bits removed
2755 from classes.cc.
2756
27572020-09-13 Pedro Alves <pedro@palves.net>
2758
2759 * gdb.base/msym-bp-2.c: New.
2760 * gdb.base/msym-bp-shl-lib.c: New file.
2761 * gdb.base/msym-bp-shl-main-2.c: New file.
2762 * gdb.base/msym-bp-shl-main.c: New file.
2763 * gdb.base/msym-bp-shl.exp: New file.
2764 * gdb.base/msym-bp.c: New file.
2765 * gdb.base/msym-bp.exp: New file.
2766
27672020-09-13 Joel Brobecker <brobecker@adacore.com>
2768
2769 * gdb.base/default.exp: Change $_gdb_major to 11.
2770
27712020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2772 Felix Willgerodt <Felix.Willgerodt@intel.com>
2773
2774 * x86-avx512bf16.c: New file.
2775 * x86-avx512bf16.exp: Likewise.
2776 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2777
27782020-09-11 Tom de Vries <tdevries@suse.de>
2779
2780 PR exp/26602
2781 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2782
27832020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2784
2785 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2786
27872020-09-10 Alan Modra <amodra@gmail.com>
2788
2789 PR 26597
2790 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2791
27922020-09-08 Tom de Vries <tdevries@suse.de>
2793
2794 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2795 after gdb_starti_cmd.
2796
27972020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2798
2799 * lib/fortran.exp (fortran_complex8): New proc.
2800 (fortran_complex16): New proc.
2801 * gdb.fortran/complex.exp: Use routines from fortran.exp
2802 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2803 * gdb.fortran/vla-ptr-info.exp: Likewise.
2804
28052020-09-03 Tom de Vries <tdevries@suse.de>
2806
2807 PR breakpoint/26546
2808 * gdb.base/label-without-address.exp: Runto main first.
2809
28102020-09-02 Tom Tromey <tromey@adacore.com>
2811
2812 * gdb.ada/mi_var_access.exp: Test children of access variable.
2813 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2814 * gdb.ada/mi_var_array.exp: Update.
2815
28162020-08-31 Kevin Buettner <kevinb@redhat.com>
2817
2818 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2819 on docker w/ AUFS storage driver.
2820
28212020-08-31 Kevin Buettner <kevinb@redhat.com>
2822
2823 * gdb.base/corefile2.exp (renamed binfile): New tests.
2824
28252020-08-31 Simon Marchi <simon.marchi@efficios.com>
2826
2827 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2828
28292020-08-31 Simon Marchi <simon.marchi@efficios.com>
2830
2831 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2832 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2833
28342020-08-31 Simon Marchi <simon.marchi@efficios.com>
2835
2836 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2837 output, printing a "not saved" value from history and printing a
2838 convenience variable created from a "not saved" value.
2839
28402020-08-31 Tom de Vries <tdevries@suse.de>
2841
2842 * gdb.base/eh_return.exp: Use nopie.
2843
28442020-08-28 Pedro Alves <pedro@palves.net>
2845
2846 * gdb.base/advance-until-multiple-locations.exp
2847 (advance_overload, until_overload): Adjust to match the
2848 frame/function header instead of the source line text.
2849
28502020-08-28 Tom de Vries <tdevries@suse.de>
2851
2852 * gdb.base/label-without-address.c: New test.
2853 * gdb.base/label-without-address.exp: New file.
2854
28552020-08-27 Pedro Alves <pedro@palves.net>
2856
2857 PR gdb/26523
2858 PR gdb/26524
2859 * gdb.base/advance-until-multiple-locations.cc: New.
2860 * gdb.base/advance-until-multiple-locations.exp: New.
2861
28622020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2863
2864 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2865
28662020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2867
2868 * gdb.arch/amd64-byte.exp: Make test names unique, use
2869 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2870 * gdb.arch/amd64-dword.exp: Likewise.
2871 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2872 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2873 unique.
2874 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2875 * gdb.arch/amd64-word.exp: Make test names unique, use
2876 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2877 * gdb.arch/i386-byte.exp: Make test names unique, use
2878 gdb_breakpoint.
2879 * gdb.arch/i386-word.exp: Likewise.
2880
28812020-08-25 Shahab Vahedi <shahab@synopsys.com>
2882
2883 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2884
28852020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2886
2887 PR gdb/26532
2888 * gdb.threads/stepi-random-signal.exp: Update pattern.
2889
28902020-08-25 Simon Marchi <simon.marchi@efficios.com>
2891
2892 PR gdb/26532
2893 * gdb.base/ui-redirect.exp: Update pattern.
2894
28952020-08-25 Gary Benson <gbenson@redhat.com>
2896
2897 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2898 when compiling with clang.
2899 * gdb.dwarf2/dw2-restore.exp: Likewise.
2900
29012020-08-25 Gary Benson <gbenson@redhat.com>
2902
2903 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2904 Add additional_flags=-Wno-inaccessible-base when compiling
2905 with GCC >= 10.1 or clang. Add additional_flags=-w when
2906 compiling with GCC < 10.
2907
29082020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2909
2910 PR m2/26372
2911 * gdb.modula2/multidim.c: New file.
2912 * gdb.modula2/multidim.exp: New file.
2913
29142020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2915
2916 * lib/gdb.exp (runto): Always emit fail on internal error.
2917
29182020-08-24 Simon Marchi <simon.marchi@efficios.com>
2919
2920 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2921 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2922 Likewise.
2923 * gdb.threads/stepi-random-signal.exp: Likewise.
2924
29252020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2926
2927 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2928 * gdb.trace/strace.exp: Ditto.
2929
29302020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2931
2932 * gdb.fortran/vla-type.exp: Skip commands not required for
2933 the Flang compiled binaries after prologue fix.
2934
29352020-08-17 Tom de Vries <tdevries@suse.de>
2936 Tom Tromey <tromey@adacore.com>
2937
2938 PR rust/26197:
2939 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2940
29412020-08-17 Tom Tromey <tromey@adacore.com>
2942
2943 * gdb.ada/mi_var_access.exp: New file.
2944 * gdb.ada/mi_var_access/mi_access.adb: New file.
2945 * gdb.ada/mi_var_access/pck.adb: New file.
2946 * gdb.ada/mi_var_access/pck.ads: New file.
2947
29482020-08-16 Tom de Vries <tdevries@suse.de>
2949
2950 PR gdb/25350
2951 * gdb.base/eh_return.c: New test.
2952 * gdb.base/eh_return.exp: New file.
2953
29542020-08-15 Tom de Vries <tdevries@suse.de>
2955
2956 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2957 (mixed_func_1d_): Use fortran_charlen_t in decl.
2958
29592020-08-15 Tom de Vries <tdevries@suse.de>
2960
2961 PR backtrace/26390
2962 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2963 Update expected pattern.
2964
29652020-08-13 Pedro Alves <pedro@palves.net>
2966
2967 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2968 * gdb.fortran/library-module.exp: Likewise.
2969 * gdb.fortran/logical.exp: Likewise.
2970 * gdb.fortran/module.exp: Likewise.
2971 * gdb.fortran/print_type.exp: Likewise.
2972 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2973 * gdb.fortran/vla-datatypes.exp: Likewise.
2974 * gdb.fortran/vla-history.exp: Likewise.
2975 * gdb.fortran/vla-ptr-info.exp: Likewise.
2976 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2977 * gdb.fortran/vla-ptype.exp: Likewise.
2978 * gdb.fortran/vla-sizeof.exp: Likewise.
2979 * gdb.fortran/vla-type.exp: Likewise.
2980 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2981 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2982 * gdb.fortran/vla-value-sub.exp: Likewise.
2983 * gdb.fortran/vla-value.exp: Likewise.
2984
29852020-08-13 Pedro Alves <pedro@palves.net>
2986
2987 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2988 * gdb.ada/access_to_packed_array.exp: Likewise.
2989 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2990 * gdb.ada/addr_arith.exp: Likewise.
2991 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2992 * gdb.ada/arr_arr.exp: Likewise.
2993 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2994 * gdb.ada/array_bounds.exp: Likewise.
2995 * gdb.ada/array_of_variable_length.exp: Likewise.
2996 * gdb.ada/array_ptr_renaming.exp: Likewise.
2997 * gdb.ada/array_subscript_addr.exp: Likewise.
2998 * gdb.ada/arraydim.exp: Likewise.
2999 * gdb.ada/arrayparam.exp: Likewise.
3000 * gdb.ada/arrayptr.exp: Likewise.
3001 * gdb.ada/assign_1.exp: Likewise.
3002 * gdb.ada/assign_arr.exp: Likewise.
3003 * gdb.ada/atomic_enum.exp: Likewise.
3004 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3005 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3006 * gdb.ada/bias.exp: Likewise.
3007 * gdb.ada/boolean_expr.exp: Likewise.
3008 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3009 * gdb.ada/bp_enum_homonym.exp: Likewise.
3010 * gdb.ada/bp_inlined_func.exp: Likewise.
3011 * gdb.ada/bp_on_var.exp: Likewise.
3012 * gdb.ada/bp_range_type.exp: Likewise.
3013 * gdb.ada/bp_reset.exp: Likewise.
3014 * gdb.ada/call_pn.exp: Likewise.
3015 * gdb.ada/catch_assert_if.exp: Likewise.
3016 * gdb.ada/catch_ex.exp: Likewise.
3017 * gdb.ada/catch_ex_std.exp: Likewise.
3018 * gdb.ada/char_enum.exp: Likewise.
3019 * gdb.ada/char_param.exp: Likewise.
3020 * gdb.ada/complete.exp: Likewise.
3021 * gdb.ada/cond_lang.exp: Likewise.
3022 * gdb.ada/convvar_comp.exp: Likewise.
3023 * gdb.ada/dgopt.exp: Likewise.
3024 * gdb.ada/disc_arr_bound.exp: Likewise.
3025 * gdb.ada/display_nested.exp: Likewise.
3026 * gdb.ada/dot_all.exp: Likewise.
3027 * gdb.ada/dyn_loc.exp: Likewise.
3028 * gdb.ada/dyn_stride.exp: Likewise.
3029 * gdb.ada/excep_handle.exp: Likewise.
3030 * gdb.ada/expr_delims.exp: Likewise.
3031 * gdb.ada/expr_with_funcall.exp: Likewise.
3032 * gdb.ada/exprs.exp: Likewise.
3033 * gdb.ada/fin_fun_out.exp: Likewise.
3034 * gdb.ada/fixed_cmp.exp: Likewise.
3035 * gdb.ada/formatted_ref.exp: Likewise.
3036 * gdb.ada/frame_arg_lang.exp: Likewise.
3037 * gdb.ada/frame_args.exp: Likewise.
3038 * gdb.ada/fullname_bp.exp: Likewise.
3039 * gdb.ada/fun_addr.exp: Likewise.
3040 * gdb.ada/fun_in_declare.exp: Likewise.
3041 * gdb.ada/fun_overload_menu.exp: Likewise.
3042 * gdb.ada/fun_renaming.exp: Likewise.
3043 * gdb.ada/funcall_char.exp: Likewise.
3044 * gdb.ada/funcall_param.exp: Likewise.
3045 * gdb.ada/funcall_ptr.exp: Likewise.
3046 * gdb.ada/funcall_ref.exp: Likewise.
3047 * gdb.ada/homonym.exp: Likewise.
3048 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3049 * gdb.ada/info_auto_lang.exp: Likewise.
3050 * gdb.ada/info_exc.exp: Likewise.
3051 * gdb.ada/info_types.exp: Likewise.
3052 * gdb.ada/int_deref.exp: Likewise.
3053 * gdb.ada/interface.exp: Likewise.
3054 * gdb.ada/iwide.exp: Likewise.
3055 * gdb.ada/lang_switch.exp: Likewise.
3056 * gdb.ada/length_cond.exp: Likewise.
3057 * gdb.ada/maint_with_ada.exp: Likewise.
3058 * gdb.ada/mi_catch_assert.exp: Likewise.
3059 * gdb.ada/mi_catch_ex.exp: Likewise.
3060 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3061 * gdb.ada/mi_dyn_arr.exp: Likewise.
3062 * gdb.ada/mi_ex_cond.exp: Likewise.
3063 * gdb.ada/mi_exc_info.exp: Likewise.
3064 * gdb.ada/mi_interface.exp: Likewise.
3065 * gdb.ada/mi_prot.exp: Likewise.
3066 * gdb.ada/mi_ref_changeable.exp: Likewise.
3067 * gdb.ada/mi_string_access.exp: Likewise.
3068 * gdb.ada/mi_task_arg.exp: Likewise.
3069 * gdb.ada/mi_task_info.exp: Likewise.
3070 * gdb.ada/mi_var_array.exp: Likewise.
3071 * gdb.ada/mi_var_union.exp: Likewise.
3072 * gdb.ada/mi_variant.exp: Likewise.
3073 * gdb.ada/minsyms.exp: Likewise.
3074 * gdb.ada/mod_from_name.exp: Likewise.
3075 * gdb.ada/nested.exp: Likewise.
3076 * gdb.ada/null_array.exp: Likewise.
3077 * gdb.ada/optim_drec.exp: Likewise.
3078 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3079 * gdb.ada/packed_array_assign.exp: Likewise.
3080 * gdb.ada/packed_tagged.exp: Likewise.
3081 * gdb.ada/pp-rec-component.exp: Likewise.
3082 * gdb.ada/print_chars.exp: Likewise.
3083 * gdb.ada/print_pc.exp: Likewise.
3084 * gdb.ada/ptr_typedef.exp: Likewise.
3085 * gdb.ada/ptype_arith_binop.exp: Likewise.
3086 * gdb.ada/ptype_array.exp: Likewise.
3087 * gdb.ada/ptype_field.exp: Likewise.
3088 * gdb.ada/ptype_tagged_param.exp: Likewise.
3089 * gdb.ada/ptype_union.exp: Likewise.
3090 * gdb.ada/py_range.exp: Likewise.
3091 * gdb.ada/py_taft.exp: Likewise.
3092 * gdb.ada/rdv_wait.exp: Likewise.
3093 * gdb.ada/rec_comp.exp: Likewise.
3094 * gdb.ada/rec_return.exp: Likewise.
3095 * gdb.ada/ref_param.exp: Likewise.
3096 * gdb.ada/ref_tick_size.exp: Likewise.
3097 * gdb.ada/rename_subscript_param.exp: Likewise.
3098 * gdb.ada/repeat_dyn.exp: Likewise.
3099 * gdb.ada/same_component_name.exp: Likewise.
3100 * gdb.ada/same_enum.exp: Likewise.
3101 * gdb.ada/scalar_storage.exp: Likewise.
3102 * gdb.ada/set_wstr.exp: Likewise.
3103 * gdb.ada/small_reg_param.exp: Likewise.
3104 * gdb.ada/str_binop_equal.exp: Likewise.
3105 * gdb.ada/str_ref_cmp.exp: Likewise.
3106 * gdb.ada/str_uninit.exp: Likewise.
3107 * gdb.ada/sub_variant.exp: Likewise.
3108 * gdb.ada/sym_print_name.exp: Likewise.
3109 * gdb.ada/taft_type.exp: Likewise.
3110 * gdb.ada/tagged.exp: Likewise.
3111 * gdb.ada/tagged_access.exp: Likewise.
3112 * gdb.ada/task_bp.exp: Likewise.
3113 * gdb.ada/task_switch_in_core.exp: Likewise.
3114 * gdb.ada/tasks.exp: Likewise.
3115 * gdb.ada/tick_last_segv.exp: Likewise.
3116 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3117 * gdb.ada/type_coercion.exp: Likewise.
3118 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3119 * gdb.ada/unchecked_union.exp: Likewise.
3120 * gdb.ada/uninitialized_vars.exp: Likewise.
3121 * gdb.ada/var_arr_attrs.exp: Likewise.
3122 * gdb.ada/var_arr_typedef.exp: Likewise.
3123 * gdb.ada/var_rec_arr.exp: Likewise.
3124 * gdb.ada/variant-record.exp: Likewise.
3125 * gdb.ada/variant.exp: Likewise.
3126 * gdb.ada/variant_record_packed_array.exp: Likewise.
3127 * gdb.ada/varsize_limit.exp: Likewise.
3128 * gdb.ada/whatis_array_val.exp: Likewise.
3129 * gdb.ada/widewide.exp: Likewise.
3130 * gdb.ada/win_fu_syms.exp: Likewise.
3131
31322020-08-12 Gary Benson <gbenson@redhat.com>
3133
3134 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3135
31362020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3137
3138 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3139 unset the array variable.
3140
31412020-08-03 Tom de Vries <tdevries@suse.de>
3142
3143 PR symtab/26333
3144 * lib/dwarf.exp (DW_LNE_user): New proc.
3145 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3146 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3147
31482020-07-31 Kevin Buettner <kevinb@redhat.com>
3149
3150 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3151 to 'uintptr_t'
3152 (inttypes.h): Include.
3153
31542020-07-31 Kevin Buettner <kevinb@redhat.com>
3155
3156 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3157 (C5_24k): Delete.
3158 (C5_8k, C5_64k, C5_256k): New macros.
3159 (buf_ro): Allocate 256 KiB of initialized data.
3160
31612020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3162
3163 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3164 that attempt to overwrite an existing condition with a condition
3165 that fails parsing and also with a condition that parses fine
3166 but contains junk at the end.
3167
31682020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3169
3170 * gdb.base/condbreak-bad.c: New test.
3171 * gdb.base/condbreak-bad.exp: New file.
3172
31732020-07-30 Tom de Vries <tdevries@suse.de>
3174
3175 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3176 out of ...
3177 (GDBInfoModuleSymbols::check_entry): ... here.
3178 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3179 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3180 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3181
31822020-07-30 Tom de Vries <tdevries@suse.de>
3183
3184 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3185 "__class_some_module_Number_t" optional.
3186
31872020-07-29 Tom de Vries <tdevries@suse.de>
3188
3189 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3190 multiple locations.
3191
31922020-07-29 Tom de Vries <tdevries@suse.de>
3193
3194 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3195 rather than function name.
3196
31972020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3198
3199 PR symtab/26270:
3200 * gdb.cp/disasm-func-name.cc: New file.
3201 * gdb.cp/disasm-func-name.exp: New file.
3202
32032020-07-28 Tom Tromey <tromey@adacore.com>
3204
3205 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3206 'varval' location.
3207
32082020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3209
3210 * gdb.python/py-unwind.py: Update to make use of a register
3211 descriptor.
3212
32132020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3214
3215 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3216
32172020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3218
3219 PR fortran/23051
3220 PR fortran/26139
3221 * gdb.fortran/class-allocatable-array.exp: New file.
3222 * gdb.fortran/class-allocatable-array.f90: New file.
3223 * gdb.fortran/pointer-to-pointer.exp: New file.
3224 * gdb.fortran/pointer-to-pointer.f90: New file.
3225
32262020-07-25 Tom de Vries <tdevries@suse.de>
3227
3228 PR symtab/26243
3229 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3230 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3231
32322020-07-24 Tom de Vries <tdevries@suse.de>
3233
3234 PR testsuite/26293
3235 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3236
32372020-07-23 Pedro Alves <pedro@palves.net>
3238
3239 * gdb.server/server-kill.exp (prepare): New, factored out from the
3240 top level.
3241 (kill_server): New.
3242 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3243 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3244
32452020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3246
3247 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3248
32492020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3250
3251 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3252 Initialize to empty string at top level.
3253 (gdb_wrapper_init): Revert check for file existence on build.
3254 Build the wrapper in its default place, not a build-specific
3255 location. When host == build, make the pathname absolute.
3256 (gdb_compile): Delete leftover declaration of
3257 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3258 string instead of uninitialized.
3259
32602020-07-22 Kevin Buettner <kevinb@redhat.com>
3261
3262 * gdb.base/corefile2.exp: New file.
3263 * gdb.base/coremaker2.exp: New file.
3264
32652020-07-22 Kevin Buettner <kevinb@redhat.com>
3266
3267 * gdb.base/coredump-filter.exp: Add second
3268 non-Private-Shared-Anon-File test.
3269 (test_disasm): Rename binfile for test which is expected
3270 to fail.
3271
32722020-07-22 Kevin Buettner <kevinb@redhat.com>
3273
3274 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3275 data in core file".
3276 * gdb.base/coremaker.c (buf2ro): New global.
3277 (mmapdata): Add a read-only mmap mapping.
3278
32792020-07-22 Kevin Buettner <kevinb@redhat.com>
3280
3281 PR corefiles/25631
3282 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3283 New test.
3284 * gdb.base/coremaker.c (buf3): New global.
3285 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3286 flags.
3287
32882020-07-22 Kevin Buettner <kevinb@redhat.com>
3289
3290 * gdb.base/coremaker.c (filler_ro): New global constant.
3291
32922020-07-22 Tom Tromey <tromey@adacore.com>
3293
3294 * gdb.ada/mi_prot.exp: New file.
3295 * gdb.ada/mi_prot/pkg.adb: New file.
3296 * gdb.ada/mi_prot/pkg.ads: New file.
3297 * gdb.ada/mi_prot/prot.adb: New file.
3298
32992020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3300
3301 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3302 loads two JITers.
3303
33042020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3305
3306 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3307
33082020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3309
3310 * gdb.python/py-arch-reg-names.exp: Additional tests.
3311
33122020-07-21 Tom de Vries <tdevries@suse.de>
3313
3314 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3315 breakpoint locations".
3316 * gdb.reverse/solib-reverse.exp: Same.
3317
33182020-07-21 Tom de Vries <tdevries@suse.de>
3319
3320 * gdb.reverse/step-reverse.c (callee): Merge statements.
3321
33222020-07-21 Tom de Vries <tdevries@suse.de>
3323
3324 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3325 line numbers for some variables.
3326
33272020-07-21 Tom de Vries <tdevries@suse.de>
3328
3329 * gdb.opt/inline-locals.c (init_array): New func.
3330 (func1): Use init_array.
3331 * gdb.opt/inline-locals.exp: Update pattern.
3332
33332020-07-21 Tom de Vries <tdevries@suse.de>
3334
3335 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3336 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3337
33382020-07-20 Ludovic Courtès <ludo@gnu.org>
3339
3340 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3341 * gdb.guile/types-module.exp: Remove "ERROR:" from
3342 regexps since Guile 3.0 no longer prints that.
3343
33442020-07-20 Ludovic Courtès <ludo@gnu.org>
3345
3346 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3347 error regexp to match on Guile 2.2.
3348
33492020-07-20 Gary Benson <gbenson@redhat.com>
3350
3351 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3352 with clang.
3353
33542020-07-20 Tom de Vries <tdevries@suse.de>
3355
3356 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3357 (omp_set_lock_in_order): New function.
3358 (single_scope, multi_scope, nested_func, nested_parallel): Use
3359 omp_set_lock_in_order and omp_unset_lock.
3360 (main): Init and destroy lock and lock2.
3361
33622020-07-20 Tom de Vries <tdevries@suse.de>
3363
3364 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3365
33662020-07-20 Tom de Vries <tdevries@suse.de>
3367
3368 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3369
33702020-07-17 Tom de Vries <tdevries@suse.de>
3371
3372 * gdb.base/valgrind-infcall-2.c: New test.
3373 * gdb.base/valgrind-infcall-2.exp: New file.
3374 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3375
33762020-07-17 Tom de Vries <tdevries@suse.de>
3377
3378 * gdb.dlang/circular.c (found): Use found_label as label name.
3379 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3380 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3381 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3382 * gdb.dwarf2/ada-linkage-name.exp: Same.
3383 * gdb.dwarf2/arr-subrange.exp: Same.
3384 * gdb.dwarf2/atomic-type.exp: Same.
3385 * gdb.dwarf2/comp-unit-lang.exp: Same.
3386 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3387 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3388 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3389 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3390 * gdb.dwarf2/implptr-64bit.exp: Same.
3391 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3392 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3393 * gdb.dwarf2/imported-unit.exp: Same.
3394 * gdb.dwarf2/main-subprogram.exp: Same.
3395 * gdb.dwarf2/missing-type-name.exp: Same.
3396 * gdb.dwarf2/nonvar-access.exp: Same.
3397 * gdb.dwarf2/struct-with-sig.exp: Same.
3398 * gdb.dwarf2/typedef-void-finish.exp: Same.
3399 * gdb.dwarf2/void-type.exp: Same.
3400
34012020-07-17 Tom de Vries <tdevries@suse.de>
3402
3403 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3404 src parameter.
3405 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3406 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3407 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3408 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3409 * gdb.dwarf2/dwz.exp: Same.
3410 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3411 * gdb.dwarf2/implref-array.exp: Same.
3412 * gdb.dwarf2/implref-const.exp: Same.
3413 * gdb.dwarf2/implref-global.exp: Same.
3414 * gdb.dwarf2/implref-struct.exp: Same.
3415 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3416 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3417 * gdb.dwarf2/var-access.exp: Same.
3418 * gdb.dwarf2/varval.exp: Same.
3419 * gdb.trace/entry-values.exp: Same.
3420
34212020-07-17 Tom de Vries <tdevries@suse.de>
3422
3423 * lib/dwarf.exp (Dwarf::extern): Remove.
3424 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3425 * gdb.dlang/circular.exp: Same.
3426 * gdb.dwarf2/comp-unit-lang.exp: Same.
3427 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3428 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3429 * gdb.dwarf2/dwz.exp: Same.
3430 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3431 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3432 * gdb.dwarf2/imported-unit.exp: Same.
3433 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3434
34352020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3436
3437 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3438 Use double quotes instead of single quotes.
3439
34402020-07-16 Caroline Tice <cmtice@google.com>
3441
3442 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3443 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3444
34452020-07-16 Tom de Vries <tdevries@suse.de>
3446
3447 * lib/dwarf.exp (program): Initialize _line.
3448 (DW_LNE_end_sequence): Reinitialize _line.
3449 (DW_LNS_advance_line): Update _line.
3450 (line): New proc.
3451 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3452 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3453 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3454 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3455 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3456 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3457
34582020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3459
3460 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3461 generic.
3462
34632020-07-15 Tom de Vries <tdevries@suse.de>
3464
3465 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3466 is_amd64_regs_target.
3467
34682020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3469
3470 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3471 * gdb.fortran/ptype-on-functions.f90: Likewise.
3472
34732020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3474
3475 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3476 values in documentation for addr_size to 4 and 8.
3477
34782020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3479
3480 * gdb.arch/amd64-osabi.exp: Update.
3481 * gdb.arch/arm-disassembler-options.exp: Update.
3482 * gdb.arch/powerpc-disassembler-options.exp: Update.
3483 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3484 * gdb.arch/s390-disassembler-options.exp: Update.
3485 * gdb.base/all-architectures.exp.tcl: Update.
3486 * gdb.base/attach-pie-noexec.exp: Update.
3487 * gdb.base/catch-syscall.exp: Update.
3488 * gdb.xml/tdesc-arch.exp: Update.
3489
34902020-07-14 Tom de Vries <tdevries@suse.de>
3491
3492 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3493 (local_gettid): ... this.
3494 (fn): Update.
3495
34962020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3497
3498 * gdb.base/info_sources.exp: Skip directory match tests on
3499 remote hosts.
3500
35012020-07-13 Gary Benson <gbenson@redhat.com>
3502
3503 * gdb.base/savedregs.exp (caller): Use parentheses to
3504 make expected expression evaluation ordering explicit.
3505
35062020-07-13 Gary Benson <gbenson@redhat.com>
3507
3508 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3509
35102020-07-13 Gary Benson <gbenson@redhat.com>
3511
3512 * gdb.base/bigcore.c (main): Use a volatile pointer when
3513 attempting to trigger a SIGSEGV.
3514 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3515 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3516 * gdb.base/savedregs.c (thrower): Likewise.
3517 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3518
35192020-07-13 Gary Benson <gbenson@redhat.com>
3520
3521 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3522 defining and using VLA structure fields into...
3523 * gdb.base/vla-struct-fields.c: New file.
3524 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3525 tests into...
3526 * gdb.base/vla-struct-fields.exp: New file.
3527
35282020-07-13 Tom de Vries <tdevries@suse.de>
3529
3530 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3531 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3532 * gdb.base/gold-gdb-index.exp: Same.
3533 * gdb.base/morestack.exp: Same.
3534
35352020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3536
3537 PR rust/26121
3538 * gdb.rust/modules.rs: Prevent linker from discarding test
3539 symbol.
3540
35412020-07-10 Pedro Alves <pedro@palves.net>
3542
3543 PR gdb/26199
3544 * gdb.multi/multi-target.c (exit_thread): New.
3545 (thread_start): Break loop if EXIT_THREAD.
3546 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3547 (top level) Call test_no_resumed.
3548
35492020-07-08 Tom Tromey <tromey@adacore.com>
3550
3551 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3552 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3553
35542020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3555
3556 PR python/22748
3557 * gdb.opt/inline-frame-tailcall.c: New file.
3558 * gdb.opt/inline-frame-tailcall.exp: New file.
3559 * gdb.python/py-unwind-inline.c: New file.
3560 * gdb.python/py-unwind-inline.exp: New file.
3561 * gdb.python/py-unwind-inline.py: New file.
3562
35632020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3564
3565 * gdb.python/py-arch-reg-groups.exp: New file.
3566
35672020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3568
3569 * gdb.python/py-arch-reg-names.exp: New file.
3570
35712020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3572
3573 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3574 gdb.PendingFrame.architecture method.
3575
35762020-07-06 Tom de Vries <tdevries@suse.de>
3577
3578 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3579
35802020-07-03 Pedro Alves <palves@redhat.com>
3581
3582 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3583 explicitly write negative numbers.
3584 * gdb.base/structs2.exp: Adjust expected output.
3585
35862020-07-03 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.base/charset.c (init_string): Change all char parameters to
3589 unsigned char parameters.
3590
35912020-07-03 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.base/call-sc.exp (start_scalars_test): Use
3594 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3595 * gdb.base/overlays.c: Remove references to PARAMS.
3596 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3597 * gdb.base/reread.exp: Don't set 'prototypes' global.
3598 * gdb.base/structs.exp (start_structs_test): Use
3599 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3600 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3601 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3602 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3603 call.
3604 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3605
36062020-07-03 Pedro Alves <palves@redhat.com>
3607
3608 * gdb.base/m32rovly.c: Delete.
3609 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3610
36112020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3612
3613 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3614 of gdb_py_test_multiple.
3615 * gdb.python/py-cmd.exp: Likewise.
3616 * gdb.python/py-events.exp: Likewise.
3617 * gdb.python/py-function.exp: Likewise.
3618 * gdb.python/py-inferior.exp: Likewise.
3619 * gdb.python/py-infthread.exp: Likewise.
3620 * gdb.python/py-linetable.exp: Likewise.
3621 * gdb.python/py-parameter.exp: Likewise.
3622 * gdb.python/py-value.exp: Likewise.
3623
36242020-06-30 Tom de Vries <tdevries@suse.de>
3625
3626 PR testsuite/26175
3627 * lib/future.exp (gdb_default_target_compile): Detect and handle
3628 early_flags.
3629
36302020-06-29 Simon Marchi <simon.marchi@efficios.com>
3631
3632 * boards/simavr.exp (gdb_load): Catch errors when closing
3633 previous connection. Close connection, wait for process and
3634 unset simavr_spawn_id on failure.
3635
36362020-06-29 Tom de Vries <tdevries@suse.de>
3637
3638 * lib/gdb.exp (unknown): Make test-case unresolved.
3639
36402020-06-29 Tom de Vries <tdevries@suse.de>
3641
3642 PR gdb/25475
3643 * gdb.server/solib-list.exp: Verify that the symbol reload
3644 confirmation question is asked.
3645
36462020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3647
3648 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3649 have a input seq nr in each pass message.
3650 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
3651 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3652 * gdb.python/python.exp: Make test names unique,
3653 use gdb_test_multiline instead of gdb_py_test_multiple,
3654 use $gdb_test_name.
3655 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3656
36572020-06-26 Nick Alcock <nick.alcock@oracle.com>
3658
3659 * configure.ac: Add --enable-libctf.
3660 * aclocal.m4: sinclude ../config/enable.m4.
3661 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3662 * lib/gdb.exp (skip_ctf_tests): Use it.
3663 * gdb.base/ctf-constvars.exp: Error message tweak.
3664 * gdb.base/ctf-ptype.exp: Likewise.
3665 * configure: Regenerate.
3666
36672020-06-26 Gary Benson <gbenson@redhat.com>
3668
3669 * gdb.cp/try_catch.cc: Include string.h.
3670 (main): Replace comparison against string literal with
3671 strcmp, avoiding build failure with -Wstring-compare.
3672 Add "marker test-complete".
3673 * gdb.cp/try_catch.exp: Run the test to the above marker,
3674 then verify that the value of "test" is still true.
3675
36762020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3677
3678 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3679
36802020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3681
3682 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3683
36842020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3685
3686 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3687 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3688 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3689 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3690 * gdb.arch/riscv-tdesc-loading.exp: New file.
3691
36922020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3693
3694 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3695
36962020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3697
3698 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3699 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3700 * gdb.arch/riscv-tdesc-regs.c: New file.
3701 * gdb.arch/riscv-tdesc-regs.exp: New file.
3702
37032020-06-24 Pedro Alves <palves@redhat.com>
3704
3705 * gdb.arch/amd64-entry-value-paramref.exp: Use
3706 prepare_for_testing_full and don't pass "c++" for the .S file
3707 build spec.
3708 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3709 $options, since it's an assembly file. Remove -Wno-deprecated.
3710 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3711 compiling C++ programs.
3712
37132020-06-24 Pedro Alves <palves@redhat.com>
3714
3715 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3716 Clang, add "-Wno-unknown-warning-option" to the options.
3717
37182020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3719
3720 * gdb.xml/tdesc-reload.c: New file.
3721 * gdb.xml/tdesc-reload.exp: New file.
3722 * gdb.xml/maint-xml-dump-01.xml: New file.
3723 * gdb.xml/maint-xml-dump-02.xml: New file.
3724 * gdb.xml/maint-xml-dump.exp: New file.
3725
37262020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3727
3728 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3729 Adjust for omitted commands when TUI is disabled.
3730
37312020-06-23 Gary Benson <gbenson@redhat.com>
3732 Pedro Alves <palves@redhat.com>
3733
3734 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3735 * gdb.cp/nsimport.cc: Likewise.
3736 * gdb.cp/nsnested.cc: Likewise.
3737 * gdb.cp/nsnoimports.cc: Likewise.
3738 * gdb.cp/nsusing.cc: Likewise.
3739 * gdb.cp/smartp.cc: Likewise.
3740 * gdb.python/py-pp-integral.c: Likewise.
3741 * gdb.python/py-pp-re-notag.c: Likewise.
3742
37432020-06-23 Gary Benson <gbenson@redhat.com>
3744
3745 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3746 * gdb.cp/nsimport.cc: Likewise.
3747 * gdb.cp/nsnested.cc: Likewise.
3748 * gdb.cp/nsnoimports.cc: Likewise.
3749 * gdb.cp/nsusing.cc: Likewise.
3750 * gdb.cp/smartp.cc: Likewise.
3751 * gdb.python/py-pp-integral.c: Likewise.
3752 * gdb.python/py-pp-re-notag.c: Likewise.
3753
37542020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3755
3756 * gdb.base/default-args.exp: New test.
3757 * gdb.base/default-args.c: New file.
3758 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3759 * gdb.base/default.exp: Update to new help text.
3760 * gdb.base/help.exp: Likewise.
3761 * gdb.base/page.exp: Likewise.
3762 * gdb.base/style.exp: Likewise.
3763 * gdb.guile/guile.exp: Likewise.
3764 * gdb.python/python.exp: Likewise.
3765
37662020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3767
3768 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3769 remote host. Fix search path syntax on Windows host.
3770
37712020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3772
3773 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3774 over 'exec-file-mismatch'.
3775 * gdb.base/attach.c: Mark should_exit volatile.
3776 * gdb.base/attach2.c: Likewise. Add a comment explaining
3777 why the sleep cannot be big.
3778 * gdb.base/attach3.c: New file.
3779
37802020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3781
3782 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3783 prefix optional.
3784
37852020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3786
3787 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3788 for remote host.
3789
37902020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3791 Hafiz Abid Qadeer <abidh@codesourcery.com>
3792
3793 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3794 file sent to remote host.
3795 (top level): Allow int32_t as type of 32-bit register.
3796
37972020-06-19 Tom de Vries <tdevries@suse.de>
3798
3799 * lib/gdb.exp (gdb_note): New proc.
3800 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3801 (gdb_default_target_compile): ... here. Only call
3802 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3803 (use_gdb_compile): Change to array.
3804 (toplevel): Update sets of use_gdb_compile to specify language.
3805 Warn about default_target_compile override. Store dejagnu's version
3806 of default_target_compile in dejagnu_default_target_compile.
3807
38082020-06-18 Tom de Vries <tdevries@suse.de>
3809
3810 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3811 (default_gdb_init): ... here.
3812
38132020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3814
3815 Fix TUI support checks in gdb.tui tests.
3816
3817 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3818 just say UNSUPPORTED.
3819 * gdb.tui/corefile-run.exp: Likewise.
3820 * gdb.tui/empty.exp: Likewise.
3821 * gdb.tui/list-before.exp: Likewise.
3822 * gdb.tui/list.exp: Likewise.
3823 * gdb.tui/main.exp: Likewise.
3824 * gdb.tui/regs.exp: Likewise.
3825 * gdb.tui/resize.exp: Likewise.
3826 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3827 * gdb.tui/tui-layout-asm.exp: Likewise.
3828 * gdb.tui/tui-missing-src.exp: Likewise.
3829 * gdb.tui/winheight.exp: Likewise.
3830 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3831
38322020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3833
3834 Fix TCL error in gdb.python/py-format-string.exp.
3835
3836 * gdb.python/py-format-string.exp: Move test for python support
3837 earlier, out of function body.
3838
38392020-06-15 Simon Marchi <simon.marchi@efficios.com>
3840
3841 * gdb.base/index-cache-load-twice.c: New.
3842 * gdb.base/index-cache-load-twice.exp: New.
3843
38442020-06-17 Keith Seitz <keiths@redhat.com>
3845
3846 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
3847 when executing "gdb --configuration".
3848
38492020-06-17 Tom de Vries <tdevries@suse.de>
3850
3851 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3852 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3853 conditional on presence of gdb_tcl_unknown.
3854 (gdb_finish): Make override undo conditional on presence of
3855 gdb_tcl_unknown.
3856
38572020-06-16 Tom Tromey <tom@tromey.com>
3858
3859 * gdb.python/tui-window.py (failwin): New function. Register it
3860 as a TUI window type.
3861 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3862
38632020-06-16 Gary Benson <gbenson@redhat.com>
3864
3865 * gdb.python/py-nested-maps.c (create_map): Add missing return
3866 value.
3867 (create_map_map): Likewise.
3868
38692020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3870
3871 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3872 variable.
3873 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3874 and use the already-defined 'options' variable.
3875
38762020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3877 Tom de Vries <tdevries@suse.de>
3878
3879 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3880 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3881 (gdb_setup_known_globals): New proc.
3882 (gdb_cleanup_globals): New proc.
3883 * lib/gdb.exp (load_lib): New override proc.
3884 (gdb_stdin_log_init): Set var in_file as persistent global.
3885 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3886 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3887 fpc_compiler as persistent global.
3888
38892020-06-12 Tom de Vries <tdevries@suse.de>
3890
3891 * lib/tuiterm.exp (spawn): Rename to ...
3892 (tui_spawn): ... this.
3893 (toplevel): Move rename of spawn ...
3894 (gdb_init_tuiterm): ... here. New proc.
3895 (gdb_finish_tuiterm): New proc.
3896 * lib/gdb.exp (gdb_finish_hooks): New global var.
3897 (gdb_finish): Handle gdb_finish_hooks.
3898 (tuiterm_env): New proc.
3899 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3900 tuiterm_env.
3901 * gdb.tui/basic.exp: Same.
3902 * gdb.tui/corefile-run.exp: Same.
3903 * gdb.tui/empty.exp: Same.
3904 * gdb.tui/list-before.exp: Same.
3905 * gdb.tui/list.exp: Same.
3906 * gdb.tui/main.exp: Same.
3907 * gdb.tui/new-layout.exp: Same.
3908 * gdb.tui/regs.exp: Same.
3909 * gdb.tui/resize.exp: Same.
3910 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3911 * gdb.tui/tui-layout-asm.exp: Same.
3912 * gdb.tui/tui-missing-src.exp: Same.
3913 * gdb.tui/winheight.exp: Same.
3914
39152020-06-12 Tom de Vries <tdevries@suse.de>
3916
3917 PR testsuite/26110
3918 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3919 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3920
39212020-06-11 Tom Tromey <tom@tromey.com>
3922
3923 PR gdb/18318:
3924 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3925 floating point tests.
3926
39272020-06-11 Keith Seitz <keiths@redhat.com>
3928
3929 PR gdb/21356
3930 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3931 vla_struct.
3932 Add new struct vla_typedef and union vla_typedef_union and
3933 corresponding instantiation objects.
3934 Initialize new objects.
3935 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3936 and vla_typedef_union_object.
3937 Fixup type for vla_struct_object.
3938
39392020-06-11 Tom de Vries <tdevries@suse.de>
3940
3941 * lib/gdb.exp (with_override): New proc, factored out of ...
3942 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3943
39442020-06-10 Tom de Vries <tdevries@suse.de>
3945
3946 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3947
39482020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3949
3950 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3951 parameter, update callers.
3952
39532020-06-04 Simon Marchi <simon.marchi@efficios.com>
3954
3955 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3956 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3957 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3958
39592020-06-04 Tom de Vries <tdevries@suse.de>
3960
3961 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3962
39632020-06-04 Tom de Vries <tdevries@suse.de>
3964
3965 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3966 exp_continue.
3967
39682020-06-04 Tom de Vries <tdevries@suse.de>
3969
3970 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3971
39722020-06-03 Tom de Vries <tdevries@suse.de>
3973
3974 PR symtab/26046
3975 * gdb.cp/breakpoint-locs-2.cc: New test.
3976 * gdb.cp/breakpoint-locs.cc: New test.
3977 * gdb.cp/breakpoint-locs.exp: New file.
3978 * gdb.cp/breakpoint-locs.h: New test.
3979
39802020-06-03 Tom de Vries <tdevries@suse.de>
3981
3982 PR testsuite/25609
3983 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3984 value of global verbose.
3985 * gdb.base/jit-elf.exp: Same.
3986 * gdb.base/jit-reader.exp: Same.
3987
39882020-06-02 Tom de Vries <tdevries@suse.de>
3989
3990 * gdb.dwarf2/multidictionary.exp: Don't use
3991 gdb_spawn_with_cmdline_opts.
3992
39932020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3994
3995 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3996 use_header case.
3997 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3998 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3999 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4000 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4001 * gdb.dwarf2/dw2-inline-header.c: New file.
4002 * gdb.dwarf2/dw2-inline-header.h: New file.
4003
40042020-05-30 Pedro Alves <palves@redhat.com>
4005
4006 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4007 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4008
40092020-05-29 Gary Benson <gbenson@redhat.com>
4010
4011 * gdb.compile/compile-cplus.exp (additional_flags): Also
4012 set when building with clang.
4013 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4014 when building with clang.
4015
40162020-05-29 Gary Benson <gbenson@redhat.com>
4017
4018 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4019 building with clang.
4020 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4021
40222020-05-29 Gary Benson <gbenson@redhat.com>
4023
4024 * gdb.cp/koenig.exp (prepare_for_testing): Add
4025 additional_flags=-Wno-unused-comparison.
4026 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4027
40282020-05-28 Gary Benson <gbenson@redhat.com>
4029
4030 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4031 statement.
4032
40332020-05-28 Gary Benson <gbenson@redhat.com>
4034
4035 * gdb.cp/classes.exp (prepare_for_testing): Add
4036 additional_flags=-Wno-deprecated-register.
4037 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4038 * gdb.cp/misc.exp: Likewise.
4039
40402020-05-28 Gary Benson <gbenson@redhat.com>
4041
4042 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4043 (test_op_new::operator new): Add return statement.
4044 (test_op_new_array::operator new[]): Likewise.
4045
40462020-05-27 Pedro Alves <palves@redhat.com>
4047
4048 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4049 check. Use test_gdb_complete_unique instead of
4050 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4051 test_gdb_complete_multiple instead of
4052 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4053
40542020-05-27 Luis Machado <luis.machado@linaro.org>
4055
4056 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4057 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4058 * gdb.arch/arm-disassembler-options.exp: Likewise.
4059 * gdb.arch/arm-disp-step.exp: Likewise.
4060 * gdb.arch/thumb-prologue.exp: Likewise.
4061 * gdb.base/async.exp: Likewise.
4062 * gdb.base/auxv.exp: Likewise.
4063 * gdb.base/complex-parts.exp: Likewise.
4064 * gdb.base/ena-dis-br.exp: Likewise.
4065 * gdb.base/foll-exec.exp: Likewise.
4066 * gdb.base/permissions.exp: Likewise.
4067 * gdb.base/relocate.exp: Likewise.
4068 * gdb.base/return2.exp: Likewise.
4069 * gdb.base/sigbpt.exp: Likewise.
4070 * gdb.base/siginfo-obj.exp: Likewise.
4071 * gdb.cp/converts.exp: Likewise.
4072 * gdb.cp/exceptprint.exp: Likewise.
4073 * gdb.cp/inherit.exp: Likewise.
4074 * gdb.cp/nsnoimports.exp: Likewise.
4075 * gdb.cp/virtbase2.exp: Likewise.
4076 * gdb.mi/mi-var-cmd.exp: Likewise.
4077 * gdb.mi/var-cmd.c: Likewise.
4078
40792020-05-26 Tom Tromey <tromey@adacore.com>
4080
4081 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4082
40832020-05-26 Tom Tromey <tromey@adacore.com>
4084
4085 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4086 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4087 type.
4088 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4089 variable.
4090
40912020-05-26 Christian Biesinger <cbiesinger@google.com>
4092
4093 * Makefile.in: Use = instead of == for the test command
4094 for portability.
4095
40962020-05-26 Tom de Vries <tdevries@suse.de>
4097
4098 * gdb.base/gold-gdb-index-2.c: New test.
4099 * gdb.base/gold-gdb-index.c: New test.
4100 * gdb.base/gold-gdb-index.exp: New file.
4101 * gdb.base/gold-gdb-index.h: New test.
4102
41032020-05-25 Tom de Vries <tdevries@suse.de>
4104
4105 * boards/gold-gdb-index.exp: New file.
4106
41072020-05-25 Simon Marchi <simon.marchi@efficios.com>
4108
4109 * boards/simavr.exp: New file.
4110
41112020-05-25 Simon Marchi <simon.marchi@efficios.com>
4112
4113 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4114 * gdb.base/inferior-args.exp: New file.
4115 * gdb.base/inferior-args.c: New file.
4116
41172020-05-25 Simon Marchi <simon.marchi@efficios.com>
4118
4119 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4120 inferior_args. Pass it to gdb_reload.
4121 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4122 inferior_args.
4123 (gdb_reload): Add inferior_args argument.
4124 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4125 pass it to gdbserver_run.
4126 * boards/native-gdbserver.exp: Do not set noargs.
4127 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4128 inferior_args argument.
4129 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4130 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4131 * gdb.base/args.exp: Likewise.
4132
41332020-05-25 Tom de Vries <tdevries@suse.de>
4134
4135 * lib/gdb.exp (exec_is_pie): Add comment.
4136
41372020-05-25 Tom de Vries <tdevries@suse.de>
4138
4139 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4140 instead of $binfile in the untested message.
4141
41422020-05-25 Tom de Vries <tdevries@suse.de>
4143
4144 PR testsuite/26031
4145 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4146
41472020-05-25 Tom de Vries <tdevries@suse.de>
4148
4149 * boards/gold.exp: New file.
4150
41512020-05-23 Tom Tromey <tom@tromey.com>
4152
4153 * gdb.base/style.exp: Remove completion styling test.
4154 * lib/gdb-utils.exp (style): Remove completion styles.
4155
41562020-05-23 Tom Tromey <tom@tromey.com>
4157
4158 * gdb.base/style.exp: Add completion styling test.
4159 * lib/gdb-utils.exp (style): Add completion styles.
4160
41612020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4162
4163 * gdb.base/annota1.exp: Update expected results.
4164 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4165 test name.
4166 * gdb.cp/annota3.exp: Update expected results.
4167
41682020-05-20 Simon Marchi <simon.marchi@efficios.com>
4169
4170 PR gdb/26016
4171 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4172 against MAP_FAILED.
4173 * gdb.base/coremaker.c (mmapdata): Likewise.
4174 * gdb.base/jit-reader-host.c (main): Likewise.
4175 * gdb.base/sym-file-loader.c (load): Likewise.
4176 (load_shlib): Likewise.
4177
41782020-05-20 Tom Tromey <tromey@adacore.com>
4179
4180 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4181
41822020-05-20 Tom de Vries <tdevries@suse.de>
4183
4184 PR symtab/25833
4185 * gdb.base/with-mf-inc.c: New test.
4186 * gdb.base/with-mf-main.c: New test.
4187 * gdb.base/with-mf.exp: New file.
4188
41892020-05-19 Tom Tromey <tromey@adacore.com>
4190
4191 * gdb.rust/simple.exp: Restore missing test result.
4192
41932020-05-19 Tom de Vries <tdevries@suse.de>
4194
4195 * gdb.base/gdb-caching-proc.exp: Fix typo.
4196
41972020-05-19 Tom Tromey <tromey@adacore.com>
4198
4199 * gdb.rust/simple.exp: Add some test descriptions.
4200 (test_one_slice): Use with_test_prefix.
4201
42022020-05-18 Tom de Vries <tdevries@suse.de>
4203
4204 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4205
42062020-05-17 Pedro Alves <palves@redhat.com>
4207
4208 PR gdb/25741
4209 * gdb.base/hw-sw-break-same-address.exp: New file.
4210
42112020-05-16 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4214 LAST_LOADED_FILE accordingly.
4215
42162020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4217
4218 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4219
42202020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4221
4222 * gdb.base/help.exp: Test apropos and help for commands
4223 having aliases. Fixed comments not starting with an
4224 upper-case letter or not finishing with a dot.
4225
42262020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4227
4228 * gdb.base/alias.exp: Update help output check.
4229
42302020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4231
4232 * gdb.base/default.exp: Update output following fixes.
4233
42342020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4235
4236 * gdb.base/alias.exp: Test aliases starting with a prefix of
4237 another alias.
4238
42392020-05-15 Gary Benson <gbenson@redhat.com>
4240
4241 * gdb.base/info-os.c (main): Add return statement.
4242 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4243 * gdb.base/large-frame-2.c (func): Likewise.
4244 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4245 * gdb.base/pr10179-b.c (foo2): Likewise.
4246 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4247 * gdb.base/watch-cond.c (func): Likewise.
4248 * gdb.multi/goodbye.c (verylongfun): Likewise.
4249 * gdb.multi/hello.c (commonfun): Likewise.
4250 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4251 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4252 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4253 Likewise.
4254 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4255 * gdb.threads/interrupt-while-step-over.c (child_function):
4256 Likewise.
4257 * gdb.trace/actions-changed.c (end): Likewise.
4258
42592020-05-15 Gary Benson <gbenson@redhat.com>
4260
4261 * gdb.opencl/callfuncs.exp: Report when test skipped.
4262 * gdb.opencl/convs_casts.exp: Likewise.
4263 * gdb.opencl/datatypes.exp: Likewise.
4264 * gdb.opencl/operators.exp: Likewise.
4265 * gdb.opencl/vec_comps.exp: Likewise.
4266
42672020-05-15 Tom de Vries <tdevries@suse.de>
4268
4269 * gdb.base/align.exp.in: Rename to ...
4270 * gdb.base/align.exp.tcl: ... this.
4271 * gdb.base/align-c++.exp: Update.
4272 * gdb.base/align-c.exp: Update.
4273 * gdb.base/all-architectures.exp.in: Rename to ...
4274 * gdb.base/all-architectures.exp: ... this.
4275 * gdb.base/all-architectures-0.exp: Update.
4276 * gdb.base/all-architectures-1.exp: Update.
4277 * gdb.base/all-architectures-2.exp: Update.
4278 * gdb.base/all-architectures-3.exp: Update.
4279 * gdb.base/all-architectures-4.exp: Update.
4280 * gdb.base/all-architectures-5.exp: Update.
4281 * gdb.base/all-architectures-6.exp: Update.
4282 * gdb.base/all-architectures-7.exp: Update.
4283 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4284 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4285 * gdb.base/infcall-nested-structs-c++.exp: Update.
4286 * gdb.base/infcall-nested-structs-c.exp: Update.
4287 * gdb.base/info-types.exp.in: Rename to ...
4288 * gdb.base/info-types.exp.tcl: ... this.
4289 * gdb.base/info-types-c++.exp: Update.
4290 * gdb.base/info-types-c.exp: Update.
4291 * gdb.base/max-depth.exp.in: Rename to ...
4292 * gdb.base/max-depth.exp.tcl: ... this.
4293 * gdb.base/max-depth-c++.exp: Update.
4294 * gdb.base/max-depth-c.exp: Update.
4295 * gdb.cp/cpexprs.exp.in: Rename to ...
4296 * gdb.cp/cpexprs.exp.tcl: ... this.
4297 * gdb.cp/cpexprs-debug-types.exp: Update.
4298 * gdb.cp/cpexprs.exp: Update.
4299 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4300 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4301 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4302 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4303 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4304 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4305 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4306 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4307 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4308 * gdb.dwarf2/clang-debug-names.exp: Update.
4309
43102020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4311
4312 * lib/check-test-names.exp: Remove code that prevents this file
4313 loading when tests are run in parallel.
4314
43152020-05-15 Pedro Alves <palves@redhat.com>
4316
4317 * gdb.multi/multi-kill.exp (start_inferior): Remove
4318 'testpid' parameter. Refer to namespace variable directly.
4319 (testpid): Declare as namespace variable.
4320
43212020-05-15 Pedro Alves <palves@redhat.com>
4322
4323 * gdb.multi/multi-kill.exp: Wrap in namespace.
4324 (start_inferior): Add TESTPID parameter. Use it instead of the
4325 testpid global.
4326 (top level): Define empty TESTPID array, and pass it down to
4327 start_inferior.
4328
43292020-05-14 Tom de Vries <tdevries@suse.de>
4330
4331 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4332 output.
4333
43342020-05-14 Tom de Vries <tdevries@suse.de>
4335
4336 * gdb.base/align.exp: Split into ...
4337 * gdb.base/align.exp.in: ...
4338 * gdb.base/align-c++.exp: ...
4339 * gdb.base/align-c.exp: ... these.
4340 * gdb.base/infcall-nested-structs.exp: Split into ...
4341 * gdb.base/infcall-nested-structs.exp.in: ...
4342 * gdb.base/infcall-nested-structs-c++.exp: ...
4343 * gdb.base/infcall-nested-structs-c.exp: ... these.
4344 * gdb.base/info-types.exp: Split into ...
4345 * gdb.base/info-types.exp.in: ...
4346 * gdb.base/info-types-c++.exp: ...
4347 * gdb.base/info-types-c.exp: ... these.
4348 * gdb.base/max-depth.exp: Split into ...
4349 * gdb.base/max-depth.exp.in: ...
4350 * gdb.base/max-depth-c++.exp: ...
4351 * gdb.base/max-depth-c.exp: ... these.
4352 * gdb.cp/infcall-nodebug.exp: Split into ...
4353 * gdb.cp/infcall-nodebug.exp.in: ...
4354 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4355 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4356 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4357 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4358
43592020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4360 Pedro Alves <palves@redhat.com>
4361
4362 * gdb.multi/multi-exit.c: New file.
4363 * gdb.multi/multi-exit.exp: New file.
4364 * gdb.multi/multi-kill.c: New file.
4365 * gdb.multi/multi-kill.exp: New file.
4366
43672020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4368
4369 * gdb.base/annota1.exp: Update the expected output.
4370 * gdb.cp/annota2.exp: Ditto.
4371
43722020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4373
4374 * lib/check-test-names.exp: Disable when testing is being run in
4375 parallel.
4376
43772020-05-12 Tom de Vries <tdevries@suse.de>
4378
4379 * gdb.base/jit-elf.exp: Fix string concat.
4380
43812020-05-12 Tom de Vries <tdevries@suse.de>
4382
4383 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4384 messages.
4385
43862020-05-12 Tom de Vries <tdevries@suse.de>
4387
4388 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4389
43902020-05-12 Tom de Vries <tdevries@suse.de>
4391
4392 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4393 * gdb.ada/mi_catch_ex.exp: Same.
4394 * gdb.ada/mi_catch_ex_hand.exp: Same.
4395
43962020-05-12 Tom de Vries <tdevries@suse.de>
4397
4398 * gdb.fortran/complex.exp: Use with_test_prefix.
4399
44002020-05-12 Tom de Vries <tdevries@suse.de>
4401
4402 * gdb.trace/passcount.exp: Fix test-names.
4403
44042020-05-12 Tom de Vries <tdevries@suse.de>
4405
4406 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4407
44082020-05-12 Tom de Vries <tdevries@suse.de>
4409
4410 * gdb.gdb/complaints.exp: Use with_test_prefix.
4411 * gdb.xml/tdesc-regs.exp: Same.
4412 * gdb.opt/inline-locals.exp: Fix test name.
4413
44142020-05-12 Tom de Vries <tdevries@suse.de>
4415
4416 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4417 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4418 * gdb.dwarf2/implref-struct.exp: Same.
4419 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4420 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4421
44222020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4423
4424 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4425
44262020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4427
4428 * lib/check-test-names.exp (all_test_names): New module variable.
4429 (counts): Add 'duplicates' field.
4430 (_check_duplicates): New procedure.
4431 (check): Also check for duplicates.
4432 (do_log_summary): Print duplicates count.
4433 (do_reset_vars): Reset counter for duplicate test names, and
4434 discard all know test names.
4435
44362020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4437
4438 * lib/gdb.exp: Include check-test-names.exp library.
4439 * lib/check-test-names.exp: New file.
4440
44412020-05-11 Tom de Vries <tdevries@suse.de>
4442
4443 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4444
44452020-05-11 Keith Seitz <keiths@redhat.com>
4446
4447 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4448
44492020-05-11 Tom de Vries <tdevries@suse.de>
4450
4451 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4452 * gdb.cp/cpexprs.exp.in: .. here.
4453 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4454 cpexprs.exp.
4455
44562020-05-11 Keith Seitz <keiths@redhat.com>
4457
4458 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4459 test names.
4460 * gdb.ada/arrayptr.exp: Likewise.
4461 * gdb.ada/assign_arr.exp: Likewise.
4462 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4463 * gdb.ada/bp_on_var.exp: Likewise.
4464 * gdb.ada/call_pn.exp: Likewise.
4465 * gdb.ada/complete.exp: Likewise.
4466 * gdb.ada/fun_overload_menu.exp: Likewise.
4467 * gdb.ada/funcall_param.exp: Likewise.
4468 * gdb.ada/funcall_ref.exp: Likewise.
4469 * gdb.ada/packed_array_assign.exp: Likewise.
4470 * gdb.ada/same_component_name.exp: Likewise.
4471 * gdb.ada/type_coercion.exp: Likewise.
4472 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4473 * gdb.ada/variant_record_packed_array.exp: Likewise.
4474
44752020-05-11 Tom de Vries <tdevries@suse.de>
4476
4477 PR symtab/25941
4478 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4479 out of ...
4480 * gdb.dwarf2/clang-debug-names.exp: ... here.
4481 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4482 clang-debug-names.exp.in.
4483 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4484 * gdb.dwarf2/clang-debug-names-2.c: New test.
4485
44862020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4487
4488 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4489 (fortran_runto_main): New Proc, fortran version of runto_main.
4490 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4491 * gdb.fortran/array-bounds.exp: Likewise.
4492 * gdb.fortran/array-slices.exp: Likewise.
4493 * gdb.fortran/block-data.exp: Likewise.
4494 * gdb.fortran/charset.exp: Likewise.
4495 * gdb.fortran/common-block.exp: Likewise.
4496 * gdb.fortran/complex.exp: Likewise.
4497 * gdb.fortran/derived-type-function.exp: Likewise.
4498 * gdb.fortran/derived-type.exp: Likewise.
4499 * gdb.fortran/info-modules.exp: Likewise.
4500 * gdb.fortran/info-types.exp: Likewise.
4501 * gdb.fortran/intrinsics.exp: Likewise.
4502 * gdb.fortran/library-module.exp: Likewise.
4503 * gdb.fortran/logical.exp: Likewise.
4504 * gdb.fortran/max-depth.exp: Likewise.
4505 * gdb.fortran/module.exp: Likewise.
4506 * gdb.fortran/multi-dim.exp: Likewise.
4507 * gdb.fortran/nested-funcs.exp: Likewise.
4508 * gdb.fortran/print-formatted.exp: Likewise.
4509 * gdb.fortran/print_type.exp: Likewise.
4510 * gdb.fortran/printing-types.exp: Likewise.
4511 * gdb.fortran/ptr-indentation.exp: Likewise.
4512 * gdb.fortran/ptype-on-functions.exp: Likewise.
4513 * gdb.fortran/subarray.exp: Likewise.
4514 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4515 * gdb.fortran/vla-datatypes.exp: Likewise.
4516 * gdb.fortran/vla-history.exp: Likewise.
4517 * gdb.fortran/vla-ptr-info.exp: Likewise.
4518 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4519 * gdb.fortran/vla-ptype.exp: Likewise.
4520 * gdb.fortran/vla-sizeof.exp: Likewise.
4521 * gdb.fortran/vla-type.exp: Likewise.
4522 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4523 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4524 * gdb.fortran/vla-value-sub.exp: Likewise.
4525 * gdb.fortran/vla-value.exp: Likewise.
4526 * gdb.fortran/whatis_type.exp: Likewise.
4527 * gdb.mi/mi-var-child-f.exp: Likewise.
4528
45292020-05-09 Tom de Vries <tdevries@suse.de>
4530
4531 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4532
45332020-05-08 Tom de Vries <tdevries@suse.de>
4534
4535 * gdb.dwarf2/clang-debug-names.c: New test.
4536 * gdb.dwarf2/clang-debug-names.exp: New file.
4537
45382020-05-06 Simon Marchi <simon.marchi@efficios.com>
4539
4540 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4541 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4542
45432020-05-06 Tom de Vries <tdevries@suse.de>
4544
4545 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4546 breakpoint is at a "recommended breakpoint location".
4547 * gdb.reverse/consecutive-reverse.exp: Same.
4548
45492020-05-06 Tom de Vries <tdevries@suse.de>
4550
4551 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4552 address.
4553
45542020-05-06 Tom de Vries <tdevries@suse.de>
4555
4556 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4557
45582020-05-06 Tom de Vries <tdevries@suse.de>
4559
4560 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4561 info for r.
4562
45632020-05-06 Tom de Vries <tdevries@suse.de>
4564
4565 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4566 necessary.
4567
45682020-05-06 Tom de Vries <tdevries@suse.de>
4569
4570 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4571 void.
4572
45732020-05-06 Tom de Vries <tdevries@suse.de>
4574
4575 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4576 of ...
4577 * gdb.base/async.exp: ... here.
4578 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4579 "recommended breakpoint location".
4580
45812020-05-06 Tom de Vries <tdevries@suse.de>
4582
4583 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4584
45852020-05-04 Tom de Vries <tdevries@suse.de>
4586
4587 * gdb.base/async.exp: Check whether instruction addresses are a
4588 "recommended breakpoint location".
4589
45902020-05-03 Tom Tromey <tom@tromey.com>
4591
4592 * gdb.base/sepdebug.exp: Remove "catch" test.
4593 * gdb.base/break.exp: Remove "catch" test.
4594 * gdb.base/default.exp: Update expected output.
4595
45962020-05-02 Tom de Vries <tdevries@suse.de>
4597
4598 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4599 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4600 * gdb.arch/i386-mpx-map.exp: Same.
4601 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4602 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4603 * gdb.arch/i386-mpx.exp: Same.
4604
46052020-05-02 Tom de Vries <tdevries@suse.de>
4606
4607 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4608
46092020-05-01 Tom de Vries <tdevries@suse.de>
4610
4611 * gdb.ada/operator_bp.exp: Allow more than required amount of
4612 breakpoint.
4613
46142020-05-01 Tom de Vries <tdevries@suse.de>
4615
4616 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4617
46182020-04-30 Hannes Domani <ssbssa@yahoo.de>
4619
4620 PR gdb/18706
4621 * gdb.cp/stub-array-size.cc: New test.
4622 * gdb.cp/stub-array-size.exp: New file.
4623 * gdb.cp/stub-array-size.h: New test.
4624 * gdb.cp/stub-array-size2.cc: New test.
4625
46262020-04-30 Hannes Domani <ssbssa@yahoo.de>
4627
4628 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4629 output to the new format.
4630
46312020-04-29 Simon Marchi <simon.marchi@efficios.com>
4632
4633 * gdb.base/break.exp: Use with_test_prefix.
4634
46352020-04-29 Tom de Vries <tdevries@suse.de>
4636
4637 * lib/gdb.exp (debug_types): New proc.
4638 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4639 * gdb.python/py-symtab.exp: Same.
4640
46412020-04-29 Hannes Domani <ssbssa@yahoo.de>
4642
4643 PR gdb/17320
4644 * gdb.base/pretty-array.c: New test.
4645 * gdb.base/pretty-array.exp: New file.
4646
46472020-04-29 Tom de Vries <tdevries@suse.de>
4648
4649 PR symtab/25889
4650 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4651 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4652 and include cpexprs.exp.
4653
46542020-04-28 Mark Williams <mark@myosotissp.com>
4655
4656 PR gdb/24480
4657 * dw4-toplevel-types.exp: Test for top level types.
4658 * dw4-toplevel-types.cc: Test for top level types.
4659
46602020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4661
4662 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4663 (theads -> threads).
4664
46652020-04-28 Tom de Vries <tdevries@suse.de>
4666
4667 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4668
46692020-04-28 Tom de Vries <tdevries@suse.de>
4670
4671 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4672
46732020-04-28 Tom de Vries <tdevries@suse.de>
4674
4675 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4676
46772020-04-28 Tom de Vries <tdevries@suse.de>
4678
4679 * gdb.dwarf2/main-foo.c: New test.
4680 * gdb.dwarf2/struct-with-sig.exp: New file.
4681
46822020-04-25 Tom de Vries <tdevries@suse.de>
4683
4684 * boards/debug-types.exp: New file.
4685
46862020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4687
4688 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4689
46902020-04-24 Tom Tromey <tom@tromey.com>
4691
4692 PR symtab/12707:
4693 * gdb.python/py-symbol.exp: Update expected results for
4694 linkage_name test.
4695 * gdb.cp/print-demangle.exp: New file.
4696 * gdb.base/c-linkage-name.exp: Fix test.
4697 * gdb.guile/scm-symbol.exp: Update expected results for
4698 linkage_name test.
4699
47002020-04-24 Tom Tromey <tom@tromey.com>
4701
4702 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4703 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4704 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4705 assembler.
4706
47072020-04-24 Tom de Vries <tdevries@suse.de>
4708
4709 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4710 C++.
4711
47122020-04-24 Tom Tromey <tromey@adacore.com>
4713
4714 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4715 values.
4716 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4717 values. Update test for minimal encodings.
4718 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4719 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4720 values. Update test for minimal encodings.
4721
47222020-04-24 Tom Tromey <tromey@adacore.com>
4723
4724 PR python/23662:
4725 * gdb.ada/variant.exp: Add Python checks.
4726 * gdb.rust/simple.exp: Add dynamic type checks.
4727
47282020-04-24 Tom Tromey <tromey@adacore.com>
4729
4730 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4731 Make array type matching more lax.
4732 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4733 * gdb.ada/mi_variant.exp: New file.
4734 * gdb.ada/mi_variant/pck.ads: New file.
4735 * gdb.ada/mi_variant/pkg.adb: New file.
4736 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4737 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4738
47392020-04-24 Tom Tromey <tromey@adacore.com>
4740
4741 * gdb.ada/variant.exp: Add dynamic field offset tests.
4742 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4743 * gdb.ada/variant/pkg.adb: Add new variables.
4744
47452020-04-24 Tom Tromey <tromey@adacore.com>
4746
4747 * gdb.ada/variant.exp: New file
4748 * gdb.ada/variant/pkg.adb: New file
4749 * gdb.ada/variant/pck.adb: New file
4750
47512020-04-24 Tom de Vries <tdevries@suse.de>
4752
4753 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4754
47552020-04-24 Tom de Vries <tdevries@suse.de>
4756
4757 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4758 flags.
4759
47602020-04-24 Tom de Vries <tdevries@suse.de>
4761
4762 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4763
47642020-04-24 Tom de Vries <tdevries@suse.de>
4765
4766 * lib/gdb.exp (default_gdb_start): Handle eof.
4767 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4768 failure.
4769 * gdb.base/readnever.exp: Handle clean_restart failure.
4770
47712020-04-23 Tom de Vries <tdevries@suse.de>
4772
4773 * gdb.base/decl-before-def.exp: Run to main and print a again.
4774
47752020-04-23 Tom de Vries <tdevries@suse.de>
4776
4777 * gdb.base/decl-before-def-decl.c: New test.
4778 * gdb.base/decl-before-def-def.c: New test.
4779 * gdb.base/decl-before-def.exp: New file.
4780
47812020-04-23 Tom de Vries <tdevries@suse.de>
4782
4783 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4784
47852020-04-22 Tom de Vries <tdevries@suse.de>
4786
4787 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4788 debug_info_offset.
4789 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4790 before $objsfile in the line line.
4791
47922020-04-22 Tom de Vries <tdevries@suse.de>
4793
4794 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4795
47962020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4797
4798 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4799 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4800 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4801 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4802 * gdb.base/jit-protocol.h: Update definitions to match all usage
4803 contexts.
4804
48052020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4806
4807 * gdb.base: Rename all jit related test and source files.
4808
48092020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4810
4811 * gdb.base/jit-reader.exp: Relax register output check.
4812
48132020-04-22 Tom de Vries <tdevries@suse.de>
4814
4815 PR symtab/25764
4816 * gdb.base/psym-external-decl-2.c: New test.
4817 * gdb.base/psym-external-decl.c: New test.
4818 * gdb.base/psym-external-decl.exp: New file.
4819 * gdb.threads/tls.exp: Add PR25807 kfail.
4820
48212020-04-22 Tom de Vries <tdevries@suse.de>
4822
4823 PR symtab/25801
4824 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4825 in "info source" output.
4826
48272020-04-22 Tom de Vries <tdevries@suse.de>
4828
4829 PR symtab/25700
4830 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4831 symtab for imported_unit.c.
4832
48332020-04-21 Gary Benson <gbenson@redhat.com>
4834
4835 * gdb.base/advance.c (func): New argument, to match call site.
4836 (func2, func3): Add return statements.
4837
48382020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4839
4840 * gdb.multi/run-only-second-inf.c: New file.
4841 * gdb.multi/run-only-second-inf.exp: New file.
4842
48432020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4844
4845 * gdb.btrace/multi-inferior.c: New test.
4846 * gdb.btrace/multi-inferior.exp: New file.
4847
48482020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4849
4850 * gdb.btrace/enable-new-thread.c: New test.
4851 * gdb.btrace/enable-new-thread.exp: New file.
4852
48532020-04-21 Tom de Vries <tdevries@suse.de>
4854
4855 PR gdb/25471
4856 * gdb.threads/killed-outside.c: New test.
4857 * gdb.threads/killed-outside.exp: New file.
4858
48592020-04-20 Gary Benson <gbenson@redhat.com>
4860
4861 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4862 * gdb.base/nested-subp2.exp: Likewise.
4863 * gdb.base/nested-subp3.exp: Likewise.
4864
48652020-04-20 Gary Benson <gbenson@redhat.com>
4866
4867 * gdb.base/nested-subp1.exp: Disable test when using clang.
4868 * gdb.base/nested-subp2.exp: Likewise.
4869 * gdb.base/nested-subp3.exp: Likewise.
4870
48712020-04-20 Gary Benson <gbenson@redhat.com>
4872
4873 * gdb.cp/exception.cc: Fix compilation error with clang.
4874
48752020-04-20 Gary Benson <gbenson@redhat.com>
4876
4877 * gdb.trace/tspeed.c: Fix compilation error with clang.
4878
48792020-04-20 Gary Benson <gbenson@redhat.com>
4880
4881 * gdb.base/jit-main.c: Fix compilation error with clang.
4882
48832020-04-17 Kamil Rytarowski <n54@gmx.com>
4884
4885 * gdb.base/attach-twice.c: Include "sys/types.h".
4886 (PTRACE_ATTACH): Add fallback definition.
4887 (main): Pass `0' to the 4th argument of `ptrace'.
4888
48892020-04-17 Kamil Rytarowski <n54@gmx.com>
4890
4891 * gdb.base/fork-running-state.c: Include "signal.h".
4892
48932020-04-17 Tom Tromey <tromey@adacore.com>
4894
4895 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4896 Update tests.
4897 * gdb.btrace/cpu.exp: Update tests.
4898 * gdb.base/maint.exp: Update tests.
4899 * gdb.base/default.exp: Update tests.
4900 * gdb.base/completion.exp: Update tests.
4901
49022020-04-16 Tom de Vries <tdevries@suse.de>
4903
4904 PR symtab/25791
4905 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4906 (ensure_gdb_index): and factor out and move ...
4907 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4908 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4909
49102020-04-16 Tom de Vries <tdevries@suse.de>
4911
4912 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4913 loading exec.
4914
49152020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4916
4917 * gdb.base/many-completions.exp: New file.
4918
49192020-04-14 Tom de Vries <tdevries@suse.de>
4920
4921 PR symtab/25718
4922 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4923
49242020-04-14 Tom de Vries <tdevries@suse.de>
4925
4926 PR symtab/25720
4927 * gdb.base/maint-expand-symbols-header-file.c: New test.
4928 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4929 * gdb.base/maint-expand-symbols-header-file.h: New test.
4930
49312020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4932
4933 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4934 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4935 get_func_info.
4936 (get_func_info): Delete.
4937 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4938 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4939 * lib/dwarf.exp (get_func_info): New function.
4940
49412020-04-13 Tom de Vries <tdevries@suse.de>
4942
4943 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4944 to what find_gnatmake does.
4945
49462020-04-10 Tom de Vries <tdevries@suse.de>
4947
4948 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4949 -readnow.
4950
49512020-04-10 Tom de Vries <tdevries@suse.de>
4952
4953 PR cli/25808
4954 * gdb.base/style.c: Add leading newlines.
4955 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4956 Check listing of main's one-line body.
4957
49582020-04-08 Tom de Vries <tdevries@suse.de>
4959
4960 * lib/gdb.exp (psymtabs_p): New proc.
4961 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4962 importing unit" unsupported if there are no partial symbols.
4963
49642020-04-08 Tom de Vries <tdevries@suse.de>
4965
4966 PR testsuite/25760
4967 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4968
49692020-04-07 Tom de Vries <tdevries@suse.de>
4970
4971 PR symtab/25796
4972 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4973
49742020-04-07 Tom de Vries <tdevries@suse.de>
4975
4976 * gdb.base/check-psymtab.c: New test.
4977 * gdb.base/check-psymtab.exp: New file.
4978
49792020-04-06 Tom Tromey <tromey@adacore.com>
4980
4981 * gdb.ada/variant-record/proc.adb: New file.
4982 * gdb.ada/variant-record/value.adb: New file.
4983 * gdb.ada/variant-record/value.s: New file.
4984 * gdb.ada/variant-record.exp: New file.
4985
49862020-04-03 Hannes Domani <ssbssa@yahoo.de>
4987
4988 PR gdb/25325
4989 * gdb.cp/typed-enum.cc: New test.
4990 * gdb.cp/typed-enum.exp: New file.
4991
49922020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4993
4994 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4995 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4996 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4997 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4998 * gdb.opt/inline-small-func.c: New file.
4999 * gdb.opt/inline-small-func.exp: New file.
5000 * gdb.opt/inline-small-func.h: New file.
5001
50022020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5003
5004 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5005 function.
5006
50072020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5008
5009 * lib/dwarf.exp (function_range): Allow compiler options to be
5010 specified.
5011
50122020-04-02 Tom de Vries <tdevries@suse.de>
5013
5014 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5015 __attribute__((always_inline)).
5016 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5017
50182020-04-02 Tom de Vries <tdevries@suse.de>
5019
5020 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5021 (gdbserver_gdb_exit): ... here. Add timeout warning.
5022 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5023 (connect_target_extended_remote): Append new server_spawn_id to
5024 server_spawn_ids.
5025 (cleanup): New proc.
5026 (setup, <toplevel>): Call cleanup.
5027
50282020-04-02 Tom de Vries <tdevries@suse.de>
5029
5030 * gdb.base/main-psymtab.exp: New file.
5031
50322020-04-02 Tom de Vries <tdevries@suse.de>
5033
5034 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5035
50362020-04-01 Tom Tromey <tom@tromey.com>
5037
5038 * gdb.base/complex-parts.exp: Add type tests.
5039
50402020-04-01 Tom Tromey <tom@tromey.com>
5041
5042 * gdb.base/complex-parts.exp: Add arithmetic tests.
5043
50442020-04-01 Tom Tromey <tom@tromey.com>
5045
5046 * gdb.compile/compile.exp: Update.
5047 * gdb.compile/compile-cplus.exp: Update.
5048 * gdb.base/varargs.exp: Update.
5049 * gdb.base/floatn.exp: Update.
5050 * gdb.base/endianity.exp: Update.
5051 * gdb.base/callfuncs.exp (do_function_calls): Update.
5052 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5053 (complex_float_integral_args): Update.
5054 * gdb.base/complex.exp: Update.
5055 * gdb.base/complex-parts.exp: Update.
5056
50572020-04-01 Tom Tromey <tromey@adacore.com>
5058
5059 * gdb.rust/union.rs: New file.
5060 * gdb.rust/union.exp: New file.
5061 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5062 (main): Update.
5063 * gdb.rust/simple.exp: Move union tests to union.exp.
5064
50652020-04-01 Tom Tromey <tromey@adacore.com>
5066
5067 * gdb.rust/simple.rs (main): Remove "y0".
5068
50692020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5070
5071 * gdb.multi/stop-all-on-exit.c: New test.
5072 * gdb.multi/stop-all-on-exit.exp: New file.
5073
50742020-04-01 Hannes Domani <ssbssa@yahoo.de>
5075
5076 PR gdb/24789
5077 * gdb.cp/misc.cc: Add integer reference variable.
5078 * gdb.cp/misc.exp: Add test.
5079
50802020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5081
5082 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5083 scenario to cover execution until the end and also the case
5084
50852020-03-31 Tom de Vries <tdevries@suse.de>
5086
5087 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5088 c. Use "maint info symtabs" to check symtab expansion.
5089
50902020-03-30 Tom de Vries <tdevries@suse.de>
5091
5092 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5093 unsupported.
5094 (verify_psymtab_expanded): Move ...
5095 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5096 test.
5097 (readnow): New proc.
5098
50992020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5100
5101 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5102 with $hex.
5103
51042020-03-20 Tom Tromey <tromey@adacore.com>
5105
5106 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5107
51082020-03-20 Tom Tromey <tromey@adacore.com>
5109
5110 * gdb.ada/sub_variant/subv.adb: New file.
5111 * gdb.ada/sub_variant.exp: New file.
5112
51132020-03-20 Tom de Vries <tdevries@suse.de>
5114
5115 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5116 first break fails.
5117 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5118
51192020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5120
5121 * gdb.server/exit-multiple-threads.c: New file.
5122 * gdb.server/exit-multiple-threads.exp: New file.
5123
51242020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5125
5126 * gdb.fortran/mixed-lang-stack.c: New file.
5127 * gdb.fortran/mixed-lang-stack.cpp: New file.
5128 * gdb.fortran/mixed-lang-stack.exp: New file.
5129 * gdb.fortran/mixed-lang-stack.f90: New file.
5130
51312020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5132
5133 * gdb.linespec/cp-completion-aliases.cc: New file.
5134 * gdb.linespec/cp-completion-aliases.exp: New file.
5135
51362020-03-19 Tom de Vries <tdevries@suse.de>
5137
5138 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5139 more precise.
5140
51412020-03-18 Tom de Vries <tdevries@suse.de>
5142
5143 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5144 * gdb.dwarf2/break-inline-psymtab.c: New test.
5145 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5146
51472020-03-16 Tom de Vries <tdevries@suse.de>
5148
5149 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5150 cache_verify and cache_verify_proc.
5151
51522020-03-15 Tom de Vries <tdevries@suse.de>
5153
5154 * gdb.server/solib-list.exp: Handle
5155 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5156
51572020-03-15 Tom de Vries <tdevries@suse.de>
5158
5159 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5160 objfiles".
5161
51622020-03-14 Tom Tromey <tom@tromey.com>
5163
5164 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5165
51662020-03-14 Tom de Vries <tdevries@suse.de>
5167
5168 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5169
51702020-03-14 Tom de Vries <tdevries@suse.de>
5171
5172 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5173 result in line-by-line fashion.
5174
51752020-03-14 Tom de Vries <tdevries@suse.de>
5176
5177 * lib/gdb.exp (supports_statement_frontiers): New proc.
5178 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5179
51802020-03-14 Tom de Vries <tdevries@suse.de>
5181
5182 * gdb.base/printcmds.exp: Add missing quoting for "print
5183 teststring2".
5184
51852020-03-13 Tom Tromey <tom@tromey.com>
5186
5187 * gdb.base/printcmds.exp (test_print_strings): Add regression
5188 test.
5189 * gdb.base/printcmds.c (charptr): New typedef.
5190 (teststring2): New global.
5191
51922020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5193
5194 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5195 full path in the test name.
5196 (test_ld): Add some with_test_prefix blocks to make test names
5197 unique.
5198
51992020-03-13 Tom de Vries <tdevries@suse.de>
5200
5201 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5202
52032020-03-13 Tom de Vries <tdevries@suse.de>
5204
5205 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5206
52072020-03-13 Tom de Vries <tdevries@suse.de>
5208
5209 PR symtab/25646
5210 * gdb.dwarf2/imported-unit.exp: Add test.
5211
52122020-03-13 Tom de Vries <tdevries@suse.de>
5213
5214 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5215 (var1, var2): New variable.
5216 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5217 matching symbols.
5218
52192020-03-13 Tom de Vries <tdevries@suse.de>
5220
5221 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5222 (Term::command): Use prompt prefix.
5223 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5224 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5225 command_no_prompt_prefix instead of prefix.
5226 * gdb.tui/tui-layout-asm.exp: Same.
5227
52282020-03-12 Simon Marchi <simon.marchi@efficios.com>
5229
5230 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5231
52322020-03-12 Simon Marchi <simon.marchi@efficios.com>
5233
5234 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5235 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5236 on" while stepping over the test instruction, match printed
5237 message.
5238
52392020-03-12 Tom de Vries <tdevries@suse.de>
5240
5241 * gdb.base/info-types.exp: Use exp_continue during matching of output
5242 of "info types".
5243
52442020-03-12 Tom de Vries <tdevries@suse.de>
5245
5246 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5247
52482020-03-12 Tom de Vries <tdevries@suse.de>
5249
5250 * gdb.fortran/module.exp: Use exp_continue during matching of output
5251 of "info variable -n".
5252
52532020-03-12 Tom de Vries <tdevries@suse.de>
5254
5255 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5256 gdb.dwarf2/dw2-ranges-base.c.
5257
52582020-03-12 Tom de Vries <tdevries@suse.de>
5259
5260 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5261 in presence of GLIBC debuginfo.
5262
52632020-03-12 Tom de Vries <tdevries@suse.de>
5264
5265 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5266 $core.
5267
52682020-03-12 Tom de Vries <tdevries@suse.de>
5269
5270 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5271 more precise.
5272
52732020-03-11 Simon Marchi <simon.marchi@efficios.com>
5274
5275 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5276 from Unix to Windows path.
5277
52782020-03-11 Tom de Vries <tdevries@suse.de>
5279
5280 * gdb.ada/minsyms.exp: Set language to ada.
5281
52822020-03-11 Tom de Vries <tdevries@suse.de>
5283
5284 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5285
52862020-03-11 Tom de Vries <tdevries@suse.de>
5287
5288 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5289
52902020-03-11 Tom Tromey <tromey@adacore.com>
5291
5292 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5293
52942020-03-11 Tom de Vries <tdevries@suse.de>
5295
5296 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5297
52982020-03-11 Tom de Vries <tdevries@suse.de>
5299
5300 * gdb.base/break-interp.exp: Limit verbose scope.
5301
53022020-03-11 Tom de Vries <tdevries@suse.de>
5303
5304 * gdb.fortran/logical.f90: Define variable with character type.
5305 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5306
53072020-03-11 Tom de Vries <tdevries@suse.de>
5308
5309 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5310
53112020-03-11 Tom de Vries <tdevries@suse.de>
5312
5313 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5314 symtabs.
5315
53162020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5317 Bernd Edlinger <bernd.edlinger@hotmail.de>
5318
5319 * gdb.cp/step-and-next-inline.cc: New file.
5320 * gdb.cp/step-and-next-inline.exp: New file.
5321 * gdb.cp/step-and-next-inline.h: New file.
5322 * gdb.dwarf2/dw2-is-stmt.c: New file.
5323 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5324 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5325 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5326 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5327
53282020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5329
5330 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5331 is-stmt flag in the line table.
5332
53332020-03-09 Tom de Vries <tdevries@suse.de>
5334
5335 * lib/gdb.exp (cached_file): Create cache dir.
5336
53372020-03-07 Tom de Vries <tdevries@suse.de>
5338
5339 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5340 * gdb.cp/rvalue-ref-params.exp: Same.
5341
53422020-03-06 Tom de Vries <tdevries@suse.de>
5343
5344 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5345 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5346
53472020-03-06 Tom de Vries <tdevries@suse.de>
5348
5349 * README: Fix "the the".
5350 * gdb.base/dprintf.exp: Same.
5351
53522020-03-05 Tom de Vries <tdevries@suse.de>
5353
5354 * gdb.base/maint.exp: Update "main print statistics" expected output.
5355
53562020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5357
5358 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5359 (fortran_int8): Likewise.
5360 (fortran_real4): Likewise.
5361 (fortran_real8): Likewise.
5362 (fortran_complex4): Likewise.
5363 (fortran_logical4): Likewise.
5364 (fortran_character1): Likewise.
5365
53662020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5367
5368 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5369 printed as true.
5370
53712020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5372
5373 * gdb.base/printcmds.exp: Add test to verify printf of a
5374 variable holding an address.
5375
53762020-03-03 Tom de Vries <tdevries@suse.de>
5377
5378 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5379
53802020-03-03 Tom de Vries <tdevries@suse.de>
5381
5382 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5383 gdb_test_multiple call.
5384
53852020-03-03 Tom de Vries <tdevries@suse.de>
5386
5387 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5388 gdb_test_multiple calls.
5389
53902020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5391
5392 * gdb.base/default.exp: Remove test of 'set history filename'.
5393 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5394 filename to the empty string.
5395 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5396 and GDBHISTSIZE.
5397
53982020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5399
5400 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5401 disabled.
5402
54032020-03-02 Pedro Alves <palves@redhat.com>
5404 Tom de Vries <tdevries@suse.de>
5405
5406 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5407 -prompt prefix, before user_code argument. Add -lbl option likewise.
5408 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5409 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5410 argument.
5411 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5412 have "\r\n" at start-of-line, instead of at end-of-line.
5413
54142020-02-28 Simon Marchi <simon.marchi@efficios.com>
5415
5416 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5417 libinproctrace.so.
5418
54192020-02-28 Luis Machado <luis.machado@linaro.org>
5420
5421 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5422 to "p/x".
5423
54242020-02-28 Luis Machado <luis.machado@linaro.org>
5425
5426 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5427 asm/ptrace.h and error.h.
5428
54292020-02-28 Tom de Vries <tdevries@suse.de>
5430
5431 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5432 (struct wrapper, do_something, mundane/symada__cS): Move ...
5433 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5434 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5435 Update "print symada__cS before partial symtab expansion" regexp.
5436 Update breakpoint location. Flush symbol cache after expansion.
5437
54382020-02-28 Luis Machado <luis.machado@linaro.org>
5439
5440 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5441
54422020-02-27 Tom de Vries <tdevries@suse.de>
5443
5444 * config/sid.exp: Remove unused globals.
5445 * gdb.base/attach.exp: Same.
5446 * gdb.base/catch-load.exp: Same.
5447 * gdb.base/dbx.exp: Same.
5448 * lib/gdb.exp: Same.
5449 * lib/mi-support.exp: Same.
5450 * lib/prompt.exp: Same.
5451
54522020-02-27 Tom de Vries <tdevries@suse.de>
5453
5454 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5455 not set.
5456
54572020-02-26 Aaron Merey <amerey@redhat.com>
5458
5459 * gdb.debuginfod: New directory for debuginfod tests.
5460 * gdb.debuginfod/main.c: New test file.
5461 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5462
54632020-02-26 Tom de Vries <tdevries@suse.de>
5464
5465 PR gdb/25603
5466 * gdb.base/persistent-lang.cc: New test.
5467 * gdb.base/persistent-lang.exp: New file.
5468
54692020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5470
5471 * gdb.fortran/derived-type-striding.exp: Add a new test.
5472 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5473 new test.
5474
54752020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5476
5477 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5478 names.
5479
54802020-02-25 Tom de Vries <tdevries@suse.de>
5481
5482 PR go/18926
5483 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5484
54852020-02-24 Tom de Vries <tdevries@suse.de>
5486
5487 PR gdb/25592
5488 * gdb.base/info-locals-unused-static-var.c: New test.
5489 * gdb.base/info-locals-unused-static-var.exp: New file.
5490
54912020-02-22 Tom Tromey <tom@tromey.com>
5492
5493 * gdb.python/tui-window.exp: New file.
5494 * gdb.python/tui-window.py: New file.
5495
54962020-02-22 Tom Tromey <tom@tromey.com>
5497
5498 PR tui/17850:
5499 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5500 tests.
5501
55022020-02-22 Tom Tromey <tom@tromey.com>
5503
5504 * gdb.tui/new-layout.exp: Add sub-layout tests.
5505
55062020-02-22 Tom Tromey <tom@tromey.com>
5507
5508 * gdb.tui/new-layout.exp: New file.
5509
55102020-02-22 Tom Tromey <tom@tromey.com>
5511
5512 * gdb.rust/rust-style.rs: New file.
5513 * gdb.rust/rust-style.exp: New file.
5514 * gdb.base/style.exp: Test structure printing.
5515 * gdb.base/style.c (struct some_struct): New type.
5516 (enum etype): New type.
5517 (struct_value): New global.
5518
55192020-02-21 Tom de Vries <tdevries@suse.de>
5520
5521 PR go/18926
5522 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5523 Remove blanket xfails. Use message argument for gdb_breakpoint.
5524 Make continuing to breakpoint test conditional on setting breakpoint.
5525 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5526 DW_AT_name attribute. Add xfail for GCC PR93866.
5527
55282020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5529
5530 * gdb.dwarf2/cpp-linkage-name.c: New file.
5531 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5532
55332020-02-21 Shahab Vahedi <shahab@synopsys.com>
5534
5535 * lib/gdb.exp (gdb_wrapper_init): Reset
5536 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5537 not exist.
5538
55392020-02-20 Tom de Vries <tdevries@suse.de>
5540
5541 PR go/17018
5542 * gdb.go/hello.exp: Copy ...
5543 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5544 print of st to print value of global definition. Add xfail for GCC
5545 PR93844.
5546 * gdb.go/hello.exp: Remove printing of st before definition.
5547 * gdb.go/hello.go: Copy ...
5548 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5549 to st.
5550 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5551
55522020-02-20 Tom de Vries <tdevries@suse.de>
5553
5554 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5555 (gdb_simple_compile): Handle compile_flags go by using .go extension
5556 for source file.
5557 * gdb.go/chan.exp: Use support_go_compile.
5558 * gdb.go/handcall.exp: Same.
5559 * gdb.go/hello.exp: Same.
5560 * gdb.go/integers.exp: Same.
5561 * gdb.go/max-depth.exp: Same.
5562 * gdb.go/methods.exp: Same.
5563 * gdb.go/package.exp: Same.
5564 * gdb.go/strings.exp: Same.
5565 * gdb.go/types.exp: Same.
5566 * gdb.go/unsafe.exp: Same.
5567
55682020-02-19 Tom de Vries <tdevries@suse.de>
5569
5570 * gdb.python/lib-types.exp: Make xfail more strict.
5571
55722020-02-19 Tom de Vries <tdevries@suse.de>
5573
5574 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5575
55762020-02-19 Doug Evans <dje@google.com>
5577
5578 PR rust/25535
5579 * gdb.rust/simple.exp: Add test.
5580 * gdb.rust/simple.rs: Add test.
5581
55822020-02-19 Tom de Vries <tdevries@suse.de>
5583
5584 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5585 output line-by-line.
5586
55872020-02-19 Tom de Vries <tdevries@suse.de>
5588
5589 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5590
55912020-02-19 Tom de Vries <tdevries@suse.de>
5592
5593 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5594 prelink.
5595
55962020-02-19 Tom de Vries <tdevries@suse.de>
5597
5598 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5599 (gdb_do_cache): Use gdb_do_cache_wrap.
5600 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5601
56022020-02-19 Tom de Vries <tdevries@suse.de>
5603
5604 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5605 gdb_compile option.
5606
56072020-02-18 Simon Marchi <simon.marchi@efficios.com>
5608
5609 * gdb.base/printcmds.exp (test_print_enums): Update expected
5610 output.
5611
56122020-02-18 Simon Marchi <simon.marchi@efficios.com>
5613
5614 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5615 for "unknown".
5616
56172020-02-18 Simon Marchi <simon.marchi@efficios.com>
5618
5619 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5620 enumerator.
5621
56222020-02-18 Simon Marchi <simon.marchi@efficios.com>
5623
5624 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5625 FE_, add FE_NONE.
5626 (three): Update.
5627 (enum flag_enum_without_zero): New enum.
5628 (flag_enum_without_zero): New variable.
5629 (enum not_flag_enum): New enum.
5630 (three_not_flag): New variable.
5631 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5632 (test_print_enums): Add more tests for printing flag enums.
5633
56342020-02-18 Tom de Vries <tdevries@suse.de>
5635
5636 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5637 (gdb_compile_ada): ... here.
5638 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5639 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5640
56412020-02-14 Tom Tromey <tom@tromey.com>
5642
5643 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5644 build directory.
5645 * boards/gdbserver-base.exp: Update path to gdbserver.
5646
56472020-02-13 Tom de Vries <tdevries@suse.de>
5648
5649 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5650
56512020-02-13 Tom de Vries <tdevries@suse.de>
5652
5653 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5654 are missing.
5655
56562020-02-13 Tom de Vries <tdevries@suse.de>
5657
5658 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5659 call.
5660
56612020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5662
5663 PR tui/25126
5664 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5665 * gdb.base/cached-source-file.c: New file.
5666 * gdb.base/cached-source-file.exp: New file.
5667
56682020-02-11 Tom de Vries <tdevries@suse.de>
5669
5670 PR testsuite/25488
5671 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5672
56732020-02-10 Tom de Vries <tdevries@suse.de>
5674
5675 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5676
56772020-02-10 Maciej W. Rozycki <macro@wdc.com>
5678
5679 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5680 and $after_addr are both integers before making a comparison.
5681
56822020-02-09 Tom de Vries <tdevries@suse.de>
5683
5684 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5685 command output and paste it into gdb.log. If any, paste catch message
5686 to gdb.log.
5687
56882020-02-07 Tom Tromey <tromey@adacore.com>
5689
5690 PR breakpoints/24915:
5691 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5692
56932020-02-06 Shahab Vahedi <shahab@synopsys.com>
5694
5695 * gdb.tui/tui-missing-src.exp: Add the "missing source
5696 file" test for the TUI.
5697
56982020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5699
5700 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5701 including a port number in the output.
5702
57032020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5704
5705 * lib/fortran.exp (fortran_int4): Handle clang.
5706 (fortran_int8): Likewise.
5707 (fortran_real4): Likewise.
5708 (fortran_real8): Likewise.
5709 (fortran_complex4): Likewise.
5710 (fortran_logical4): Likewise.
5711 (fortran_character1): Likewise.
5712
57132020-02-04 Tom de Vries <tdevries@suse.de>
5714
5715 * README (Race detection): Add note.
5716
57172020-02-04 Tom de Vries <tdevries@suse.de>
5718
5719 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5720
57212020-02-04 Tom de Vries <tdevries@suse.de>
5722
5723 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5724
57252020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5726
5727 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5728 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5729 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5730 blttar, bnetarl.
5731 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5732 binary for blttar, bnetarl.
5733 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5734 wait instruction. Delete ldmx test.
5735 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5736
57372020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5738
5739 * gdb.fortran/array-bounds-high.exp: New file.
5740 * gdb.fortran/array-bounds-high.f90: New file.
5741
57422020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5743
5744 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5745 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5746
57472020-02-01 Tom de Vries <tdevries@suse.de>
5748
5749 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5750
57512020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5752
5753 PR tui/9765
5754 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5755 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5756
57572020-01-29 Luis Machado <luis.machado@linaro.org>
5758
5759 * gdb.arch/aarch64-brk-patterns.c: New source file.
5760 * gdb.arch/aarch64-brk-patterns.exp: New test.
5761
57622020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5763
5764 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5765 GCC/Clang version.
5766 * gdb.cp/pass-by-ref.exp: Ditto.
5767
57682020-01-29 Tom de Vries <tdevries@suse.de>
5769
5770 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5771 * gdb.threads/watchpoint-fork-mt.c: Same.
5772 * gdb.threads/watchpoint-fork-parent.c: Same.
5773 * gdb.threads/watchpoint-fork-st.c: Same.
5774 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5775
57762020-01-27 Luis Machado <luis.machado@linaro.org>
5777
5778 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5779 sitting at a syscall instruction when we hit the syscall function's
5780 breakpoint.
5781 Check PC against one obtained with the x command.
5782 Validate syscall number.
5783 (step_over_syscall): Don't continue to the syscall instruction if
5784 we're already there.
5785
57862020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5787
5788 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5789
57902020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5791
5792 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5793 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5794
57952020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5796
5797 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5798 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5799
58002020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5801
5802 * gdb.base/maint.exp: Update line table parsing test.
5803 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5804
58052020-01-24 Pedro Alves <palves@redhat.com>
5806
5807 PR gdb/25410
5808 * gdb.multi/multi-re-run-1.c: New.
5809 * gdb.multi/multi-re-run-2.c: New.
5810 * gdb.multi/multi-re-run.exp: New.
5811
58122020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5813
5814 PR gdb/23718
5815 * gdb.server/server-kill-python.exp: New file.
5816
58172020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5818
5819 * gdb.server/multi-ui-errors.c: New file.
5820 * gdb.server/multi-ui-errors.exp: New file.
5821
58222020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5823
5824 PR tui/9765
5825 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5826
58272020-01-19 Tom Tromey <tom@tromey.com>
5828
5829 * gdb.tui/main.exp: Add check for plain "file".
5830
58312020-01-16 Christian Biesinger <cbiesinger@google.com>
5832
5833 * lib/gdb.exp: Fix spelling error (seperatelly).
5834
58352020-01-14 Tom Tromey <tom@tromey.com>
5836
5837 PR symtab/12535:
5838 * gdb.python/python.exp: Test decode_line with empty string
5839 argument.
5840
58412020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5842
5843 * gdb.base/skip-inline.exp: Extend test.
5844
58452020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5846
5847 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5848 * gdb.dwarf2/dw2-bad-elf.c: New file.
5849 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5850
58512020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5852
5853 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5854 _line_saw_file.
5855
58562020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5857
5858 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5859 border.
5860
58612020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5862
5863 * gdb.multi/multi-target.exp (setup): Factor out "info
5864 connections" and "info inferiors" tests to ...
5865 (test_info_inferiors): ... this new procedure.
5866 (top level): Run new "info-inferiors" tests.
5867
58682020-01-10 Pedro Alves <palves@redhat.com>
5869
5870 * gdb.server/bkpt-other-inferior.exp: New file.
5871
58722020-01-10 Pedro Alves <palves@redhat.com>
5873
5874 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5875 of "add-inferior".
5876 * gdb.base/quit-live.exp: Likewise.
5877 * gdb.base/remote-exec-file.exp: Likewise.
5878 * gdb.guile/scm-progspace.exp: Likewise.
5879 * gdb.linespec/linespec.exp: Likewise.
5880 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5881 * gdb.mi/user-selected-context-sync.exp: Likewise.
5882 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5883 "info inferiors" tests.
5884 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5885 "add-inferior".
5886 * gdb.multi/watchpoint-multi.exp: Likewise.
5887 * gdb.python/py-inferior.exp: Likewise.
5888 * gdb.server/extended-remote-restart.exp: Likewise.
5889 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5890 "info inferiors".
5891 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5892 * gdb.trace/report.exp: Likewise.
5893
58942020-01-10 Pedro Alves <palves@redhat.com>
5895
5896 * gdb.multi/multi-target.c: New file.
5897 * gdb.multi/multi-target.exp: New file.
5898 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5899 mode requested, but remote does not support non-stop".
5900
59012020-01-10 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5904 disconnect before reconnecting.
5905
59062020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5907 Pedro Alves <palves@redhat.com>
5908
5909 * gdb.server/connect-without-multi-process.exp: Also test
5910 continuing to end.
5911
59122020-01-10 Pedro Alves <palves@redhat.com>
5913
5914 * gdb.base/remote-exec-file.exp: New file.
5915
59162020-01-10 Pedro Alves <palves@redhat.com>
5917
5918 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5919 output.
5920 * gdb.threads/async.c: New.
5921 * gdb.threads/async.exp: New.
5922 * gdb.multi/tids-gid-reset.c: New.
5923 * gdb.multi/tids-gid-reset.exp: New.
5924
59252020-01-10 George Barrett <bob@bob131.so>
5926
5927 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5928 to help in finding the image relocation offset.
5929 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5930 options in arguments.
5931 (stap_test_no_debuginfo): Likewise.
5932 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5933 test variants.
5934 (stap_test): Add null semaphore relocation test.
5935
59362020-01-10 George Barrett <bob@bob131.so>
5937
5938 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5939 * gdb.base/stap-probe.exp: Likewise.
5940 (stap_test): Pass argument as an additional flag.
5941 (stap_test_no_debuginfo): Likewise.
5942 (stap_test): Check `info probes stap' output for semaphore
5943 addresses if the test binary is supposed to have them.
5944
59452020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5946
5947 * gdb.tui/basic.exp: Add more scrolling tests.
5948
59492020-01-09 Tom Tromey <tom@tromey.com>
5950
5951 PR tui/18932:
5952 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5953 meangingful value.
5954 (Term::command, Term::resize): Update.
5955 * gdb.tui/basic.exp: Add scrolling test.
5956
59572020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5958
5959 * gdb.tui/tui-layout-asm.exp: New file.
5960
59612020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5962
5963 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5964
59652020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5966
5967 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5968 (Term::enter_tui): Use Term::prepare_for_tui.
5969
59702020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5971
5972 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5973 called.
5974
59752020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5976
5977 * gdb.base/skip.exp: Fix race condition in test.
5978
59792020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5980
5981 * gdb.base/backtrace.c: New file.
5982 * gdb.base/backtrace.exp: New file.
5983
59842020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5985
5986 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5987
59882020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5989
5990 * gdb.base/style.exp: Test that warnings are styled.
5991
59922019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5993
5994 * gdb.base/line65535.exp: New file.
5995 * gdb.base/line65535.c: New file.
5996
59972019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5998
5999 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6000 * lib/gnat_debug_info_test.adb: New file.
6001 * gdb.ada/ptype_tagged_param.exp: Use
6002 gnat_runtime_has_debug_info, expect a different output if
6003 runtime does not have debug info.
6004
60052019-12-20 Simon Marchi <simon.marchi@efficios.com>
6006
6007 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6008 (another) quote in test name.
6009
60102019-12-20 Simon Marchi <simon.marchi@efficios.com>
6011
6012 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6013 Add quote in test name.
6014
60152019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6016
6017 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6018 directory instead.
6019 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6020 * gdb.cp/pass-by-ref-2.cc: New file.
6021 * gdb.cp/pass-by-ref-2.exp: New file.
6022
60232019-12-20 Tom Tromey <tom@tromey.com>
6024
6025 * gdb.tui/list-before.exp: New file.
6026
60272019-12-20 Tom Tromey <tom@tromey.com>
6028
6029 * gdb.tui/list.exp: Check for source on initial listing.
6030
60312019-12-11 Tom Tromey <tromey@adacore.com>
6032
6033 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6034 Add crlf test.
6035
60362019-12-18 Simon Marchi <simon.marchi@efficios.com>
6037
6038 * gdb.base/default.exp: Update value of $_gdb_major.
6039
60402019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6041
6042 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6043
60442019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6045
6046 * gdb.base/skip.exp: Whitespace fix.
6047
60482019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6049
6050 * gdb.base/skip-inline.c: New file.
6051 * gdb.base/skip-inline.exp: New file.
6052
60532019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6054
6055 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6056 jit_function_00 to jit_function_stack_mangle.
6057 * gdb.base/jithost.c (jit_function_t): Rename to...
6058 (jit_function_stack_mangle_t): ... this.
6059 (jit_function_add_t): New typedef.
6060 (jit_function_00_code): Rename to...
6061 (jit_function_stack_mangle_code): ... this, make static.
6062 (jit_function_add_code): New.
6063 (main): Generate "add" function and call it. Adjust to changes
6064 in jithost_abi.
6065 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6066 (struct jithost_abi) <begin, end>: Remove fields.
6067 <object, function_stack_mangle, function_add>: New fields.
6068 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6069 code_end>: Remove fields.
6070 <func_stack_mangle>: New field.
6071 (read_debug_info): Adjust to renaming, create block for "add"
6072 function.
6073 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6074
60752019-12-11 Tom Tromey <tom@tromey.com>
6076
6077 * gdb.tui/resize.exp: Fix regexp.
6078 * gdb.tui/regs.exp: Fix regexps.
6079 * gdb.tui/main.exp: Fix regexp.
6080
60812019-12-11 Tom Tromey <tom@tromey.com>
6082
6083 * gdb.tui/resize.exp: Update.
6084 * gdb.tui/empty.exp (layouts): Update.
6085
60862019-12-11 Tom Tromey <tom@tromey.com>
6087
6088 * gdb.tui/regs.exp: Update.
6089 * gdb.tui/empty.exp (layouts): Update.
6090 * gdb.tui/basic.exp: Update.
6091 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6092
60932019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6094
6095 * gdb.base/options.exp: Add -raw-values in the print completion list.
6096 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6097
60982019-12-10 Kevin Buettner <kevinb@redhat.com>
6099
6100 * gdb.threads/omp-par-scope.c: New file.
6101 * gdb/threads/omp-par-scope.exp: New file.
6102
61032019-12-10 Kevin Buettner <kevinb@redhat.com>
6104
6105 * lib/gdb.exp (support_nested_function_tests): New proc.
6106
61072019-12-10 Kevin Buettner <kevinb@redhat.com>
6108
6109 * lib/gdb.exp (gdb_compile_openmp): New proc.
6110 (build_executable_from_specs): Add an "openmp" option.
6111 (gdb_compile_pthreads): Add non-executable case.
6112
61132019-12-10 Tom Tromey <tromey@adacore.com>
6114
6115 * gdb.ada/unchecked_union.exp: New file.
6116 * gdb.ada/unchecked_union/pck.adb: New file.
6117 * gdb.ada/unchecked_union/pck.ads: New file.
6118 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6119 * gdb-utils.exp (string_to_regexp): Also quote "?".
6120
61212019-12-10 George Barrett <bob@bob131.so>
6122
6123 Test scripted probe breakpoints.
6124 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6125 * gdb.python/py-breakpoint.c (main): Likewise.
6126 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6127 specifier test.
6128 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6129
61302019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6131
6132 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6133 an rvalue parameter.
6134 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6135 parameter.
6136
61372019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6138
6139 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6140 modules.
6141
61422019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6143
6144 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6145 broken version of GCC.
6146
61472019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6148
6149 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6150 sym-info-cmds library.
6151 * gdb.fortran/info-types.exp: Likewise.
6152 * lib/sym-info-cmds.exp: New file.
6153
61542019-12-08 Tom de Vries <tdevries@suse.de>
6155
6156 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6157
61582019-12-07 Keith Seitz <keiths@redhat.com>
6159
6160 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6161 * gdb.base/corefile-buildid-shlib.c: New file.
6162 * gdb.base/corefile-buildid.c: New file.
6163 * gdb.base/corefile-buildid.exp: New file.
6164
61652019-12-06 Tom de Vries <tdevries@suse.de>
6166
6167 * gdb.dwarf2/varval.exp: Add decl before def test.
6168
61692019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6170
6171 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6172
61732019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6174
6175 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6176 CV and reference conversion for overload resolution.
6177 * gdb.cp/rvalue-ref-overload.exp: Test it.
6178
61792019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6180
6181 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6182 * gdb.base/frameapply.exp: Test faas without command.
6183
61842019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6185
6186 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6187 Fortran tests.
6188 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6189 order.
6190
61912019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6192
6193 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6194 casting to type with no kind specified.
6195 (test_basic_parsing_of_type_kinds): Additional tests for types
6196 with no kind specified, and add tests for single/double
6197 precision/complex types.
6198
61992019-12-04 Tom Tromey <tromey@adacore.com>
6200
6201 * gdb.base/endianity.c (struct other) <x>: New field.
6202 (main): Initialize it.
6203 * gdb.base/endianity.exp: Update.
6204
62052019-12-04 Tom Tromey <tromey@adacore.com>
6206
6207 * gdb.ada/scalar_storage/storage.adb: New file.
6208 * gdb.ada/scalar_storage/pck.adb: New file.
6209 * gdb.ada/scalar_storage/pck.ads: New file.
6210 * gdb.ada/scalar_storage.exp: New file.
6211
62122019-12-04 Tom Tromey <tromey@adacore.com>
6213
6214 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6215 (main): Initialize it.
6216 * gdb.base/endianity.exp: Update.
6217
62182019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6219
6220 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6221
62222019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6223
6224 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6225 -symbol-info-module-functions and -symbol-info-module-variables.
6226
62272019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6228
6229 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6230
62312019-12-01 Richard Bunt <richard.bunt@arm.com>
6232 Andrew Burgess <andrew.burgess@embecosm.com>
6233
6234 * gdb.fortran/derived-type-striding.exp: New file.
6235 * gdb.fortran/derived-type-striding.f90: New file.
6236 * gdb.fortran/array-slices.exp: New file.
6237 * gdb.fortran/array-slices.f90: New file.
6238
62392019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6240
6241 * gdb.base/define.exp: Test . in command names.
6242 * gdb.base/setshow.exp: Update test, as . is now part of
6243 command name.
6244
62452019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6246
6247 * gdb.base/define-prefix.exp: New file.
6248
62492019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6250
6251 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6252 compile.
6253 (skip_btrace_pt_tests): Likewise.
6254
62552019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6256
6257 * gdb.fortran/info-modules.exp: Compile source files in correct
6258 order.
6259
62602019-11-27 Kevin Buettner <kevinb@redhat.com>
6261
6262 * gdb.dwarf2/imported-unit.exp: New file.
6263 * gdb.dwarf2/imported-unit.c: New file.
6264
62652019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6266
6267 * gdb.mi/mi-fortran-modules-2.f90: New file.
6268 * gdb.mi/mi-fortran-modules.exp: New file.
6269 * gdb.mi/mi-fortran-modules.f90: New file.
6270
62712019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6272
6273 * gdb.mi/mi-sym-info-1.c: New file.
6274 * gdb.mi/mi-sym-info-2.c: New file.
6275 * gdb.mi/mi-sym-info.exp: New file.
6276
62772019-11-22 Tom Tromey <tromey@adacore.com>
6278
6279 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6280 * gdb.ada/tasks/foo.adb: Add another stopping location.
6281
62822019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6283
6284 * gdb.base/endianity.c: New test.
6285 * gdb.base/endianity.exp: New file.
6286
62872019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6288
6289 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6290
62912019-11-21 Tom de Vries <tdevries@suse.de>
6292
6293 PR gdb/24956
6294 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6295
62962019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6297
6298 * gdb.python/py-progspace.exp: Add missing parentheses on some
6299 'print' commands.
6300
63012019-11-19 Tom Tromey <tom@tromey.com>
6302
6303 * gdb.tui/winheight.exp: New file.
6304
63052019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6306
6307 * gdb.base/ctf-whatis.c: Delete.
6308 * gdb.base/ctf-whatis.exp: Delete.
6309 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6310
63112019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6312
6313 * gdb.base/ctf-cvexpr.exp: Delete.
6314 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6315
63162019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6317
6318 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6319 the compiler. Clean up header comment a little.
6320 * gdb.base/ctf-ptype.exp: Likewise.
6321 * gdb.base/ctf-whatis.exp: Likewise.
6322 * lib/gdb.exp (skip_ctf_tests): New proc.
6323
63242019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6325
6326 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6327 * gdb.tui/corefile-run.exp: New file.
6328
63292019-11-14 Tom Tromey <tromey@adacore.com>
6330
6331 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6332 regression tests.
6333
63342019-11-12 Tom Tromey <tom@tromey.com>
6335
6336 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6337 after any command. Expect prompt after WAIT_FOR is seen.
6338 (enter_tui): Enable resize messages.
6339 (command): Expect command in output.
6340 (get_line): Avoid error when cursor appears to be off-screen.
6341 (dump_screen): Include screen size in title.
6342 (_do_resize): New proc, from "resize".
6343 (resize): Rewrite. Do resize in two steps.
6344 * gdb.tui/empty.exp (layouts): Fix entries.
6345 (check_boxes): Remove xfail.
6346 (check_text): Dump screen on failure.
6347
63482019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6349
6350 * gdb.python/py-symbol.exp: Add test for
6351 gdb.lookup_static_symbols.
6352
63532019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6354
6355 * gdb.python/py-symbol.c: Declare and call function from new
6356 py-symbol-2.c file.
6357 * gdb.python/py-symbol.exp: Compile both source files, and add new
6358 tests for gdb.lookup_static_symbol.
6359 * gdb.python/py-symbol-2.c: New file.
6360
63612019-11-02 Tom de Vries <tdevries@suse.de>
6362
6363 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6364 * gdb.base/anon.exp: Same.
6365 * gdb.base/auto-connect-native-target.exp: Same.
6366 * gdb.base/call-ar-st.exp: Same.
6367 * gdb.base/catch-syscall.exp: Same.
6368 * gdb.base/commands.exp: Same.
6369 * gdb.base/default.exp: Same.
6370 * gdb.base/display.exp: Same.
6371 * gdb.base/float.exp: Same.
6372 * gdb.base/foll-fork.exp: Same.
6373 * gdb.base/help.exp: Same.
6374 * gdb.base/info-macros.exp: Same.
6375 * gdb.base/info-proc.exp: Same.
6376 * gdb.base/info-target.exp: Same.
6377 * gdb.base/long_long.exp: Same.
6378 * gdb.base/macscp.exp: Same.
6379 * gdb.base/memattr.exp: Same.
6380 * gdb.base/nofield.exp: Same.
6381 * gdb.base/pointers.exp: Same.
6382 * gdb.base/printcmds.exp: Same.
6383 * gdb.base/ptype.exp: Same.
6384 * gdb.base/restore.exp: Same.
6385 * gdb.base/return.exp: Same.
6386 * gdb.base/scope.exp: Same.
6387 * gdb.base/set-noassign.exp: Same.
6388 * gdb.base/setshow.exp: Same.
6389 * gdb.base/shlib-call.exp: Same.
6390 * gdb.base/signals.exp: Same.
6391 * gdb.base/sigstep.exp: Same.
6392 * gdb.base/skip.exp: Same.
6393 * gdb.base/solib-symbol.exp: Same.
6394 * gdb.base/stap-probe.exp: Same.
6395 * gdb.base/step-line.exp: Same.
6396 * gdb.base/step-test.exp: Same.
6397 * gdb.base/style.exp: Same.
6398 * gdb.base/varargs.exp: Same.
6399 * gdb.base/vla-datatypes.exp: Same.
6400 * gdb.base/vla-ptr.exp: Same.
6401 * gdb.base/vla-sideeffect.exp: Same.
6402 * gdb.base/volatile.exp: Same.
6403 * gdb.base/watch-cond-infcall.exp: Same.
6404 * gdb.base/watchpoint.exp: Same.
6405
64062019-11-02 Tom de Vries <tdevries@suse.de>
6407
6408 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6409 * gdb.cp/cpexprs.exp: Same.
6410 * gdb.cp/except-multi-location.exp: Same.
6411 * gdb.cp/exceptprint.exp: Same.
6412 * gdb.cp/gdb2384.exp: Same.
6413 * gdb.cp/inherit.exp: Same.
6414 * gdb.cp/m-static.exp: Same.
6415 * gdb.cp/meth-typedefs.exp: Same.
6416 * gdb.cp/misc.exp: Same.
6417 * gdb.cp/namespace.exp: Same.
6418 * gdb.cp/non-trivial-retval.exp: Same.
6419 * gdb.cp/overload.exp: Same.
6420 * gdb.cp/pr17132.exp: Same.
6421 * gdb.cp/re-set-overloaded.exp: Same.
6422 * gdb.cp/rvalue-ref-types.exp: Same.
6423 * gdb.cp/templates.exp: Same.
6424
64252019-11-01 Luis Machado <luis.machado@linaro.org>
6426
6427 PR gdb/25124
6428
6429 * gdb.arch/pr25124.S: New file.
6430 * gdb.arch/pr25124.exp: New file.
6431
64322019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6433
6434 * gdb.fortran/info-modules.exp: Update expected results, and add
6435 additional tests for 'info module functinos', and 'info module
6436 variables'.
6437 * gdb.fortran/info-types.exp: Update expected results.
6438 * gdb.fortran/info-types.f90: Extend testcase with additional
6439 module variables and functions.
6440
64412019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6442
6443 * gdb.fortran/info-modules.exp: New file.
6444 * gdb.fortran/info-types.exp: Build with new file.
6445 * gdb.fortran/info-types.f90: Include and use new module.
6446 * gdb.fortran/info-types-2.f90: New file.
6447
64482019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6449
6450 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6451 * gdb.base/settings.exp: Test all settings types using
6452 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6453 that now verifies that the value of "maint show" is the same as
6454 returned by the settings functions. Test the type of the
6455 maintenance settings.
6456 * gdb.base/default.exp: Update show_conv_list.
6457
64582019-10-31 Tom de Vries <tdevries@suse.de>
6459
6460 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6461 gdb_test.
6462 * gdb.arch/amd64-disp-step.exp: Same.
6463 * gdb.asm/asm-source.exp: Same.
6464 * gdb.btrace/buffer-size.exp: Same.
6465 * gdb.btrace/cpu.exp: Same.
6466 * gdb.btrace/enable.exp: Same.
6467 * gdb.dwarf2/count.exp: Same.
6468 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6469 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6470 * gdb.fortran/vla-datatypes.exp: Same.
6471 * gdb.fortran/vla-history.exp: Same.
6472 * gdb.fortran/vla-ptype.exp: Same.
6473 * gdb.fortran/vla-value.exp: Same.
6474 * gdb.fortran/whatis_type.exp: Same.
6475 * gdb.guile/guile.exp: Same.
6476 * gdb.multi/tids.exp: Same.
6477 * gdb.python/py-finish-breakpoint.exp: Same.
6478 * gdb.python/py-framefilter.exp: Same.
6479 * gdb.python/py-pp-registration.exp: Same.
6480 * gdb.python/py-xmethods.exp: Same.
6481 * gdb.python/python.exp: Same.
6482 * gdb.server/connect-with-no-symbol-file.exp: Same.
6483 * gdb.server/no-thread-db.exp: Same.
6484 * gdb.server/run-without-local-binary.exp: Same.
6485 * gdb.stabs/weird.exp: Same.
6486 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6487 * gdb.threads/thread-find.exp: Same.
6488 * gdb.threads/tls-shared.exp: Same.
6489 * gdb.threads/tls.exp: Same.
6490 * gdb.threads/wp-replication.exp: Same.
6491 * gdb.trace/ax.exp: Same.
6492 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6493
64942019-10-31 Tom de Vries <tdevries@suse.de>
6495
6496 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6497 * gdb.ada/array_subscript_addr.exp: Same.
6498 * gdb.ada/arrayidx.exp: Same.
6499 * gdb.ada/arrayparam.exp: Same.
6500 * gdb.ada/arrayptr.exp: Same.
6501 * gdb.ada/boolean_expr.exp: Same.
6502 * gdb.ada/call_pn.exp: Same.
6503 * gdb.ada/complete.exp: Same.
6504 * gdb.ada/fixed_cmp.exp: Same.
6505 * gdb.ada/fun_addr.exp: Same.
6506 * gdb.ada/funcall_param.exp: Same.
6507 * gdb.ada/interface.exp: Same.
6508 * gdb.ada/mod_from_name.exp: Same.
6509 * gdb.ada/null_array.exp: Same.
6510 * gdb.ada/packed_array.exp: Same.
6511 * gdb.ada/packed_tagged.exp: Same.
6512 * gdb.ada/print_chars.exp: Same.
6513 * gdb.ada/print_pc.exp: Same.
6514 * gdb.ada/ptype_arith_binop.exp: Same.
6515 * gdb.ada/ptype_field.exp: Same.
6516 * gdb.ada/ptype_tagged_param.exp: Same.
6517 * gdb.ada/rec_return.exp: Same.
6518 * gdb.ada/ref_tick_size.exp: Same.
6519 * gdb.ada/str_ref_cmp.exp: Same.
6520 * gdb.ada/taft_type.exp: Same.
6521 * gdb.ada/tagged.exp: Same.
6522 * gdb.ada/type_coercion.exp: Same.
6523 * gdb.ada/uninitialized_vars.exp: Same.
6524
65252019-10-30 Tom de Vries <tdevries@suse.de>
6526
6527 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6528
65292019-10-26 Tom de Vries <tdevries@suse.de>
6530
6531 * gdb.base/bigcore.c: Fix typos in comments.
6532 * gdb.base/ctf-ptype.c: Same.
6533 * gdb.base/long_long.c: Same.
6534 * gdb.dwarf2/dw2-op-out-param.S: Same.
6535 * gdb.python/py-evthreads.c: Same.
6536 * gdb.reverse/i387-stack-reverse.c: Same.
6537 * gdb.trace/tfile.c: Same.
6538 * lib/compiler.c: Same.
6539 * lib/compiler.cc: Same.
6540
65412019-10-25 Tom de Vries <tdevries@suse.de>
6542
6543 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6544 gdb_test_multiple calls.
6545 * gdb.reverse/sigall-reverse.exp: Same.
6546 * gdb.reverse/solib-precsave.exp: Same.
6547 * gdb.reverse/solib-reverse.exp: Same.
6548 * gdb.reverse/until-precsave.exp: Same.
6549 * gdb.reverse/until-reverse.exp: Same.
6550
65512019-10-24 Tom de Vries <tdevries@suse.de>
6552
6553 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6554 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6555 kfail using -wrap pattern flag and convenience variable
6556 gdb_test_name.
6557
65582019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6559
6560 * gdb.python/py-progspace.exp: Add tests for the
6561 Progspace.block_for_pc method.
6562
65632019-10-23 Tom Tromey <tom@tromey.com>
6564
6565 * configure: Rebuild.
6566 * aclocal.m4: Use m4_include, not sinclude.
6567
65682019-10-21 Tom de Vries <tdevries@suse.de>
6569
6570 * gdb.base/infcall-nested-structs.c: Add
6571 __attribute__((noinline,noclone)) to all functions.
6572 (call_all): Add missing variable initialization. Simplify return value.
6573 (breakpt): Increment volatile variable, to prevent call from being
6574 optimized out.
6575 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6576
65772019-10-17 Tom de Vries <tdevries@suse.de>
6578
6579 * gdb.fortran/module.exp: Allow info variables to print info for files
6580 other than module.f90.
6581
65822019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6583
6584 * gdb.fortran/module.exp: Extend with 'info variables' test.
6585
65862019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6587
6588 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6589 F77_FOR_TARGET.
6590
65912019-10-16 Tom de Vries <tdevries@suse.de>
6592
6593 PR tdep/25096
6594 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6595
65962019-10-16 Tom de Vries <tdevries@suse.de>
6597
6598 PR tdep/24104
6599 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6600 Add KFAIL for PR tdep/25096.
6601
66022019-10-16 Tom de Vries <tdevries@suse.de>
6603
6604 PR testsuite/25059
6605 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6606
66072019-10-16 Tom de Vries <tdevries@suse.de>
6608
6609 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6610 as signed.
6611
66122019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6613
6614 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6615 one instead of increasing timeout.
6616
66172019-10-13 Tom de Vries <tdevries@suse.de>
6618
6619 PR record/25038
6620 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6621 * gdb.reverse/sigall-reverse.exp: Same.
6622 * gdb.reverse/solib-precsave.exp: Same.
6623 * gdb.reverse/solib-reverse.exp: Same.
6624 * gdb.reverse/step-precsave.exp: Same.
6625 * gdb.reverse/until-precsave.exp: Same.
6626 * gdb.reverse/until-reverse.exp: Same.
6627 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6628
66292019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6630
6631 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6632 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6633 (cmp_struct_05_01, cmp_struct_static_02_01)
6634 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6635 comparisons.
6636
66372019-10-10 Tom de Vries <tdevries@suse.de>
6638
6639 PR testsuite/24888
6640 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6641 gnatlink.
6642
66432019-10-09 Tom de Vries <tdevries@suse.de>
6644
6645 PR testsuite/25048
6646 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6647
66482019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6649
6650 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6651 exceptions due to missing debug information.
6652
66532019-10-07 Tom de Vries <tdevries@suse.de>
6654
6655 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6656
66572019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6658
6659 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6660 * gdb.base/annota1.exp: Update to use gdb_test_name.
6661
66622019-10-07 Weimin Pan <weimin.pan@oracle.com>
6663
6664 * gdb.base/ctf-whatis.exp: New file.
6665 * gdb.base/ctf-whatis.c: New file.
6666 * gdb.base/ctf-ptype.exp: New file.
6667 * gdb.base/ctf-ptype.c: New file.
6668 * gdb.base/ctf-constvars.exp: New file.
6669 * gdb.base/ctf-constvars.c: New file.
6670 * gdb.base/ctf-cvexpr.exp: New file.
6671
66722019-10-04 Tom de Vries <tdevries@suse.de>
6673
6674 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6675 for loop.
6676
66772019-10-03 Tom Tromey <tom@tromey.com>
6678
6679 PR rust/24976:
6680 * gdb.rust/simple.rs (Union2): New type.
6681 (main): Use Union2.
6682 * gdb.rust/simple.exp: Add test.
6683
66842019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6685
6686 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6687 nested function prefix.
6688
66892019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6690 Richard Bunt <richard.bunt@arm.com>
6691 Andrew Burgess <andrew.burgess@embecosm.com>
6692
6693 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6694 nested functions.
6695 * gdb.fortran/nested-funcs.f90: Update expected results.
6696 * gdb.fortran/nested-funcs-2.exp: New file.
6697 * gdb.fortran/nested-funcs-2.f90: New file.
6698
66992019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6700
6701 * gdb.python/py-parameter.exp: Make test names unique.
6702 * gdb.python/py-template.exp: Likewise.
6703 * gdb.python/py-value.exp: Likewise.
6704
67052019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6706
6707 * gdb.base/break-interp.exp: Reduce test name duplication.
6708 * gdb.base/call-sc.exp: Likewise.
6709 * gdb.base/callfuncs.exp: Likewise.
6710 * gdb.base/charset.exp: Likewise.
6711 * gdb.base/dump.exp: Likewise.
6712 * gdb.base/ena-dis-br.exp: Likewise.
6713 * gdb.base/relational.exp: Likewise.
6714 * gdb.base/step-over-syscall.exp: Likewise.
6715 * gdb.base/structs.exp: Likewise.
6716
67172019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6718
6719 * gdb.linespec/explicit.exp: Make test names unique.
6720 * gdb.linespec/ls-errs.exp: Likewise.
6721
67222019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6723
6724 * gdb.reverse/break-precsave.exp: Make test names unique.
6725 * gdb.reverse/break-reverse.exp: Likewise.
6726 * gdb.reverse/finish-precsave.exp: Likewise.
6727 * gdb.reverse/finish-reverse.exp: Likewise.
6728 * gdb.reverse/machinestate-precsave.exp: Likewise.
6729 * gdb.reverse/machinestate.exp: Likewise.
6730 * gdb.reverse/readv-reverse.exp: Likewise.
6731 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6732 * gdb.reverse/sigall-precsave.exp: Likewise.
6733 * gdb.reverse/sigall-reverse.exp: Likewise.
6734 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6735 * gdb.reverse/watch-precsave.exp: Likewise.
6736 * gdb.reverse/watch-reverse.exp: Likewise.
6737
67382019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6739
6740 * gdb.threads/stop-with-handle.c: New file.
6741 * gdb.threads/stop-with-handle.exp: New file.
6742
67432019-10-03 Tom de Vries <tdevries@suse.de>
6744
6745 PR testsuite/25059
6746 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6747 directory" line to be missing.
6748
67492019-10-03 Tom de Vries <tdevries@suse.de>
6750
6751 PR testsuite/25059
6752 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6753 type optional.
6754
67552019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6756
6757 * gdb.python/py-format-string.c (string.h): New include.
6758 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6759 the same value, for endianness-independence.
6760 * gdb.python/py-format-string.exp (default_regexp_dict)
6761 (test_pretty_structs, test_format): Adjust expected output to the
6762 changed initialization.
6763
67642019-10-02 Tom Tromey <tromey@adacore.com>
6765
6766 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6767
67682019-10-02 Pedro Alves <palves@redhat.com>
6769 Andrew Burgess <andrew.burgess@embecosm.com>
6770
6771 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6772 "print-file-var.h".
6773 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6774 (get_version_1): Print this_version_id and its address.
6775 Add extern "C" wrappers around interface functions.
6776 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6777 "print-file-var.h".
6778 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6779 (get_version_2): Print this_version_id and its address.
6780 Add extern "C" wrappers around interface functions.
6781 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6782 <stddef.h> and "print-file-var.h".
6783 Add extern "C" wrappers around interface functions.
6784 [VERSION_ID_MAIN] (this_version_id): Define.
6785 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6786 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6787 up extern "C" blocks.
6788 * gdb.base/print-file-var.exp (test): New, factored out from top
6789 level.
6790 (top level): Test all combinations of attribute hidden or not,
6791 dlopen or not, and this_version_id symbol in main file or not.
6792 Compile tests as both C++ and C, make test names unique.
6793
67942019-10-01 Tom Tromey <tom@tromey.com>
6795
6796 * gdb.base/style.exp: Test "show logging filename".
6797
67982019-10-01 Tom Tromey <tom@tromey.com>
6799
6800 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6801 * gdb.base/style.exp: Add metadata style test.
6802
68032019-10-01 Tom Tromey <tom@tromey.com>
6804
6805 * gdb.base/style.exp: Test "pwd".
6806
68072019-10-01 Tom Tromey <tom@tromey.com>
6808
6809 * gdb.base/style.exp: Update tests.
6810
68112019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6812
6813 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6814 'six' to unsigned.
6815 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6816 'five'. Use an all-ones bit pattern for each.
6817 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6818 to its changed values.
6819
68202019-09-30 Tom Tromey <tromey@adacore.com>
6821
6822 * gdb.rust/traits.rs: Disable all warnings.
6823
68242019-09-29 Tom de Vries <tdevries@suse.de>
6825
6826 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
6827
68282019-09-29 Tom de Vries <tdevries@suse.de>
6829
6830 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6831
68322019-09-27 Tom de Vries <tdevries@suse.de>
6833
6834 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6835
68362019-09-27 Tom de Vries <tdevries@suse.de>
6837
6838 PR record/23188
6839 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6840
68412019-09-26 Tom Tromey <tromey@adacore.com>
6842
6843 * gdb.ada/py_taft.exp: New file.
6844 * gdb.ada/py_taft/main.adb: New file.
6845 * gdb.ada/py_taft/pkg.adb: New file.
6846 * gdb.ada/py_taft/pkg.ads: New file.
6847
68482019-09-24 Tom de Vries <tdevries@suse.de>
6849
6850 PR gdb/24598
6851 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6852
68532019-09-22 Tom de Vries <tdevries@suse.de>
6854
6855 * gdb.base/restore.exp: Allow register variables to be optimized out at
6856 -O0.
6857
68582019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6859
6860 * gdb.arch/spu-info.exp: Remove file.
6861 * gdb.arch/spu-info.c: Remove file.
6862 * gdb.arch/spu-ls.exp: Remove file.
6863 * gdb.arch/spu-ls.c: Remove file.
6864
6865 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6866 * gdb.asm/spu.inc: Remove file.
6867
6868 * gdb.base/dump.exp: Remove support for spu*-*-*.
6869 * gdb.base/stack-checking.exp: Likewise.
6870 * gdb.base/overlays.exp: Likewise.
6871 * gdb.base/ovlymgr.c: Likewise.
6872 * gdb.base/spu.ld: Remove file.
6873
6874 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6875 * gdb.cp/cpexprs.exp: Likewise.
6876 * gdb.cp/exception.exp: Likewise.
6877 * gdb.cp/gdb2495.exp: Likewise.
6878 * gdb.cp/mb-templates.exp: Likewise.
6879 * gdb.cp/pr9167.exp: Likewise.
6880 * gdb.cp/userdef.exp: Likewise.
6881
6882 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6883
6884 * gdb.cell: Remove directory.
6885 * lib/cell.exp: Remove file.
6886
68872019-09-19 Tom de Vries <tdevries@suse.de>
6888
6889 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6890
68912019-09-19 Tom de Vries <tdevries@suse.de>
6892
6893 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6894
68952019-09-19 Tom de Vries <tdevries@suse.de>
6896
6897 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6898 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6899 (gdb_target_cmd): ... here.
6900 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6901 value 2.
6902
69032019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6904
6905 * gdb.base/source-dir.exp: Avoid having directory names in test
6906 names.
6907
69082019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6909
6910 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6911 directory.
6912
69132019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6914
6915 * gdb.base/list-missing-source.exp: New file.
6916
69172019-09-14 Tom de Vries <tdevries@suse.de>
6918
6919 PR teststuite/24599
6920 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6921 * lib/ada.exp (gnatmake_version_at_least): New proc.
6922
69232019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6924
6925 * gdb.base/maint.exp: Use exec_has_index_section.
6926
69272019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6928
6929 * gdb.base/maint.exp: Add test for 'maint info sections'.
6930
69312019-09-12 Tom de Vries <tdevries@suse.de>
6932
6933 * gdb.base/store.exp: Allow register variables to be optimized out at
6934 -O0.
6935
69362019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6937
6938 * gdb.ada/rdv_wait.exp: Update to new task names.
6939 * gdb.base/task_switch_in_core.exp: Likewise.
6940 * gdb.base/info_sources_base.c: Likewise.
6941
69422019-09-10 Tom Tromey <tromey@adacore.com>
6943
6944 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6945
69462019-09-10 Tom Tromey <tromey@adacore.com>
6947
6948 * gdb.ada/dgopt.exp: New file.
6949 * gdb.ada/dgopt/x.adb: New file.
6950
69512019-09-08 Tom Tromey <tom@tromey.com>
6952
6953 * gdb.tui/resize.exp: Remove setup_xfail.
6954 * gdb.tui/regs.exp: Remove setup_xfail.
6955 * gdb.tui/basic.exp: Remove setup_xfail.
6956
69572019-09-06 David Blaikie <dblaikie@gmail.com>
6958
6959 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6960 * gdb.cp/cplabel.exp: Ditto.
6961 * gdb.linespec/ls-errs.exp: Ditto.
6962
69632019-09-05 Tom de Vries <tdevries@suse.de>
6964
6965 * lib/gdb.exp (cmp_file_string): New proc.
6966 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6967 runto_main. Verify save breakpoints output.
6968
69692019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6970
6971 * gdb.base/info-var.exp: Test info variables without running
6972 to main, to avoid expect's buffer overflow.
6973
69742019-09-03 Tom Tromey <tromey@adacore.com>
6975
6976 * gdb.ada/bias.exp: New file.
6977 * gdb.ada/bias/bias.adb: New file.
6978 * gdb.ada/print_chars.exp: Add regression test.
6979 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6980 (MC): New variable.
6981
69822019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6983
6984 * gdb.base/argv0-symlink.exp: Run only on native target
6985 and local host.
6986
69872019-08-29 Tom de Vries <tdevries@suse.de>
6988
6989 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6990 diverse debug info.
6991 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6992
69932019-08-28 Tom de Vries <tdevries@suse.de>
6994
6995 * gdb.base/info-var.exp: Allow info variables to print info for files
6996 other than info-var-f1.c and info-var-f2.c.
6997
69982019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6999
7000 * gdb.fortran/info-types.exp: Add module.
7001 * gdb.fortran/info-types.f90: Update expected results.
7002
70032019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7004
7005 * gdb.fortran/info-types.exp: New file.
7006 * gdb.fortran/info-types.f90: New file.
7007 * lib/fortran.exp (fortran_character1): New proc.
7008
70092019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7010
7011 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7012 functions'. Reindent as needed.
7013 * gdb.base/info-var-f1.c: New file.
7014 * gdb.base/info-var-f2.c: New file.
7015 * gdb.base/info-var.exp: New file.
7016 * gdb.base/info-var.h: New file.
7017
70182019-08-26 Tom de Vries <tdevries@suse.de>
7019
7020 PR c++/24852
7021 * gdb.cp/no-libstdcxx-probe.exp: New test.
7022
70232019-08-26 Tom de Vries <tdevries@suse.de>
7024
7025 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7026 * tests need to be skipped.
7027 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7028 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7029 mi_skip_libstdcxx_probe_tests.
7030
70312019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7032
7033 * gdb.python/py-xmethods.exp: Use raw strings when passing
7034 arguments to SimpleXMethodMatcher.
7035
70362019-08-22 Tom de Vries <tdevries@suse.de>
7037
7038 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7039 more informative.
7040
70412019-08-21 Pedro Alves <palves@redhat.com>
7042
7043 * gdb.base/with.exp: Test "with" with no arguments.
7044
70452019-08-21 Tom de Vries <tdevries@suse.de>
7046
7047 * gdb.base/gdb-caching-proc.exp: Sort files.
7048
70492019-08-20 Tom de Vries <tdevries@suse.de>
7050
7051 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7052 compilation.
7053
70542019-08-16 Tom de Vries <tdevries@suse.de>
7055
7056 * gdb.base/compare-sections.exp ("after run to main"): Allow
7057 mismatched read-only sections for PIE executables.
7058
70592019-08-16 Tom Tromey <tom@tromey.com>
7060
7061 * lib/tuiterm.exp (_csi_Z): New proc.
7062 * gdb.tui/basic.exp: Update window positions.
7063 * gdb.tui/empty.exp: Update window positions.
7064
70652019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7066
7067 * gdb.base/examine-backward.exp: Correct regexp for
7068 "examine 3 bytes backward from ${address_zero}".
7069
70702019-08-15 Tom Tromey <tom@tromey.com>
7071
7072 * gdb.tui/empty.exp: Enable resizing tests.
7073
70742019-08-15 Tom Tromey <tromey@adacore.com>
7075
7076 * gdb.ada/char_enum.exp: Add regression tests.
7077 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7078 and '0'.
7079 (Char, Gchar): Update.
7080 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7081
70822019-08-15 Christian Biesinger <cbiesinger@google.com>
7083
7084 * gdb.python/python.exp: Expect a leading underscore on
7085 GdbOutput{,Error}File.
7086
70872019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7088
7089 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7090 Windows host.
7091
70922019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7093
7094 * gdb.base/batch-preserve-term-settings.exp
7095 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7096
70972019-08-15 Christian Biesinger <cbiesinger@google.com>
7098
7099 * lib/gdb.exp: When running on a mingw target, replace
7100 /x/ with x:/.
7101
71022019-08-14 Alan Hayward <alan.hayward@arm.com>
7103
7104 * gdb.arch/aarch64-prologue.c: New test.
7105 * gdb.arch/aarch64-prologue.exp: New file.
7106
71072019-08-13 Tom de Vries <tdevries@suse.de>
7108
7109 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7110 Thread.
7111
71122019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7113
7114 * gdb.python/py-completion.exp: Download the .py file to the host
7115 and use its host pathname. Conditionalize tests that use
7116 tab completion and manipulate files on the build machine.
7117 * gdb.python/py-events.exp: Download the .py file to the host
7118 and use its host pathname.
7119 * gdb.python/py-evsignal.exp: Likewise.
7120 * gdb.python/py-evthreads.exp: Likewise.
7121 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7122 pathname syntax.
7123 * gdb.python/py-framefilter.exp: Download the .py file to the right
7124 place on the host. Match Windows pathname syntax.
7125 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7126 .py file to the host and use its host pathname.
7127 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7128 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7129 build pathname. Skip symlink test on Windows host. Add missing
7130 newline at end of file.
7131 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7132 and use its host pathname.
7133 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7134 * gdb.python/py-section-script.exp: Use host location of binfile
7135 on safe-path. Use correct path separator on Windows host.
7136 Reorder alternatives in gdb_test_multiple to prevent matching
7137 the wrong alternative on success.
7138 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7139
71402019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7141
7142 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7143 expect the GDB inferior to no longer immediately stop after
7144 being resumed with "signal SIGINT".
7145
71462019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7147
7148 * gdb.linespec/break-ask.exp: Generalize regexps to match
7149 Windows pathnames too.
7150
71512019-08-08 Tom de Vries <tdevries@suse.de>
7152
7153 PR testsuite/24862
7154 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7155
71562019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7157
7158 * gdb.base/style.exp: Update tests for help doc new invariants.
7159 * gdb.base/help.exp: Likewise.
7160
71612019-08-06 Tom Tromey <tom@tromey.com>
7162
7163 * gdb.base/style.exp: Add disassemble test.
7164 * gdb.base/style.c (some_called_function): New function.
7165 (main): Use it.
7166
71672019-08-05 Christian Biesinger <cbiesinger@google.com>
7168
7169 * gdb.python/py-block.exp: Test dictionary access on blocks.
7170
71712019-08-05 Simon Marchi <simon.marchi@efficios.com>
7172
7173 PR gdb/24863
7174 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7175 -list-thread-groups --available test when running under
7176 check-read1.
7177
71782019-08-05 Tom de Vries <tdevries@suse.de>
7179
7180 PR testsuite/24863
7181 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7182 * gdb.base/help.exp: Use with_read1_timeout_factor.
7183 * gdb.base/info-macros.exp: Same.
7184 * gdb.cp/nested-types.exp: Same.
7185
71862019-08-05 Tom de Vries <tdevries@suse.de>
7187
7188 * lib/gdb.exp (version_at_least): Factor out of ...
7189 (tcl_version_at_least): ... here.
7190 (gdb_compile): Fail if pie results in non-PIE executable.
7191 (readelf_version, readelf_prints_pie): New proc.
7192 (exec_is_pie): Return -1 if unknown.
7193
71942019-08-05 Tom de Vries <tdevries@suse.de>
7195
7196 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7197
71982019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7199
7200 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7201
72022019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7203
7204 * lib/completion-support.exp (test_gdb_complete_none): Skip
7205 tab completion tests if no readline support.
7206 (test_gdb_complete_unique_re): Likewise.
7207 (test_gdb_complete_multiple): Likewise.
7208
72092019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7210
7211 * gdb.base/info_sources.exp: New file.
7212 * gdb.base/info_sources.c: New file.
7213 * gdb.base/info_sources_base.c: New file.
7214
72152019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7216
7217 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7218 prefix argument.
7219 (test_exit_status): Add prefix argument.
7220
72212019-08-01 Tom de Vries <tdevries@suse.de>
7222
7223 PR testsuite/24863
7224 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7225 calling exp_continue for new thread and thread exited messages.
7226
72272019-08-01 Tom de Vries <tdevries@suse.de>
7228
7229 PR testsuite/24863
7230 * gdb.base/structs.exp: Fix check-read1 timeout using
7231 gdb_test_sequence.
7232 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7233
72342019-08-01 Tom de Vries <tdevries@suse.de>
7235
7236 PR testsuite/24863
7237 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7238 line.
7239
72402019-08-01 Tom de Vries <tdevries@suse.de>
7241
7242 PR testsuite/24863
7243 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7244
72452019-07-30 Tom Tromey <tromey@adacore.com>
7246
7247 * gdb.ada/display_nested.exp: New file.
7248 * gdb.ada/display_nested/foo.adb: New file.
7249 * gdb.ada/display_nested/pack.adb: New file.
7250 * gdb.ada/display_nested/pack.ads: New file.
7251
72522019-07-30 Christian Biesinger <cbiesinger@google.com>
7253
7254 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7255 namespace.
7256 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7257
72582019-07-30 Tom de Vries <tdevries@suse.de>
7259
7260 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7261 instead.
7262
72632019-07-30 Tom de Vries <tdevries@suse.de>
7264
7265 PR testsuite/24834
7266 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7267 (exec_is_pie): New proc.
7268
72692019-07-29 Christian Biesinger <cbiesinger@google.com>
7270
7271 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7272
72732019-07-29 Christian Biesinger <cbiesinger@google.com>
7274
7275 * gdb.python/py-objfile.c: Add global and static vars.
7276 * gdb.python/py-objfile.exp: Test new functions Objfile.
7277 lookup_global_symbol and lookup_static_symbol.
7278
72792019-07-29 Tom Tromey <tom@tromey.com>
7280
7281 * lib/tuiterm.exp (Term::_csi_@): New proc.
7282 (Term::_csi_X): Don't move cursor.
7283
72842019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7285
7286 * gdb.base/options.exp: Update backtrace - completion to
7287 new option -frame-info.
7288 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7289 Test new 'set print frame-info'. Test backtrace -frame-info
7290 overriding 'set print frame-info'.
7291 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7292 Test new 'set print frame-info'.
7293 Verify consistency of backtrace with and without filters, with and
7294 without -no-filters.
7295 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7296 default.
7297
72982019-07-29 Tom de Vries <tdevries@suse.de>
7299
7300 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7301 no arguments".
7302
73032019-07-29 Tom de Vries <tdevries@suse.de>
7304
7305 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7306 is a substring of the first for "complete non-unique file name".
7307
73082019-07-29 Tom de Vries <tdevries@suse.de>
7309
7310 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7311 with ".*".
7312
73132019-07-29 Tom de Vries <tdevries@suse.de>
7314
7315 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7316 Pass prompt_regexp parameter to gdb_test_multiple calls.
7317
73182019-07-29 Tom de Vries <tdevries@suse.de>
7319
7320 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
7321 print registers" regexps.
7322
73232019-07-29 Tom de Vries <tdevries@suse.de>
7324
7325 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7326
73272019-07-29 Tom de Vries <tdevries@suse.de>
7328
7329 PR gdb/24855
7330 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7331 (skip_python_tests_prompt): Add prompt_regexp argument to
7332 gdb_test_multiple calls.
7333
73342019-07-27 Tom Tromey <tom@tromey.com>
7335
7336 * gdb.tui/main.exp: New file.
7337
73382019-07-27 Tom Tromey <tom@tromey.com>
7339
7340 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7341 optional.
7342 * gdb.tui/empty.exp: New file.
7343
73442019-07-27 Tom Tromey <tom@tromey.com>
7345
7346 * lib/tuiterm.exp (spawn): New proc.
7347 (Term::resize): New proc.
7348 * gdb.tui/resize.exp: New file.
7349
73502019-07-27 Tom Tromey <tom@tromey.com>
7351
7352 * gdb.tui/list.exp: New file.
7353
73542019-07-27 Tom Tromey <tom@tromey.com>
7355
7356 * gdb.tui/regs.exp: New file.
7357
73582019-07-27 Tom Tromey <tom@tromey.com>
7359
7360 * gdb.tui/basic.exp: Add "layout split" test.
7361
73622019-07-27 Tom Tromey <tom@tromey.com>
7363
7364 * gdb.tui/basic.exp: Add "layout asm" test.
7365
73662019-07-27 Tom Tromey <tom@tromey.com>
7367
7368 * lib/tuiterm.exp: New file.
7369 * gdb.tui/basic.exp: New file.
7370
73712019-07-27 Kevin Buettner <kevinb@redhat.com>
7372
7373 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7374 Enable tests associated with this flag. Adjust regex
7375 referencing "foo_low" to now refer to "foo_cold" instead.
7376
73772019-07-27 Kevin Buettner <kevinb@redhat.com>
7378
7379 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7380 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7381 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7382 foo_cold. Revise comments to match.
7383 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7384 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7385 were wrapped into this proc; Call do_test in loop from outermost
7386 level.
7387 (foo_low): Rename all occurrences to "foo_cold".
7388 (backtrace from baz): New test.
7389 (x2/i foo_cold): New test.
7390 (info line *foo_cold): New test.
7391
73922019-07-26 Tom de Vries <tdevries@suse.de>
7393
7394 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7395
73962019-07-25 Tom de Vries <tdevries@suse.de>
7397
7398 PR testsuite/24830
7399 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7400 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7401 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7402 (skip_libstdcxx_probe_tests): ... here.
7403 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7404
74052019-07-24 Tom de Vries <tdevries@suse.de>
7406
7407 PR testsuite/24807
7408 * gdb.objc/basicclass.m: Include stdio.h.
7409 * gdb.objc/nondebug.m: Same.
7410 * gdb.objc/objcdecode.m: Same.
7411
74122019-07-24 Tom de Vries <tdevries@suse.de>
7413
7414 PR testsuite/24612
7415 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7416 additional_flags.
7417
74182019-07-24 Tom de Vries <tdevries@suse.de>
7419
7420 PR testsuite/24831
7421 * gdb.multi/tids.exp: Update error messages for info threads.
7422
74232019-07-24 Tom de Vries <tdevries@suse.de>
7424
7425 * gdb.base/info-types.exp: Allow info types to print info for more than
7426 one file.
7427
74282019-07-23 Tom de Vries <tdevries@suse.de>
7429
7430 PR testsuite/24842
7431 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7432 gdb_spawn_with_cmdline_opts.
7433
74342019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7435
7436 * gdb.arch/arm-cmse-sgstubs.c: New test.
7437 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7438
74392019-07-23 Tom de Vries <tdevries@suse.de>
7440
7441 PR testsuite/24711
7442 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7443 issuing next command.
7444
74452019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7446
7447 * gdb.ada/info_auto_lang.exp: Update expected results.
7448 * gdb.base/info-types.c: Add additional types to check.
7449 * gdb.base/info-types.exp: Update expected results.
7450
74512019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7452
7453 * gdb.base/info-types.c: New file.
7454 * gdb.base/info-types.exp: New file.
7455
74562019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7457
7458 * gdb.arch/riscv-bp-infcall.c: New file.
7459 * gdb.arch/riscv-bp-infcall.exp: New file.
7460
74612019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7462
7463 PR breakpoints/24541
7464 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7465
74662019-07-14 Tom de Vries <tdevries@suse.de>
7467
7468 PR testsuite/24760
7469 * gdb.objc/basicclass.exp: Fix unterminated string.
7470
74712019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7472 Andrew Burgess <andrew.burgess@embecosm.com>
7473
7474 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7475 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7476 negative bounds.
7477 * gdb.fortran/vla-value.exp: Print elements of an array with
7478 negative bounds.
7479 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7480 testing.
7481
74822019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7483
7484 * gdb.base/options.exp (expect_string): Dequote strings in
7485 results.
7486 (test-string): Test strings with different quoting and reindent.
7487
74882019-07-10 Tom Tromey <tromey@adacore.com>
7489
7490 * gdb.ada/mi_ex_cond.exp: Update expected results.
7491 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7492 * gdb.ada/mi_catch_ex.exp: Update expected results.
7493 * gdb.ada/mi_catch_assert.exp: Update expected results.
7494 * gdb.ada/catch_ex.exp (catch_exception_info)
7495 (catch_exception_entry, catch_assert_entry)
7496 (catch_unhandled_entry): Update.
7497 * gdb.ada/catch_assert_if.exp: Update expected results.
7498
74992019-07-10 Richard Bunt <richard.bunt@arm.com>
7500 Stephen Roberts <stephen.roberts@arm.com>
7501
7502 * gdb.base/define.exp: Restore original prompt.
7503
75042019-07-09 Pedro Alves <palves@redhat.com>
7505
7506 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7507 breakpoints" output.
7508 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7509 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7510 throw" creates breakpoint.
7511 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7512 'type="catchpoint"'.
7513
75142019-07-09 Pedro Alves <palves@redhat.com>
7515
7516 PR c++/15468
7517 * gdb.cp/except-multi-location-lib.cc: New.
7518 * gdb.cp/except-multi-location-main.cc: New.
7519 * gdb.cp/except-multi-location.exp: New.
7520
75212019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7522
7523 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7524 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7525 argument and update callers.
7526
75272019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7528
7529 * gdb.arch/amd64-break-on-asm-line.S: New file.
7530 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7531
75322019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7533
7534 * gdb.base/printcmds.exp: Test printing C string and
7535 C wide string convenience vars without transiting via the inferior.
7536 Also make test names unique.
7537
75382019-07-08 Alan Hayward <alan.hayward@arm.com>
7539
7540 PR breakpoints/25011
7541 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7542
75432019-07-04 Pedro Alves <palves@redhat.com>
7544
7545 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7546 body returned ok(0), break(3) or continue(4).
7547 * gdb.testsuite/foreach_with_prefix.exp: New file.
7548
75492019-07-04 Alan Hayward <alan.hayward@arm.com>
7550
7551 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7552
75532019-07-03 Pedro Alves <palves@redhat.com>
7554
7555 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7556 "return -code".
7557
75582019-07-03 Pedro Alves <palves@redhat.com>
7559
7560 PR cli/24732
7561 * gdb.base/shell.exp: Load completion-support.exp.
7562 Adjust expected error output. Add completion tests.
7563
75642019-07-03 Pedro Alves <palves@redhat.com>
7565
7566 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7567 string_to_regexp.
7568
75692019-07-03 Pedro Alves <palves@redhat.com>
7570
7571 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7572 (expect_integer): Adjust to expect "-string".
7573 (expect_string): New.
7574 (all_options): Expect "-string".
7575 (test-flag, test-boolean): Adjust to expect "-string".
7576 (test-string): New proc.
7577 (top level): Call it.
7578
75792019-07-03 Pedro Alves <palves@redhat.com>
7580
7581 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7582 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7583 the expected output in the success.
7584
75852019-07-03 Pedro Alves <palves@redhat.com>
7586
7587 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7588 Split one gdb_test_multiple call in two to avoid a race.
7589
75902019-07-03 Pedro Alves <palves@redhat.com>
7591
7592 * gdb.base/with.c: New file.
7593 * gdb.base/with.exp: New file.
7594
75952019-07-03 Pedro Alves <palves@redhat.com>
7596
7597 * gdb.base/settings.exp: Replace all references to "maint
7598 test-settings set" with references to "maint set test-settings",
7599 and all references to "maint test-settings show" with references
7600 to "maint show test-settings".
7601
76022019-07-03 Pedro Alves <palves@redhat.com>
7603
7604 * gdb.base/settings.exp (test-string): Adjust expected out when
7605 testing "maint test-settings show filename"
7606
76072019-07-02 Pedro Alves <palves@redhat.com>
7608
7609 * gdb.base/options.exp (test-info-threads): New procedure.
7610 (top level): Call it.
7611
76122019-06-28 Tom Tromey <tromey@adacore.com>
7613
7614 * gdb.dwarf2/ada-linkage-name.c: New file.
7615 * gdb.dwarf2/ada-linkage-name.exp: New file.
7616
76172019-06-27 Tom Tromey <tromey@adacore.com>
7618
7619 PR c++/20020:
7620 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7621
76222019-06-26 Tom de Vries <tdevries@suse.de>
7623
7624 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7625
76262019-06-26 Tom de Vries <tdevries@suse.de>
7627
7628 * gdb.base/index-cache.exp: Add back missing debug option.
7629
76302019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7631
7632 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7633
76342019-06-25 Tom de Vries <tdevries@suse.de>
7635
7636 PR testsuite/24727
7637 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7638
76392019-06-24 Tom de Vries <tdevries@suse.de>
7640
7641 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7642
76432019-06-24 Tom de Vries <tdevries@suse.de>
7644
7645 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7646 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7647 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7648
76492019-06-24 Tom de Vries <tdevries@suse.de>
7650
7651 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7652
76532019-06-21 Tom de Vries <tdevries@suse.de>
7654
7655 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7656
76572019-06-21 Tom de Vries <tdevries@suse.de>
7658
7659 PR testsuite/24518
7660 PR ada/24713
7661 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7662 index.
7663
76642019-06-19 Tom Tromey <tromey@adacore.com>
7665
7666 * gdb.ada/length_cond.exp: Add intro comment.
7667
76682019-06-19 Tom Tromey <tromey@adacore.com>
7669
7670 * gdb.ada/length_cond.exp: New file.
7671 * gdb.ada/length_cond/length_cond.adb: New file.
7672 * gdb.ada/length_cond/pck.adb: New file.
7673 * gdb.ada/length_cond/pck.ads: New file.
7674
76752019-06-18 Tom de Vries <tdevries@suse.de>
7676
7677 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7678
76792019-06-18 Tom Tromey <tromey@adacore.com>
7680
7681 * gdb.base/list0.h: Add comment explaining control character.
7682
76832019-06-18 Tom de Vries <tdevries@suse.de>
7684
7685 * boards/fission.exp: Break up long debug_flags line.
7686
76872019-06-16 Tom de Vries <tdevries@suse.de>
7688
7689 PR gdb/24445
7690 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7691 generated index.
7692
76932019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7694
7695 PR gdb/24686
7696 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7697 improve detection of bug gdb/24541.
7698
76992019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7700
7701 PR gdb/24669
7702 * gdb.base/index-cache.exp (uses_readnow,
7703 expecting_index_cache_use): Define global variable.
7704 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7705 expecting_index_cache_use.
7706
77072019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7708 Andrew Burgess <andrew.burgess@embecosm.com>
7709
7710 * gdb.fortran/pointers.f90: New file.
7711 * gdb.fortran/print_type.exp: New file.
7712 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7713 * gdb.fortran/vla-type.exp: Likewise.
7714 * gdb.fortran/vla-value.exp: Likewise.
7715 * gdb.mi/mi-vla-fortran.exp: Likewise.
7716
77172019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7718
7719 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7720 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7721 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7722 as a stop reason.
7723
77242019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7725
7726 * gdb.base/annota1.exp: Update expected results.
7727 * gdb.cp/annota2.exp: Likewise.
7728 * gdb.cp/annota3.exp: Likewise.
7729
77302019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7731
7732 * gdb.base/style-logging.exp: Remove path from test name.
7733
77342019-06-14 Tom Tromey <tromey@adacore.com>
7735
7736 PR gdb/24502:
7737 * gdb.base/style-logging.exp: New file.
7738
77392019-06-14 Tom Tromey <tromey@adacore.com>
7740
7741 * gdb.base/symfile-warn.exp: New file.
7742 * gdb.base/symfile-warn.c: New file.
7743
77442019-06-14 Tom Tromey <tromey@adacore.com>
7745
7746 * gdb.base/annotate-symlink.exp: New file.
7747
77482019-06-14 Tom Tromey <tromey@adacore.com>
7749
7750 * gdb.ada/set_wstr.exp: Add reassignment test.
7751
77522019-06-14 Tom Tromey <tromey@adacore.com>
7753
7754 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7755 'unchecked_access and 'unrestricted_access as well.
7756
77572019-06-14 Tom Tromey <tromey@adacore.com>
7758
7759 PR ada/24539:
7760 * gdb.ada/vla.exp: Update tests.
7761 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7762 pragma.
7763
77642019-06-13 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.base/settings.exp (test-integer): Test junk after
7767 "unlimited".
7768
77692019-06-13 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.base/options.exp (test-thread-apply): New.
7772 (top level): Call it.
7773
77742019-06-13 Pedro Alves <palves@redhat.com>
7775
7776 * gdb.base/options.exp (test-frame-apply): New.
7777 (top level): Test print commands with different "frame apply"
7778 prefixes.
7779
77802019-06-13 Pedro Alves <palves@redhat.com>
7781
7782 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
7783 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7784 'max_completions' parameter and handle it.
7785 (test_gdb_completion_offers_commands): New.
7786
77872019-06-13 Pedro Alves <palves@redhat.com>
7788
7789 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7790
77912019-06-13 Pedro Alves <palves@redhat.com>
7792
7793 * gdb.base/options.exp (test-backtrace): New.
7794 (top level): Call it.
7795
77962019-06-13 Pedro Alves <palves@redhat.com>
7797
7798 * gdb.guile/scm-frame-args.exp: Use "set print
7799 raw-frame-arguments" instead of "set print raw frame-arguments".
7800 * gdb.python/py-frame-args.exp: Likewise.
7801
78022019-06-13 Pedro Alves <palves@redhat.com>
7803
7804 * gdb.compile/compile.exp: Adjust expected output to option
7805 processing changes.
7806
78072019-06-13 Pedro Alves <palves@redhat.com>
7808
7809 * gdb.base/options.exp: Build executable.
7810 (test-print): New procedure.
7811 (top level): Call it, once for "print" and another for "compile
7812 print".
7813
78142019-06-13 Pedro Alves <palves@redhat.com>
7815
7816 * gdb.base/options.c: New file.
7817 * gdb.base/options.exp: New file.
7818
78192019-06-13 Pedro Alves <palves@redhat.com>
7820
7821 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7822 that "o" is ambiguous.
7823
78242019-06-13 Pedro Alves <palves@redhat.com>
7825
7826 * gdb.base/settings.c: New file.
7827 * gdb.base/settings.exp: New file.
7828
78292019-06-13 Pedro Alves <palves@redhat.com>
7830
7831 * gdb.base/completion.exp: Fix comment typo.
7832
78332019-06-13 Pedro Alves <palves@redhat.com>
7834
7835 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7836 foo --1" test.
7837
78382019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7839
7840 * gdb.fortran/block-data.f: New.
7841 * gdb.fortran/block-data.exp: New.
7842
78432019-06-11 Tom de Vries <tdevries@suse.de>
7844
7845 PR testsuite/24521
7846 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7847 message.
7848
78492019-06-11 Tom de Vries <tdevries@suse.de>
7850
7851 PR testsuite/24521
7852 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7853
78542019-06-11 Tom de Vries <tdevries@suse.de>
7855
7856 * boards/readnow.exp: New file.
7857
78582019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7859
7860 * gdb.fortran/vla-sizeof.exp: Update expected results.
7861
78622019-06-06 Amos Bird <amosbird@gmail.com>
7863
7864 * gdb.base/annota1.exp (thread_switch): Add test for
7865 thread-exited annotation.
7866
78672019-06-06 Tom Tromey <tromey@adacore.com>
7868
7869 * gdb.base/maint.exp: Expect command started/finished output.
7870
78712019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7872
7873 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7874 comment.
7875 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7876
78772019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7878
7879 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7880 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7881 * gdb.arch/riscv-unwind-long-insn.c: New file.
7882 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7883
78842019-06-04 Christian Biesinger <cbiesinger@google.com>
7885
7886 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
7887
78882019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7889
7890 * lib/gdb.exp (help_list_trailer): New regexp variable
7891 factorizing the help trailer message.
7892 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7893 arg to allow to better factorize various tests.
7894 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7895 (test_prefix_command_help): Use help_list_trailer.
7896 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7897 * gdb.guile/scm-cmd.exp: Likewise.
7898 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7899 * gdb.base/help.exp: Use test_user_defined_class_help.
7900 * gdb.base/style.exp: Add tests for styling of help and apropos.
7901 * lib/gdb-utils.exp (style): Add title and highlight styles.
7902
79032019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7904
7905 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7906 $_shell_exitsignal.
7907 * gdb.base/default.exp: Update for new convenience variables.
7908
79092019-05-29 Tom Tromey <tromey@adacore.com>
7910
7911 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7912 to "break complete ada" test case's regexp.
7913
79142019-05-29 Tom Tromey <tromey@adacore.com>
7915
7916 PR c++/20020:
7917 * gdb.cp/constexpr-field.exp: New file.
7918 * gdb.cp/constexpr-field.cc: New file.
7919
79202019-05-29 Tom Tromey <tromey@adacore.com>
7921
7922 * gdb.base/finish.exp (finish_no_print): New proc.
7923 (finish_tests): Call it.
7924
79252019-05-24 Tom de Vries <tdevries@suse.de>
7926
7927 * gdb.dwarf2/gdb-add-index.exp: New file.
7928
79292019-05-22 Tom Tromey <tromey@adacore.com>
7930
7931 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7932 * gdb.base/style.exp: Use "style".
7933 * lib/gdb-utils.exp (style): New proc.
7934
79352019-05-22 Tom de Vries <tdevries@suse.de>
7936
7937 * gdb.base/align.exp: Require c++11.
7938
79392019-05-22 Tom de Vries <tdevries@suse.de>
7940
7941 PR testsuite/24586
7942 * gdb.python/py-mi-var-info-path-expression.exp: Call
7943 mi_skip_python_tests to check if python is supported.
7944
79452019-05-22 Alan Hayward <alan.hayward@arm.com>
7946
7947 * gdb.arch/aarch64-pauth.c: New test.
7948 * gdb.arch/aarch64-pauth.exp: New file.
7949
79502019-05-22 Alan Hayward <alan.hayward@arm.com>
7951
7952 * README (Re-running Tests Outside The Testsuite): New section.
7953
79542019-05-21 Tom de Vries <tdevries@suse.de>
7955
7956 * gdb.arch/amd64-eval.exp: Require c++11.
7957 * gdb.base/max-depth.exp: Same.
7958 * gdb.compile/compile-cplus-array-decay.exp: Same.
7959 * gdb.cp/meth-typedefs.exp: Same.
7960 * gdb.cp/subtypes.exp: Same.
7961 * gdb.cp/temargs.exp: Same.
7962
79632019-05-21 Alan Hayward <alan.hayward@arm.com>
7964
7965 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7966
79672019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7968
7969 PR gdb/18644
7970 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7971 * gdb.fortran/printing-types.exp: Add new test.
7972 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7973 testing.
7974 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7975 setup_kfail call.
7976
79772019-05-17 Alan Hayward <alan.hayward@arm.com>
7978
7979 * README (Running the Testsuite): Change example.
7980 (Testsuite Parameters): Remove TRANSCRIPT.
7981 * lib/gdb.exp: Remove TRANSCRIPT check.
7982
79832019-05-17 Alan Hayward <alan.hayward@arm.com>
7984
7985 * README (Testsuite Parameters): Add replay logging to
7986 GDBSERVER_DEBUG.
7987 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7988 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7989 as a comma separated list.
7990 (gdb_debug_init): Override procedure.
7991
79922019-05-17 Alan Hayward <alan.hayward@arm.com>
7993
7994 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7995 (gdb_write_cmd_file): New procedure.
7996 * lib/gdbserver-support.exp (gdbserver_start): Call
7997 gdbserver_write_cmd_file.
7998 (gdbserver_write_cmd_file): New procedure.
7999
80002019-05-17 Alan Hayward <alan.hayward@arm.com>
8001
8002 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8003 (delete_breakpoints): Likewise.
8004 (gdb_run_cmd): Likewise.
8005 (gdb_start_cmd): Likewise.
8006 (gdb_starti_cmd): Likewise.
8007 (gdb_internal_error_resync): Likewise.
8008 (gdb_test_multiple): Likewise.
8009 (gdb_reinitialize_dir): Likewise.
8010 (default_gdb_exit): Likewise.
8011 (gdb_file_cmd): Mark kill as optional.
8012 (default_gdb_start): Call gdb_stdin_log_init.
8013 (send_gdb): Call gdb_stdin_log_write.
8014 (rerun_to_main): Mark Y as an answer.
8015 (gdb_stdin_log_init): New function.
8016 (gdb_stdin_log_write): Likewise.
8017
80182019-05-17 Alan Hayward <alan.hayward@arm.com>
8019
8020 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8021 * gdb.base/debug-expr.exp: Likewise.
8022 * gdb.base/foll-fork.exp: Likewise.
8023 * gdb.base/foll-vfork.exp: Likewise.
8024 * gdb.base/fork-print-inferior-events.exp: Likewise.
8025 * gdb.base/gdb-sigterm.exp: Likewise.
8026 * gdb.base/gdbinit-history.exp: Likewise.
8027 * gdb.base/osabi.exp: Likewise.
8028 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8029 * gdb.base/ui-redirect.exp: Likewise.
8030 * gdb.gdb/unittest.exp: Likewise.
8031 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8032 * gdb.mi/mi-watch.exp: Likewise.
8033 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8034 * gdb.mi/user-selected-context-sync.exp: Likewise.
8035 * gdb.python/python.exp: Disable debug test when debugging.
8036 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8037 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8038 Likewise.
8039 * gdb.threads/stepi-random-signal.exp: Likewise.
8040
80412019-05-17 Alan Hayward <alan.hayward@arm.com>
8042
8043 * Makefile.in: Pass through GDB_DEBUG.
8044 * README (Testsuite Parameters): Add GDB_DEBUG.
8045 (gdb,debug): Add board setting.
8046 * lib/gdb.exp (default_gdb_start): Start debugging.
8047 (gdb_debug_enabled): New procedure.
8048 (gdb_debug_init): Likewise.
8049
80502019-05-17 Alan Hayward <alan.hayward@arm.com>
8051
8052 * Makefile.in: Pass through GDB_DEBUG.
8053 * README (Testsuite Parameters): Add GDB_DEBUG.
8054 (gdb,debug): Add board setting.
8055 * lib/gdb.exp (default_gdb_start): Start debugging.
8056 (gdb_debug_enabled): New procedure.
8057 (gdb_debug_init): Likewise.
8058
80592019-05-17 Alan Hayward <alan.hayward@arm.com>
8060
8061 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8062
80632019-05-17 Alan Hayward <alan.hayward@arm.com>
8064
8065 * gdb.base/ui-redirect.exp: Test redirection.
8066
80672019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8068
8069 * gdb.mi/mi-complete.exp: New file.
8070 * gdb.mi/mi-complete.cc: Likewise.
8071
80722019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8073
8074 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8075 indexed and sliced arrays, and pointers to arrays.
8076
80772019-05-14 Tom Tromey <tromey@adacore.com>
8078
8079 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8080 styling test.
8081
80822019-05-14 Tom de Vries <tdevries@suse.de>
8083
8084 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8085 selection entry encoding.
8086
80872019-05-10 Tom Tromey <tromey@adacore.com>
8088
8089 * gdb.ada/info_exc.exp: Add "complete" test.
8090
80912019-05-09 Tom de Vries <tdevries@suse.de>
8092
8093 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8094 CU-relative.
8095
80962019-05-09 Tom de Vries <tdevries@suse.de>
8097
8098 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8099 CU-relative.
8100
81012019-05-08 Joel Brobecker <brobecker@adacore.com>
8102
8103 * gdb.ada/frame_arg_lang.exp: New testcase.
8104 * gdb.ada/frame_arg_lang/bla.adb: New file.
8105 * gdb.ada/frame_arg_lang/pck.ads: New file.
8106 * gdb.ada/frame_arg_lang/pck.adb: New file.
8107 * gdb.ada/frame_arg_lang/foo.c: New file.
8108
81092019-05-08 Tom Tromey <tromey@adacore.com>
8110
8111 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8112
81132019-05-08 Tom Tromey <tromey@adacore.com>
8114
8115 * gdb.base/ptype-offsets.exp: Update tests.
8116
81172019-05-08 Tom Tromey <tromey@adacore.com>
8118
8119 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8120 cases.
8121 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8122 "short".
8123
81242019-05-08 Tom Tromey <tromey@adacore.com>
8125
8126 * gdb.ada/vla.exp: New file.
8127 * gdb.ada/vla/vla.adb: New file.
8128
81292019-05-07 Tom de Vries <tdevries@suse.de>
8130
8131 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8132
81332019-05-07 Tom de Vries <tdevries@suse.de>
8134
8135 PR testsuite/24522
8136 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8137 section.
8138
81392019-05-07 Tom de Vries <tdevries@suse.de>
8140
8141 PR testsuite/24522
8142 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8143 .debug_aranges section.
8144
81452019-05-07 Tom de Vries <tdevries@suse.de>
8146
8147 PR testsuite/24159
8148 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8149
81502019-05-06 Tom de Vries <tdevries@suse.de>
8151
8152 * lib/gdb.exp (exec_has_index_section): New proc.
8153 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8154 section.
8155
81562019-05-04 Tom de Vries <tdevries@suse.de>
8157
8158 * boards/cc-with-debug-names.exp: New file.
8159
81602019-05-03 Tom Tromey <tromey@adacore.com>
8161
8162 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8163 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8164 * gdb.ada/char_enum.exp: Add test.
8165
81662019-05-03 Tom de Vries <tdevries@suse.de>
8167
8168 * boards/cc-with-gdb-index.exp: New file.
8169
81702019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8171
8172 * gdb.rust/simple.exp: Add new test case.
8173 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8174 (main): Initialise an instance of the new struct.
8175
81762019-05-01 Tom Tromey <tromey@adacore.com>
8177
8178 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8179 record.
8180 (NPR): New variable.
8181 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8182 test.
8183
81842019-05-01 Tom Tromey <tromey@adacore.com>
8185
8186 * gdb.ada/packed_array_assign.exp: Add packed assignment
8187 regression test.
8188
81892019-05-01 Tom de Vries <tdevries@suse.de>
8190
8191 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8192
81932019-05-01 Tom de Vries <tdevries@suse.de>
8194
8195 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8196
81972019-04-30 Ali Tamur <tamur@google.com>
8198
8199 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8200
82012019-04-30 Tom Tromey <tromey@adacore.com>
8202
8203 * lib/ada.exp (find_ada_tool): New proc.
8204 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8205 * gdb.ada/catch_ex_std.exp: New file.
8206 * gdb.ada/catch_ex_std/foo.adb: New file.
8207 * gdb.ada/catch_ex_std/some_package.adb: New file.
8208 * gdb.ada/catch_ex_std/some_package.ads: New file.
8209
82102019-04-30 Tom Tromey <tromey@adacore.com>
8211
8212 PR c++/24470:
8213 * gdb.cp/temargs.cc: Add test code from PR.
8214
82152019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8216
8217 * gdb.fortran/vla-datatypes.exp: Update expected results.
8218 * gdb.fortran/vla-ptype.exp: Likewise.
8219 * gdb.fortran/vla-type.exp: Likewise.
8220 * gdb.fortran/vla-value.exp: Likewise.
8221
82222019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8223
8224 * gdb.fortran/ptr-indentation.exp: Update expected results.
8225 * gdb.fortran/ptype-on-functions.exp: Likewise.
8226 * gdb.fortran/vla-ptr-info.exp: Likewise.
8227 * gdb.fortran/vla-value.exp: Likewise.
8228
82292019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8230
8231 * gdb.fortran/ptype-on-functions.exp: New file.
8232 * gdb.fortran/ptype-on-functions.f90: New file.
8233
82342019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8235
8236 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8237 case void string.
8238
82392019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8240
8241 * gdb.fortran/complex.exp: Expand.
8242 * gdb.fortran/complex.f: Renamed to...
8243 * gdb.fortran/complex.f90: ...this, and extended to add more
8244 complex values.
8245
82462019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8247
8248 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8249 MODULO, CMPLX.
8250
82512019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8252 Richard Bunt <richard.bunt@arm.com>
8253
8254 * gdb.base/max-depth.c: New file.
8255 * gdb.base/max-depth.exp: New file.
8256 * gdb.python/py-nested-maps.c: New file.
8257 * gdb.python/py-nested-maps.exp: New file.
8258 * gdb.python/py-nested-maps.py: New file.
8259 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8260 (test_all_common): Call test_max_depth.
8261 * gdb.fortran/max-depth.exp: New file.
8262 * gdb.fortran/max-depth.f90: New file.
8263 * gdb.go/max-depth.exp: New file.
8264 * gdb.go/max-depth.go: New file.
8265 * gdb.modula2/max-depth.exp: New file.
8266 * gdb.modula2/max-depth.c: New file.
8267 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8268
82692019-04-29 Tom de Vries <tdevries@suse.de>
8270
8271 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8272
82732019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8274
8275 * gdb.base/callexit.exp: Test may-call-functions off.
8276
82772019-04-25 Keith Seitz <keiths@redhat.com>
8278
8279 PR c++/24367
8280 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8281 (another_incomplete_struct, test_incomplete): New definitions.
8282 (main): Use new definitions.
8283 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8284 functions.
8285
82862019-04-25 Ali Tamur <tamur@google.com>
8287
8288 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8289
82902019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8291
8292 PR corefiles/11608
8293 PR corefiles/18187
8294 * gdb.base/coredump-filter-build-id.exp: New file.
8295
82962019-04-25 Alan Hayward <alan.hayward@arm.com>
8297
8298 * Makefile.in: Pass through GDBSERVER_DEBUG.
8299 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8300 (gdbserver,debug): Add board setting.
8301 * gdb.trace/tspeed.exp: Skip when debugging.
8302 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8303 * lib/gdbserver-support.exp: Likewise
8304
83052019-04-24 Tom Tromey <tromey@adacore.com>
8306
8307 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8308 Rust.
8309
83102019-04-24 Tom Tromey <tromey@adacore.com>
8311
8312 * gdb.arch/amd64-eval.exp: Test bitfield return.
8313 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8314 (class Foo) <return_bitfields>: New method.
8315 (main): Call it.
8316
83172019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8318
8319 * gdb.cp/many-args.cc: New file.
8320 * gdb.cp/many-args.exp: New file.
8321
83222019-04-23 Tom de Vries <tdevries@suse.de>
8323
8324 PR gdb/24433
8325 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8326
83272019-04-23 Alan Hayward <alan.hayward@arm.com>
8328
8329 * gdb.trace/backtrace.exp: Use nopie flag.
8330 * gdb.trace/circ.exp: Likewise.
8331 * gdb.trace/collection.exp: Likewise.
8332 * gdb.trace/ftrace.exp: Likewise.
8333 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8334 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8335 * gdb.trace/qtro.exp: Likewise.
8336 * gdb.trace/read-memory.exp: Likewise.
8337 * gdb.trace/report.exp: Likewise.
8338 * gdb.trace/tfile.exp: Likewise.
8339 * gdb.trace/tfind.exp: Likewise.
8340 * gdb.trace/unavailable.exp: Likewise.
8341
83422019-04-22 Pedro Alves <palves@redhat.com>
8343
8344 * gdb.base/solib-probes-nosharedlibrary.c,
8345 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8346
83472019-04-19 Tom Tromey <tromey@adacore.com>
8348
8349 * gdb.ada/ptype_union.c: New file.
8350 * gdb.ada/ptype_union.exp: New file.
8351
83522019-04-19 Tom Tromey <tromey@adacore.com>
8353
8354 PR symtab/24423:
8355 * gdb.base/list0.h (foo): Add a control-l character.
8356
83572019-04-18 Tom de Vries <tdevries@suse.de>
8358
8359 PR gdb/24433
8360 * boards/local-board.exp: Set sysroot to "".
8361
83622019-04-18 Tom de Vries <tdevries@suse.de>
8363 Pedro Alves <palves@redhat.com>
8364
8365 PR gdb/24454
8366 * gdb.threads/vfork-follow-child-exec.c: New file.
8367 * gdb.threads/vfork-follow-child-exec.exp: New file.
8368 * gdb.threads/vfork-follow-child-exit.c: New file.
8369 * gdb.threads/vfork-follow-child-exit.exp: New file.
8370
83712019-04-15 Leszek Swirski <leszeks@google.com>
8372
8373 * gdb.arch/amd64-eval.cc: New file.
8374 * gdb.arch/amd64-eval.exp: New file.
8375
83762019-04-11 Alan Hayward <alan.hayward@arm.com>
8377
8378 * gdb.server/sysroot.c: New test.
8379 * gdb.server/sysroot.exp: New file.
8380 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8381 matching param.
8382
83832019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8384
8385 * gdb.base/align.exp: Extend test to cover structures containing
8386 only static fields.
8387
83882019-04-11 Tom de Vries <tdevries@suse.de>
8389
8390 * boards/cc-with-dwz-m.exp: New file.
8391 * boards/cc-with-dwz.exp: New file.
8392 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8393
83942019-04-09 Simon Marchi <simon.marchi@efficios.com>
8395
8396 * gdb.base/start-cpp.exp: New file.
8397 * gdb.base/start-cpp.cc: New file.
8398
83992019-04-08 Kevin Buettner <kevinb@redhat.com>
8400
8401 * gdb.python/py-thrhandle.exp: Adjust tests to call
8402 thread_from_handle instead of thread_from_thread_handle.
8403
84042019-04-08 Kevin Buettner <kevinb@redhat.com>
8405
8406 * gdb.python/py-thrhandle.exp: Add tests for
8407 gdb.InferiorThread.handle.
8408
84092019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8410
8411 * gdb.python/py-function.exp: Check calling helper function from
8412 all languages.
8413 * lib/gdb.exp (gdb_supported_languages): New proc.
8414
84152019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8416
8417 * gdb.base/complex-parts.c: New file.
8418 * gdb.base/complex-parts.exp: New file.
8419
84202019-04-01 Tom Tromey <tromey@adacore.com>
8421
8422 PR symtab/23331:
8423 * gdb.dwarf2/dw2-ranges-main.c: New file.
8424 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8425 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8426
84272019-03-30 Simon Marchi <simark@simark.ca>
8428
8429 * gdb.base/default.exp: Add values for $_gdb_major and
8430 $_gdb_minor.
8431
84322019-03-29 Tom Tromey <tromey@adacore.com>
8433
8434 * gdb.base/help.exp: Tighten apropos regexp.
8435
84362019-03-29 Keith Seitz <keiths@redhat.com>
8437
8438 * gdb.fortran/array-bounds.exp: New file.
8439 * gdb.fortran/array-bounds.f90: New file.
8440
84412019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8442
8443 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8444
84452019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8446
8447 * gdb.multi/hello.c (main): Increase alarm timer.
8448
84492019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8450
8451 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8452 factor when no hardware watchpoint support.
8453
84542019-03-28 Alan Hayward <alan.hayward@arm.com>
8455 Pedro Alves <palves@redhat.com>
8456
8457 * boards/local-board.exp: set sysroot to /.
8458
84592019-03-27 Alan Hayward <alan.hayward@arm.com>
8460
8461 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8462 in child.
8463
84642019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8465
8466 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8467 field.
8468 (make_container): Initialise new field.
8469 * gdb.python/py-prettyprint.exp: Add new tests.
8470 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8471 <display_hint>: New method.
8472
84732019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8474
8475 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8476 gdb_continue_to_breakpoint more throughout this test.
8477 (run_lang_tests) Supply unique test names, and use
8478 gdb_test_no_output.
8479
84802019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8481
8482 * gdb.base/finish-pretty.exp: Update expected results.
8483 * gdb.base/pretty-print.c: New file.
8484 * gdb.base/pretty-print.exp: New file.
8485
84862019-03-25 Pedro Alves <palves@redhat.com>
8487
8488 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8489 move comments outside list. Append '-i "" eof' section.
8490
84912019-03-22 Alan Hayward <alan.hayward@arm.com>
8492
8493 PR testsuite/25016
8494 * README: Add pie options.
8495 * gdb.base/break-interp.exp: Ensure pie is disabled.
8496 * gdb.base/dump.exp: Likewise.
8497 * lib/gdb.exp (gdb_compile): Add pie option.
8498
84992019-03-19 Tom Tromey <tromey@adacore.com>
8500
8501 * gdb.mi/mi2-cli-display.c: New file.
8502 * gdb.mi/mi2-cli-display.exp: New file.
8503
85042019-03-18 Joel Brobecker <brobecker@adacore.com>
8505 Tom Tromey <tromey@adacore.com>
8506
8507 * gdb.ada/ptype_array/pck.adb: New file.
8508 * gdb.ada/ptype_array/pck.ads: New file.
8509 * gdb.ada/ptype_array/foo.adb: New file.
8510 * gdb.ada/ptype_array.exp: New file.
8511
85122019-03-14 Tom Tromey <tromey@adacore.com>
8513
8514 * gdb.base/style.exp: Add "set style sources" test.
8515
85162019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8517
8518 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8519 * mi-breakpoint-multiple-locations.exp: ... this.
8520 (make_breakpoints_pattern): New proc.
8521 (do_test): Add mi_version parameter, test -break-insert,
8522 -break-info and =breakpoint-created.
8523
85242019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8525
8526 * config/default.exp: Remove 'load_lib gdb.exp'.
8527 * config/monitor.exp: Likewise.
8528 * config/sid.exp: Likewise.
8529 * config/sim.exp: Likewise.
8530 * config/slite.exp: Likewise.
8531 * config/unix.exp: Likewise.
8532 * gdb.base/default.exp: Remove unhelpful comment.
8533
85342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8535
8536 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8537
85382019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8539
8540 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8541
85422019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8543
8544 * gdb.fortran/type-kinds.exp: Update expected results.
8545
85462019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8547
8548 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8549
85502019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8551
8552 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8553 function.
8554 (test_basic_parsing_of_type_kinds): Expand types tested.
8555 (test_parsing_invalid_type_kinds): New function.
8556
85572019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8558
8559 * gdb.fortran/intrinsics.exp: New file.
8560 * gdb.fortran/intrinsics.f90: New file.
8561 * gdb.fortran/type-kinds.exp: New file.
8562
85632019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8564
8565 * gdb.fortran/dot-ops.exp: New file.
8566
85672019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8568
8569 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8570 Check upper and lower case logical literals.
8571
85722019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8573
8574 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8575 Remove duplicate tests.
8576
85772019-03-06 Alan Hayward <alan.hayward@arm.com>
8578
8579 * lib/gdb.exp (builtin_cd): rename of cd.
8580 (cd): Override builtin.
8581
85822019-03-06 Richard Bunt <richard.bunt@arm.com>
8583
8584 * gdb.fortran/function-calls.exp: New file.
8585 * gdb.fortran/function-calls.f90: New test.
8586
85872019-03-04 Richard Bunt <richard.bunt@arm.com>
8588
8589 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8590 on user program standard output.
8591 * gdb.fortran/short-circuit-argument-list.f90: Record function
8592 calls.
8593
85942019-02-28 Alan Hayward <alan.hayward@arm.com>
8595
8596 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8597 failure.
8598
85992019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8600
8601 PR gdb/8527
8602 * gdb.base/interrupt-daemon-attach.c,
8603 gdb.base/interrupt-daemon-attach.exp: New test.
8604
86052019-02-27 Pedro Alves <palves@redhat.com>
8606
8607 * gdb.base/page.exp: Add tests for "set width/height -1".
8608
86092019-02-27 Pedro Alves <palves@redhat.com>
8610
8611 * gdb.base/page.exp: Add tests for "set/show width/height" with
8612 "infinite" values.
8613
86142019-02-27 Tom Tromey <tromey@adacore.com>
8615
8616 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8617 2.4.
8618 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8619 workaround.
8620
86212019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8622
8623 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8624 tests for structs with static members.
8625
86262019-02-26 Tom Tromey <tromey@adacore.com>
8627
8628 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8629 ValueError, not TypeError.
8630
86312019-02-26 Kevin Buettner <kevinb@redhat.com>
8632
8633 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8634 call from main program.
8635
86362019-02-23 Joel Brobecker <brobecker@adacore.com>
8637
8638 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8639 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8640 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8641 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8642 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8643
86442019-02-22 Keith Seitz <keiths@redhat.com>
8645
8646 PR symtab/23853
8647 * gdb.base/symlink-sourcefile.c: New file.
8648 * gdb.base/symlink-sourcefile.exp: New file.
8649
86502019-02-20 Tom Tromey <tom@tromey.com>
8651
8652 * gdb.base/info_qt.exp: Update.
8653
86542019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8655
8656 * gdb.base/source.exp: Move "error in sourced script" code to
8657 the end.
8658 * gdb.base/source-error.gdb: Move contents to
8659 source-error-1.gdb. Add new code to source source-error-1.gdb.
8660 * gdb.base/source-error-1.gdb: New file, from previous
8661 source-error.gdb.
8662
86632019-02-17 Tom Tromey <tom@tromey.com>
8664
8665 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8666 for macro styling.
8667 * gdb.base/style.c (SOME_MACRO): New macro.
8668
86692019-02-17 Tom Tromey <tom@tromey.com>
8670
8671 * gdb.base/style.exp: Add line-wrapping tests.
8672 * gdb.base/page.exp: Add test for quitting during pagination.
8673
86742019-02-17 Joel Brobecker <brobecker@adacore.com>
8675
8676 * gdb.ada/big_packed_array: New testcase.
8677 * gdb.ada/homonym.exp: Fix incorrect expected output for
8678 "break <homonym__get_value>" test.
8679
86802019-02-13 Weimin Pan <weimin.pan@oracle.com>
8681
8682 PR breakpoints/21870
8683 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8684 and prepare_for_testing. Add comment.
8685 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8686 redundant cleanup call. Clean up comment.
8687
86882019-02-12 Weimin Pan <weimin.pan@oracle.com>
8689
8690 PR breakpoints/21870
8691 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8692 * gdb.arch/aarch64-dbreg-contents.c: New file.
8693
86942019-02-10 Joel Brobecker <brobecker@adacore.com>
8695
8696 * gdb.ada/mi_ref_changeable: New testcase.
8697
86982019-02-07 Alan Hayward <alan.hayward@arm.com>
8699
8700 * gdb.base/attach.exp: Add double attach test.
8701
87022019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8703
8704 * lib/gdb.exp (default_gdb_start): Don't match pagination
8705 prompt.
8706 (gdb_init): Set stty_init.
8707
87082019-01-27 Tom Tromey <tom@tromey.com>
8709
8710 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8711 skip_python_tests.
8712
87132019-01-24 Alan Hayward <alan.hayward@arm.com>
8714
8715 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8716 New structure.
8717 (struct struct_static_02_02): Likewise.
8718 (struct struct_static_02_03): Likewise.
8719 (struct struct_static_02_04): Likewise.
8720 (struct struct_static_04_01): Likewise.
8721 (struct struct_static_04_02): Likewise.
8722 (struct struct_static_04_03): Likewise.
8723 (struct struct_static_04_04): Likewise.
8724 (struct struct_static_06_01): Likewise.
8725 (struct struct_static_06_02): Likewise.
8726 (struct struct_static_06_03): Likewise.
8727 (struct struct_static_06_04): Likewise.
8728 (cmp_struct_static_02_01): Likewise.
8729 (cmp_struct_static_02_02): Likewise.
8730 (cmp_struct_static_02_03): Likewise.
8731 (cmp_struct_static_02_04): Likewise.
8732 (cmp_struct_static_04_01): Likewise.
8733 (cmp_struct_static_04_02): Likewise.
8734 (cmp_struct_static_04_03): Likewise.
8735 (cmp_struct_static_04_04): Likewise.
8736 (cmp_struct_static_06_01): Likewise.
8737 (cmp_struct_static_06_02): Likewise.
8738 (cmp_struct_static_06_03): Likewise.
8739 (cmp_struct_static_06_04): Likewise.
8740 (call_all): Test new structs.
8741 * gdb.base/infcall-nested-structs.exp: Likewise.
8742
87432019-01-21 Alan Hayward <alan.hayward@arm.com>
8744 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8745
87462019-01-21 Alan Hayward <alan.hayward@arm.com>
8747 * gdb.base/stack-protector.c: New test.
8748 * gdb.base/stack-protector.exp: New file.
8749 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8750 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8751 option.
8752 (gdb_compile): Remove stack protector for GCC and prevent
8753 recursion.
8754
87552019-01-16 Keith Seitz <keiths@redhat.com>
8756
8757 PR gdb/23773
8758 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8759
87602019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8761
8762 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8763 aliases.
8764 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8765 tests.
8766 * gdb.arch/powerpc-vector-regs.c: New file.
8767 * gdb.arch/powerpc-vector-regs.exp: New file.
8768
87692019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8770
8771 * gdb.arch/altivec-regs.exp: Fix the list passed to
8772 gdb_expect_list when testing "info vector".
8773
87742019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8775
8776 * gdb.base/style.exp: Don't include path in testname.
8777
87782019-01-10 Keith Seitz <keiths@redhat.com>
8779
8780 PR gdb/23712
8781 PR symtab/23010
8782 * gdb.dwarf2/multidictionary.exp: New file.
8783
87842019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8785
8786 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8787 (test_gnuv3_style_demangling): ... this.
8788 (test_lucid_style_demangling): Remove.
8789 (test_arm_style_demangling): Remove.
8790 (test_hp_style_demangling): Remove.
8791 (do_tests): Remove calls to the above.
8792
87932019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8794
8795 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8796 case.
8797
87982019-01-06 Tom Tromey <tom@tromey.com>
8799
8800 PR gdb/28155:
8801 * gdb.dwarf2/typedef-void-finish.exp: New file.
8802
88032018-12-28 Tom Tromey <tom@tromey.com>
8804 Simon Marchi <simark@simark.ca>
8805
8806 * gdb.base/jit-exec.exp: New file.
8807 * gdb.base/jit-exec.c: New file.
8808 * gdb.base/jit-execd.c: New file.
8809
88102018-12-28 Tom Tromey <tom@tromey.com>
8811
8812 * gdb.base/style.exp: Update test to check for address styling.
8813
88142018-12-28 Tom Tromey <tom@tromey.com>
8815
8816 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8817 message.
8818
88192018-12-28 Tom Tromey <tom@tromey.com>
8820
8821 * gdb.base/style.exp: Add test for version number styling.
8822
88232018-12-28 Tom Tromey <tom@tromey.com>
8824
8825 * gdb.base/style.exp: Add test for print_address_symbolic.
8826
88272018-12-28 Tom Tromey <tom@tromey.com>
8828
8829 * gdb.base/style.exp: Add test for breakpoint setting.
8830
88312018-12-28 Tom Tromey <tom@tromey.com>
8832
8833 * gdb.base/style.exp: Add test for variable names.
8834
88352018-12-28 Tom Tromey <tom@tromey.com>
8836
8837 * gdb.base/style.exp: New file.
8838 * gdb.base/style.c: New file.
8839
88402018-12-28 Tom Tromey <tom@tromey.com>
8841
8842 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8843 "dumb".
8844 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8845 the TERM environment variable.
8846
88472018-12-27 Tom Tromey <tom@tromey.com>
8848
8849 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8850 pagination test.
8851
88522018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8853
8854 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8855 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8856
88572018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8858
8859 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8860 Filename a.adb changed to bp_fun_addr.adb.
8861 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8862
88632018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8864
8865 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8866 non-PIE executables.
8867 * README: Mention the gdb,nopie_flag board setting.
8868 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8869 non-PIE executable.
8870 * gdb.arch/amd64-entry-value.exp: Likewise.
8871 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8872 * gdb.arch/i386-float.exp: Likewise.
8873 * gdb.arch/i386-signal.exp: Likewise.
8874 * gdb.mi/mi-reg-undefined.exp: Likewise.
8875
88762018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8877
8878 PR gdb/23974
8879 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8880
88812018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8882
8883 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8884 Update order of results accordingly.
8885
88862018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8887
8888 * gdb.base/annota1.exp: Update a test regexp.
8889
88902018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8891
8892 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8893
88942018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8895
8896 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8897 (reuse_time): Initialize to REUSE_TIME_CAP.
8898 (check_rc): New function.
8899 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8900 Check pthread_create rc.
8901 (spawner_thread_func): Check pthread_create and pthread_join rc.
8902
89032018-12-08 Pedro Alves <palves@redhat.com>
8904
8905 * gdb.base/list.exp (test_forward_search): Rename to ...
8906 (test_forward_reverse_search): ... this. Also test reverse-search
8907 and the forward-search alias.
8908
89092018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8910
8911 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8912 local timeout variable before return, and remove all local timeout
8913 variable entirely.
8914 (gdb_load): Likewise.
8915
89162018-12-01 Tom de Vries <tdevries@suse.de>
8917
8918 * gdb.base/gdb-caching-proc.exp: New file.
8919
89202018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8921
8922 * Makefile.in (TIMESTAMP): New variable.
8923 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8924 command.
8925 (check-single-racy): Likewise.
8926 (check/%.exp): Likewise.
8927 (check-racy/%.exp): Likewise.
8928 (workers/%.worker): Likewise.
8929 (build-perf): Likewise.
8930 (check-perf): Likewise.
8931 * README: Describe new "TS" and "TS_FORMAT" variables.
8932 * print-ts.py: New file.
8933
89342018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8935
8936 PR python/23714
8937 * gdb.python/python.exp: Test command repetition after
8938 gdb.execute.
8939
89402018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8941
8942 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8943 is correctly aligned.
8944
89452018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8946
8947 * gdb.ada/info_auto_lang.exp: New testcase.
8948 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8949 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8950 * gdb.ada/info_auto_lang/some_c.c: New file.
8951
89522018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8953
8954 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8955 FUNC_lang language syntax.
8956
89572018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8958
8959 * gdb.base/info_minsym.c: New file.
8960 * gdb.base/info_minsym.exp: New file.
8961
89622018-11-19 Tom Tromey <tom@tromey.com>
8963
8964 PR rust/23625:
8965 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8966 * gdb.rust/expr.exp: Update expected output. Change one test.
8967
89682018-11-19 Tom Tromey <tom@tromey.com>
8969
8970 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8971
89722018-11-19 Pedro Alves <palves@redhat.com>
8973
8974 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8975 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8976 see the expected warning.
8977
89782018-11-16 Alan Hayward <alan.hayward@arm.com>
8979
8980 PR gdb/22736:
8981 * gdb.cp/infcall-nodebug-lib.c: New test.
8982 * gdb.cp/infcall-nodebug-main.c: New test.
8983 * gdb.cp/infcall-nodebug.exp: New file.
8984
89852018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8986
8987 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8988 completer tests.
8989
89902018-11-09 Tom de Vries <tdevries@suse.de>
8991
8992 * gdb.base/msym-lang.c: New test.
8993 * gdb.base/msym-lang.exp: New file.
8994 * gdb.base/msym-lang-main.c: New test.
8995
89962018-11-08 Tom Tromey <tom@tromey.com>
8997
8998 PR gdb/23555:
8999 PR gdb/23838:
9000 * gdb.base/warning.exp: New file.
9001
90022018-11-08 Jan Beulich <jbeulich@suse.com>
9003
9004 * testsuite/gdb.arch/i386-avx512.c,
9005 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9006
90072018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9008
9009 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9010 point hardware.
9011
90122018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9013
9014 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9015 * gdb.dwarf2/missing-type-name.exp: New file.
9016
90172018-11-06 Tom de Vries <tdevries@suse.de>
9018
9019 * gdb.base/many-headers.c: New test.
9020 * gdb.base/many-headers.exp: New file.
9021
90222018-11-06 Jim Wilson <jimw@sifive.com>
9023
9024 * gdb.base/code_elim.exp: For riscv, set additional_flags
9025 to include -msmall-data-limit=0.
9026
90272018-11-01 Joel Brobecker <brobecker@adacore.com>
9028
9029 * gdb.ada/watch_minus_l: New testcase.
9030
90312018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9032
9033 * gdb.arch/aix-sighandle.c: New file.
9034 * gdb.arch/aix-sighandle.exp: New file.
9035
90362018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9037
9038 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9039 registers being unions.
9040
90412018-10-31 Tom de Vries <tdevries@suse.de>
9042
9043 * lib/valgrind.exp: New file.
9044 (vgdb_start, vgdb_stop): New procs, factored out of ...
9045 * gdb.base/valgrind-bt.exp: ... here, ...
9046 * gdb.base/valgrind-disp-step.exp: ... here and ...
9047 * gdb.base/valgrind-infcall.exp: ... here.
9048
90492018-10-31 Tom de Vries <tdevries@suse.de>
9050
9051 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9052
90532018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9054
9055 * gdb.dwarf2/void-type.c: New file.
9056 * gdb.dwarf2/void-type.exp: New file.
9057
90582018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9059
9060 * gdb.base/info_qt.c: New file.
9061 * gdb.base/info_qt.exp: New file.
9062
90632018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9064
9065 * gdb.arch/powerpc-htm-regs.c: New file.
9066 * gdb.arch/powerpc-htm-regs.exp: New file.
9067
90682018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9069
9070 * gdb.arch/powerpc-tar.c: New file.
9071 * gdb.arch/powerpc-tar.exp: New file.
9072
90732018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9074
9075 * gdb.arch/powerpc-ppr-dscr.c: New file.
9076 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9077
90782018-10-25 Tom de Vries <tdevries@suse.de>
9079
9080 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9081
90822018-10-24 Tom de Vries <tdevries@suse.de>
9083
9084 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9085 longer exists error.
9086
90872018-10-24 Tom de Vries <tdevries@suse.de>
9088
9089 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9090
90912018-10-24 Tom de Vries <tdevries@suse.de>
9092
9093 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9094 --db-attach in valgrind.
9095
90962018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9097
9098 * gdb.arch/riscv-reg-aliases.c: New file.
9099 * gdb.arch/riscv-reg-aliases.exp: New file.
9100
91012018-10-19 Alan Hayward <alan.hayward@arm.com>
9102
9103 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9104
91052018-10-19 Alan Hayward <alan.hayward@arm.com>
9106
9107 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9108
91092018-10-19 Alan Hayward <alan.hayward@arm.com>
9110
9111 * gdb.cp/ovldbreak.exp: Fix regexps.
9112
91132018-10-19 Alan Hayward <alan.hayward@arm.com>
9114
9115 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9116
91172018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9118
9119 PR cli/23785
9120 * gdb.base/restore.exp: New test to check if "restore" with an
9121 invalid file doesn't segfault.
9122
91232018-10-18 Tom de Vries <tdevries@suse.de>
9124
9125 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9126 * gdb.ada/excep_handle.exp: Same.
9127 * gdb.ada/mi_string_access.exp: Same.
9128 * gdb.ada/mi_var_union.exp: Same.
9129 * gdb.arch/arc-analyze-prologue.exp: Same.
9130 * gdb.arch/arc-decode-insn.exp: Same.
9131 * gdb.base/readnever.exp: Same.
9132 * gdb.fortran/printing-types.exp: Same.
9133 * gdb.guile/scm-lazy-string.exp: Same.
9134
91352018-10-16 Tom de Vries <tdevries@suse.de>
9136
9137 PR gdb/23730
9138 * gdb.base/catch-follow-exec.c: Add copyright notice.
9139 * gdb.base/catch-follow-exec.exp: Rewrite to use
9140 gdb_spawn_with_cmdline_opts. Require gdb-native.
9141
91422018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9143
9144 * gdb.trace/actions-changed.exp: Check for arch support.
9145 * gdb.trace/actions.exp: Likewise.
9146 * gdb.trace/ax.exp: Likewise.
9147 * gdb.trace/backtrace.exp: Likewise.
9148 * gdb.trace/change-loc.exp: Likewise.
9149 * gdb.trace/deltrace.exp: Likewise.
9150 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9151 * gdb.trace/ftrace.exp: Likewise.
9152 * gdb.trace/infotrace.exp: Check for arch support.
9153 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9154 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9155 * gdb.trace/mi-tsv-changed.exp: Likewise.
9156 * gdb.trace/packetlen.exp: Likewise.
9157 * gdb.trace/passc-dyn.exp: Likewise.
9158 * gdb.trace/passcount.exp: Likewise.
9159 * gdb.trace/pending.exp: Likewise.
9160 * gdb.trace/range-stepping.exp: Check for shlib support.
9161 * gdb.trace/report.exp: Check for arch support.
9162 * gdb.trace/save-trace.exp: Likewise.
9163 * gdb.trace/signal.exp: Check for signal support.
9164 * gdb.trace/tfind.exp: Check for arch support.
9165 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9166 * gdb.trace/trace-common.h: Add comment.
9167 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9168 * gdb.trace/trace-enable-disable.exp: Likewise.
9169 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9170 * gdb.trace/tracecmd.exp: Check for arch support.
9171 * gdb.trace/tspeed.exp: Check for shlib and target support.
9172 * gdb.trace/tstatus.exp: Check for arch support.
9173 * gdb.trace/tsv.exp: Likewise.
9174 * gdb.trace/while-dyn.exp: Likewise.
9175 * gdb.trace/while-stepping.exp: Likewise.
9176 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9177
91782018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9179
9180 * gdb.trace/tspeed.exp: Remove nowarnings.
9181 (prepare_for_trace_test): Declare "global ipalib".
9182 * gdb.trace/tspeed.c: Include unistd.h.
9183 (main): Remove superfluous printf argument.
9184
91852018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9186
9187 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9188 directory prefix on the filename.
9189
91902018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9191
9192 * gdb.gdb/unittest.exp: Update expected message informing that
9193 selftests have been disabled.
9194 * gdb.server/unittest.exp: Likewise.
9195
91962018-10-09 Tom de Vries <tdevries@suse.de>
9197
9198 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9199 with runto_main.
9200
92012018-10-08 Weimin Pan <weimin.pan@oracle.com>
9202
9203 PR c++/16841
9204 * gdb.cp/virtbase2.cc: New file.
9205 * gdb.cp/virtbase2.exp: New file.
9206
92072018-10-06 Tom Tromey <tom@tromey.com>
9208
9209 PR python/19399:
9210 * gdb.python/py-inferior.exp: Add architecture test.
9211
92122018-10-06 Tom Tromey <tom@tromey.com>
9213
9214 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9215 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9216
92172018-10-06 Tom Tromey <tom@tromey.com>
9218
9219 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9220 of a "throw" catchpoint.
9221
92222018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9223
9224 * gdb.base/info-proc.exp: Update string expected from "help info
9225 proc".
9226
92272018-10-04 Tom Tromey <tom@tromey.com>
9228
9229 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9230 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9231 (test_initial_complaints, test_empty_complaints): Update.
9232 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9233
92342018-10-04 Tom Tromey <tom@tromey.com>
9235
9236 PR cli/19551:
9237 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9238 * lib/gdb.exp (gdb_file_cmd): Update.
9239 * gdb.stabs/weird.exp (print_weird_var): Update.
9240 * gdb.server/solib-list.exp: Update.
9241 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9242 * gdb.mi/mi-cli.exp: Update.
9243 * gdb.linespec/linespec.exp: Update.
9244 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9245 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9246 * gdb.cp/cp-relocate.exp: Update.
9247 * gdb.base/sym-file.exp: Update.
9248 * gdb.base/relocate.exp: Update.
9249 * gdb.base/readnever.exp: Update.
9250 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9251 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9252 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9253 * gdb.base/code_elim.exp: Update.
9254 * gdb.base/break-unload-file.exp (test_break): Update.
9255 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9256 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9257 Update.
9258 * gdb.base/attach.exp (do_attach_tests): Update.
9259 * gdb.base/sepdebug.exp: Update.
9260 * gdb.python/py-section-script.exp: Update.
9261
92622018-10-04 Tom Tromey <tom@tromey.com>
9263
9264 PR cli/22234:
9265 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9266 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9267 output.
9268
92692018-10-04 Tom Tromey <tom@tromey.com>
9270
9271 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9272 set width and height to 0.
9273 (test_command_line_attach_run): Use -quiet.
9274
92752018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9276
9277 * lib/gdb.exp (skip_ifunc_tests): New.
9278 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9279 other compile failures.
9280 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9281
92822018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9283
9284 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9285 is_amd64_regs_target.
9286
92872018-10-01 Alan Hayward <alan.hayward@arm.com>
9288
9289 * gdb.arch/aarch64-sighandler-regs.c: New test.
9290 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9291 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9292
92932018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9294
9295 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9296 assembly.
9297
92982018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9299
9300 * gdb.base/frame-selection.exp: New file.
9301 * gdb.base/frame-selection.c: New file.
9302
93032018-09-27 Alan Hayward <alan.hayward@arm.com>
9304
9305 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9306 pthread barrier.
9307 (main): Likewise.
9308
93092018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9310
9311 * gdb.base/large-frame-1.c: New file.
9312 * gdb.base/large-frame-2.c: New file.
9313 * gdb.base/large-frame.exp: New file.
9314 * gdb.base/large-frame.h: New file.
9315
93162018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9317
9318 PR gdb/20948
9319 * gdb.base/write_mem.exp: New test.
9320 * gdb.base/write_mem.c: Likewise.
9321
93222018-09-23 Tom Tromey <tom@tromey.com>
9323
9324 PR python/18852:
9325 * gdb.python/py-parameter.exp: Add test for parameter that throws
9326 on "set".
9327
93282018-09-23 Tom Tromey <tom@tromey.com>
9329
9330 PR python/17284:
9331 * gdb.python/py-template.exp (test_template_arg): Add test for
9332 negative template argument number.
9333
93342018-09-23 Tom Tromey <tom@tromey.com>
9335
9336 PR python/14062:
9337 * gdb.python/python.exp: Add test for post_event error.
9338
93392018-09-23 Tom Tromey <tom@tromey.com>
9340
9341 PR python/18170:
9342 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9343 convert pointers to int and long.
9344
93452018-09-23 Tom Tromey <tom@tromey.com>
9346
9347 PR python/20126:
9348 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9349 signed-ness conversion tests.
9350
93512018-09-23 Tom Tromey <tom@tromey.com>
9352
9353 PR python/18352;
9354 * gdb.python/py-value.exp (test_float_conversion): New proc.
9355 Use it.
9356
93572018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9358
9359 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9360
93612018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9362
9363 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9364 no readline.
9365 * gdb.base/utf8-identifiers.exp: Likewise.
9366 * gdb.cp/cpcompletion.exp: Likewise.
9367 * gdb.linespec/cpcompletion.exp: Likewise.
9368 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9369 * gdb.linespec/cpls-ops.exp: Likewise.
9370
93712018-09-19 Richard Bunt <richard.bunt@arm.com>
9372 Chris January <chris.january@arm.com>
9373
9374 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9375 * gdb.fortran/short-circuit-argument-list.exp: New file.
9376 * gdb.fortran/short-circuit-argument-list.f90: New test.
9377
93782018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9379
9380 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9381 "arch=" keyword when executing "-stack-list-frames".
9382
93832018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9384
9385 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9386 "arch=" keyword when executing "-stack-list-frames".
9387
93882018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9389
9390 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9391 break ada".
9392
93932018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9394
9395 PR python/23669
9396 * gdb.python/python.exp: Test gdb.execute("show commands").
9397
93982018-09-16 Tom Tromey <tom@tromey.com>
9399
9400 * gdb.base/new-ui.exp (do_execution_tests): Update.
9401 * gdb.base/dbx.exp (test_breakpoints): Update.
9402
94032018-09-14 Alan Hayward <alan.hayward@arm.com>
9404
9405 * lib/gdb.exp (gdb_simple_compile): Add proc.
9406 (is_elf_target): Use gdb_simple_compile.
9407 (skip_altivec_tests): Likewise.
9408 (skip_vsx_tests): Likewise.
9409 (skip_tsx_tests): Likewise.
9410 (skip_btrace_tests): Likewise.
9411 (skip_btrace_pt_tests): Likewise.
9412 (gdb_can_simple_compile): Likewise.
9413 (gdb_has_argv0): Likewise.
9414 (gdb_target_symbol_prefix): Likewise.
9415 (target_supports_scheduler_locking): Likewise.
9416
94172018-09-13 Tom Tromey <tom@tromey.com>
9418
9419 * Makefile.in (TAGS): Recognize proc_with_prefix and
9420 gdb_caching_proc.
9421
94222018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9423
9424 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9425 method.
9426
94272018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9428
9429 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9430 and a few other Inferior properties when the Inferior is no
9431 longer valid.
9432
94332018-09-13 Tom Tromey <tom@tromey.com>
9434
9435 PR rust/23650:
9436 * gdb.rust/simple.exp: Add test for enum field access error.
9437
94382018-09-13 Tom Tromey <tom@tromey.com>
9439
9440 PR rust/23626:
9441 * gdb.rust/simple.rs (EmptyEnum): New type.
9442 (main): Use it.
9443 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9444
94452018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9446
9447 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9448 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9449 * gdb.python/py-symtab.exp: Update test printing an objfile.
9450
94512018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9452
9453 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9454 object.
9455
94562018-09-12 Alan Hayward <alan.hayward@arm.com>
9457
9458 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9459 (support_complex_tests): Use gdb_can_simple_compile.
9460 (is_ilp32_target): Likewise.
9461 (is_lp64_target): Likewise.
9462 (is_64_target): Likewise.
9463 (is_amd64_regs_target): Likewise.
9464 (is_aarch32_target): Likewise.
9465 (gdb_int128_helper): Likewise.
9466
94672018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9468
9469 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9470
94712018-09-10 Jerome Guitton <guitton@adacore.com>
9472
9473 * gdb.ada/same_component_name: Add test for case of tagged record
9474 with variable-length fields.
9475
94762018-09-10 Xavier Roirand <roirand@adacore.com>
9477
9478 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9479 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9480 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9481 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9482
94832018-09-10 Xavier Roirand <roirand@adacore.com>
9484
9485 * gdb.ada/mi_string_access.exp: New testcase.
9486 * gdb.ada/mi_string_access/bar.adb: New file.
9487 * gdb.ada/mi_string_access/pck.adb: New file.
9488 * gdb.ada/mi_string_access/pck.asd: New file.
9489
94902018-09-10 Xavier Roirand <roirand@adacore.com>
9491
9492 * gdb.ada/mi_var_union.exp: New testcase.
9493 * gdb.ada/mi_var_union/bar.adb: New file.
9494 * gdb.ada/mi_var_union/pck.adb: New file.
9495 * gdb.ada/mi_var_union/pck.asd: New file.
9496
94972018-09-08 Tom Tromey <tom@tromey.com>
9498
9499 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9500
95012018-09-08 Tom Tromey <tom@tromey.com>
9502
9503 PR python/16047:
9504 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9505 (register_pretty_printers): Register new printer.
9506 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9507 test.
9508 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9509 (an_int_type3): New global.
9510
95112018-09-08 Joel Brobecker <brobecker@adacore.com>
9512
9513 * gdb.ada/expr_with_funcall: New testcase.
9514
95152018-09-08 Joel Brobecker <brobecker@adacore.com>
9516
9517 * gdb.ada/packed_array_assign: New testcase.
9518
95192018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9520
9521 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9522 names, and add test prefixes to make test names unique.
9523
95242018-09-05 Tom de Vries <tdevries@suse.de>
9525
9526 * gdb.dwarf2/varval.exp: Add test.
9527
95282018-09-04 Gary Benson <gbenson@redhat.com>
9529
9530 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9531 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9532
95332018-08-31 Tom Tromey <tom@tromey.com>
9534
9535 * gdb.rust/simple.rs: Rename second variable "v".
9536
95372018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9538
9539 * gdb.base/funcargs.c (use_a): New function.
9540 (recurse): Call use_a.
9541
95422018-08-29 Keith Seitz <keiths@redhat.com>
9543
9544 * gdb.compile/compile-cplus-anonymous.cc: New file.
9545 * gdb.compile/compile-cplus-anonymous.exp: New file.
9546 * gdb.compile/compile-cplus-array-decay.cc: New file.
9547 * gdb.compile/compile-cplus-array-decay.exp: New file.
9548 * gdb.compile/compile-cplus-inherit.cc: New file.
9549 * gdb.compile/compile-cplus-inherit.exp: New file.
9550 * gdb.compile/compile-cplus-member.cc: New file.
9551 * gdb.compile/compile-cplus-member.exp: New file.
9552 * gdb.compile/compile-cplus-method.cc: New file.
9553 * gdb.compile/compile-cplus-method.exp: New file.
9554 * gdb.compile/compile-cplus-mod.c: "New" file.
9555 * gdb.compile/compile-cplus-namespace.cc: New file.
9556 * gdb.compile/compile-cplus-namespace.exp: New file.
9557 * gdb.compile/compile-cplus-nested.cc: New file.
9558 * gdb.compile/compile-cplus-nested.exp: New file.
9559 * gdb.compile/compile-cplus-print.c: "New" file.
9560 * gdb.compile/compile-cplus-print.exp: "New" file.
9561 * gdb.compile/compile-cplus-virtual.cc: New file.
9562 * gdb.compile/compile-cplus-virtual.exp: New file.
9563 * gdb.compile/compile-cplus.c: "New" file.
9564 * gdb.compile/compile-cplus.exp: "New" file.
9565 * lib/compile-support.exp: New file.
9566
95672018-08-16 Gary Benson <gbenson@redhat.com>
9568
9569 PR gdb/13000:
9570 * gdb.base/batch-exit-status.exp: New file.
9571 * gdb.base/batch-exit-status.good-commands: Likewise.
9572 * gdb.base/batch-exit-status.bad-commands: Likewise.
9573
95742018-08-29 Alan Hayward <alan.hayward@arm.com>
9575
9576 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9577 (struct struct02): Likewise.
9578 (struct struct03): Likewise.
9579 (struct struct04): Likewise.
9580 (struct struct_01_01): New struct.
9581 (struct struct_01_02): Likewise.
9582 (struct struct_01_03): Likewise.
9583 (struct struct_01_04): Likewise.
9584 (struct struct_02_01): Likewise.
9585 (struct struct_02_02): Likewise.
9586 (struct struct_02_03): Likewise.
9587 (struct struct_02_04): Likewise.
9588 (struct struct_04_01): Likewise.
9589 (struct struct_04_02): Likewise.
9590 (struct struct_04_03): Likewise.
9591 (struct struct_04_04): Likewise.
9592 (struct struct_05_01): Likewise.
9593 (struct struct_05_02): Likewise.
9594 (struct struct_05_03): Likewise.
9595 (struct struct_05_04): Likewise.
9596 (cmp_struct01): Remove function.
9597 (cmp_struct02): Likewise.
9598 (cmp_struct03): Likewise.
9599 (cmp_struct04): Likewise.
9600 (cmp_struct_01_01): Add Function.
9601 (cmp_struct_01_02): Likewise.
9602 (cmp_struct_01_03): Likewise.
9603 (cmp_struct_01_04): Likewise.
9604 (cmp_struct_02_01): Likewise.
9605 (cmp_struct_02_02): Likewise.
9606 (cmp_struct_02_03): Likewise.
9607 (cmp_struct_02_04): Likewise.
9608 (cmp_struct_04_01): Likewise.
9609 (cmp_struct_04_02): Likewise.
9610 (cmp_struct_04_03): Likewise.
9611 (cmp_struct_04_04): Likewise.
9612 (cmp_struct_05_01): Likewise.
9613 (cmp_struct_05_02): Likewise.
9614 (cmp_struct_05_03): Likewise.
9615 (cmp_struct_05_04): Likewise.
9616 (call_all): Add new structs.
9617 * gdb.base/infcall-nested-structs.exp: Likewise.
9618
96192018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9620
9621 * gdb.python/py-framefilter-mi.exp: Update regexp to
9622 check for "arch" field in frame output.
9623
96242018-08-23 Kevin Buettner <kevinb@redhat.com>
9625
9626 * gdb.dwarf2/dw2-ranges-func.c: New file.
9627 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9628
96292018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9630
9631 * gdb.base/term.exp: Compare terminal settings with values from
9632 the inferior.
9633 * gdb.base/term.c: Get and set terminal settings.
9634
96352018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9636
9637 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9638 accommodate new "arch" field in frame output.
9639 * gdb.mi/mi-return.exp: Likewise.
9640 * gdb.mi/mi-stack.exp: Likewise.
9641 * gdb.mi/mi-syn-frame.exp: Likewise.
9642 * gdb.mi/user-selected-context-sync.exp: Likewise.
9643
96442018-08-19 Michael Spang <spang@google.com>
9645
9646 PR gdb/11786
9647 * gdb.base/gcore-tls-pie.c: New file.
9648 * gdb.base/gcore-tls-pie.exp: New file.
9649
96502018-08-18 Kevin Buettner <kevinb@redhat.com>
9651
9652 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
9653 * gdb.dwarf2/varval.c: New file.
9654 * gdb.dwarf2/varval.exp: New file.
9655
96562018-08-17 Alan Hayward <alan.hayward@arm.com>
9657
9658 PR gdb/18931
9659 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9660
96612018-08-16 Keith Seitz <keiths@redhat.com>
9662
9663 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9664 tests expected to pass.
9665
96662018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9667
9668 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9669 -data-disassemble -a.
9670 (test_disassembly_bogus_args): Likewise.
9671
96722018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9673
9674 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9675
96762018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9677
9678 * gdb.base/vla-optimized-out.exp: Add new test.
9679
96802018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9681
9682 * gdb.base/vla-optimized-out-o3.exp: Delete.
9683 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9684 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9685 deleted tests.
9686
96872018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9688
9689 PR gdb/18050:
9690 * gdb.server/extended-remote-restart.c: New file.
9691 * gdb.server/extended-remote-restart.exp: New file.
9692
96932018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9694
9695 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9696 "set variable index = 42".
9697
96982018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9699
9700 * boards/index-cache-gdb.exp: New file.
9701 * gdb.dwarf2/index-cache.exp: New file.
9702 * gdb.dwarf2/index-cache.c: New file.
9703 * gdb.base/maint.exp: Check if we are using the index cache.
9704
97052018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9706
9707 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9708 MAKEFLAGS.
9709
97102018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9711
9712 * dg-extract-results.sh: Move to toplevel contrib.
9713 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9714 * Makefile.in (check-parallel-racy): Likewise.
9715
97162018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9717
9718 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9719 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9720 tests if the target supports scheduler locking.
9721
97222018-08-04 Tom de Vries <tdevries@suse.de>
9723
9724 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9725
97262018-08-02 Tom Tromey <tom@tromey.com>
9727
9728 PR symtab/16842.
9729 * gdb.cp/temargs.exp: Test "info address" of a template
9730 parameter.
9731
97322018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9733
9734 * gdb.python/py-mi-var-info-path-expression.c: New file.
9735 * gdb.python/py-mi-var-info-path-expression.py: New file.
9736 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9737
97382018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9739
9740 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9741 error after "cannot resolve name" string.
9742
97432018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9744
9745 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9746 started.
9747 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9748
97492018-07-28 Tom de Vries <tdevries@suse.de>
9750
9751 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9752
97532018-07-26 Tom de Vries <tdevries@suse.de>
9754
9755 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9756
97572018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9758
9759 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9760 is visible.
9761
97622018-07-26 Tom de Vries <tdevries@suse.de>
9763
9764 PR breakpoints/23366
9765 * gdb.base/catch-follow-exec.c: New test.
9766 * gdb.base/catch-follow-exec.exp: New file.
9767
97682018-07-25 Tom de Vries <tdevries@suse.de>
9769
9770 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9771 vla-optimized-out.c.
9772
97732018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9774
9775 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9776 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9777
97782018-07-20 Tom de Vries <tdevries@suse.de>
9779
9780 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9781 NOCLONE macro.
9782 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9783
97842018-07-19 Tom de Vries <tdevries@suse.de>
9785
9786 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9787 regular expression.
9788
97892018-07-18 Tom de Vries <tdevries@suse.de>
9790
9791 * gdb.base/vla-optimized-out.c: New test.
9792 * gdb.base/vla-optimized-out.exp: New file.
9793
97942018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9795
9796 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9797 message "No address associated with hostname" when gdbserver
9798 cannot resolve the hostname.
9799
98002018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9801
9802 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9803 Add some test prefixes to make tests unique.
9804
98052018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9806
9807 * gdb.base/frameapply.c: New file.
9808 * gdb.base/frameapply.exp: New file.
9809
98102018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9811
9812 * gdb.base/skip.exp: Update expected error message.
9813
98142018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9815 Jan Kratochvil <jan.kratochvil@redhat.com>
9816 Paul Fertser <fercerpav@gmail.com>
9817 Tsutomu Seki <sekiriki@gmail.com>
9818
9819 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9820 parameter.
9821 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9822 by default.
9823 * boards/native-gdbserver.exp: Likewise.
9824 * gdb.server/run-without-local-binary.exp: Improve regexp used
9825 for detecting when a remote debugging connection succeeds.
9826 * gdb.server/server-connect.exp: New file.
9827 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9828 Do not prefix the port number with ":".
9829 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9830 support for detecting and using it. Add '$debughost_gdbserver'
9831 to the list of arguments used to start gdbserver. Handle case
9832 when gdbserver cannot resolve a network name.
9833
98342018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9835
9836 PR c++/23373
9837 * gdb.base/ptype-offsets.cc (struct static_member): New
9838 struct.
9839 (main) <stmember>: New variable.
9840 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9841 with a static member in it.
9842
98432018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9844
9845 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9846 watchpoints enabled and disabled.
9847
98482018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9849
9850 * gdb.base/examine-backward.exp: Still run tests around address
9851 0x0, even if address 0x0 is not readable. Update the pattern for
9852 matching address 0x0 in expected output.
9853
98542018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9855
9856 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9857 malloc/free.
9858
98592018-07-04 Tom de Vries <tdevries@suse.de>
9860
9861 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9862
98632018-07-02 Maciej W. Rozycki <macro@mips.com>
9864
9865 PR tdep/8282
9866 * gdb.arch/mips-disassembler-options.exp: New test.
9867 * gdb.arch/mips-disassembler-options.s: New test source.
9868
98692018-06-29 Pedro Alves <palves@redhat.com>
9870
9871 * gdb.threads/names.exp: Adjust expected "info threads" output.
9872
98732018-06-29 Pedro Alves <palves@redhat.com>
9874
9875 * gdb.opt/inline-break.exp (line number, address): Add "info
9876 break" tests.
9877
98782018-06-29 Pedro Alves <palves@redhat.com>
9879
9880 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9881 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9882 number and address and running to them.
9883
98842018-06-29 Richard Bunt <richard.bunt@arm.com>
9885
9886 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9887
98882018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9889
9890 * lib/compiler.c: Remove executable permission flag.
9891
98922018-06-28 Richard Bunt <richard.bunt@arm.com>
9893
9894 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9895 code.
9896 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9897
98982018-06-28 Petr Tesarik <ptesarik@suse.cz>
9899
9900 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9901
99022018-06-28 Petr Tesarik <ptesarik@suse.cz>
9903
9904 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9905 address argument is omitted.
9906
99072018-06-28 Petr Tesarik <ptesarik@suse.cz>
9908
9909 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9910
99112018-06-27 Omair Javaid <omair.javaid@linaro.org>
9912
9913 PR gdb/21695
9914 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9915 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9916
99172018-06-26 Tom Tromey <tom@tromey.com>
9918
9919 PR rust/22574:
9920 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9921 * gdb.rust/simple.rs (struct SimpleLayout): New.
9922
99232018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9924
9925 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9926 "info registers" output.
9927
99282018-06-21 Richard Bunt <richard.bunt@arm.com>
9929
9930 * gdb.base/watchpoint-hw-attach.c: New test.
9931 * gdb.base/watchpoint-hw-attach.exp: New file.
9932
99332018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9934
9935 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9936 through /bin/sh.
9937 * boards/dwarf4-gdb-index.exp: Likewise.
9938 * boards/fission-dwp.exp: Likewise.
9939
99402018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9941
9942 * gdb.base/float128.exp: Add comment and improved fail message
9943 to the failure case of "print large128" test.
9944
99452018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9946
9947 * configure.ac: Remove AC_PREREQ.
9948 * configure: Re-generate.
9949
99502018-06-19 Pedro Alves <palves@redhat.com>
9951
9952 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9953 (func_extern_caller): New.
9954 (main): Call func_extern_caller.
9955 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9956 logic change.
9957
99582018-06-18 Weimin Pan <weimin.pan@oracle.com>
9959
9960 PR gdb/16841
9961 * gdb.cp/typedef-base.cc: New file.
9962 * gdb.cp/typedef-base.exp: New file.
9963
99642018-06-18 Tom de Vries <tdevries@suse.de>
9965
9966 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9967
99682018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9969 Richard Bunt <Richard.Bunt@arm.com>
9970
9971 * gdb.threads/attach-slow-waitpid.c: New file.
9972 * gdb.threads/attach-slow-waitpid.exp: New file.
9973 * gdb.threads/slow-waitpid.c: New file.
9974
99752018-06-14 Pedro Alves <palves@redhat.com>
9976
9977 * gdb.base/fork-running-state.c: Include <errno.h>.
9978 (exit_if_relative_exits): New.
9979 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9980 exits.
9981 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9982 child exits.
9983
99842018-06-14 Tom de Vries <tdevries@suse.de>
9985
9986 PR cli/22573
9987 * gdb.base/finish-pretty.c: New test.
9988 * gdb.base/finish-pretty.exp: New file.
9989
99902018-06-14 Pedro Alves <palves@redhat.com>
9991
9992 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9993 gdb's expected startup output.
9994
99952018-06-14 Pedro Alves <palves@redhat.com>
9996
9997 * lib/selftest-support.exp (selftest_setup): Remove inlined
9998 function handling.
9999
100002018-06-14 Tom de Vries <tdevries@suse.de>
10001
10002 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10003 matching of breakpoint printing.
10004
100052018-06-13 Tom de Vries <tdevries@suse.de>
10006
10007 PR testsuite/23269
10008 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10009 (fork_child): ... here, and ...
10010 (fork_parent): ... here.
10011
100122018-06-12 Tom de Vries <tdevries@suse.de>
10013
10014 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10015
100162018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10017 Stephen Roberts <stephen.roberts@arm.com>
10018
10019 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10020 rewrite test to describe action performed, rather than possible
10021 failure.
10022
100232018-06-08 Gary Benson <gbenson@redhat.com>
10024
10025 * gdb.threads/check-libthread-db.exp: New file.
10026 * gdb.threads/check-libthread-db.c: Likewise.
10027
100282018-06-05 Tom Tromey <tom@tromey.com>
10029
10030 * gdb.base/default.exp: Update expected "show version" output.
10031
100322018-06-05 Tom Tromey <tom@tromey.com>
10033
10034 PR cli/12326:
10035 * gdb.cp/static-print-quit.exp: Update.
10036 * lib/gdb.exp (pagination_prompt): Update.
10037 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10038 * gdb.python/python.exp: Update.
10039
100402018-06-04 Joel Brobecker <brobecker@adacore.com>
10041
10042 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10043
100442018-06-01 Joel Brobecker <brobecker@adacore.com>
10045
10046 * gdb.ada/bp_fun_addr: New testcase.
10047
100482018-06-01 Tom Tromey <tom@tromey.com>
10049
10050 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10051 results.
10052 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10053 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10054 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10055 * gdb.base/maint.exp (maint_pass_if): Update.
10056
100572018-05-31 Maciej W. Rozycki <macro@mips.com>
10058
10059 * gdb.base/endian.exp: New test.
10060 * gdb.base/endian.c: New test source.
10061
100622018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10063
10064 PR gdb/23203
10065 * gdb.base/bt-selected-frame.c: New file.
10066 * gdb.base/bt-selected-frame.exp: New file.
10067 * lib/gdb.exp (get_current_frame_number): New function.
10068
100692018-05-24 Maciej W. Rozycki <macro@mips.com>
10070 Pedro Alves <palves@redhat.com>
10071
10072 * gdb.threads/tls-core.c: Include <stdlib.h>
10073 (thread_proc): Call `abort'.
10074 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10075 (tls_core_test): New procedure, bits factored out from ...
10076 (top level): ... here. Test both native cores and gcore cores.
10077
100782018-05-23 Tom Tromey <tom@tromey.com>
10079
10080 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10081
100822018-05-23 Tom Tromey <tom@tromey.com>
10083
10084 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10085 symfile_complaints.
10086 (test_short_complaints): Likewise.
10087 (test_empty_complaints): Likewise.
10088 (test_initial_complaints): Update.
10089
100902018-05-23 Tom Tromey <tom@tromey.com>
10091
10092 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10093
100942018-05-23 Tom Tromey <tom@tromey.com>
10095
10096 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10097 (test_short_complaints): Update.
10098
100992018-05-22 Pedro Alves <palves@redhat.com>
10100
10101 * gdb.base/remote.exp: Only gdb_start after compiling the
10102 testcase. Issue "disconnect" before testing "set remote" command
10103 defaults. Issue clean_restart before running to main.
10104
101052018-05-22 Pedro Alves <palves@redhat.com>
10106
10107 * gdb.base/remote.exp: Adjust expected output of "show remote
10108 memory-write-packet-size". Add tests for "set remote
10109 memory-write-packet-size 0" and "set remote
10110 memory-write-packet-size fixed/limit".
10111
101122018-05-22 Pedro Alves <palves@redhat.com>
10113
10114 PR gdb/22973
10115 * gdb.base/utf8-identifiers.c: New file.
10116 * gdb.base/utf8-identifiers.exp: New file.
10117
101182018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10119
10120 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10121
101222018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10123
10124 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10125
101262018-05-18 Tom Tromey <tom@tromey.com>
10127
10128 * gdb.base/ptype-offsets.exp: Update.
10129
101302018-05-17 Keith Seitz <keiths@redhat.com>
10131
10132 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10133 in expected breakpoint stop locations.
10134 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10135 move to proper scope to test variable values.
10136 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10137 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10138 New functions.
10139 (main): Call not_inline_func3.
10140 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10141 inline_func1, inline_func2, and inline_func3. Test that when each
10142 breakpoint is hit, GDB properly reports both the stop location
10143 and the backtrace. Repeat tests for temporary breakpoints.
10144
101452018-05-15 Maciej W. Rozycki <macro@mips.com>
10146
10147 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10148 rather then trying to access it in determining whether the PID
10149 of `gdbserver' could have been retrieved.
10150
101512018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10152
10153 * gdb.arch/amd64-init-x87-values.S: New file.
10154 * gdb.arch/amd64-init-x87-values.exp: New file.
10155
101562018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10157
10158 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10159
101602018-05-04 Tom Tromey <tom@tromey.com>
10161
10162 PR python/22730:
10163 * gdb.python/python.exp: Test multi-line execute.
10164
101652018-05-04 Tom Tromey <tom@tromey.com>
10166
10167 PR python/22731:
10168 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10169
101702018-05-04 Tom Tromey <tom@tromey.com>
10171
10172 PR gdb/11750:
10173 * gdb.base/define.exp: Test defining a user command inside a user
10174 command.
10175 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10176
101772018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10178 Pedro Alves <palves@redhat.com>
10179
10180 PR breakpoints/19806 and support for PR external/20207.
10181 * gdb.base/watchpoint-unaligned.c: New file.
10182 * gdb.base/watchpoint-unaligned.exp: New file.
10183
101842018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10185
10186 * gdb.base/maint.exp: Make test names unique, use
10187 test_prefix_command_help to test 'help maint info', and remove
10188 repeated test of 'help maint'.
10189
101902018-05-04 Tom Tromey <tom@tromey.com>
10191
10192 PR gdb/22619:
10193 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10194 behavior.
10195
101962018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10197
10198 * gdb.base/maint.exp: Process output from 'maint print registers'
10199 line at a time.
10200
102012018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10202
10203 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10204 timeout.
10205
102062018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10207
10208 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10209 filter pattern.
10210
102112018-05-02 Pedro Alves <palves@redhat.com>
10212
10213 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10214 to_log_command renames.
10215 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10216
102172018-05-02 Tom Tromey <tom@tromey.com>
10218
10219 * gdb.python/py-parameter.exp: Set test message.
10220
102212018-05-02 Tom Tromey <tom@tromey.com>
10222
10223 PR python/20084:
10224 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10225 PARAM_ZUINTEGER_UNLIMITED tests.
10226
102272018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10228
10229 PR rust/23124
10230 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10231 when casting.
10232
102332018-04-30 Tom Tromey <tom@tromey.com>
10234
10235 * gdb.python/py-type.exp: Check align attribute.
10236 * gdb.python/py-type.c: New "aligncheck" global.
10237
102382018-04-30 Tom Tromey <tom@tromey.com>
10239
10240 PR exp/17095:
10241 * gdb.dwarf2/dw2-align.exp: New file.
10242 * gdb.cp/align.exp: New file.
10243 * gdb.base/align.exp: New file.
10244 * lib/gdb.exp (gdb_int128_helper): New proc.
10245 (has_int128_c, has_int128_cxx): New caching procs.
10246
102472018-04-27 Tom Tromey <tom@tromey.com>
10248
10249 PR rust/22545:
10250 * gdb.rust/simple.exp: Add inclusive range tests.
10251
102522018-04-26 Pedro Alves <palves@redhat.com>
10253
10254 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10255 ifunc breakpoint locations correctly of ifunc breakpoints set
10256 while the program resolves the ifunc.
10257
102582018-04-26 Pedro Alves <palves@redhat.com>
10259
10260 * gdb.base/gnu-ifunc-final.c: New file.
10261 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10262 * gdb.base/gnu-ifunc.exp (executable): Delete.
10263 (staticexecutable): Adjust.
10264 (lib_opts, exec_opts): Delete.
10265 (make_binsuffix, build, set-break): New procedures.
10266 (misc_tests): New, with tests factored out from the top level.
10267 (top level): Test different combinations of ifunc resolver name,
10268 resolver with and with debug info, and ifunc target with and
10269 without debug info. Wrap static tests with with_target_prefix.
10270
102712018-04-26 Pedro Alves <palves@redhat.com>
10272
10273 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10274 return type" warnings.
10275
102762018-04-25 Pedro Alves <palves@redhat.com>
10277
10278 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10279 killed".
10280 * gdb.base/kill-after-signal.exp: Likewise.
10281 * gdb.threads/kill.exp: Likewise.
10282
102832018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10284 Sergio Durigan Junior <sergiodj@redhat.com>
10285 Pedro Alves <palves@redhat.com>
10286
10287 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10288 regexps to expect for '[Inferior ... detached]' as well.
10289 * gdb.base/attach.exp: Likewise.
10290 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10291 "gdb_continue_to_end".
10292 (test_catch_syscall_with_wrong_args): Likewise.
10293 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10294 ']'. Don't set 'verbose' on.
10295 * gdb.base/foll-vfork.exp: Likewise.
10296 * gdb.base/fork-print-inferior-events.c: New file.
10297 * gdb.base/fork-print-inferior-events.exp: New file.
10298 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10299 '[Inferior ... has been killed]' message.
10300 * gdb.base/kill-after-signal.exp: Likewise.
10301 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10302 detach message.
10303 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10304 message.
10305 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10306 regexps to expect for '[Inferior ... detached]' as well.
10307 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10308
103092018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10310
10311 PR gdb/23104
10312 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10313
103142018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10315
10316 PR gdb/23095
10317 * gdb.base/break-probes.exp: Pass shlib_load to
10318 prepare_for_testing. Set normal_bp to r_debug_state if target is
10319 bsd.
10320
103212018-04-19 Richard Bunt <richard.bunt@arm.com>
10322
10323 * gdb.threads/multiple-successive-infcall.c: New test.
10324 * gdb.threads/multiple-successive-infcall.exp: New file.
10325
103262018-04-17 Tom Tromey <tom@tromey.com>
10327
10328 * gdb.rust/simple.rs (Union): New type.
10329 (main): New local "u".
10330 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10331
103322018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10333
10334 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10335 number information in output of "whereis" command.
10336 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10337
103382018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10339
10340 * gdb.ada/info_types.exp: Adjust expected output to the line
10341 numbers now printed by "info var/func/type".
10342 * gdb.base/completion.exp: Likewise.
10343 * gdb.base/included.exp: Likewise.
10344 * gdb.cp/cp-relocate.exp: Likewise.
10345 * gdb.cp/cplusfuncs.exp: Likewise.
10346 * gdb.cp/namespace.exp: Likewise.
10347 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10348
103492018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10350
10351 * gdb.btrace/cpu.exp: New.
10352
103532018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10354
10355 * gdb.base/step-indirect-call-thunk.exp: New.
10356 * gdb.base/step-indirect-call-thunk.c: New.
10357 * gdb.reverse/step-indirect-call-thunk.exp: New.
10358 * gdb.reverse/step-indirect-call-thunk.c: New.
10359
103602018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10361
10362 * gdb.base/pie-fork.c: New file.
10363 * gdb.base/pie-fork.exp: New file.
10364
103652018-04-11 Tom Tromey <tom@tromey.com>
10366
10367 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10368
103692018-04-10 Pedro Alves <palves@redhat.com>
10370
10371 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10372 exits. Instead loop running forever.
10373 (fork_parent): Run forever too.
10374
103752018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10376
10377 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10378 mi_continue_to_line.
10379 * gdb.mi/mi-stack.c (callee4): Add comment.
10380
103812018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10382
10383 * gdb.mi/mi-stack.exp: Fix indentation.
10384
103852018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10386
10387 PR gdb/22979
10388 * gdb.arch/amd64-osabi.exp: New file.
10389
103902018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10391
10392 PR gdb/22980
10393 * gdb.base/osabi.exp: New file.
10394
103952018-04-02 Weimin Pan <weimin.pan@oracle.com>
10396
10397 * gdb.cp/static-typedef-print.exp: New file.
10398 * gdb.cp/static-typedef-print.cc: New file.
10399
104002018-03-27 Joel Brobecker <brobecker@adacore.com>
10401
10402 * gdb.ada/varsize_limit: New testcase.
10403
104042018-03-27 Joel Brobecker <brobecker@adacore.com>
10405
10406 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10407
10408 * gdb.ada/notcplusplus: New testcase.
10409
10410 * gdb.base/c-linkage-name.c: New file.
10411 * gdb.base/c-linkage-name.exp: New testcase.
10412
104132018-03-26 Tom Tromey <tom@tromey.com>
10414
10415 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10416 * gdb.python/py-framefilter.py (name_error): New global.
10417 (ErrorInName.function): Use name_error.
10418
104192018-03-26 Tom Tromey <tom@tromey.com>
10420
10421 PR backtrace/15582:
10422 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10423
104242018-03-23 Keith Seitz <keiths@redhat.com>
10425
10426 PR c++/22968
10427 * gdb.cp/subtypes.exp: New file.
10428 * gdb.cp/subtypes.h: New file.
10429 * gdb.cp/subtypes.cc: New file.
10430 * gdb.cp/subtypes-2.cc: New file.
10431
104322018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10433
10434 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10435 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10436 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10437 -nostartfiles when compiling the test. Confirm that all registers
10438 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10439
104402018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10441
10442 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10443 option, syntax was wrong anyway.
10444 * gdb.arch/arm-disp-step.exp: Likewise.
10445 * gdb.arch/sparc64-regs.exp: Likewise.
10446 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10447 option, syntax was wrong anyway, switch to use
10448 prepare_for_testing.
10449 * gdb.arch/i386-disp-step.exp: Likewise.
10450
104512018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10452
10453 * gdb.ada/exec_changed.exp: Replace "target_info exists
10454 use_gdb_stub" by "use_gdb_stub".
10455 * gdb.ada/start.exp: Likewise.
10456 * gdb.base/async-shell.exp: Likewise.
10457 * gdb.base/attach-pie-misread.exp: Likewise.
10458 * gdb.base/attach-wait-input.exp: Likewise.
10459 * gdb.base/break-entry.exp: Likewise.
10460 * gdb.base/break-interp.exp: Likewise.
10461 * gdb.base/dprintf-detach.exp: Likewise.
10462 * gdb.base/nostdlib.exp: Likewise.
10463 * gdb.base/solib-nodir.exp: Likewise.
10464 * gdb.base/statistics.exp: Likewise.
10465 * gdb.base/testenv.exp: Likewise.
10466 * gdb.mi/mi-exec-run.exp: Likewise.
10467 * gdb.mi/mi-start.exp: Likewise.
10468 * gdb.multi/dummy-frame-restore.exp: Likewise.
10469 * gdb.multi/multi-arch-exec.exp: Likewise.
10470 * gdb.multi/multi-arch.exp: Likewise.
10471 * gdb.multi/tids.exp: Likewise.
10472 * gdb.multi/watchpoint-multi.exp: Likewise.
10473 * gdb.python/py-events.exp: Likewise.
10474 * gdb.threads/attach-into-signal.exp: Likewise.
10475 * gdb.threads/attach-stopped.exp: Likewise.
10476 * gdb.threads/threadapply.exp: Likewise.
10477 * lib/selftest-support.exp: Likewise.
10478
104792018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10480
10481 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10482
104832018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10484
10485 * gdb.perf/template-breakpoints.cc: New file.
10486 * gdb.perf/template-breakpoints.exp: New file.
10487 * gdb.perf/template-breakpoints.py: New file.
10488
104892018-03-19 Tom Tromey <tom@tromey.com>
10490
10491 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10492 y0.
10493 * gdb.rust/simple.exp: Test bare identifier form of struct
10494 initializer.
10495
104962018-03-19 Tom Tromey <tom@tromey.com>
10497
10498 * gdb.gdb/observer.exp: Remove.
10499
105002018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10501
10502 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10503 "qualified" option when setting breakpoints.
10504 * gdb.trace/backtrace.exp: Likewise.
10505 * gdb.trace/circ.exp: Likewise.
10506 * gdb.trace/collection.exp: Likewise.
10507 * gdb.trace/disconnected-tracing.exp: Likewise.
10508 * gdb.trace/ftrace-lock.exp: Likewise.
10509 * gdb.trace/ftrace.exp: Likewise.
10510 * gdb.trace/infotrace.exp: Likewise.
10511 * gdb.trace/packetlen.exp: Likewise.
10512 * gdb.trace/passc-dyn.exp: Likewise.
10513 * gdb.trace/qtro.exp: Likewise.
10514 * gdb.trace/read-memory.exp: Likewise.
10515 * gdb.trace/report.exp: Likewise.
10516 * gdb.trace/signal.exp: Likewise.
10517 * gdb.trace/status-stop.exp: Likewise.
10518 * gdb.trace/strace.exp: Likewise.
10519 * gdb.trace/tfind.exp: Likewise.
10520 * gdb.trace/trace-break.exp: Likewise.
10521 * gdb.trace/trace-condition.exp: Likewise.
10522 * gdb.trace/trace-mt.exp: Likewise.
10523 * gdb.trace/tstatus.exp: Likewise.
10524 * gdb.trace/tsv.exp: Likewise.
10525 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10526 * gdb.trace/unavailable.exp: Likewise.
10527 * gdb.trace/while-dyn.exp: Likewise.
10528
105292018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10530
10531 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10532 that libinproctrace is copied to the target.
10533
105342018-03-14 Tom Tromey <tom@tromey.com>
10535
10536 PR cli/14977:
10537 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10538 a null pointer.
10539 * gdb.base/wchar.exp: Likewise.
10540
105412018-03-14 Tom Tromey <tom@tromey.com>
10542
10543 PR cli/19918:
10544 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10545 flag.
10546
105472018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10548
10549 PR gdb/22841
10550 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10551 "target" to remote_exec.
10552
105532018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10554
10555 PR gdb/22841
10556 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10557 ${board}_upload): Remove.
10558
105592018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10560
10561 * gdb.cp/watch-cp.cc: New test.
10562 * gdb.cp/watch-cp.exp: New file.
10563
105642018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10565
10566 * gdb.base/infcall-nested-structs.exp: New file.
10567 * gdb.base/infcall-nested-structs.c: New file.
10568 * gdb.base/float.exp: Add riscv support.
10569
105702018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10571
10572 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10573 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10574
105752018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10576
10577 * gdb.server/abspath.exp: New file.
10578 * lib/gdb.exp (with_cwd): New procedure.
10579
105802018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10581
10582 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10583 use it.
10584 (gdb_is_target_remote_prompt): New proc.
10585 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10586 (gdb_is_target_native): Pass prompt parameter to
10587 gdb_is_target_1.
10588
105892018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10590
10591 * gdb.base/load-command.c: New file.
10592 * gdb.base/load-command.exp: New file.
10593 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10594 (gdb_is_target_1): ...this, and generalize for other targets
10595 than just remote.
10596 (gdb_is_target_remote): Use gdb_is_target_1.
10597 (gdb_is_target_native): use gdb_is_target_1.
10598
105992018-02-26 Tom Tromey <tom@tromey.com>
10600
10601 PR python/16497:
10602 * gdb.python/py-framefilter.exp: Update test.
10603
106042018-02-26 Tom Tromey <tom@tromey.com>
10605
10606 * gdb.dwarf2/variant.c: New file.
10607 * gdb.dwarf2/variant.exp: New file.
10608
106092018-02-26 Tom Tromey <tom@tromey.com>
10610
10611 * gdb.rust/simple.exp: Accept more possible results in enum test.
10612
106132018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10614
10615 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10616 parentheses.
10617
106182018-02-23 Maciej W. Rozycki <macro@mips.com>
10619
10620 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10621 name of a variable: $actual_linejj -> $actual_line.
10622
106232018-02-21 John Baldwin <jhb@FreeBSD.org>
10624
10625 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10626
106272018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10628
10629 * gdb.btrace/buffer-size.exp: Do not force BTS.
10630
106312018-02-14 Pedro Alves <palves@redhat.com>
10632
10633 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10634 getting a "Quit".
10635
106362018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10637
10638 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10639 Fix test name.
10640
106412018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10642
10643 * gdb.cp/m-static.exp: Check type of optimized out static
10644 member.
10645
106462018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10647
10648 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10649 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10650
106512018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10652 Leszek Swirski <leszeks@google.com>
10653
10654 * gdb.python/py-prettyprint.c
10655 (struct to_string_returns_value_inner,
10656 struct to_string_returns_value_wrapper): New.
10657 (main): Add tsrvw variable.
10658 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10659 ToStringReturnsValueWrapper): New classes.
10660 (register_pretty_printers): Register new pretty-printers.
10661 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10662 recursive pretty printer.
10663 * gdb.python/py-mi.exp: Likewise.
10664
106652018-02-01 Leszek Swirski <leszeks@google.com>
10666
10667 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10668 functions with the same name as an include file are parsed
10669 correctly.
10670
106712018-02-01 Yao Qi <yao.qi@linaro.org>
10672
10673 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10674 "\[^\r\n\]*".
10675
106762018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10677
10678 * gdb.arch/powerpc-prologue-frame.s: New file.
10679 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10680 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10681
106822018-01-31 Joel Brobecker <brobecker@adacore.com>
10683
10684 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10685
106862018-01-30 Pedro Alves <palves@redhat.com>
10687
10688 PR gdb/13211
10689 * gdb.base/interrupt-daemon.c: New.
10690 * gdb.base/interrupt-daemon.exp: New.
10691 * gdb.multi/multi-term-settings.c: New.
10692 * gdb.multi/multi-term-settings.exp: New.
10693
106942018-01-30 Joel Brobecker <brobecker@adacore.com>
10695
10696 * gdb.base/break.exp: Save the location where the breakpoint
10697 on break.c:47 was actually inserted when debugging the version
10698 compiled at -O2 and use it in the expected output of the "info
10699 break" test performed soon after.
10700
107012018-01-22 Pedro Alves <palves@redhat.com>
10702 Sergio Durigan Junior <sergiodj@redhat.com>
10703
10704 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10705 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10706
107072018-01-22 Joel Brobecker <brobecker@adacore.com>
10708
10709 * gdb.base/break-include.c, gdb.base/break-include.inc,
10710 gdb.base/break-include.exp: New files.
10711 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10712 line number now being the actual line number where the breakpoint
10713 was inserted.
10714 * gdb.mi/mi-break.exp: Likewise.
10715 * gdb.mi/mi-reverse.exp: Likewise.
10716 * gdb.mi/mi-simplerun.exp: Ditto.
10717
107182018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10719
10720 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10721 varobj.
10722 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10723
107242018-01-21 Don Breazeal <donb@codesourcery.com>
10725 Andrew Burgess <andrew.burgess@embecosm.com>
10726
10727 * gdb.mi/basics.c: Add new global.
10728 * gdb.mi/mi-frame-regs.exp: New file.
10729 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10730 case.
10731
107322018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10733
10734 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10735 non-parameter, and on an unknown symbol.
10736
107372018-01-19 Tom Tromey <tom@tromey.com>
10738
10739 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10740 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10741
107422018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10743
10744 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10745 setrlimit and chdir to int.
10746
107472018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10748
10749 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10750 function.
10751 (my_tend): Likewise.
10752 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10753 rationale of avoiding FP- and vector instructions.
10754
107552018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10756
10757 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10758 "info reg" with "\[ \t\]*".
10759 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10760 "\[ \t\]+".
10761 * gdb.arch/s390-multiarch.exp: Ditto.
10762 * gdb.base/pc-fp.exp: Ditto.
10763 * gdb.reverse/i386-precsave.exp: Ditto.
10764 * gdb.reverse/i386-reverse.exp: Ditto.
10765 * gdb.reverse/i387-env-reverse.exp: Ditto.
10766 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10767
107682018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10769
10770 * lib/gdb.exp (gdb_compile): Re-enable use of
10771 universal_compile_options for languages other than Rust.
10772
107732018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10774
10775 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10776
107772018-01-17 Mike Gulick <mgulick@mathworks.com>
10778
10779 PR gdb/16577
10780 * gdb.base/solib-vanish.exp: New.
10781 * gdb.base/solib-vanish-main.c: New.
10782 * gdb.base/solib-vanish-lib1.c: New.
10783 * gdb.base/solib-vanish-lib2.c: New.
10784
107852018-01-17 Yao Qi <yao.qi@linaro.org>
10786
10787 * gdb.compile/compile.exp: Match the address printed for
10788 frame in the output of command "bt".
10789
107902018-01-15 Tom Tromey <tom@tromey.com>
10791
10792 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10793 compute sp_reg.
10794
107952018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10796
10797 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10798 to prepare.
10799 (prepare): Return 0 on error, 1 on success.
10800
108012018-01-12 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.base/continue-after-aborted-step-over.c: New.
10804 * gdb.base/continue-after-aborted-step-over.exp: New.
10805
108062018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10807
10808 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10809 options when not creating an executable.
10810
108112018-01-11 Pedro Alves <palves@redhat.com>
10812
10813 PR remote/22597
10814 * gdb.server/stop-reply-no-thread.c: New file.
10815 * gdb.server/stop-reply-no-thread.exp: New file.
10816
108172018-01-10 Pedro Alves <palves@redhat.com>
10818
10819 PR gdb/22670
10820 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10821 functions too. Test setting breakpoints and printing C functions
10822 with no debug info too.
10823 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10824
108252018-01-10 Pedro Alves <palves@redhat.com>
10826
10827 PR gdb/22670
10828 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10829 a fail.
10830
108312018-01-10 Pedro Alves <palves@redhat.com>
10832
10833 PR gdb/22670
10834 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10835
108362018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10837
10838 * gdb.server/unittest.exp: Match the output in non-development
10839 mode.
10840
108412018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10842
10843 * gdb.gdb/unittest.exp: Match output in non-development mode.
10844
108452018-01-08 Joel Brobecker <brobecker@adacore.com>
10846
10847 * gdb.ada/access_tagged_param.exp: Relax expected output
10848 for value of "ObjL" in "continue" to pck.inspect breakpoint
10849 test.
10850
108512018-01-08 Joel Brobecker <brobecker@adacore.com>
10852
10853 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10854 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
10855
108562018-01-05 Pedro Alves <palves@redhat.com>
10857
10858 PR gdb/18653
10859 * gdb.base/libsegfault.exp: New.
10860
108612018-01-05 Joel Brobecker <brobecker@adacore.com>
10862
10863 PR gdb/22670
10864 * gdb.ada/access_tagged_param.exp: New file.
10865 * gdb.ada/access_tagged_param/foo.adb: New file.
10866
108672018-01-05 Pedro Alves <palves@redhat.com>
10868
10869 PR gdb/22670
10870 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10871 exercise lower case too, and to exercise both full matching and
10872 wild matching.
10873
108742018-01-05 Joel Brobecker <brobecker@adacore.com>
10875
10876 * gdb.ada/rename_subscript_param: New testcase.
10877
108782018-01-05 Jerome Guitton <guitton@adacore.com>
10879
10880 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10881
108822018-01-05 Joel Brobecker <brobecker@adacore.com>
10883
10884 * gdb.ada/convvar_comp: New testcase.
10885
108862018-01-05 Xavier Roirand <roirand@adacore.com>
10887
10888 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10889 (My_Table): New global variable.
10890 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10891
108922018-01-04 Joel Brobecker <brobecker@adacore.com>
10893
10894 PR gdb/22670
10895 * gdb.ada/maint_with_ada: New testcase.
10896
108972018-01-04 Joel Brobecker <brobecker@adacore.com>
10898
10899 PR gdb/22670
10900 * gdb.ada/bp_c_mixed_case: New testcase.
10901
109022018-01-04 Joel Brobecker <brobecker@adacore.com>
10903
10904 PR gdb/22670
10905 * gdb.ada/complete.exp: Add "complete break ada" test.
10906
109072018-01-04 Joel Brobecker <brobecker@adacore.com>
10908
10909 PR gdb/22670
10910 * gdb.ada/info_addr_mixed_case: New testcase.
10911
109122018-01-03 Xavier Roirand <roirand@adacore.com>
10913
10914 * gdb.ada/excep_handle.exp: New testcase.
10915 * gdb.ada/excep_handle/foo.adb: New file.
10916 * gdb.ada/excep_handle/pck.ads: New file.
10917
109182018-01-03 Joel Brobecker <brobecker@adacore.com>
10919
10920 * gdb.base/step-line.c: Add extra empty line in copyright header.
10921 * gdb.base/step-line.inp: Likewise.
10922
109232018-01-02 Joel Brobecker <brobecker@adacore.com>
10924
10925 * gdb.ada/dyn_stride.exp: Add slice test.
10926
109272018-01-02 Joel Brobecker <brobecker@adacore.com>
10928
10929 * gdb.ada/dyn_stride: New testcase.
10930
109312017-12-27 Stafford Horne <shorne@gmail.com>
10932
10933 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10934 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10935
109362017-12-27 Stafford Horne <shorne@gmail.com>
10937
10938 * gdb.base/reggroups.c: New file.
10939 * gdb.base/reggroups.exp: New file.
10940
109412017-12-18 Joel Brobecker <brobecker@adacore.com>
10942
10943 * gdb.dwarf2/ada-valprint-error.c: New file.
10944 * gdb.dwarf2/ada-valprint-error.exp: New file.
10945
109462017-12-18 Joel Brobecker <brobecker@adacore.com>
10947
10948 * gdb.ada/assign_arr: New testcase.
10949
109502017-12-18 Xavier Roirand <roirand@adacore.com>
10951
10952 * gdb.ada/funcall_ptr: New testcase.
10953
109542017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10955
10956 PR cli/16224
10957 * gdb.base/ptype-offsets.cc: New file.
10958 * gdb.base/ptype-offsets.exp: New file.
10959
109602017-12-15 Yao Qi <yao.qi@linaro.org>
10961
10962 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10963 if XML is disabled.
10964
109652017-12-15 Xavier Roirand <roirand@adacore.com>
10966
10967 * gdb.ada/same_component_name: New testcase.
10968
109692017-12-14 Joel Brobecker <brobecker@adacore.com>
10970
10971 * gdb.ada/str_binop_equal: New testcase.
10972
109732017-12-14 Joel Brobecker <brobecker@adacore.com>
10974
10975 * gdb.ada/task_switch_in_core: New testcase.
10976
109772017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10978
10979 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10980 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10981 call test_bkpt_qualified.
10982 (test_bkpt_qualified): New proc.
10983
109842017-12-13 Pedro Alves <palves@redhat.com>
10985
10986 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10987 Tighten regexp by matching with an anchor.
10988
109892017-12-13 Pedro Alves <palves@redhat.com>
10990
10991 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10992 ("expression with namespace"): New set of tests.
10993 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10994 (Nested::Test_NS::qux): New.
10995 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10996 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10997
109982017-12-13 Joel Brobecker <brobecker@adacore.com>
10999
11000 * gdb.base/server-del-break.c: New file.
11001 * gdb.base/server-del-break.exp: New file.
11002
110032017-12-12 Stafford Horne <shorne@gmail.com>
11004
11005 * gdb.xml/tdesc-regs.exp: Add or1k support.
11006
110072017-12-12 Stafford Horne <shorne@gmail.com>
11008
11009 * gdb.base/bp-permanent.c: Define nop of or1k.
11010
110112017-12-11 Joel Brobecker <brobecker@adacore.com>
11012
11013 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11014 output with components being reordered.
11015
110162017-12-11 Joel Brobecker <brobecker@adacore.com>
11017
11018 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11019 output with components being reordered.
11020
110212017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11022 Pedro Alves <palves@redhat.com>
11023
11024 * gdb.base/maint.exp (check for .gdb_index): Check also for
11025 .debug_names.
11026 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11027 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11028 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11029 (.gdb_index used after symbol reloading): Support also .debug_names.
11030 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11031
110322017-12-08 Yao Qi <yao.qi@linaro.org>
11033
11034 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11035 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11036
110372017-12-08 Yao Qi <yao.qi@linaro.org>
11038
11039 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11040 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11041
110422017-12-08 Yao Qi <yao.qi@linaro.org>
11043
11044 * gdb.arch/aarch64-tagged-pointer.c: New file.
11045 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11046
110472017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11048
11049 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11050 "int".
11051
110522017-12-07 Keith Seitz <keiths@redhat.com>
11053
11054 PR breakpoints/22569
11055 * gdb.linespec/ls-errs.exp: Change expected result of "break
11056 -source this file has spaces.c -line 3".
11057 Check that an explicit source file followed by whitespace is
11058 identified as an invalid explicit location.
11059
110602017-12-07 Keith Seitz <keiths@redhat.com>
11061
11062 * gdb.cp/nested-types.cc: New file.
11063 * gdb.cp/nested-types.exp: New file.
11064 * lib/cp-support.exp: Load data-structures.exp library.
11065 (debug_cp_test_ptype_class): New global.
11066 (cp_ptype_class_verbose, next_line): New procedures.
11067 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11068 Add and document new return value.
11069 Switch the list of lines to a queue.
11070 Add support for new `type' key for nested type definitions.
11071 Add debugging/troubleshooting messages.
11072 * lib/data-structures.exp: New file.
11073
110742017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11075
11076 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11077 with proc_with_prefix, don't use with_test_prefix.
11078
110792017-12-07 Tom Tromey <tom@tromey.com>
11080
11081 * gdb.base/break.exp: Add test for empty "commands".
11082
110832017-12-07 Yao Qi <yao.qi@linaro.org>
11084
11085 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11086 malloc and catch syscall.
11087
110882017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11089
11090 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
11091 tests for explicit locations.
11092
110932017-12-06 Pedro Alves <palves@redhat.com>
11094
11095 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11096 force-disabling XML descriptions.
11097
110982017-12-04 Pedro Alves <palves@redhat.com>
11099
11100 PR gdb/22499
11101 * gdb.arch/amd64-disp-step-avx.S: New file.
11102 * gdb.arch/amd64-disp-step-avx.exp: New file.
11103
111042017-12-03 Pedro Alves <palves@redhat.com>
11105
11106 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11107 and <string.h>.
11108 (parent_function): Print distinct messages when waitpid fails, or
11109 the child exits with a signal, or the child exits for an unhandled
11110 reason.
11111 * gdb.threads/process-dies-while-detaching.exp
11112 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11113 it. Wait for both inferior output and GDB's prompt. Use an
11114 indirect spawn id list.
11115 (do_detach): New parameter 'child_exit'. Use it to compute
11116 expected inferior output.
11117 (test_detach, test_detach_watch, test_detach_killed_outside):
11118 Adjust to pass down the expected child exit kind.
11119
111202017-12-01 Joel Brobecker <brobecker@adacore.com>
11121 Sergio Durigan Junior <sergiodj@redhat.com>
11122 Pedro Alves <palves@redhat.com>
11123
11124 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11125
111262017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11127
11128 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11129 to 'symbol-file' and 'add-symbol-file' can be
11130 position-independent.
11131
111322017-12-01 Yao Qi <yao.qi@linaro.org>
11133
11134 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11135 the URL in copyright header.
11136 * gdb.arch/aarch64-fp.exp: Likewise.
11137 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11138 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11139 * gdb.base/expand-psymtabs.exp: Likewise.
11140 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11141 * gdb.fortran/common-block.exp: Likewise.
11142 * gdb.fortran/common-block.f90: Likewise.
11143 * gdb.fortran/logical.exp: Likewise.
11144 * gdb.fortran/vla-datatypes.f90: Likewise.
11145 * gdb.fortran/vla-sub.f90: Likewise.
11146
111472017-11-30 Joel Brobecker <brobecker@adacore.com>
11148
11149 * gdb.ada/repeat_dyn: New testcase.
11150
111512017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11152
11153 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11154 Update for changed thread numbering.
11155 * gdb.cell/bt.exp: Update for changed GDB output.
11156
111572017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11158
11159 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11160 setting isremote by hand.
11161 * boards/dwarf4-gdb-index.exp: Likewise.
11162 * boards/fission.exp: Likewise.
11163 * boards/stabs.exp: Likewise.
11164
111652017-11-30 Pedro Alves <palves@redhat.com>
11166
11167 * gdb.linespec/cpls-ops.exp
11168 (check_explicit_skips_function_argument): Extract the underlying
11169 type of size_t instead of hardcoding it.
11170
111712017-11-29 Pedro Alves <palves@redhat.com>
11172
11173 PR c++/19436
11174 * gdb.linespec/cpls-abi-tag.cc: New file.
11175 * gdb.linespec/cpls-abi-tag.exp: New file.
11176
111772017-11-29 Pedro Alves <palves@redhat.com>
11178
11179 * gdb.base/langs.exp: Use -qualified.
11180 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11181 it.
11182 * gdb.cp/namespace.exp: Use -qualified.
11183 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11184 (overload-3, template-overload, template-ret-type, const-overload)
11185 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11186 procedures.
11187 (test_driver): Call them.
11188 * gdb.cp/save-bp-qualified.cc: New.
11189 * gdb.cp/save-bp-qualified.exp: New.
11190 * gdb.linespec/explicit.exp: Test -qualified.
11191 * lib/completion-support.exp (completion::explicit_opts_list): Add
11192 "-qualified".
11193 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11194
111952017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11196
11197 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11198
111992017-11-29 Tom Tromey <tom@tromey.com>
11200
11201 * gdb.base/relocate.exp: Update invalid argument test.
11202 Add new tests for invalid arguments.
11203
112042017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11205
11206 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11207 Return 0 as a long.
11208 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11209
112102017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11211
11212 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11213 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11214 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11215 func ().
11216 * gdb.cp/shadow.cc (B.func): Return 0.
11217
112182017-11-27 Joel Brobecker <brobecker@adacore.com>
11219
11220 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11221 expected output in gdb_expect call to allow the exception
11222 message to be present as well. Fix syntax confusion to avoid
11223 TCL thinking that exception_name is an array.
11224
112252017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11226
11227 * gdb.arch/spu-info.c: Include <unistd.h>.
11228 (do_signal_test): Fix broken calls to write.
11229 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11230 Fix checks for empty mailboxes. Update signal tests for corrected
11231 do_signal_test routine. Allow nonzero event status.
11232 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11233 * gdb.cell/arch.exp: Use standard_output_file.
11234 * gdb.cell/break.exp: Likewise.
11235 * gdb.cell/bt.exp: Likewise.
11236 * gdb.cell/core.exp: Likewise.
11237 * gdb.cell/dwarfaddr.exp: Likewise.
11238 * gdb.cell/ea-cache.exp: Likewise.
11239 * gdb.cell/ea-standalone.exp: Likewise.
11240 * gdb.cell/f-regs.exp: Likewise.
11241 * gdb.cell/fork.exp: Likewise.
11242 * gdb.cell/gcore.exp: Likewise.
11243 * gdb.cell/mem-access.exp: Likewise.
11244 * gdb.cell/ptype.exp: Likewise.
11245 * gdb.cell/registers.exp: Likewise.
11246 * gdb.cell/sizeof.exp: Likewise.
11247 * gdb.cell/solib-symbol.exp: Likewise.
11248 * gdb.cell/solib.exp: Likewise.
11249
112502017-11-25 Pedro Alves <palves@redhat.com>
11251
11252 * gdb.base/complete-empty.exp: New file.
11253 * gdb.base/completion.exp: Adjust.
11254
112552017-11-25 Pedro Alves <palves@redhat.com>
11256
11257 * gdb.linespec/cpls-ops.cc: New file.
11258 * gdb.linespec/cpls-ops.exp: New file.
11259 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11260 factored out from ...
11261 (test_complete_prefix_range): ... this.
11262
112632017-11-24 Pedro Alves <palves@redhat.com>
11264
11265 * gdb.linespec/cpcompletion.exp: New file.
11266 * gdb.linespec/cpls-hyphen.cc: New file.
11267 * gdb.linespec/cpls.cc: New file.
11268 * gdb.linespec/cpls2.cc: New file.
11269 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11270 test to use test_gdb_complete_unique. Add label completion,
11271 keyword completion and explicit location completion tests.
11272 * lib/completion-support.exp: New file.
11273
112742017-11-24 Joel Brobecker <brobecker@adacore.com>
11275
11276 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11277 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11278 when hitting an exception catchpoint.
11279
112802017-11-22 Yao Qi <yao.qi@linaro.org>
11281
11282 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11283
112842017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11285
11286 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11287 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11288 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11289
112902017-11-22 Yao Qi <yao.qi@linaro.org>
11291
11292 * gdb.base/info-os.exp: Pass pthreads.
11293 * gdb.multi/multi-attach.exp: Likewise.
11294
112952017-11-22 Yao Qi <yao.qi@linaro.org>
11296
11297 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11298 compiler.
11299
113002017-11-22 Yao Qi <yao.qi@linaro.org>
11301
11302 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11303 * gdb.base/break-interp.exp: Likewise.
11304 * gdb.base/jit-attach-pie.exp: Likewise.
11305
113062017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11307
11308 * gdb.base/float128.c (large128): New variable.
11309 * gdb.base/float128.exp: Add test to print largest __float128 value.
11310
113112017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11312
11313 * gdb.arch/vsx-regs.exp: Update register content checks.
11314
113152017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11316
11317 * gdb.arch/ppc-longdouble.exp: New file.
11318 * gdb.arch/ppc-longdouble.c: Likewise.
11319
113202017-11-21 Pedro Alves <palves@redhat.com>
11321
11322 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11323
113242017-11-20 Pedro Alves <palves@redhat.com>
11325
11326 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11327 (long_double_typedef): New typedefs.
11328 Use DEF on double and long double.
11329 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11330 cases.
11331 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11332 and 'long_double_ptr_same_size' locals. Use them to decide
11333 whether cast from array/function to float is valid/invalid.
11334
113352017-11-17 Tom Tromey <tom@tromey.com>
11336
11337 * gdb.rust/traits.rs: New file.
11338 * gdb.rust/traits.exp: New file.
11339
113402017-11-17 Joel Brobecker <brobecker@adacore.com>
11341
11342 * gdb.ada/minsyms: New testcase.
11343
113442017-11-16 Pedro Alves <palves@redhat.com>
11345
11346 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11347 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11348
113492017-11-16 Pedro Alves <palves@redhat.com>
11350
11351 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11352 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11353
113542017-11-16 Pedro Alves <palves@redhat.com>
11355
11356 * gdb.server/reconnect-ctrl-c.c: New file.
11357 * gdb.server/reconnect-ctrl-c.exp: New file.
11358
113592017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11360
11361 * gdb.python/py-rbreak.exp: New file.
11362 * gdb.python/py-rbreak.c: New file.
11363 * gdb.python/py-rbreak-func2.c: New file.
11364
113652017-11-16 Pedro Alves <palves@redhat.com>
11366
11367 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11368 pattern.
11369 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11370 GDB.
11371
113722017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11373
11374 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11375 regex.
11376
113772017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11378
11379 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11380 test names.
11381
113822017-11-09 Pedro Alves <palves@redhat.com>
11383
11384 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11385 factored out from ...
11386 (top level): ... here, and adjusted to avoid expecting beyond the
11387 prompt in a single gdb_test_multiple.
11388
113892017-11-09 Pedro Alves <palves@redhat.com>
11390
11391 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11392 output.
11393 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11394 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11395 * gdb.server/ext-run.exp ("kill" test): Likewise.
11396 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11397
113982017-11-09 Pedro Alves <palves@redhat.com>
11399
11400 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11401 match till end of line.
11402
114032017-11-09 Pedro Alves <palves@redhat.com>
11404
11405 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11406
114072017-11-09 Pedro Alves <palves@redhat.com>
11408
11409 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11410 New procedures, factored out from ...
11411 (top level): ... here, and adjusted to avoid expecting beyond the
11412 prompt in one go.
11413
114142017-11-09 Pedro Alves <palves@redhat.com>
11415
11416 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11417 output. Fix '?' match.
11418
114192017-11-08 Joel Brobecker <brobecker@adacore.com>
11420
11421 * gdb.ada/scoped_watch: New testcase.
11422 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11423 which is actually correct.
11424 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11425 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11426
114272017-11-08 Pedro Alves <palves@redhat.com>
11428
11429 * gdb.gdb/complaints.exp (test_initial_complaints)
11430 (test_serial_complaints, test_short_complaints): Call
11431 complaint_internal instead of complaint.
11432
114332017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11434
11435 * gdb.threads/tls-core.c: New file.
11436 * gdb.threads/tls-core.exp: Likewise.
11437
114382017-11-08 Pedro Alves <palves@redhat.com>
11439
11440 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11441 (p Exported_Capitalized): New test.
11442 (p exported_capitalized): New test.
11443
114442017-11-07 Pedro Alves <palves@redhat.com>
11445
11446 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11447
114482017-11-07 Pedro Alves <palves@redhat.com>
11449
11450 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11451 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11452 (disable_invalid, disable_inverted, disable_negative): New
11453 procedures.
11454 ("bad numbers"): New set of tests.
11455
114562017-11-07 Pedro Alves <palves@redhat.com>
11457
11458 * gdb.cp/ena-dis-br-range.exp: Add tests.
11459
114602017-11-07 Pedro Alves <palves@redhat.com>
11461
11462 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11463
114642017-11-07 Xavier Roirand <roirand@adacore.com>
11465 Pedro Alves <palves@redhat.com>
11466
11467 * gdb.base/ena-dis-br.exp: Add reference to
11468 gdb.cp/ena-dis-br-range.exp.
11469 * gdb.cp/ena-dis-br-range.exp: New file.
11470 * gdb.cp/ena-dis-br-range.cc: New file.
11471
114722017-11-06 Pedro Alves <palves@redhat.com>
11473
11474 * gdb.base/attach-non-pgrp-leader.c: New.
11475 * gdb.base/attach-non-pgrp-leader.exp: New.
11476
114772017-11-06 Pedro Alves <palves@redhat.com>
11478
11479 * configure.ac: No longer check for termio.h and sgtty.h.
11480 * configure: Regenerate.
11481 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11482 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11483 Remove termio and sgtty code.
11484
114852017-11-03 Yao Qi <yao.qi@linaro.org>
11486
11487 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11488 in GDB is disabled.
11489
114902017-11-03 Yao Qi <yao.qi@linaro.org>
11491
11492 * gdb.python/py-thrhandle.exp: Skip it if python is not
11493 enabled.
11494
114952017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11496
11497 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11498 as a breakpoint command.
11499
115002017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11501
11502 PR python/21213
11503 * gdb.python/py-infthread.exp: Test calling
11504 InferiorThread.inferior () multiple times in a row.
11505
115062017-10-27 Keith Seitz <keiths@redhat.com>
11507
11508 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11509 Test "info break" for every inlined function breakpoint.
11510
115112017-10-27 Yao Qi <yao.qi@linaro.org>
11512
11513 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11514
115152017-10-26 Patrick Frants <osscontribute@gmail.com>
11516
11517 * gdb.cp/classes.exp (test_static_members): Test printing
11518 Outer::instance.
11519 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11520 (Inner::instance, Outer::instance): New.
11521
115222017-10-24 Pedro Alves <palves@redhat.com>
11523
11524 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11525 extra console" test in two stages.
11526
115272017-10-24 Pedro Alves <palves@redhat.com>
11528
11529 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11530
115312017-10-24 Pedro Alves <palves@redhat.com>
11532
11533 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11534 loop.
11535
115362017-10-24 Pedro Alves <palves@redhat.com>
11537
11538 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11539 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11540
115412017-10-24 Pedro Alves <palves@redhat.com>
11542
11543 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11544 parameter and handle it. Don't output read value in test name.
11545
115462017-10-24 Pedro Alves <palves@redhat.com>
11547
11548 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11549 custom test name.
11550
115512017-10-24 Pedro Alves <palves@redhat.com>
11552
11553 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11554 include the unstable output directory name in the test's name.
11555 (initial_setup_simple) <'set args'>: Use custom test name.
11556
115572017-10-24 Pedro Alves <palves@redhat.com>
11558
11559 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11560 with explicit test name.
11561
115622017-10-20 Pedro Alves <palves@redhat.com>
11563
11564 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11565 'wait -i'. Use gdb_assert and remote_close.
11566
115672017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11568
11569 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11570 number from variable rather than hard-coded.
11571
115722017-10-19 Pedro Alves <palves@redhat.com>
11573
11574 * gdb.base/long-inferior-output.c: New file.
11575 * gdb.base/long-inferior-output.exp: New file.
11576
115772017-11-18 Keith Seitz <keiths@redhat.com>
11578
11579 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11580 method.
11581 (main): Call it.
11582 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11583 Add additional user-defined conversion operator tests.
11584
115852017-10-17 Pedro Alves <palves@redhat.com>
11586
11587 * boards/native-stdio-gdbserver.exp: Load "local-board".
11588
115892017-10-17 Pedro Alves <palves@redhat.com>
11590
11591 * gdb.base/quit-live.c: New file.
11592 * gdb.base/quit-live.exp: New file.
11593
115942017-10-16 Keith Seitz <keiths@redhat.com>
11595
11596 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11597 (class_with_protected_typedef, class_with_private_typedef)
11598 (struct_with_public_typedef, struct_with_protected_typedef)
11599 (struct_with_private_typedef): New classes/structs.
11600 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11601 typedefs and access specifiers.
11602
116032017-10-16 Pedro Alves <palves@redhat.com>
11604 Simon Marchi <simon.marchi@polymtl.ca>
11605
11606 * README (Local vs Remote vs Native): New section.
11607 * boards/local-board.exp: New file, with bits factored out from
11608 ...
11609 * boards/native-extended-gdbserver.exp: ... here. Load
11610 "local-board".
11611 * boards/native-gdbserver.exp: Load "local-board".
11612 (${board}_spawn, ${board}_exec): Delete.
11613 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11614 ...
11615 * boards/stdio-gdbserver-base.exp: ... this new file.
11616 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11617 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11618 procedure.
11619 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11620 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11621 stdio_gdbserver_command.
11622 (${board}_get_remote_address, ${board}_get_comm_port)
11623 (${board}_download, ${board}_upload): Delete.
11624 (get_target_remote_pipe_cmd): New.
11625
116262017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11627
11628 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11629 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11630 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11631 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11632 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11633 remove with_test_prefix.
11634
116352017-10-13 Pedro Alves <palves@redhat.com>
11636
11637 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11638 * gdb.base/annota1.exp: Use it instead of is_remote.
11639 * gdb.base/annota3.exp: Use it instead of is_remote.
11640 * gdb.cp/annota2.exp: Use it instead of is_remote.
11641 * gdb.cp/annota3.exp: Use it instead of is_remote.
11642 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11643
116442017-10-13 Pedro Alves <palves@redhat.com>
11645
11646 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11647 (test_num_test_vars, run_and_count_vars, find_env)
11648 (test_set_unset_env, test_inherit_env_var): New procedures.
11649 (top level): Use them.
11650
116512017-10-13 Pedro Alves <palves@redhat.com>
11652
11653 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11654 also skip on stub-like targets.
11655
116562017-10-13 Pedro Alves <palves@redhat.com>
11657
11658 PR gdb/22293
11659 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11660 (top level): Move some tests to ...
11661 (test_not_found): ... this new procedure.
11662 (top level): Call it.
11663
116642017-10-13 Pedro Alves <palves@redhat.com>
11665
11666 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11667 expect different "info terminal" output if testing with a
11668 non-native target.
11669
116702017-10-13 Pedro Alves <palves@redhat.com>
11671 Simon Marchi <simon.marchi@polymtl.ca>
11672
11673 PR python/12966
11674 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11675
116762017-10-13 Pedro Alves <palves@redhat.com>
11677
11678 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11679 already.
11680
116812017-10-13 Pedro Alves <palves@redhat.com>
11682
11683 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11684 is_remote.
11685
116862017-10-13 Pedro Alves <palves@redhat.com>
11687
11688 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11689 is_remote.
11690
116912017-10-13 Pedro Alves <palves@redhat.com>
11692
11693 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11694 is set.
11695 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11696 instead of is_remote.
11697
116982017-10-13 Pedro Alves <palves@redhat.com>
11699
11700 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11701 (top level): Add comment.
11702
117032017-10-13 Pedro Alves <palves@redhat.com>
11704
11705 * gdb.base/remote.exp (top level): Fix comment typo and add
11706 missing return.
11707
117082017-10-13 Pedro Alves <palves@redhat.com>
11709 Simon Marchi <simon.marchi@polymtl.ca>
11710
11711 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11712 calls and add comments. Skip test if use_gdb_stub is set.
11713 (top level): Use "set cwd" command instead of "cd" command.
11714
117152017-10-13 Pedro Alves <palves@redhat.com>
11716
11717 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11718 is_remote target check.
11719
117202017-10-13 Pedro Alves <palves@redhat.com>
11721
11722 * gdb.base/scope.exp: Use build_executable + clean_restart +
11723 gdb_file_cmd instead of prepare_for_testing and no longer skip
11724 "before run" tests on is_remote target boards. Update comments.
11725 * boards/native-extended-gdbserver.exp
11726 (extended_gdbserver_load_last_file): New, factored out from ...
11727 (gdb_load): ... this. Move further below and add comment.
11728 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11729
117302017-10-12 Pedro Alves <palves@redhat.com>
11731
11732 * gdb.base/attach.exp: Remove references to gdb64.
11733 * gdb.base/dbx.exp: Remove references to gdb64.
11734
117352017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11736 Pedro Alves <palves@redhat.com>
11737
11738 * gdb.base/label.exp: Remove is_remote target check.
11739
117402017-10-12 Pedro Alves <palves@redhat.com>
11741
11742 * gdb.base/auvx.exp (coredir): Update comment.
11743 (top level) <core_works>: Use "set cwd" command instead of "cd"
11744 command.
11745
117462017-10-12 Pedro Alves <palves@redhat.com>
11747 Simon Marchi <simon.marchi@polymtl.ca>
11748
11749 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11750 target boards.
11751
117522017-10-12 Pedro Alves <palves@redhat.com>
11753 Simon Marchi <simon.marchi@polymtl.ca>
11754
11755 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11756 Instead skip if there's any gdb_protocol set.
11757
117582017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11759 Pedro Alves <palves@redhat.com>
11760
11761 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11762
117632017-10-12 Pedro Alves <palves@redhat.com>
11764 Simon Marchi <simon.marchi@polymtl.ca>
11765
11766 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11767 instead of on dejagnu remote boards.
11768
117692017-10-12 Pedro Alves <palves@redhat.com>
11770 Simon Marchi <simon.marchi@polymtl.ca>
11771
11772 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11773 checks. Use build_executable + clean_restart instead of
11774 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11775 of enabling non-stop after starting gdb.
11776
117772017-10-12 Pedro Alves <palves@redhat.com>
11778
11779 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11780 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11781 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11782 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11783
117842017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11785
11786 * gdb.arch/arc-tdesc-cpu.exp: New file.
11787 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11788
117892017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11790
11791 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11792
117932017-10-10 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11796 expect CLI output.
11797
117982017-10-10 Pedro Alves <palves@redhat.com>
11799
11800 * lib/selftest-support.exp (selftest_setup): Update for
11801 captured_command_loop's prototype change.
11802
118032017-10-09 Pedro Alves <palves@redhat.com>
11804
11805 Test both arch1=>arch2 and arch2=>arch1.
11806
11807 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11808 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11809 factored out to...
11810 (append_arch1_options, append_arch2_options, append_arch_options)
11811 (build_executables): New procedures.
11812 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11813 local.
11814 (top level): Add new 'first_arch' testing axis.
11815
118162017-10-09 Pedro Alves <palves@redhat.com>
11817
11818 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11819 (barrier): New.
11820 (thread_start, all_started): New functions.
11821 (main): Spawn new thread and wait until it is scheduled.
11822 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11823 option.
11824 (do_test): Add 'selected_thread' parameter. Run to all_started
11825 instead of main. Explicitly set the breakpoint at main. Switch
11826 to the SELECTED_THREAD thread.
11827 (top level): Test handling the exec event with either the main
11828 thread or the second thread selected.
11829
118302017-10-09 Pedro Alves <palves@redhat.com>
11831
11832 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11833 logic. Move STOP marker after the value checks.
11834 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11835 regexp.
11836
118372017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11838
11839 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11840
118412017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11842
11843 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11844 integer-to-dfp conversion.
11845 * gdb.base/dfp-test.exp: Likewise.
11846
118472017-10-04 Pedro Alves <palves@redhat.com>
11848
11849 * gdb.multi/hangout.c: Include <unistd.h>.
11850 (hangout_loop): New function.
11851 (main): Call alarm. Call hangout_loop in a loop.
11852 * gdb.multi/hello.c: Include <unistd.h>.
11853 (hello_loop): New function.
11854 (main): Call alarm. Call hangout_loop in a loop.
11855 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11856 inferior with the other selected.
11857
118582017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11859
11860 * gdb.mi/list-thread-groups-available.exp: New file.
11861 * gdb.mi/list-thread-groups-available.c: New file.
11862
118632017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11864
11865 * gdb.base/set-cwd.exp: Make it available on
11866 native-extended-gdbserver.
11867
118682017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11869
11870 * gdb.base/set-cwd.c: New file.
11871 * gdb.base/set-cwd.exp: Likewise.
11872
118732017-10-02 Tom Tromey <tom@tromey.com>
11874
11875 PR rust/22236:
11876 * gdb.rust/simple.rs (main): New variable "fslice".
11877 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11878
118792017-10-02 Tom Tromey <tom@tromey.com>
11880
11881 * gdb.rust/simple.exp: Test ptype of a slice.
11882
118832017-10-02 Tom Tromey <tom@tromey.com>
11884
11885 * gdb.rust/simple.exp: Test index of slice.
11886
118872017-09-27 Tom Tromey <tom@tromey.com>
11888
11889 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11890
118912017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11892 Pedro Alves <palves@redhat.com>
11893
11894 * gdb.base/compare-sections.exp (get value of read-only section): Read
11895 as unsigned value.
11896 (corrupt read-only section): Likewise and don't set written if patching
11897 failed.
11898
118992017-09-21 Kevin Buettner <kevinb@redhat.com>
11900
11901 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11902 files.
11903
119042017-09-20 Pedro Alves <palves@redhat.com>
11905
11906 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11907 symbol names in gdb's output.
11908 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11909
119102017-09-20 Pedro Alves <palves@redhat.com>
11911
11912 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11913 Rename to ...
11914 (test_list_ambiguous_symbol): ... this and add a symbol name
11915 parameter. Adjust.
11916 (test_list_ambiguous_function): Reimplement on top of
11917 test_list_ambiguous_symbol and also test listing ambiguous
11918 variables.
11919 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11920 (ambiguous_fun): ... this.
11921 (ambiguous_var): New.
11922 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11923 (ambiguous_fun): ... this.
11924 (ambiguous_var): New.
11925
119262017-09-19 John Baldwin <jhb@FreeBSD.org>
11927
11928 * gdb.base/starti.c: New file.
11929 * gdb.base/starti.exp: New file.
11930 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11931
119322017-09-14 Pedro Alves <palves@redhat.com>
11933
11934 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11935 (top level): Use it instead of runto.
11936
119372017-09-11 Tom Tromey <tom@tromey.com>
11938
11939 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11940
119412017-09-11 Tom Tromey <tom@tromey.com>
11942
11943 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11944 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11945
119462017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11947
11948 * gdb.fortran/printing-types.exp: New file.
11949 * gdb.fortran/printing-types.exp: New file.
11950
119512017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11952
11953 * gdb.fortran/vla-ptype.exp: Fix typos.
11954 * gdb.fortran/vla-value.exp: Same.
11955
119562017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11957
11958 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11959 * gdb.mi/mi-var-child-f.exp: Likewise.
11960 * gdb.mi/mi-vla-fortran.exp: Likewise.
11961
119622017-09-08 Frank Penczek <frank.penczek@intel.com>
11963 Christoph Weinmann <christoph.t.weinmann@intel.com>
11964 Bernhard Heckel <bernhard.heckel@intel.com>
11965
11966 * gdb.fortran/ptr-indentation.f90: New file.
11967 * gdb.fortran/ptr-indentation.exp: New file.
11968
119692017-09-05 Tom Tromey <tom@tromey.com>
11970
11971 PR gdb/22010:
11972 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11973
119742017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11975
11976 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11977
119782017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11979
11980 * gdb.threads/tls-nodebug-pie.c: New file.
11981 * gdb.threads/tls-nodebug-pie.exp: New file.
11982
119832017-09-05 Tom Tromey <tom@tromey.com>
11984
11985 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11986 for rust.
11987
119882017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11989
11990 * gdb.multi/multi-arch-exec.exp: Test with different
11991 "follow-exec-mode" settings.
11992 (do_test): New procedure.
11993
119942017-09-04 Pedro Alves <palves@redhat.com>
11995
11996 * gdb.base/func-static.c (S::method const, S::method volatile)
11997 (S::method volatile const): New methods.
11998 (c_s, v_s, cv_s): New instances.
11999 (main): Call method() on them.
12000 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12001 (cannot_resolve): New procedure.
12002 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12003 print-quote-unquoted columns.
12004 (do_test): Test printing each scope too.
12005
120062017-09-04 Pedro Alves <palves@redhat.com>
12007
12008 * gdb.base/local-static.exp: Also test with
12009 class::method::variable wholly quoted.
12010 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12011
120122017-09-04 Pedro Alves <palves@redhat.com>
12013
12014 * gdb.base/local-static.c: New.
12015 * gdb.base/local-static.cc: New.
12016 * gdb.base/local-static.exp: New.
12017
120182017-09-04 Pedro Alves <palves@redhat.com>
12019
12020 * gdb.asm/asm-source.exp: Add casts to int.
12021 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12022 (dataglobal64_1, dataglobal64_2): New globals.
12023 * gdb.base/nodebug.exp: Test different expressions involving the
12024 new globals, with print, whatis and ptype. Add casts to int.
12025 * gdb.base/solib-display.exp: Add casts to int.
12026 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12027 * gdb.cp/m-static.exp: Add cast to int.
12028 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12029 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12030 tls variable with no debug info without a cast. Test with a cast
12031 to int too.
12032 * gdb.trace/entry-values.exp: Add casts.
12033
120342017-09-04 Pedro Alves <palves@redhat.com>
12035
12036 * gdb.base/nodebug.exp: Test that ptype's error about functions
12037 with unknown return type includes the function name too.
12038
120392017-09-04 Pedro Alves <palves@redhat.com>
12040
12041 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12042 return type of munmap in infcall.
12043 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12044 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12045 type of ftell in infcall.
12046 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12047 type of getpid in infcall.
12048 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12049 infcall.
12050 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12051 Bail on failure to extract the pid.
12052 * gdb.base/nodebug.c: #include <stdint.h>.
12053 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12054 New functions.
12055 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12056 Change expected output of print/whatis/ptype with functions with
12057 no debug info. Test all supported languages. Call
12058 test_call_promotion.
12059 * gdb.compile/compile.exp: Adjust expected output to expect
12060 warning.
12061 * gdb.threads/siginfo-threads.exp: Likewise.
12062
120632017-09-04 Pedro Alves <palves@redhat.com>
12064
12065 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12066 "prototypes". Test calling float functions via prototyped and
12067 unprototyped function pointers.
12068 (perform_all_tests): New parameter "prototypes". Pass it down.
12069 (top level): Pass down "prototypes" parameter to
12070 perform_all_tests.
12071
120722017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12073
12074 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12075 Test with nested loops.
12076
120772017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12078
12079 * gdb.base/commands.exp: Call the new procedures.
12080 (loop_break_test, loop_continue_test): New procedures.
12081
120822017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12083
12084 * gdb.base/commands.exp: Call new procedure.
12085 (define_if_without_arg_test): New procedure.
12086
120872017-09-04 Pedro Alves <palves@redhat.com>
12088
12089 * gdb.base/list-ambiguous.exp: New file.
12090 * gdb.base/list-ambiguous0.c: New file.
12091 * gdb.base/list-ambiguous1.c: New file.
12092 * gdb.base/list.exp (test_list_range): Adjust expected output.
12093
120942017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12095
12096 * gdb.base/share-env-with-gdbserver.c: New file.
12097 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12098
120992017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12100
12101 * gdb.base/commands.exp (gdbvar_simple_if_test,
12102 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12103 progvar_simple_if_test, progvar_simple_while_test,
12104 progvar_complex_if_while_test, user_defined_command_test,
12105 user_defined_command_args_eval,
12106 user_defined_command_args_stack_test,
12107 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12108 temporary_breakpoint_commands,
12109 gdb_test_no_prompt, redefine_hook_test,
12110 redefine_backtrace_test): Remove "global gdb_prompt".
12111
121122017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12113
12114 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12115 New proc, call it from toplevel.
12116
121172017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12118
12119 PR remote/21852
12120 * gdb.server/normal.c: New file, copied from gdb.base.
12121 * gdb.server/run-without-local-binary.exp: New file.
12122
121232017-08-07 Weimin Pan <weimin.pan@oracle.com>
12124
12125 * gdb.arch/sparc64-adi.exp: New file.
12126 * gdb.arch/sparc64-adi.c: New file.
12127
121282017-08-22 Pedro Alves <palves@redhat.com>
12129
12130 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12131 (top level): Add "list all overloads" tests.
12132
121332017-08-22 Tom Tromey <tom@tromey.com>
12134
12135 * gdb.gdb/xfullpath.exp: Remove.
12136
121372017-08-21 Pedro Alves <palves@redhat.com>
12138
12139 PR gdb/19487
12140 * gdb.base/symbol-alias.c: New.
12141 * gdb.base/symbol-alias2.c: New.
12142 * gdb.base/symbol-alias.exp: New.
12143
121442017-08-21 Pedro Alves <palves@redhat.com>
12145
12146 * gdb.base/dfp-test.c
12147 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12148 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12149 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12150 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12151 * gdb.base/whatis-ptype-typedefs.c: New.
12152 * gdb.base/whatis-ptype-typedefs.exp: New.
12153 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12154 (an_int, an_int_type, an_int_type2): New globals.
12155 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12156 involving typedefs and cast expressions.
12157 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12158 (lookup_typedefs_function): New.
12159 (typedefs_pretty_printers_dict): New.
12160 (top level): Register lookup_typedefs_function in
12161 gdb.pretty_printers.
12162
121632017-08-18 Yao Qi <yao.qi@linaro.org>
12164
12165 * gdb.server/unittest.exp: New.
12166
121672017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12168
12169 PR gdb/21954
12170 * gdb.base/environ.exp: Add test to check if 'unset environment'
12171 works.
12172
121732017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12174
12175 * lib/gdb.exp (universal_compile_options): New caching proc.
12176 (gdb_compile): Suppress GCC's coloring of messages.
12177
121782017-08-14 Tom Tromey <tom@tromey.com>
12179
12180 PR gdb/21675:
12181 * gdb.base/printcmds.exp (test_radices): New function.
12182 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12183 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12184 * lib/gdb.exp (get_integer_valueof): Use p/d.
12185
121862017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12187
12188 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12189 characters.
12190
121912017-08-05 Tom Tromey <tom@tromey.com>
12192
12193 * gdb.rust/simple.exp: Allow String to appear in a different
12194 namespace.
12195
121962017-07-26 Yao Qi <yao.qi@linaro.org>
12197
12198 * gdb.gdb/unittest.exp: Invoke command
12199 "maintenance check xml-descriptions".
12200
122012017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12202
12203 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12204 calling context.
12205 (hex128): Drop erroneous calculation of parameters.
12206
122072017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12208
12209 * gdb.python/py-unwind.exp: Disable stack protection when
12210 building test file.
12211
122122017-07-20 Pedro Alves <palves@redhat.com>
12213
12214 * gdb.base/default.exp (set language): Adjust expected output.
12215
122162017-07-20 Pedro Alves <palves@redhat.com>
12217
12218 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12219 (test_minsym): ... this, and make static.
12220 (get_pck__foo__bar__minsym): Rename to ...
12221 (get_test_minsym): ... this.
12222 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12223 symbol names and comments.
12224 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12225 (get_test_minsym): ... this.
12226 (pck__foo__bar__minsym__2): Rename to ...
12227 (test_minsym): ... this.
12228 (main): Adjust.
12229
122302017-07-17 Pedro Alves <palves@redhat.com>
12231
12232 * gdb.base/completion.exp: Adjust expected output.
12233 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12234 the completer works.
12235
122362017-07-17 Pedro Alves <palves@redhat.com>
12237
12238 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12239
122402017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12241
12242 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12243
122442017-07-14 Tom Tromey <tom@tromey.com>
12245
12246 PR rust/21764:
12247 * gdb.rust/simple.exp: Add tests.
12248
122492017-07-14 Tom Tromey <tom@tromey.com>
12250
12251 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12252
122532017-07-14 Pedro Alves <palves@redhat.com>
12254
12255 * gdb.linespec/base/one/thefile.cc (z1): New function.
12256 * gdb.linespec/base/two/thefile.cc (z2): New function.
12257 * gdb.linespec/linespec.exp: Add tests.
12258
122592017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12260
12261 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12262 to mi_create_breakpoint.
12263
122642017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12265
12266 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12267 mi_create_breakpoint.
12268
122692017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12270
12271 * gdb.dlang/demangle.exp: Update for demangling changes.
12272
122732017-07-09 Tom Tromey <tom@tromey.com>
12274
12275 * gdb.dwarf2/shortpiece.exp: New file.
12276
122772017-07-06 David Blaikie <dblaikie@gmail.com>
12278
12279 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12280 built from fissiont-multi-cu{1,2}.c.
12281 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12282 except putting 'main' and 'func' in separate CUs in the same DWO file.
12283 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12284 test.
12285 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12286 test.
12287
122882017-07-06 Pedro Alves <palves@redhat.com>
12289
12290 * gdb.python/py-unwind.exp: Test flushregs.
12291
122922017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12293
12294 PR cli/21688
12295 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12296 tests for alias commands and trailing whitespace.
12297
122982017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12299
12300 PR cli/21688
12301 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12302 procedure. Call it.
12303
123042017-06-29 Pedro Alves <palves@redhat.com>
12305
12306 * gdb.base/printcmds.exp: Add tests.
12307
123082017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12309
12310 PR gdb/21337
12311 * gdb.base/reread-readsym.exp: New file.
12312 * gdb.base/reread-readsym.c: New file.
12313
123142017-06-21 Kevin Buettner <kevinb@redhat.com>
12315
12316 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12317 subpattern.
12318
123192017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12320
12321 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12322 extended mnemonic.
12323 * gdb.arch/powerpc-power9.s: Likewise.
12324
123252017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12326
12327 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12328 on 32-bit x86 targets. Exploit is_*_target macros where
12329 appropriate.
12330
123312017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12332
12333 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12334 register pieces.
12335
123362017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12337
12338 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12339 located in one or more DWARF pieces.
12340
123412017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12342
12343 * lib/gdb.exp (get_endianness): New proc.
12344 * gdb.arch/aarch64-fp.exp: Use it.
12345 * gdb.arch/altivec-regs.exp: Likewise.
12346 * gdb.arch/e500-regs.exp: Likewise.
12347 * gdb.arch/vsx-regs.exp: Likewise.
12348 * gdb.base/dump.exp: Likewise.
12349 * gdb.base/funcargs.exp: Likewise.
12350 * gdb.base/gnu_vector.exp: Likewise.
12351 * gdb.dwarf2/formdata16.exp: Likewise.
12352 * gdb.dwarf2/implptrpiece.exp: Likewise.
12353 * gdb.dwarf2/nonvar-access.exp: Likewise.
12354 * gdb.python/py-inferior.exp: Likewise.
12355 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12356
123572017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12358
12359 PR gdb/21226
12360 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12361 stack value pieces are taken from the LSB end.
12362
123632017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12364
12365 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12366 variable at nonzero offset.
12367
123682017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12369
12370 * gdb.dwarf2/var-access.c: New file.
12371 * gdb.dwarf2/var-access.exp: New test.
12372 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12373
123742017-06-12 Tom Tromey <tom@tromey.com>
12375
12376 * gdb.dwarf2/formdata16.exp: Add tests.
12377
123782017-06-12 Tom Tromey <tom@tromey.com>
12379
12380 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12381
123822017-06-12 Tom Tromey <tom@tromey.com>
12383
12384 PR exp/16225:
12385 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12386 * gdb.arch/vsx-regs.exp: Update tests.
12387 * gdb.arch/s390-vregs.exp (hex128): New proc.
12388 Update test.
12389 * gdb.arch/altivec-regs.exp: Update tests.
12390
123912017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12392
12393 * gdb.base/startup-with-shell.c: New file.
12394 * gdb.base/startup-with-shell.exp: Likewise.
12395
123962017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12397
12398 * gdb.server/non-existing-program.exp: Update regex in order to
12399 reflect the fact that gdbserver is now using fork_inferior (with a
12400 shell) to startup the inferior.
12401
124022017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12403
12404 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12405 support function calls from GDB.
12406
124072017-05-21 Tom Tromey <tom@tromey.com>
12408
12409 PR rust/21466:
12410 * gdb.rust/unsized.exp: New file.
12411 * gdb.rust/unsized.rs: New file.
12412
124132017-05-19 Tom Tromey <tom@tromey.com>
12414
12415 PR rust/21484:
12416 * gdb.rust/watch.exp: New file.
12417 * gdb.rust/watch.rs: New file.
12418
124192017-05-18 Tom Tromey <tom@tromey.com>
12420
12421 * gdb.rust/simple.exp: Allow Box to be qualified.
12422
124232017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12424
12425 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12426
124272017-05-18 Pedro Alves <palves@redhat.com>
12428
12429 * gdb.base/fileio.c (test_write, test_read, test_close)
12430 (test_fstat): Don't print 'ret' in the fail path.
12431
124322017-05-18 Pedro Alves <palves@redhat.com>
12433
12434 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12435 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12436 (test_system, test_rename, test_unlink, test_time): Change
12437 prototypes.
12438 * gdb.base/fileio.exp (stop_msg): Adjust.
12439
124402017-05-18 Pedro Alves <palves@redhat.com>
12441
12442 * gdb.base/fileio.c (null_str): New global.
12443 (test_stat): Use it.
12444 * gdb.base/fileio.exp: Remove nowarnings.
12445
124462017-05-17 Yao Qi <yao.qi@linaro.org>
12447
12448 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12449
124502017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12451
12452 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12453 argument command.
12454 (top-level): Invoke test_set_inferior_tty.
12455
124562017-05-04 Pedro Alves <palves@redhat.com>
12457
12458 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12459 Add parens to print call for Python 3.
12460
124612017-05-03 Keith Seitz <keiths@redhat.com>
12462
12463 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12464 (main): Call it.
12465
124662017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12467
12468 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12469 to prev and next.
12470
124712017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12472
12473 * gdb.python/py-record-btrace.exp: Remove test for
12474 gdb.BtraceInstruction.error.
12475
124762017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12477
12478 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12479
124802017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12481
12482 * gdb.python/py-record-btrace-threads.c: New file.
12483 * gdb.python/py-record-btrace-threads.exp: New file.
12484
124852017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12486
12487 PR testsuite/8595
12488 * gdb.base/environ.exp: Make test available in all architectures.
12489 Move bits related to "info program" testing to
12490 gdb.base/info-program.exp. Rewrite tests to use the two new
12491 procedures mentione below.
12492 (test_set_show_env_var) New procedure.
12493 (test_set_show_env_var_equal): Likewise.
12494 * gdb.base/info-program.exp: New file.
12495
124962017-04-27 Keith Seitz <keiths@redhat.com>
12497
12498 * gdb.cp/oranking.cc (test15): New function.
12499 (main): Call test15 and declare additional variables for testing.
12500 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12501 "p foo101('abc')" tests.
12502 Add tests for cv qualifier overloads.
12503 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12504 "lvalue reference overload" test.
12505 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12506 "print value of f1 on Child&& in f2" test.
12507
125082017-04-19 Pedro Alves <palves@redhat.com>
12509
12510 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12511 procedure.
12512 (top level): Call it.
12513 * lib/gdb.exp (gdb_define_cmd): New procedure.
12514
125152017-04-12 Pedro Alves <palves@redhat.com>
12516
12517 PR gdb/21323
12518 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12519 (wchar): New global.
12520 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12521 (do_test_wide_char, wide_char_types_no_program, top level): Add
12522 wchar_t testing.
12523
125242017-04-12 Pedro Alves <palves@redhat.com>
12525
12526 PR c++/21323
12527 * gdb.cp/wide_char_types.c: New file.
12528 * gdb.cp/wide_char_types.exp: New file.
12529
125302017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12531
12532 PR gdb/21352
12533 * gdb.trace/tsv.exp: Add test for "tsave -r".
12534
125352017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12536
12537 * gdb.dlang/watch-loc.c: New file.
12538 * gdb.dlang/watch-loc.exp: New file.
12539
125402017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12541
12542 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12543
125442017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12545
12546 * gdb.arch/arc-analyze-prologue.S: New file.
12547 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12548
125492017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12550
12551 * gdb.arch/arc-decode-insn.S: New file.
12552 * gdb.arch/arc-decode-insn.exp: Likewise.
12553
125542017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12555
12556 PR tdep/20928
12557 * gdb.arch/sparc64-regs.exp: New file.
12558 * gdb.arch/sparc64-regs.S: Likewise.
12559
125602017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12561
12562 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12563 and memory view on Python 3.
12564
125652017-03-20 Artemiy Volkov <artemiyv@acm.org>
12566 Keith Seitz <keiths@redhat.com>
12567
12568 PR gdb/14441
12569 * gdb.cp/demangle.exp: Add rvalue reference tests.
12570 * gdb.cp/rvalue-ref-casts.cc: New file.
12571 * gdb.cp/rvalue-ref-casts.exp: New file.
12572 * gdb.cp/rvalue-ref-overload.cc: New file.
12573 * gdb.cp/rvalue-ref-overload.exp: New file.
12574 * gdb.cp/rvalue-ref-params.cc: New file.
12575 * gdb.cp/rvalue-ref-params.exp: New file.
12576 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12577 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12578 * gdb.cp/rvalue-ref-types.cc: New file.
12579 * gdb.cp/rvalue-ref-types.exp: New file.
12580 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12581 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12582
125832017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12584
12585 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12586 New procedure.
12587
125882017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12589
12590 * lib/mi-support.exp (mi_gdb_test): Add additional message
12591 for unexpected output.
12592
125932017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12594
12595 * gdb.base/examine-backward.c (Barrier): New character array
12596 constant, to ensure that TestStrings is preceded by a string
12597 terminator.
12598
125992017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12600
12601 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12602 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12603 and implicit pointer into such a location.
12604
126052017-03-16 Doug Evans <dje@google.com>
12606
12607 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12608
126092017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12610
12611 * gdb.cp/m-static.exp: Fix expectation for prototype of
12612 test5.single_constructor and single_constructor::single_constructor.
12613
126142017-03-16 Doug Evans <dje@google.com>
12615
12616 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12617 * gdb.guile/scm-lazy-string.c: New file.
12618 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12619 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12620 for pointer, array, typedef lazy strings.
12621
126222017-03-16 Doug Evans <dje@google.com>
12623
12624 PR python/17728, python/18439, python/18779
12625 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12626 * gdb.python/py-lazy-string.c (pointer): New typedef.
12627 (main): New locals ptr, array, typedef_ptr.
12628 * gdb.python/py-value.exp: Move lazy string tests to ...
12629 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12630 array, typedef lazy strings.
12631
126322017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12633
12634 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12635 Add optional 'test' parameter.
12636
126372017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12638
12639 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12640 Skip for versions of DejaGnu < 1.5.
12641
126422017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12643
12644 * lib/gdb.exp (dejagnu_version): New proc.
12645 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12646 Use dejagnu_version.
12647
126482017-03-10 Keith Seitz <keiths@redhat.com>
12649
12650 PR c++/8128
12651 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12652 type from destructor regexps.
12653 Add a branch which actually passes the test.
12654 Adjust "ptype t5i" test names.
12655
126562017-03-08 Pedro Alves <palves@redhat.com>
12657
12658 * gdb.base/step-over-exit.exp: Add explicit test message.
12659
126602017-03-08 Pedro Alves <palves@redhat.com>
12661
12662 PR gdb/18360
12663 * gdb.threads/interrupt-while-step-over.c: New file.
12664 * gdb.threads/interrupt-while-step-over.exp: New file.
12665
126662017-03-08 Pedro Alves <palves@redhat.com>
12667
12668 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12669 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12670
126712017-03-08 Pedro Alves <palves@redhat.com>
12672
12673 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12674 PKRU as not supported as a PASS.
12675
126762017-03-08 Pedro Alves <palves@redhat.com>
12677
12678 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12679 prefix instead of $binfile1/$binfile2.
12680 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12681 in test message.
12682 * gdb.python/py-completion.exp: Use "load python file" as test
12683 messages instead of unstable path names.
12684
126852017-03-08 Pedro Alves <palves@redhat.com>
12686 Jan Kratochvil <jan.kratochvil@redhat.com>
12687
12688 PR cli/21218
12689 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12690 New proc.
12691 (top level): Call it.
12692
126932017-03-08 Pedro Alves <palves@redhat.com>
12694
12695 PR tui/21216
12696 * gdb.tui/tui-nl-filtered-output.exp: New file.
12697
126982017-03-08 Pedro Alves <palves@redhat.com>
12699
12700 * gdb.base/completion.exp: Move TUI completion tests to ...
12701 * gdb.tui/completion.exp: ... this new file.
12702
127032017-03-08 Pedro Alves <palves@redhat.com>
12704
12705 * gdb.base/tui-disasm-long-lines.c,
12706 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12707 gdb.base/tui-layout.exp: Move to ...
12708 * gdb.tui/: ... this new directory.
12709
127102017-03-07 Pedro Alves <palves@redhat.com>
12711
12712 * gdb.base/tui-layout.c: New file.
12713 * gdb.base/tui-layout.exp: New file.
12714
127152017-03-07 Pedro Alves <palves@redhat.com>
12716
12717 * gdb.base/tui-layout.c: Rename to ...
12718 * gdb.base/tui-disasm-long-lines.c: ... this.
12719 * gdb.base/tui-layout.exp: Rename to ...
12720 * gdb.base/tui-disasm-long-lines.exp: ... this.
12721
127222017-03-07 Pedro Alves <palves@redhat.com>
12723
12724 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12725
127262017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12727
12728 * i386-mpx-call.c: New file.
12729 * i386-mpx-call.exp: New file.
12730
127312017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12732
12733 * gdb.arch/powerpc-power.exp: Delete test.
12734 * gdb.arch/powerpc-power.s: Likewise.
12735 * gdb.disasm/disassembler-options.exp: New test.
12736 * gdb.arch/powerpc-altivec.exp: Likewise.
12737 * gdb.arch/powerpc-altivec.s: Likewise.
12738 * gdb.arch/powerpc-altivec2.exp: Likewise.
12739 * gdb.arch/powerpc-altivec2.s: Likewise.
12740 * gdb.arch/powerpc-altivec3.exp: Likewise.
12741 * gdb.arch/powerpc-altivec3.s: Likewise.
12742 * gdb.arch/powerpc-power7.exp: Likewise.
12743 * gdb.arch/powerpc-power7.s: Likewise.
12744 * gdb.arch/powerpc-power8.exp: Likewise.
12745 * gdb.arch/powerpc-power8.s: Likewise.
12746 * gdb.arch/powerpc-power9.exp: Likewise.
12747 * gdb.arch/powerpc-power9.s: Likewise.
12748 * gdb.arch/powerpc-vsx.exp: Likewise.
12749 * gdb.arch/powerpc-vsx.s: Likewise.
12750 * gdb.arch/powerpc-vsx2.exp: Likewise.
12751 * gdb.arch/powerpc-vsx2.s: Likewise.
12752 * gdb.arch/powerpc-vsx3.exp: Likewise.
12753 * gdb.arch/powerpc-vsx3.s: Likewise.
12754 * gdb.arch/arm-disassembler-options.exp: Likewise.
12755 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12756 * gdb.arch/s390-disassembler-options.exp: Likewise.
12757
127582017-02-23 Luis Machado <lgustavo@codesourcery.com>
12759
12760 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12761 (check_supported_features): ... this. Changed return type to void.
12762 (supports_rdseed): New static global.
12763 (rdseed): Check supports_rdseed.
12764 (initialize): Call check_supported_features.
12765
127662017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12767
12768 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12769 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12770 and lqarx/stqcx.
12771 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12772 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12773
127742017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12775
12776 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12777 uppercase.
12778
127792017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12780
12781 * gdb.dwarf2/formdata16.c: New file.
12782 * gdb.dwarf2/formdata16.exp: New file.
12783 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12784
127852017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12786
12787 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12788 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12789 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12790 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12791 DW_AT_GNU_*.
12792
127932017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12794
12795 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12796
127972017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12798
12799 PR gdb/21164
12800 * gdb.base/maint.exp: Add testcases for when the commands do
12801 not have arguments.
12802
128032017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12804
12805 * gdb.cp/chained-calls.exp: Use p instead of P.
12806
128072017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12808
12809 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12810 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12811
128122017-02-14 Tom Tromey <tom@tromey.com>
12813
12814 PR python/13598:
12815 * gdb.python/py-events.exp: Add before_prompt event tests.
12816
128172017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12818
12819 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12820
128212017-02-13 Luis Machado <lgustavo@codesourcery.com>
12822
12823 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12824 (main): Call my_unique_function_name.
12825 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12826 completion of patterns with a single match.
12827 Add missing -re switches to gdb_test_multiple calls.
12828
128292017-02-13 Luis Machado <lgustavo@codesourcery.com>
12830
12831 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12832 return if core file is not recognized.
12833
128342017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12835
12836 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12837 and extra UIs.
12838
128392017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12840
12841 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12842 proc_with_prefix.
12843
128442017-02-10 Tom Tromey <tom@tromey.com>
12845
12846 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12847
128482017-02-10 Martin Galvan <martingalvan@sourceware.org>
12849
12850 PR gdb/21122
12851 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12852
128532017-02-08 Jerome Guitton <guitton@adacore.com>
12854
12855 * gdb.base/define.exp: Add test for command abbreviations
12856 in define.
12857
128582017-02-06 Luis Machado <lgustavo@codesourcery.com>
12859
12860 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12861 * gdb.reverse/insn-reverse-x86.c: New file.
12862
128632017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12864
12865 PR tdep/20936
12866 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12867
128682017-02-03 Tom Tromey <tom@tromey.com>
12869
12870 PR rust/21097:
12871 * gdb.rust/simple.exp: Add new tests.
12872
128732017-02-02 Pedro Alves <palves@redhat.com>
12874
12875 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12876 tests.
12877
128782017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12879
12880 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12881 taking a 2-byte value out of a 4-byte DWARF implicit value on
12882 big-endian targets.
12883 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12884 logic. Add test cases for DW_OP_implicit.
12885
128862017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12887
12888 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12889
128902017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12891
12892 * gdb.btrace/enable.exp: Call gdb_exit before
12893 skip_gdbserver_tests.
12894
128952017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12896
12897 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12898 GDBFLAGS.
12899
129002017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12901
12902 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12903 the test is skipped.
12904 * gdb.btrace/data.exp: Likewise.
12905 * gdb.btrace/delta.exp: Likewise.
12906 * gdb.btrace/dlopen.exp: Likewise.
12907 * gdb.btrace/enable-running.exp: Likewise.
12908 * gdb.btrace/enable.exp: Likewise.
12909 * gdb.btrace/exception.exp: Likewise.
12910 * gdb.btrace/function_call_history.exp: Likewise.
12911 * gdb.btrace/gcore.exp: Likewise.
12912 * gdb.btrace/instruction_history.exp: Likewise.
12913 * gdb.btrace/multi-thread-step.exp: Likewise.
12914 * gdb.btrace/nohist.exp: Likewise.
12915 * gdb.btrace/non-stop.exp: Likewise.
12916 * gdb.btrace/reconnect.exp: Likewise.
12917 * gdb.btrace/record_goto-step.exp: Likewise.
12918 * gdb.btrace/record_goto.exp: Likewise.
12919 * gdb.btrace/rn-dl-bind.exp: Likewise.
12920 * gdb.btrace/segv.exp: Likewise.
12921 * gdb.btrace/step.exp: Likewise.
12922 * gdb.btrace/stepi.exp: Likewise.
12923 * gdb.btrace/tailcall-only.exp: Likewise.
12924 * gdb.btrace/tailcall.exp: Likewise.
12925 * gdb.btrace/tsx.exp: Likewise.
12926 * gdb.btrace/unknown_functions.exp: Likewise.
12927 * gdb.btrace/vdso.exp: Likewise.
12928
129292017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12930
12931 * gdb.btrace/enable-running.c: New.
12932 * gdb.btrace/enable-running.exp: New.
12933
129342017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12935
12936 * gdb.arch/amd64-gs_base.c: New file.
12937 * gdb.arch/amd64-gs_base.exp: New file.
12938
129392017-01-26 Luis Machado <lgustavo@codesourcery.com>
12940
12941 * lib/memory.exp: Remove spurious empty newlines.
12942
129432017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12944
12945 * gdb.python/py-bad-printers.exp: Load python file using "source".
12946 * gdb.python/py-events.exp: Likewise.
12947 * gdb.python/py-evsignal.exp: Likewise.
12948 * gdb.python/py-evthreads.exp: Likewise.
12949 * gdb.python/py-frame-args.exp: Likewise.
12950 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12951 * gdb.python/py-framefilter-mi.exp: Likewise.
12952 * gdb.python/py-framefilter.exp: Likewise.
12953 * gdb.python/py-mi.exp: Likewise.
12954 * gdb.python/py-pp-maint.exp: Likewise.
12955 * gdb.python/py-pp-registration.exp: Likewise.
12956 * gdb.python/py-prettyprint.exp: Likewise.
12957 (run_lang_tests): Likewise.
12958 * gdb.python/py-typeprint.exp: Likewise.
12959
129602017-01-26 Luis Machado <lgustavo@codesourcery.com>
12961
12962 * lib/memory.exp: New file.
12963 * lib/gdb.exp: Load memory.exp.
12964 * gdb.base/memattr.exp (delete_memory): Move proc to
12965 lib/memory.exp and rename to delete_memory_regions.
12966 Replace delete_memory with delete_memory_regions.
12967 Cleanup memory regions before tests.
12968 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12969 before tests.
12970
129712017-01-26 Luis Machado <lgustavo@codesourcery.com>
12972
12973 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12974 files.
12975 (initialize): New function conditionally defined.
12976 (testcases): Move within conditional block.
12977 (main): Call initialize.
12978 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12979 of gdb.reverse/insn-reverse.c.
12980 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12981 gdb.reverse/insn-reverse.c.
12982
129832017-01-26 Yao Qi <yao.qi@linaro.org>
12984
12985 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12986 disassemble on address 0.
12987
129882017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12989 Yao Qi <yao.qi@linaro.org>
12990
12991 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12992 * gdb.dwarf2/implptr-64bit.S: Remove.
12993 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12994 variables in caller's context. Add DW_OP_implicit_value.
12995
129962017-01-25 Yao Qi <yao.qi@linaro.org>
12997
12998 * lib/dwarf.exp (Dwarf::_location): Handle
12999 DW_OP_GNU_implicit_pointer with proper size.
13000
130012017-01-20 Luis Machado <lgustavo@codesourcery.com>
13002
13003 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13004 and add untested calls.
13005
130062017-01-20 Luis Machado <lgustavo@codesourcery.com>
13007
13008 * gdb.python/python.exp: Check line number against what GDB thinks
13009 the line number is for func1.
13010
130112017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13012
13013 * gdb.dlang/debug-expr.exp: New file.
13014
130152016-12-23 Luis Machado <lgustavo@codesourcery.com>
13016
13017 Fix test names for the following files:
13018
13019 * gdb.ada/exec_changed.exp
13020 * gdb.ada/info_types.exp
13021 * gdb.arch/aarch64-atomic-inst.exp
13022 * gdb.arch/aarch64-fp.exp
13023 * gdb.arch/altivec-abi.exp
13024 * gdb.arch/altivec-regs.exp
13025 * gdb.arch/amd64-byte.exp
13026 * gdb.arch/amd64-disp-step.exp
13027 * gdb.arch/amd64-dword.exp
13028 * gdb.arch/amd64-entry-value-inline.exp
13029 * gdb.arch/amd64-entry-value-param.exp
13030 * gdb.arch/amd64-entry-value-paramref.exp
13031 * gdb.arch/amd64-entry-value.exp
13032 * gdb.arch/amd64-i386-address.exp
13033 * gdb.arch/amd64-invalid-stack-middle.exp
13034 * gdb.arch/amd64-invalid-stack-top.exp
13035 * gdb.arch/amd64-optimout-repeat.exp
13036 * gdb.arch/amd64-prologue-skip.exp
13037 * gdb.arch/amd64-prologue-xmm.exp
13038 * gdb.arch/amd64-stap-special-operands.exp
13039 * gdb.arch/amd64-stap-wrong-subexp.exp
13040 * gdb.arch/amd64-tailcall-cxx.exp
13041 * gdb.arch/amd64-tailcall-noret.exp
13042 * gdb.arch/amd64-tailcall-ret.exp
13043 * gdb.arch/amd64-tailcall-self.exp
13044 * gdb.arch/amd64-word.exp
13045 * gdb.arch/arm-bl-branch-dest.exp
13046 * gdb.arch/arm-disp-step.exp
13047 * gdb.arch/arm-neon.exp
13048 * gdb.arch/arm-single-step-kernel-helper.exp
13049 * gdb.arch/avr-flash-qualifier.exp
13050 * gdb.arch/disp-step-insn-reloc.exp
13051 * gdb.arch/e500-abi.exp
13052 * gdb.arch/e500-regs.exp
13053 * gdb.arch/ftrace-insn-reloc.exp
13054 * gdb.arch/i386-avx512.exp
13055 * gdb.arch/i386-bp_permanent.exp
13056 * gdb.arch/i386-byte.exp
13057 * gdb.arch/i386-cfi-notcurrent.exp
13058 * gdb.arch/i386-disp-step.exp
13059 * gdb.arch/i386-dr3-watch.exp
13060 * gdb.arch/i386-float.exp
13061 * gdb.arch/i386-gnu-cfi.exp
13062 * gdb.arch/i386-mpx-map.exp
13063 * gdb.arch/i386-mpx-sigsegv.exp
13064 * gdb.arch/i386-mpx-simple_segv.exp
13065 * gdb.arch/i386-mpx.exp
13066 * gdb.arch/i386-permbkpt.exp
13067 * gdb.arch/i386-prologue.exp
13068 * gdb.arch/i386-signal.exp
13069 * gdb.arch/i386-size-overlap.exp
13070 * gdb.arch/i386-unwind.exp
13071 * gdb.arch/i386-word.exp
13072 * gdb.arch/mips-fcr.exp
13073 * gdb.arch/powerpc-d128-regs.exp
13074 * gdb.arch/powerpc-stackless.exp
13075 * gdb.arch/ppc64-atomic-inst.exp
13076 * gdb.arch/s390-stackless.exp
13077 * gdb.arch/s390-tdbregs.exp
13078 * gdb.arch/s390-vregs.exp
13079 * gdb.arch/sparc-sysstep.exp
13080 * gdb.arch/thumb-bx-pc.exp
13081 * gdb.arch/thumb-singlestep.exp
13082 * gdb.arch/thumb2-it.exp
13083 * gdb.arch/vsx-regs.exp
13084 * gdb.asm/asm-source.exp
13085 * gdb.base/a2-run.exp
13086 * gdb.base/advance.exp
13087 * gdb.base/all-bin.exp
13088 * gdb.base/anon.exp
13089 * gdb.base/args.exp
13090 * gdb.base/arithmet.exp
13091 * gdb.base/async-shell.exp
13092 * gdb.base/async.exp
13093 * gdb.base/attach-pie-noexec.exp
13094 * gdb.base/attach-twice.exp
13095 * gdb.base/auto-load.exp
13096 * gdb.base/bang.exp
13097 * gdb.base/bitfields.exp
13098 * gdb.base/break-always.exp
13099 * gdb.base/break-caller-line.exp
13100 * gdb.base/break-entry.exp
13101 * gdb.base/break-inline.exp
13102 * gdb.base/break-on-linker-gcd-function.exp
13103 * gdb.base/break-probes.exp
13104 * gdb.base/break.exp
13105 * gdb.base/breakpoint-shadow.exp
13106 * gdb.base/call-ar-st.exp
13107 * gdb.base/call-sc.exp
13108 * gdb.base/call-signal-resume.exp
13109 * gdb.base/call-strs.exp
13110 * gdb.base/callfuncs.exp
13111 * gdb.base/catch-fork-static.exp
13112 * gdb.base/catch-gdb-caused-signals.exp
13113 * gdb.base/catch-load.exp
13114 * gdb.base/catch-signal-fork.exp
13115 * gdb.base/catch-signal.exp
13116 * gdb.base/catch-syscall.exp
13117 * gdb.base/charset.exp
13118 * gdb.base/checkpoint.exp
13119 * gdb.base/chng-syms.exp
13120 * gdb.base/code-expr.exp
13121 * gdb.base/code_elim.exp
13122 * gdb.base/commands.exp
13123 * gdb.base/completion.exp
13124 * gdb.base/complex.exp
13125 * gdb.base/cond-expr.exp
13126 * gdb.base/condbreak.exp
13127 * gdb.base/consecutive.exp
13128 * gdb.base/continue-all-already-running.exp
13129 * gdb.base/coredump-filter.exp
13130 * gdb.base/corefile.exp
13131 * gdb.base/dbx.exp
13132 * gdb.base/debug-expr.exp
13133 * gdb.base/define.exp
13134 * gdb.base/del.exp
13135 * gdb.base/disabled-location.exp
13136 * gdb.base/disasm-end-cu.exp
13137 * gdb.base/disasm-optim.exp
13138 * gdb.base/display.exp
13139 * gdb.base/duplicate-bp.exp
13140 * gdb.base/ena-dis-br.exp
13141 * gdb.base/ending-run.exp
13142 * gdb.base/enumval.exp
13143 * gdb.base/environ.exp
13144 * gdb.base/eu-strip-infcall.exp
13145 * gdb.base/eval-avoid-side-effects.exp
13146 * gdb.base/eval-skip.exp
13147 * gdb.base/exitsignal.exp
13148 * gdb.base/expand-psymtabs.exp
13149 * gdb.base/filesym.exp
13150 * gdb.base/find-unmapped.exp
13151 * gdb.base/finish.exp
13152 * gdb.base/float.exp
13153 * gdb.base/foll-exec-mode.exp
13154 * gdb.base/foll-exec.exp
13155 * gdb.base/foll-fork.exp
13156 * gdb.base/fortran-sym-case.exp
13157 * gdb.base/freebpcmd.exp
13158 * gdb.base/func-ptr.exp
13159 * gdb.base/func-ptrs.exp
13160 * gdb.base/funcargs.exp
13161 * gdb.base/gcore-buffer-overflow.exp
13162 * gdb.base/gcore-relro-pie.exp
13163 * gdb.base/gcore-relro.exp
13164 * gdb.base/gcore.exp
13165 * gdb.base/gdb1090.exp
13166 * gdb.base/gdb11530.exp
13167 * gdb.base/gdb11531.exp
13168 * gdb.base/gdb1821.exp
13169 * gdb.base/gdbindex-stabs.exp
13170 * gdb.base/gdbvars.exp
13171 * gdb.base/hbreak.exp
13172 * gdb.base/hbreak2.exp
13173 * gdb.base/included.exp
13174 * gdb.base/infcall-input.exp
13175 * gdb.base/inferior-died.exp
13176 * gdb.base/infnan.exp
13177 * gdb.base/info-macros.exp
13178 * gdb.base/info-os.exp
13179 * gdb.base/info-proc.exp
13180 * gdb.base/info-shared.exp
13181 * gdb.base/info-target.exp
13182 * gdb.base/infoline.exp
13183 * gdb.base/interp.exp
13184 * gdb.base/interrupt.exp
13185 * gdb.base/jit-reader.exp
13186 * gdb.base/jit-simple.exp
13187 * gdb.base/kill-after-signal.exp
13188 * gdb.base/kill-detach-inferiors-cmd.exp
13189 * gdb.base/label.exp
13190 * gdb.base/langs.exp
13191 * gdb.base/ldbl_e308.exp
13192 * gdb.base/line-symtabs.exp
13193 * gdb.base/linespecs.exp
13194 * gdb.base/list.exp
13195 * gdb.base/long_long.exp
13196 * gdb.base/longest-types.exp
13197 * gdb.base/maint.exp
13198 * gdb.base/max-value-size.exp
13199 * gdb.base/memattr.exp
13200 * gdb.base/mips_pro.exp
13201 * gdb.base/morestack.exp
13202 * gdb.base/moribund-step.exp
13203 * gdb.base/multi-forks.exp
13204 * gdb.base/nested-addr.exp
13205 * gdb.base/nextoverexit.exp
13206 * gdb.base/noreturn-finish.exp
13207 * gdb.base/noreturn-return.exp
13208 * gdb.base/nostdlib.exp
13209 * gdb.base/offsets.exp
13210 * gdb.base/opaque.exp
13211 * gdb.base/pc-fp.exp
13212 * gdb.base/permissions.exp
13213 * gdb.base/print-symbol-loading.exp
13214 * gdb.base/prologue-include.exp
13215 * gdb.base/psymtab.exp
13216 * gdb.base/ptype.exp
13217 * gdb.base/random-signal.exp
13218 * gdb.base/randomize.exp
13219 * gdb.base/range-stepping.exp
13220 * gdb.base/readline-ask.exp
13221 * gdb.base/recpar.exp
13222 * gdb.base/recurse.exp
13223 * gdb.base/relational.exp
13224 * gdb.base/restore.exp
13225 * gdb.base/return-nodebug.exp
13226 * gdb.base/return.exp
13227 * gdb.base/run-after-attach.exp
13228 * gdb.base/save-bp.exp
13229 * gdb.base/scope.exp
13230 * gdb.base/sect-cmd.exp
13231 * gdb.base/set-lang-auto.exp
13232 * gdb.base/set-noassign.exp
13233 * gdb.base/setvar.exp
13234 * gdb.base/sigall.exp
13235 * gdb.base/sigbpt.exp
13236 * gdb.base/siginfo-addr.exp
13237 * gdb.base/siginfo-infcall.exp
13238 * gdb.base/siginfo-obj.exp
13239 * gdb.base/siginfo.exp
13240 * gdb.base/signals-state-child.exp
13241 * gdb.base/signest.exp
13242 * gdb.base/sigstep.exp
13243 * gdb.base/sizeof.exp
13244 * gdb.base/skip.exp
13245 * gdb.base/solib-corrupted.exp
13246 * gdb.base/solib-nodir.exp
13247 * gdb.base/solib-search.exp
13248 * gdb.base/stack-checking.exp
13249 * gdb.base/stale-infcall.exp
13250 * gdb.base/stap-probe.exp
13251 * gdb.base/start.exp
13252 * gdb.base/step-break.exp
13253 * gdb.base/step-bt.exp
13254 * gdb.base/step-line.exp
13255 * gdb.base/step-over-exit.exp
13256 * gdb.base/step-over-syscall.exp
13257 * gdb.base/step-resume-infcall.exp
13258 * gdb.base/step-test.exp
13259 * gdb.base/store.exp
13260 * gdb.base/structs3.exp
13261 * gdb.base/sym-file.exp
13262 * gdb.base/symbol-without-target_section.exp
13263 * gdb.base/term.exp
13264 * gdb.base/testenv.exp
13265 * gdb.base/ui-redirect.exp
13266 * gdb.base/until.exp
13267 * gdb.base/unwindonsignal.exp
13268 * gdb.base/value-double-free.exp
13269 * gdb.base/vla-datatypes.exp
13270 * gdb.base/vla-ptr.exp
13271 * gdb.base/vla-sideeffect.exp
13272 * gdb.base/volatile.exp
13273 * gdb.base/watch-cond-infcall.exp
13274 * gdb.base/watch-cond.exp
13275 * gdb.base/watch-non-mem.exp
13276 * gdb.base/watch-read.exp
13277 * gdb.base/watch-vfork.exp
13278 * gdb.base/watchpoint-cond-gone.exp
13279 * gdb.base/watchpoint-delete.exp
13280 * gdb.base/watchpoint-hw-hit-once.exp
13281 * gdb.base/watchpoint-hw.exp
13282 * gdb.base/watchpoint-stops-at-right-insn.exp
13283 * gdb.base/watchpoints.exp
13284 * gdb.base/wchar.exp
13285 * gdb.base/whatis-exp.exp
13286 * gdb.btrace/buffer-size.exp
13287 * gdb.btrace/data.exp
13288 * gdb.btrace/delta.exp
13289 * gdb.btrace/dlopen.exp
13290 * gdb.btrace/enable.exp
13291 * gdb.btrace/exception.exp
13292 * gdb.btrace/function_call_history.exp
13293 * gdb.btrace/gcore.exp
13294 * gdb.btrace/instruction_history.exp
13295 * gdb.btrace/nohist.exp
13296 * gdb.btrace/reconnect.exp
13297 * gdb.btrace/record_goto-step.exp
13298 * gdb.btrace/record_goto.exp
13299 * gdb.btrace/rn-dl-bind.exp
13300 * gdb.btrace/segv.exp
13301 * gdb.btrace/step.exp
13302 * gdb.btrace/stepi.exp
13303 * gdb.btrace/tailcall-only.exp
13304 * gdb.btrace/tailcall.exp
13305 * gdb.btrace/tsx.exp
13306 * gdb.btrace/unknown_functions.exp
13307 * gdb.btrace/vdso.exp
13308 * gdb.compile/compile-ifunc.exp
13309 * gdb.compile/compile-ops.exp
13310 * gdb.compile/compile-print.exp
13311 * gdb.compile/compile-setjmp.exp
13312 * gdb.cp/abstract-origin.exp
13313 * gdb.cp/ambiguous.exp
13314 * gdb.cp/annota2.exp
13315 * gdb.cp/annota3.exp
13316 * gdb.cp/anon-ns.exp
13317 * gdb.cp/anon-struct.exp
13318 * gdb.cp/anon-union.exp
13319 * gdb.cp/arg-reference.exp
13320 * gdb.cp/baseenum.exp
13321 * gdb.cp/bool.exp
13322 * gdb.cp/breakpoint.exp
13323 * gdb.cp/bs15503.exp
13324 * gdb.cp/call-c.exp
13325 * gdb.cp/casts.exp
13326 * gdb.cp/chained-calls.exp
13327 * gdb.cp/class2.exp
13328 * gdb.cp/classes.exp
13329 * gdb.cp/cmpd-minsyms.exp
13330 * gdb.cp/converts.exp
13331 * gdb.cp/cp-relocate.exp
13332 * gdb.cp/cpcompletion.exp
13333 * gdb.cp/cpexprs.exp
13334 * gdb.cp/cplabel.exp
13335 * gdb.cp/cplusfuncs.exp
13336 * gdb.cp/cpsizeof.exp
13337 * gdb.cp/ctti.exp
13338 * gdb.cp/derivation.exp
13339 * gdb.cp/destrprint.exp
13340 * gdb.cp/dispcxx.exp
13341 * gdb.cp/enum-class.exp
13342 * gdb.cp/exception.exp
13343 * gdb.cp/exceptprint.exp
13344 * gdb.cp/expand-psymtabs-cxx.exp
13345 * gdb.cp/expand-sals.exp
13346 * gdb.cp/extern-c.exp
13347 * gdb.cp/filename.exp
13348 * gdb.cp/formatted-ref.exp
13349 * gdb.cp/fpointer.exp
13350 * gdb.cp/gdb1355.exp
13351 * gdb.cp/gdb2495.exp
13352 * gdb.cp/hang.exp
13353 * gdb.cp/impl-this.exp
13354 * gdb.cp/infcall-dlopen.exp
13355 * gdb.cp/inherit.exp
13356 * gdb.cp/iostream.exp
13357 * gdb.cp/koenig.exp
13358 * gdb.cp/local.exp
13359 * gdb.cp/m-data.exp
13360 * gdb.cp/m-static.exp
13361 * gdb.cp/mb-ctor.exp
13362 * gdb.cp/mb-inline.exp
13363 * gdb.cp/mb-templates.exp
13364 * gdb.cp/member-name.exp
13365 * gdb.cp/member-ptr.exp
13366 * gdb.cp/meth-typedefs.exp
13367 * gdb.cp/method.exp
13368 * gdb.cp/method2.exp
13369 * gdb.cp/minsym-fallback.exp
13370 * gdb.cp/misc.exp
13371 * gdb.cp/namelessclass.exp
13372 * gdb.cp/namespace-enum.exp
13373 * gdb.cp/namespace-nested-import.exp
13374 * gdb.cp/namespace.exp
13375 * gdb.cp/nextoverthrow.exp
13376 * gdb.cp/no-dmgl-verbose.exp
13377 * gdb.cp/non-trivial-retval.exp
13378 * gdb.cp/noparam.exp
13379 * gdb.cp/nsdecl.exp
13380 * gdb.cp/nsimport.exp
13381 * gdb.cp/nsnested.exp
13382 * gdb.cp/nsnoimports.exp
13383 * gdb.cp/nsrecurs.exp
13384 * gdb.cp/nsstress.exp
13385 * gdb.cp/nsusing.exp
13386 * gdb.cp/operator.exp
13387 * gdb.cp/oranking.exp
13388 * gdb.cp/overload-const.exp
13389 * gdb.cp/overload.exp
13390 * gdb.cp/ovldbreak.exp
13391 * gdb.cp/ovsrch.exp
13392 * gdb.cp/paren-type.exp
13393 * gdb.cp/parse-lang.exp
13394 * gdb.cp/pass-by-ref.exp
13395 * gdb.cp/pr-1023.exp
13396 * gdb.cp/pr-1210.exp
13397 * gdb.cp/pr-574.exp
13398 * gdb.cp/pr10687.exp
13399 * gdb.cp/pr12028.exp
13400 * gdb.cp/pr17132.exp
13401 * gdb.cp/pr17494.exp
13402 * gdb.cp/pr9067.exp
13403 * gdb.cp/pr9167.exp
13404 * gdb.cp/pr9631.exp
13405 * gdb.cp/printmethod.exp
13406 * gdb.cp/psmang.exp
13407 * gdb.cp/psymtab-parameter.exp
13408 * gdb.cp/ptype-cv-cp.exp
13409 * gdb.cp/ptype-flags.exp
13410 * gdb.cp/re-set-overloaded.exp
13411 * gdb.cp/ref-types.exp
13412 * gdb.cp/rtti.exp
13413 * gdb.cp/scope-err.exp
13414 * gdb.cp/shadow.exp
13415 * gdb.cp/smartp.exp
13416 * gdb.cp/static-method.exp
13417 * gdb.cp/static-print-quit.exp
13418 * gdb.cp/temargs.exp
13419 * gdb.cp/templates.exp
13420 * gdb.cp/try_catch.exp
13421 * gdb.cp/typedef-operator.exp
13422 * gdb.cp/typeid.exp
13423 * gdb.cp/userdef.exp
13424 * gdb.cp/using-crash.exp
13425 * gdb.cp/var-tag.exp
13426 * gdb.cp/virtbase.exp
13427 * gdb.cp/virtfunc.exp
13428 * gdb.cp/virtfunc2.exp
13429 * gdb.cp/vla-cxx.exp
13430 * gdb.disasm/t01_mov.exp
13431 * gdb.disasm/t02_mova.exp
13432 * gdb.disasm/t03_add.exp
13433 * gdb.disasm/t04_sub.exp
13434 * gdb.disasm/t05_cmp.exp
13435 * gdb.disasm/t06_ari2.exp
13436 * gdb.disasm/t07_ari3.exp
13437 * gdb.disasm/t08_or.exp
13438 * gdb.disasm/t09_xor.exp
13439 * gdb.disasm/t10_and.exp
13440 * gdb.disasm/t11_logs.exp
13441 * gdb.disasm/t12_bit.exp
13442 * gdb.disasm/t13_otr.exp
13443 * gdb.dlang/circular.exp
13444 * gdb.dwarf2/arr-stride.exp
13445 * gdb.dwarf2/arr-subrange.exp
13446 * gdb.dwarf2/atomic-type.exp
13447 * gdb.dwarf2/bad-regnum.exp
13448 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13449 * gdb.dwarf2/callframecfa.exp
13450 * gdb.dwarf2/clztest.exp
13451 * gdb.dwarf2/corrupt.exp
13452 * gdb.dwarf2/data-loc.exp
13453 * gdb.dwarf2/dup-psym.exp
13454 * gdb.dwarf2/dw2-anon-mptr.exp
13455 * gdb.dwarf2/dw2-anonymous-func.exp
13456 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13457 * gdb.dwarf2/dw2-bad-unresolved.exp
13458 * gdb.dwarf2/dw2-basic.exp
13459 * gdb.dwarf2/dw2-canonicalize-type.exp
13460 * gdb.dwarf2/dw2-case-insensitive.exp
13461 * gdb.dwarf2/dw2-common-block.exp
13462 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13463 * gdb.dwarf2/dw2-compressed.exp
13464 * gdb.dwarf2/dw2-const.exp
13465 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13466 * gdb.dwarf2/dw2-cu-size.exp
13467 * gdb.dwarf2/dw2-dup-frame.exp
13468 * gdb.dwarf2/dw2-entry-value.exp
13469 * gdb.dwarf2/dw2-icycle.exp
13470 * gdb.dwarf2/dw2-ifort-parameter.exp
13471 * gdb.dwarf2/dw2-inline-break.exp
13472 * gdb.dwarf2/dw2-inline-param.exp
13473 * gdb.dwarf2/dw2-intercu.exp
13474 * gdb.dwarf2/dw2-intermix.exp
13475 * gdb.dwarf2/dw2-lexical-block-bare.exp
13476 * gdb.dwarf2/dw2-linkage-name-trust.exp
13477 * gdb.dwarf2/dw2-minsym-in-cu.exp
13478 * gdb.dwarf2/dw2-noloc.exp
13479 * gdb.dwarf2/dw2-op-call.exp
13480 * gdb.dwarf2/dw2-op-out-param.exp
13481 * gdb.dwarf2/dw2-opt-structptr.exp
13482 * gdb.dwarf2/dw2-param-error.exp
13483 * gdb.dwarf2/dw2-producer.exp
13484 * gdb.dwarf2/dw2-ranges-base.exp
13485 * gdb.dwarf2/dw2-ref-missing-frame.exp
13486 * gdb.dwarf2/dw2-reg-undefined.exp
13487 * gdb.dwarf2/dw2-regno-invalid.exp
13488 * gdb.dwarf2/dw2-restore.exp
13489 * gdb.dwarf2/dw2-restrict.exp
13490 * gdb.dwarf2/dw2-single-line-discriminators.exp
13491 * gdb.dwarf2/dw2-strp.exp
13492 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13493 * gdb.dwarf2/dw2-unresolved.exp
13494 * gdb.dwarf2/dw2-var-zero-addr.exp
13495 * gdb.dwarf2/dw4-sig-types.exp
13496 * gdb.dwarf2/dwz.exp
13497 * gdb.dwarf2/dynarr-ptr.exp
13498 * gdb.dwarf2/enum-type.exp
13499 * gdb.dwarf2/gdb-index.exp
13500 * gdb.dwarf2/implptr-64bit.exp
13501 * gdb.dwarf2/implptr-optimized-out.exp
13502 * gdb.dwarf2/implptr.exp
13503 * gdb.dwarf2/implref-array.exp
13504 * gdb.dwarf2/implref-const.exp
13505 * gdb.dwarf2/implref-global.exp
13506 * gdb.dwarf2/implref-struct.exp
13507 * gdb.dwarf2/mac-fileno.exp
13508 * gdb.dwarf2/main-subprogram.exp
13509 * gdb.dwarf2/member-ptr-forwardref.exp
13510 * gdb.dwarf2/method-ptr.exp
13511 * gdb.dwarf2/missing-sig-type.exp
13512 * gdb.dwarf2/nonvar-access.exp
13513 * gdb.dwarf2/opaque-type-lookup.exp
13514 * gdb.dwarf2/pieces-optimized-out.exp
13515 * gdb.dwarf2/pieces.exp
13516 * gdb.dwarf2/pr10770.exp
13517 * gdb.dwarf2/pr13961.exp
13518 * gdb.dwarf2/staticvirtual.exp
13519 * gdb.dwarf2/subrange.exp
13520 * gdb.dwarf2/symtab-producer.exp
13521 * gdb.dwarf2/trace-crash.exp
13522 * gdb.dwarf2/typeddwarf.exp
13523 * gdb.dwarf2/valop.exp
13524 * gdb.dwarf2/watch-notconst.exp
13525 * gdb.fortran/array-element.exp
13526 * gdb.fortran/charset.exp
13527 * gdb.fortran/common-block.exp
13528 * gdb.fortran/complex.exp
13529 * gdb.fortran/derived-type-function.exp
13530 * gdb.fortran/derived-type.exp
13531 * gdb.fortran/logical.exp
13532 * gdb.fortran/module.exp
13533 * gdb.fortran/multi-dim.exp
13534 * gdb.fortran/nested-funcs.exp
13535 * gdb.fortran/print-formatted.exp
13536 * gdb.fortran/subarray.exp
13537 * gdb.fortran/vla-alloc-assoc.exp
13538 * gdb.fortran/vla-datatypes.exp
13539 * gdb.fortran/vla-history.exp
13540 * gdb.fortran/vla-ptr-info.exp
13541 * gdb.fortran/vla-ptype-sub.exp
13542 * gdb.fortran/vla-ptype.exp
13543 * gdb.fortran/vla-sizeof.exp
13544 * gdb.fortran/vla-type.exp
13545 * gdb.fortran/vla-value-sub-arbitrary.exp
13546 * gdb.fortran/vla-value-sub-finish.exp
13547 * gdb.fortran/vla-value-sub.exp
13548 * gdb.fortran/vla-value.exp
13549 * gdb.fortran/whatis_type.exp
13550 * gdb.go/chan.exp
13551 * gdb.go/handcall.exp
13552 * gdb.go/hello.exp
13553 * gdb.go/integers.exp
13554 * gdb.go/methods.exp
13555 * gdb.go/package.exp
13556 * gdb.go/strings.exp
13557 * gdb.go/types.exp
13558 * gdb.go/unsafe.exp
13559 * gdb.guile/scm-arch.exp
13560 * gdb.guile/scm-block.exp
13561 * gdb.guile/scm-breakpoint.exp
13562 * gdb.guile/scm-cmd.exp
13563 * gdb.guile/scm-disasm.exp
13564 * gdb.guile/scm-equal.exp
13565 * gdb.guile/scm-frame-args.exp
13566 * gdb.guile/scm-frame-inline.exp
13567 * gdb.guile/scm-frame.exp
13568 * gdb.guile/scm-iterator.exp
13569 * gdb.guile/scm-math.exp
13570 * gdb.guile/scm-objfile.exp
13571 * gdb.guile/scm-ports.exp
13572 * gdb.guile/scm-symbol.exp
13573 * gdb.guile/scm-symtab.exp
13574 * gdb.guile/scm-value-cc.exp
13575 * gdb.guile/types-module.exp
13576 * gdb.linespec/break-ask.exp
13577 * gdb.linespec/cpexplicit.exp
13578 * gdb.linespec/explicit.exp
13579 * gdb.linespec/keywords.exp
13580 * gdb.linespec/linespec.exp
13581 * gdb.linespec/ls-dollar.exp
13582 * gdb.linespec/ls-errs.exp
13583 * gdb.linespec/skip-two.exp
13584 * gdb.linespec/thread.exp
13585 * gdb.mi/mi-async.exp
13586 * gdb.mi/mi-basics.exp
13587 * gdb.mi/mi-break.exp
13588 * gdb.mi/mi-catch-load.exp
13589 * gdb.mi/mi-cli.exp
13590 * gdb.mi/mi-cmd-param-changed.exp
13591 * gdb.mi/mi-console.exp
13592 * gdb.mi/mi-detach.exp
13593 * gdb.mi/mi-disassemble.exp
13594 * gdb.mi/mi-eval.exp
13595 * gdb.mi/mi-file-transfer.exp
13596 * gdb.mi/mi-file.exp
13597 * gdb.mi/mi-fill-memory.exp
13598 * gdb.mi/mi-inheritance-syntax-error.exp
13599 * gdb.mi/mi-linespec-err-cp.exp
13600 * gdb.mi/mi-logging.exp
13601 * gdb.mi/mi-memory-changed.exp
13602 * gdb.mi/mi-read-memory.exp
13603 * gdb.mi/mi-record-changed.exp
13604 * gdb.mi/mi-reg-undefined.exp
13605 * gdb.mi/mi-regs.exp
13606 * gdb.mi/mi-return.exp
13607 * gdb.mi/mi-reverse.exp
13608 * gdb.mi/mi-simplerun.exp
13609 * gdb.mi/mi-solib.exp
13610 * gdb.mi/mi-stack.exp
13611 * gdb.mi/mi-stepi.exp
13612 * gdb.mi/mi-syn-frame.exp
13613 * gdb.mi/mi-until.exp
13614 * gdb.mi/mi-var-block.exp
13615 * gdb.mi/mi-var-child.exp
13616 * gdb.mi/mi-var-cmd.exp
13617 * gdb.mi/mi-var-cp.exp
13618 * gdb.mi/mi-var-display.exp
13619 * gdb.mi/mi-var-invalidate.exp
13620 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13621 * gdb.mi/mi-vla-fortran.exp
13622 * gdb.mi/mi-watch.exp
13623 * gdb.mi/mi2-var-child.exp
13624 * gdb.mi/user-selected-context-sync.exp
13625 * gdb.modula2/unbounded-array.exp
13626 * gdb.multi/dummy-frame-restore.exp
13627 * gdb.multi/multi-arch-exec.exp
13628 * gdb.multi/multi-arch.exp
13629 * gdb.multi/tids.exp
13630 * gdb.multi/watchpoint-multi.exp
13631 * gdb.opencl/callfuncs.exp
13632 * gdb.opencl/convs_casts.exp
13633 * gdb.opencl/datatypes.exp
13634 * gdb.opencl/operators.exp
13635 * gdb.opencl/vec_comps.exp
13636 * gdb.opt/clobbered-registers-O2.exp
13637 * gdb.opt/inline-break.exp
13638 * gdb.opt/inline-bt.exp
13639 * gdb.opt/inline-cmds.exp
13640 * gdb.opt/inline-locals.exp
13641 * gdb.pascal/case-insensitive-symbols.exp
13642 * gdb.pascal/floats.exp
13643 * gdb.pascal/gdb11492.exp
13644 * gdb.python/lib-types.exp
13645 * gdb.python/py-arch.exp
13646 * gdb.python/py-as-string.exp
13647 * gdb.python/py-bad-printers.exp
13648 * gdb.python/py-block.exp
13649 * gdb.python/py-breakpoint-create-fail.exp
13650 * gdb.python/py-breakpoint.exp
13651 * gdb.python/py-caller-is.exp
13652 * gdb.python/py-cmd.exp
13653 * gdb.python/py-explore-cc.exp
13654 * gdb.python/py-explore.exp
13655 * gdb.python/py-finish-breakpoint.exp
13656 * gdb.python/py-finish-breakpoint2.exp
13657 * gdb.python/py-frame-args.exp
13658 * gdb.python/py-frame-inline.exp
13659 * gdb.python/py-frame.exp
13660 * gdb.python/py-framefilter-mi.exp
13661 * gdb.python/py-infthread.exp
13662 * gdb.python/py-lazy-string.exp
13663 * gdb.python/py-linetable.exp
13664 * gdb.python/py-mi-events.exp
13665 * gdb.python/py-mi-objfile.exp
13666 * gdb.python/py-mi.exp
13667 * gdb.python/py-objfile.exp
13668 * gdb.python/py-pp-integral.exp
13669 * gdb.python/py-pp-maint.exp
13670 * gdb.python/py-pp-re-notag.exp
13671 * gdb.python/py-pp-registration.exp
13672 * gdb.python/py-recurse-unwind.exp
13673 * gdb.python/py-strfns.exp
13674 * gdb.python/py-symbol.exp
13675 * gdb.python/py-symtab.exp
13676 * gdb.python/py-sync-interp.exp
13677 * gdb.python/py-typeprint.exp
13678 * gdb.python/py-unwind-maint.exp
13679 * gdb.python/py-unwind.exp
13680 * gdb.python/py-value-cc.exp
13681 * gdb.python/py-xmethods.exp
13682 * gdb.reverse/amd64-tailcall-reverse.exp
13683 * gdb.reverse/break-precsave.exp
13684 * gdb.reverse/break-reverse.exp
13685 * gdb.reverse/consecutive-precsave.exp
13686 * gdb.reverse/consecutive-reverse.exp
13687 * gdb.reverse/finish-precsave.exp
13688 * gdb.reverse/finish-reverse-bkpt.exp
13689 * gdb.reverse/finish-reverse.exp
13690 * gdb.reverse/fstatat-reverse.exp
13691 * gdb.reverse/getresuid-reverse.exp
13692 * gdb.reverse/i386-precsave.exp
13693 * gdb.reverse/i386-reverse.exp
13694 * gdb.reverse/i386-sse-reverse.exp
13695 * gdb.reverse/i387-env-reverse.exp
13696 * gdb.reverse/i387-stack-reverse.exp
13697 * gdb.reverse/insn-reverse.exp
13698 * gdb.reverse/machinestate-precsave.exp
13699 * gdb.reverse/machinestate.exp
13700 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13701 * gdb.reverse/pipe-reverse.exp
13702 * gdb.reverse/readv-reverse.exp
13703 * gdb.reverse/recvmsg-reverse.exp
13704 * gdb.reverse/rerun-prec.exp
13705 * gdb.reverse/s390-mvcle.exp
13706 * gdb.reverse/step-precsave.exp
13707 * gdb.reverse/step-reverse.exp
13708 * gdb.reverse/time-reverse.exp
13709 * gdb.reverse/until-precsave.exp
13710 * gdb.reverse/until-reverse.exp
13711 * gdb.reverse/waitpid-reverse.exp
13712 * gdb.reverse/watch-precsave.exp
13713 * gdb.reverse/watch-reverse.exp
13714 * gdb.rust/generics.exp
13715 * gdb.rust/methods.exp
13716 * gdb.rust/modules.exp
13717 * gdb.rust/simple.exp
13718 * gdb.server/connect-with-no-symbol-file.exp
13719 * gdb.server/ext-attach.exp
13720 * gdb.server/ext-restart.exp
13721 * gdb.server/ext-wrapper.exp
13722 * gdb.server/file-transfer.exp
13723 * gdb.server/server-exec-info.exp
13724 * gdb.server/server-kill.exp
13725 * gdb.server/server-mon.exp
13726 * gdb.server/wrapper.exp
13727 * gdb.stabs/exclfwd.exp
13728 * gdb.stabs/gdb11479.exp
13729 * gdb.threads/clone-new-thread-event.exp
13730 * gdb.threads/corethreads.exp
13731 * gdb.threads/current-lwp-dead.exp
13732 * gdb.threads/dlopen-libpthread.exp
13733 * gdb.threads/gcore-thread.exp
13734 * gdb.threads/sigstep-threads.exp
13735 * gdb.threads/watchpoint-fork.exp
13736 * gdb.trace/actions-changed.exp
13737 * gdb.trace/backtrace.exp
13738 * gdb.trace/change-loc.exp
13739 * gdb.trace/circ.exp
13740 * gdb.trace/collection.exp
13741 * gdb.trace/disconnected-tracing.exp
13742 * gdb.trace/ftrace.exp
13743 * gdb.trace/mi-trace-frame-collected.exp
13744 * gdb.trace/mi-trace-unavailable.exp
13745 * gdb.trace/mi-traceframe-changed.exp
13746 * gdb.trace/mi-tsv-changed.exp
13747 * gdb.trace/no-attach-trace.exp
13748 * gdb.trace/passc-dyn.exp
13749 * gdb.trace/qtro.exp
13750 * gdb.trace/range-stepping.exp
13751 * gdb.trace/read-memory.exp
13752 * gdb.trace/save-trace.exp
13753 * gdb.trace/signal.exp
13754 * gdb.trace/status-stop.exp
13755 * gdb.trace/tfile.exp
13756 * gdb.trace/trace-break.exp
13757 * gdb.trace/trace-buffer-size.exp
13758 * gdb.trace/trace-condition.exp
13759 * gdb.trace/tracefile-pseudo-reg.exp
13760 * gdb.trace/tstatus.exp
13761 * gdb.trace/unavailable.exp
13762 * gdb.trace/while-dyn.exp
13763 * gdb.trace/while-stepping.exp
13764
137652016-12-22 Doug Evans <xdje42@gmail.com>
13766
13767 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13768 and msymbols.
13769
137702016-12-19 Yao Qi <yao.qi@linaro.org>
13771
13772 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13773 (test_with_self): Don't call do_steps_and_nexts, and remove
13774 code about stepping into xmalloc.
13775
137762016-12-09 Yao Qi <yao.qi@linaro.org>
13777
13778 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13779
137802016-12-09 Yao Qi <yao.qi@linaro.org>
13781
13782 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13783
137842016-12-09 Pedro Alves <palves@redhat.com>
13785
13786 * gdb.base/all-architectures-0.exp: New file.
13787 * gdb.base/all-architectures-1.exp: New file.
13788 * gdb.base/all-architectures-2.exp: New file.
13789 * gdb.base/all-architectures-3.exp: New file.
13790 * gdb.base/all-architectures-4.exp: New file.
13791 * gdb.base/all-architectures-5.exp: New file.
13792 * gdb.base/all-architectures-6.exp: New file.
13793 * gdb.base/all-architectures-7.exp: New file.
13794 * gdb.base/all-architectures.exp.in: New file.
13795
137962016-12-09 Yao Qi <yao.qi@linaro.org>
13797
13798 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13799
138002016-12-02 Luis Machado <lgustavo@codesourcery.com>
13801
13802 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13803 possible.
13804 Remove useless pattern-matching code.
13805
138062016-12-02 Pedro Alves <palves@redhat.com>
13807
13808 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13809 procedure.
13810 (top level): Call it.
13811
138122016-12-02 Pedro Alves <palves@redhat.com>
13813
13814 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13815 New procedure.
13816 (top level): Call it.
13817
138182016-12-02 Pedro Alves <palves@redhat.com>
13819
13820 PR cli/20559
13821 * gdb.base/commands.exp (user_defined_command_args_eval): New
13822 procedure.
13823 (top level): Call it.
13824
138252016-12-02 Luis Machado <lgustavo@codesourcery.com>
13826
13827 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13828 timeout handling.
13829
138302016-12-02 Tom Tromey <tom@tromey.com>
13831
13832 * gdb.dwarf2/main-subprogram.c: New file.
13833 * gdb.dwarf2/main-subprogram.exp: New file.
13834
138352016-12-01 Luis Machado <lgustavo@codesourcery.com>
13836
13837 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13838 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13839 gdb_test_no_output for a couple of cases.
13840 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13841
138422016-12-01 Luis Machado <lgustavo@codesourcery.com>
13843
13844 Fix test names and standardize compilation error messages throughout
13845 the following files:
13846
13847 * gdb.ada/start.exp
13848 * gdb.arch/alpha-step.exp
13849 * gdb.arch/e500-prologue.exp
13850 * gdb.arch/ftrace-insn-reloc.exp
13851 * gdb.arch/gdb1291.exp
13852 * gdb.arch/gdb1431.exp
13853 * gdb.arch/gdb1558.exp
13854 * gdb.arch/i386-dr3-watch.exp
13855 * gdb.arch/i386-sse-stack-align.exp
13856 * gdb.arch/ia64-breakpoint-shadow.exp
13857 * gdb.arch/pa-nullify.exp
13858 * gdb.arch/powerpc-aix-prologue.exp
13859 * gdb.arch/thumb-bx-pc.exp
13860 * gdb.base/annota1.exp
13861 * gdb.base/annota3.exp
13862 * gdb.base/arrayidx.exp
13863 * gdb.base/assign.exp
13864 * gdb.base/attach.exp
13865 * gdb.base/auxv.exp
13866 * gdb.base/bang.exp
13867 * gdb.base/bfp-test.exp
13868 * gdb.base/bigcore.exp
13869 * gdb.base/bitfields2.exp
13870 * gdb.base/break-fun-addr.exp
13871 * gdb.base/break-probes.exp
13872 * gdb.base/call-rt-st.exp
13873 * gdb.base/callexit.exp
13874 * gdb.base/catch-fork-kill.exp
13875 * gdb.base/charset.exp
13876 * gdb.base/checkpoint.exp
13877 * gdb.base/comprdebug.exp
13878 * gdb.base/constvars.exp
13879 * gdb.base/coredump-filter.exp
13880 * gdb.base/cursal.exp
13881 * gdb.base/cvexpr.exp
13882 * gdb.base/detach.exp
13883 * gdb.base/display.exp
13884 * gdb.base/dmsym.exp
13885 * gdb.base/dprintf-pending.exp
13886 * gdb.base/dso2dso.exp
13887 * gdb.base/dtrace-probe.exp
13888 * gdb.base/dump.exp
13889 * gdb.base/enum_cond.exp
13890 * gdb.base/exe-lock.exp
13891 * gdb.base/exec-invalid-sysroot.exp
13892 * gdb.base/execl-update-breakpoints.exp
13893 * gdb.base/exprs.exp
13894 * gdb.base/fileio.exp
13895 * gdb.base/find.exp
13896 * gdb.base/finish.exp
13897 * gdb.base/fixsection.exp
13898 * gdb.base/foll-vfork.exp
13899 * gdb.base/frame-args.exp
13900 * gdb.base/gcore.exp
13901 * gdb.base/gdb1250.exp
13902 * gdb.base/global-var-nested-by-dso.exp
13903 * gdb.base/gnu-ifunc.exp
13904 * gdb.base/hashline1.exp
13905 * gdb.base/hashline2.exp
13906 * gdb.base/hashline3.exp
13907 * gdb.base/hbreak-in-shr-unsupported.exp
13908 * gdb.base/huge.exp
13909 * gdb.base/infcall-input.exp
13910 * gdb.base/info-fun.exp
13911 * gdb.base/info-shared.exp
13912 * gdb.base/jit-simple.exp
13913 * gdb.base/jit-so.exp
13914 * gdb.base/jit.exp
13915 * gdb.base/jump.exp
13916 * gdb.base/label.exp
13917 * gdb.base/lineinc.exp
13918 * gdb.base/logical.exp
13919 * gdb.base/longjmp.exp
13920 * gdb.base/macscp.exp
13921 * gdb.base/miscexprs.exp
13922 * gdb.base/new-ui-echo.exp
13923 * gdb.base/new-ui-pending-input.exp
13924 * gdb.base/new-ui.exp
13925 * gdb.base/nodebug.exp
13926 * gdb.base/nofield.exp
13927 * gdb.base/offsets.exp
13928 * gdb.base/overlays.exp
13929 * gdb.base/pending.exp
13930 * gdb.base/pointers.exp
13931 * gdb.base/pr11022.exp
13932 * gdb.base/printcmds.exp
13933 * gdb.base/prologue.exp
13934 * gdb.base/ptr-typedef.exp
13935 * gdb.base/realname-expand.exp
13936 * gdb.base/relativedebug.exp
13937 * gdb.base/relocate.exp
13938 * gdb.base/remote.exp
13939 * gdb.base/reread.exp
13940 * gdb.base/return2.exp
13941 * gdb.base/savedregs.exp
13942 * gdb.base/sep.exp
13943 * gdb.base/sepdebug.exp
13944 * gdb.base/sepsymtab.exp
13945 * gdb.base/set-inferior-tty.exp
13946 * gdb.base/setshow.exp
13947 * gdb.base/shlib-call.exp
13948 * gdb.base/sigaltstack.exp
13949 * gdb.base/siginfo-addr.exp
13950 * gdb.base/signals.exp
13951 * gdb.base/signull.exp
13952 * gdb.base/sigrepeat.exp
13953 * gdb.base/so-impl-ld.exp
13954 * gdb.base/solib-display.exp
13955 * gdb.base/solib-overlap.exp
13956 * gdb.base/solib-search.exp
13957 * gdb.base/solib-symbol.exp
13958 * gdb.base/structs.exp
13959 * gdb.base/structs2.exp
13960 * gdb.base/symtab-search-order.exp
13961 * gdb.base/twice.exp
13962 * gdb.base/unload.exp
13963 * gdb.base/varargs.exp
13964 * gdb.base/watchpoint-solib.exp
13965 * gdb.base/watchpoint.exp
13966 * gdb.base/whatis.exp
13967 * gdb.base/wrong_frame_bt_full.exp
13968 * gdb.btrace/dlopen.exp
13969 * gdb.cell/ea-standalone.exp
13970 * gdb.cell/ea-test.exp
13971 * gdb.cp/dispcxx.exp
13972 * gdb.cp/gdb2384.exp
13973 * gdb.cp/method2.exp
13974 * gdb.cp/nextoverthrow.exp
13975 * gdb.cp/pr10728.exp
13976 * gdb.disasm/am33.exp
13977 * gdb.disasm/h8300s.exp
13978 * gdb.disasm/mn10300.exp
13979 * gdb.disasm/sh3.exp
13980 * gdb.dwarf2/dw2-dir-file-name.exp
13981 * gdb.fortran/complex.exp
13982 * gdb.fortran/library-module.exp
13983 * gdb.guile/scm-pretty-print.exp
13984 * gdb.guile/scm-symbol.exp
13985 * gdb.guile/scm-type.exp
13986 * gdb.guile/scm-value.exp
13987 * gdb.linespec/linespec.exp
13988 * gdb.mi/gdb701.exp
13989 * gdb.mi/gdb792.exp
13990 * gdb.mi/mi-breakpoint-changed.exp
13991 * gdb.mi/mi-dprintf-pending.exp
13992 * gdb.mi/mi-dprintf.exp
13993 * gdb.mi/mi-exit-code.exp
13994 * gdb.mi/mi-pending.exp
13995 * gdb.mi/mi-solib.exp
13996 * gdb.mi/new-ui-mi-sync.exp
13997 * gdb.mi/pr11022.exp
13998 * gdb.mi/user-selected-context-sync.exp
13999 * gdb.opt/solib-intra-step.exp
14000 * gdb.python/py-events.exp
14001 * gdb.python/py-finish-breakpoint.exp
14002 * gdb.python/py-mi.exp
14003 * gdb.python/py-prettyprint.exp
14004 * gdb.python/py-shared.exp
14005 * gdb.python/py-symbol.exp
14006 * gdb.python/py-template.exp
14007 * gdb.python/py-type.exp
14008 * gdb.python/py-value.exp
14009 * gdb.reverse/solib-precsave.exp
14010 * gdb.reverse/solib-reverse.exp
14011 * gdb.server/solib-list.exp
14012 * gdb.stabs/weird.exp
14013 * gdb.threads/reconnect-signal.exp
14014 * gdb.threads/stepi-random-signal.exp
14015 * gdb.trace/actions.exp
14016 * gdb.trace/ax.exp
14017 * gdb.trace/backtrace.exp
14018 * gdb.trace/change-loc.exp
14019 * gdb.trace/deltrace.exp
14020 * gdb.trace/ftrace-lock.exp
14021 * gdb.trace/ftrace.exp
14022 * gdb.trace/infotrace.exp
14023 * gdb.trace/mi-tracepoint-changed.exp
14024 * gdb.trace/packetlen.exp
14025 * gdb.trace/passcount.exp
14026 * gdb.trace/pending.exp
14027 * gdb.trace/range-stepping.exp
14028 * gdb.trace/report.exp
14029 * gdb.trace/stap-trace.exp
14030 * gdb.trace/tfind.exp
14031 * gdb.trace/trace-break.exp
14032 * gdb.trace/trace-condition.exp
14033 * gdb.trace/trace-enable-disable.exp
14034 * gdb.trace/trace-mt.exp
14035 * gdb.trace/tracecmd.exp
14036 * gdb.trace/tspeed.exp
14037 * gdb.trace/tsv.exp
14038 * lib/perftest.exp
14039
140402016-12-01 Luis Machado <lgustavo@codesourcery.com>
14041
14042 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14043 with gdb_test_no_output.
14044 Use command as test name.
14045
140462016-12-01 Luis Machado <lgustavo@codesourcery.com>
14047
14048 Fix test names starting with uppercase throughout the files.
14049
14050 * gdb.ada/assign_1.exp
14051 * gdb.ada/boolean_expr.exp
14052 * gdb.base/arrayidx.exp
14053 * gdb.base/del.exp
14054 * gdb.base/gcore-buffer-overflow.exp
14055 * gdb.base/testenv.exp
14056 * gdb.compile/compile.exp
14057 * gdb.python/py-framefilter-invalidarg.exp
14058 * gdb.python/py-framefilter.exp
14059
140602016-12-01 Luis Machado <lgustavo@codesourcery.com>
14061
14062 Fix test names starting with uppercase throughout the files.
14063
14064 * gdb.ada/array_return.exp
14065 * gdb.ada/expr_delims.exp
14066 * gdb.ada/mi_dyn_arr.exp
14067 * gdb.ada/mi_interface.exp
14068 * gdb.ada/mi_var_array.exp
14069 * gdb.ada/watch_arg.exp
14070 * gdb.arch/alpha-step.exp
14071 * gdb.arch/altivec-regs.exp
14072 * gdb.arch/e500-regs.exp
14073 * gdb.arch/powerpc-d128-regs.exp
14074 * gdb.base/arrayidx.exp
14075 * gdb.base/break.exp
14076 * gdb.base/checkpoint.exp
14077 * gdb.base/debug-expr.exp
14078 * gdb.base/dmsym.exp
14079 * gdb.base/radix.exp
14080 * gdb.base/sepdebug.exp
14081 * gdb.base/testenv.exp
14082 * gdb.base/watch_thread_num.exp
14083 * gdb.base/watchpoint-cond-gone.exp
14084 * gdb.cell/break.exp
14085 * gdb.cell/ea-cache.exp
14086 * gdb.compile/compile.exp
14087 * gdb.cp/gdb2495.exp
14088 * gdb.gdb/selftest.exp
14089 * gdb.gdb/xfullpath.exp
14090 * gdb.go/hello.exp
14091 * gdb.go/integers.exp
14092 * gdb.objc/basicclass.exp
14093 * gdb.pascal/hello.exp
14094 * gdb.pascal/integers.exp
14095 * gdb.python/py-breakpoint.exp
14096 * gdb.python/py-cmd.exp
14097 * gdb.python/py-linetable.exp
14098 * gdb.python/py-xmethods.exp
14099 * gdb.python/python.exp
14100 * gdb.reverse/consecutive-precsave.exp
14101 * gdb.reverse/finish-precsave.exp
14102 * gdb.reverse/i386-precsave.exp
14103 * gdb.reverse/machinestate-precsave.exp
14104 * gdb.reverse/sigall-precsave.exp
14105 * gdb.reverse/solib-precsave.exp
14106 * gdb.reverse/step-precsave.exp
14107 * gdb.reverse/until-precsave.exp
14108 * gdb.reverse/watch-precsave.exp
14109 * gdb.threads/leader-exit.exp
14110 * gdb.threads/pthreads.exp
14111 * gdb.threads/wp-replication.exp
14112 * gdb.trace/actions.exp
14113 * gdb.trace/mi-tsv-changed.exp
14114 * gdb.trace/tsv.exp
14115
141162016-12-01 Luis Machado <lgustavo@codesourcery.com>
14117
14118 Fix test names starting with uppercase throughout the files.
14119
14120 * gdb.arch/i386-bp_permanent.exp
14121 * gdb.arch/i386-gnu-cfi.exp
14122 * gdb.base/disasm-end-cu.exp
14123 * gdb.base/macscp.exp
14124 * gdb.base/pending.exp
14125 * gdb.base/watch_thread_num.exp
14126 * gdb.cp/exception.exp
14127 * gdb.cp/gdb2495.exp
14128 * gdb.cp/local.exp
14129 * gdb.python/py-evsignal.exp
14130 * gdb.python/python.exp
14131 * gdb.trace/tracecmd.exp
14132
141332016-12-01 Luis Machado <lgustavo@codesourcery.com>
14134
14135 Fix test names starting with uppercase throughout the files.
14136
14137 * gdb.base/charset.exp
14138 * gdb.base/eval.exp
14139 * gdb.base/multi-forks.exp
14140 * gdb.guile/scm-progspace.exp
14141 * gdb.opencl/datatypes.exp
14142 * gdb.python/py-block.exp
14143 * gdb.python/py-function.exp
14144 * gdb.python/py-symbol.exp
14145 * gdb.python/py-symtab.exp
14146 * gdb.python/py-xmethods.exp
14147 * gdb.reverse/break-precsave.exp
14148 * gdb.reverse/break-reverse.exp
14149 * gdb.reverse/consecutive-precsave.exp
14150 * gdb.reverse/consecutive-reverse.exp
14151 * gdb.reverse/finish-precsave.exp
14152 * gdb.reverse/finish-reverse-bkpt.exp
14153 * gdb.reverse/finish-reverse.exp
14154 * gdb.reverse/fstatat-reverse.exp
14155 * gdb.reverse/getresuid-reverse.exp
14156 * gdb.reverse/i386-precsave.exp
14157 * gdb.reverse/i386-reverse.exp
14158 * gdb.reverse/i386-sse-reverse.exp
14159 * gdb.reverse/i387-stack-reverse.exp
14160 * gdb.reverse/insn-reverse.exp
14161 * gdb.reverse/machinestate-precsave.exp
14162 * gdb.reverse/machinestate.exp
14163 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14164 * gdb.reverse/pipe-reverse.exp
14165 * gdb.reverse/readv-reverse.exp
14166 * gdb.reverse/recvmsg-reverse.exp
14167 * gdb.reverse/rerun-prec.exp
14168 * gdb.reverse/s390-mvcle.exp
14169 * gdb.reverse/sigall-precsave.exp
14170 * gdb.reverse/sigall-reverse.exp
14171 * gdb.reverse/solib-precsave.exp
14172 * gdb.reverse/solib-reverse.exp
14173 * gdb.reverse/step-precsave.exp
14174 * gdb.reverse/step-reverse.exp
14175 * gdb.reverse/time-reverse.exp
14176 * gdb.reverse/until-precsave.exp
14177 * gdb.reverse/until-reverse.exp
14178 * gdb.reverse/waitpid-reverse.exp
14179 * gdb.reverse/watch-precsave.exp
14180 * gdb.reverse/watch-reverse.exp
14181
141822016-12-01 Luis Machado <lgustavo@codesourcery.com>
14183
14184 Fix test names starting with uppercase throughout the files.
14185
14186 * gdb.arch/i386-mpx-simple_segv.exp
14187 * gdb.arch/i386-mpx.exp
14188 * gdb.arch/i386-permbkpt.exp
14189 * gdb.arch/pa-nullify.exp
14190 * gdb.arch/powerpc-d128-regs.exp
14191 * gdb.arch/vsx-regs.exp
14192 * gdb.base/bfp-test.exp
14193 * gdb.base/break.exp
14194 * gdb.base/breakpoint-shadow.exp
14195 * gdb.base/callfuncs.exp
14196 * gdb.base/charset.exp
14197 * gdb.base/commands.exp
14198 * gdb.base/completion.exp
14199 * gdb.base/dfp-test.exp
14200 * gdb.base/echo.exp
14201 * gdb.base/ending-run.exp
14202 * gdb.base/eval.exp
14203 * gdb.base/expand-psymtabs.exp
14204 * gdb.base/float128.exp
14205 * gdb.base/floatn.exp
14206 * gdb.base/foll-exec-mode.exp
14207 * gdb.base/gdb1056.exp
14208 * gdb.base/gdb11531.exp
14209 * gdb.base/kill-after-signal.exp
14210 * gdb.base/multi-forks.exp
14211 * gdb.base/overlays.exp
14212 * gdb.base/pending.exp
14213 * gdb.base/sepdebug.exp
14214 * gdb.base/testenv.exp
14215 * gdb.base/valgrind-db-attach.exp
14216 * gdb.base/watch_thread_num.exp
14217 * gdb.base/watchpoint-cond-gone.exp
14218 * gdb.base/watchpoint.exp
14219 * gdb.base/watchpoints.exp
14220 * gdb.cp/arg-reference.exp
14221 * gdb.cp/baseenum.exp
14222 * gdb.cp/operator.exp
14223 * gdb.cp/shadow.exp
14224 * gdb.dwarf2/dw2-op-out-param.exp
14225 * gdb.dwarf2/dw2-reg-undefined.exp
14226 * gdb.go/chan.exp
14227 * gdb.go/hello.exp
14228 * gdb.go/integers.exp
14229 * gdb.go/methods.exp
14230 * gdb.go/package.exp
14231 * gdb.guile/scm-parameter.exp
14232 * gdb.guile/scm-progspace.exp
14233 * gdb.guile/scm-value.exp
14234 * gdb.mi/mi-pending.exp
14235 * gdb.mi/user-selected-context-sync.exp
14236 * gdb.multi/multi-attach.exp
14237 * gdb.multi/tids.exp
14238 * gdb.opt/clobbered-registers-O2.exp
14239 * gdb.pascal/floats.exp
14240 * gdb.pascal/integers.exp
14241 * gdb.python/py-block.exp
14242 * gdb.python/py-events.exp
14243 * gdb.python/py-parameter.exp
14244 * gdb.python/py-symbol.exp
14245 * gdb.python/py-symtab.exp
14246 * gdb.python/py-type.exp
14247 * gdb.python/py-value.exp
14248 * gdb.python/py-xmethods.exp
14249 * gdb.python/python.exp
14250 * gdb.reverse/break-precsave.exp
14251 * gdb.reverse/consecutive-precsave.exp
14252 * gdb.reverse/finish-precsave.exp
14253 * gdb.reverse/i386-precsave.exp
14254 * gdb.reverse/machinestate-precsave.exp
14255 * gdb.reverse/sigall-precsave.exp
14256 * gdb.reverse/solib-precsave.exp
14257 * gdb.reverse/step-precsave.exp
14258 * gdb.reverse/until-precsave.exp
14259 * gdb.reverse/watch-precsave.exp
14260 * gdb.server/ext-attach.exp
14261 * gdb.server/ext-restart.exp
14262 * gdb.server/ext-run.exp
14263 * gdb.server/ext-wrapper.exp
14264 * gdb.stabs/gdb11479.exp
14265 * gdb.stabs/weird.exp
14266 * gdb.threads/attach-many-short-lived-threads.exp
14267 * gdb.threads/kill.exp
14268 * gdb.threads/watchpoint-fork.exp
14269
142702016-12-01 Luis Machado <lgustavo@codesourcery.com>
14271
14272 Fix test names starting with uppercase throughout all the files below.
14273
14274 * gdb.ada/array_return.exp
14275 * gdb.ada/catch_ex.exp
14276 * gdb.ada/info_exc.exp
14277 * gdb.ada/mi_catch_ex.exp
14278 * gdb.ada/mi_dyn_arr.exp
14279 * gdb.ada/mi_ex_cond.exp
14280 * gdb.ada/mi_exc_info.exp
14281 * gdb.ada/mi_interface.exp
14282 * gdb.ada/mi_task_arg.exp
14283 * gdb.ada/mi_task_info.exp
14284 * gdb.ada/mi_var_array.exp
14285 * gdb.arch/alpha-step.exp
14286 * gdb.arch/amd64-disp-step.exp
14287 * gdb.arch/arm-disp-step.exp
14288 * gdb.arch/disp-step-insn-reloc.exp
14289 * gdb.arch/e500-prologue.exp
14290 * gdb.arch/ftrace-insn-reloc.exp
14291 * gdb.arch/gdb1558.exp
14292 * gdb.arch/i386-bp_permanent.exp
14293 * gdb.arch/i386-disp-step.exp
14294 * gdb.arch/i386-float.exp
14295 * gdb.arch/i386-gnu-cfi.exp
14296 * gdb.arch/ia64-breakpoint-shadow.exp
14297 * gdb.arch/mips16-thunks.exp
14298 * gdb.arch/pa-nullify.exp
14299 * gdb.arch/powerpc-aix-prologue.exp
14300 * gdb.arch/powerpc-power.exp
14301 * gdb.arch/ppc-dfp.exp
14302 * gdb.arch/s390-tdbregs.exp
14303 * gdb.arch/spu-info.exp
14304 * gdb.arch/spu-ls.exp
14305 * gdb.arch/thumb-bx-pc.exp
14306 * gdb.base/advance.exp
14307 * gdb.base/annota-input-while-running.exp
14308 * gdb.base/arrayidx.exp
14309 * gdb.base/asmlabel.exp
14310 * gdb.base/async.exp
14311 * gdb.base/attach-wait-input.exp
14312 * gdb.base/auto-connect-native-target.exp
14313 * gdb.base/batch-preserve-term-settings.exp
14314 * gdb.base/bfp-test.exp
14315 * gdb.base/bigcore.exp
14316 * gdb.base/bp-permanent.exp
14317 * gdb.base/break-always.exp
14318 * gdb.base/break-fun-addr.exp
14319 * gdb.base/break-idempotent.exp
14320 * gdb.base/break-main-file-remove-fail.exp
14321 * gdb.base/break-probes.exp
14322 * gdb.base/break-unload-file.exp
14323 * gdb.base/break.exp
14324 * gdb.base/call-ar-st.exp
14325 * gdb.base/call-rt-st.exp
14326 * gdb.base/call-sc.exp
14327 * gdb.base/call-signal-resume.exp
14328 * gdb.base/call-strs.exp
14329 * gdb.base/callexit.exp
14330 * gdb.base/callfuncs.exp
14331 * gdb.base/catch-gdb-caused-signals.exp
14332 * gdb.base/catch-signal-siginfo-cond.exp
14333 * gdb.base/catch-syscall.exp
14334 * gdb.base/compare-sections.exp
14335 * gdb.base/cond-eval-mode.exp
14336 * gdb.base/condbreak-call-false.exp
14337 * gdb.base/consecutive-step-over.exp
14338 * gdb.base/cursal.exp
14339 * gdb.base/disabled-location.exp
14340 * gdb.base/disasm-end-cu.exp
14341 * gdb.base/display.exp
14342 * gdb.base/double-prompt-target-event-error.exp
14343 * gdb.base/dprintf-bp-same-addr.exp
14344 * gdb.base/dprintf-detach.exp
14345 * gdb.base/dprintf-next.exp
14346 * gdb.base/dprintf-non-stop.exp
14347 * gdb.base/dprintf-pending.exp
14348 * gdb.base/dso2dso.exp
14349 * gdb.base/ending-run.exp
14350 * gdb.base/enum_cond.exp
14351 * gdb.base/examine-backward.exp
14352 * gdb.base/exe-lock.exp
14353 * gdb.base/exec-invalid-sysroot.exp
14354 * gdb.base/execl-update-breakpoints.exp
14355 * gdb.base/execution-termios.exp
14356 * gdb.base/fileio.exp
14357 * gdb.base/fixsection.exp
14358 * gdb.base/foll-exec-mode.exp
14359 * gdb.base/foll-exec.exp
14360 * gdb.base/fork-running-state.exp
14361 * gdb.base/frame-args.exp
14362 * gdb.base/fullpath-expand.exp
14363 * gdb.base/func-ptr.exp
14364 * gdb.base/gcore-relro-pie.exp
14365 * gdb.base/gdb1090.exp
14366 * gdb.base/gdb1555.exp
14367 * gdb.base/global-var-nested-by-dso.exp
14368 * gdb.base/gnu-ifunc.exp
14369 * gdb.base/hbreak-in-shr-unsupported.exp
14370 * gdb.base/hbreak-unmapped.exp
14371 * gdb.base/hook-stop.exp
14372 * gdb.base/infcall-input.exp
14373 * gdb.base/info-fun.exp
14374 * gdb.base/info-shared.exp
14375 * gdb.base/interrupt-noterm.exp
14376 * gdb.base/jit-so.exp
14377 * gdb.base/jit.exp
14378 * gdb.base/line-symtabs.exp
14379 * gdb.base/list.exp
14380 * gdb.base/longjmp.exp
14381 * gdb.base/macscp.exp
14382 * gdb.base/max-value-size.exp
14383 * gdb.base/nodebug.exp
14384 * gdb.base/nofield.exp
14385 * gdb.base/overlays.exp
14386 * gdb.base/paginate-after-ctrl-c-running.exp
14387 * gdb.base/paginate-bg-execution.exp
14388 * gdb.base/paginate-inferior-exit.exp
14389 * gdb.base/pending.exp
14390 * gdb.base/pr11022.exp
14391 * gdb.base/printcmds.exp
14392 * gdb.base/ptr-typedef.exp
14393 * gdb.base/ptype.exp
14394 * gdb.base/randomize.exp
14395 * gdb.base/range-stepping.exp
14396 * gdb.base/realname-expand.exp
14397 * gdb.base/relativedebug.exp
14398 * gdb.base/remote.exp
14399 * gdb.base/savedregs.exp
14400 * gdb.base/sepdebug.exp
14401 * gdb.base/set-noassign.exp
14402 * gdb.base/shlib-call.exp
14403 * gdb.base/shreloc.exp
14404 * gdb.base/sigaltstack.exp
14405 * gdb.base/sigbpt.exp
14406 * gdb.base/siginfo-addr.exp
14407 * gdb.base/siginfo-obj.exp
14408 * gdb.base/siginfo-thread.exp
14409 * gdb.base/signest.exp
14410 * gdb.base/signull.exp
14411 * gdb.base/sigrepeat.exp
14412 * gdb.base/skip.exp
14413 * gdb.base/so-impl-ld.exp
14414 * gdb.base/solib-corrupted.exp
14415 * gdb.base/solib-disc.exp
14416 * gdb.base/solib-display.exp
14417 * gdb.base/solib-overlap.exp
14418 * gdb.base/solib-search.exp
14419 * gdb.base/solib-symbol.exp
14420 * gdb.base/source-execution.exp
14421 * gdb.base/sss-bp-on-user-bp-2.exp
14422 * gdb.base/sss-bp-on-user-bp.exp
14423 * gdb.base/stack-checking.exp
14424 * gdb.base/stale-infcall.exp
14425 * gdb.base/step-break.exp
14426 * gdb.base/step-line.exp
14427 * gdb.base/step-over-exit.exp
14428 * gdb.base/step-test.exp
14429 * gdb.base/structs.exp
14430 * gdb.base/sym-file.exp
14431 * gdb.base/symtab-search-order.exp
14432 * gdb.base/term.exp
14433 * gdb.base/type-opaque.exp
14434 * gdb.base/unload.exp
14435 * gdb.base/until-nodebug.exp
14436 * gdb.base/until.exp
14437 * gdb.base/unwindonsignal.exp
14438 * gdb.base/watch-cond.exp
14439 * gdb.base/watch-non-mem.exp
14440 * gdb.base/watch_thread_num.exp
14441 * gdb.base/watchpoint-reuse-slot.exp
14442 * gdb.base/watchpoint-solib.exp
14443 * gdb.base/watchpoint.exp
14444 * gdb.btrace/dlopen.exp
14445 * gdb.cell/arch.exp
14446 * gdb.cell/break.exp
14447 * gdb.cell/bt.exp
14448 * gdb.cell/core.exp
14449 * gdb.cell/data.exp
14450 * gdb.cell/dwarfaddr.exp
14451 * gdb.cell/ea-cache.exp
14452 * gdb.cell/ea-standalone.exp
14453 * gdb.cell/ea-test.exp
14454 * gdb.cell/f-regs.exp
14455 * gdb.cell/fork.exp
14456 * gdb.cell/gcore.exp
14457 * gdb.cell/mem-access.exp
14458 * gdb.cell/ptype.exp
14459 * gdb.cell/registers.exp
14460 * gdb.cell/sizeof.exp
14461 * gdb.cell/solib-symbol.exp
14462 * gdb.cell/solib.exp
14463 * gdb.compile/compile-tls.exp
14464 * gdb.cp/exception.exp
14465 * gdb.cp/gdb2495.exp
14466 * gdb.cp/local.exp
14467 * gdb.cp/mb-inline.exp
14468 * gdb.cp/mb-templates.exp
14469 * gdb.cp/pr10687.exp
14470 * gdb.cp/pr9167.exp
14471 * gdb.cp/scope-err.exp
14472 * gdb.cp/templates.exp
14473 * gdb.cp/virtfunc.exp
14474 * gdb.dwarf2/dw2-dir-file-name.exp
14475 * gdb.dwarf2/dw2-single-line-discriminators.exp
14476 * gdb.fortran/complex.exp
14477 * gdb.fortran/library-module.exp
14478 * gdb.guile/guile.exp
14479 * gdb.guile/scm-cmd.exp
14480 * gdb.guile/scm-frame-inline.exp
14481 * gdb.guile/scm-objfile.exp
14482 * gdb.guile/scm-pretty-print.exp
14483 * gdb.guile/scm-symbol.exp
14484 * gdb.guile/scm-type.exp
14485 * gdb.guile/scm-value.exp
14486 * gdb.linespec/keywords.exp
14487 * gdb.linespec/ls-errs.exp
14488 * gdb.linespec/macro-relative.exp
14489 * gdb.linespec/thread.exp
14490 * gdb.mi/mi-breakpoint-changed.exp
14491 * gdb.mi/mi-dprintf-pending.exp
14492 * gdb.mi/mi-fullname-deleted.exp
14493 * gdb.mi/mi-logging.exp
14494 * gdb.mi/mi-pending.exp
14495 * gdb.mi/mi-solib.exp
14496 * gdb.mi/new-ui-mi-sync.exp
14497 * gdb.mi/user-selected-context-sync.exp
14498 * gdb.multi/dummy-frame-restore.exp
14499 * gdb.multi/multi-arch-exec.exp
14500 * gdb.multi/remove-inferiors.exp
14501 * gdb.multi/watchpoint-multi-exit.exp
14502 * gdb.opt/solib-intra-step.exp
14503 * gdb.perf/backtrace.exp
14504 * gdb.perf/single-step.exp
14505 * gdb.perf/skip-command.exp
14506 * gdb.perf/skip-prologue.exp
14507 * gdb.perf/solib.exp
14508 * gdb.python/lib-types.exp
14509 * gdb.python/py-as-string.exp
14510 * gdb.python/py-bad-printers.exp
14511 * gdb.python/py-block.exp
14512 * gdb.python/py-breakpoint.exp
14513 * gdb.python/py-cmd.exp
14514 * gdb.python/py-events.exp
14515 * gdb.python/py-evthreads.exp
14516 * gdb.python/py-finish-breakpoint.exp
14517 * gdb.python/py-finish-breakpoint2.exp
14518 * gdb.python/py-frame-inline.exp
14519 * gdb.python/py-frame.exp
14520 * gdb.python/py-inferior.exp
14521 * gdb.python/py-infthread.exp
14522 * gdb.python/py-mi.exp
14523 * gdb.python/py-objfile.exp
14524 * gdb.python/py-pp-maint.exp
14525 * gdb.python/py-pp-registration.exp
14526 * gdb.python/py-prettyprint.exp
14527 * gdb.python/py-recurse-unwind.exp
14528 * gdb.python/py-shared.exp
14529 * gdb.python/py-symbol.exp
14530 * gdb.python/py-symtab.exp
14531 * gdb.python/py-template.exp
14532 * gdb.python/py-type.exp
14533 * gdb.python/py-unwind-maint.exp
14534 * gdb.python/py-unwind.exp
14535 * gdb.python/py-value.exp
14536 * gdb.python/python.exp
14537 * gdb.reverse/finish-reverse-bkpt.exp
14538 * gdb.reverse/insn-reverse.exp
14539 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14540 * gdb.reverse/solib-precsave.exp
14541 * gdb.reverse/solib-reverse.exp
14542 * gdb.stabs/gdb11479.exp
14543 * gdb.stabs/weird.exp
14544 * gdb.threads/fork-child-threads.exp
14545 * gdb.threads/fork-plus-threads.exp
14546 * gdb.threads/fork-thread-pending.exp
14547 * gdb.threads/forking-threads-plus-breakpoint.exp
14548 * gdb.threads/hand-call-in-threads.exp
14549 * gdb.threads/interrupted-hand-call.exp
14550 * gdb.threads/linux-dp.exp
14551 * gdb.threads/local-watch-wrong-thread.exp
14552 * gdb.threads/next-while-other-thread-longjmps.exp
14553 * gdb.threads/non-ldr-exit.exp
14554 * gdb.threads/pending-step.exp
14555 * gdb.threads/print-threads.exp
14556 * gdb.threads/process-dies-while-detaching.exp
14557 * gdb.threads/process-dies-while-handling-bp.exp
14558 * gdb.threads/pthreads.exp
14559 * gdb.threads/queue-signal.exp
14560 * gdb.threads/reconnect-signal.exp
14561 * gdb.threads/signal-command-handle-nopass.exp
14562 * gdb.threads/signal-command-multiple-signals-pending.exp
14563 * gdb.threads/signal-delivered-right-thread.exp
14564 * gdb.threads/signal-sigtrap.exp
14565 * gdb.threads/sigthread.exp
14566 * gdb.threads/staticthreads.exp
14567 * gdb.threads/stepi-random-signal.exp
14568 * gdb.threads/thread-unwindonsignal.exp
14569 * gdb.threads/thread_check.exp
14570 * gdb.threads/thread_events.exp
14571 * gdb.threads/tid-reuse.exp
14572 * gdb.threads/tls-nodebug.exp
14573 * gdb.threads/tls-shared.exp
14574 * gdb.threads/tls-so_extern.exp
14575 * gdb.threads/tls.exp
14576 * gdb.threads/wp-replication.exp
14577 * gdb.trace/actions-changed.exp
14578 * gdb.trace/actions.exp
14579 * gdb.trace/backtrace.exp
14580 * gdb.trace/change-loc.exp
14581 * gdb.trace/collection.exp
14582 * gdb.trace/deltrace.exp
14583 * gdb.trace/disconnected-tracing.exp
14584 * gdb.trace/entry-values.exp
14585 * gdb.trace/ftrace-lock.exp
14586 * gdb.trace/ftrace.exp
14587 * gdb.trace/infotrace.exp
14588 * gdb.trace/mi-trace-frame-collected.exp
14589 * gdb.trace/mi-trace-unavailable.exp
14590 * gdb.trace/mi-traceframe-changed.exp
14591 * gdb.trace/mi-tracepoint-changed.exp
14592 * gdb.trace/mi-tsv-changed.exp
14593 * gdb.trace/no-attach-trace.exp
14594 * gdb.trace/packetlen.exp
14595 * gdb.trace/passc-dyn.exp
14596 * gdb.trace/passcount.exp
14597 * gdb.trace/pending.exp
14598 * gdb.trace/pr16508.exp
14599 * gdb.trace/qtro.exp
14600 * gdb.trace/range-stepping.exp
14601 * gdb.trace/read-memory.exp
14602 * gdb.trace/report.exp
14603 * gdb.trace/save-trace.exp
14604 * gdb.trace/signal.exp
14605 * gdb.trace/stap-trace.exp
14606 * gdb.trace/status-stop.exp
14607 * gdb.trace/strace.exp
14608 * gdb.trace/tfile.exp
14609 * gdb.trace/tfind.exp
14610 * gdb.trace/trace-break.exp
14611 * gdb.trace/trace-condition.exp
14612 * gdb.trace/trace-enable-disable.exp
14613 * gdb.trace/trace-mt.exp
14614 * gdb.trace/tracecmd.exp
14615 * gdb.trace/tracefile-pseudo-reg.exp
14616 * gdb.trace/tspeed.exp
14617 * gdb.trace/tstatus.exp
14618 * gdb.trace/tsv.exp
14619 * gdb.trace/unavailable.exp
14620 * gdb.trace/while-dyn.exp
14621 * gdb.trace/while-stepping.exp
14622 * lib/gdb-guile.exp
14623 * lib/gdb.exp
14624 * lib/mi-support.exp
14625 * lib/pascal.exp
14626 * lib/perftest.exp
14627 * lib/prelink-support.exp
14628 * lib/selftest-support.exp
14629
146302016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14631
14632 * Makefile.in: Include disable-implicit-rules.mk.
14633
146342016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14635
14636 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14637 non-byte-aligned bit fields.
14638
146392016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14640
14641 PR gdb/12616
14642 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14643 respects the DW_AT_data_bit_offset attribute.
14644
146452016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14646
14647 * gdb.base/default.exp: Fix output of "set language".
14648
146492016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14650
14651 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14652 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14653 make.
14654 * configure.ac: Remove checks for the make program.
14655 * configure: Re-generate.
14656
146572016-11-16 Kevin Buettner <kevinb@redhat.com>
14658
14659 * gdb.python/py-recurse-unwind.c (main): Add loop.
14660 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14661 to read_register() and gdb.parse_and_eval(). Make each code
14662 call a separate case that can be individually tested.
14663 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14664 proc. Call cont_and_backtrace for each of the code paths that
14665 we want to test in the unwinder.
14666
146672016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14668
14669 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14670 the definition of struct S.
14671
146722016-11-11 Catherine Moore <clm@codesourcery.com>
14673
14674 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14675
146762016-11-09 Pedro Alves <palves@redhat.com>
14677
14678 * gdb.base/commands.exp (runto_or_return): New procedure.
14679 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14680 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14681 (progvar_simple_while_test, progvar_complex_if_while_test)
14682 (if_while_breakpoint_command_test)
14683 (infrun_breakpoint_command_test, breakpoint_command_test)
14684 (user_defined_command_test, watchpoint_command_test)
14685 (test_command_prompt_position, redefine_hook_test)
14686 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14687 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14688 multi_line_input and multi_line. Remove gdb_expect and
14689 gdb_stop_suppressing_tests uses.
14690 * lib/gdb.exp (valnum_re): New global.
14691 (multi_line_input): New procedure.
14692
146932016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14694
14695 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14696 Remove.
14697 (test_setup): Define with proc_with_prefix.
14698 (test_cli_inferior): Likewise.
14699 (test_cli_thread): Likewise.
14700 (test_cli_frame): Likewise.
14701 (test_cli_select_frame): Likewise.
14702 (test_cli_up_down): Likewise.
14703 (test_mi_thread_select): Likewise.
14704 (test_mi_stack_select_frame): Likewise.
14705 (test_cli_in_mi_inferior): Likewise.
14706 (test_cli_in_mi_thread): Likewise.
14707 (test_cli_in_mi_frame): Likewise.
14708 (top level): Do not use with_test_prefix_procname.
14709
147102016-11-09 Pedro Alves <palves@redhat.com>
14711
14712 * gdb.base/commands.exp (gdbvar_simple_if_test)
14713 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14714 (progvar_simple_if_test, progvar_simple_while_test)
14715 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14716 (infrun_breakpoint_command_test, breakpoint_command_test)
14717 (user_defined_command_test, watchpoint_command_test)
14718 (test_command_prompt_position, deprecated_command_test)
14719 (bp_deleted_in_command, temporary_breakpoint_commands)
14720 (stray_arg0_test, source_file_with_indented_comment)
14721 (recursive_source_test, if_commands_test)
14722 (error_clears_commands_left, redefine_hook_test)
14723 (redefine_backtrace_test): Use proc_with_prefix.
14724 * lib/gdb.exp (proc_with_prefix): New proc.
14725
147262016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14727
14728 * gdb.base/tui-layout.c: New file.
14729 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14730 disassembly window contains very long lines.
14731
147322016-11-08 Tom Tromey <tom@tromey.com>
14733
14734 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14735 depend on Python 2.
14736
147372016-11-08 Tom Tromey <tom@tromey.com>
14738
14739 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14740 New method.
14741
147422016-10-29 Manish Goregaokar <manish@mozilla.com>
14743
14744 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
14745
147462016-10-27 Manish Goregaokar <manish@mozilla.com>
14747
14748 * gdb.rust/simple.rs: Add test for univariant enums without
14749 discriminants and for encoded struct-like enums.
14750
147512016-10-28 Pedro Alves <palves@redhat.com>
14752
14753 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14754 gdb_test_multiple, tighten regexps and match symtabs and line
14755 tables incrementally.
14756
147572016-10-28 Luis Machado <lgustavo@codesourcery.com>
14758
14759 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14760 general.
14761
147622016-10-25 Luis Machado <lgustavo@codesourcery.com>
14763
14764 * gdb.base/exec-invalid-sysroot.exp: New file.
14765
147662016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14767
14768 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14769
147702016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14771
14772 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14773
147742016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14775
14776 * gdb.base/killed-outside.exp: Remove $options from a call to
14777 `prepare_for_testing'.
14778
147792016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14780
14781 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14782 Change test message.
14783
147842016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14785
14786 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14787 Update comment.
14788
147892016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14790
14791 * gdb.trace/mi-trace-save.exp: New file.
14792
147932016-10-13 Yao Qi <yao.qi@linaro.org>
14794
14795 * gdb.base/code_elim.exp (get_var_address): Remove.
14796 * gdb.base/relocate.exp: Likewise.
14797 * gdb.base/shreloc.exp: Likewise.
14798 * lib/gdb.exp (get_var_address): New.
14799
148002016-10-13 Yao Qi <yao.qi@linaro.org>
14801
14802 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14803 floating point tests if $skip_float_test is false.
14804
148052016-10-12 Luis Machado <lgustavo@codesourcery.com>
14806
14807 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14808 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14809 argc values.
14810 Add 1 to argc so we guarantee distinct initial/modified argc values.
14811
148122016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14813
14814 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14815
148162016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14817
14818 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14819 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14820 * gdb.arch/vsx-regs.exp: Likewise.
14821
148222016-10-07 Yao Qi <yao.qi@linaro.org>
14823
14824 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14825
148262016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14827
14828 * gdb.python/python.exp: Test decode_line("*0").
14829
148302016-10-06 Doug Evans <dje@google.com>
14831
14832 * gdb.python/py-value.exp (test_value_creation): Add test for large
14833 unsigned 64-bit value.
14834
148352016-10-06 Tom Tromey <tom@tromey.com>
14836
14837 * gdb.compile/compile.exp: Change java tests to rust.
14838 * gdb.base/setshow.exp: Change java tests to rust.
14839 * gdb.base/default.exp: Remove java from language list.
14840 * README (Examples): Update language example.
14841 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14842 test.
14843 * lib/gdb.exp (skip_java_tests): Remove.
14844 * lib/java.exp: Remove.
14845 * gdb.java: Remove.
14846
148472016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14848
14849 * gdb.arch/mips-fcr.exp: New test.
14850 * gdb.arch/mips-fcr.c: Source for the new test.
14851
148522016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14853
14854 * gdb.base/solib-disc.exp: Use `standard_output_file'
14855 throughout.
14856
148572016-10-06 Pedro Alves <palves@redhat.com>
14858
14859 * gdb.base/jit-simple-dl.c: New file.
14860 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14861 * gdb.base/jit-simple.c: ... this.
14862 * gdb.base/jit-simple.exp (jit_run): Delete.
14863 (build_jit): New proc.
14864 (jit_test_reread): Recompile either the main program or the shared
14865 library, depending on what is being tested. Skip changing address
14866 if caller wants to. Compare before/after addresses. If testing
14867 standalone, explicitly load the binary. Test "maint info
14868 breakpoints".
14869 (top level): Add "standalone vs shared lib" and "change address"
14870 vs "same address" axes.
14871
148722016-10-06 Pedro Alves <palves@redhat.com>
14873
14874 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14875 call.
14876 (jit_run): Delete.
14877 (jit_test_reread): Use with_test_prefix. Reload the main binary
14878 explicitly. Compare the before/after addresses of the JIT
14879 descriptor.
14880
148812016-08-15 Doug Evans <dje@google.com>
14882
14883 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14884 for single bitfields is bool.
14885 * gdb.xml/tdesc-regs.exp: Ditto.
14886
148872016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14888
14889 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14890
148912016-10-05 Yao Qi <yao.qi@linaro.org>
14892
14893 * lib/gdb.exp (support_complex_tests): Return zero if
14894 gdb_skip_float_test return true.
14895
148962016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14897 Simon Marchi <simon.marchi@ericsson.com>
14898
14899 PR gdb/20487
14900 * gdb.mi/user-selected-context-sync.exp: New file.
14901 * gdb.mi/user-selected-context-sync.c: New file.
14902
149032016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14904 Simon Marchi <simon.marchi@ericsson.com>
14905
14906 PR gdb/20487
14907 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14908 =thread-select-event check.
14909
149102016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14911
14912 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14913 the compulsory L operand changes.
14914 * gdb.arch/powerpc-power.s: Likewise.
14915
149162016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14917
14918 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14919 * gdb.base/jit-attach-pie.c: New file.
14920 * gdb.base/jit-attach-pie.exp: New file.
14921
149222016-09-28 Pedro Alves <palves@redhat.com>
14923
14924 * gdb.base/infcall-input.c: New file.
14925 * gdb.base/infcall-input.exp: New file.
14926
149272016-09-22 Yao Qi <yao.qi@linaro.org>
14928
14929 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14930 (gdb_exit): Rename it to ...
14931 (gdbserver_gdb_exit): ... Close GDBserver.
14932 (gdb_exit): New proc, call gdbserver_gdb_exit.
14933 (mi_gdb_exit): Likewise.
14934
149352016-09-22 Yao Qi <yao.qi@linaro.org>
14936
14937 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14938 path.
14939 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14940 Remove duplication.
14941
149422016-09-22 Yao Qi <yao.qi@linaro.org>
14943
14944 * lib/gdbserver-support.exp: Check the existence of
14945 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14946
149472016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14948
14949 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14950
149512016-09-21 Tom Tromey <tom@tromey.com>
14952
14953 PR gdb/20604:
14954 * gdb.base/quit.exp: New file.
14955
149562016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14957
14958 * .gitignore: New file.
14959
149602016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14961
14962 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14963 throughout.
14964
149652016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14966
14967 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14968
149692016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14970
14971 * gdb.cp/casts.cc (decltype): Move it ...
14972 (main): ... with its call to ...
14973 * gdb.cp/casts03.cc: ... a new file.
14974 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14975
149762016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14977
14978 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14979
149802016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14981
14982 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14983 and sync up the test with tests in gas/testsuite/gas/ppc.
14984 * gdb.arch/powerpc-power.exp: Likewise.
14985
149862016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14987
14988 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14989
149902016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14991 Jan Kratochvil <jan.kratochvil@redhat.com>
14992
14993 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14994 make m1's definition to be different from m2's. Use 'dummy' as an
14995 argument for probe 'two'.
14996
149972016-09-10 Jon Beniston <jon@beniston.com>
14998
14999 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15000 for sim target.
15001
150022016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15003
15004 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15005 variable declaration.
15006 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15007 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15008 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15009 received HWCAP as its argument.
15010
150112016-09-06 Pedro Alves <palves@redhat.com>
15012
15013 * gdb.base/new-ui-pending-input.c: New file.
15014 * gdb.base/new-ui-pending-input.exp: New file.
15015 * gdb.exp (clear_gdb_spawn_id): New procedure.
15016 (with_spawn_id): Check whether gdb_spawn_id exists before
15017 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15018 on exit.
15019
150202016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15021
15022 * gdb.base/float128.c: New file.
15023 * gdb.base/float128.exp: Likewise.
15024 * gdb.base/floatn.c: Likewise.
15025 * gdb.base/floatn.exp: Likewise.
15026
150272016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15028
15029 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15030
150312016-09-05 Pedro Alves <palves@redhat.com>
15032
15033 PR backtrace/19927
15034 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15035 unwinders are immediately called as side effect of "source" or
15036 "disable unwinder" commands.
15037 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15038
150392016-09-02 Yao Qi <yao.qi@linaro.org>
15040
15041 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15042 is true and $type is "float" or "double".
15043
150442016-09-02 Yao Qi <yao.qi@linaro.org>
15045
15046 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15047 true.
15048 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15049 * gdb.base/call-rt-st.exp: Likewise.
15050 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15051 return value instead of gdb,skip_float_test.
15052 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15053 (do_function_calls): Use its return value instead of
15054 gdb,skip_float_test.
15055 * gdb.base/finish.exp: Likewise.
15056 * gdb.base/funcargs.exp: Likewise.
15057 * gdb.base/return.exp: Likewise.
15058 * gdb.base/return2.exp: Likewise.
15059 * gdb.base/varargs.exp: Likewise.
15060 * lib/gdb.exp (gdb_skip_float_test): Change it to
15061 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15062
150632016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15064
15065 * gdb.multi/tids.exp: Test "thread apply all".
15066
150672016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15068
15069 * gdb.base/default.exp (tty): Remove.
15070
150712016-08-24 Kevin Buettner <kevinb@redhat.com>
15072
15073 * gdb.python/py-recurse-unwind.c: New file.
15074 * gdb.python/py-recurse-unwind.py: New file.
15075 * gdb.python/py-recurse-unwind.exp: New file.
15076
150772016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15078
15079 * gdb.base/set-inferior-tty.exp: New file.
15080 * gdb.base/set-inferior-tty.c: New file.
15081
150822016-08-23 Pedro Alves <palves@redhat.com>
15083
15084 PR gdb/20494
15085 * gdb.base/new-ui-echo.c: New file.
15086 * gdb.base/new-ui-echo.exp: New file.
15087
150882016-08-23 Yao Qi <yao.qi@linaro.org>
15089
15090 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15091 gdbserver_spawn.
15092 * gdb.server/connect-without-multi-process.exp (do_test):
15093 Likewise.
15094
150952016-08-23 Yao Qi <yao.qi@linaro.org>
15096
15097 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15098 standalone_txt. Delete gdb_txt and standalone_txt on host
15099 and target. Spawn the binary on target. Copy files from
15100 target to host.
15101
151022016-08-22 Pedro Alves <palves@redhat.com>
15103
15104 PR gdb/20505
15105 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15106 with_test_prefix. Factor out bits to ...
15107 (test_no_vdso): ... this new procedure.
15108
151092016-08-19 Carl Love <cel@us.ibm.com>
15110
15111 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15112 maintaining separate logic for constructing the output path.
15113 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15114 * gdb.arch/ppc-dfp.exp: Likewise.
15115 * gdb.arch/ppc-fp.exp: Likewise.
15116 * gdb.arch/vsx-regs.exp: Likewise.
15117 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15118 binprefix for generating the additional binary files.
15119
151202016-08-19 Pedro Alves <palves@redhat.com>
15121
15122 * gdb.trace/mi-trace-frame-collected.exp
15123 (test_trace_frame_collected): On x32, expect two registers.
15124
151252016-08-18 Carl Love <cel@us.ibm.com>
15126
15127 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15128 and sync up the test with tests in gas/testsuite/gas/ppc.
15129 * gdb.arch/powerpc-power.exp: Likewise.
15130
151312016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15132
15133 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15134 expected error message.
15135
151362016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15137
15138 * gdb.multi/remove-inferiors.exp: New file.
15139 * gdb.multi/remove-inferiors.c: New file.
15140
151412016-08-12 Yao Qi <yao.qi@linaro.org>
15142
15143 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15144 argument list.
15145
151462016-08-10 Pedro Alves <palves@redhat.com>
15147
15148 PR gdb/19187
15149 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15150 setup_kfails.
15151
151522016-08-09 Pedro Alves <palves@redhat.com>
15153 Simon Marchi <simon.marchi@ericsson.com>
15154
15155 PR gdb/20418
15156 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15157 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15158
151592016-08-09 Pedro Alves <palves@redhat.com>
15160
15161 PR mi/20431
15162 * gdb.mi/mi-cmd-error.exp: New file.
15163
151642016-08-09 Pedro Alves <palves@redhat.com>
15165
15166 PR gdb/18653
15167 * gdb.base/signals-state-child.c: New file.
15168 * gdb.base/signals-state-child.exp: New file.
15169 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15170
151712016-08-09 Pedro Alves <palves@redhat.com>
15172
15173 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15174
151752016-08-03 Tom Tromey <tom@tromey.com>
15176
15177 PR python/18565:
15178 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15179
151802016-08-01 Yao Qi <yao.qi@linaro.org>
15181
15182 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15183 variable mode to "multi-process" if $multi_process is 1, otherwise
15184 set it to "single-process".
15185
151862016-08-01 Yao Qi <yao.qi@linaro.org>
15187
15188 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15189 * gdb.cp/cpexprs.exp: Likewise.
15190 * gdb.cp/m-static.exp: Likewise.
15191
151922016-07-26 Tom Tromey <tom@tromey.com>
15193
15194 PR python/20190:
15195 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15196 test.
15197
151982016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15199
15200 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15201 selecting assembly source files.
15202 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15203 assembly source files.
15204 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15205 assembly source files.
15206 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15207 selecting assembly source files.
15208
152092016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15210
15211 * gdb.base/new-ui.exp (do_test_invalid_args): New
15212 procedure.
15213
152142016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15215
15216 * gdb.btrace/reconnect.c: New file.
15217 * gdb.btrace/reconnect.exp: New file.
15218
152192016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15220
15221 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15222 to test_catch_syscall_group.
15223 (test_catch_syscall_group): New.
15224
152252016-07-21 Tom Tromey <tom@tromey.com>
15226
15227 * gdb.rust/simple.rs (main): Use empty struct expression.
15228 * gdb.rust/simple.exp: Add tests for empty struct expression.
15229
152302016-07-21 Yao Qi <yao.qi@linaro.org>
15231
15232 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15233 if gdb_skip_xml_test is true on some targets.
15234
152352016-07-21 Yao Qi <yao.qi@linaro.org>
15236
15237 * gdb.server/solib-list.exp: Unset last_loaded_file.
15238
152392016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15240
15241 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15242 "step into captured_main (args)".
15243
152442016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15245
15246 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15247
152482016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15249
15250 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15251
152522016-07-19 Pedro Alves <palves@redhat.com>
15253
15254 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15255 * gdb.opt/inline-bt.exp: Likewise.
15256 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15257 additional_flags=-Winline.
15258 * gdb.opt/inline-locals.exp: Likewise.
15259 * gdb.opt/inline-markers.c (ATTR): Define.
15260 (inlined_fn): Use it.
15261
152622016-07-19 Yao Qi <yao.qi@linaro.org>
15263
15264 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15265 (test_with_self): Remove some code. Remove argument executable.
15266 (top-level): Use do_self_tests.
15267
152682016-07-15 Zachary Welch <zwelch@codesourcery.com>
15269 Don Breazeal <donb@codesourcery.com>
15270
15271 * gdb.base/maint.exp: Escape paths used in regular expressions.
15272 * gdb.stabs/weird.exp: Likewise.
15273
152742016-07-13 Tom Tromey <tom@tromey.com>
15275
15276 PR python/15620, PR python/18620:
15277 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15278 (test_bkpt_events): New procs.
15279
152802016-07-13 Tom Tromey <tom@tromey.com>
15281
15282 PR python/17698:
15283 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15284 test.
15285 (test_watchpoints): Likewise.
15286 (test_bkpt_pending): New proc.
15287
152882016-07-13 Tom Tromey <tom@tromey.com>
15289
15290 PR cli/18053:
15291 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15292 completion test.
15293
152942016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15295
15296 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15297 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15298 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15299 f_label.
15300 (g): Rename g_end_lbl to g_label.
15301 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15302 low_pc and high_pc.
15303 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15304
153052016-07-12 Tom Tromey <tom@tromey.com>
15306
15307 PR python/19293:
15308 * gdb.python/py-unwind-maint.exp: Update tests.
15309
153102016-07-12 Yao Qi <yao.qi@linaro.org>
15311
15312 * lib/selftest-support.exp (selftest_setup): Match the output
15313 when captured_main is inlined.
15314
153152016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15316
15317 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15318 New variables.
15319 (print this%a, print this%b, print this): New tests.
15320 * gdb.fortran/derived-types.f90 (this): New object and
15321 initialization.
15322
153232016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15324
15325 * gdb.ada/arraydim.exp: Remove extra directory level in build
15326 directory.
15327
153282016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15329
15330 * lib/ada.exp: Remove extra directory level in build directory.
15331 * gdb.ada/cond_lang.exp: Likewise.
15332 * gdb.ada/exec_changed.exp: Likewise.
15333 * gdb.ada/lang_switch.exp: Likewise.
15334
153352016-07-06 Manish Goregaokar <manish@mozilla.com>
15336
15337 * simple.rs: Add test for raw pointer subscripting.
15338 * simple.exp: Add test expectations.
15339
153402016-07-05 Yao Qi <yao.qi@linaro.org>
15341
15342 * gdb.mi/mi-reverse.exp: Match =record-started output.
15343
153442016-07-01 Pedro Alves <palves@redhat.com>
15345
15346 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15347 procedure.
15348 (jit_reader_test): Test the jit reader's unwinder.
15349 * gdb.base/jithost.c (jit_function_00_code): New global.
15350 (main): Use memcpy to fill in the mmapped code, instead of poking
15351 bytes manually here.
15352 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15353 value.
15354 (read_debug_info): Save the function's range.
15355 (read_sp): New function.
15356 (unwind_frame): Use it. Also unwind RBP.
15357 (get_frame_id): Use read_sp.
15358 (gdb_init_reader): Use calloc instead of malloc.
15359 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15360 parameter. Use gdb_test_multiple.
15361
153622016-07-01 Pedro Alves <palves@redhat.com>
15363 Antoine Tremblay <antoine.tremblay@ericsson.com>
15364
15365 * gdb.threads/process-dies-while-detaching.c: New file.
15366 * gdb.threads/process-dies-while-detaching.exp: New file.
15367
153682016-07-01 Pedro Alves <palves@redhat.com>
15369
15370 * gdb.multi/watchpoint-multi-exit.c: New file.
15371 * gdb.multi/watchpoint-multi-exit.exp: New file.
15372
153732016-06-30 Pedro Alves <palves@redhat.com>
15374
15375 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15376 unset inferior_spawn_id.
15377
153782016-06-30 Pedro Alves <palves@redhat.com>
15379
15380 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15381 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15382
153832016-06-29 Yao Qi <yao.qi@linaro.org>
15384
15385 * gdb.base/return.c: Add copyright header.
15386
153872016-06-29 Tom Tromey <tom@tromey.com>
15388
15389 PR python/20129:
15390 * gdb.python/py-framefilter.exp: Add tests for setting priority
15391 and disabling of non-existent frame filter.
15392
153932016-06-29 Yao Qi <yao.qi@linaro.org>
15394
15395 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15396 0x0f07ff.
15397
153982016-06-28 Yao Qi <yao.qi@linaro.org>
15399
15400 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15401 triplets. Start gdb, execute catch syscall, and continue. Check
15402 gdb's output to determine catch syscall is supported.
15403
154042016-06-27 Manish Goregaokar <manish@mozilla.com>
15405
15406 * gdb.rust/simple.rs: Add test for returning unit in a function.
15407 * gdb.rust/simple.exp: Add expectation for functions returning
15408 unit.
15409
154102016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15411
15412 * gdb.python/py-breakpoint-create-fail.c,
15413 gdb.python/py-breakpoint-create-fail.exp,
15414 gdb.python/py-breakpoint-create-fail.py: New testcase.
15415
154162016-06-25 Manish Goregaokar <manish@mozilla.com>
15417
15418 PR gdb/20239
15419 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
15420 * gdb.rust/simple.exp: Add test expectations for new NonZero
15421 tests.
15422
154232016-06-24 David Taylor <dtaylor@emc.com>
15424
15425 * gdb.base/offsets.exp: New file.
15426 * gdb.base/offsets.c: New file.
15427
154282016-06-23 Tom Tromey <tom@tromey.com>
15429
15430 PR gdb/16483:
15431 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15432 before any filters are loaded.
15433
154342016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15435
15436 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15437 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15438 structs.
15439 * gdb.fortran/derived-type-function.exp: New file.
15440 * gdb.fortran/derived-type-function.f90: New file.
15441
15442
154432016-06-21 Pedro Alves <palves@redhat.com>
15444
15445 * gdb.base/new-ui.exp: New file.
15446 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15447 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15448 (with_spawn_id): New procedure.
15449
154502016-06-21 Pedro Alves <palves@redhat.com>
15451
15452 * gdb.mi/mi-exec-run.exp: New file.
15453
154542016-06-21 Pedro Alves <palves@redhat.com>
15455
15456 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15457 breakpoint command's output on the main UI.
15458 (test_break): New procedure, factored out from calls in the top
15459 level.
15460 (top level): Use foreach_with_prefix to test MI as main UI and as
15461 separate UI.
15462
154632016-06-21 Pedro Alves <palves@redhat.com>
15464
15465 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15466 (test_awatch_creation_and_listing)
15467 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15468 Remove 'type' parameter.
15469 (test_watchpoint_all): New parameter mi_mode. Remove
15470 with_test_prefix.
15471 (top level): Use foreach_with_prefix, and add main/separate UI MI
15472 testing axis.
15473
154742016-06-21 Pedro Alves <palves@redhat.com>
15475
15476 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15477 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15478 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15479 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15480 (gdb_main_spawn_id, mi_spawn_id): Declare and
15481 comment.
15482 (mi_create_inferior_pty): New procedure,
15483 factored out from default_mi_gdb_start.
15484 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15485 procedures.
15486 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15487 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15488 Use mi_create_inferior_pty.
15489 (mi_gdb_start): Use eval to pass down args list.
15490
154912016-06-21 Pedro Alves <palves@redhat.com>
15492
15493 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15494 * gdb.opt/inline-cmds.exp: Add MI tests.
15495
154962016-06-21 Pedro Alves <palves@redhat.com>
15497
15498 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15499
155002016-06-21 Pedro Alves <palves@redhat.com>
15501
15502 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15503 (top level): Use it instead of mi_execute_to.
15504
155052016-06-21 Pedro Alves <palves@redhat.com>
15506
15507 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15508 (cont_handler_str): New.
15509 (signal_stop_handler): Set stop_handler_str instead of printing to
15510 stdout.
15511 (continue_handler): Set cont_handler_str instead of printing to
15512 stdout.
15513 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15514 mi_send_resuming_command. Print stop_handler_str and
15515 cont_handler_str instead of expecting the python events print
15516 directly.
15517
155182016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15519
15520 * gdb.base/jit-reader.exp: New file.
15521 * gdb.base/jithost.c: New file.
15522 * gdb.base/jithost.h: New file.
15523 * gdb.base/jitreader.c : New file.
15524 * gdb.base/jit-protocol.h: New file.
15525
155262016-06-17 Yao Qi <yao.qi@linaro.org>
15527
15528 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15529 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15530 and detach-on-fork. Adjust tests.
15531 (top level): Invoke break_cond_on_syscall with combinations of
15532 syscall, follow-fork-mode and detach-on-fork.
15533
155342016-06-17 Yao Qi <yao.qi@linaro.org>
15535
15536 * gdb.base/step-over-exit.c: New.
15537 * gdb.base/step-over-exit.exp: New.
15538
155392016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15540
15541 * gdb.base/float.exp: Add target check for nds32*-*-*.
15542 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15543
155442016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15545
15546 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15547 for unsupported target features.
15548 * gdb.base/call-rt-st.exp: Likewise.
15549 * gdb.base/call-sc.exp: Likewise.
15550 * gdb.base/call-signal-resume.exp: Likewise.
15551 * gdb.base/call-strs.exp: Likewise.
15552 * gdb.base/callexit.exp: Likewise.
15553 * gdb.base/callfuncs.exp: Likewise.
15554 * gdb.base/nodebug.exp: Likewise.
15555 * gdb.base/printcmds.exp: Likewise.
15556 * gdb.base/ptype.exp: Likewise.
15557 * gdb.base/structs.exp: Likewise.
15558 * gdb.base/unwindonsignal.exp: Likewise.
15559 * gdb.cp/gdb2495.exp: Likewise.
15560 * gdb.cp/templates.exp: Likewise.
15561 * gdb.cp/virtfunc.exp: Likewise.
15562 * gdb.threads/hand-call-in-threads.exp: Likewise.
15563 * gdb.threads/interrupted-hand-call.exp: Likewise.
15564 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15565
155662016-06-10 Tom Tromey <tom@tromey.com>
15567
15568 PR rust/20110:
15569 * gdb.rust/expr.exp: Add test for integer constant larger than
15570 i32.
15571
155722016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15573
15574 * gdb.fortran/nested-funcs.exp: New.
15575 * gdb.fortran/nested-funcs.f90: New.
15576
155772016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15578
15579 * gdb.base/examine-backward.c: New file.
15580 * gdb.base/examine-backward.exp: New file.
15581
155822016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15583
15584 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15585 matching.
15586
155872016-06-02 Tom Tromey <tom@tromey.com>
15588
15589 PR python/18984:
15590 * gdb.python/py-shared.exp: Add solib_name test.
15591
155922016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15593
15594 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15595
155962016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15597
15598 PR c++/19893
15599 * gdb.dwarf2/implref.exp: Rename to...
15600 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15601 * gdb.dwarf2/implref-array.c: New file.
15602 * gdb.dwarf2/implref-array.exp: Likewise.
15603 * gdb.dwarf2/implref-global.c: Likewise.
15604 * gdb.dwarf2/implref-global.exp: Likewise.
15605 * gdb.dwarf2/implref-struct.c: Likewise.
15606 * gdb.dwarf2/implref-struct.exp: Likewise.
15607
156082016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15609
15610 * gdb.trace/trace-condition.exp: Add 64bit tests.
15611
156122016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15613
15614 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15615 bits types.
15616 (main): Adapt to 8 to 64 bits types.
15617 * gdb.trace/trace-condition.exp: Add new tests.
15618
156192016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15620
15621 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15622
156232016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15624
15625 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15626 Move condition tests...
15627 * gdb.trace/trace-condition.exp: Here.
15628
156292016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15630
15631 * gdb.trace/trace-condition.exp: Add counter-case tests.
15632
156332016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15634
15635 PR c++/15231
15636 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15637 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15638
156392016-05-27 Pedro Alves <palves@redhat.com>
15640
15641 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15642 New procedure.
15643 (top level): Call it, and bail out of DejaGnu is known to be bad.
15644
156452016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15646
15647 * gdb.base/whatis.c: Extend the test case.
15648 * gdb.base/whatis.exp: Add additional tests.
15649
156502016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15651
15652* gdb.fortran/type.f90: Add pointer variable.
15653* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15654
156552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15656
15657 * gdb.fortran/vla-type.exp: Fix testcase name.
15658
156592016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15660
15661 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15662
156632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15664
15665 * gdb.fortran/type.f90: Add nested structures.
15666 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15667 * gdb.fortran/derived-type.exp: Adapt expected output.
15668 * gdb.fortran/vla-type.exp: Adapt expected output.
15669
156702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15671
15672 * gdb.fortran/whatis_type.exp: Adapt expected output.
15673
156742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15675
15676 * gdb.fortran/print_type.exp: Fix expected output.
15677 * gdb.fortran/whatis_type.exp: Fix expected output.
15678
156792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15680
15681 * gdb.fortran/whatis_type.exp: Use multi_line.
15682
156832016-05-24 Tom Tromey <tom@tromey.com>
15684
15685 PR python/17386:
15686 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15687 use value as an index.
15688
156892016-05-23 Tom Tromey <tom@tromey.com>
15690
15691 PR python/17981:
15692 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15693 no-breakpoint case.
15694
156952016-05-24 Pedro Alves <palves@redhat.com>
15696
15697 PR gdb/19828
15698 * gdb.threads/clone-attach-detach.c: New file.
15699 * gdb.threads/clone-attach-detach.exp: New file.
15700
157012016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15702
15703 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15704
157052016-05-23 Tom Tromey <tom@tromey.com>
15706
15707 PR python/19438, PR python/18393:
15708 * gdb.python/py-progspace.exp: Add "dir" test.
15709 * gdb.python/py-objfile.exp: Add "dir" test.
15710
157112016-05-23 Yao Qi <yao.qi@linaro.org>
15712
15713 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15714 * gdb.arch/thumb2-it.exp: Likewise.
15715
157162016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15717
15718 * gdb.mi/mi-threads-interrupt.c: New file.
15719 * gdb.mi/mi-threads-interrupt.exp: New file.
15720
157212016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15722
15723 PR gdb/18077
15724 * gdb.mi/mi-async-run.exp: New file.
15725 * gdb.mi/mi-async-run.c: New file.
15726
157272016-05-17 Tom Tromey <tom@tromey.com>
15728 Manish Goregaokar <manishsmail@gmail.com>
15729
15730 * lib/rust-support.exp: New file.
15731 * lib/gdb.exp (skip_rust_tests): New proc.
15732 (build_executable_from_specs): Handle rust.
15733 * lib/future.exp (gdb_find_rustc): New proc.
15734 (gdb_default_target_compile): Handle rust.
15735 * gdb.rust/expr.exp: New file.
15736 * gdb.rust/generics.exp: New file.
15737 * gdb.rust/generics.rs: New file.
15738 * gdb.rust/methods.exp: New file.
15739 * gdb.rust/methods.rs: New file.
15740 * gdb.rust/modules.exp: New file.
15741 * gdb.rust/modules.rs: New file.
15742 * gdb.rust/simple.exp: New file.
15743 * gdb.rust/simple.rs: New file.
15744
157452016-05-17 Tom Tromey <tom@tromey.com>
15746
15747 * gdb.base/default.exp (set language): Add rust.
15748
157492016-05-17 Tom Tromey <tom@tromey.com>
15750
15751 * gdb.gdb/unittest.exp: New file.
15752
157532016-05-16 Yao Qi <yao.qi@linaro.org>
15754
15755 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15756 shell_prompt. Update shell_prompt_re.
15757
157582016-05-12 Doug Evans <dje@google.com>
15759
15760 PR symtab/19999
15761 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15762 $options when building executable.
15763 * gdb.dwarf2/fission-loclists-pie.S: New file.
15764 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15765
157662016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15767
15768 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15769 of [is_remote target],
15770
157712016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15772
15773 * lib/gdb.exp (use_gdb_stub): New procedure.
15774
157752016-05-03 Yunlian Jiang <yunlian@google.com>
15776 Doug Evans <dje@google.com>
15777
15778 PR symtab/19914
15779 * gdb.dwarf2/dwp-sepdebug.c: New file.
15780 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15781
157822016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15783
15784 * gdb.base/detach.exp: Remove is_remote check.
15785
157862016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15787
15788 * gdb.base/annota-input-while-running.exp: Don't check for
15789 [is_remote target]. Enable annotations after running to main.
15790 Remove unused "set test..." line.
15791
157922016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15793
15794 * gdb.trace/trace-enable-disable.exp: New file.
15795 * gdb.trace/trace-enable-disable.c: New file.
15796
157972016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15798
15799 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15800 use it in info sharedlibrary test.
15801 * gdb.trace/ftrace-lock.exp: Likewise.
15802 * gdb.trace/ftrace.exp: Likewise.
15803 * gdb.trace/range-stepping.exp: Likewise.
15804 * gdb.trace/trace-break.exp: Likewise.
15805 * gdb.trace/trace-condition.exp: Likewise.
15806 * gdb.trace/trace-mt.exp: Likewise.
15807
158082016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15809
15810 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15811 (gdb_load_shlib): ... this.
15812 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15813 gdb_load_shlib.
15814 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15815 * gdb.base/ctxobj.exp: Likewise.
15816 * gdb.base/dprintf-pending.exp: Likewise.
15817 * gdb.base/dso2dso.exp: Likewise.
15818 * gdb.base/fixsection.exp: Likewise.
15819 * gdb.base/gcore-relro.exp: Likewise.
15820 * gdb.base/gdb1555.exp: Likewise.
15821 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15822 * gdb.base/gnu-ifunc.exp: Likewise.
15823 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15824 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15825 * gdb.base/pending.exp: Likewise.
15826 * gdb.base/print-file-var.exp: Likewise.
15827 * gdb.base/print-symbol-loading.exp: Likewise.
15828 * gdb.base/shlib-call.exp: Likewise.
15829 * gdb.base/shreloc.exp: Likewise.
15830 * gdb.base/so-impl-ld.exp: Likewise.
15831 * gdb.base/solib-disc.exp: Likewise.
15832 * gdb.base/solib-nodir.exp: Likewise.
15833 * gdb.base/solib-overlap.exp: Likewise.
15834 * gdb.base/solib-symbol.exp: Likewise.
15835 * gdb.base/solib-weak.exp (do_test): Likewise.
15836 * gdb.base/sym-file.exp: Likewise.
15837 * gdb.base/symtab-search-order.exp: Likewise.
15838 * gdb.base/type-opaque.exp: Likewise.
15839 * gdb.base/unload.exp: Likewise.
15840 * gdb.base/watchpoint-solib.exp: Likewise.
15841 * gdb.compile/compile.exp: Likewise.
15842 * gdb.cp/gdb2384.exp: Likewise.
15843 * gdb.cp/infcall-dlopen.exp: Likewise.
15844 * gdb.cp/re-set-overloaded.exp: Likewise.
15845 * gdb.fortran/library-module.exp: Likewise.
15846 * gdb.opt/solib-intra-step.exp: Likewise.
15847 * gdb.python/py-finish-breakpoint.exp: Likewise.
15848 * gdb.python/py-shared.exp: Likewise.
15849 * gdb.reverse/solib-precsave.exp: Likewise.
15850 * gdb.reverse/solib-reverse.exp: Likewise.
15851 * gdb.server/solib-list.exp: Likewise.
15852 * gdb.threads/dlopen-libpthread.exp: Likewise.
15853 * gdb.threads/tls-shared.exp: Likewise.
15854 * gdb.threads/tls-so_extern.exp: Likewise.
15855 * gdb.trace/change-loc.exp: Likewise.
15856 * gdb.trace/ftrace-lock.exp: Likewise.
15857 * gdb.trace/ftrace.exp: Likewise.
15858 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15859 * gdb.trace/pending.exp: Likewise.
15860 * gdb.trace/range-stepping.exp: Likewise.
15861 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15862 (strace_info_marker): Likewise.
15863 (strace_probe_marker): Likewise.
15864 (strace_trace_on_same_addr): Likewise.
15865 (strace_trace_on_diff_addr): Likewise.
15866 * gdb.trace/trace-break.exp: Likewise.
15867 * gdb.trace/trace-condition.exp: Likewise.
15868 * gdb.trace/trace-mt.exp: Likewise.
15869
158702016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15871
15872 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15873 result of gdb_remote_download.
15874 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15875 * gdb.base/dso2dso.exp: Likewise.
15876 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15877 * gdb.base/print-file-var.exp: Likewise.
15878 * gdb.base/shlib-call.exp: Likewise.
15879 * gdb.base/shreloc.exp: Likewise.
15880 * gdb.base/solib-overlap.exp: Likewise.
15881 * gdb.base/solib-weak.exp (do_test): Likewise.
15882 * gdb.base/unload.exp: Likewise.
15883
158842016-04-27 Yao Qi <yao.qi@linaro.org>
15885
15886 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15887 exists.
15888
158892016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15890
15891 * vla-type.exp: Print structure from toplevel.
15892
158932016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15894
15895 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15896 of dynamic types.
15897 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15898 of dynamic types.
15899
159002016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15901
15902 * gdb.fortran/vla-type.f90: New file.
15903 * gdb.fortran/vla-type.exp: New file.
15904
159052016-04-25 Yao Qi <yao.qi@linaro.org>
15906
15907 * gdb.base/branch-to-self.c: New file.
15908 * gdb.base/branch-to-self.exp: New file.
15909
159102016-04-22 Yao Qi <yao.qi@linaro.org>
15911
15912 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15913 more after $hex.
15914
159152016-04-22 Yao Qi <yao.qi@linaro.org>
15916
15917 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15918 * gdb.base/annota3.exp: Likewise.
15919
159202016-04-22 Yao Qi <yao.qi@linaro.org>
15921
15922 * gdb.reverse/step-precsave.exp: Do one step and test program
15923 stops in "callee" and do multiple steps until program goes out
15924 of "callee".
15925 * gdb.reverse/step-reverse.exp: Likewise.
15926
159272016-04-22 Yao Qi <yao.qi@linaro.org>
15928
15929 * gdb.trace/signal.exp: Also pass if
15930 $tracepoint_hits($i) > $iterations.
15931
159322016-04-22 Yao Qi <yao.qi@linaro.org>
15933
15934 * gdb.trace/signal.c: New file.
15935 * gdb.trace/signal.exp: New file.
15936
159372016-04-19 Doug Evans <xdje42@gmail.com>
15938
15939 * gdb.base/bad-file.exp: New file.
15940
159412016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15942
15943 * gdb.dwarf2/implref.exp: New file.
15944
159452016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15946
15947 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15948 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15949 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15950 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15951 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15952 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15953 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15954 * lib/fortran.exp (fortran_int4): New procedure.
15955 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15956 (fortran_logical4): Likewise.
15957
159582016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15959
15960 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15961
159622016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15963
15964 * lib/compiler.c: Add Intel specific preprocessor macros.
15965 * lib/compiler.cc: Likewise.
15966
159672016-04-13 Luis Machado <lgustavo@codesourcery.com>
15968
15969 * gdb.server/connect-with-no-symbol-file.c: New file.
15970 * gdb.server/connect-with-no-symbol-file.exp: New file.
15971
159722016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15973
15974 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15975
159762016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15977
15978 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15979 standard output directory.
15980
159812016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15982
15983 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15984
159852016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15986
15987 * gdb.btrace/instruction_history.c (loop): Add declaration.
15988
159892016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15990
15991 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15992
159932016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15994
15995 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15996 parentheses to print.
15997 (continue_handler): Likewise.
15998
159992016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16000
16001 * gdb.server/solib-list.exp: Remove is_remote check.
16002 Pass shlib= to gdb_compile. Don't link shared library with
16003 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16004 Run binary filename through "readlink -f" on the target.
16005
160062016-04-08 Pedro Alves <palves@redhat.com>
16007
16008 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16009 interpreter filename as argument to gdbserver_spawn.
16010 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16011 Return empty if $last_loaded_file does not exist.
16012
160132016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16014
16015 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16016 * gdb.base/jit-main.c: Use exit after usage.
16017
160182016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16019
16020 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16021 GDBHISTSIZE prior to the tests.
16022 * gdb.base/gdbinit-history.exp: Likewise.
16023
160242016-04-07 Pedro Alves <palves@redhat.com>
16025
16026 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16027 instead of build_executable. Use gdb_load_shlibs.
16028
160292016-04-07 Yao Qi <yao.qi@linaro.org>
16030
16031 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16032 Execute "si" command.
16033
160342016-04-07 Yao Qi <yao.qi@linaro.org>
16035
16036 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16037 number instead of the comments on some line.
16038
160392016-04-06 Don Breazeal <donb@codesourcery.com>
16040
16041 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16042 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16043
160442016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16045
16046 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16047 standard_output_file. Remove unused binfile variable.
16048
160492016-04-05 Catalin Udma <catalin.udma@freescale.com>
16050
16051 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16052 * gdb.python/py-mi-objfile.exp: Match "list main" output
16053 in console format.
16054
160552016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16056
16057 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16058 absolute.
16059
160602016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16061
16062 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16063 absolute.
16064 * gdb.trace/ftrace.exp: Likewise.
16065 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16066 targets as well.
16067 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16068 (gdb_load_shlibs): Copy libraries to test directory when testing
16069 natively. Only set solib-search-path if testing remotely.
16070 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16071
160722016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16073
16074 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16075 gdb_download. Use it even if the target is not remote.
16076 * gdb.base/jit.exp (compile_jit_test): Likewise.
16077 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16078 output directory if the destination board is local, otherwise use
16079 the standard remote_download from DejaGnu.
16080 (gdb_download): Remove.
16081 (gdb_load_shlibs): Use gdb_remote_download instead of
16082 gdb_download.
16083 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16084 Use gdb_remote_download instead of gdb_download. Use it even if
16085 the target is not remote.
16086 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16087 instead of gdb_download.
16088
160892016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16090
16091 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16092 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16093 run.
16094
160952016-04-01 Artemiy Volkov <artemiyv@acm.org>
16096
16097 PR gdb/19820
16098 * gdb.base/printcmds.exp: Add artificial arrays tests.
16099
161002016-03-31 Pedro Alves <palves@redhat.com>
16101
16102 PR gdb/19858
16103 * gdb.base/jit-main.c: Include unistd.h.
16104 (ATTACH): Define to 0 if not already defined.
16105 (wait_for_gdb, mypid): New globals.
16106 (WAIT_FOR_GDB): New macro.
16107 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16108 some breakpoint locations.
16109 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16110 New procedures.
16111 (one_jit_test): Add REATTACH parameter, and handle it. Use
16112 continue_to_test_location.
16113 (top level): Test attach, and adjusts calls to one_jit_test.
16114
161152016-03-31 Pedro Alves <palves@redhat.com>
16116
16117 PR gdb/19858
16118 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16119 BINSUFFIX parameter, and handle it.
16120 (top level): Adjust calls compile_jit_test.
16121
161222016-03-31 Catalin Udma <catalin.udma@freescale.com>
16123
16124 PR python/19743
16125 * gdb.python/py-mi-events-gdb.py: New file.
16126 * gdb.python/py-mi-events.c: New file.
16127 * gdb.python/py-mi-events.exp: New file.
16128
161292016-03-30 Yao Qi <yao.qi@linaro.org>
16130
16131 * gdb.reverse/until-precsave.exp: Match function name only.
16132 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16133 Move malloc to a condition block.
16134 * gdb.reverse/until-reverse.exp: Match function name only.
16135
161362016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16137
16138 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16139 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16140 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16141 variable for GPR 0 instead of assuming it is register 0.
16142 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16143 * lib/trace-support.exp: Add s390 registers.
16144
161452016-03-29 Yao Qi <yao.qi@linaro.org>
16146
16147 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16148
161492016-03-24 Yao Qi <yao.qi@linaro.org>
16150
16151 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16152 test message.
16153
161542016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16155
16156 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16157 maintaining separate logic for constructing the output path.
16158
161592016-03-16 Don Breazeal <donb@codesourcery.com>
16160
16161 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16162 Retry fork and waitpid on interrupted system call errors.
16163 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16164 Use with_timeout_factor to increase timeout by factor of 10.
16165
161662016-03-15 Don Breazeal <donb@codesourcery.com>
16167
16168 * gdb.cp/scope-err.cc: New test program.
16169 * gdb.cp/scope-err.exp: New test script.
16170 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16171 lines and "set breakpoint here" comment.
16172 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16173 Fixed some whitespace and format issues.
16174 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16175 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16176
161772016-03-15 Doug Evans <dje@google.com>
16178
16179 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16180 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16181 All callers updated. Add tests for enums, mixed flags register.
16182
161832016-03-15 Doug Evans <dje@google.com>
16184
16185 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16186 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16187
161882016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16189
16190 * gdb.base/default.exp: Add $_as_string to the list of expected
16191 convenience functions.
16192
161932016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16194
16195 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16196
161972016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16198
16199 * gdb.python/py-as-string.exp: New file.
16200 * gdb.python/py-as-string.c: New file.
16201
162022016-03-09 Pedro Alves <palves@redhat.com>
16203
16204 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16205 signal" -> "Thread NN received signal" output change.
16206 * gdb.threads/ia64-sigill.exp: Likewise.
16207 * gdb.threads/linux-dp.exp: Likewise.
16208 * gdb.threads/manythreads.exp: Likewise.
16209 * gdb.threads/pending-step.exp: Likewise.
16210 * gdb.threads/print-threads.exp: Likewise.
16211 * gdb.threads/sigstep-threads.exp: Likewise.
16212 * gdb.threads/staticthreads.exp: Likewise.
16213 * gdb.threads/tls.exp: Likewise.
16214
162152016-03-09 Pedro Alves <palves@redhat.com>
16216
16217 * gdb.base/command-line-input.exp: New file.
16218
162192016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16220
16221 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16222 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16223 * gdb.trace/pending.exp: Accept leading dot before function name.
16224 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16225 * lib/trace-support.exp: Set registers for ppc.
16226
162272016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16228
16229 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16230 use it for disassembly; accept .main in addition to main in backtrace.
16231
162322016-03-09 Wei-cheng Wang <cole945@gmail.com>
16233 Marcin Kościelnicki <koriakin@0x04.net>
16234
16235 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16236 (gdb_recursion_test_ptr): New global variable.
16237 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16238 gdb_recursion_test.
16239 (gdb_c_test): Ditto.
16240
162412016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16242
16243 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16244 ordering.
16245
162462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16247
16248 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16249 (bar): Add bar_start_lbl label.
16250 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16251 of foo/bar for emitting DWARF and tracing.
16252
162532016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16254
16255 * analyze-racy-logs.py: Set executable bit.
16256
162572016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16258
16259 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16260 (CHECK_TARGET_TMP): Likewise.
16261 (check-single-racy): New rule.
16262 (check-parallel-racy): Likewise.
16263 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16264 (do-check-parallel-racy): New rule.
16265 (check-racy/%.exp): Likewise.
16266 * README (Racy testcases): New section.
16267 * analyze-racy-logs.py: New file.
16268
162692016-03-03 Doug Evans <dje@google.com>
16270
16271 * gdb.base/skip.exp: Use with_test_prefix.
16272
162732016-03-03 Yao Qi <yao.qi@linaro.org>
16274
16275 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16276 Invoke step_over_syscall "clone" and break_cond_on_syscall
16277 "clone".
16278 * gdb.base/step-over-clone.c: New file.
16279
162802016-03-03 Yao Qi <yao.qi@linaro.org>
16281
16282 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16283 code format.
16284
162852016-03-03 Yao Qi <yao.qi@linaro.org>
16286
16287 * gdb.base/disp-step-fork.c: Rename to ...
16288 * gdb.base/step-over-fork.c: ... it. New file.
16289 * gdb.base/disp-step-vfork.c: Rename to ...
16290 * gdb.base/step-over-vfork.c: ... it. New file.
16291 * gdb.base/disp-step-syscall.exp: Rename to ...
16292 * gdb.base/step-over-syscall.exp: ... it. New file.
16293 (disp_step_cross_syscall): Rename to ...
16294 (step_over_syscall): ... it.
16295
162962016-03-03 Yao Qi <yao.qi@linaro.org>
16297
16298 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16299 If target supports condition evaluation on target, invoke
16300 break_cond_on_syscall for fork and vfork.
16301
163022016-03-03 Yao Qi <yao.qi@linaro.org>
16303
16304 * gdb.base/disp-step-syscall.exp: Don't invoke
16305 support_displaced_stepping.
16306 (disp_step_cross_syscall): Test with displaced stepping off and
16307 on if supported.
16308
163092016-03-03 Yao Qi <yao.qi@linaro.org>
16310
16311 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16312 proc.
16313 (setup): New proc.
16314 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16315 and setup.
16316
163172016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16318
16319 * gdb.fortran/vla-history.exp: Remove breakpoint.
16320
163212016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16322
16323 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16324 exceeds timeout.
16325
163262016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16327
16328 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16329 breakpoint.
16330
163312016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16332
16333 * gdb.mi/vla.f90: Nullify pointer after declaration.
16334
163352016-03-01 Pedro Alves <palves@redhat.com>
16336
16337 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16338
163392016-03-01 Pedro Alves <palves@redhat.com>
16340
16341 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16342 before anything else.
16343 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16344 _GNU_SOURCE here.
16345 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16346 before anything else.
16347 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16348
163492016-03-01 Pedro Alves <palves@redhat.com>
16350
16351 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16352
163532016-03-01 Yao Qi <yao.qi@linaro.org>
16354
16355 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16356 prepare_for_testing.
16357
163582016-03-01 Yao Qi <yao.qi@linaro.org>
16359
16360 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16361
163622016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16363
16364 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16365 manually constructing the output path.
16366
163672016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16368
16369 * gdb.arch/s390-stackless.S: New.
16370 * gdb.arch/s390-stackless.exp: New.
16371
163722016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16373
16374 * gdb.dlang/circular.c: New file.
16375 * gdb.dlang/circular.exp: New file.
16376
163772016-02-26 Yao Qi <yao.qi@linaro.org>
16378
16379 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16380 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16381 (testcases): Update.
16382
163832016-02-26 Yao Qi <yao.qi@linaro.org>
16384
16385 * gdb.reverse/aarch64.c: Rename to ...
16386 * gdb.reverse/insn-reverse.c: ... it.
16387 * gdb.reverse/aarch64.exp: Rename to ...
16388 * gdb.reverse/insn-reverse.exp: ... it.
16389
163902016-02-26 Yao Qi <yao.qi@linaro.org>
16391
16392 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16393 (testcase_ftype): New.
16394 (testcases): New array.
16395 (n_testcases): New.
16396 (main): Call each element in testcases.
16397 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16398 (read_testcase): New.
16399 Do the tests in a loop.
16400
164012016-02-25 Yao Qi <yao.qi@linaro.org>
16402
16403 * gdb.base/branches.c: Remove.
16404
164052016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16406
16407 PR gdb/13808
16408 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16409
164102016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16411
16412 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16413
164142016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16415
16416 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16417 change x86_64 call_insn to 'callq'.
16418
164192016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16420
16421 * gdb.trace/tfile-avx.c: Move to...
16422 * gdb.trace/tracefile-pseudo-reg.c: Here.
16423 * gdb.trace/tfile-avx.exp: Move to...
16424 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16425
164262016-02-24 Gary Benson <gbenson@redhat.com>
16427
16428 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16429 message on attach.
16430
164312016-02-23 Doug Evans <dje@google.com>
16432
16433 * gdb.base/skip.c (test_skip): New function.
16434 (end_test_skip_file_and_function): New function.
16435 (test_skip_file_and_function): New function.
16436 * gdb.base/skip1.c (test_skip): New function.
16437 (skip1_test_skip_file_and_function): New function.
16438 * gdb.base/skip.exp: Add tests for new skip options.
16439 * gdb.base/skip-solib.exp: Update expected output.
16440 * gdb.perf/skip-command.cc: New file.
16441 * gdb.perf/skip-command.exp: New file.
16442 * gdb.perf/skip-command.py: New file.
16443
164442016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16445
16446 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16447 info registers pattern.
16448
164492016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16450
16451 * lib/future.exp: Add D support.
16452 (gdb_find_gdc): New proc.
16453 (gdb_default_target_compile): Add D support.
16454
164552016-02-18 Wei-cheng Wang <cole945@gmail.com>
16456
16457 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16458 user+system time.
16459 (trace_speed_test): Determine the iteration count for a time
16460 between 15..30 seconds.
16461
164622016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16463
16464 * gdb.arch/i386-mpx-sigsegv.c: New file.
16465 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16466 * gdb.arch/i386-mpx-simple_segv.c: New file.
16467 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16468
164692016-02-18 Yao Qi <yao.qi@linaro.org>
16470
16471 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16472 Don't call setup_kfail.
16473
164742016-02-18 Yao Qi <yao.qi@linaro.org>
16475
16476 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16477 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16478
164792016-02-16 Doug Evans <dje@google.com>
16480
16481 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16482 * gdb.base/skip1.c: Ditto.
16483 * gdb.base/skip.exp: Whitespace cleanup.
16484
164852016-02-16 Don Breazeal <donb@codesourcery.com>
16486
16487 PR remote/19496
16488 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16489 Remove kfail for PR remote/19496.
16490
164912016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16492
16493 * lib/gdb.exp (standard_temp_file): Return a path specific to
16494 the runtest invocation.
16495
164962016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16497
16498 * gdb.trace/save-trace.exp: Change relative path to be in the
16499 standard output directory.
16500
165012016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16502
16503 * gdb.arch/i386-prologue.c: Add missing prototypes.
16504
165052016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16506
16507 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16508 * gdb.arch/i386-prologue.exp: Likewise.
16509 * gdb.arch/i386-size.exp: Likewise.
16510
165112016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16512
16513 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16514 define object file path.
16515 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16516 file path.
16517 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16518 standard_output_file to define binfile.
16519
165202016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16521
16522 Fix compatibility with recent gfortran-5.3.1.
16523 * gdb.fortran/vla-history.exp (print vla1 allocated)
16524 (print vla2 allocated, print $2, print $3): Remove
16525 (print $4): Rename to ...
16526 (print $2): ... here.
16527 (print $9): Rename to ...
16528 (print $5): ... here.
16529 (print $10): Rename to ...
16530 (print $6): ... here.
16531 * gdb.fortran/vla.f90: Add pvla initialization.
16532
165332016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16534
16535 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16536 New test.
16537 * gdb.fortran/vla-value-sub.exp: Likewise.
16538
165392016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16540
16541 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16542
165432016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16544
16545 * i386-biarch-core.exp: Define corefile using
16546 standard_output_file.
16547
165482016-02-12 Yao Qi <yao.qi@linaro.org>
16549
16550 * gdb.arch/arm-single-step-kernel-helper.c: New.
16551 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16552
165532016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16554
16555 * gdb.btrace/tailcall-only.exp: New.
16556 * gdb.btrace/tailcall-only.c: New.
16557 * gdb.btrace/x86_64-tailcall-only.S: New.
16558 * gdb.btrace/i686-tailcall-only.S: New.
16559
165602016-02-11 Pedro Alves <palves@redhat.com>
16561
16562 * README (Parallel testing): Add missing double quotes.
16563
165642016-02-11 Pedro Alves <palves@redhat.com>
16565
16566 * README (Parallel testing): New section.
16567 (GDB_PARALLEL): Rewrite.
16568 (FORCE_PARALLEL): Document.
16569
165702016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16571
16572 * gdb.trace/tfile-avx.c: New test.
16573 * gdb.trace/tfile-avx.exp: New test.
16574
165752016-02-09 Keith Seitz <keiths@redhat.com>
16576
16577 PR breakpoints/19546
16578 * gdb.base/infcall-exec.c: New file.
16579 * gdb.base/infcall-exec2.c: New file.
16580 * gdb.base/infcall-exec.exp: New file.
16581
165822016-02-09 Keith Seitz <keiths@redhat.com>
16583
16584 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16585 (toplevel): Call test_bkpt_address.
16586
165872016-02-09 Keith Seitz <keiths@redhat.com>
16588
16589 PR python/19506
16590 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16591 (toplevel): Call test_bkpt_address.
16592
165932016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16594
16595 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16596 to AC_OUTPUT.
16597 * configure: Regenerate.
16598
165992016-02-09 Pedro Alves <palves@redhat.com>
16600
16601 PR breakpoints/19548
16602 * gdb.base/execl-update-breakpoints.c (some_function): New
16603 function.
16604 (main): Call it.
16605 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16606 Tighten expected GDB output.
16607
166082016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16609
16610 * Makefile.in (ALL_SUBDIRS): Remove.
16611 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16612 (distclean maintainer-clean realclean): Likewise.
16613 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16614 * configure: Regenerate.
16615 * gdb.ada/Makefile.in: Delete.
16616 * gdb.arch/Makefile.in: Likewise.
16617 * gdb.asm/Makefile.in: Likewise.
16618 * gdb.base/Makefile.in: Likewise.
16619 * gdb.btrace/Makefile.in: Likewise.
16620 * gdb.cell/Makefile.in: Likewise.
16621 * gdb.compile/Makefile.in: Likewise.
16622 * gdb.cp/Makefile.in: Likewise.
16623 * gdb.disasm/Makefile.in: Likewise.
16624 * gdb.dlang/Makefile.in: Likewise.
16625 * gdb.dwarf2/Makefile.in: Likewise.
16626 * gdb.fortran/Makefile.in: Likewise.
16627 * gdb.gdb/Makefile.in: Likewise.
16628 * gdb.go/Makefile.in: Likewise.
16629 * gdb.guile/Makefile.in: Likewise.
16630 * gdb.java/Makefile.in: Likewise.
16631 * gdb.linespec/Makefile.in: Likewise.
16632 * gdb.mi/Makefile.in: Likewise.
16633 * gdb.modula2/Makefile.in: Likewise.
16634 * gdb.multi/Makefile.in: Likewise.
16635 * gdb.objc/Makefile.in: Likewise.
16636 * gdb.opencl/Makefile.in: Likewise.
16637 * gdb.opt/Makefile.in: Likewise.
16638 * gdb.pascal/Makefile.in: Likewise.
16639 * gdb.perf/Makefile.in: Likewise.
16640 * gdb.python/Makefile.in: Likewise.
16641 * gdb.reverse/Makefile.in: Likewise.
16642 * gdb.server/Makefile.in: Likewise.
16643 * gdb.stabs/Makefile.in: Likewise.
16644 * gdb.threads/Makefile.in: Likewise.
16645 * gdb.trace/Makefile.in: Likewise.
16646 * gdb.xml/Makefile.in: Likewise.
16647 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16648 GDB_PARALLEL.
16649 (standard_output_file): Remove check for GDB_PARALLEL, always
16650 return path in outputs/$subdir/$testname.
16651
166522016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16653
16654 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16655 (site.exp): Assign abs_srcdir to tcl's srcdir.
16656
166572016-02-04 Yao Qi <yao.qi@linaro.org>
16658
16659 * gdb.base/foll-exec-mode.c: Include limits.h.
16660 (main): Add parameters argc and argv. Get directory from
16661 argv[0].
16662 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16663 compilation.
16664 * gdb.base/foll-exec.c: Include limits.h.
16665 (main): Add parameters argc and argv.
16666 Get directory from argv[0].
16667 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16668 Adjust tests on the number of lines as source code changed.
16669 * gdb.base/foll-vfork-exit.c: Include limits.h.
16670 (main): Add one line of statement before vfork.
16671 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16672 (main): Add parameters argc and argv. Get directory from
16673 argv[0].
16674 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16675 (setup_gdb): Set tbreak to skip some source lines.
16676 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16677 (main): Add parameters argc and argv. Get directory from
16678 argv[0].
16679 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16680 compilation.
16681 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16682 (main): Add parameters argc and argv. Get directory from
16683 argv[0].
16684 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16685 compilation.
16686
166872016-02-01 Doug Evans <dje@google.com>
16688
16689 * gdb.base/skip.exp: Clean up multiple references to same test name.
16690
166912016-02-01 Pedro Alves <palves@redhat.com>
16692
16693 PR remote/19496
16694 * gdb.threads/forking-threads-plus-breakpoint.exp
16695 (displaced_stepping_supported): New global.
16696 (probe_displaced_stepping_support): New procedure.
16697 (do_test): Add 'displaced' parameter, and use it.
16698 (top level): Check for displaced stepping support. Add displaced
16699 stepping on/off testing axis.
16700
167012016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16702
16703 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16704 pointer. Don't perform further tests on the unassociated pointer
16705 if the first test fails.
16706
167072016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16708
16709 * gdb.base/max-value-size.c: New file.
16710 * gdb.base/max-value-size.exp: New file.
16711 * gdb.base/huge.exp: Disable max-value-size for this test.
16712
167132016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16714
16715 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16716
167172016-01-28 Yao Qi <yao.qi@linaro.org>
16718
16719 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16720
167212016-01-25 Pedro Alves <palves@redhat.com>
16722
16723 PR threads/19461
16724 * gdb.base/fork-running-state.c: New file.
16725 * gdb.base/fork-running-state.exp: New file.
16726
167272016-01-25 Pedro Alves <palves@redhat.com>
16728
16729 PR gdb/19494
16730 * gdb.base/catch-fork-kill.c: New file.
16731 * gdb.base/catch-fork-kill.exp: New file.
16732
167332016-01-25 Pedro Alves <palves@redhat.com>
16734
16735 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16736 Delete, moved to lib/gdb.exp.
16737 * gdb.threads/forking-threads-plus-breakpoint.exp
16738 (foreach_with_prefix): Likewise.
16739 * gdb.threads/process-dies-while-handling-bp.exp
16740 (foreach_with_prefix): Likewise.
16741 * lib/gdb.exp (foreach_with_prefix): New procedure.
16742
167432016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16744
16745 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16746 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16747
167482016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16749
16750 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16751 endian targets.
16752
167532016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16754 Pedro Alves <palves@redhat.com>
16755
16756 Fix testsuite compatibility with Guile.
16757 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16758 number.
16759
167602016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16761
16762 Fix testsuite compatibility with Guile.
16763 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16764 (thread 1): New test for backtrace through signal handler.
16765
167662016-01-22 Yao Qi <yao.qi@linaro.org>
16767
16768 PR testsuite/19491
16769 * gdb.base/multi-forks.c: Include
16770 ../lib/unbuffer_output.c
16771 (main): Call gdb_unbuffer_output.
16772
167732016-01-21 Doug Evans <dje@google.com>
16774
16775 * lib/ada.exp (gdb_compile_ada): Fix typo.
16776
167772016-01-21 Joel Brobecker <brobecker@adacore.com>
16778
16779 * gdb.base/break-fun-addr.exp: New file.
16780 * gdb.base/break-fun-addr1.c: New file.
16781 * gdb.base/break-fun-addr2.c: New file.
16782
167832016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16784
16785 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16786 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16787 enum flag values.
16788
167892016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16790
16791 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16792 when GDB can not set the vector return value. Add more comments
16793 for clarification.
16794
167952016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16796
16797 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16798 command.
16799
168002016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16801
16802 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16803
168042016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16805
16806 * Makefile.in (check-single): Pass --status to runtest.
16807 (check/%.exp): Likewise.
16808
168092016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16810
16811 * Makefile.in (check-parallel): Propagate return code from make
16812 do-check-parallel.
16813
168142016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16815
16816 * gdb.trace/ftrace.exp: Fix expected message on continue.
16817 * gdb.trace/pending.exp: Fix expected message on continue.
16818 * gdb.trace/trace-break.exp: Fix expected message on continue.
16819
168202016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16821
16822 * lib/gdb.exp (gdb_test): Remove unused global references.
16823
168242016-01-18 Pedro Alves <palves@redhat.com>
16825
16826 * gdb.base/async-shell.exp: Adjust expected output.
16827 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16828 * gdb.base/siginfo-thread.exp: Adjust expected output.
16829 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16830 * gdb.java/jnpe.exp: Adjust expected output.
16831 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16832 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16833 * gdb.threads/leader-exit.exp: Adjust expected output.
16834 * gdb.threads/manythreads.exp: Adjust expected output.
16835 * gdb.threads/pthreads.exp: Adjust expected output.
16836 * gdb.threads/schedlock.exp: Adjust expected output.
16837 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16838 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16839 expected output.
16840 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16841 output.
16842 * gdb.threads/sigthread.exp: Adjust expected output.
16843 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16844
168452016-01-18 Yao Qi <yao.qi@linaro.org>
16846
16847 * gdb.guile/scm-section-script.c: Replace @progbits with
16848 %progbits.
16849 * gdb.python/py-section-script.c: Likewise.
16850
168512016-01-15 Pedro Alves <palves@redhat.com>
16852
16853 * gdb.multi/tids.exp: Test star wildcard ranges.
16854
168552016-01-15 Pedro Alves <palves@redhat.com>
16856
16857 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16858 command from "thread apply" invocation.
16859 (thr_apply_info_thr_invalid): Default the expected output to the
16860 input tid list.
16861 (top level): Add tests that use convenience variables. Add tests
16862 for "thread apply" with a valid TID list, but missing the command.
16863
168642016-01-13 Pedro Alves <palves@redhat.com>
16865
16866 * gdb.base/default.exp: Expect $_gthread as well.
16867 * gdb.multi/tids.exp: Test $_gthread.
16868 * gdb.threads/thread-specific.exp: Test $_gthread.
16869
168702016-01-13 Pedro Alves <palves@redhat.com>
16871
16872 * gdb.multi/tids.exp: Test "info threads -gid".
16873
168742016-01-13 Pedro Alves <palves@redhat.com>
16875
16876 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16877 Breakpoint.thread.
16878 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16879
168802016-01-07 Pedro Alves <palves@redhat.com>
16881
16882 * gdb.base/break.exp: Adjust to output changes.
16883 * gdb.base/hbreak2.exp: Likewise.
16884 * gdb.base/sepdebug.exp: Likewise.
16885 * gdb.base/watch_thread_num.exp: Likewise.
16886 * gdb.linespec/keywords.exp: Likewise.
16887 * gdb.multi/info-threads.exp: Likewise.
16888 * gdb.threads/thread-find.exp: Likewise.
16889 * gdb.multi/tids.c: New file.
16890 * gdb.multi/tids.exp: New file.
16891
168922016-01-13 Pedro Alves <palves@redhat.com>
16893
16894 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16895
168962016-01-13 Pedro Alves <palves@redhat.com>
16897
16898 * gdb.base/default.exp: Expect $_inferior as well.
16899 * gdb.multi/base.exp: Test $_inferior.
16900
169012016-01-13 Pedro Alves <palves@redhat.com>
16902
16903 PR breakpoints/19388
16904 * gdb.base/catch-signal-siginfo-cond.c: New file.
16905 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16906
169072016-01-12 Josh Stone <jistone@redhat.com>
16908 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16909
16910 * gdb.base/catch-syscall.c (do_execve): New variable.
16911 (main): Conditionally trigger an execve.
16912 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16913 (test_catch_syscall_execve): New, check entry/return across execve.
16914 (do_syscall_tests): Call test_catch_syscall_execve.
16915
169162016-01-12 Pedro Alves <palves@redhat.com>
16917
16918 * gdb.base/random-signal.exp (do_test): New procedure, with body
16919 of testcase moved in.
16920
169212016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16922 Pedro Alves <palves@redhat.com>
16923
16924 * gdb.base/funcargs.exp (finish from indirectly called function):
16925 Reintroduce the case for 'First'.
16926
169272016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16928 Pedro Alves <palves@redhat.com>
16929
16930 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16931 (tcatch_vfork_then_child_follow_exec)
16932 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16933 identification.
16934
169352016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16936
16937 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16938 and repeats to unlimited.
16939 * gdb.python/py-value.exp: Likewise.
16940 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16941 and repeats to unlimited.
16942
169432016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16944
16945 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16946 and reordering the functions.
16947 * gdb.multi/hangout.c: Likewise.
16948 * gdb.multi/hello.c: Likewise.
16949
169502016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16951
16952 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16953 absolute.
16954 (SingleStatisticTestResult.report): Use dict.keys instead of
16955 dict.iterkeys.
16956
169572016-01-06 Pedro Alves <palves@redhat.com>
16958
16959 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16960
169612016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16962
16963 * gdb.btrace/dlopen.exp: New.
16964 * gdb.btrace/dlopen.c: New.
16965 * gdb.btrace/dlopen-dso.c: New.
16966
169672015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16968
16969 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16970 PATTERN argument is optional.
16971
169722015-12-24 Joel Brobecker <brobecker@adacore.com>
16973
16974 * lib/ada.exp (target_compile_ada_from_dir): New function.
16975 (gdb_compile_ada): Reimplement avoiding the use of project files.
16976 * gdb.ada/gnat_ada.gpr: Delete.
16977 * gdb.ada/cond_lang.exp: Adjust test to make path before
16978 filename optional.
16979 * gdb.ada/small_reg_param.exp: Likewise.
16980
169812015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16982
16983 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16984
169852015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16986
16987 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16988 case.
16989
169902015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16991
16992 * gdb.base/break.exp: Remove dead code.
16993 * gdb.base/sepdebug.exp: Likewise.
16994
169952015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16996
16997 * gdb.asm/asm-source.exp: Remove HP-UX references.
16998 * gdb.base/annota1.exp: Likewise.
16999 * gdb.base/annota3.exp: Likewise.
17000 * gdb.base/attach.exp: Likewise.
17001 * gdb.base/bigcore.exp: Likewise.
17002 * gdb.base/break.exp: Likewise.
17003 * gdb.base/call-ar-st.exp: Likewise.
17004 * gdb.base/callfuncs.exp: Likewise.
17005 * gdb.base/catch-fork-static.exp: Likewise.
17006 * gdb.base/display.exp: Likewise.
17007 * gdb.base/foll-exec-mode.exp: Likewise.
17008 * gdb.base/foll-exec.exp: Likewise.
17009 * gdb.base/foll-fork.exp: Likewise.
17010 * gdb.base/foll-vfork.exp: Likewise.
17011 * gdb.base/funcargs.exp: Likewise.
17012 * gdb.base/hbreak2.exp: Likewise.
17013 * gdb.base/inferior-died.exp: Likewise.
17014 * gdb.base/interrupt.exp: Likewise.
17015 * gdb.base/multi-forks.exp: Likewise.
17016 * gdb.base/nodebug.exp: Likewise.
17017 * gdb.base/sepdebug.exp: Likewise.
17018 * gdb.base/solib1.c: Likewise.
17019 * gdb.base/step-test.exp: Likewise.
17020 * gdb.mi/non-stop.c: Likewise.
17021 * gdb.mi/pthreads.c: Likewise.
17022 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17023 * gdb.threads/pthreads.c: Likewise.
17024 * gdb.threads/staticthreads.exp: Likewise.
17025 * lib/future.exp: Likewise.
17026 * lib/gdb.exp: Likewise.
17027 * gdb.base/so-indr-cl.c: Remove.
17028 * gdb.base/so-indr-cl.exp: Likewise.
17029 * gdb.base/solib.c: Likewise.
17030 * gdb.base/solib.exp: Likewise.
17031 * gdb.base/solib2.c: Likewise.
17032
170332015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17034
17035 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17036 * gdb.base/call-ar-st.exp: Likewise.
17037 * gdb.base/callfuncs.exp: Likewise.
17038 * gdb.base/condbreak.exp: Likewise.
17039 * gdb.base/constvars.exp: Likewise.
17040 * gdb.base/hbreak2.exp: Likewise.
17041 * gdb.base/langs.exp: Likewise.
17042 * gdb.base/list.exp: Likewise.
17043 * gdb.base/long_long.exp: Likewise.
17044 * gdb.base/ptype.exp: Likewise.
17045 * gdb.base/scope.exp: Likewise.
17046 * gdb.base/signals.exp: Likewise.
17047 * gdb.base/so-impl-ld.exp: Likewise.
17048 * gdb.base/varargs.exp: Likewise.
17049 * gdb.base/volatile.exp: Likewise.
17050 * gdb.base/whatis.exp: Likewise.
17051 * gdb.cp/cplusfuncs.exp: Likewise.
17052 * gdb.cp/inherit.exp: Likewise.
17053 * gdb.cp/local.exp: Likewise.
17054 * gdb.cp/member-ptr.exp: Likewise.
17055 * gdb.cp/method.exp: Likewise.
17056 * gdb.cp/overload.exp: Likewise.
17057 * gdb.cp/templates.exp: Likewise.
17058 * gdb.stabs/weird.exp: Likewise.
17059 * lib/compiler.c: Likewise.
17060 * lib/compiler.cc: Likewise.
17061 * lib/cp-support.exp: Likewise.
17062 * lib/gdb.exp: Likewise.
17063
170642015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17065
17066 * configure.ac: Remove HP-UX case.
17067 * configure: Regenerate.
17068
170692015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17070
17071 * lib/gdb.exp (gdb_compile): Add function doc.
17072
170732015-12-17 Pedro Alves <palves@redhat.com>
17074
17075 PR threads/19354
17076 * gdb.multi/info-threads.exp: New file.
17077
170782015-12-15 Yao Qi <yao.qi@linaro.org>
17079
17080 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17081 is aarch64*-*-*.
17082
170832015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17084
17085 * gdb.base/history-duplicates.exp: Skip if no readline support.
17086
170872015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17088
17089 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17090
170912015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17092
17093 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17094
170952015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17096
17097 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17098 ctrl-C if nointerrupts target property is set.
17099 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17100 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17101 * gdb.base/paginate-bg-execution.exp: Likewise.
17102 * gdb.base/paginate-execution-startup.exp: Likewise.
17103 * gdb.base/random-signal.exp: Likewise.
17104 * gdb.base/range-stepping.exp: Likewise.
17105 * gdb.cp/annota2.exp: Likewise.
17106 * gdb.cp/annota3.exp: Likewise.
17107 * gdb.gdb/selftest.exp: Likewise.
17108 * gdb.threads/continue-pending-status.exp: Likewise.
17109 * gdb.threads/leader-exit.exp: Likewise.
17110 * gdb.threads/manythreads.exp: Likewise.
17111 * gdb.threads/pthreads.exp: Likewise.
17112 * gdb.threads/schedlock.exp: Likewise.
17113 * gdb.threads/sigthread.exp: Likewise.
17114
171152015-12-11 Don Breazeal <donb@codesourcery.com>
17116
17117 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17118 remote.
17119 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17120 * gdb.base/foll-exec.exp (main): Enable for target remote.
17121 * gdb.base/foll-fork.exp (main): Likewise.
17122 * gdb.base/foll-vfork.exp (main): Likewise.
17123 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17124 (proc continue_to_exit_bp_loc): Use clean_restart.
17125 * gdb.base/pie-execl.exp (main): Disable for target remote.
17126 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17127 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17128 * gdb.threads/execl.exp (main): Likewise.
17129 * gdb.threads/fork-child-threads.exp (main): Likewise.
17130 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17131 remote.
17132 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17133 remote.
17134 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17135 pid.tid style ptids, instead of just tid.
17136 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17137 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17138 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17139 ptids, instead of just tid.
17140
171412015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17142
17143 * gdb.base/list.exp (test_list_forward): Add end of file error
17144 test.
17145 (test_repeat_list_command): Add end of file error test.
17146 (test_list_backwards): Add beginning of file error test.
17147
171482015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17149
17150 * gdb.base/list.exp (test_list_invalid_args): New function,
17151 defined, and called.
17152
171532015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17154
17155 * gdb.base/list.exp (test_list): Make test names unique.
17156
171572015-12-11 Yao Qi <yao.qi@linaro.org>
17158
17159 * gdb.base/coremaker2.c: Remove.
17160
171612015-12-10 Pedro Alves <palves@redhat.com>
17162
17163 * gdb.multi/base.exp: Remove stale "spaces" references.
17164
171652015-12-10 Pedro Alves <palves@redhat.com>
17166
17167 * gdb.multi/base.exp: Don't use nowarnings.
17168 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17169 * gdb.multi/hangout.c: Include stdio.h.
17170 * gdb.multi/hello.c: Include stdlib.h.
17171 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17172 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17173 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17174
171752015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17176
17177 * gdb.dwarf2/dw2-ranges-base.c: New file.
17178 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17179 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17180 support additional line table, and debug ranges generation.
17181 (Dwarf::ranges): New function, generate .debug_ranges.
17182 (Dwarf::lines): Support generating simple line table programs.
17183 (Dwarf::assemble): Initialise new namespace variables.
17184
171852015-12-09 Kevin Buettner <kevinb@redhat.com>
17186
17187 * gdb.base/async.exp (proc test_background): Add case for
17188 asynchronous execution not supported.
17189
171902015-12-09 Luis Machado <lgustavo@codesourcery.com>
17191
17192 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17193 format and change test names to make them unique.
17194
171952015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17196 Pedro Alves <pedro@redhat.com>
17197
17198 PR gdb/18702
17199 Add checking of floatformats setup on x86_64 hosts.
17200 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17201 (smallval, bigval): New labels/constants.
17202 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17203 float" after loading bigval and smallval.
17204
172052015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17206
17207 * gdb.ada/fun_overload_menu.exp: New testcase.
17208 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17209
172102015-12-04 Josh Stone <jistone@redhat.com>
17211
17212 * gdb.base/catch-fork-static.exp: New.
17213
172142015-12-03 Yao Qi <yao.qi@linaro.org>
17215
17216 * gdb.base/sizeof.c: Don't include stdio.h and
17217 ../lib/unbuffer_output.c.
17218 (main): New variable 'size' and 'value'. Remove printf and
17219 gdb_unbuffer_output. Assign return value to size and value.
17220 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17221 at the beginning.
17222 (check_sizeof): Check the result by printing variable 'size'.
17223 (check_valueof): Check the result by printing variable 'value'.
17224
172252015-12-01 Yao Qi <yao.qi@linaro.org>
17226
17227 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17228 for aarch64*-*-linux* target.
17229
172302015-11-30 Pedro Alves <palves@redhat.com>
17231
17232 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17233
172342015-11-30 Pedro Alves <palves@redhat.com>
17235
17236 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17237 Handle non-stop mode vCont replies.
17238
172392015-11-30 Pedro Alves <palves@redhat.com>
17240
17241 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17242 prepare_for_testing. Start gdb with "set non-stop on" appended to
17243 GDBFLAGS. Lax expected stop output.
17244
172452015-11-27 Yao Qi <yao.qi@linaro.org>
17246
17247 * gdb.arch/arm-neon.exp: New.
17248 * gdb.arch/arm-neon.c: New.
17249
172502015-11-27 Yao Qi <yao.qi@linaro.org>
17251
17252 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17253
172542015-11-27 Yao Qi <yao.qi@linaro.org>
17255
17256 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17257 frames-invalid annotation.
17258
172592015-11-27 Yao Qi <yao.qi@linaro.org>
17260
17261 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17262
172632015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17264
17265 * gdb.threads/names.exp: New file.
17266 * gdb.threads/names.c: New file.
17267 * README: Mention gdb,no_thread_names.
17268
172692015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17270
17271 PR 19297
17272 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17273 support" error.
17274
172752015-11-24 Pedro Alves <palves@redhat.com>
17276
17277 PR 17539
17278 * gdb.base/display.exp: Expect displays to be sorted in ascending
17279 order. Use multi_line.
17280 * gdb.base/solib-display.exp: Likewise.
17281
172822015-11-24 Pedro Alves <palves@redhat.com>
17283
17284 PR 17539
17285 * gdb.base/display.exp: Expect displays to be sorted in ascending
17286 order. Use multi_line.
17287 * gdb.base/solib-display.exp: Likewise.
17288
172892015-11-24 Pedro Alves <palves@redhat.com>
17290
17291 PR 17539
17292 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17293 threads in ascending order.
17294 * gdb.base/foll-fork.exp: Likewise.
17295 * gdb.base/foll-vfork.exp: Likewise.
17296 * gdb.base/multi-forks.exp: Likewise.
17297 * gdb.mi/mi-nonstop.exp: Likewise.
17298 * gdb.mi/mi-nsintrall.exp: Likewise.
17299 * gdb.multi/base.exp: Likewise.
17300 * gdb.multi/multi-arch.exp: Likewise.
17301 * gdb.python/py-inferior.exp: Likewise.
17302 * gdb.threads/break-while-running.exp: Likewise.
17303 * gdb.threads/execl.exp: Likewise.
17304 * gdb.threads/gcore-thread.exp: Likewise.
17305 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17306 * gdb.threads/kill.exp: Likewise.
17307 * gdb.threads/linux-dp.exp: Likewise.
17308 * gdb.threads/multiple-step-overs.exp: Likewise.
17309 * gdb.threads/next-bp-other-thread.exp: Likewise.
17310 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17311 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17312 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17313 * gdb.threads/thread-find.exp: Likewise.
17314 * gdb.threads/tls.exp: Likewise.
17315 * lib/mi-support.exp (mi_reverse_list): Delete.
17316 (mi_check_thread_states): No longer reverse list.
17317
173182015-11-24 Pedro Alves <palves@redhat.com>
17319
17320 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17321 use lowercase.
17322
173232015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17324
17325 * gdb.trace/actions.c: Include trace-common.h.
17326 (main): Add a location for a fast tracepoint.
17327 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17328 the normal tracepoints.
17329 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17330
173312015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17332
17333 * save-trace.exp: Factor out code to these...
17334 (gdb_save_tracepoints): New.
17335 (gdb_load_tracepoints): New.
17336 (do_save_load_test): New.
17337
173382015-11-23 Kevin Buettner <kevinb@redhat.com>
17339
17340 * gdb.base/asmlabel.exp: New test.
17341 * gdb.base/asmlabel.c: New test case.
17342
173432015-11-23 Joel Brobecker <brobecker@adacore.com>
17344
17345 * gdb.base/wrong_frame_bt_full-main.c: New file.
17346 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17347 * gdb.base/wrong_frame_bt_full.exp: New file.
17348
173492015-11-23 Joel Brobecker <brobecker@adacore.com>
17350
17351 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17352
173532015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17354
17355 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
17356 pstate register when comparing registers values in
17357 sparc64-*-linux-gnu targets to avoid spurious differences.
17358
173592015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17360
17361 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
17362
173632015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17364
17365 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17366 as type argument to gdb_compile.
17367 * gdb.base/nested-subp2.exp: Likewise.
17368 * gdb.base/nested-subp3.exp: Likewise.
17369
173702015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17371
17372 * lib/dwarf.exp (_note): Fix left shift of negative value.
17373 * gdb.trace/trace-condition.exp: Likewise.
17374
173752015-11-13 Yao Qi <yao.qi@linaro.org>
17376
17377 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17378 comments about d10v.
17379 (test_scalar_returns): Likewise.
17380 * gdb.base/d10v.ld: Remove.
17381 * gdb.base/overlays.exp: Remove the target triplet checking for
17382 d10v-*-*.
17383 * gdb.base/structs.exp (test_struct_returns): Remove the
17384 comments about d10v.
17385 (test_struct_calls): Likewise.
17386
173872015-11-13 Yao Qi <yao.qi@linaro.org>
17388
17389 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17390 * gdb.base/gnu_vector.c: Don't include stdio.h.
17391 (main): Don't print res and call add_some_intvecs.
17392
173932015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17394
17395 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17396 macro.
17397 (func5): Removed.
17398 (func4): Use FAST_TRACEPOINT_LABEL.
17399 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17400 macro.
17401 (func): Removed.
17402 (thread_function): Use FAST_TRACEPOINT_LABEL.
17403 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17404 (func): Remove.
17405 (marker): Use FAST_TRACEPOINT_LABEL.
17406 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17407 (pendfunc1): Remove.
17408 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17409 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17410 (foo): Remove.
17411 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17412 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17413 macro.
17414 (func): Remove.
17415 (marker): Use FAST_TRACEPOINT_LABEL.
17416 * gdb.trace/trace-common.h: New header.
17417 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17418 macro.
17419 (func): Remove.
17420 (marker): Use FAST_TRACEPOINT_LABEL.
17421 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17422 (func): Remove.
17423 (thread_function): Use FAST_TRACEPOINT_LABEL.
17424
174252015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17426
17427 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17428 in front.
17429 * gdb.trace/change-loc.exp: Use global pcreg definition.
17430 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17431 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17432 in front.
17433 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17434 * gdb.trace/pending.exp: Likewise.
17435 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17436 * gdb.trace/trace-break.exp: Likewise.
17437 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17438 in front.
17439 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17440 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17441 in front.
17442 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17443
174442015-11-09 Joel Brobecker <brobecker@adacore.com>
17445
17446 * gdb.ada/fin_fun_out: New testcase.
17447
174482015-11-07 Kevin Buettner <kevinb@redhat.com>
17449
17450 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17451 value associated with DW_AT_byte_size.
17452 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17453 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17454 DW_AT_upper_bound.
17455
174562015-11-07 Kevin Buettner <kevinb@redhat.com>
17457
17458 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17459 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17460 version.
17461 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17462 gdb.dwarf2/dw2-canonicalize-type.exp,
17463 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17464 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17465 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17466 provided by gdb_target_symbol_prefix_flags_asm.
17467 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17468 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17469 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17470 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17471 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17472 macros where needed). Use this macro for symbols which require
17473 the prefix provided by SYMBOL_PREFIX.
17474
174752015-11-05 Kevin Buettner <kevinb@redhat.com>
17476
17477 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17478 New procs.
17479 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17480 representing expressions, of more than one list element.
17481 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17482 to prepend linker symbol prefix to f.
17483 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17484 table_1 and table_2.
17485 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17486 Likewise, for f and g.
17487 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17488 for ptr.
17489 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17490 for main.
17491 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17492 table_1_ptr and table_2_ptr.
17493
174942015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17495 Joel Brobecker <brobecker@adacore.com>
17496
17497 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17498
174992015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17500
17501 * gdb.reverse/s390-mvcle.c: New test.
17502 * gdb.reverse/s390-mvcle.exp: New file.
17503 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17504
175052015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17506
17507 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17508
175092015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17510
17511 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17512 reaching marker2.
17513 * gdb.reverse/getresuid-reverse.exp: Likewise.
17514 * gdb.reverse/pipe-reverse.exp: Likewise.
17515 * gdb.reverse/readv-reverse.exp: Likewise.
17516 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17517 * gdb.reverse/time-reverse.exp: Likewise.
17518 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17519
175202015-10-30 Yao Qi <yao.qi@linaro.org>
17521
17522 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17523 (empty_cycle): Remove.
17524 (main): Don't call empty_cycle. Don't use watch_count_done.
17525 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17526 empty_cycle. Rewrite the code counting HW watchpoints.
17527
175282015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17529
17530 * gdb.reverse/fstatat-reverse.c: New test.
17531 * gdb.reverse/fstatat-reverse.exp: New file.
17532 * gdb.reverse/getresuid-reverse.c: New test.
17533 * gdb.reverse/getresuid-reverse.exp: New file.
17534 * gdb.reverse/pipe-reverse.c: New test.
17535 * gdb.reverse/pipe-reverse.exp: New file.
17536 * gdb.reverse/readv-reverse.c: New test.
17537 * gdb.reverse/readv-reverse.exp: New file.
17538 * gdb.reverse/recvmsg-reverse.c: New test.
17539 * gdb.reverse/recvmsg-reverse.exp: New file.
17540 * gdb.reverse/time-reverse.c: New test.
17541 * gdb.reverse/time-reverse.exp: New file.
17542 * gdb.reverse/waitpid-reverse.c: New test.
17543 * gdb.reverse/waitpid-reverse.exp: New file.
17544
175452015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17546
17547 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17548
175492015-10-26 Doug Evans <dje@google.com>
17550
17551 PR symtab/17391
17552 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17553 * gdb.dwarf2/bad-regnum.c: New file.
17554 * gdb.dwarf2/bad-regnum.exp: New file.
17555
175562015-10-26 Doug Evans <dje@google.com>
17557
17558 PR python/18938
17559 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17560 file.
17561
175622015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17563
17564 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17565 for a change by "Mention language in compile error message".
17566
175672015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17568
17569 PR python/18073
17570 * gdb.python/py-type.c (C::a_method): New.
17571 (C::a_const_method): New.
17572 (C::a_static_method): New.
17573 (a_function): New.
17574 * gdb.python/py-type.exp (test_fields): Test getting fields
17575 from function and method.
17576
175772015-10-21 Keven Boell <keven.boell@intel.com>
17578
17579 * gdb.fortran/vla-alloc-assoc.exp: New file.
17580 * gdb.fortran/vla-datatypes.exp: New file.
17581 * gdb.fortran/vla-datatypes.f90: New file.
17582 * gdb.fortran/vla-history.exp: New file.
17583 * gdb.fortran/vla-ptype-sub.exp: New file.
17584 * gdb.fortran/vla-ptype.exp: New file.
17585 * gdb.fortran/vla-sizeof.exp: New file.
17586 * gdb.fortran/vla-sub.f90: New file.
17587 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17588 * gdb.fortran/vla-value-sub-finish.exp: New file.
17589 * gdb.fortran/vla-value-sub.exp: New file.
17590 * gdb.fortran/vla-value.exp: New file.
17591 * gdb.fortran/vla-ptr-info.exp: New file.
17592 * gdb.mi/mi-vla-fortran.exp: New file.
17593 * gdb.mi/vla.f90: New file.
17594
175952015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17596
17597 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17598 of hardwired timeout value.
17599
176002015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17601 Pedro Alves <palves@redhat.com>
17602
17603 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17604 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17605
176062015-10-19 Josh Stone <jistone@redhat.com>
17607
17608 * gdb.base/catch-syscall.c: Include <sched.h>.
17609 (unknown_syscall): New variable.
17610 (main): Trigger a vfork and an unknown syscall.
17611 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17612 (unknown_syscall_number): Likewise.
17613 (check_call_to_syscall): Accept an optional syscall pattern.
17614 (check_return_from_syscall): Likewise.
17615 (check_continue): Likewise.
17616 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17617 (test_catch_syscall_skipping_return): New test toggling off 'catch
17618 syscall' to step over the syscall return, then toggling back on.
17619 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17620 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17621 (do_syscall_tests): Call test_catch_syscall_without_args and
17622 test_catch_syscall_mid_vfork.
17623 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17624 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17625
176262015-10-19 Andrew Stubbs <ams@codesourcery.com>
17627
17628 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17629 print g_vE): Add new pass patterns.
17630 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17631 print various symbol names for vptr fields.
17632
176332015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17634
17635 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17636 results.
17637
176382015-10-12 Yao Qi <yao.qi@linaro.org>
17639
17640 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17641
176422015-10-12 Yao Qi <yao.qi@linaro.org>
17643
17644 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17645 is aarch64*-*-linux*.
17646
176472015-10-12 Yao Qi <yao.qi@linaro.org>
17648
17649 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17650 (can_relocate_bcond_true): ... it.
17651 (can_relocate_bcond_false): New function.
17652 (foo): Likewise.
17653 (can_relocate_bl): Likewise.
17654 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17655 can_relocate_bl.
17656
176572015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17658
17659 * gdb.base/nested-addr.c: New file.
17660 * gdb.base/nested-addr.exp: New testcase.
17661
176622015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17663
17664 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17665 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17666 its output. Ignore the output of "record goto begin" and instead
17667 check that GDB is replaying.
17668
176692015-10-09 Pedro Alves <palves@redhat.com>
17670
17671 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17672 (top level): Use it in the run with no args test.
17673
176742015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17675
17676 * gdb.dlang/properties.exp: New file.
17677
176782015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17679
17680 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17681 whether or not address 0x1000 is mapped on the target.
17682
176832015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17684
17685 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17686 build.
17687
176882015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17689
17690 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17691 instruction-history test.
17692
176932015-09-28 Doug Evans <dje@google.com>
17694
17695 * gdb.base/gcore.c (array_func): Add reference to static_array.
17696
176972015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17698
17699 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17700 source line.
17701
177022015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17703
17704 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17705 short or char as base type.
17706
177072015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17708
17709 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17710 to allow any size enum.
17711
177122015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17713
17714 * gdb.ada/array_ptr_renaming.exp: New testcase.
17715 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17716 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17717
177182015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17719
17720 * gdb.trace/ftrace-lock.c: New file.
17721 * gdb.trace/ftrace-lock.exp: New file.
17722
177232015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17724
17725 * gdb.arch/insn-reloc.c: New file.
17726 * gdb.arch/ftrace-insn-reloc.exp: New file.
17727
177282015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17729
17730 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17731 instruction.
17732 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17733 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17734 * gdb.trace/range-stepping.c: Likewise.
17735 * gdb.trace/trace-break.c: Likewise.
17736 * gdb.trace/trace-mt.c (thread_function): Likewise.
17737 * gdb.trace/ftrace.c (marker): Likewise.
17738 * gdb.trace/trace-condition.c (marker): Likewise.
17739 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17740 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17741 is_aarch64_target.
17742
177432015-09-18 Doug Evans <xdje42@gmail.com>
17744
17745 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17746 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17747
177482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17749
17750 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17751 the breakpoint.
17752
177532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17754
17755 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17756 the pending breakpoint. Remove timeout override for "Run till
17757 MI pending breakpoint on pendfunc3 on thread 2" test.
17758
177592015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17760
17761 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17762 filename pattern.
17763
177642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17765
17766 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17767 in breakpoint filename pattern.
17768
177692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17770
17771 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17772
177732015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17774
17775 * gdb.linespec/explicit.exp: Check for readline support for
17776 tab-completion tests. Fix obvious typo.
17777
177782015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17779
17780 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17781 and replay.
17782
177832015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17784
17785 * gdb.btrace/non-stop.c: New.
17786 * gdb.btrace/non-stop.exp: New.
17787
177882015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17789 Yao Qi <yao.qi@linaro.org>
17790
17791 * gdb.trace/trace-condition.c: New file.
17792 * gdb.trace/trace-condition.exp: New file.
17793
177942015-09-16 Wei-cheng Wang <cole945@gmail.com>
17795
17796 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17797 for testing bytecode compilation.
17798
177992015-09-16 Pedro Alves <palves@redhat.com>
17800 Sandra Loosemore <sandra@codesourcery.com>
17801
17802 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17803 (SECONDS): Redefine.
17804 (main): Call pthread_kill and alarm early.
17805 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17806 support.
17807 (test): If the target can't hardware step and doesn't support
17808 displaced stepping, increase the timeout.
17809
178102015-09-16 Pedro Alves <palves@redhat.com>
17811
17812 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17813 (enable_debug): New procedures.
17814 (test): Use them. Bail out if waiting for threads fails.
17815 (top level): Bail out if a test fails.
17816
178172015-09-16 Yao Qi <yao.qi@linaro.org>
17818
17819 * gdb.asm/asm-source.exp: Set asm-arch for
17820 aarch64*-*-* target.
17821 * gdb.asm/aarch64.inc: New file.
17822
178232015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17824
17825 * gdb.ada/array_of_variable_length.exp: New testcase.
17826 * gdb.ada/array_of_variable_length/foo.adb: New file.
17827 * gdb.ada/array_of_variable_length/pck.adb: New file.
17828 * gdb.ada/array_of_variable_length/pck.ads: New file.
17829
178302015-09-15 Doug Evans <dje@google.com>
17831
17832 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17833 of function static local variable.
17834
178352015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17836
17837 * gdb.threads/tls-so_extern.exp: New test file.
17838 * gdb.threads/tls-so_extern.c: New test file.
17839 * gdb.threads/tls-so_extern_main.c: New test file.
17840
178412015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17842
17843 * gdb.opt/solib-intra-step-lib.c: New file.
17844 * gdb.opt/solib-intra-step-main.c: New file.
17845 * gdb.opt/solib-intra-step.exp: New file.
17846
178472015-09-15 Pedro Alves <palves@redhat.com>
17848
17849 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17850 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17851
178522015-09-14 Pedro Alves <palves@redhat.com>
17853
17854 * gdb.base/hook-stop-continue.c: Delete.
17855 * gdb.base/hook-stop-continue.exp: Delete.
17856 * gdb.base/hook-stop-frame.c: Delete.
17857 * gdb.base/hook-stop-frame.exp: Delete.
17858 * gdb.base/hook-stop.c: New file.
17859 * gdb.base/hook-stop.exp: New file.
17860
178612015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17862
17863 * gdb.ada/access_to_packed_array.exp: New testcase.
17864 * gdb.ada/access_to_packed_array/foo.adb: New file.
17865 * gdb.ada/access_to_packed_array/pack.adb: New file.
17866 * gdb.ada/access_to_packed_array/pack.ads: New file.
17867
178682015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17869
17870 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17871 buffer size test.
17872
178732015-09-11 Don Breazeal <donb@codesourcery.com>
17874
17875 * gdb.base/foll-exec.c: Add copyright header. Fix
17876 formatting issues.
17877 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17878 (do_exec_tests): Use clean_restart in place of zap_session,
17879 and for test initialization. Fix formatting issues. Use
17880 fail in place of perror.
17881 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17882 an expect statement to match an expression with output from
17883 the program under debug.
17884 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17885 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17886 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17887 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17888 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17889
178902015-09-09 Doug Evans <dje@google.com>
17891
17892 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17893
178942015-09-09 Doug Evans <dje@google.com>
17895
17896 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17897
178982015-09-09 Doug Evans <dje@google.com>
17899
17900 * gdb.base/savedregs.exp: Fix typo.
17901
179022015-09-09 Pedro Alves <palves@redhat.com>
17903
17904 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17905
179062015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17907
17908 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17909 command actually switches threads. Give up on remaining
17910 tests if target fails to stop at breakpoint.
17911
179122015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17913
17914 * gdb.ada/funcall_char.exp: New testcase.
17915 * gdb.ada/funcall_char/foo.adb: New file.
17916
179172015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17918
17919 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17920 expected outputs. Add two testcases for completing ambiguous
17921 functions.
17922 * gdb.ada/complete/aux_pck.adb: New file.
17923 * gdb.ada/complete/aux_pck.ads: New file.
17924 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17925 Ambiguous_Func functions.
17926 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17927 * gdb.ada/complete/pck.adb: Likewise.
17928
179292015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17930
17931 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17932 failures to run the test program under GDB.
17933
179342015-08-26 Luis Machado <lgustavo@codesourcery.com>
17935
17936 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17937 to C.
17938
179392015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17940
17941 * gdb.base/run-after-attach.exp: New test file.
17942 * gdb.base/run-after-attach.c: New test file.
17943
179442015-08-26 Don Breazeal <donb@codesourcery.com>
17945
17946 * gdb.base/foll-exec-2.c: New test program.
17947 * gdb.base/foll-exec-2.exp: New test.
17948
179492015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17950
17951 * gdb.base/nested-subp1.exp: New file.
17952 * gdb.base/nested-subp1.c: New file.
17953 * gdb.base/nested-subp2.exp: New file.
17954 * gdb.base/nested-subp2.c: New file.
17955 * gdb.base/nested-subp3.exp: New file.
17956 * gdb.base/nested-subp3.c: New file.
17957
179582015-08-24 Pedro Alves <palves@redhat.com>
17959
17960 * gdb.server/connect-without-multi-process.c: New file.
17961 * gdb.server/connect-without-multi-process.exp: New file.
17962
179632015-08-24 Luis Machado <lgustavo@codesourcery.com>
17964
17965 * gdb.opt/inline-markers.c: Make z int.
17966
179672015-08-24 Luis Machado <lgustavo@codesourcery.com>
17968
17969 * gdb.opt/inline-markers.c: Make z volatile.
17970
179712015-08-24 Luis Machado <lgustavo@codesourcery.com>
17972
17973 * gdb.opt/inline-bt.c: New volatile global z.
17974 * gdb.opt/inline-cmds.c: Likewise.
17975 * gdb.opt/inline-locals.c: Likewise.
17976 * gdb.opt/inline-markers.c: New extern global z.
17977 (marker): Use z.
17978 (inline_fn): Likewise.
17979
179802015-08-24 Pedro Alves <palves@redhat.com>
17981
17982 * config/m32r-stub.exp: Remove file.
17983 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17984 * gdb.base/call-rt-st.exp: Likewise.
17985 * gdb.base/call-strs.exp: Likewise.
17986 * gdb.base/default.exp: Remove references to h8300-*-hms and
17987 *-*-udi*.
17988 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17989
179902015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17991
17992 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17993 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17994 and "return" use KFAIL when GDB can not read/write the vector
17995 return value.
17996
179972015-08-21 Gary Benson <gbenson@redhat.com>
17998
17999 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18000
180012015-08-20 Pedro Alves <palves@redhat.com>
18002
18003 * gdb.server/solib-list.exp: No longer expect an interior stop in
18004 non-stop mode.
18005
180062015-08-20 Pedro Alves <palves@redhat.com>
18007
18008 * gdb.server/connect-stopped-target.c: New file.
18009 * gdb.server/connect-stopped-target.exp: New file.
18010
180112015-08-20 Pedro Alves <palves@redhat.com>
18012
18013 * gdb.dwarf2/comp-unit-lang.exp: New file.
18014 * gdb.dwarf2/comp-unit-lang.c: New file.
18015
180162015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18017
18018 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18019 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18020
180212015-08-19 Kevin Buettner <kevinb@redhat.com>
18022
18023 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18024 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18025
180262015-08-18 Doug Evans <dje@google.com>
18027 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18028
18029 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18030 skip_python_tests. New arg prompt_regexp.
18031 (skip_python_tests): New function.
18032 * lib/mi-support.exp (mi_skip_python_tests): New function.
18033 * gdb.python/py-mi-objfile-gdb.py: New file.
18034 * gdb.python/py-mi-objfile.c: New file.
18035 * gdb.python/py-mi-objfile.exp: New file.
18036
180372015-08-17 Keith Seitz <keiths@redhat.com>
18038
18039 * gdb.linespec/explicit.exp: Move strace test from here ...
18040 * gdb.trace/strace.exp: ... to here.
18041
180422015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18043
18044 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18045 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18046
180472015-08-14 Doug Evans <xdje42@gmail.com>
18048
18049 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18050 inferior before selecting a new file.
18051
180522015-08-14 Doug Evans <xdje42@gmail.com>
18053
18054 * gdb.mi/mi-disassemble.exp: Update.
18055 * gdb.base/disasm-optim.S: New file.
18056 * gdb.base/disasm-optim.c: New file.
18057 * gdb.base/disasm-optim.h: New file.
18058 * gdb.base/disasm-optim.exp: New file.
18059
180602015-08-14 Keith Seitz <keiths@redhat.com>
18061
18062 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18063 "evaluated-by".
18064
180652015-08-13 Joel Brobecker <brobecker@adacore.com>
18066
18067 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18068
180692015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18070
18071 * gdb.ada/fun_renaming.exp: New testcase.
18072 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18073 * gdb.ada/fun_renaming/pack.adb: New file.
18074 * gdb.ada/fun_renaming/pack.ads: New file.
18075
180762015-08-12 Keith Seitz <keiths@redhat.com>
18077
18078 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18079 gdb_get_line_number.
18080
180812015-08-12 Joel Brobecker <brobecker@adacore.com>
18082
18083 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18084 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18085 gdb.base/dso2dso.exp: New files.
18086
180872015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18088 Pedro Alves <palves@redhat.com>
18089 Keith Seitz <keiths@redhat.com>
18090
18091 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18092 GDBFLAGS.
18093
180942015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18095
18096 * gdb.base/gdbhistsize-history.exp
18097 (test_histsize_history_setting): Use save_vars.
18098 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18099 Use save_vars.
18100 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18101 * gdb.base/readline.exp: Use save_vars.
18102
181032015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18104
18105 * lib/gdb.exp (save_vars): New proc.
18106
181072015-08-11 Keith Seitz <keiths@redhat.com>
18108
18109 * gdb.base/help.exp: Update help_breakpoint_text.
18110
181112015-08-11 Keith Seitz <keiths@redhat.com>
18112
18113 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18114 (at toplevel): Call test_explicit_breakpoints.
18115 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18116 breakpoints.
18117 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18118 breakpoint conditions, "-cond".
18119
181202015-08-11 Keith Seitz <keiths@redhat.com>
18121
18122 * gdb.linespec/3explicit.c: New file.
18123 * gdb.linespec/cpexplicit.cc: New file.
18124 * gdb.linespec/cpexplicit.exp: New file.
18125 * gdb.linespec/explicit.c: New file.
18126 * gdb.linespec/explicit.exp: New file.
18127 * gdb.linespec/explicit2.c: New file.
18128 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18129 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18130 before using in the matching pattern.
18131 Clarify that `prefix' is a regular expression.
18132
181332015-08-11 Keith Seitz <keiths@redhat.com>
18134
18135 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18136 test.
18137 Add tests for missing ",FMT" and ",".
18138
181392015-08-10 Doug Evans <dje@google.com>
18140 Keith Seitz <keiths@redhat.com>
18141
18142 PR gdb/17960
18143 * gdb.base/completion.exp: Add location completer tests.
18144
181452015-08-07 Pedro Alves <palves@redhat.com>
18146
18147 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18148 tests here.
18149 (top level): Run do_test with and without displaced stepping.
18150
181512015-08-07 Pedro Alves <palves@redhat.com>
18152
18153 * gdb.base/valgrind-disp-step.c: New file.
18154 * gdb.base/valgrind-disp-step.exp: New file.
18155
181562015-08-07 Pedro Alves <palves@redhat.com>
18157
18158 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18159 Delete function.
18160 (main): Add alarm. Run an infinite loop instead of calling
18161 wait_threads.
18162 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18163 comment.
18164 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18165 Delete function.
18166 (main): Add alarm. Run an infinite loop instead of calling
18167 wait_threads.
18168 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18169 comment.
18170
181712015-08-07 Pedro Alves <palves@redhat.com>
18172
18173 * gdb.base/checkpoint-ns.exp: New file.
18174 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18175 standard_testfile.
18176
181772015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18178
18179 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18180 * gdb.btrace/instruction_history.exp: Update.
18181 * gdb.btrace/tsx.exp: New.
18182 * gdb.btrace/tsx.c: New.
18183
181842015-08-06 Pedro Alves <palves@redhat.com>
18185
18186 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18187 increase timeout.
18188 * gdb.reverse/until-precsave.exp: Bump timeouts.
18189
181902015-08-06 Pedro Alves <palves@redhat.com>
18191
18192 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18193
181942015-08-06 Pedro Alves <palves@redhat.com>
18195
18196 PR gdb/18749
18197 * gdb.threads/process-dies-while-handling-bp.c: New file.
18198 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18199
182002015-08-06 Pedro Alves <palves@redhat.com>
18201
18202 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18203 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18204
182052015-08-05 Pedro Alves <palves@redhat.com>
18206
18207 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18208 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18209
182102015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18211
18212 * gdb.base/bp-permanent.exp: Report test as unsupported if
18213 the target cannot stop at the permanent breakpoint.
18214
182152015-08-03 Doug Evans <dje@google.com>
18216
18217 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18218 10000.
18219
182202015-08-03 Doug Evans <dje@google.com>
18221
18222 * Makefile.in (workers/%.worker, build-perf): New rule.
18223 (GDB_PERFTEST_MODE): New variable.
18224 (check-perf): Use it.
18225 (clean): Clean up gdb.perf parallel build subdirs.
18226 * lib/build-piece.exp: New file.
18227 * lib/gdb.exp (make_gdb_parallel_path): New function
18228 (standard_output_file, standard_temp_file): Call it.
18229 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18230 of $GDB_PARALLEL.
18231 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18232
182332015-08-03 Doug Evans <dje@google.com>
18234
18235 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
18236 (LOG_FILE_NAME): New global.
18237 (TextReporter.__init__): Initialize self.txt_sum.
18238 (TextReporter.report): Add support for multiple data-points.
18239 Move report to perftest.sum, put raw data in perftest.log.
18240 (TextReporter.start): Open sum and log files.
18241 (TextReporter.end): Close sum and log files.
18242 * gdb.perf/lib/perftest/testresult.py
18243 (SingleStatisticTestResult.record): Handle multiple data-points.
18244
182452015-07-31 Pedro Alves <palves@redhat.com>
18246
18247 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18248 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18249 kill_wait_spawned_process instead of explicit "kill -9".
18250 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18251 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18252 kill_wait_spawned_process.
18253 * gdb.base/attach-twice.exp: Likewise.
18254 * gdb.base/attach.exp: Likewise.
18255 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18256 gdb_test_multiple.
18257 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18258 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18259 kill_wait_spawned_process.
18260 * gdb.base/valgrind-infcall.exp: Likewise.
18261 * gdb.multi/multi-attach.exp: Likewise.
18262 * gdb.python/py-prompt.exp: Likewise.
18263 * gdb.python/py-sync-interp.exp: Likewise.
18264 * gdb.server/ext-attach.exp: Likewise.
18265 * gdb.threads/attach-into-signal.exp (corefunc): Use
18266 spawn_wait_for_attach, spawn_id_get_pid and
18267 kill_wait_spawned_process.
18268 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18269 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18270 spawn_id_get_pid and kill_wait_spawned_process.
18271 * gdb.threads/attach-stopped.exp (corefunc): Use
18272 spawn_wait_for_attach, spawn_id_get_pid and
18273 kill_wait_spawned_process.
18274 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18275 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18276 kill_wait_spawned_process instead of explicit "kill -9".
18277 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18278 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18279 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18280 processes. Don't map cygwin/windows pids here. Now returns a
18281 spawn id list.
18282
182832015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18284
18285 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18286 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18287 correct patch.
18288
182892015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18290
18291 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18292
182932015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18294
18295 Reapply:
18296 2014-05-21 Mark Wielaard <mjw@redhat.com>
18297
18298 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18299
183002015-07-30 Pedro Alves <palves@redhat.com>
18301
18302 * linux-low.c (handle_extended_wait): Set the child's last
18303 reported status to TARGET_WAITKIND_STOPPED.
18304
183052015-07-30 Pedro Alves <palves@redhat.com>
18306
18307 PR threads/18600
18308 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18309 only shows inferior 1.
18310
183112015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18312 Pedro Alves <palves@redhat.com>
18313
18314 PR threads/18600
18315 * gdb.threads/fork-plus-threads.c: New file.
18316 * gdb.threads/fork-plus-threads.exp: New file.
18317
183182015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18319
18320 * gdb.base/batch-preserve-term-settings.exp
18321 (test_terminal_settings_preserved_after_cli_exit): Use
18322 send_quit_command.
18323
183242015-07-29 Pedro Alves <palves@redhat.com>
18325 Don Breazeal <donb@codesourcery.com>
18326
18327 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18328 output from both inferior_spawn_id and gdb_spawn_id.
18329
183302015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18331
18332 * gdb.threads/attach-into-signal.exp (corefunc): Use
18333 with_test_prefix on nested loops, uniquefying the test messages.
18334
183352015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18336
18337 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18338 commit.
18339
183402015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18341
18342 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18343 New proc.
18344 (test_terminal_settings_preserved_after_sigterm): New test.
18345
183462015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18347
18348 * gdb.base/batch-preserve-term-settings.exp
18349 (test_terminal_settings_preserved_after_cli_exit): New test.
18350
183512015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18352
18353 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18354 manipulation of saved_gdbflags.
18355 (test_terminal_settings_preserved): Remove global declaration of
18356 the unused variable pagination_prompt. Remove manipulation of
18357 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18358 GDBFLAGS.
18359
183602015-07-29 Pedro Alves <palves@redhat.com>
18361
18362 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18363
183642015-07-29 Pedro Alves <palves@redhat.com>
18365
18366 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18367 at the top.
18368
183692015-07-29 Pedro Alves <palves@redhat.com>
18370
18371 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18372 (main): Call gdb_unbuffer_output.
18373 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18374 (main): Call gdb_unbuffer_output.
18375 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18376 (main): Call gdb_unbuffer_output.
18377 * gdb.base/call-strs.exp: Adjust to step over the
18378 gdb_unbuffer_output call.
18379 * gdb.base/catch-gdb-caused-signals.c: Include
18380 "../lib/unbuffer_output.c".
18381 (main): Call gdb_unbuffer_output.
18382 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18383 (main): Call gdb_unbuffer_output.
18384 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18385 (main): Call gdb_unbuffer_output.
18386 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18387 (main): Call gdb_unbuffer_output.
18388 * gdb.base/shlib-call.exp: Adjust to step over the
18389 gdb_unbuffer_output call.
18390 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18391 (main): Call gdb_unbuffer_output.
18392 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18393 (main): Call gdb_unbuffer_output.
18394 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18395 (main): Rename to ...
18396 (test): ... this.
18397 (main): Reimplement.
18398 * gdb.base/varargs.exp: Run to test instead of to main.
18399 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18400 (main): Call gdb_unbuffer_output.
18401
184022015-07-29 Pedro Alves <palves@redhat.com>
18403
18404 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18405 factore out from mi_continue_dprintf. For call-style dprintfs,
18406 expect dprintf output out of $inferior_spawn_id.
18407 (mi_continue_dprintf): Use mi_expect_dprintf.
18408 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18409 (main): Call gdb_unbuffer_output.
18410
184112015-07-29 Pedro Alves <palves@redhat.com>
18412
18413 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18414 (default_mi_gdb_start): Set inferior_spawn_id instead of
18415 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18416 gdb_spawn_id.
18417 (mi_gdb_test): Always expect inferior output from both
18418 $inferior_spawn_id and $gdb_spawn_id.
18419
184202015-07-29 Pedro Alves <palves@redhat.com>
18421
18422 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18423 send_inferior and $inferior_spawn_id.
18424
184252015-07-29 Pedro Alves <palves@redhat.com>
18426
18427 * gdb.gdb/complaints.exp (test_initial_complaints)
18428 (test_serial_complaints, test_short_complaints): Use
18429 gdb_test_stdio.
18430 (test_empty_complaint): Handle $inferior_spawn_id !=
18431 $gdb_spawn_id.
18432
184332015-07-29 Pedro Alves <palves@redhat.com>
18434
18435 * gdb.base/varargs.exp: Use gdb_test_stdio.
18436
184372015-07-29 Pedro Alves <palves@redhat.com>
18438
18439 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18440
184412015-07-29 Pedro Alves <palves@redhat.com>
18442
18443 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18444
184452015-07-29 Pedro Alves <palves@redhat.com>
18446
18447 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18448 parameter into two new parameters, "inf_result" and "gdb_result".
18449 Expect inferior output and gdb output from $inferior_spawn_id and
18450 $gdb_spawn_id, respectively. Adjust all callers.
18451
184522015-07-29 Pedro Alves <palves@redhat.com>
18453
18454 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18455 of gdb_test_sequence.
18456
184572015-07-29 Pedro Alves <palves@redhat.com>
18458
18459 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18460 (saw_spurious_output): Expect inferior output from
18461 $inferior_spawn_id. Use gdb_test_stdio.
18462
184632015-07-29 Pedro Alves <palves@redhat.com>
18464
18465 * gdb.base/dprintf.exp: Use standard_testfile. Change
18466 prepare_for_testing call.
18467 (srcfile): Don't set.
18468 (restart): New procedure.
18469 (test_dprintf): New procecure, use to continue over dprintfs.
18470 (test_call, test_agent): New procedures, tests moved here.
18471 Restart gdb and recreate dprintfs. Adjust expected output.
18472
184732015-07-29 Pedro Alves <palves@redhat.com>
18474
18475 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18476
184772015-07-29 Pedro Alves <palves@redhat.com>
18478
18479 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18480
184812015-07-29 Pedro Alves <palves@redhat.com>
18482
18483 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18484 gdb_test_stdio.
18485
184862015-07-29 Pedro Alves <palves@redhat.com>
18487
18488 * lib/gdb.exp (gdb_test_stdio): New procedure.
18489
184902015-07-29 Pedro Alves <palves@redhat.com>
18491
18492 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18493
184942015-07-29 Pedro Alves <palves@redhat.com>
18495
18496 * gdb.base/call-signal-resume.exp: Remove check for
18497 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18498 * gdb.base/unwindonsignal.exp: Likewise.
18499 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18500 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18501
185022015-07-29 Pedro Alves <palves@redhat.com>
18503
18504 * gdb.base/siginfo-addr.c (pass): New function.
18505 (handler): Call it iff si_addr is correct.
18506 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18507 Set a breakpoint at "pass" and continue to it.
18508
185092015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18510
18511 * gdb.python/py-objfile.exp: Make some tests have unique names.
18512 * gdb.python/py-pp-registration.exp: Likewise.
18513
185142015-07-28 Pedro Alves <palves@redhat.com>
18515
18516 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18517
185182015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18519
18520 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18521
185222015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18523
18524 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18525
185262015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18527
18528 * gdb.base/gdb-sigterm-2.exp: New test.
18529
185302015-07-25 Doug Evans <xdje42@gmail.com>
18531
18532 Revert:
18533 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18534 (workers/%.worker, build-perf): New rule.
18535 (GDB_PERFTEST_MODE): New variable.
18536 (check-perf): Use it.
18537 (clean): Clean up gdb.perf parallel build subdirs.
18538 * lib/build-piece.exp: New file.
18539 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18540 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18541 name.
18542 (standard_temp_file): Ditto.
18543 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18544 of $GDB_PARALLEL.
18545
185462015-07-24 Doug Evans <dje@google.com>
18547
18548 * gdb.perf/lib/perftest/utils.py: New file.
18549 * gdb.perf/gm-hello.cc: New file.
18550 * gdb.perf/gm-pervasive-typedef.cc: New file.
18551 * gdb.perf/gm-pervasive-typedef.h: New file.
18552 * gdb.perf/gm-std.cc: New file.
18553 * gdb.perf/gm-std.h: New file.
18554 * gdb.perf/gm-use-cerr.cc: New file.
18555 * gdb.perf/gm-utils.h: New file.
18556 * gdb.perf/gmonster-null-lookup.py: New file.
18557 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18558 * gdb.perf/gmonster-print-cerr.py: New file.
18559 * gdb.perf/gmonster-ptype-string.py: New file.
18560 * gdb.perf/gmonster-runto-main.py: New file.
18561 * gdb.perf/gmonster-select-file.py: New file.
18562 * gdb.perf/gmonster1-null-lookup.exp: New file.
18563 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18564 * gdb.perf/gmonster1-print-cerr.exp: New file.
18565 * gdb.perf/gmonster1-ptype-string.exp: New file.
18566 * gdb.perf/gmonster1-runto-main.exp: New file.
18567 * gdb.perf/gmonster1-select-file.exp: New file.
18568 * gdb.perf/gmonster1.cc: New file.
18569 * gdb.perf/gmonster1.exp: New file.
18570 * gdb.perf/gmonster2-null-lookup.exp: New file.
18571 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18572 * gdb.perf/gmonster2-print-cerr.exp: New file.
18573 * gdb.perf/gmonster2-ptype-string.exp: New file.
18574 * gdb.perf/gmonster2-runto-main.exp: New file.
18575 * gdb.perf/gmonster2-select-file.exp: New file.
18576 * gdb.perf/gmonster2.cc: New file.
18577 * gdb.perf/gmonster2.exp: New file.
18578
185792015-07-24 Doug Evans <dje@google.com>
18580
18581 * gdb.perf/README: New file.
18582 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18583 * lib/gen-perf-test.exp: New file.
18584
185852015-07-24 Doug Evans <dje@google.com>
18586
18587 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18588 (PerfTest::startup): New function.
18589 (PerfTest::run): Return result of calling body.
18590 (PerfTest::assemble): Rewrite.
18591 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18592 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18593 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18594 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18595 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18596
185972015-07-24 Doug Evans <dje@google.com>
18598
18599 * lib/gdb.exp (clean_restart): Make executable optional.
18600
186012015-07-24 Doug Evans <dje@google.com>
18602
18603 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18604 compiler_info references.
18605 * gdb.cp/temargs.exp: Ditto.
18606 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18607 (get_compiler_info): Early exit if already computed. Set compiler_info
18608 to "unknown" if there was a problem.
18609 (test_compiler_info): Add function comment. Call get_compiler_info.
18610
186112015-07-24 Doug Evans <dje@google.com>
18612
18613 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18614 (workers/%.worker, build-perf): New rule.
18615 (GDB_PERFTEST_MODE): New variable.
18616 (check-perf): Use it.
18617 (clean): Clean up gdb.perf parallel build subdirs.
18618 * lib/build-piece.exp: New file.
18619 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18620 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18621 name.
18622 (standard_temp_file): Ditto.
18623 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18624 of $GDB_PARALLEL.
18625
186262015-07-24 Doug Evans <dje@google.com>
18627
18628 * lib/future.exp (gdb_default_target_compile): New option
18629 "early_flags".
18630 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18631 --as-needed.
18632
186332015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18634
18635 * gdb.base/catch-syscall.exp: Call gdb_exit before
18636 gdb_skip_xml_test.
18637
186382015-07-24 Pedro Alves <palves@redhat.com>
18639
18640 * gdb.python/py-events.exp: Accept output between the stop event
18641 and the prompt.
18642 * gdb.python/py-evsignal.exp: Likewise.
18643 * gdb.python/py-evthreads.exp: Likewise.
18644
186452015-07-24 Pedro Alves <palves@redhat.com>
18646
18647 PR gdb/18717
18648 * gdb.threads/non-ldr-exit.c: New file.
18649 * gdb.threads/non-ldr-exit.exp: New file.
18650
186512015-07-24 Yao Qi <yao.qi@linaro.org>
18652
18653 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18654 restarting process.
18655
186562015-07-24 Yao Qi <yao.qi@linaro.org>
18657
18658 * gdb.server/ext-restart.exp: New file.
18659
186602015-07-24 Yao Qi <yao.qi@linaro.org>
18661
18662 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18663 argument options.
18664 * gdb.server/ext-wrapper.exp: New file.
18665
186662015-07-23 Doug Evans <dje@google.com>
18667
18668 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18669 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18670
186712015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18672
18673 * gdb.ada/var_arr_typedef.exp: New testcase.
18674 * gdb.ada/var_arr_typedef/pack.adb: New file.
18675 * gdb.ada/var_arr_typedef/pack.ads: New file.
18676 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18677
186782015-07-20 Joel Brobecker <brobecker@adacore.com>
18679
18680 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18681
186822015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18683
18684 * gdb.arch/i386-biarch-core.exp: Replace istarget
18685 by "complete set gnutarget". Remove expectation for the "core-file"
18686 command.
18687
186882015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18689
18690 Revert the previous commit:
18691 Tests for validate symbol file using build-id.
18692
186932015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18694
18695 Tests for validate symbol file using build-id.
18696 * gdb.base/solib-mismatch-lib.c: New file.
18697 * gdb.base/solib-mismatch-libmod.c: New file.
18698 * gdb.base/solib-mismatch.c: New file.
18699 * gdb.base/solib-mismatch.exp: New file.
18700
187012015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18702
18703 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18704 nios2-*-linux*.
18705 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18706 * gdb.base/siginfo.exp: Likewise.
18707 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18708
187092015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18710
18711 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18712 Move it to ...
18713 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18714 ... here.
18715 * gdb.trace/range-stepping.exp: Check that the target supports
18716 range stepping.
18717
187182015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18719
18720 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18721
187222015-07-14 Pedro Alves <palves@redhat.com>
18723
18724 * gdb.base/killed-outside.exp: New file.
18725 * gdb.base/killed-outside.c: New file.
18726
187272015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18728
18729 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18730 (n at main): New.
18731 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18732
187332015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18734
18735 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18736 infcall tests instead of setting up for KFAIL.
18737
187382015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18739
18740 * gdb.btrace/record_goto-step.exp: New.
18741
187422015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18743
18744 PR compile/18484
18745 * gdb.compile/compile.c (struct struct_type): Add volatile to
18746 selffield's type.
18747 * gdb.compile/compile.exp
18748 (compile code struct_object.selffield = &struct_object): Skip further
18749 struct_object tests if this one xfails.
18750
187512015-07-08 Robert O'Callahan <robert@ocallahan.org>
18752
18753 PR exp/18617
18754 * gdb.trace/ax.exp: Add test.
18755
187562015-07-07 Yao Qi <yao.qi@linaro.org>
18757
18758 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18759 instead of istarget "aarch64*-*-*".
18760 * gdb.arch/aarch64-fp.exp: Likewise.
18761 * gdb.base/float.exp: Likewise.
18762 * gdb.reverse/aarch64.exp: Likewise.
18763 * lib/gdb.exp (is_aarch64_target): New proc.
18764
187652015-07-07 Yao Qi <yao.qi@linaro.org>
18766
18767 * lib/gdb.exp (is_aarch32_target): New proc.
18768 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18769 instead of "istarget "arm*-*-*"".
18770 * gdb.arch/arm-disp-step.exp: Likewise.
18771 * gdb.arch/thumb-bx-pc.exp: Likewise.
18772 * gdb.arch/thumb-prologue.exp: Likewise.
18773 * gdb.arch/thumb-singlestep.exp: Likewise.
18774 * gdb.base/disp-step-syscall.exp: Likewise.
18775 * gdb.base/float.exp: Likewise.
18776
187772015-07-07 Yao Qi <yao.qi@linaro.org>
18778
18779 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18780 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18781
187822015-07-07 Yao Qi <yao.qi@linaro.org>
18783
18784 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18785 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18786 if it exists.
18787 * gdb.multi/multi-arch.exp: Likewise.
18788
187892015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18790
18791 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18792 print.
18793
187942015-07-07 Yao Qi <yao.qi@linaro.org>
18795
18796 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18797
187982015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18799
18800 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18801 '[' and ']' characters.
18802
188032015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18804
18805 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18806
188072015-06-29 Pedro Alves <palves@redhat.com>
18808
18809 PR threads/18127
18810 * gdb.threads/hand-call-new-thread.c: New file.
18811 * gdb.threads/hand-call-new-thread.c: New file.
18812
188132015-06-26 Keith Seitz <keiths@redhat.com>
18814 Doug Evans <dje@google.com>
18815
18816 PR 16253
18817 * gdb.cp/var-tag-2.cc: New file.
18818 * gdb.cp/var-tag-3.cc: New file.
18819 * gdb.cp/var-tag-4.cc: New file.
18820 * gdb.cp/var-tag.cc: New file.
18821 * gdb.cp/var-tag.exp: New file.
18822
188232015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18824
18825 * gdb.base/history-duplicates.exp: New test.
18826
188272015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18828
18829 * gdb.base/completion.exp: Test the completion of the "focus"
18830 command.
18831
188322015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18833
18834 * gdb.arch/amd64-prologue-skip.S: New file.
18835 * gdb.arch/amd64-prologue-skip.exp: New file.
18836
188372015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18838
18839 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18840 is_address_zero_readable check.
18841
188422015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18843
18844 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18845 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18846
188472015-06-24 Yao Qi <yao.qi@linaro.org>
18848
18849 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18850 linux targets.
18851
188522015-06-24 Yao Qi <yao.qi@linaro.org>
18853
18854 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18855 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18856 * gdb.base/siginfo-thread.exp: Likewise.
18857
188582015-06-22 Yao Qi <yao.qi@linaro.org>
18859
18860 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18861
188622015-06-22 Yao Qi <yao.qi@linaro.org>
18863
18864 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18865 aarch64*-*-*.
18866 (skip_hw_watchpoint_tests): Likewise.
18867
188682015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18869
18870 * gdb.base/gdbinit-history.exp: Test the interaction between
18871 setting GDBHISTSIZE and setting the history size via .gdbinit.
18872
188732015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18874
18875 PR gdb/16999
18876 * gdb.base/gdbhistsize-history.exp: New test.
18877
188782015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18879
18880 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18881 with GDBHISTSIZE.
18882 * gdb.base/readline.exp: Likewise.
18883
188842015-06-17 Yao Qi <yao.qi@linaro.org>
18885
18886 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18887 line.
18888
188892015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18890
18891 * gdb.base/gdbinit-history.exp: Add test case to check that
18892 an unlimited history file does not get truncated on exit.
18893
188942015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18895
18896 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18897 (VECTOR): New macro. Use it...
18898 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18899 ...for these typedefs.
18900 (int8, char1, int1, double1): New typedefs.
18901 (struct just_int2, struct two_int2): New structures.
18902 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18903 (add_structvecs, add_singlevecs): New functions.
18904 (main): Call add_some_intvecs twice.
18905 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18906 the compile and exit upon failure. Try compiling for the "native"
18907 architecture. Test inferior function calls with vector arguments
18908 and vector return value handling with "finish" and "return".
18909
189102015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18911
18912 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18913 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18914 PE file.
18915 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18916
189172015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18918
18919 PR breakpoints/16465
18920 * gdb.mi/mi-dprintf-pending.c: New file.
18921 * gdb.mi/mi-dprintf-pending.exp: New test.
18922 * gdb.mi/mi-dprintf-pendshr.c: New file.
18923
189242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18925 Mircea Gherzan <mircea.gherzan@intel.com>
18926
18927 * gdb.arch/i386-mpx-map.c: New file.
18928 * gdb.arch/i386-mpx-map.exp: New File.
18929
189302015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18931
18932 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18933 * gdb.arch/i386-mpx.exp: Indentation fixed.
18934
189352015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18936
18937 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18938 function and improved indentation.
18939 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18940 gdb_test_multiple. Added additional tests to skip the test.
18941
189422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18943
18944 * gdb.arch/i386-avx512.c: Change path in include file.
18945 * gdb.arch/i386-avx512.exp: Change include dir path
18946 compilation flag.
18947 * gdb.arch/i386-mpx.c: Change path in include file.
18948 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18949 flag.
18950
189512015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18952
18953 * gdb.compile/compile-print.exp (compile print *vararray@3)
18954 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18955
189562015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18957
18958 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18959 (do not keep jit in memory): ... this.
18960 (expect 5): Change it to ...
18961 (expect no 5): ... this.
18962
189632015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18964
18965 PR gdb/15564
18966 * gdb.mi/mi-detach.exp: New file.
18967
189682015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18969
18970 PR symtab/18392
18971 * gdb.arch/amd64-tailcall-self.S: New file.
18972 * gdb.arch/amd64-tailcall-self.c: New file.
18973 * gdb.arch/amd64-tailcall-self.exp: New file.
18974
189752015-05-28 Don Breazeal <donb@codesourcery.com>
18976
18977 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18978 tests for remote targets by checking is_target_gdbserver.
18979
189802015-05-27 Doug Evans <dje@google.com>
18981
18982 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18983 * gdb.dwarf2/opaque-type-lookup.c: New file.
18984 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18985
189862015-05-26 Doug Evans <dje@google.com>
18987
18988 * gdb.cp/iostream.cc: New file.
18989 * gdb.cp/iostream.exp: New file.
18990
189912015-05-26 Doug Evans <dje@google.com>
18992
18993 * gdb.dwarf2/dw2-op-call.exp: Update.
18994 * gdb.dwarf2/dw4-sig-types.exp: Update.
18995 * gdb.dwarf2/implptr.exp: Update.
18996 * gdb.mi/mi-cmd-param-changed.exp: Update.
18997
189982015-05-26 Doug Evans <dje@google.com>
18999
19000 * gdb.python/py-lazy-string.c: New file.
19001 * gdb.python/py-lazy-string.exp: New file.
19002 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19003 (main): Update. Add estring3.
19004 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19005 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19006
190072015-05-26 Omair Javaid <omair.javaid@linaro.org>
19008 Yao Qi <yao.qi@linaro.org>
19009
19010 * gdb.reverse/aarch64.c: New.
19011 * gdb.reverse/aarch64.exp: New.
19012
190132015-05-26 Omair Javaid <omair.javaid@linaro.org>
19014
19015 * lib/gdb.exp (supports_process_record): Return true for
19016 aarch64*-linux*.
19017 (supports_reverse): Likewise.
19018
190192015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19020
19021 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19022 Use with_test_prefix.
19023
190242015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19025
19026 * gdb.base/completion.exp: Add test for completion of layout
19027 names.
19028
190292015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19030
19031 * lib/gdb.exp (skip_tui_tests): New proc.
19032 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19033
190342015-05-19 Pedro Alves <palves@redhat.com>
19035
19036 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19037 Save the whole env array instead of just HOME. Unset HISTSIZE in
19038 the environment while testing. Restore whole environment
19039 afterwards.
19040
190412015-05-16 Doug Evans <xdje42@gmail.com>
19042
19043 * gdb.guile/scm-ports.c: New file.
19044 * gdb.guile/scm-ports.exp: Add memory port tests.
19045
190462015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19047
19048 * gdb.compile/compile-print.c: New file.
19049 * gdb.compile/compile-print.exp: New file.
19050
190512015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19052
19053 * gdb.compile/compile-ops.exp: Cast param to void.
19054 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19055 (compile code struct_object.selffield = &struct_object): Add xfail.
19056
190572015-05-15 Joel Brobecker <brobecker@adacore.com>
19058
19059 * gdb.ada/arr_enum_with_gap: New testcase.
19060
190612015-05-15 Joel Brobecker <brobecker@adacore.com>
19062
19063 * gdb.ada/byte_packed_arr: New testcase.
19064
190652015-05-15 Joel Brobecker <brobecker@adacore.com>
19066
19067 * gdb.ada/pckd_neg: New testcase.
19068
190692015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19070
19071 PR gdb/17820
19072 * gdb.base/gdbinit-history.exp: New test.
19073 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19074 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19075
190762015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19077
19078 * gdb.python/py-xmethods.cc: Enhance test case.
19079 * gdb.python/py-xmethods.exp: New tests.
19080 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19081 function.
19082 (B_indexoper): Likewise.
19083 (global_dm_list) : Add new xmethod worker functions.
19084
190852015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19086
19087 * gdb.base/coredump-filter.exp: Correctly unset
19088 "coredump_var_addr" array.
19089
190902015-05-08 Pedro Alves <palves@redhat.com>
19091
19092 * gdb.server/non-existing-program.exp: Unset spawn_id.
19093
190942015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19095
19096 PR python/18291
19097 * gdb.python/py-xmethods.exp: Add tests.
19098
190992015-05-08 Yao Qi <yao.qi@linaro.org>
19100
19101 PR gdb/18208
19102 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19103 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19104 function set_coredump_filter, and remove remote_exec call.
19105 Remove argument ipid. Callers update.
19106 (top level): Don't get inferior's PID.
19107
191082015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19109
19110 * gdb.base/watch_thread_num.exp: Skip test on targets without
19111 access watchpoints.
19112
191132015-05-06 Pedro Alves <palves@redhat.com>
19114
19115 PR server/18081
19116 * gdb.server/non-existing-program.exp: New file.
19117
191182015-05-05 Joel Brobecker <brobecker@adacore.com>
19119
19120 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19121
191222015-05-05 Joel Brobecker <brobecker@adacore.com>
19123
19124 * gdb.ada/out_of_line_in_inlined: New testcase.
19125
191262015-05-05 Joel Brobecker <brobecker@adacore.com>
19127
19128 * gdb.ada/var_rec_arr: New testcase.
19129
191302015-04-30 Yao Qi <yao.qi@linaro.org>
19131
19132 * gdb.base/break-idempotent.exp: If
19133 skip_hw_watchpoint_multi_tests returns true, skip the tests
19134 on "rwatch" and "awatch".
19135
191362015-04-30 Yao Qi <yao.qi@linaro.org>
19137
19138 * gdb.base/relativedebug.exp: Invoke gdb command
19139 "info sharedlibrary", and if libc.so doesn't have debug info,
19140 skip the test.
19141
191422015-04-29 Doug Evans <dje@google.com>
19143
19144 * gdb.python/py-xmethods.exp: Add ptype tests.
19145 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19146 get_result_type method.
19147
191482015-04-29 Luis Machado <lgustavo@codesourcery.com>
19149
19150 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19151 the target does not support hardware watchpoints.
19152
191532015-04-29 Luis Machado <lgustavo@codesourcery.com>
19154
19155 * gdb.base/break-always.exp: Abort testing if writing to memory
19156 causes an error.
19157
191582015-04-28 Doug Evans <dje@google.com>
19159
19160 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19161 * gdb.python/py-pp-registration.exp: ... here. New file.
19162 * gdb.python/py-pp-registration.c: New file.
19163 * gdb.python/py-pp-registration.py: New file.
19164
191652015-04-28 Doug Evans <dje@google.com>
19166
19167 * gdb.python/py-bad-printers.c: New file.
19168 * gdb.python/py-bad-printers.py: New file.
19169 * gdb.python/py-bad-printers.exp: New file.
19170
191712015-04-28 Sasha Smundak <asmundak@google.com>
19172
19173 * gdb.python/py-type.exp: New test.
19174
191752015-04-28 Andy Wingo <wingo@igalia.com>
19176
19177 * gdb.python/py-parameter.exp:
19178 * gdb.guile/scm-parameter.exp: Escape the path that we are
19179 matching against, as it might contain characters that are special
19180 to regular expressions.
19181
191822015-04-27 Joel Brobecker <brobecker@adacore.com>
19183
19184 * gdb.ada/rec_comp: New testcase.
19185
191862015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19187
19188 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19189 before using it.
19190
191912015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19192
19193 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19194 new tests for verilog output.
19195
191962015-04-24 Yao Qi <yao.qi@linaro.org>
19197
19198 * boards/remote-gdbserver-on-localhost.exp: New file.
19199
192002015-04-23 Pedro Alves <palves@redhat.com>
19201
19202 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19203 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19204 "end of file", remove $inferior_spawn_id from the indirect list.
19205
192062015-04-23 Pedro Alves <palves@redhat.com>
19207
19208 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19209
192102015-04-23 Pedro Alves <palves@redhat.com>
19211
19212 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19213 on $any_spawn_id instead of only on $gdb_spawn_id.
19214
192152015-04-21 Pierre Muller <muller@sourceware.org>
19216
19217 PR pascal/17815
19218 * lib/pascal.exp (gpc_compile): Add new option "class".
19219 (fpc_compile): Likewise.
19220 * gdb.pascal/case-insensitive-symbols.pas: New file.
19221 * gdb.pascal/case-insensitive-symbols.exp: New file.
19222
192232015-04-20 Gary Benson <gbenson@redhat.com>
19224
19225 * gdb.base/attach.exp: Fix three extended remote failures.
19226
192272015-04-17 Gary Benson <gbenson@redhat.com>
19228
19229 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19230 the main executable over the remote protocol.
19231
192322015-04-16 Pedro Alves <palves@redhat.com>
19233
19234 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19235 a new gdbserver if gdbserver_reconnect_p is set.
19236
192372015-04-16 Pedro Alves <palves@redhat.com>
19238
19239 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19240 is set, don't exit gdbserver.
19241
192422015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19243
19244 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19245 appropriate .insn, such that an older assembler can be used.
19246 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19247 the z/Architecture instruction set on 31-bit targets as well.
19248
192492015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19250
19251 * gdb.go/handcall.exp: Remove all logic related to the first
19252 breakpoint and rely on go_runto_main instead.
19253 * gdb.go/strings.exp: Likewise.
19254 * gdb.go/unsafe.exp: Likewise.
19255 * gdb.go/hello.exp: Likewise. Also rename the remaining
19256 breakpoint marker to "breakpoint 1".
19257 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19258 * gdb.go/strings.go: Likewise.
19259 * gdb.go/unsafe.go: Likewise.
19260 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19261 "set breakpoint 2 here" and rename the remaining breakpoint marker
19262 to "breakpoint 1".
19263
192642015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19265
19266 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19267 if itertools.imap is not present.
19268 * gdb.python/py-objfile.exp: Add parentheses.
19269 * gdb.python/py-type.exp: Same.
19270 * gdb.python/py-unwind-maint.py: Same.
19271
192722015-04-15 Yao Qi <yao.qi@linaro.org>
19273
19274 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19275 of ":$ptr_size" and set its form explicitly.
19276
192772015-04-15 Pedro Alves <palves@redhat.com>
19278 Yao Qi <yao.qi@linaro.org>
19279
19280 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19281 timeout by factor of 4.
19282 (test_regular_watch): Likewise.
19283 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19284 * gdb.reverse/sigall-reverse.exp: Likewise.
19285 * gdb.reverse/until-precsave.exp: Likewise.
19286 * lib/gdb.exp (with_timeout_factor): New proc.
19287 (gdb_expect): Move some code to ...
19288 (get_largest_timeout): ... here. New procedure.
19289
192902015-04-14 Luis Machado <lgustavo@codesourcery.com>
19291
19292 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19293
192942015-04-13 Luis Machado <lgustavo@codesourcery.com>
19295
19296 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19297 to write to the .text section.
19298
192992015-04-13 Luis Machado <lgustavo@codesourcery.com>
19300
19301 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19302 Handle the case of targets that do not provide PID information.
19303
193042015-04-13 Yao Qi <yao.qi@linaro.org>
19305
19306 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19307 and use expect instead of gdb_expect.
19308
193092015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19310
19311 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19312 "coredump_var_addr" to avoid naming conflict with other testcases.
19313
193142015-04-10 Pedro Alves <palves@redhat.com>
19315
19316 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19317 gdb_test_sequence and gdb_assert.
19318
193192015-04-10 Pedro Alves <palves@redhat.com>
19320
19321 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19322 test messages that don't include the breakpoint address.
19323
193242015-04-10 Yao Qi <yao.qi@linaro.org>
19325
19326 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19327 false for some offset and width combinations which aren't
19328 supported by linux kernel.
19329
193302015-04-10 Pedro Alves <palves@redhat.com>
19331
19332 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19333 procedure, factored out from ...
19334 (top level): ... here. Add "set displaced-stepping" testing axis.
19335 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19336 parameter "displaced". Use it.
19337 (top level): Use foreach and add "set displaced-stepping" testing
19338 axis.
19339
193402015-04-10 Pedro Alves <palves@redhat.com>
19341
19342 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19343 Remove comment.
19344 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19345 both the address of the instruction that triggers the watchpoint
19346 and the address of the instruction immediately after, and use
19347 those addresses for the test. Fix comment.
19348
193492015-04-10 Pedro Alves <palves@redhat.com>
19350
19351 * gdb.base/sigstep.exp (breakpoint_to_handler)
19352 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19353 Test "backtrace" in handler.
19354 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19355 (top level): Add new "displaced" test axis to
19356 breakpoint_to_handler, breakpoint_to_handler_entry and
19357 breakpoint_over_handler.
19358
193592015-04-10 Pedro Alves <palves@redhat.com>
19360
19361 PR gdb/18216
19362 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19363
193642015-04-10 Yao Qi <yao.qi@linaro.org>
19365
19366 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19367 (test_add_rn_pc): New function.
19368 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19369 (top level): Invoke test_add_rn_pc.
19370
193712015-04-10 Pedro Alves <palves@redhat.com>
19372
19373 PR gdb/13858
19374 * gdb.base/step-over-no-symbols.exp: New file.
19375
193762015-04-09 Andy Wingo <wingo@igalia.com>
19377
19378 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19379 after the Python tests.
19380
193812015-04-08 Keith Seitz <keiths@redhat.com>
19382
19383 PR python/16699
19384 * gdb.python/py-completion.exp: New tests for completion.
19385 * gdb.python/py-completion.py (CompleteLimit1): New class.
19386 (CompleteLimit2): Likewise.
19387 (CompleteLimit3): Likewise.
19388 (CompleteLimit4): Likewise.
19389 (CompleteLimit5): Likewise.
19390 (CompleteLimit6): Likewise.
19391 (CompleteLimit7): Likewise.
19392
193932015-04-08 Pedro Alves <palves@redhat.com>
19394
19395 PR gdb/18214
19396 PR gdb/18216
19397 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19398 function.
19399 (main): Install it as SIGUSR1 handler.
19400 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19401 parameter. Always use "setup" as prefix. Toggle "set
19402 displaced-stepping" off/on depending on global. Don't switch to
19403 thread 1 here.
19404 (top level): Add displaced stepping "off/on" test axis. Update
19405 "setup" calls. Wrap each subtest with with_test_prefix. Test
19406 continuing with a queued signal in each thread.
19407
194082015-04-08 Pedro Alves <palves@redhat.com>
19409
19410 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19411 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19412 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19413 Return early if running to main fails.
19414 * gdb.trace/while-stepping.exp: Likewise.
19415
194162015-04-07 Pedro Alves <palves@redhat.com>
19417
19418 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19419 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19420 interact with inferior program.
19421
194222015-04-07 Pedro Alves <palves@redhat.com>
19423
19424 * lib/gdb.exp (inferior_spawn_id): New global.
19425 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19426 spawn id after processing the user code.
19427 (default_gdb_start): Set inferior_spawn_id.
19428 (send_inferior): New procedure.
19429 * lib/gdbserver-support.exp (gdbserver_start): Set
19430 inferior_spawn_id.
19431 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19432
194332015-04-07 Pedro Alves <palves@redhat.com>
19434
19435 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19436 * lib/gdbserver-support.exp (gdbserver_start): Make
19437 $server_spawn_id global.
19438 (gdbserver_start): Don't wait for gdbserver's spawn id with
19439 expect_background.
19440 (close_gdbserver): New procedure.
19441 (gdb_exit): Rename the default version and reimplement.
19442
194432015-04-07 Pedro Alves <palves@redhat.com>
19444
19445 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
19446 append the substituted item, not the original item.
19447
194482015-04-07 Pedro Alves <palves@redhat.com>
19449
19450 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19451 gdb_expect.
19452
194532015-04-07 Pedro Alves <palves@redhat.com>
19454
19455 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19456 output appearing once only.
19457
194582015-04-07 Pedro Alves <palves@redhat.com>
19459
19460 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19461 that doesn't expect anything. Return early if running to main
19462 fails.
19463
194642015-04-07 Yao Qi <yao.qi@linaro.org>
19465
19466 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19467 (child_function): Call alarm.
19468 (main): Move call to alarm into the loop.
19469 * gdb.threads/non-stop-fair-events.exp: Build program with
19470 -DTIMEOUT=$timeout.
19471
194722015-04-06 Doug Evans <xdje42@gmail.com>
19473
19474 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19475 Fix dest parameter to board_info.
19476 (fpc_compile): Ditto.
19477 (gdb_compile_pascal): Rename dest arg to destfile.
19478
194792015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19480
19481 * gdb.ada/funcall_ref.exp: New file.
19482 * gdb.ada/funcall_ref/foo.adb: New file.
19483
194842015-04-02 Yao Qi <yao.qi@linaro.org>
19485
19486 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19487 is remote.
19488
194892015-04-02 Gary Benson <gbenson@redhat.com>
19490
19491 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19492
194932015-04-01 Sasha Smundak <asmundak@google.com>
19494
19495 * gdb.python/py-unwind-maint.c: New file.
19496 * gdb.python/py-unwind-maint.exp: New test.
19497 * gdb.python/py-unwind-maint.py: New file.
19498 * gdb.python/py-unwind.c: New file.
19499 * gdb.python/py-unwind.exp: New test.
19500 * gdb.python/py-unwind.py: New test.
19501
195022015-04-01 Pedro Alves <palves@redhat.com>
19503
19504 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19505 to fail instead of non-existent $test.
19506
195072015-04-01 Pedro Alves <palves@redhat.com>
19508
19509 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19510 GDBFLAGS if not empty.
19511
195122015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19513
19514 * gdb.ada/complete.exp: Remove "multi_line".
19515 * gdb.ada/info_exc.exp: Remove "multi_line".
19516 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19517 * gdb.ada/ptype_field.exp: Remove "multi_line".
19518 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19519 * gdb.ada/tagged.exp: Remove "multi_line".
19520 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19521 [multi_line ...]
19522 * gdb.btrace/delta.exp: Likewise.
19523 * gdb.btrace/exception.exp: Likewise.
19524 * gdb.btrace/function_call_history.exp: Likewise.
19525 * gdb.btrace/instruction_history.exp: Likewise.
19526 * gdb.btrace/nohist.exp: Likewise.
19527 * gdb.btrace/record_goto.exp: Likewise.
19528 * gdb.btrace/segv.exp: Likewise.
19529 * gdb.btrace/stepi.exp: Likewise.
19530 * gdb.btrace/tailcall.exp: Likewise.
19531 * gdb.btrace/unknown_functions.exp: Likewise.
19532 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19533 * lib/gdb.exp: Add the "multi_line" helper.
19534
195352015-04-01 Pedro Alves <palves@redhat.com>
19536
19537 * gdb.threads/tid-reuse.c: New file.
19538 * gdb.threads/tid-reuse.exp: New file.
19539
195402015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19541
19542 PR corefiles/16092
19543 * gdb.base/coredump-filter.c: New file.
19544 * gdb.base/coredump-filter.exp: Likewise.
19545
195462015-03-27 Petr Machata <pmachata@redhat.com>
19547
19548 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19549 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19550 (Dwarf::assemble): Initialize them.
19551 (Dwarf::lines): New function.
19552
195532015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19554
19555 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19556 SYMBOL_PREFIX for x86_64-*-cygwin.
19557
195582015-03-26 Andy Wingo <wingo@igalia.com>
19559
19560 PR symtab/18148
19561 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19562 const_value but not a location.
19563 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19564 location defined in non-main CUs are visible.
19565
195662015-03-26 Yao Qi <yao.qi@linaro.org>
19567
19568 PR testsuite/18139
19569 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19570 Add a line number entry for the same line.
19571 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19572 Add a line number entry for the same line.
19573
195742015-03-26 Yao Qi <yao.qi@linaro.org>
19575
19576 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19577 .int 0.
19578 (func): Likewise. Add .Lfunc_1 label.
19579 Use .Lfunc_1 label.
19580 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19581 .int 0.
19582 (func): Likewise.
19583 Use .Lfunc_1 label.
19584
195852015-03-26 Yao Qi <yao.qi@linaro.org>
19586
19587 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19588 Call gdb_compile instead to compile each .s files without debug
19589 information.
19590
195912015-03-26 Yao Qi <yao.qi@linaro.org>
19592
19593 * gdb.base/savedregs.exp (process_saved_regs): Make
19594 "Saved registers:" optional in the pattern.
19595
195962015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19597
19598 * gdb.btrace/next.exp: Merged into step.exp.
19599 * gdb.btrace/finish.exp: Merged into step.exp.
19600 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19601 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19602 "record goto" and checking the exact replay position.
19603 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19604 check for "Recording format" in "info record" output.
19605 * gdb.btrace/record_goto.exp: Choose test file based on target.
19606 * gdb.btrace/x86-record_goto.S: Renamed into ...
19607 * gdb.btrace/x86_64-record_goto.S: ... this.
19608 * gdb.btrace/i686-record_goto.S: New.
19609 * gdb.btrace/x86-tailcall.S: Renamed into ...
19610 * gdb.btrace/x86_64-tailcall.S: ... this.
19611 * gdb.btrace/i686-tailcall.S: New.
19612 * gdb.btrace/x86-tailcall.c: Renamed into ...
19613 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19614 separate statements. Update test.
19615 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19616 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19617 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19618 * gdb.btrace/tailcall.exp: Choose test file based on target.
19619 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19620
196212015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19622
19623 * gdb.btrace/exception.exp: Increase BTS buffer size.
19624
196252015-03-24 Pedro Alves <palves@redhat.com>
19626
19627 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19628
196292015-03-24 Pedro Alves <palves@redhat.com>
19630
19631 * gdb.threads/schedlock.exp (test_step): No longer expect that
19632 "set scheduler-locking step" with "next" over a function call runs
19633 threads unlocked.
19634
196352015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19636
19637 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19638
196392015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19640
19641 PR breakpoints/16466
19642 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19643 * gdb.mi/mi-pending.c (thread_func): New function.
19644 (int main): Add threading support required.
19645 * gdb.mi/mi-pending.exp: Add tests for this issue.
19646 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19647 (pendfunc2): Remove stdio dependency.
19648 * gdb.mi/mi-pendshr2.c: New file.
19649
196502015-03-23 Keith Seitz <keiths@redhat.com>
19651
19652 * gdb.linespec/keywords.c: New file.
19653 * gdb.linespec/keywords.exp: New file.
19654
196552015-03-23 Keith Seitz <keiths@redhat.com>
19656
19657 PR gdb/18021
19658 * gdb.dwarf2/staticvirtual.exp: New test.
19659
196602015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19661
19662 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19663 * README: Remove HP-UX and gdb.hp.
19664 (configuration):
19665 * configure: Regenerate.
19666 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19667 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19668 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19669 gdb.hp/gdb.defects/Makefile.
19670 * gdb.hp/Makefile.in: File deleted.
19671 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19672 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19673 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19674 * gdb.hp/gdb.aCC/run.c: File deleted.
19675 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19676 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19677 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19678 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19679 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19680 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19681 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19682 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19683 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19684 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19685 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19686 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19687 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19688 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19689 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19690 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19691 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19692 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19693 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19694 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19695 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19696 * gdb.hp/gdb.compat/average.c: File deleted.
19697 * gdb.hp/gdb.compat/sum.c: File deleted.
19698 * gdb.hp/gdb.compat/xdb.c: File deleted.
19699 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19700 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19701 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19702 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19703 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19704 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19705 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19706 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19707 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19708 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19709 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19710 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19711 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19712 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19713 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19714 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19715 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19716 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19717 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19718 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19719 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19720 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19721 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19722 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19723 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19724 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19725 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19726 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19727 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19728 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19729 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19730 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19731 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19732 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19733 * gdb.hp/tools/odump: File deleted.
19734
197352015-03-19 Pedro Alves <palves@redhat.com>
19736
19737 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19738 (saw_thread_3): New globals.
19739 (top level): Increment them when an event for the corresponding
19740 thread is seen.
19741 (no thread starvation): New test.
19742
197432015-03-19 Pedro Alves <palves@redhat.com>
19744
19745 * gdb.threads/continue-pending-status.c: New file.
19746 * gdb.threads/continue-pending-status.exp: New file.
19747
197482015-03-18 Pedro Alves <palves@redhat.com>
19749
19750 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19751 Use gdb_is_target_remote instead of is_remote. Use
19752 gdb_test_multiple instead of gdb_expect. Exit early if
19753 gdb_test_multiple hits its internal matches. Tighten stepi tests
19754 expected output. Fail on exit with any signal, instead of just
19755 SIGILL.
19756
197572015-03-18 Yao Qi <yao.qi@linaro.org>
19758
19759 PR tdep/18107
19760 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19761 variable.
19762 * gdb.base/catch-syscall.exp: Don't skip it on
19763 aarch64*-*-linux* target. Remove elements in all_syscalls.
19764 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19765 target.
19766 (setup_all_syscalls): New proc.
19767
197682015-03-16 Yao Qi <yao.qi@linaro.org>
19769
19770 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19771 (top level): Skip tests if valid_addr_p returns false for
19772 $cmd1 or $cmd2.
19773
197742015-03-11 Andy Wingo <wingo@igalia.com>
19775
19776 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19777
197782015-03-11 Yao Qi <yao.qi@linaro.org>
19779
19780 * gdb.base/catch-syscall.exp: Fix typo in comments.
19781
197822015-03-11 Yao Qi <yao.qi@linaro.org>
19783
19784 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19785
197862015-03-09 Pedro Alves <palves@redhat.com>
19787
19788 * dg-extract-results.py: Delete.
19789
197902015-03-09 Pedro Alves <palves@redhat.com>
19791
19792 Merge dg-extract-results.sh from GCC upstream (r218843).
19793
19794 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19795 * dg-extract-results.sh: Use --text with grep to avoid issues with
19796 binary files. Fall back to cat -v, if that doesn't work.
19797
197982015-03-05 Pedro Alves <palves@redhat.com>
19799
19800 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19801
198022015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19803
19804 * lib/mi-support.exp (mi_expect_interrupt): Accept
19805 alternative event for when in all-stop mode.
19806
198072015-03-04 Pedro Alves <palves@redhat.com>
19808
19809 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19810
198112015-03-04 Mark Kettenis <kettenis@gnu.org>
19812
19813 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19814
198152015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19816
19817 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19818 regexps for GDB's current line display, accept a hex address
19819 preceding the line number.
19820
198212015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19822
19823 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19824 the 'arch1' variable for "s390*-linux*" targets.
19825
198262015-03-04 Pedro Alves <palves@redhat.com>
19827
19828 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19829 (main): Pass missing retval argument to pthread_join call.
19830
198312015-03-02 Pedro Alves <palves@redhat.com>
19832
19833 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19834 (top level): Call do_test with non-stop as well.
19835
198362015-03-02 Pedro Alves <palves@redhat.com>
19837
19838 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19839 -1.
19840
198412015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19842
19843 * gdb.arch/s390-vregs.exp: New test.
19844 * gdb.arch/s390-vregs.S: New file.
19845
198462015-02-27 Pedro Alves <palves@redhat.com>
19847
19848 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19849 call to catch_command_errors.
19850 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19851 catch_command_errors.
19852
198532015-02-27 Pedro Alves <palves@redhat.com>
19854
19855 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19856 "true" for boolean result.
19857 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19858 prototype of main.
19859
198602015-02-27 Pedro Alves <palves@redhat.com>
19861
19862 * lib/unbuffer_output.c: New file.
19863 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19864 (main): Call gdb_unbuffer_output.
19865
198662015-02-27 Yao Qi <yao.qi@linaro.org>
19867
19868 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19869 target.
19870
198712015-02-26 Doug Evans <dje@google.com>
19872
19873 * gdb.cp/class2.cc (Dbase, D): New classes.
19874 (main): New local delta.
19875 * gdb.cp/class2.exp: Test printing delta.
19876 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19877 (dynbar): New global.
19878 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19879
198802015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19881
19882 * gdb.compile/compile-ifunc.c: New file.
19883 * gdb.compile/compile-ifunc.exp: New file.
19884
198852015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19886
19887 * gdb.base/structs.exp: Check for correct struct on finish.
19888
198892015-02-26 Yao Qi <yao.qi@linaro.org>
19890
19891 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19892 is zero.
19893
198942015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19895
19896 * gdb.arch/cordic.ko.bz2: New file.
19897 * gdb.arch/cordic.ko.debug.bz2: New file.
19898 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19899
199002015-02-25 Yao Qi <yao.qi@linaro.org>
19901
19902 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19903 aarch64*-*-* target.
19904
199052015-02-23 Pedro Alves <palves@redhat.com>
19906
19907 * lib/gdb.exp (delete_breakpoints): Rewrite using
19908 gdb_test_multiple.
19909
199102015-02-23 Pedro Alves <palves@redhat.com>
19911
19912 * gdb.base/info-os.c: Include stdlib.h.
19913
199142015-02-22 Doug Evans <xdje42@gmail.com>
19915
19916 PR symtab/17855
19917 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19918 is read after symbols have been re-read.
19919 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19920 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19921
199222015-02-21 Doug Evans <dje@google.com>
19923
19924 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19925
199262015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19927
19928 PR corefiles/17808
19929 * gdb.arch/i386-biarch-core.core.bz2: New file.
19930 * gdb.arch/i386-biarch-core.exp: New file.
19931
199322015-02-21 Pedro Alves <palves@redhat.com>
19933
19934 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19935 runto_main fails.
19936
199372015-02-20 Pedro Alves <palves@redhat.com>
19938
19939 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19940 info probes.
19941
199422015-02-20 Pedro Alves <palves@redhat.com>
19943
19944 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19945
199462015-02-20 Pedro Alves <palves@redhat.com>
19947
19948 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19949 clean_restart before gdb_target_supports_trace.
19950
199512015-02-20 Pedro Alves <palves@redhat.com>
19952
19953 PR threads/18006
19954 * gdb.threads/clone-thread_db.c: New file.
19955 * gdb.threads/clone-thread_db.exp: New file.
19956
199572015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19958
19959 PR breakpoints/16812
19960 * gdb.base/catch-gdb-caused-signals.c: New file.
19961 * gdb.base/catch-gdb-caused-signals.exp: New file.
19962
199632015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19964
19965 * configure: Regenerated.
19966 * configure.ac: Use GDB_AC_TRANSFORM.
19967 * aclocal.m4: sinclude ../transform.m4.
19968
199692015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19970
19971 * lib/dtrace.exp: New file.
19972 * gdb.base/dtrace-probe.exp: Likewise.
19973 * gdb.base/dtrace-probe.d: Likewise.
19974 * gdb.base/dtrace-probe.c: Likewise.
19975 * lib/pdtrace.in: Likewise.
19976 * configure.ac: Output variables with the transformed names of
19977 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19978 * configure: Regenerated.
19979
199802015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19981
19982 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19983 expected message when trying to access $_probe_* convenience
19984 variables while not on a probe.
19985
199862015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19987
19988 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19989
199902015-02-11 Pedro Alves <pedro@codesourcery.com>
19991
19992 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19993 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19994
199952015-02-10 Doug Evans <xdje42@gmail.com>
19996
19997 * lib/gdb.exp (gdb_load): Always return a result.
19998
199992015-02-10 Pedro Alves <palves@redhat.com>
20000
20001 * gdb.threads/signal-sigtrap.c: New file.
20002 * gdb.threads/signal-sigtrap.exp: New file.
20003
200042015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20005
20006 * gdb.trace/no-attach-trace.c: New file.
20007 * gdb.trace/no-attach-trace.exp: New file.
20008
200092015-02-09 Mark Wielaard <mjw@redhat.com>
20010
20011 * gdb.dwarf2/atomic.c: New file.
20012 * gdb.dwarf2/atomic-type.exp: Likewise.
20013
200142015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20015
20016 * gdb.btrace/buffer-size.exp: Update "info record" output.
20017 * gdb.btrace/delta.exp: Update "info record" output.
20018 * gdb.btrace/enable.exp: Update "info record" output.
20019 * gdb.btrace/finish.exp: Update "info record" output.
20020 * gdb.btrace/instruction_history.exp: Update "info record" output.
20021 * gdb.btrace/next.exp: Update "info record" output.
20022 * gdb.btrace/nexti.exp: Update "info record" output.
20023 * gdb.btrace/step.exp: Update "info record" output.
20024 * gdb.btrace/stepi.exp: Update "info record" output.
20025 * gdb.btrace/nohist.exp: Update "info record" output.
20026
200272015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20028
20029 * gdb.btrace/buffer-size: New.
20030
200312015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20032
20033 * gdb.btrace/delta.exp: Update "info record" output.
20034 * gdb.btrace/enable.exp: Update "info record" output.
20035 * gdb.btrace/finish.exp: Update "info record" output.
20036 * gdb.btrace/instruction_history.exp: Update "info record" output.
20037 * gdb.btrace/next.exp: Update "info record" output.
20038 * gdb.btrace/nexti.exp: Update "info record" output.
20039 * gdb.btrace/step.exp: Update "info record" output.
20040 * gdb.btrace/stepi.exp: Update "info record" output.
20041 * gdb.btrace/nohist.exp: Update "info record" output.
20042
200432015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20044
20045 PR gdb/15678
20046 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20047
200482015-02-06 Pedro Alves <palves@redhat.com>
20049
20050 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20051 macro.
20052 (seconds_left, again): New globals.
20053 (main): Wait seconds_left in a 1-second sleep loop instead of
20054 sleeping 180 seconds. If 'again' is set, reset the seconds
20055 counter.
20056 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20057 'again' in the inferior before detaching. Print the seconds left.
20058 (options): New global.
20059 (top level): Build program with -DTIMEOUT=$timeout.
20060
200612015-02-06 Pedro Alves <palves@redhat.com>
20062
20063 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20064 determine how many seconds to pass to 'alarm'.
20065 * gdb.base/gdb-sigterm.exp (top level): Build program with
20066 -DTIMEOUT=$timeout.
20067 (do_test): Return success/failure indication. Add more verbose
20068 logging. Don't fail if 200 single steps are seen. Instead, fail
20069 when the test times out.
20070 (passes): New global.
20071 (top level): Break the testing loop if testing fails on any
20072 iteration. Use gdb_assert.
20073
200742015-02-04 Don Breazeal <donb@codesourcery.com>
20075
20076 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20077 and initialize them.
20078 (ipc_cleanup): New function.
20079 (main): Don't declare shmid, semid, and msqid. Add a call to
20080 atexit so that we call ipc_cleanup on exit.
20081
200822015-02-04 Pedro Alves <palves@redhat.com>
20083
20084 * boards/native-extended-gdbserver.exp: Remove any target variant
20085 specifications from the board name before clearing the isremote
20086 flag from board_info.
20087
200882015-01-31 Doug Evans <xdje42@gmail.com>
20089
20090 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20091
200922015-01-31 Gary Benson <gbenson@redhat.com>
20093
20094 * gdb.base/completion.exp: Disable completion limiting for
20095 existing tests. Add new tests to check completion limiting.
20096 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20097
200982015-01-31 Doug Evans <xdje42@gmail.com>
20099
20100 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20101
201022015-01-31 Doug Evans <xdje42@gmail.com>
20103
20104 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20105 entries. Duplicate file section script entries.
20106 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20107 inlined entries. Add test for safe-path rejection.
20108 * gdb.python/py-section-script.c: Add duplicate inlined section script
20109 entries. Duplicate file section script entries.
20110 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20111 inlined entries. Add test for safe-path rejection.
20112
201132015-01-29 Joel Brobecker <brobecker@adacore.com>
20114
20115 * gdb.ada/disc_arr_bound: New testcase.
20116
201172015-01-29 Joel Brobecker <brobecker@adacore.com>
20118
20119 * gdb.ada/mi_var_array: New testcase.
20120
201212015-01-27 Doug Evans <dje@google.com>
20122
20123 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20124 Add test for objfile.filename, objfile.username after objfile
20125 has been unloaded.
20126
201272015-01-26 Joel Brobecker <brobecker@adacore.com>
20128
20129 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20130 the second test to print the name attribute of value
20131 returned by the call to gdb.lookup_type, and adjust
20132 the expected output accordingly.
20133
201342015-01-25 Mark Wielaard <mjw@redhat.com>
20135
20136 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20137 * gdb.base/disp-step-fork.c: Include unistd.h.
20138 * gdb.base/siginfo-obj.c: Include stdio.h.
20139 * gdb.base/siginfo-thread.c: Likewise.
20140 * gdb.mi/non-stop.c: Include unistd.h.
20141 * gdb.mi/nsthrexec.c: Include stdio.h.
20142 * gdb.mi/pthreads.c: Include unistd.h.
20143 * gdb.modula2/unbounded1.c (main): Declare returns int.
20144 * gdb.reverse/consecutive-reverse.c: Likewise.
20145 * gdb.threads/create-fail.c: Include unistd.h.
20146 * gdb.threads/killed.c: Likewise.
20147 * gdb.threads/linux-dp.c: Likewise.
20148 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20149 * gdb.threads/non-ldr-exc-2.c: Likewise.
20150 * gdb.threads/non-ldr-exc-3.c: Likewise.
20151 * gdb.threads/non-ldr-exc-4.c: Likewise.
20152 * gdb.threads/pthreads.c: Include unistd.h.
20153 (main): Declare returns int.
20154 * gdb.threads/tls-main.c (foo): New declaration.
20155 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20156
201572015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20158
20159 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20160 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20161
201622015-01-15 Mark Wielaard <mjw@redhat.com>
20163
20164 * gdb.base/noreturn-return.c: New file.
20165 * gdb.base/noreturn-return.exp: New file.
20166 * gdb.base/noreturn-finish.c: New file.
20167 * gdb.base/noreturn-finish.exp: New file.
20168
201692015-01-23 Pedro Alves <palves@redhat.com>
20170
20171 * gdb.threads/continue-pending-after-query.c: New file.
20172 * gdb.threads/continue-pending-after-query.exp: New file.
20173
201742015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20175 Simon Marchi <simon.marchi@ericsson.com>
20176
20177 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20178 * gdb.base/valgrind-db-attach.exp: Same.
20179 * gdb.base/valgrind-infcall.exp: Same.
20180 * lib/mi-support.exp (default_mi_gdb_start): Same.
20181 * lib/prompt.exp (default_prompt_gdb_start): Same.
20182 * lib/gdb.exp (default_gdb_spawn): Same.
20183 (gdb_interact): New.
20184
20185
201862015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20187
20188 * gdb.compile/compile.exp (pointer to jit function): New test.
20189
201902015-01-17 Wei-cheng Wang <cole945@gmail.com>
20191
20192 * lib/gdb.exp (supports_process_record): Return true for
20193 powerpc*-*-linux*.
20194 (supports_reverse): Likewise.
20195
201962015-01-15 Don Breazeal <donb@codesourcery.com>
20197
20198 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20199 instead of checking whether the target board is remote and
20200 use spawn_wait_for_attach instead of exec/sleep.
20201 * gdb.base/attach-twice.exp: Likewise.
20202
202032015-01-15 Joel Brobecker <brobecker@adacore.com>
20204
20205 * gdb.ada/var_arr_attrs: New testcase.
20206
202072015-01-14 Pedro Alves <palves@redhat.com>
20208 Joel Brobecker <brobecker@adacore.com>
20209
20210 PR gdb/17525
20211 * gdb.base/bp-cmds-execution-x-script.c: New file.
20212 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20213 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20214
202152015-01-14 Pedro Alves <palves@redhat.com>
20216
20217 PR cli/17828
20218 * gdb.base/batch-preserve-term-settings.c: New file.
20219 * gdb.base/batch-preserve-term-settings.exp: New file.
20220
202212015-01-13 Doug Evans <dje@google.com>
20222
20223 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20224 binary.
20225
202262015-01-13 Joel Brobecker <brobecker@adacore.com>
20227
20228 * Makefile.in (clean mostlyclean): Do not delete *.py.
20229
202302015-01-13 Joel Brobecker <brobecker@adacore.com>
20231
20232 * gdb.python/py-lookup-type.exp: New file.
20233
202342015-01-12 Pedro Alves <palves@redhat.com>
20235
20236 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20237 restore GDBFLAGS before returning.
20238
202392015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20240
20241 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20242 is_amd64_regs_target and is_x86_like_target.
20243
202442015-01-11 Doug Evans <xdje42@gmail.com>
20245
20246 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20247 is given without an explicit form.
20248 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20249 attributes.
20250 * gdb.dwarf/corrupt.exp: Ditto.
20251 * gdb.dwarf2/enum-type.exp: Ditto.
20252 * gdb.trace/entry-values.exp: Ditto.
20253 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20254
202552015-01-11 Doug Evans <xdje42@gmail.com>
20256
20257 PR gdb/15830
20258 * gdb.base/maint.exp: Remove references to "maint demangle".
20259 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20260 Add tests for explicitly specifying language to demangle.
20261 * gdb.dlang/demangle.exp: Ditto.
20262
202632015-01-09 Pedro Alves <palves@redhat.com>
20264
20265 * gdb.threads/non-stop-fair-events.c: New file.
20266 * gdb.threads/non-stop-fair-events.exp: New file.
20267
202682015-01-09 Pedro Alves <palves@redhat.com>
20269
20270 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20271 the global scope. Set a breakpoint after all threads are started
20272 rather than stepping over two source lines. Expect the prompt.
20273 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20274 global.
20275 (NUM): Now 15.
20276 (main): Use threads_started_barrier to wait for all threads to
20277 start. Main thread no longer calls thread_function. Exit after
20278 180 seconds.
20279 (loop): New function.
20280 (thread_function): Wait on threads_started_barrier barrier. Call
20281 'loop' at each iteration.
20282 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20283 threads have started, instead of hardcoding number of "next"
20284 steps. Use an access watchpoint instead of a write watchpoint.
20285
202862015-01-09 Pedro Alves <palves@redhat.com>
20287
20288 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20289 (thread_func): Wait on barrier.
20290 (main): Wait for all threads to start before stopping GDB.
20291 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20292 global.
20293 (thread1_func, thread2_func): Wait on barrier.
20294 (main): Wait for all threads to start before stopping GDB.
20295 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20296 New global.
20297 (thread1_func, thread2_func): Wait on barrier.
20298 (main): Wait for all threads to start before stopping GDB.
20299
203002015-01-09 Pedro Alves <palves@redhat.com>
20301
20302 * gdb.threads/attach-many-short-lived-threads.c: New file.
20303 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20304
203052014-01-09 Pedro Alves <palves@redhat.com>
20306
20307 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20308 instead of to thread 2.
20309 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20310 Add barrier around each pthread_create call instead of around all
20311 calls.
20312 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20313 Set a break on thread_function and have the child threads hit it
20314 one at at a time.
20315
203162015-01-09 Pedro Alves <palves@redhat.com>
20317
20318 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20319 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20320 false.
20321 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20322 checking whether the target board is remote.
20323 * gdb.multi/multi-attach.exp: Likewise.
20324 * gdb.python/py-sync-interp.exp: Likewise.
20325 * gdb.server/ext-attach.exp: Likewise.
20326 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20327 tests that need to attach, instead of checking whether the target
20328 board is remote at the top of the file.
20329
203302015-01-08 Yao Qi <yao@codesourcery.com>
20331
20332 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20333
203342015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20335
20336 Fix testcase compilation.
20337 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20338
203392015-01-06 Joel Brobecker <brobecker@adacore.com>
20340
20341 * gdb.python/py-type.exp: Add a couple test about empty
20342 array creation, and negative-length array creation.
20343
203442015-01-02 Doug Evans <xdje42@gmail.com>
20345
20346 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20347
203482015-01-02 Doug Evans <dje@google.com>
20349
20350 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20351
203522014-12-29 Yao Qi <yao@codesourcery.com>
20353
20354 * gdb.trace/entry-values.exp: Update comments. Rename variable
20355 bar_call_foo to returned_from_foo.
20356
203572014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20358
20359 PR gdb/17394
20360 * gdb.linespec/break-asm-file.c: New file.
20361 * gdb.linespec/break-asm-file.exp: New file.
20362 * gdb.linespec/break-asm-file0.s: New file.
20363 * gdb.linespec/break-asm-file1.s: New file.
20364
203652014-12-18 Nigel Stephens <nigel@mips.com>
20366 Maciej W. Rozycki <macro@codesourcery.com>
20367
20368 * gdb.base/float.exp: Handle the new output from "info float" on
20369 MIPS targets.
20370
203712014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20372
20373 Fix MinGW compilation.
20374 * gdb.compile/compile-ops.exp: Update untested message if
20375 !skip_compile_feature_tests.
20376 * gdb.compile/compile-setjmp.exp: Likewise.
20377 * gdb.compile/compile-tls.exp: Likewise.
20378 * gdb.compile/compile.exp: Likewise.
20379 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20380 supported on this host".
20381
203822014-12-16 Doug Evans <xdje42@gmail.com>
20383
20384 * boards/stabs.exp: New file.
20385
203862014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20387
20388 * gdb.base/completion.exp: Adjust to format changes of "maint
20389 print user-registers".
20390
203912014-12-16 Catalin Udma <catalin.udma@freescale.com>
20392
20393 PR server/17457
20394 * gdb.arch/aarch64-fp.c: New file.
20395 * gdb.arch/aarch64-fp.exp: New file.
20396
203972014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20398
20399 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20400 r210637, r210913, r211666, r215400, r215817).
20401
20402 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20403 * dg-extract-results.py: New file.
20404 * dg-extract-results.sh: Use it if the environment seems
20405 suitable.
20406
20407 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20408
20409 * dg-extract-results.py (parse_run): Handle warnings that
20410 are printed before a test harness is run.
20411
20412 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20413
20414 * dg-extract-results.py (Named): Remove __cmp__ method.
20415 (output_variation): Use a key to sort variation.harnesses.
20416
20417 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20418
20419 * dg-extract-results.py: For Python 3, force sys.stdout to
20420 handle surrogate escape sequences.
20421 (safe_open): New function.
20422 (output_segment, main): Use it.
20423
20424 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20425
20426 * dg-extract-results.py (Prog.result_re): Include options
20427 in test name.
20428
20429 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20430
20431 * dg-extract-results.py (output_variation): Always sort if
20432 do_sum.
20433
204342014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20435
20436 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20437 as long as we get pagination notifications.
20438
204392014-12-15 Jason Merrill <jason@redhat.com>
20440
20441 * Makefile.in (check-gdb.%): Restore.
20442 * README: Mention it.
20443
204442014-12-13 Joel Brobecker <brobecker@adacore.com>
20445
20446 * gdb.ada/str_uninit: New testcase.
20447
204482014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20449
20450 PR symtab/17642
20451 * gdb.base/vla-stub-define.c: New file.
20452 * gdb.base/vla-stub.c: New file.
20453 * gdb.base/vla-stub.exp: New file.
20454
204552014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20456 Jan Kratochvil <jan.kratochvil@redhat.com>
20457 Tom Tromey <tromey@redhat.com>
20458
20459 * configure.ac: Add gdb.compile/.
20460 * configure: Regenerate.
20461 * gdb.compile/Makefile.in: New file.
20462 * gdb.compile/compile-ops.exp: New file.
20463 * gdb.compile/compile-ops.c: New file.
20464 * gdb.compile/compile-tls.c: New file.
20465 * gdb.compile/compile-tls.exp: New file.
20466 * gdb.compile/compile-constvar.S: New file.
20467 * gdb.compile/compile-constvar.c: New file.
20468 * gdb.compile/compile-mod.c: New file.
20469 * gdb.compile/compile-nodebug.c: New file.
20470 * gdb.compile/compile-setjmp-mod.c: New file.
20471 * gdb.compile/compile-setjmp.c: New file.
20472 * gdb.compile/compile-setjmp.exp: New file.
20473 * gdb.compile/compile-shlib.c: New file.
20474 * gdb.compile/compile.c: New file.
20475 * gdb.compile/compile.exp: New file.
20476 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20477
204782014-12-12 Tom Tromey <tromey@redhat.com>
20479
20480 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20481 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20482
204832014-12-12 Doug Evans <dje@google.com>
20484
20485 * lib/gdb-python.exp (get_python_valueof): New function.
20486 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20487
204882014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20489
20490 * gdb.base/completion.exp: Add test for completion of "info
20491 registers ".
20492
204932014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20494
20495 * gdb.base/func-ptrs.c: New file.
20496 * gdb.base/func-ptrs.exp: New file.
20497
204982014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20499
20500 PR breakpoints/17012
20501 * gdb.base/dprintf-detach.c: New file.
20502 * gdb.base/dprintf-detach.exp: New file.
20503
205042014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20505
20506 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20507 * lib/gdb.exp (target_is_gdbserver): New procedure.
20508
205092014-12-08 Doug Evans <dje@google.com>
20510
20511 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20512
205132014-12-05 Yao Qi <yao@codesourcery.com>
20514
20515 * gdb.guile/scm-error.exp: Remove the third argument to
20516 gdb_remote_download.
20517 * gdb.guile/scm-frame-args.exp: Likewise.
20518 * gdb.guile/scm-section-script.exp: Likewise.
20519
205202014-12-05 Yao Qi <yao@codesourcery.com>
20521
20522 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20523
205242014-12-04 Doug Evans <dje@google.com>
20525
20526 * gdb.python/py-objfile.exp: Add tests for
20527 objfile.add_separate_debug_file.
20528
205292014-12-04 Doug Evans <dje@google.com>
20530
20531 * lib/gdb.exp (get_build_id): New function.
20532 (build_id_debug_filename_get): Rewrite to use it.
20533 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20534
205352014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20536
20537 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20538 `method(long)', not just 0x0.
20539 * gdb.cp/nsalias.exp: Align code labels to 4.
20540 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20541 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20542 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20543 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20544 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20545 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20546
205472014-12-02 Doug Evans <dje@google.com>
20548
20549 PR symtab/17602
20550 * gdb.cp/anon-ns.cc: Move guts of this file to ...
20551 * gdb.cp/anon-ns2.cc: ... here. New file.
20552 * gdb.cp/anon-ns.exp: Update.
20553
205542014-12-02 Nick Bull <nicholaspbull@gmail.com>
20555
20556 * gdb.python/py-events.py (inferior_call_handler): New.
20557 (register_changed_handler, memory_changed_handler): New.
20558 (test_events.invoke): Register new handlers.
20559 * gdb.python/py-events.exp: Add tests for inferior call,
20560 memory_changed and register_changed events.
20561
205622014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20563
20564 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20565 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20566 if the linker doesn't understand this.
20567
205682014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20569
20570 * gdb.python/python.exp: Change expected reply to help().
20571
205722014-12-01 Yao Qi <yao@codesourcery.com>
20573
20574 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20575 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20576 * configure: Re-generated.
20577
205782014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20579
20580 * gdb.cp/chained-calls.cc: New file.
20581 * gdb.cp/chained-calls.exp: New file.
20582 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20583
205842014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20585
20586 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20587 * gdb.dwarf2/symtab-producer.exp: Same.
20588 * gdb.gdb/python-interrupts.exp: Same.
20589 * gdb.gdb/python-selftest.exp: Same.
20590 * gdb.python/py-linetable.exp: Same.
20591 * gdb.python/py-type.exp: Same.
20592 * gdb.python/py-value-cc.exp: Same.
20593 * gdb.python/py-value.exp: Same.
20594
205952014-11-28 Yao Qi <yao@codesourcery.com>
20596
20597 * gdb.base/break-probes.exp: Match library name prefixed with
20598 sysroot.
20599
206002014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20601
20602 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20603 test expected output. Add parentheses for the call to print.
20604 Remove L suffix from integers.
20605
206062014-11-26 Doug Evans <dje@google.com>
20607
20608 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20609
206102014-11-22 Yao Qi <yao@codesourcery.com>
20611
20612 * gdb.trace/entry-values.c: Remove asms.
20613 (foo): Add foo_label.
20614 (bar): Add bar_label.
20615 * gdb.trace/entry-values.exp: Remove code computing foo's
20616 length and bar's length.
20617 (Dwarf::assemble): Invoke function_range for bar and use
20618 MACRO_AT_func for foo.
20619
206202014-11-22 Yao Qi <yao@codesourcery.com>
20621
20622 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20623 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20624 Use .Lgcc43_procstart instead of gcc43.
20625
206262014-11-21 Joel Brobecker <brobecker@adacore.com>
20627
20628 * gdb.ada/n_arr_bound: New testcase.
20629
206302014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20631
20632 PR breakpoints/10737
20633 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20634 test_catch_syscall_multi_arch.
20635 (test_catch_syscall_multi_arch): New function.
20636
206372014-11-20 Doug Evans <xdje42@gmail.com>
20638
20639 * gdb.base/maint.exp: Update expected output.
20640
206412014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20642
20643 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20644 4-byte instruction on S390.
20645
206462014-11-19 Joel Brobecker <brobecker@adacore.com>
20647
20648 * gdb.ada/arr_arr: New testcase.
20649
206502014-11-19 Joel Brobecker <brobecker@adacore.com>
20651
20652 * gdb.ada/pkd_arr_elem: New Testcase.
20653
206542014-11-18 Luis Machado <lgustavo@codesourcery.com>
20655
20656 * gdb.reverse/break-precsave: Expect completion message for
20657 core file reads.
20658 * gdb.reverse/consecutive-precsave.exp: Likewise.
20659 * gdb.reverse/finish-precsave.exp: Likewise.
20660 * gdb.reverse/i386-precsave.exp: Likewise.
20661 * gdb.reverse/machinestate-precsave.exp: Likewise.
20662 * gdb.reverse/sigall-precsave.exp: Likewise.
20663 * gdb.reverse/solib-precsave.exp: Likewise.
20664 * gdb.reverse/step-precsave.exp: Likewise.
20665 * gdb.reverse/until-precsave.exp: Likewise.
20666 * gdb.reverse/watch-precsave.exp: Likewise.
20667
206682014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20669
20670 * gdb.base/bp-permanent.c: Include unistd.h.
20671 * gdb.python/py-framefilter-mi.c (main): Add return type.
20672 * gdb.python/py-framefilter.c (main): Likewise.
20673 * gdb.trace/actions-changed.c (main): Likewise.
20674
206752014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20676
20677 * gdb.mi/until.c: Add eye-catchers.
20678 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20679 line numbers.
20680
206812014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20682
20683 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20684 function header variants in break1.c.
20685 * gdb.base/ena-dis-br.exp: Likewise.
20686 * gdb.base/hbreak2.exp: Likewise.
20687 * gdb.reverse/until-precsave.exp: Drop references to removed
20688 non-prototype function header variants in ur1.c.
20689 * gdb.reverse/until-reverse.exp: Likewise.
20690
206912014-11-17 Petr Machata <pmachata@redhat.com>
20692
20693 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20694 ${_cu_offset_size} bytes abbrev offset.
20695
206962014-11-15 Doug Evans <xdje42@gmail.com>
20697
20698 PR symtab/17559
20699 * gdb.base/line-symtabs.exp: New file.
20700 * gdb.base/line-symtabs.c: New file.
20701 * gdb.base/line-symtabs.h: New file.
20702
207032014-11-14 Yao Qi <yao@codesourcery.com>
20704
20705 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20706 (func): Add label func_label.
20707 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20708 Replace low_pc and high_pc with MACRO_AT_range.
20709 Replace name, low_pc and high_pc with MACRO_AT_func.
20710
207112014-11-14 Yao Qi <yao@codesourcery.com>
20712
20713 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20714 Replace name, low_pc and high_pc with MACRO_AT_func.
20715
207162014-11-14 Yao Qi <yao@codesourcery.com>
20717
20718 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20719 produce debug information.
20720 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20721
207222014-11-14 Yao Qi <yao@codesourcery.com>
20723
20724 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20725 object and get function length.
20726 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20727 with MACRO_AT_func.
20728 (top-level): Replace gdb_compile and clean_restart with
20729 prepare_for_testing.
20730 * gdb.dwarf2/main.c (main): Add label main_label.
20731
207322014-11-14 Yao Qi <yao@codesourcery.com>
20733
20734 * lib/dwarf.exp (function_range): New procedure.
20735 (Dwarf::_handle_macro_at_func): New procedure.
20736 (Dwarf::_handle_macro_at_range): New procedure.
20737 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20738
207392014-11-14 Yao Qi <yao@codesourcery.com>
20740
20741 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20742 (_handle_attribute): New procedure.
20743
207442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20745
20746 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20747 * gdb.base/call-sc.c (zed): Likewise.
20748 * gdb.base/checkpoint.c (main): Likewise.
20749 * gdb.base/dump.c (main): Likewise.
20750 * gdb.base/gcore.c (main): Likewise.
20751 * gdb.base/huge.c (main): Likewise.
20752 * gdb.base/multi-forks.c (main): Likewise.
20753 * gdb.base/pr10179-a.c (main): Likewise.
20754 * gdb.base/savedregs.c (main): Likewise.
20755 * gdb.base/sigaltstack.c (main): Likewise.
20756 * gdb.base/siginfo.c (main): Likewise.
20757 * gdb.base/structs.c (zed): Likewise.
20758 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20759 * gdb.mi/mi-syn-frame.c (main): Likewise.
20760 * gdb.mi/until.c (foo, main): Likewise.
20761 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20762 * gdb.base/solib-weak.c (foo): Declare.
20763 * gdb.base/attach-twice.c: Include stdio.h.
20764 * gdb.base/weaklib1.c: Likewise.
20765 * gdb.base/weaklib2.c: Likewise.
20766 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20767 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20768 unistd.h.
20769 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20770 * gdb.mi/mi-exit-code.c: Likewise.
20771 * gdb.base/break-interp-lib.c: Include string.h.
20772 * gdb.base/coremaker.c: Likewise.
20773 * gdb.base/testenv.c: Likewise.
20774 * gdb.python/py-finish-breakpoint.c: Likewise.
20775 * gdb.base/inferior-died.c: Include sys/wait.h.
20776 * gdb.base/fileio.c: Include time.h.
20777 * gdb.base/async-shell.c: Include unistd.h.
20778 * gdb.base/dprintf-non-stop.c: Likewise.
20779 * gdb.base/info-os.c: Likewise.
20780 * gdb.mi/mi-console.c: Likewise.
20781 * gdb.mi/watch-nonstop.c: Likewise.
20782 * gdb.python/py-events.c: Likewise.
20783 * gdb.base/async.c (baz): Move up before its invocation.
20784 * gdb.base/code_elim2.c (my_global_func): Likewise.
20785 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20786 * gdb.base/advance.c (func2): Likewise.
20787
207882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20789
20790 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20791 variant.
20792 * gdb.base/annota3.c: Likewise.
20793 * gdb.base/async.c: Likewise.
20794 * gdb.base/average.c: Likewise.
20795 * gdb.base/call-ar-st.c: Likewise.
20796 * gdb.base/call-rt-st.c: Likewise.
20797 * gdb.base/call-sc.c: Likewise.
20798 * gdb.base/call-strs.c: Likewise.
20799 * gdb.base/ending-run.c: Likewise.
20800 * gdb.base/execd-prog.c: Likewise.
20801 * gdb.base/exprs.c: Likewise.
20802 * gdb.base/foll-exec.c: Likewise.
20803 * gdb.base/foll-fork.c: Likewise.
20804 * gdb.base/foll-vfork.c: Likewise.
20805 * gdb.base/funcargs.c: Likewise.
20806 * gdb.base/gcore.c: Likewise.
20807 * gdb.base/jump.c: Likewise.
20808 * gdb.base/langs0.c: Likewise.
20809 * gdb.base/langs1.c: Likewise.
20810 * gdb.base/langs2.c: Likewise.
20811 * gdb.base/mips_pro.c: Likewise.
20812 * gdb.base/nodebug.c: Likewise.
20813 * gdb.base/opaque0.c: Likewise.
20814 * gdb.base/opaque1.c: Likewise.
20815 * gdb.base/recurse.c: Likewise.
20816 * gdb.base/run.c: Likewise.
20817 * gdb.base/scope0.c: Likewise.
20818 * gdb.base/scope1.c: Likewise.
20819 * gdb.base/setshow.c: Likewise.
20820 * gdb.base/setvar.c: Likewise.
20821 * gdb.base/shmain.c: Likewise.
20822 * gdb.base/shr1.c: Likewise.
20823 * gdb.base/shr2.c: Likewise.
20824 * gdb.base/sigall.c: Likewise.
20825 * gdb.base/signals.c: Likewise.
20826 * gdb.base/so-indr-cl.c: Likewise.
20827 * gdb.base/solib2.c: Likewise.
20828 * gdb.base/structs.c: Likewise.
20829 * gdb.base/sum.c: Likewise.
20830 * gdb.base/vforked-prog.c: Likewise.
20831 * gdb.base/watchpoint.c: Likewise.
20832 * gdb.reverse/shr2.c: Likewise.
20833 * gdb.reverse/until-reverse.c: Likewise.
20834 * gdb.reverse/ur1.c: Likewise.
20835 * gdb.reverse/watch-reverse.c: Likewise.
20836
208372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20838
20839 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20840 variant.
20841 * gdb.base/sepdebug.exp: Drop references to removed code.
20842
208432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20844
20845 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20846 variant. Preserve original line numbering.
20847 * gdb.base/list1.c: Likewise.
20848
208492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20850
20851 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20852 variant.
20853 * gdb.base/break1.c: Likewise.
20854 * gdb.base/break.exp: Drop references to removed code.
20855
208562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20857
20858 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20859 variant.
20860
208612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20862
20863 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20864
208652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20866
20867 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20868 logic into perform_all_tests() and invoke it with and without
20869 function header prototypes.
20870 (do_function_calls): Remove conditional XFAIL for PR 5318.
20871 (rerun_and_prepare): Remove duplicate code.
20872 (perform_all_tests): New. Main logic moved here.
20873
208742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20875
20876 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20877 code guarded by #ifdef NO_PROTOTYPES.
20878 (t_double_many_args): Likewise.
20879 (DEF_FUNC_MANY_ARGS_1): Likewise.
20880 (DEF_FUNC_VALUES_1): Likewise.
20881 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20882 guarded by #ifdef PROTOTYPES.
20883
208842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20885
20886 * gdb.mi/mi-console.c: Add eye-catcher.
20887 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20888 instead of literal line number.
20889
208902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20891
20892 * gdb.base/shr2.c: Add eye-catcher.
20893 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20894 line number.
20895
208962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20897
20898 * gdb.base/jump.c: Add eye-catchers.
20899 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20900 numbers.
20901
209022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20903
20904 * gdb.base/execd-prog.c: Add eye-catchers.
20905 * gdb.base/foll-exec.c: Likewise.
20906 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20907 line numbers.
20908
209092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20910
20911 * gdb.base/ending-run.c: Add eye-catchers.
20912 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20913 literal line numbers.
20914
209152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20916
20917 * gdb.base/call-rt-st.c: Add eye-catchers.
20918 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20919 literal line numbers.
20920
209212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20922
20923 * gdb.base/call-ar-st.c: Add eye-catchers.
20924 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20925 literal line numbers.
20926
209272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20928
20929 * gdb.base/average.c: Add eye-catchers.
20930 * gdb.base/sum.c: Likewise.
20931 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20932 regexps dynamically.
20933
209342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20935
20936 * gdb.base/solib1.c: Add eye-catchers.
20937 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20938 literal line numbers.
20939
209402014-11-12 Pedro Alves <palves@redhat.com>
20941
20942 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20943 leader has exited.
20944
209452014-11-12 Pedro Alves <palves@redhat.com>
20946
20947 * gdb.arch/i386-bp_permanent.c: New file.
20948 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20949 (srcfile): Set to i386-bp_permanent.c.
20950 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20951 that stepi does not execute the 'leave' instruction, instead of
20952 testing it does execute.
20953 * gdb.base/bp-permanent.c: New file.
20954 * gdb.base/bp-permanent.exp: New file.
20955
209562014-11-10 Doug Evans <xdje42@gmail.com>
20957
20958 PR symtab/17564
20959 * gdb.base/symtab-search-order.exp: New file.
20960 * gdb.base/symtab-search-order.c: New file.
20961 * gdb.base/symtab-search-order-1.c: New file.
20962 * gdb.base/symtab-search-order-shlib-1.c: New file.
20963
209642014-11-07 Pedro Alves <palves@redhat.com>
20965
20966 PR gdb/17511
20967 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20968 i?86-*-linux*.
20969
209702014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20971
20972 PR c++/17494
20973 * gdb.cp/pr17494.cc: New file.
20974 * gdb.cp/pr17494.exp: New file.
20975
209762014-11-02 Yao Qi <yao@codesourcery.com>
20977
20978 * gdb.python/python.exp: Get working directory and match the
20979 output of "set extended-prompt \\w " with it.
20980
209812014-10-30 Doug Evans <dje@google.com>
20982
20983 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20984 in objfiles.
20985 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20986 in progspaces.
20987
209882014-10-30 Janis Johnson <janisjo@codesourcery.com>
20989
20990 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20991 * gdb.base/realname-expand.exp: Likewise.
20992 * gdb.linespec/macro-relative.exp: Likewise.
20993
209942014-10-29 Pedro Alves <palves@redhat.com>
20995
20996 PR gdb/17408
20997 * gdb.threads/schedlock.c (some_function): New function.
20998 (call_function): New global.
20999 (MAYBE_CALL_SOME_FUNCTION): New macro.
21000 (thread_function): Call it.
21001 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21002 and use it instead of a global counter. Adjust all callers.
21003 (get_current_thread): Use "find current thread" for test message
21004 here rather than having all callers pass down the same string.
21005 (goto_loop): New procedure, factored out from ...
21006 (my_continue): ... this.
21007 (step_ten_loops): Change parameter from test message to command to
21008 use. Adjust.
21009 (list_count): Delete global.
21010 (check_result): New procedure, factored out from duplicate top
21011 level code.
21012 (continue tests): Wrap in with_test_prefix.
21013 (test_step): New procedure, factored out from duplicate top level
21014 code.
21015 (top level): Test "step" in combination with all scheduler-locking
21016 modes. Test "next" in combination with all scheduler-locking
21017 modes, and in combination with stepping over a function call or
21018 not.
21019 * gdb.threads/next-bp-other-thread.c: New file.
21020 * gdb.threads/next-bp-other-thread.exp: New file.
21021
210222014-10-29 Pedro Alves <palves@redhat.com>
21023
21024 PR python/17372
21025 * gdb.python/python.exp: Test a multi-line command that spawns
21026 interactive Python.
21027 * gdb.base/multi-line-starts-subshell.exp: New file.
21028
210292014-10-29 Yao Qi <yao@codesourcery.com>
21030
21031 * gdb.base/fileio.exp: Make directories on host.
21032
210332014-10-29 Yao Qi <yao@codesourcery.com>
21034
21035 * gdb.base/fileio.c (test_write): Close the file.
21036
210372014-10-28 Pedro Alves <palves@redhat.com>
21038
21039 PR gdb/12623
21040 * gdb.base/sigstep.c (no_handler): New global.
21041 (main): If 'no_handler is true, set the signal handlers to
21042 SIG_IGN.
21043 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21044 with_sw_watch and no_handler parameters. Handle them.
21045 (top level) <stepping over handler when stopped at a breakpoint
21046 test>: Add a test axis for testing with a software watchpoint, and
21047 another for testing with the signal handler set to SIG_IGN.
21048 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21049 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21050
210512014-10-28 Pedro Alves <palves@redhat.com>
21052
21053 PR gdb/17511
21054 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21055 * gdb.base/sigstep.exp (other_handler_location): New global.
21056 (advance): Support stepping into the signal handler, and running
21057 commands while in the handler.
21058 (in_handler_map): New global.
21059 (top level): In the advance test, add combinations for getting
21060 into the handler with stepping commands, and for running commands
21061 in the handler. Add comment descripting the advancei tests.
21062
210632014-10-28 Pedro Alves <palves@redhat.com>
21064
21065 * gdb.base/sigstep.exp: Use build_executable instead of
21066 prepare_for_testing.
21067 (top level): Move code that starts GDB, runs to main and creates a
21068 display to ...
21069 (restart): ... this new procedure.
21070 (top level): Move backtrace from signal handler test to ...
21071 (validate_backtrace): ... this new procedure.
21072 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21073 with_test_prefix. Always restart GDB.
21074 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21075 with_test_prefix. Always restart GDB. No need to delete
21076 breakpoints after the test.
21077 (test_skip_handler): Remove prefix parameter.
21078 (skip_over_handler, breakpoint_to_handler)
21079 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21080 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21081 restart GDB. No need to delete breakpoints after the test.
21082 (top level): Use foreach to call the test procedures with
21083 different commands.
21084
210852014-10-28 Pedro Alves <palves@redhat.com>
21086
21087 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21088 instead of GNATS numbers.
21089 * gdb.base/sigbpt.exp: Likewise.
21090 * gdb.base/siginfo.exp: Likewise.
21091 * gdb.base/sigstep.exp: Likewise.
21092
210932014-10-27 Pedro Alves <palves@redhat.com>
21094
21095 * gdb.base/sigstep.c (dummy): New global.
21096 (main): Issue a couple writes to the new global.
21097 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21098 procedures.
21099 (skip_over_handler): Use test_skip_handler.
21100 (top level): Call skip_over_handler for stepi and nexti too.
21101 (breakpoint_over_handler): Use test_skip_handler.
21102 (top level): Call breakpoint_over_handler for stepi and nexti too.
21103
211042014-10-27 Yao Qi <yao@codesourcery.com>
21105
21106 * gdb.trace/tfile.c (adjust_function_address)
21107 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21108 function descriptor.
21109
211102014-10-24 Don Breazeal <donb@codesourcery.com>
21111
21112 * gdb.base/foll-fork.exp (test_follow_fork,
21113 catch_fork_child_follow): Check for updated fork messages emitted
21114 from infrun.c.
21115 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21116 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21117 vfork_and_exec_child_follow_through_step): Check for updated vfork
21118 messages emitted from infrun.c.
21119
211202014-10-24 Pedro Alves <palves@redhat.com>
21121
21122 * gdb.base/corefile.exp: Remove references to ultrix.
21123 * gdb.base/interrupt.exp: Likewise.
21124 * gdb.base/whatis.exp: Likewise.
21125 * gdb.gdb/selftest.exp: Likewise.
21126 * gdb.threads/manythreads.exp: Likewise.
21127 * gdb.threads/print-threads.exp: Likewise.
21128 * gdb.threads/pthreads.exp:: Likewise.
21129 * gdb.threads/schedlock.exp: Likewise.
21130
211312014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21132
21133 * gdb.cp/non-trivial-retval.cc: Add a test case.
21134 * gdb.cp/non-trivial-retval.exp: Add a test.
21135
211362014-10-20 Yao Qi <yao@codesourcery.com>
21137
21138 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21139 * gdb.python/py-objfile-script-gdb.py: New file.
21140 * gdb.python/py-objfile-script.exp: Update reference to
21141 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21142 of remote_download. Remove the dest file.
21143
211442014-10-20 Yao Qi <yao@codesourcery.com>
21145
21146 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21147 * gdb.base/step-line.exp: Likewise.
21148 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21149 * gdb.dwarf2/dw2-basic.exp: Likewise.
21150 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21151 * gdb.dwarf2/dw2-filename.exp: Likewise.
21152 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21153 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21154 * gdb.dwarf2/dw2-producer.exp: Likewise.
21155 * gdb.dwarf2/mac-fileno.exp: Likewise.
21156 * gdb.python/py-frame-args.exp: Likewise.
21157 * gdb.python/py-framefilter.exp: Likewise.
21158 * gdb.python/py-mi.exp: Likewise.
21159 * gdb.python/py-objfile-script.exp: Likewise
21160 * gdb.python/py-pp-integral.exp: Likewise.
21161 * gdb.python/py-pp-re-notag.exp: Likewise.
21162 * gdb.python/py-prettyprint.exp: Likewise.
21163 * gdb.python/py-section-script.exp: Likewise.
21164 * gdb.python/py-typeprint.exp: Likewise.
21165 * gdb.python/py-xmethods.exp: Likewise.
21166 * gdb.stabs/weird.exp: Likewise.
21167 * gdb.xml/tdesc-regs.exp: Likewise.
21168
211692014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21170
21171 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21172 (out_cu): Use addr_len for the size of addresses.
21173 (out_line): Likewise. Size DW_LNE_set_address instruction
21174 according to addr_len.
21175 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21176 (FUNC): Add START_INSNS to definition.
21177
211782014-10-18 Yao Qi <yao@codesourcery.com>
21179
21180 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21181 gdb_has_argv0 return true.
21182 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21183 check [target_info exists noargs], check [gdb_has_argv0]
21184 instead.
21185 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21186 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21187 procedures.
21188
211892014-10-17 Doug Evans <dje@google.com>
21190
21191 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21192 event.
21193 * gdb.python/py-events.py: Add clear_objfiles event.
21194
211952014-10-17 Doug Evans <dje@google.com>
21196
21197 * gdb.python/py-objfile.exp: Test progspace attribute.
21198
211992014-10-17 Luis Machado <lgustavo@codesourcery.com>
21200
21201 * gdb.guile/scm-breakpoint.exp: Do not assume any
21202 directory separators when matching source file paths.
21203 * gdb.python/py-breakpoint.exp: Likewise.
21204 * gdb.reverse/break-precsave.exp: Likewise.
21205 * gdb.reverse/break-reverse.exp: Likewise.
21206 * gdb.reverse/consecutive-precsave.exp: Likewise.
21207 * gdb.reverse/finish-precsave.exp: Likewise.
21208 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21209 * gdb.reverse/finish-reverse.exp: Likewise.
21210 * gdb.reverse/i386-precsave.exp: Likewise.
21211 * gdb.reverse/i387-env-reverse.exp: Likewise.
21212 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21213 * gdb.reverse/machinestate-precsave.exp: Likewise.
21214 * gdb.reverse/machinestate.exp: Likewise.
21215 * gdb.reverse/sigall-precsave.exp: Likewise.
21216 * gdb.reverse/solib-precsave.exp: Likewise.
21217 * gdb.reverse/step-precsave.exp: Likewise.
21218 * gdb.reverse/until-precsave.exp: Likewise.
21219 * gdb.reverse/watch-precsave.exp: Likewise.
21220 * gdb.reverse/watch-reverse.exp: Likewise.
21221
212222014-10-17 Yao Qi <yao@codesourcery.com>
21223
21224 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21225 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21226
212272014-10-17 Pedro Alves <palves@redhat.com>
21228
21229 PR gdb/17471
21230 * gdb.base/bg-execution-repeat.c: New file.
21231 * gdb.base/bg-execution-repeat.exp: New file.
21232
212332014-10-17 Pedro Alves <palves@redhat.com>
21234
21235 PR gdb/17300
21236 * gdb.base/continue-all-already-running.c: New file.
21237 * gdb.base/continue-all-already-running.exp: New file.
21238
212392014-10-17 Pedro Alves <palves@redhat.com>
21240
21241 PR gdb/17472
21242 * gdb.base/annota-input-while-running.c: New file.
21243 * gdb.base/annota-input-while-running.exp: New file.
21244
212452014-10-17 Pedro Alves <palves@redhat.com>
21246
21247 * gdb.base/callfuncs.exp: emove references to osf.
21248 * gdb.base/sigall.exp: Likewise.
21249 * gdb.gdb/selftest.exp: Likewise.
21250 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21251 * gdb.mi/non-stop.c: Likewise.
21252 * gdb.mi/pthreads.c: Likewise.
21253 * gdb.reverse/sigall-precsave.exp: Likewise.
21254 * gdb.reverse/sigall-reverse.exp: Likewise.
21255 * gdb.threads/pthreads.c: Likewise.
21256 * gdb.threads/pthreads.exp: Likewise.
21257
212582014-10-17 Yao Qi <yao@codesourcery.com>
21259
21260 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21261 check 'target_info exists noargs'.
21262 (test_command_prompt_position): Likewise.
21263 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21264 Remove "set args".
21265 (progvar_simple_while_test): Likewise.
21266 (progvar_complex_if_while_test): Likewise.
21267 (if_while_breakpoint_command_test): Likewise.
21268 (infrun_breakpoint_command_test): Likewise.
21269 (breakpoint_command_test): Likewise.
21270 (watchpoint_command_test): Likewise.
21271 (bp_deleted_in_command_test): Likewise.
21272 (temporary_breakpoint_commands): Likewise.
21273
212742014-10-16 Yao Qi <yao@codesourcery.com>
21275
21276 * gdb.base/remotetimeout.exp: Remove noargs checking.
21277
212782014-10-15 Pedro Alves <palves@redhat.com>
21279
21280 PR breakpoints/9649
21281 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21282 * gdb.base/breakpoint-in-ro-region.exp
21283 (probe_target_hardware_step): New procedure.
21284 (top level): Probe hardware stepping and hardware breakpoint
21285 support. Test stepping through a read-only region, with both
21286 "breakpoint auto-hw" on and off and both "always-inserted" on and
21287 off.
21288
212892014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21290
21291 * gdb.dlang/demangle.exp: Update for demangling changes.
21292
212932014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21294
21295 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21296 * gdb.cp/non-trivial-retval.exp: Add new tests.
21297
212982014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21299
21300 PR c++/13403
21301 PR c++/15154
21302 * gdb.cp/non-trivial-retval.cc: New file.
21303 * gdb.cp/non-trivial-retval.exp: New file.
21304
213052014-10-15 Yao Qi <yao@codesourcery.com>
21306
21307 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21308 remote host.
21309
213102014-10-15 Yao Qi <yao@codesourcery.com>
21311
21312 * gdb.python/py-symbol.exp: Match file base name if host is
21313 remote, otherwise match file name with dir name.
21314 * gdb.python/py-symtab.exp: Likewise.
21315 * gdb.python/python.exp: Likewise.
21316
213172014-10-15 Yao Qi <yao@codesourcery.com>
21318
21319 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21320 pattern.
21321 * gdb.python/py-symtab.exp: Likewise.
21322 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21323 locationn.
21324
213252014-10-14 Joel Brobecker <brobecker@adacore.com>
21326
21327 * gdb.ada/addr_arith: New testcase.
21328
213292014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21330
21331 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21332 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21333 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21334 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21335
213362014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21337
21338 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21339 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21340 * gdb.arch/stap-eval-lang-ada.exp: New file.
21341
213422014-10-14 Yao Qi <yao@codesourcery.com>
21343
21344 * gdb.mi/mi-var-child.c (nothing1): New function.
21345 (nothing2): New function.
21346 (do_children_tests): Set function pointers by nothing1 and
21347 nothing2.
21348 * gdb.mi/mi-var-child.exp: Step over new added statements.
21349 Update test to match the new output.
21350 * gdb.mi/var-cmd.c (nothing1): New function.
21351 (nothing2): New function.
21352 (do_children_tests): Set function pointers by nothing1 and
21353 nothing2.
21354 * gdb.mi/mi-var-display.exp: Update test to match output.
21355 Step to the line specified by $line_dct_nothing.
21356 Increase the number of lines to step.
21357
213582014-10-14 Yao Qi <yao@codesourcery.com>
21359
21360 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21361 tests.
21362 * gdb.mi/mi2-var-child.exp: Likewise.
21363
213642014-10-13 Doug Evans <dje@google.com>
21365
21366 * gdb.python/py-objfile.exp: Change name of file name test.
21367
213682014-10-13 Doug Evans <dje@google.com>
21369
21370 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21371 from the start of the CU.
21372
213732014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21374 Yao Qi <yao@codesourcery.com>
21375
21376 Fix "save breakpoints" for "catch" command.
21377 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21378 Remove -nonewline. Match also the added "main" line.
21379
213802014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21381
21382 Fix "save breakpoints" for "disable $bpnum" command.
21383 * gdb.base/save-bp.c (main): Add label.
21384 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21385
213862014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21387
21388 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21389
213902014-10-11 Yao Qi <yao@codesourcery.com>
21391
21392 * gdb.server/server-kill.exp: Execute command
21393 "set remote trace-status-packet on" before "tstatus".
21394
213952014-10-11 Yao Qi <yao@codesourcery.com>
21396
21397 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21398 (main): Call getppid.
21399 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21400 and continue to it. Read variable "server_pid".
21401
214022014-10-11 Yao Qi <yao@codesourcery.com>
21403
21404 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21405
214062014-10-11 Yao Qi <yao@codesourcery.com>
21407
21408 * gdb.threads/thread-find.exp: Don't execute command
21409 "info threads".
21410 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21411 * gdb.threads/linux-dp.exp: Don't check the condition
21412 $threads_created equals to zero.
21413
214142014-10-10 Pedro Alves <palves@redhat.com>
21415
21416 * gdb.base/bigcore.exp: Remove references to IRIX.
21417 * gdb.base/funcargs.exp: Likewise.
21418 * gdb.base/interrupt.exp: Likewise.
21419 * gdb.base/mips_pro.exp: Likewise.
21420 * gdb.base/nodebug.exp: Likewise.
21421 * gdb.base/setvar.exp: Likewise.
21422 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21423
214242014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21425 Pedro Alves <palves@redhat.com>
21426
21427 PR symtab/14466
21428 * gdb.base/vdso-warning.c: New file.
21429 * gdb.base/vdso-warning.exp: New file.
21430
214312014-10-02 Doug Evans <dje@google.com>
21432
21433 * gdb.base/structs.c (main): Don't run forever.
21434
214352014-10-02 Pedro Alves <palves@redhat.com>
21436
21437 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21438 (top level) <stop threads 1, stop threads 2>: Use it.
21439
214402014-10-02 Pedro Alves <palves@redhat.com>
21441
21442 * gdb.threads/break-while-running.exp (test): Add new
21443 'update_thread_list' argument. Skip "info threads" if false.
21444 (top level): Add new 'update_thread_list' axis.
21445
214462014-10-02 Pedro Alves <palves@redhat.com>
21447
21448 PR breakpoints/17431
21449 * gdb.base/execl-update-breakpoints.c: New file.
21450 * gdb.base/execl-update-breakpoints.exp: New file.
21451
214522014-10-01 Pedro Alves <palves@redhat.com>
21453
21454 * gdb.base/breakpoint-in-ro-region.c: New file.
21455 * gdb.base/breakpoint-in-ro-region.exp: New file.
21456
214572014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21458
21459 * gdb.mi/mi-exit-code.exp: New file.
21460 * gdb.mi/mi-exit-code.c: New file.
21461
214622014-09-30 Yao Qi <yao@codesourcery.com>
21463
21464 * lib/prelink-support.exp (build_executable_own_libs): Error if
21465 the target isn't native.
21466
214672014-09-30 Yao Qi <yao@codesourcery.com>
21468
21469 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21470 false.
21471
214722014-09-22 Pedro Alves <palves@redhat.com>
21473
21474 * gdb.threads/break-while-running.exp: New file.
21475 * gdb.threads/break-while-running.c: New file.
21476
214772014-09-19 Yao Qi <yao@codesourcery.com>
21478
21479 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21480 Invoke test. Restart GDB with --readnow and invoke test again.
21481
214822014-09-19 Yao Qi <yao@codesourcery.com>
21483
21484 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21485 proc set_breakpoint_on_gcd_function. Invoke
21486 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21487 invoke set_breakpoint_on_gcd_function again.
21488
214892014-09-18 Doug Evans <dje@google.com>
21490
21491 * gdb.dwarf2/symtab-producer.exp: New file.
21492
214932014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21494
21495 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21496 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21497 * gdb.base/global-var-nested-by-dso.c: Likewise.
21498 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21499
215002014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21501 Pedro Alves <palves@redhat.com>
21502
21503 * gdb.base/watch-bitfields.exp: Pass string other than test file
21504 name to prepare_for_testing.
21505 (watch): New procedure.
21506 (expect_watchpoint): Use with_test_prefix.
21507 (top level): Factor out tests to ...
21508 (test_watch_location, test_regular_watch): ... these new
21509 procedures, and use with_test_prefix and gdb_continue_to_end.
21510
215112014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21512
21513 PR breakpoints/12526
21514 * gdb.base/watch-bitfields.exp: New file.
21515 * gdb.base/watch-bitfields.c: New file.
21516
215172014-09-16 Pedro Alves <palves@redhat.com>
21518
21519 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21520 software and hardware addresses, not software address against
21521 itself.
21522
215232014-09-16 Pedro Alves <palves@redhat.com>
21524
21525 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21526 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21527
215282014-09-16 Pedro Alves <palves@redhat.com>
21529
21530 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21531 files.
21532 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21533 "*-*-vxworks*" throughout.
21534 * gdb.base/break.exp: Likewise.
21535 * gdb.base/default.exp: Likewise.
21536 * gdb.base/scope.exp: Likewise.
21537 * gdb.base/sepdebug.exp: Likewise.
21538 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21539 throughout.
21540 * gdb.base/run.c: Likewise.
21541 * gdb.base/sepdebug.c: Likewise.
21542 * gdb.hp/gdb.aCC/run.c: Likewise.
21543 * gdb.reverse/until-reverse.c: Likewise.
21544 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21545
215462014-09-16 Yao Qi <yao@codesourcery.com>
21547
21548 * boards/local-remote-host-native.exp: New file.
21549
215502014-09-14 Doug Evans <xdje42@gmail.com>
21551
21552 * gdb.threads/queue-signal.c (thread_count): New variable.
21553 (thread_count_mutex, thread_count_condvar): New variables.
21554 (incr_thread_count, wait_all_threads_running): New functions.
21555 (main): Wait for all threads to be in their thread functions.
21556
215572014-09-13 Doug Evans <xdje42@gmail.com>
21558
21559 * gdb.threads/queue-signal.c: New file.
21560 * gdb.threads/queue-signal.exp: New file.
21561
215622014-09-13 Doug Evans <xdje42@gmail.com>
21563
21564 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21565 be consistent with what default_gdb_init uses.
21566 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21567 the plain text of the prompt. Add some logging printfs.
21568 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21569
215702014-09-12 Pedro Alves <palves@redhat.com>
21571
21572 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21573 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21574 * gdb.arch/i386-size-overlap.exp: Likewise.
21575 * gdb.arch/i386-size.exp: Likewise.
21576 * gdb.arch/i386-unwind.exp: Likewise.
21577 * gdb.base/a2-run.exp: Likewise.
21578 * gdb.base/break.exp: Likewise.
21579 * gdb.base/charset.exp: Likewise.
21580 * gdb.base/chng-syms.exp: Likewise.
21581 * gdb.base/commands.exp: Likewise.
21582 * gdb.base/dbx.exp: Likewise.
21583 * gdb.base/find.exp: Likewise.
21584 * gdb.base/funcargs.exp: Likewise.
21585 * gdb.base/jit-simple.exp: Likewise.
21586 * gdb.base/reread.exp: Likewise.
21587 * gdb.base/sepdebug.exp: Likewise.
21588 * gdb.base/step-bt.exp: Likewise.
21589 * gdb.cp/mb-inline.exp: Likewise.
21590 * gdb.cp/mb-templates.exp: Likewise.
21591 * gdb.objc/basicclass.exp: Likewise.
21592 * gdb.threads/killed.exp: Likewise.
21593
215942014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21595
21596 PR tdep/17379
21597 * gdb.arch/powerpc-stackless.S: New file.
21598 * gdb.arch/powerpc-stackless.exp: New file.
21599
216002014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21601
21602 * gdb.base/attach.c: Include unistd.h.
21603 (main): Call alarm. Add label postloop.
21604 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21605 gdb_breakpoint, gdb_continue_to_breakpoint.
21606 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21607
216082014-09-11 Pedro Alves <palves@redhat.com>
21609
21610 PR gdb/17347
21611 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21612 * gdb.base/attach.exp (test_command_line_attach_run): New
21613 procedure.
21614 (top level): Call it.
21615
216162014-09-11 Pedro Alves <palves@redhat.com>
21617
21618 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21619 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21620 (do_command_attach_tests): Use spawn_wait_for_attach.
21621 * gdb.base/solib-overlap.exp: Likewise.
21622 * gdb.multi/multi-attach.exp: Likewise.
21623 * gdb.python/py-prompt.exp: Likewise.
21624 * gdb.python/py-sync-interp.exp: Likewise.
21625 * gdb.server/ext-attach.exp: Likewise.
21626
216272014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21628
21629 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21630 command in testcase. Simplify testcase.
21631
216322014-09-10 Joel Brobecker <brobecker@adacore.com>
21633
21634 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21635
216362014-09-10 Joel Brobecker <brobecker@adacore.com>
21637
21638 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21639
216402014-09-10 Joel Brobecker <brobecker@adacore.com>
21641
21642 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21643
216442014-09-10 Joel Brobecker <brobecker@adacore.com>
21645
21646 * gdb.dwarf2/dynarr-ptr.c: New file.
21647 * gdb.dwarf2/dynarr-ptr.exp: New file.
21648
216492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21650
21651 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21652 of 30 rather than hardcoding 120 for a slow test case. Take the
21653 `gdb,timeout' target setting into account for this calculation.
21654 Don't extend the timeout for the test cases that don't need it.
21655
216562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21657
21658 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21659 a factor of 2 for a slow test case. Take the `gdb,timeout'
21660 target setting into account for this calculation.
21661 * gdb.reverse/until-precsave.exp: Increase the timeout by
21662 a factor of 15 and 3 respectively rather than adding 120
21663 for a pair of slow test cases. Take the `gdb,timeout'
21664 target setting into account for this calculation.
21665
216662014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21667
21668 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21669 timeout, don't pass one down to gdb_expect.
21670 (gdb_expect): Rework timeout selection.
21671
216722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21673
21674 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21675 exception on timeout.
21676 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21677 (gdbserver_start_extended): Catch any `gdbserver_start' error
21678 exceptions.
21679 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21680 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21681 `gdbserver_gdb_load' error exceptions.
21682
216832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21684
21685 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21686 120 on waiting for the TCP socket to open.
21687
216882014-09-09 Doug Evans <xdje42@gmail.com>
21689
21690 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21691 _caller_matches, _any_caller_is, _any_caller_matches.
21692
216932014-09-09 Doug Evans <xdje42@gmail.com>
21694
21695 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21696
216972014-09-09 Yao Qi <yao@codesourcery.com>
21698
21699 * gdb.mi/mi-var-display.exp: Set print symbol off.
21700
217012014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21702
21703 PR gdb/17035
21704 * gdb.base/commands.exp: Add tests to verify user-defined
21705 commands with empty bodies.
21706 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21707 python commands in `show user command`.
21708 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21709 scheme commands in `show user command`.
21710
217112014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21712
21713 PR python/17355
21714 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21715 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21716 * gdb.python/py-framefilter-invalidarg.exp: New file.
21717 * gdb.python/py-framefilter-invalidarg.py: New file.
21718
217192014-09-06 Doug Evans <xdje42@gmail.com>
21720
21721 PR 15276
21722 * gdb.python/py-caller-is.c: New file.
21723 * gdb.python/py-caller-is.exp: New file.
21724
217252014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21726
21727 PR gdb/17235
21728 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21729 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21730
217312014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21732
21733 PR fortran/17237
21734 * gdb.fortran/print-formatted.exp: New file.
21735 * gdb.fortran/print-formatted.f90: Likewise.
21736
217372014-09-03 Sasha Smundak <asmundak@google.com>
21738
21739 * gdb.python/py-frame.exp: Test Frame.read_register.
21740
217412014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21742
21743 PR python/16699
21744 * gdb.python/py-completion.exp: New file.
21745 * gdb.python/py-completion.py: Likewise.
21746
217472014-08-28 Doug Evans <dje@google.com>
21748
21749 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21750 eax,etc. are live with values set by gdb and thus the compiler can't
21751 use them.
21752 * gdb.arch/i386-pseudo.c (main): Ditto.
21753
217542014-08-27 Doug Evans <dje@google.com>
21755
21756 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21757
217582014-08-25 Doug Evans <dje@google.com>
21759
21760 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21761 (main): Ditto.
21762
217632014-08-25 Doug Evans <dje@google.com>
21764
21765 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21766
217672014-08-24 Yao Qi <yao@codesourcery.com>
21768
21769 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21770 symbol off.
21771 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21772
217732014-08-22 Doug Evans <dje@google.com>
21774
21775 PR 17276
21776 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21777 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21778 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21779
217802014-08-22 Yao Qi <yao@codesourcery.com>
21781
21782 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21783 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21784 * gdb.python/python.exp: Likewise. Use .py file on the host
21785 instead of the build.
21786
217872014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21788
21789 * gdb.threads/gcore-stale-thread.c: New file.
21790 * gdb.threads/gcore-stale-thread.exp: New file.
21791
217922014-08-21 Pedro Alves <palves@redhat.com>
21793
21794 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21795 * gdb.base/gcore-relro-pie.exp: Likewise.
21796 * gdb.base/gcore-relro.exp: Likewise.
21797 * gdb.base/gcore.exp: Likewise.
21798 * gdb.base/print-symbol-loading.exp: Likewise.
21799 * gdb.threads/gcore-thread.exp: Likewise.
21800 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21801
218022014-08-20 Pedro Alves <palves@redhat.com>
21803 Jan Kratochvil <jan.kratochvil@redhat.com>
21804
21805 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21806 configure.
21807 (EXPECT): Handle READ1 being set.
21808 (all): Depend on EXTRA_RULES.
21809 (check-read1, expect-read1, read1.so, read1): New rules.
21810 * README (Testsuite Parameters): Document the READ1 make variable.
21811 (Race detection): New section.
21812 * configure: Regenerate.
21813 * configure.ac: If build==host==target, and running under a
21814 GNU/glibc system, add read1 to the extra Makefile rules.
21815 (EXTRA_RULES): AC_SUBST it.
21816 * lib/read1.c: New file.
21817
218182014-08-20 Joel Brobecker <brobecker@adacore.com>
21819
21820 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21821 the handling of variables declared as a typedef to an array
21822 which a DW_AT_data_location attribute.
21823
218242014-08-19 Andrew Burgess <aburgess@broadcom.com>
21825 Pedro Alves <palves@redhat.com>
21826
21827 PR symtab/14604
21828 PR symtab/14605
21829 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21830 gdb_test.
21831
218322014-08-19 Pedro Alves <palves@redhat.com>
21833
21834 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21835
218362014-08-19 Yao Qi <yao@codesourcery.com>
21837
21838 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21839 right line.
21840
218412014-08-18 David Blaikie <dblaikie@gmail.com>
21842
21843 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21844
218452014-08-18 Joel Brobecker <brobecker@adacore.com>
21846
21847 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21848 attribute in array range.
21849
218502014-08-18 Joel Brobecker <brobecker@adacore.com>
21851
21852 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21853
218542014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21855
21856 PR c++/17132
21857 * gdb.cp/pr17132.cc: New file.
21858 * gdb.cp/pr17132.exp: New file.
21859
218602014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21861
21862 * gdb.python/py-xmethods.py (A_getarrayind)
21863 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21864 Use 'print' with function call syntax.
21865 (E_method_matcher.match): Fix tab vs space indentation mixup.
21866
218672014-08-15 Yao Qi <yao@codesourcery.com>
21868
21869 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21870 false.
21871
218722014-08-15 Yao Qi <yao@codesourcery.com>
21873
21874 * gdb.cp/casts.exp: Set print symbol off.
21875 * gdb.cp/class2.exp: Likewise.
21876 * gdb.cp/overload.exp: Likewise.
21877 * gdb.cp/templates.exp: Likewise.
21878
218792014-08-11 Doug Evans <dje@google.com>
21880
21881 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21882 (test_load_shlib): Update.
21883
218842014-08-09 Yao Qi <yao@codesourcery.com>
21885
21886 * gdb.base/display.exp: Invoke is_address_zero_readable.
21887 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21888 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21889 * gdb.base/hbreak-unmapped.exp: Return if
21890 is_address_zero_readable returns true.
21891 * gdb.base/signest.exp: Likewise.
21892 * gdb.base/signull.exp: Likewise.
21893 * gdb.base/sigbpt.exp: Likewise.
21894 * gdb.guile/scm-disasm.exp: Do the test if
21895 is_address_zero_readable returns false.
21896 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21897 * gdb.python/py-arch.exp: Likewise.
21898 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21899 * lib/gdb.exp (is_address_zero_readable): New proc.
21900
219012014-08-09 Yao Qi <yao@codesourcery.com>
21902
21903 PR testsuite/13443
21904 * gdb.mi/mi-var-display.exp: Make test messages unique.
21905
219062014-08-04 Tom Tromey <tromey@redhat.com>
21907
21908 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21909 target 0".
21910
219112014-08-04 Tom Tromey <tromey@redhat.com>
21912
21913 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21914 "target_resume".
21915
219162014-08-01 Joel Brobecker <brobecker@adacore.com>
21917
21918 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21919 inner_vla_struct_object_size.
21920 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21921 as xfail.
21922
219232014-07-30 Pedro Alves <palves@redhat.com>
21924
21925 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21926 comment.
21927
219282014-07-29 Yao Qi <yao@codesourcery.com>
21929
21930 PR gdb/17206
21931 * gdb.base/until-nodebug.exp: New.
21932
219332014-07-28 Doug Evans <xdje42@gmail.com>
21934
21935 PR guile/17203
21936 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21937 previously existing parameter, and previously ambiguously spelled
21938 parameter.
21939
219402014-07-28 Will Newton <will.newton@linaro.org>
21941
21942 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21943
219442014-07-26 Ludovic Courtès <ludo@gnu.org>
21945 Doug Evans <xdje42@gmail.com>
21946
21947 PR guile/17146
21948 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21949
219502014-07-25 Pedro Alves <palves@redhat.com>
21951
21952 * gdb.threads/signal-command-handle-nopass.c: New file.
21953 * gdb.threads/signal-command-handle-nopass.exp: New file.
21954 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21955 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21956 * gdb.threads/signal-delivered-right-thread.c: New file.
21957 * gdb.threads/signal-delivered-right-thread.exp: New file.
21958
219592014-07-25 Pedro Alves <palves@redhat.com>
21960
21961 * gdb.base/double-prompt-target-event-error.exp
21962 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21963 match.
21964 (cancel_pagination_in_target_event): Rework double prompt
21965 detection.
21966 * gdb.base/paginate-after-ctrl-c-running.exp
21967 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21968 <return>' match.
21969 * gdb.base/paginate-bg-execution.exp
21970 (test_bg_execution_pagination_return)
21971 (test_bg_execution_pagination_cancel): Remove '-notransfer
21972 <return>' matches.
21973 * gdb.base/paginate-execution-startup.exp
21974 (test_fg_execution_pagination_return)
21975 (test_fg_execution_pagination_cancel): Remove '-notransfer
21976 <return>' matches.
21977 * gdb.base/paginate-inferior-exit.exp
21978 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21979 match.
21980 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21981 * lib/gdb.exp (pagination_prompt): Run text through
21982 string_to_regexp.
21983 (gdb_test_multiple): Match $pagination_prompt instead of
21984 "<return>".
21985 (string_to_regexp): Move to lib/gdb-utils.exp.
21986
219872014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21988
21989 * gdb.arch/amd64-entry-value-paramref.S: New file.
21990 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21991 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21992 * gdb.arch/amd64-optimout-repeat.S: New file.
21993 * gdb.arch/amd64-optimout-repeat.c: New file.
21994 * gdb.arch/amd64-optimout-repeat.exp: New file.
21995
219962014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21997
21998 PR gdb/17170
21999 * gdb.base/statistics.exp: New file.
22000
220012014-07-17 Doug Evans <dje@google.com>
22002
22003 PR gdb/17170
22004 * gdb.base/maint.exp: Update testing of per-command stats.
22005
220062014-07-16 Pedro Alves <palves@redhat.com>
22007
22008 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22009 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22010 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22011 (tfile_write_buf): New functions.
22012 (add_memory_block): Rewrite using the above.
22013 (adjust_function_address): New function.
22014 (FUNCTION_ADDRESS): New macro.
22015 (write_basic_trace_file): Remove short_x local, and use
22016 tfile_write_16. Change type of func_addr local to unsigned long
22017 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22018 here. Cast argument of add_memory_block to char pointer.
22019 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22020 (main): Remove parameters.
22021 * gdb.trace/tfile.exp: Remove nowarnings.
22022
220232014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22024
22025 * gdb.base/debug-expr.exp: Test string evaluation with
22026 "debug expression" on.
22027
220282014-07-15 Pedro Alves <palves@redhat.com>
22029
22030 * gdb.base/reread.exp: Use clean_restart.
22031
220322014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22033
22034 * gdb.arch/avr-flash-qualifer.c: New.
22035 * gdb.arch/avr-flash-qualifer.exp: New.
22036
220372014-07-14 Pedro Alves <palves@redhat.com>
22038
22039 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22040 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22041
220422014-07-14 Pedro Alves <palves@redhat.com>
22043
22044 * gdb.base/double-prompt-target-event-error.c: New file.
22045 * gdb.base/double-prompt-target-event-error.exp: New file.
22046
220472014-07-14 Pedro Alves <palves@redhat.com>
22048
22049 PR gdb/17072
22050 * gdb.base/paginate-inferior-exit.c: New file.
22051 * gdb.base/paginate-inferior-exit.exp: New file.
22052
220532014-07-14 Pedro Alves <palves@redhat.com>
22054
22055 PR gdb/17072
22056 * gdb.base/paginate-bg-execution.c: New file.
22057 * gdb.base/paginate-bg-execution.exp: New file.
22058
220592014-07-14 Pedro Alves <palves@redhat.com>
22060
22061 PR gdb/17072
22062 * gdb.base/paginate-execution-startup.c: New file.
22063 * gdb.base/paginate-execution-startup.exp: New file.
22064 * lib/gdb.exp (pagination_prompt): New global.
22065 (default_gdb_spawn): New procedure, factored out from
22066 default_gdb_spawn.
22067 (default_gdb_start): Adjust to call default_gdb_spawn.
22068 (gdb_spawn): New procedure.
22069
220702014-07-14 Pedro Alves <palves@redhat.com>
22071
22072 * lib/gdb.exp (gdb_assert): New procedure.
22073 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22074
220752014-07-14 Pedro Alves <palves@redhat.com>
22076
22077 * gdb.base/execution-termios.c: New file.
22078 * gdb.base/execution-termios.exp: New file.
22079
220802014-07-14 Tom Tromey <tromey@redhat.com>
22081
22082 * gdb.cp/vla-cxx.cc: New file.
22083 * gdb.cp/vla-cxx.exp: New file.
22084
220852014-07-14 Tom Tromey <tromey@redhat.com>
22086
22087 * gdb.reverse/rerun-prec.c: New file.
22088 * gdb.reverse/rerun-prec.exp: New file.
22089
220902014-07-12 Maciej W. Rozycki <macro@mips.com>
22091 Maciej W. Rozycki <macro@codesourcery.com>
22092
22093 * lib/gdb-utils.exp: New file.
22094 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22095 inline `gdb_init_command' processing.
22096 (gdb_start_cmd): Likewise.
22097 * lib/mi-support.exp (mi_run_cmd): Likewise.
22098 * README: Document `gdb_init_command' and `gdb_init_commands'.
22099
221002014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22101
22102 Fix false FAIL running under a very long directory name.
22103 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22104 and "set print elements 10000". Twice.
22105
221062014-07-11 Yao Qi <yao@codesourcery.com>
22107
22108 * gdb.base/exprs.exp: "set print symbol off".
22109
221102014-07-11 Pedro Alves <palves@redhat.com>
22111
22112 * gdb.threads/kill.c: New file.
22113 * gdb.threads/kill.exp: New file.
22114
221152014-07-10 Yao Qi <yao@codesourcery.com>
22116
22117 * gdb.trace/tfile.c (write_basic_trace_file)
22118 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22119 address written to trace file.
22120
221212014-07-09 Pedro Alves <palves@redhat.com>
22122
22123 * gdb.base/attach-wait-input.exp: New file.
22124 * gdb.base/attach-wait-input.c: New file.
22125
221262014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22127
22128 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22129 setting up test structures.
22130 (main): Call new test function.
22131 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22132 test function, continue into test function and walk test
22133 structures.
22134
221352014-07-02 Yao Qi <yao@codesourcery.com>
22136
22137 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22138 'bar_start' at the beginning of functions 'foo' and 'bar'
22139 respectively.
22140 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22141 instead of 'foo' and 'bar'.
22142
221432014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22144
22145 * gdb.btrace/segv.exp: New.
22146 * gdb.btrace/segv.c: New.
22147
221482014-07-02 Luis Machado <lgustavo@codesourcery.com>
22149
22150 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22151 instruction.
22152
221532014-06-30 Mark Wielaard <mjw@redhat.com>
22154
22155 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22156 vulture, vilify, villar): New volatile array constants.
22157 (vindictive, vegetation): New const volatile array constants.
22158 * gdb.base/volatile.exp: Test volatile and const volatile array
22159 types.
22160
221612014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22162
22163 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22164 target lacks support for awatch, rwatch, or hbreak.
22165
221662014-06-27 Yao Qi <yao@codesourcery.com>
22167
22168 * gdb.multi/dummy-frame-restore.exp: New.
22169 * gdb.multi/dummy-frame-restore.c: New.
22170
221712014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22172
22173 * gdb.btrace/gcore.exp: New.
22174
221752014-06-23 Pedro Alves <palves@redhat.com>
22176
22177 * gdb.base/watchpoint-reuse-slot.c: New file.
22178 * gdb.base/watchpoint-reuse-slot.exp: New file.
22179
221802014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22181
22182 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22183 progspace's filename in 'info', 'enable' and 'disable' command
22184 tests.
22185
221862014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22187
22188 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22189 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22190 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22191
221922014-06-20 Gary Benson <gbenson@redhat.com>
22193
22194 * gdb.arch/i386-avx.exp: Fix include file location.
22195 * gdb.arch/i386-sse.exp: Likewise.
22196
221972014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22198
22199 * gdb.dlang/expression.exp: New file.
22200
222012014-06-19 Pedro Alves <palves@redhat.com>
22202
22203 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22204 out from ...
22205 (top level): ... here. Iterate running tests under different
22206 scheduler-locking settings.
22207
222082014-06-18 Luis Machado <lgustavo@codesourcery.com>
22209
22210 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22211 to DW_FORM_addr and use non-zero addresses.
22212
222132014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22214
22215 PR gdb/17017
22216 * gdb.python/py-xmethods.cc: Add global function call counters and
22217 increment them in their respective functions. Remove "cout"
22218 statements.
22219 * gdb.python/py-xmethods.exp: Make tests check the global function
22220 call counters instead of depending on inferior IO.
22221
222222014-06-18 Don Breazeal <donb@codesourcery.com>
22223
22224 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22225 Deleted procedure.
22226 (explicit_fork_parent_follow): Deleted procedure.
22227 (explicit_fork_child_follow): Deleted procedure.
22228 (test_follow_fork): New procedure.
22229 (do_fork_tests): Replace calls to deleted procedures with
22230 calls to test_follow_fork and reset GDB for subsequent
22231 procedure calls.
22232
222332014-06-17 Yao Qi <yao@codesourcery.com>
22234
22235 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22236 CP1252.
22237
222382014-06-17 Luis Machado <lgustavo@codesourcery.com>
22239
22240 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22241 Initialize ptr and S explicitly.
22242 (skip_type_update_when_not_use_rtti_test): Likewise.
22243
222442014-06-16 Keith Seitz <keiths@redhat.com>
22245
22246 PR mi/15863
22247 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22248 the inferior is started.
22249
222502014-06-16 Pedro Alves <palves@redhat.com>
22251
22252 * gdb.base/break-main-file-remove-fail.c: New file.
22253 * gdb.base/break-main-file-remove-fail.exp: New file.
22254 * gdb.base/break-unload-file.exp: Use build_executable instead of
22255 prepare_for_testing.
22256 (test_break): New parameter "initial_load". Handle it.
22257 (top level): Add initial_load cmdline/file axis.
22258
222592014-06-12 Tom Tromey <tromey@redhat.com>
22260
22261 * gdb.base/completion.exp: Don't use directory name in test.
22262
222632014-06-09 Gary Benson <gbenson@redhat.com>
22264
22265 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22266 separate the always-available ANSI-standard signals from the
22267 signals that require checking.
22268 (main): Likewise.
22269 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22270 Likewise.
22271 (main): Likewise.
22272
222732014-06-07 Keith Seitz <keiths@redhat.com>
22274
22275 Revert:
22276 PR c++/16253
22277 * gdb.cp/var-tag.cc: New file.
22278 * gdb.cp/var-tag.exp: New file.
22279 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22280 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22281 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22282 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22283
222842014-06-06 Doug Evans <xdje42@gmail.com>
22285
22286 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22287
222882014-06-06 Pedro Alves <palves@redhat.com>
22289
22290 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22291 in target debug output instead of looking at RSP packets,
22292 disabling the test on any target that uses hardware stepping.
22293 Update comments.
22294
222952014-06-06 Pedro Alves <palves@redhat.com>
22296
22297 * gdb.base/break-unload-file.exp: Fix typo.
22298
222992014-06-06 Yao Qi <yao@codesourcery.com>
22300
22301 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22302 from "jit_function" to "^jit_function".
22303
223042014-06-06 Yao Qi <yao@codesourcery.com>
22305
22306 * gdb.base/async.c (foo): Add one statement.
22307 * gdb.base/async.exp: Get the next instruction address and
22308 match the output of "nexti" by instruction address. Match
22309 the hex address in the output of "finish".
22310
223112014-06-06 Gary Benson <gbenson@redhat.com>
22312
22313 * gdb.base/call-signals.c: Remove preprocessor conditionals
22314 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22315 SIGSEGV and SIGTERM.
22316 * gdb.base/sigall.c: Likewise.
22317 * gdb.base/unwindonsignal.c: Likewise.
22318 * gdb.reverse/sigall-reverse.c: Likewise.
22319
223202014-06-06 Yao Qi <yao@codesourcery.com>
22321
22322 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22323 readable, skip the test.
22324
223252014-06-06 Yao Qi <yao@codesourcery.com>
22326
22327 * gdb.threads/staticthreads.c (thread_function): Move the line
22328 setting breakpoint on forward.
22329 * gdb.threads/staticthreads.exp: Update comments.
22330
223312014-06-05 Ludovic Courtès <ludo@gnu.org>
22332
22333 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22334 "history-append! type error".
22335
223362014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22337
22338 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22339 erroneous dprintf expected input.
22340
223412014-06-04 Doug Evans <xdje42@gmail.com>
22342
22343 * gdb.guile/scm-generics.exp: Delete.
22344
223452014-06-04 Doug Evans <xdje42@gmail.com>
22346
22347 * gdb.guile/scm-breakpoint.exp: Update.
22348 Add tests for breakpoint registration.
22349
223502014-06-04 Tom Tromey <tromey@redhat.com>
22351
22352 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22353 VLA-in-union.
22354 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22355 inner_vla_struct, vla_union types. Initialize objects of those
22356 types and compute their sizes.
22357
223582014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22359 Hui Zhu <hui@codesourcery.com>
22360
22361 * gdb.base/fileio.exp: Add test for shell not available as well as
22362 available.
22363 * gdb.base/fileio.c (test_system): Check for shell twice.
22364
223652014-06-04 Yao Qi <yao@codesourcery.com>
22366
22367 * gdb.base/auto-connect-native-target.exp: Remove redundant
22368 space from the regexp pattern.
22369
223702014-06-04 Yao Qi <yao@codesourcery.com>
22371
22372 * gdb.base/default.exp: Replace "child" with "native" in
22373 regexp pattern.
22374
223752014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22376
22377 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22378 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22379 * gdb.python/py-xmethods.py: Python script supporting the
22380 new testcase and tests.
22381
223822014-06-03 Joel Brobecker <brobecker@adacore.com>
22383 Pedro Alves <palves@redhat.com>
22384
22385 PR breakpoints/17000
22386 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22387 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22388
223892014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22390
22391 * gdb.base/subst.exp: Add tests to verify partial path matching
22392 output.
22393
223942014-06-03 Pedro Alves <palves@redhat.com>
22395
22396 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22397 target that doesn't use software single-stepping.
22398
223992014-06-03 Pedro Alves <palves@redhat.com>
22400
22401 PR breakpoints/17000
22402 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22403 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22404
224052014-06-02 Doug Evans <xdje42@gmail.com>
22406
22407 * gdb.guile/scm-parameter.exp: New file.
22408
224092014-06-02 Doug Evans <xdje42@gmail.com>
22410
22411 * gdb.guile/scm-cmd.c: New file.
22412 * gdb.guile/scm-cmd.exp: New file.
22413
224142014-06-02 Doug Evans <xdje42@gmail.com>
22415
22416 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22417 pretty-printer lookup.
22418 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22419 (make-pp_s-printer): Call it.
22420 (make-pretty-printer-from-dict): New function.
22421 (lookup-pretty-printer-maker-from-dict): New function.
22422 (*pretty-printer*): Simplify.
22423 (make-objfile-pp_s-printer): New function.
22424 (install-objfile-pretty-printers!): New function.
22425 (make-progspace-pp_s-printer): New function.
22426 (install-progspace-pretty-printers!): New function.
22427 * gdb.guile/scm-progspace.c: New file.
22428 * gdb.guile/scm-progspace.exp: New file.
22429
224302014-06-02 Pedro Alves <palves@redhat.com>
22431
22432 * gdb.base/dprintf-bp-same-addr.c: New file.
22433 * gdb.base/dprintf-bp-same-addr.exp: New file.
22434
224352014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22436
22437 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22438 * gdb.arch/powerpc-power.s: Likewise.
22439
224402014-06-02 Joel Brobecker <brobecker@adacore.com>
22441
22442 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22443
224442014-06-01 Yao Qi <yao@codesourcery.com>
22445
22446 * gdb.base/watchpoint.exp (test_watch_location): Check null
22447 pointer can be dereferenced. If not, do the test, otherwise
22448 skip it.
22449
224502014-05-30 Andrew Burgess <aburgess@broadcom.com>
22451
22452 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22453 results.
22454 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22455
224562014-05-30 Andrew Burgess <aburgess@broadcom.com>
22457
22458 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22459 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22460 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22461 * gdb.arch/amd64-invalid-stack-top.c: New file.
22462 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22463
224642014-05-30 Pedro Alves <palves@redhat.com>
22465
22466 PR breakpoints/17000
22467 * gdb.base/sss-bp-on-user-bp.c: New file.
22468 * gdb.base/sss-bp-on-user-bp.exp: New file.
22469
224702014-05-30 David Blaikie <dblaikie@gmail.com>
22471
22472 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22473 gnu_inline semantics via attribute.
22474 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22475 source explicitly specifies the required semantics.
22476
224772014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22478
22479 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22480
224812014-05-29 Pedro Alves <palves@redhat.com>
22482 Tom Tromey <tromey@redhat.com>
22483
22484 * gdb.base/async-shell.exp: Don't enable target-async.
22485 * gdb.base/async.exp
22486 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22487 parameter. Adjust.
22488 (top level): Don't test with "target-async".
22489 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22490 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22491 * gdb.base/inferior-died.exp: Don't enable target-async.
22492 * gdb.base/interrupt-noterm.exp: Likewise.
22493 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22494 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22495 * gdb.mi/mi-nonstop.exp: Likewise.
22496 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22497 * gdb.mi/mi-nsintrall.exp: Likewise.
22498 * gdb.mi/mi-nsmoribund.exp: Likewise.
22499 * gdb.mi/mi-nsthrexec.exp: Likewise.
22500 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22501 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22502 * gdb.python/py-evsignal.exp: Don't enable target-async.
22503 * gdb.python/py-evthreads.exp: Likewise.
22504 * gdb.python/py-prompt.exp: Likewise.
22505 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22506 * gdb.server/solib-list.exp: Don't enable target-async.
22507 * gdb.threads/thread-specific-bp.exp: Likewise.
22508 * lib/mi-support.exp: Adjust to use mi-async.
22509
225102014-05-29 Pedro Alves <palves@redhat.com>
22511
22512 PR gdb/13860
22513 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22514 reason, even in sync mode.
22515
225162014-05-29 Pedro Alves <palves@redhat.com>
22517 Hui Zhu <hui@codesourcery.com>
22518
22519 PR PR15693
22520 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22521 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22522 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22523 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22524
225252014-05-28 Joel Brobecker <brobecker@adacore.com>
22526
22527 * config/monitor.exp (gdb_target_monitor): Replace use of
22528 "set remotebaud" by "set serial baud".
22529
225302014-05-26 Andy Wingo <wingo@igalia.com>
22531
22532 * gdb.guile/scm-breakpoint.exp:
22533 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22534 properties instead of gdb-object-properties.
22535
225362014-05-26 Yao Qi <yao@codesourcery.com>
22537
22538 * gdb.server/no-thread-db.exp: Specify source file name
22539 explicitly when setting a breakpoint.
22540
225412014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22542
22543 * gdb.btrace/vdso.c: New.
22544 * gdb.btrace/vdso.exp: New.
22545
225462014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22547
22548 * gdb.base/gcore.exp (capture_command_output): Move ...
22549 * lib/gdb.exp (capture_command_output): ... here.
22550
225512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22552
22553 * gdb.btrace/data.exp: Test memory access during btrace replay.
22554
225552014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22556
22557 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22558
225592014-05-21 Pedro Alves <palves@redhat.com>
22560
22561 PR gdb/13860
22562 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22563 (top level): Test that output related to execution commands is
22564 sent to the console with CLI commands, but not with MI commands.
22565 Test that breakpoint events are always mirrored to the console.
22566 Also expect the new source line to be output after a "next" in
22567 async mode too. Make it a pass/fail test.
22568 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22569 output.
22570 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22571
225722014-05-21 Pedro Alves <palves@redhat.com>
22573
22574 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22575 Use them to test variations of "list" after reaching a breakpoint.
22576 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22577 Test "list" with listsize 10 after reaching a breakpoint.
22578 * gdb.python/python.exp (decode_line current location line
22579 number): Adjust expected line number.
22580
225812014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22582
22583 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22584 behavior for $args, pass it directly to "run".
22585
225862014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22587
22588 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22589 30000 to 65536.
22590
225912014-05-21 Pedro Alves <palves@redhat.com>
22592
22593 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22594 auto-connect-native-target off".
22595 * gdb.base/auto-connect-native-target.c: New file.
22596 * gdb.base/auto-connect-native-target.exp: New file.
22597
225982014-05-21 Pedro Alves <palves@redhat.com>
22599
22600 * gdb.base/default.exp: Test "target native" instead of "target
22601 child".
22602
226032014-05-21 Mark Wielaard <mjw@redhat.com>
22604
22605 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22606
226072014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22608
22609 Fix TLS access for -static -pthread.
22610 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22611 <HAVE_TLS> (thread_function, main): Initialize it.
22612 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22613 Add clean_restart.
22614 <$have_tls != "">: Check TLSVAR.
22615
226162014-05-21 Pedro Alves <palves@redhat.com>
22617
22618 * gdb.base/dcache-line-read-error.c: New.
22619 * gdb.base/dcache-line-read-error.exp: New.
22620
226212014-05-20 Pedro Alves <palves@redhat.com>
22622
22623 * gdb.base/compare-sections.c: New file.
22624 * gdb.base/compare-sections.exp: New file.
22625
226262014-05-20 Pedro Alves <palves@redhat.com>
22627
22628 * gdb.base/break-idempotent.c: New file.
22629 * gdb.base/break-idempotent.exp: New file.
22630
226312014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22632
22633 * gdb.btrace/nohist.exp: New.
22634
226352014-05-20 Yao Qi <yao@codesourcery.com>
22636
22637 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22638 gdb.reverse directory and gdb_reverse_timeout exists in board
22639 setting.
22640 * README: Document gdb_reverse_timeout.
22641
226422014-05-20 Yao Qi <yao@codesourcery.com>
22643
22644 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22645 'test_file_name'. Treat args as a string instead of a list.
22646 (gdb_init): Rename argument 'args' by 'test_file_name'.
22647
226482014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22649
22650 * gdb.arch/powerpc-power.exp: New file.
22651 * gdb.arch/powerpc-power.s: New file.
22652
226532014-05-16 Doug Evans <dje@google.com>
22654
22655 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
22656 * gdb.base/completion.exp: Check that all expected files exist
22657 before doing file completion.
22658
226592014-05-16 Doug Evans <dje@google.com>
22660
22661 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22662 Update.
22663 (do_syscall_tests_without_xml): Update.
22664
226652014-05-16 Pedro Alves <palves@redhat.com>
22666
22667 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22668 instead of "unknown output after running".
22669
226702014-05-16 Yao Qi <yao@codesourcery.com>
22671
22672 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22673 file1.txt from host at the end.
22674 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22675
226762014-05-15 Doug Evans <dje@google.com>
22677
22678 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22679 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22680 loading file. Add test for TU lookup.
22681
226822014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22683
22684 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22685 calling "-exec-arguments" or "set args" before running the
22686 inferior.
22687
226882014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22689
22690 * lib/mi-support.exp (mi_expect_stop): Expect message for
22691 inferiors that exit with non-zero exit code.
22692
226932014-05-14 Yao Qi <yao@codesourcery.com>
22694
22695 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22696 match absolute path on remote host.
22697 (test_file_list_exec_source_files): Remove "/" from the
22698 pattern.
22699
227002014-05-14 Yao Qi <yao@codesourcery.com>
22701
22702 * boards/local-remote-host-notty.exp (${board}_file): New
22703 proc.
22704
227052014-05-07 Kyle McMartin <kyle@redhat.com>
22706
22707 Pushed by Joel Brobecker <brobecker@adacore.com>.
22708 * gdb.arch/aarch64-atomic-inst.c: New file.
22709 * gdb.arch/aarch64-atomic-inst.exp: New file.
22710
227112014-05-07 Yao Qi <yao@codesourcery.com>
22712
22713 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22714 in current context" too.
22715
227162014-05-05 Keith Seitz <keiths@redhat.com>
22717
22718 * gdb.linespec/ls-dollar.exp: Add test for linespec
22719 file:convenience_variable.
22720
227212014-05-05 Yao Qi <yao@codesourcery.com>
22722
22723 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22724 traceframes into tfile and ctf trace files. Read data from
22725 trace file and test collected data.
22726 (gdb_collect_locals_test): Likewise.
22727 (gdb_unavailable_registers_test): Likewise.
22728 (gdb_unavailable_floats): Likewise.
22729 (gdb_collect_globals_test): Likewise.
22730 (top-level): Append "ctf" to trace_file_targets if GDB
22731 supports.
22732
227332014-05-05 Yao Qi <yao@codesourcery.com>
22734
22735 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22736 code to ...
22737 (gdb_collect_args_test_1): ... it. New proc.
22738 (gdb_collect_locals_test): Move some code to ...
22739 (gdb_collect_locals_test_1): ... it. New proc.
22740 (gdb_unavailable_registers_test): Move some code to ...
22741 (gdb_unavailable_registers_test_1): ... it. New proc.
22742 (gdb_unavailable_floats): Move some code to ...
22743 (gdb_unavailable_floats_1): ... it. New proc.
22744
227452014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22746
22747 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22748 probes to test for bitness recognition.
22749 * gdb.arch/amd64-stap-optional-prefix.exp
22750 (test_probe_value_without_reg): New procedure.
22751 Add code to test for different kinds of bitness.
22752
227532014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22754
22755 PR breakpoints/16889
22756 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22757 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22758
227592014-05-01 Pedro Alves <palves@redhat.com>
22760
22761 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22762 gdb_file_cmd if no file is specified.
22763 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22764 last_loaded_file to set the remote exec-file.
22765
227662014-05-01 Pedro Alves <palves@redhat.com>
22767
22768 * boards/local-remote-host.exp: New file.
22769
227702014-05-01 Pedro Alves <palves@redhat.com>
22771
22772 * boards/local-remote-host.exp: Rename to ...
22773 * boards/local-remote-host-notty.exp: ... this.
22774
227752014-04-28 Joel Brobecker <brobecker@adacore.com>
22776
22777 * gdb.ada/dyn_arrayidx: New testcase.
22778
227792014-04-26 Yao Qi <yao@codesourcery.com>
22780
22781 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22782 and compute the length of function main. Save it in
22783 $main_length.
22784 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22785 (top-level): Use gdb_compile to compile objects into
22786 executable and restart GDB. Remove invocation to
22787 prepare_for_testing.
22788
227892014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22790 Pedro Alves <palves@redhat.com>
22791
22792 PR server/16255
22793 * gdb.multi/multi-attach.c: New file.
22794 * gdb.multi/multi-attach.exp: New file.
22795
227962014-04-25 Pedro Alves <palves@redhat.com>
22797
22798 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22799 user.
22800 (top level): Test that "set remote conditional-breakpoints-packet
22801 off" works as intended.
22802 * gdb.base/dprintf.exp: Test that "set remote
22803 breakpoint-commands-packet off" works as intended.
22804 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22805 New function.
22806 (top level): Call it.
22807 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22808 remote fast-tracepoints-packet off" works as intended.
22809 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22810 * lib/gdb.exp (gdb_is_target_remote): ... here.
22811
228122014-04-24 David Blaikie <dblaikie@gmail.com>
22813
22814 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22815 ensure clang would not discard them.
22816 * gdb.base/gdbvars.c: Ditto.
22817 * gdb.base/memattr.c: Ditto.
22818 * gdb.base/whatis.c: Ditto.
22819 * gdb.python/py-prettyprint.c: Ditto.
22820 * gdb.trace/actions.c: Ditto.
22821 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22822 ensure clang would not discard it.
22823
228242014-04-24 David Blaikie <dblaikie@gmail.com>
22825
22826 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22827 clang to emit the full definition of type required by the test
22828 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22829
228302014-04-24 David Blaikie <dblaikie@gmail.com>
22831
22832 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22833 coax Clang into emitting the definition of the type.
22834 * gdb.cp/pr10728-x.h (y): Ditto.
22835 * gdb.cp/pr10728-y.cc (y): Ditto.
22836
228372014-04-24 David Blaikie <dblaikie@gmail.com>
22838
22839 * gdb.base/label.exp: XFAIL label related tests under Clang.
22840 * gdb.cp/cplabel.exp: Ditto.
22841 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22842 under Clang those using labels.
22843
228442014-04-25 Yao Qi <yao@codesourcery.com>
22845
22846 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22847 double_label.
22848 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22849 partial_label and double_label.
22850
228512014-04-24 David Blaikie <dblaikie@gmail.com>
22852
22853 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22854
228552014-04-24 David Blaikie <dblaikie@gmail.com>
22856
22857 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22858 of the function to work across GCC and Clang.
22859 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22860 pointer types (const void ** const V void **).
22861
228622014-04-24 Michael Sturm <michael.sturm@mintel.com>
22863 Walfred Tedeschi <walfred.tedeschi@intel.com>
22864
22865 * Makefile.in (EXECUTABLES): Added i386-avx512.
22866 * gdb.arch/i386-avx512.c: New file.
22867 * gdb.arch/i386-avx512.exp: Likewise.
22868
228692014-04-23 Keith Seitz <keiths@redhat.com>
22870
22871 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22872 (mi_make_breakpoint_table): New procedure.
22873 (mi_create_breakpoint): Use mi_make_breakpoint
22874 and return the result.
22875 (mi_make_breakpoint): New procedure.
22876 (mi_build_kv_pairs): New procedure.
22877
22878 * gdb.mi/mi-break.exp: Remove unused globals,
22879 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22880 All callers updated.
22881 * gdb.mi/mi-dprintf.exp: Use variable to track command
22882 number.
22883 Update all callers of mi_create_breakpoint and use
22884 mi_make_breakpoint_table.
22885 Remove any unused global variables.
22886 * gdb.mi/mi-nonstop.exp: Likewise.
22887 * gdb.mi/mi-nsintrall.exp: Likewise.
22888 * gdb.mi/mi-nsmoribund.exp: Likewise.
22889 * gdb.mi/mi-nsthrexec.exp: Likewise.
22890 * gdb.mi/mi-reverse.exp: Likewise.
22891 * gdb.mi/mi-simplerun.exp: Likewise.
22892 * gdb.mi/mi-stepn.exp: Likewise.
22893 * gdb.mi/mi-syn-frame.exp: Likewise.
22894 * gdb.mi/mi-until.exp: Likewise.
22895 * gdb.mi/mi-var-cp.exp: Likewise.
22896 * gdb.mi/mi-var-display.exp: Likewise.
22897 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22898 * gdb.mi/mi2-var-child.exp: Likewise.
22899 * gdb.mi/mi-vla-c99.exp: Likewise.
22900 * lib/mi-support.exp: Likewise.
22901
22902 From Ian Lance Taylor <iant@cygnus.com>:
22903 * lib/gdb.exp (parse_args): New procedure.
22904
229052014-04-23 Pedro Alves <palves@redhat.com>
22906
22907 * gdb.base/break-unload-file.c: New file.
22908 * gdb.base/break-unload-file.exp: New file.
22909 * gdb.base/sym-file-lib.c (baz): New function.
22910 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22911 field.
22912 (load): Store the segment's mapped size.
22913 (unload): New function.
22914 (unload_shlib): New function.
22915 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22916 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22917 set a breakpoint at baz, and call it.
22918 * gdb.base/sym-file.exp: New tests for stale breakpoint
22919 instructions.
22920
229212014-04-23 Pedro Alves <palves@redhat.com>
22922
22923 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22924 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22925 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22926 * gdb.base/hbreak-unmapped.c: New file.
22927 * gdb.base/hbreak-unmapped.exp: New file.
22928 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22929 * lib/gdb.exp (gdb_is_target_remote): ... here.
22930
229312014-04-22 Pedro Alves <palves@redhat.com>
22932
22933 * gdb.base/consecutive-step-over.c: New file.
22934 * gdb.base/consecutive-step-over.exp: New file.
22935
229362014-04-22 Pedro Alves <palves@redhat.com>
22937
22938 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22939 instead of send_gdb/gdb_expect.
22940
229412014-04-22 Yao Qi <yao@codesourcery.com>
22942
22943 * lib/trace-support.exp (generate_tracefile): New procedure.
22944 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22945 return 0.
22946 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22947 if generate_tracefile returns 1.
22948
229492014-04-18 Tom Tromey <palves@redhat.com>
22950 Pedro alves <tromey@redhat.com>
22951
22952 PR backtrace/15558
22953 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22954 with a backtrace limit.
22955 * gdb.python/py-frame-inline.exp: Test running to an inline
22956 function with a backtrace limit, and printing the newest frame.
22957 * gdb.python/py-frame-inline.c (main): Call f.
22958
229592014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22960
22961 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22962
229632014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22964
22965 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22966 Drop prefix from unsupported source file path.
22967
229682014-04-17 Yao Qi <yao@codesourcery.com>
22969
22970 * lib/gdb.exp (with_target_charset): New proc.
22971 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22972 with_target_charset.
22973 (test_print_strings): Likewise.
22974 (test_repeat_bytes): Likewise.
22975 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22976 for some tests.
22977
229782014-04-16 Keith Seitz <keiths@redhat.com>
22979
22980 PR gdb/15827
22981 * gdb.dwarf2/corrupt.c: New file.
22982 * gdb.dwarf2/corrupt.exp: New file.
22983
229842014-04-16 Keith Seitz <keiths@redhat.com>
22985
22986 PR c++/16597
22987 * gdb.cp/namelessclass.cc: New file.
22988 * gdb.cp/namelessclass.exp: New file.
22989 * gdb.cp/namelessclass.S: New file.
22990
229912014-04-16 Doug Evans <dje@google.com>
22992
22993 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22994 Add comment.
22995 (gdbserver_default_get_comm_port): New function.
22996 (gdbserver_start): Check if board file provided
22997 "gdbserver,get_comm_port" and use it if so.
22998 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22999 (gdb,socketport): Set to "stdio".
23000 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23001 (stdio_gdbserver_template): Delete.
23002 (${board}_get_remote_address): Update.
23003 (${board}_build_remote_cmd): Delete.
23004 (${board}_get_comm_port): New function.
23005 (${board}_spawn): Update.
23006 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23007 Delete.
23008 (${board}_get_remote_address): Update.
23009 (${board}_get_comm_port): New function.
23010
230112014-04-16 Andrew Burgess <aburgess@broadcom.com>
23012
23013 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23014 appearing in any order.
23015
230162014-04-15 Doug Evans <dje@google.com>
23017
23018 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23019 uninitialized value of "description".
23020
230212014-04-15 Keith Seitz <keiths@redhat.com>
23022
23023 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23024 Remove unused globals.
23025 (test_running_the_program): Likewise.
23026 (test_controlled_execution): Likewise.
23027 (test_controlling_breakpoints): Likewise.
23028 (test_program_termination): Likewise.
23029
230302014-04-15 Keith Seitz <keiths@redhat.com>
23031
23032 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23033 unused globals.
23034 (test_rbreak_creation_and_listing): Likewise.
23035 (test_ignore_count): Likewise.
23036 (test_error): Likewise.
23037
230382014-04-15 Pedro Alves <palves@redhat.com>
23039
23040 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23041 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23042 sym-file-loader.c.
23043 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23044 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23045 to sym-file-loader.c.
23046 (struct library): Forward declare.
23047 (load_shlib, lookup_function): Change prototypes.
23048 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23049 (translate_offset): Remove declarations.
23050 (get_text_addr): New declaration.
23051 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23052 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23053 sym-file-loader.h.
23054 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23055 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23056 here from sym-file-loader.h.
23057 (struct library): New structure.
23058 (load_shlib, lookup_function): Change prototypes and adjust to
23059 work with a struct library.
23060 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23061 (translate_offset): Make static.
23062 (get_text_addr): New function.
23063 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23064
230652014-04-15 Pedro Alves <palves@redhat.com>
23066
23067 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23068
230692014-04-15 Pedro Alves <palves@redhat.com>
23070
23071 * gdb.base/sym-file-loader.c: Include <limits.h>.
23072 (SELF_LINK): New define.
23073 (get_origin): New function.
23074 (load_shlib): Use it.
23075 * gdb.base/sym-file.exp: Don't early return if the target is
23076 remote. Use runto_main, and issue fail is that fails. Use
23077 gdb_load_shlibs.
23078 (shlib_name): Delete.
23079 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23080
230812014-04-15 Pedro Alves <palves@redhat.com>
23082
23083 * gdb.base/sym-file.exp: Remove regex characters from test
23084 message. Don't refer to breakpoint numbers in test messages.
23085
230862014-04-14 Keith Seitz <keiths@redhat.com>
23087
23088 PR c++/16253
23089 * gdb.cp/var-tag.cc: New file.
23090 * gdb.cp/var-tag.exp: New file.
23091 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23092 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23093 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23094 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23095
230962014-04-14 Tom Tromey <tromey@redhat.com>
23097
23098 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23099 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23100 type.
23101 * gdb.cp/enum-class.exp: New file.
23102 * gdb.cp/enum-class.cc: New file.
23103
231042014-04-14 Tom Tromey <tromey@redhat.com>
23105
23106 * gdb.dwarf2/enum-type.exp: New file.
23107
231082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23109
23110 * gdb.mi/mi-vla-c99.exp: New file.
23111 * gdb.mi/vla.c: New file.
23112
231132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23114
23115 * gdb.base/vla-datatypes.c: New file.
23116 * gdb.base/vla-datatypes.exp: New file.
23117
231182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23119
23120 * gdb.base/vla-ptr.c: New file.
23121 * gdb.base/vla-ptr.exp: New file.
23122
231232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23124
23125 * gdb.dwarf2/count.exp: New file.
23126
231272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23128
23129 * gdb.base/vla-sideeffect.c: New file.
23130 * gdb.base/vla-sideeffect.exp: New file.
23131
231322014-04-14 David Blaikie <dblaikie@gmail.com>
23133
23134 * gdb.mi/non-stop.c: Add return value for non-void function return
23135 statement.
23136 * gdb.threads/staticthreads.c: Ditto.
23137
231382014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23139 Doug Evans <xdje42@gmail.com>
23140
23141 * gdb.guile/scm-value.c: Improve test case.
23142 * gdb.guile/scm-value.exp: Add new test.
23143
231442014-04-11 David Blaikie <dblaikie@gmail.com>
23145
23146 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23147 override Clang's default.
23148
231492014-04-11 Joel Brobecker <brobecker@adacore.com>
23150
23151 Revert the following changes (regressions):
23152
23153 * gdb.base/vla-sideeffect.c: New file.
23154 * gdb.base/vla-sideeffect.exp: New file.
23155
23156 * gdb.dwarf2/count.exp: New file.
23157
23158 * gdb.base/vla-multi.c: New file.
23159 * gdb.base/vla-multi.exp: New file.
23160
23161 * gdb.base/vla-ptr.c: New file.
23162 * gdb.base/vla-ptr.exp: New file.
23163
23164 * gdb.base/vla-datatypes.c: New file.
23165 * gdb.base/vla-datatypes.exp: New file.
23166
23167 * gdb.mi/mi-vla-c99.exp: New file.
23168 * gdb.mi/vla.c: New file.
23169
231702014-04-11 Keith Seitz <keiths@redhat.com>
23171
23172 PR c++/16675
23173 * gdb.cp/cpsizeof.exp: New file.
23174 * gdb.cp/cpsizeof.cc: New file.
23175
231762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23177
23178 * gdb.mi/mi-vla-c99.exp: New file.
23179 * gdb.mi/vla.c: New file.
23180
231812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23182
23183 * gdb.base/vla-datatypes.c: New file.
23184 * gdb.base/vla-datatypes.exp: New file.
23185
231862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23187
23188 * gdb.base/vla-ptr.c: New file.
23189 * gdb.base/vla-ptr.exp: New file.
23190
231912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23192
23193 * gdb.base/vla-multi.c: New file.
23194 * gdb.base/vla-multi.exp: New file.
23195
231962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23197
23198 * gdb.dwarf2/count.exp: New file.
23199
232002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23201
23202 * gdb.base/vla-sideeffect.c: New file.
23203 * gdb.base/vla-sideeffect.exp: New file.
23204
232052014-04-11 Yao Qi <yao@codesourcery.com>
23206
23207 * gdb.base/completion.exp: Check file exists before running tests
23208 on file completion.
23209
232102014-04-10 Pedro Alves <palves@redhat.com>
23211
23212 * gdb.base/cond-eval-mode.c: New file.
23213 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23214 prepare_for_testing to build the new file. Check result of
23215 runto_main.
23216 (test_break, test_watch): New procedures.
23217 (top level): Use them.
23218
232192014-04-08 Pierre Muller <muller@sourceware.org>
23220
23221 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23222 Ctrl-V use for mingw hosts.
23223
232242014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23225
23226 * gdb.python/py-value.c: Improve test case.
23227 * gdb.python/py-value.exp: Add new test.
23228
232292014-04-07 David Blaikie <dblaikie@gmail.com>
23230
23231 * lib/compiler.c: Identify the clang compiler.
23232 * lib/compiler.cc: Ditto.
23233
232342014-04-03 Yao Qi <yao@codesourcery.com>
23235
23236 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23237
232382014-04-01 Anton Blanchard <anton@samba.org>
23239
23240 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23241 messages unique.
23242
232432014-04-01 Anton Blanchard <anton@samba.org>
23244
23245 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23246 prepare_for_testing.
23247
232482014-04-01 Anton Blanchard <anton@samba.org>
23249
23250 * gdb.arch/ppc64-atomic-inst.c: Remove.
23251 * gdb.arch/ppc64-atomic-inst.S: New file.
23252 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23253
232542014-03-31 Doug Evans <dje@google.com>
23255
23256 * gdb.base/print-symbol-loading-lib.c: New file.
23257 * gdb.base/print-symbol-loading-main.c: New file.
23258 * gdb.base/print-symbol-loading.exp: New file.
23259
232602014-03-31 Yao Qi <yao@codesourcery.com>
23261
23262 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23263
232642014-03-28 Joel Brobecker <brobecker@adacore.com>
23265
23266 * gdb.ada/mi_dyn_arr: New testcase.
23267
232682014-03-27 Doug Evans <dje@google.com>
23269
23270 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23271
232722014-03-27 Yao Qi <yao@codesourcery.com>
23273
23274 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23275 if target is nios2-*-*.
23276
232772014-03-26 Yao Qi <yao@codesourcery.com>
23278
23279 * lib/gdb.exp (readline_is_used): New proc.
23280 * gdb.base/completion.exp: Move tests on command complete up.
23281 Skip the rest of tests if readline is not used.
23282 * gdb.ada/complete.exp: Skp the test if readline is not
23283 used.
23284 * gdb.base/filesym.exp: Likewise.
23285 * gdb.base/macscp.exp: Likewise.
23286 * gdb.base/readline-ask.exp: Likewise.
23287 * gdb.base/readline.exp: Likewise.
23288 * gdb.python/py-cmd.exp: Likewise.
23289 * gdb.trace/tfile.exp: Likewise.
23290
232912014-03-26 Yao Qi <yao@codesourcery.com>
23292
23293 * gdb.base/macscp.exp: Fix code format issues.
23294
232952014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23296
23297 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23298 * gdb.asm/powerpc64le.inc: New file.
23299
233002014-03-25 Pedro Alves <palves@redhat.com>
23301 Doug Evans <dje@google.com>
23302
23303 * gdb.base/source-execution.c: New file.
23304 * gdb.base/source-execution.exp: New file.
23305 * gdb.base/source-execution.gdb: New file.
23306
233072014-03-24 Doug Evans <dje@google.com>
23308
23309 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23310 using fission.
23311
233122014-03-24 Hui Zhu <hui@codesourcery.com>
23313 Pedro Alves <palves@redhat.com>
23314
23315 PR breakpoints/16101
23316 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23317 test pass/fail messages. Detect missing support for dprintf when
23318 breakpoints are actually inserted.
23319 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23320 breakpoints are actually inserted.
23321 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23322 fails.
23323
233242014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23325
23326 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23327
233282014-03-22 Doug Evans <xdje42@gmail.com>
23329
23330 * gdb.python/python.exp (python not supported): Verify multi-line
23331 python command issues an error.
23332 * gdb.guile/guile.exp (guile not supported): Verify multi-line
23333 guile command issues an error.
23334
233352014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23336
23337 * gdb.threads/thread-specific.exp: Handle the lack of usable
23338 $this_breakpoint and $this_thread.
23339
233402014-03-21 Hui Zhu <hui@codesourcery.com>
23341
23342 * gdb.base/attach.exp (do_command_attach_tests): New.
23343
233442014-03-20 Tom Tromey <tromey@redhat.com>
23345 Pedro Alves <palves@redhat.com>
23346
23347 PR cli/15718
23348 * gdb.base/condbreak-call-false.c: New file.
23349 * gdb.base/condbreak-call-false.exp: New file.
23350
233512014-03-20 Pedro Alves <palves@redhat.com>
23352
23353 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23354 Delete.
23355 (block_signals, unblock_signals): Delete.
23356 (child_function_2, main): Remove references to deleted variable
23357 and functions.
23358
233592014-03-20 Pedro Alves <palves@redhat.com>
23360
23361 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23362 Use pthread_kill to signal thread 2.
23363 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23364 Adjust to make the test send itself a signal rather than using the
23365 host's "kill" command.
23366
233672014-03-20 Pedro Alves <palves@redhat.com>
23368
23369 * gdb.threads/multiple-step-overs.c: New file.
23370 * gdb.threads/multiple-step-overs.exp: New file.
23371 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23372 Adjust expected infrun debug output.
23373
233742014-03-20 Pedro Alves <palves@redhat.com>
23375
23376 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23377 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23378
233792014-03-20 Pedro Alves <palves@redhat.com>
23380
23381 PR breakpoints/7143
23382 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23383 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23384 of gdb_test_multiple.
23385 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23386 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23387
233882014-03-20 Pedro Alves <palves@redhat.com>
23389
23390 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23391 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23392
233932014-03-19 Pedro Alves <palves@redhat.com>
23394
23395 * gdb.base/async.exp: Remove early return.
23396
233972014-03-19 Pedro Alves <palves@redhat.com>
23398
23399 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23400
234012014-03-19 Pedro Alves <palves@redhat.com>
23402
23403 * gdb.base/async.exp (test_background): Expect \r\n after
23404 "completed." in the fail pattern.
23405
234062014-03-19 Pedro Alves <palves@redhat.com>
23407
23408 * gdb.base/async.exp (test_background): New procedure.
23409 Use it for all background execution command tests.
23410
234112014-03-19 Pedro Alves <palves@redhat.com>
23412
23413 * gdb.base/async.exp: Use prepare_for_testing.
23414
234152014-03-19 Pedro Alves <palves@redhat.com>
23416
23417 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23418 the same line.
23419
234202014-03-19 Pedro Alves <palves@redhat.com>
23421
23422 * gdb.base/async.c (main): Add "jump here" and "until here" line
23423 marker comments.
23424 * gdb.base/async.exp (jump_here): New global.
23425 (jump& test): Use it.
23426 (until_here): New global.
23427 (until& test): Use it.
23428
234292014-03-19 Pedro Alves <palves@redhat.com>
23430
23431 * gdb.base/async.exp: Don't frob gdb_protocol.
23432
234332014-03-18 Doug Evans <xdje42@gmail.com>
23434
23435 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23436 Fix spelling of exec-done-display.
23437
234382014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23439
23440 PR gdb/15358
23441 * gdb.base/gdb-sigterm.c: New file.
23442 * gdb.base/gdb-sigterm.exp: New file.
23443
234442014-03-18 Pedro Alves <palves@redhat.com>
23445
23446 PR gdb/13860
23447 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23448 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23449 solib-event.
23450
234512014-03-17 Joel Brobecker <brobecker@adacore.com>
23452
23453 * gdb.ada/pckd_arr_ren: New testcase.
23454
234552014-03-13 Doug Evans <xdje42@gmail.com>
23456
23457 PR guile/16612
23458 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23459 collect after discarding symbols.
23460
234612014-03-13 Ludovic Courtès <ludo@gnu.org>
23462 Doug Evans <xdje42@gmail.com>
23463
23464 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23465 to history survives a gc.
23466
234672014-03-13 Pedro Alves <palves@redhat.com>
23468
23469 * gdb.base/default.exp: Don't test "target procfs".
23470
234712014-03-13 Pedro Alves <palves@redhat.com>
23472
23473 * gdb.base/default.exp: Update "target child" and "target procfs"
23474 tests to not expect "Unix".
23475
234762014-03-12 Tom Tromey <tromey@redhat.com>
23477
23478 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23479 New procs. Add target-async tests.
23480 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23481 Add target-async tests.
23482
234832014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23484
23485 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23486 'func_start' and 'func_end' for the beginning and end of the
23487 function code, respectively.
23488 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23489 'func_end' instead of 'func' and 'main'.
23490
234912014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23492
23493 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23494 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23495 generate the debug info assembler source.
23496
234972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23498
23499 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23500 * gdb.dwarf2/arr-subrange.exp: Likewise.
23501 * gdb.dwarf2/dwz.exp: Likewise.
23502 * gdb.dwarf2/method-ptr.exp: Likewise.
23503 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23504 * gdb.dwarf2/subrange.exp: Likewise.
23505 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23506 * gdb.dwarf2/implptrpiece.exp: Likewise.
23507 * gdb.dwarf2/nostaticblock.exp: Likewise.
23508
235092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23510
23511 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23512 directory to absolute path name arguments.
23513
235142014-03-10 Joel Brobecker <brobecker@adacore.com>
23515
23516 * gdb.ada/tagged_access: New testcase.
23517
235182014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23519
23520 * gdb.btrace/data.exp: Update expected output.
23521
235222014-03-06 Yao Qi <yao@codesourcery.com>
23523
23524 * gdb.trace/pr16508.exp: New file.
23525
235262014-03-05 Pedro Alves <palves@redhat.com>
23527
23528 PR gdb/16575
23529 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23530 procedure.
23531 (top level): Adjust to use it. Add tests that exercise breakpoint
23532 interaction with the code-cache.
23533
235342014-02-26 Ludovic Courtès <ludo@gnu.org>
23535
23536 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23537 test for 'history-append!'.
23538
235392014-02-26 Joel Brobecker <brobecker@adacore.com>
23540
23541 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23542 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23543 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23544 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23545 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23546 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23547
235482014-02-26 Joel Brobecker <brobecker@adacore.com>
23549
23550 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23551 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23552 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23553
235542014-02-26 Joel Brobecker <brobecker@adacore.com>
23555
23556 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23557
235582014-02-26 Joel Brobecker <brobecker@adacore.com>
23559
23560 * gdb.dwarf2/arr-stride.c: New file.
23561 * gdb.dwarf2/arr-stride.exp: New file.
23562
235632014-02-26 Pedro Alves <palves@redhat.com>
23564
23565 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23566 that won't ever trigger. Make sure that GDB reports the correct
23567 breakpoint that caused the stop.
23568
235692014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23570
23571 PR gdb/16626
23572 * gdb.base/auto-load-script: New file.
23573 * gdb.base/auto-load.c: New file.
23574 * gdb.base/auto-load.exp: New file.
23575
23576 PR gdb/16626
23577 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23578
235792014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23580
23581 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23582 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23583
235842014-02-24 Doug Evans <dje@google.com>
23585
23586 * lib/gdb.exp (run_on_host): Log error output if program fails.
23587
235882014-02-21 Pedro Alves <palves@redhat.com>
23589
23590 * gdb.threads/step-after-sr-lock.c: Rename to ...
23591 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23592 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23593 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23594 ... this.
23595
235962014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23597
23598 PR tdep/16397
23599 * gdb.arch/amd64-stap-special-operands.exp: New file.
23600 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23601 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23602 * gdb.arch/amd64-stap-triplet.S: Likewise.
23603 * gdb.arch/amd64-stap-triplet.c: Likewise.
23604
236052014-02-20 Joel Brobecker <brobecker@adacore.com>
23606
23607 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23608 in .section pseudo-op.
23609
236102014-02-20 lin zuojian <manjian2006@gmail.com>
23611 Joel Brobecker <brobecker@adacore.com>
23612 Doug Evans <xdje42@gmail.com>
23613
23614 PR symtab/16581
23615 * gdb.dwarf2/dw2-icycle.S: New file.
23616 * gdb.dwarf2/dw2-icycle.c: New file.
23617 * gdb.dwarf2/dw2-icycle.exp: New file.
23618
236192014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23620
23621 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23622 operations on gdb.Value objects.
23623 * gdb.python/py-value-cc.exp: Add new test to test operations on
23624 gdb.Value objects.
23625
236262014-02-18 Doug Evans <dje@google.com>
23627
23628 * Makefile.in (TESTS): New variable.
23629 (expanded_tests, expanded_tests_or_none): New variables
23630 (check-single): Pass $(expanded_tests_or_none) to runtest.
23631 (check-parallel): Only run tests in $(TESTS) if non-empty.
23632 (check/no-matching-tests-found): New rule.
23633 * README: Document TESTS makefile variable.
23634
236352014-02-18 Doug Evans <dje@google.com>
23636
23637 * Makefile.in (check-parallel): rm -rf outputs temp.
23638
236392014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23640
23641 Fix "ERROR: no fileid for" in the testsuite.
23642 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23643
236442014-02-12 Doug Evans <dje@google.com>
23645
23646 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23647 (MISCELLANEOUS): New variable.
23648 (clean): rm -rf $(MISCELLANEOUS).
23649 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23650 dwp live in the same directory as symlinks, with each symlink pointed
23651 to a differently named file in a different directory.
23652
236532014-02-11 Doug Evans <dje@google.com>
23654
23655 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23656 of Tcl file commands.
23657
236582014-02-10 Mark Kettenis <kettenis@gnu.org>
23659
23660 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23661 "kill -SIGUSR1 -1".
23662
236632014-02-10 Joel Brobecker <brobecker@adacore.com>
23664
23665 * gdb.ada/tick_length_array_enum_idx: New testcase.
23666
236672014-02-10 Doug Evans <xdje42@gmail.com>
23668
23669 * configure.ac (AC_OUTPUT): Add gdb.guile.
23670 * configure: Regenerate.
23671 * lib/gdb-guile.exp: New file.
23672 * lib/gdb.exp (get_target_charset): New function.
23673 * gdb.base/help.exp: Update expected output from "apropos apropos".
23674 * gdb.guile/Makefile.in: New file.
23675 * gdb.guile/guile.exp: New file.
23676 * gdb.guile/scm-arch.c: New file.
23677 * gdb.guile/scm-arch.exp: New file.
23678 * gdb.guile/scm-block.c: New file.
23679 * gdb.guile/scm-block.exp: New file.
23680 * gdb.guile/scm-breakpoint.c: New file.
23681 * gdb.guile/scm-breakpoint.exp: New file.
23682 * gdb.guile/scm-disasm.c: New file.
23683 * gdb.guile/scm-disasm.exp: New file.
23684 * gdb.guile/scm-equal.c: New file.
23685 * gdb.guile/scm-equal.exp: New file.
23686 * gdb.guile/scm-error.exp: New file.
23687 * gdb.guile/scm-error.scm: New file.
23688 * gdb.guile/scm-frame-args.c: New file.
23689 * gdb.guile/scm-frame-args.exp: New file.
23690 * gdb.guile/scm-frame-args.scm: New file.
23691 * gdb.guile/scm-frame-inline.c: New file.
23692 * gdb.guile/scm-frame-inline.exp: New file.
23693 * gdb.guile/scm-frame.c: New file.
23694 * gdb.guile/scm-frame.exp: New file.
23695 * gdb.guile/scm-generics.exp: New file.
23696 * gdb.guile/scm-gsmob.exp: New file.
23697 * gdb.guile/scm-iterator.c: New file.
23698 * gdb.guile/scm-iterator.exp: New file.
23699 * gdb.guile/scm-math.c: New file.
23700 * gdb.guile/scm-math.exp: New file.
23701 * gdb.guile/scm-objfile-script-gdb.in: New file.
23702 * gdb.guile/scm-objfile-script.c: New file.
23703 * gdb.guile/scm-objfile-script.exp: New file.
23704 * gdb.guile/scm-objfile.c: New file.
23705 * gdb.guile/scm-objfile.exp: New file.
23706 * gdb.guile/scm-ports.exp: New file.
23707 * gdb.guile/scm-pretty-print.c: New file.
23708 * gdb.guile/scm-pretty-print.exp: New file.
23709 * gdb.guile/scm-pretty-print.scm: New file.
23710 * gdb.guile/scm-section-script.c: New file.
23711 * gdb.guile/scm-section-script.exp: New file.
23712 * gdb.guile/scm-section-script.scm: New file.
23713 * gdb.guile/scm-symbol.c: New file.
23714 * gdb.guile/scm-symbol.exp: New file.
23715 * gdb.guile/scm-symtab-2.c: New file.
23716 * gdb.guile/scm-symtab.c: New file.
23717 * gdb.guile/scm-symtab.exp: New file.
23718 * gdb.guile/scm-type.c: New file.
23719 * gdb.guile/scm-type.exp: New file.
23720 * gdb.guile/scm-value-cc.cc: New file.
23721 * gdb.guile/scm-value-cc.exp: New file.
23722 * gdb.guile/scm-value.c: New file.
23723 * gdb.guile/scm-value.exp: New file.
23724 * gdb.guile/source2.scm: New file.
23725 * gdb.guile/types-module.cc: New file.
23726 * gdb.guile/types-module.exp: New file.
23727
237282014-02-10 Yao Qi <yao@codesourcery.com>
23729
23730 PR testsuite/16543
23731 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23732 * configure: Regenerated.
23733 * Makefile.in: New file.
23734
237352014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23736
23737 * gdb.python/py-framefilter.exp: Fix typo.
23738
237392014-02-08 Yao Qi <yao@codesourcery.com>
23740
23741 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23742 that no =breakpoint-modified is emitted when breakpoints are
23743 modified through MI commands.
23744
237452014-02-07 Pedro Alves <pedro@codesourcery.com>
23746 Pedro Alves <palves@redhat.com>
23747
23748 * gdb.threads/step-after-sr-lock.c: New file.
23749 * gdb.threads/step-after-sr-lock.exp: New file.
23750
237512014-02-07 Pedro Alves <palves@redhat.com>
23752
23753 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23754
237552014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23756
23757 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23758 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23759
237602014-02-06 Doug Evans <xdje42@gmail.com>
23761
23762 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23763 output.
23764
23765 * gdb.gdb/python-interrupts.exp: New file.
23766
237672014-02-05 Yao Qi <yao@codesourcery.com>
23768
23769 * gdb.trace/report.exp (use_collected_data): Test the output
23770 of "info threads" and "info inferiors".
23771
237722014-02-05 Yao Qi <yao@codesourcery.com>
23773
23774 Revert this patch:
23775
23776 2013-05-24 Yao Qi <yao@codesourcery.com>
23777
23778 * gdb.trace/tfile.exp: Test inferior and thread.
23779
237802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23781
23782 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23783 on a function.
23784 * gdb.base/step-bt.c: Call hello via function pointer to make
23785 sure its first instruction is executed on powerpc64le-linux.
23786
237872014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23788
23789 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23790
237912014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23792
23793 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23794 of the test patterns for use on little-endian systems.
23795
237962014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23797
23798 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23799 (decimal_vector): Fix for little-endian.
23800
238012014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23802
23803 * gdb.arch/sparc-sysstep.exp: New file.
23804 * gdb.arch/sparc-sysstep.c: Likewise.
23805
23806 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23807
238082014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23809
23810 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23811
238122014-01-23 Tom Tromey <tromey@redhat.com>
23813
23814 * gdb.ada/array_char_idx: New testcase.
23815
238162014-01-23 Tom Tromey <tromey@redhat.com>
23817
23818 PR python/16487:
23819 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23820 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23821 classes.
23822
238232014-01-23 Tom Tromey <tromey@redhat.com>
23824
23825 PR python/16491:
23826 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23827 string from an inferior frame.
23828 * gdb.python/py-framefilter-mi.exp: Update.
23829
238302014-01-22 Doug Evans <dje@google.com>
23831
23832 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23833
238342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23835
23836 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23837
238382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23839
23840 * gdb.trace/entry-values.exp: Remove excess space character from
23841 regex patterns. Handle s390 call instruction.
23842
238432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23844
23845 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23846 define "*_start" label. Make "name" static.
23847 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23848 ${name} by references to ${name}_start.
23849
238502014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23851
23852 * gdb.base/info-macros.exp: Remove "debug" from the compile
23853 options.
23854
238552014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23856
23857 * gdb.dlang/demangle.exp: New file.
23858
238592014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23860
23861 * gdb.dlang/primitive-types.exp: New file.
23862
238632014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23864
23865 * configure.ac: Create gdb.dlang/Makefile.
23866 * configure: Regenerate.
23867 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23868 * gdb.dlang/Makefile.in: New file.
23869 * lib/d-support.exp: New file.
23870 * lib/gdb.exp (skip_d_tests): New proc.
23871
238722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23873
23874 * gdb.btrace/delta.exp: Check reverse stepi.
23875 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23876 * gdb.btrace/finish.exp: New.
23877 * gdb.btrace/next.exp: New.
23878 * gdb.btrace/nexti.exp: New.
23879 * gdb.btrace/record_goto.c: Add comments.
23880 * gdb.btrace/step.exp: New.
23881 * gdb.btrace/stepi.exp: New.
23882 * gdb.btrace/multi-thread-step.c: New.
23883 * gdb.btrace/multi-thread-step.exp: New.
23884 * gdb.btrace/rn-dl-bind.c: New.
23885 * gdb.btrace/rn-dl-bind.exp: New.
23886 * gdb.btrace/data.c: New.
23887 * gdb.btrace/data.exp: New.
23888 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23889
238902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23891
23892 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23893 * gdb.btrace/exception.exp: Update.
23894 * gdb.btrace/instruction_history.exp: Update.
23895 * gdb.btrace/record_goto.exp: Update.
23896 * gdb.btrace/tailcall.exp: Update.
23897 * gdb.btrace/unknown_functions.exp: Update.
23898 * gdb.btrace/delta.exp: New.
23899
239002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23901
23902 * gdb.btrace/record_goto.exp: Add backtrace test.
23903 * gdb.btrace/tailcall.exp: Add backtrace test.
23904
239052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23906
23907 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23908 * gdb.btrace/record_goto.c: New.
23909 * gdb.btrace/record_goto.exp: New.
23910 * gdb.btrace/x86-record_goto.S: New.
23911
239122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23913
23914 * gdb.btrace/function_call_history.exp: Update tests.
23915 * gdb.btrace/instruction_history.exp: Update tests.
23916
239172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23918
23919 * gdb.btrace/function_call_history.exp: Fix expected field
23920 order for "record function-call-history".
23921 Add new tests for "record function-call-history /c".
23922 * gdb.btrace/exception.cc: New.
23923 * gdb.btrace/exception.exp: New.
23924 * gdb.btrace/tailcall.exp: New.
23925 * gdb.btrace/x86-tailcall.S: New.
23926 * gdb.btrace/x86-tailcall.c: New.
23927 * gdb.btrace/unknown_functions.c: New.
23928 * gdb.btrace/unknown_functions.exp: New.
23929 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23930
239312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23932
23933 * gdb.btrace/instruction_history.exp: Update.
23934 * gdb.btrace/function_call_history.exp: Update.
23935
239362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23937
23938 * gdb.btrace/function_call_history.exp: Fix expected function
23939 trace.
23940 * gdb.btrace/instruction_history.exp: Initialize traced.
23941 Remove traced_functions.
23942
239432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23944
23945 * gdb.btrace/function_call_history.exp: Update
23946 * gdb.btrace/instruction_history.exp: Update.
23947
239482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23949
23950 * gdb.btrace/enable.exp: Update expected text.
23951
239522014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23953
23954 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23955 bytes.
23956
239572014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23958
23959 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23960
239612014-01-15 Omair Javaid <omair.javaid@linaro.org>
23962
23963 * lib/gdb.exp (supports_process_record): Return true for
23964 arm*-linux*. (supports_reverse): Likewise.
23965
239662014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23967
23968 PR python/15464
23969 PR python/16113
23970 * gdb.python/py-type.c: Enhance test case.
23971 * gdb.python/py-value-cc.cc: Likewise
23972 * gdb.python/py-type.exp: Add new tests.
23973 * gdb.python/py-value-cc.exp: Likewise
23974
239752014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23976 Pedro Alves <palves@redhat.com>
23977
23978 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23979 Make "name" extern.
23980 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23981 references to ${name}_start by references to ${name}.
23982
239832014-01-10 Joel Brobecker <brobecker@adacore.com>
23984
23985 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23986
239872014-01-10 Joel Brobecker <brobecker@adacore.com>
23988
23989 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23990
239912014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23992 Pedro Alves <palves@redhat.com>
23993
23994 * gdb.mi/mi-info-os.exp: Connect to the target with
23995 mi_gdb_target_load.
23996
239972014-01-08 Pedro Alves <palves@redhat.com>
23998
23999 * gdb.threads/reconnect-signal.c: New file.
24000 * gdb.threads/reconnect-signal.exp: New file.
24001
240022014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24003
24004 * gdb.base/source-dir.exp: New file.
24005
240062014-01-07 Joel Brobecker <brobecker@adacore.com>
24007
24008 * gdb.ada/mi_interface: New testcase.
24009
240102014-01-07 Joel Brobecker <brobecker@adacore.com>
24011
24012 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24013 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24014 gdb.ada/pp-rec-component/pck.ads: New files.
24015
240162014-01-07 Joel Brobecker <brobecker@adacore.com>
24017
24018 * gdb.python/py-pp-integral.c: New file.
24019 * gdb.python/py-pp-integral.py: New file.
24020 * gdb.python/py-pp-integral.exp: New file.
24021
24022For older changes see ChangeLog-1993-2013.
24023\f
24024;; Local Variables:
24025;; mode: change-log
24026;; left-margin: 8
24027;; fill-column: 74
24028;; version-control: never
24029;; End:
24030
24031 Copyright 2014-2021 Free Software Foundation, Inc.
24032 Copying and distribution of this file, with or without modification,
24033 are permitted provided the copyright notice and this notice are preserved.